@vertexvis/viewer 0.10.2-canary.7 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{browser.esm-ae55f058.js → browser.esm-17419694.js} +25 -25
- package/dist/cjs/{bundle.esm-c457ad4d.js → bundle.esm-b79513ef.js} +231 -207
- package/dist/cjs/{constants-4277684a.js → constants-1d65ed39.js} +1 -1
- package/dist/cjs/{cursors-b93b43ef.js → cursors-8aaf500f.js} +1 -1
- package/dist/cjs/{dom-cdb50ebc.js → dom-40804039.js} +1 -1
- package/dist/cjs/index.cjs.js +8 -7
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{markup-3dac4cef.js → markup-e84a143f.js} +11 -2
- package/dist/cjs/{measurement-b494bf55.js → measurement-4579193b.js} +2 -2
- package/dist/cjs/{orientation-42cc9e8d.js → orientation-09d0f3ef.js} +14 -7
- package/dist/cjs/{png-decoder-2add73dd.js → png-decoder-97ea96ba.js} +3 -3
- package/dist/cjs/{scene-23a0a330.js → scene-4397373a.js} +28524 -2446
- package/dist/cjs/{utils-6933381f.js → utils-414e6cfe.js} +2 -2
- package/dist/cjs/utils-440f0f7d.js +61 -0
- package/dist/cjs/vertex-scene-tree.cjs.entry.js +6 -5
- package/dist/cjs/vertex-viewer-dom-element_3.cjs.entry.js +4 -4
- package/dist/cjs/{vertex-viewer-markup-arrow_2.cjs.entry.js → vertex-viewer-markup-arrow_3.cjs.entry.js} +267 -4
- package/dist/cjs/vertex-viewer-markup-tool.cjs.entry.js +43 -9
- package/dist/cjs/vertex-viewer-markup.cjs.entry.js +25 -5
- package/dist/cjs/vertex-viewer-measurement-distance_2.cjs.entry.js +8 -8
- package/dist/cjs/vertex-viewer-measurement-tool.cjs.entry.js +5 -5
- package/dist/cjs/vertex-viewer-measurements.cjs.entry.js +5 -5
- package/dist/cjs/vertex-viewer-view-cube.cjs.entry.js +3 -3
- package/dist/cjs/vertex-viewer.cjs.entry.js +141 -48
- package/dist/cjs/viewer.cjs.js +1 -1
- package/dist/cjs/{viewport-e69f8223.js → viewport-fc405a48.js} +31 -7
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/scene-tree/scene-tree.js +3 -2
- package/dist/collection/components/viewer/viewer.js +28 -3
- package/dist/collection/components/viewer-markup/utils.js +65 -1
- package/dist/collection/components/viewer-markup/viewer-markup.js +72 -16
- package/dist/collection/components/viewer-markup-circle/utils.js +2 -55
- package/dist/collection/components/viewer-markup-circle/viewer-markup-circle.js +4 -4
- package/dist/collection/components/viewer-markup-freeform.tsx/utils.js +10 -0
- package/dist/collection/components/viewer-markup-freeform.tsx/viewer-markup-freeform.css +157 -0
- package/dist/collection/components/viewer-markup-freeform.tsx/viewer-markup-freeform.js +413 -0
- package/dist/collection/components/viewer-markup-tool/viewer-markup-tool.js +63 -9
- package/dist/collection/components/viewer-measurement-distance/viewer-measurement-distance-components.js +1 -1
- package/dist/collection/components/viewer-measurement-distance/viewer-measurement-distance.js +2 -2
- package/dist/collection/lib/cursors.js +1 -1
- package/dist/collection/lib/interactions/baseInteractionHandler.js +5 -4
- package/dist/collection/lib/interactions/flyToPartKeyInteraction.js +1 -1
- package/dist/collection/lib/interactions/interactionApi.js +101 -22
- package/dist/collection/lib/interactions/mouseInteractions.js +17 -15
- package/dist/collection/lib/interactions/multiTouchInteractionHandler.js +2 -2
- package/dist/collection/lib/mappers.js +4 -3
- package/dist/collection/lib/scenes/camera.js +8 -2
- package/dist/collection/lib/scenes/operations.js +1 -1
- package/dist/collection/lib/scenes/scene.js +5 -2
- package/dist/collection/lib/types/frame.js +8 -2
- package/dist/collection/lib/types/markup.js +9 -1
- package/dist/collection/lib/types/stencilBuffer.js +2 -2
- package/dist/collection/lib/types/viewport.js +32 -8
- package/dist/collection/testing/fixtures.js +2 -1
- package/dist/esm/{browser.esm-7dbdf78a.js → browser.esm-e4fb17dc.js} +25 -25
- package/dist/esm/{bundle.esm-590d2273.js → bundle.esm-d891316f.js} +232 -208
- package/dist/esm/{constants-083f6b2c.js → constants-037e417f.js} +1 -1
- package/dist/esm/{cursors-39294365.js → cursors-00835249.js} +1 -1
- package/dist/esm/{dom-43682375.js → dom-d0877f90.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/index.mjs +7 -7
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loader.mjs +1 -1
- package/dist/esm/{markup-3ce3dccd.js → markup-9b29aa94.js} +11 -3
- package/dist/esm/{measurement-78bd27fc.js → measurement-8430d5d6.js} +2 -2
- package/dist/esm/{orientation-c3e2af18.js → orientation-bb34b652.js} +14 -7
- package/dist/esm/{png-decoder-dfb97536.js → png-decoder-c4745070.js} +3 -3
- package/dist/esm/{scene-30ac6229.js → scene-72760305.js} +28532 -2454
- package/dist/esm/utils-5fe43b8a.js +52 -0
- package/dist/esm/{utils-b857bd7c.js → utils-f8e0baf7.js} +2 -2
- package/dist/esm/vertex-scene-tree.entry.js +6 -5
- package/dist/esm/vertex-viewer-dom-element_3.entry.js +4 -4
- package/dist/esm/{vertex-viewer-markup-arrow_2.entry.js → vertex-viewer-markup-arrow_3.entry.js} +267 -5
- package/dist/esm/vertex-viewer-markup-tool.entry.js +43 -9
- package/dist/esm/vertex-viewer-markup.entry.js +25 -5
- package/dist/esm/vertex-viewer-measurement-distance_2.entry.js +8 -8
- package/dist/esm/vertex-viewer-measurement-tool.entry.js +5 -5
- package/dist/esm/vertex-viewer-measurements.entry.js +5 -5
- package/dist/esm/vertex-viewer-view-cube.entry.js +3 -3
- package/dist/esm/vertex-viewer.entry.js +141 -48
- package/dist/esm/viewer.js +1 -1
- package/dist/esm/{viewport-8fea0743.js → viewport-d6f5cd7b.js} +31 -7
- package/dist/types/components/viewer/viewer.d.ts +4 -0
- package/dist/types/components/viewer-markup/utils.d.ts +8 -0
- package/dist/types/components/viewer-markup/viewer-markup.d.ts +13 -6
- package/dist/types/components/viewer-markup-circle/utils.d.ts +1 -4
- package/dist/types/components/viewer-markup-freeform.tsx/utils.d.ts +3 -0
- package/dist/types/components/viewer-markup-freeform.tsx/viewer-markup-freeform.d.ts +116 -0
- package/dist/types/components/viewer-markup-tool/viewer-markup-tool.d.ts +13 -1
- package/dist/types/components.d.ts +107 -10
- package/dist/types/lib/interactions/interactionApi.d.ts +22 -6
- package/dist/types/lib/interactions/mouseInteractions.d.ts +7 -6
- package/dist/types/lib/scenes/camera.d.ts +5 -1
- package/dist/types/lib/scenes/scene.d.ts +1 -1
- package/dist/types/lib/types/frame.d.ts +4 -1
- package/dist/types/lib/types/markup.d.ts +12 -1
- package/dist/types/lib/types/viewport.d.ts +17 -0
- package/dist/viewer/index.esm.js +1 -1
- package/dist/viewer/p-012fb54f.js +4 -0
- package/dist/viewer/{p-3dc15d99.entry.js → p-117324c0.entry.js} +1 -1
- package/dist/viewer/{p-1ee75110.entry.js → p-1c772ec1.entry.js} +1 -1
- package/dist/viewer/p-1f8a238b.js +4 -0
- package/dist/viewer/p-21e8510d.js +4 -0
- package/dist/viewer/{p-e3105f9a.entry.js → p-3c2aff67.entry.js} +1 -1
- package/dist/viewer/p-5389e9d4.js +4 -0
- package/dist/viewer/p-59d075d4.js +17 -0
- package/dist/viewer/{p-5b078339.js → p-62c6f482.js} +1 -1
- package/dist/viewer/p-640cb5f8.js +18 -0
- package/dist/viewer/p-68aaf1f8.entry.js +4 -0
- package/dist/viewer/{p-05b2444e.js → p-75682963.js} +1 -1
- package/dist/viewer/{p-4183c421.entry.js → p-79c45c02.entry.js} +1 -1
- package/dist/viewer/p-835e158e.js +4 -0
- package/dist/viewer/p-8c255868.entry.js +4 -0
- package/dist/viewer/{p-f4a492e1.js → p-9faabd97.js} +1 -1
- package/dist/viewer/p-b122ee39.js +4 -0
- package/dist/viewer/p-b36b3d1a.js +4 -0
- package/dist/viewer/{p-7c71db57.entry.js → p-bc9e6919.entry.js} +1 -1
- package/dist/viewer/{p-f090a3f3.entry.js → p-c818c80e.entry.js} +1 -1
- package/dist/viewer/{p-e96bc9a2.js → p-d42a482c.js} +1 -1
- package/dist/viewer/p-f43e8cc2.entry.js +4 -0
- package/dist/viewer/p-f75436be.entry.js +4 -0
- package/dist/viewer/viewer.esm.js +1 -1
- package/package.json +18 -16
- package/readme.md +6 -6
- package/dist/cjs/utils-96f244e1.js +0 -104
- package/dist/esm/utils-a550c58f.js +0 -96
- package/dist/viewer/p-11bdd2c4.js +0 -4
- package/dist/viewer/p-14182324.entry.js +0 -4
- package/dist/viewer/p-2768474e.js +0 -4
- package/dist/viewer/p-2e11803d.js +0 -4
- package/dist/viewer/p-6d4ab5fc.js +0 -17
- package/dist/viewer/p-964642c6.js +0 -4
- package/dist/viewer/p-9e856d0a.entry.js +0 -4
- package/dist/viewer/p-a717d9ff.js +0 -4
- package/dist/viewer/p-a9434d8e.entry.js +0 -4
- package/dist/viewer/p-af806858.js +0 -4
- package/dist/viewer/p-b5c350a7.js +0 -4
- package/dist/viewer/p-d912dd24.js +0 -18
- package/dist/viewer/p-f6d75616.entry.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**!
|
|
2
2
|
* Copyright (c) 2021 Vertex Software LLC. All rights reserved.
|
|
3
3
|
*/
|
|
4
|
-
import{r as registerInstance,c as createEvent,f as forceUpdate,h,H as Host,g as getElement}from"./p-c9d8a379.js";import{k as __rest}from"./p-d912dd24.js";import{a as commonjsGlobal,c as createCommonjsModule}from"./p-112455b1.js";import{E as EventDispatcher}from"./p-6d4ab5fc.js";import{g as getElementBoundingClientRect,p as parseConfig}from"./p-e96bc9a2.js";import{w as writeDOM,r as readDOM}from"./p-9f048664.js";import"./p-b5c350a7.js";window.requestIdleCallback=window.requestIdleCallback||function(o){var t=Date.now();return setTimeout((function(){o({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},window.cancelIdleCallback=window.cancelIdleCallback||function(o){clearTimeout(o)};var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(o,t,n){o instanceof String&&(o=String(o));for(var r=o.length,e=0;e<r;e++){var g=o[e];if(t.call(n,g,e,o))return{i:e,v:g}}return{i:-1,v:void 0}},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(o,t,n){o!=Array.prototype&&o!=Object.prototype&&(o[t]=n.value)},$jscomp.getGlobal=function(o){return"undefined"!=typeof window&&window===o?o:void 0!==commonjsGlobal&&null!=commonjsGlobal?commonjsGlobal:o},$jscomp.global=$jscomp.getGlobal(commonjsGlobal),$jscomp.polyfill=function(o,t,n,r){if(t){for(n=$jscomp.global,o=o.split("."),r=0;r<o.length-1;r++){var e=o[r];e in n||(n[e]={}),n=n[e]}(t=t(r=n[o=o[o.length-1]]))!=r&&null!=t&&$jscomp.defineProperty(n,o,{configurable:!0,writable:!0,value:t})}},$jscomp.polyfill("Array.prototype.findIndex",(function(o){return o||function(o,t){return $jscomp.findInternal(this,o,t).i}}),"es6","es3"),$jscomp.checkStringArgs=function(o,t,n){if(null==o)throw new TypeError("The 'this' value for String.prototype."+n+" must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype."+n+" must not be a regular expression");return o+""},$jscomp.polyfill("String.prototype.endsWith",(function(o){return o||function(o,t){var n=$jscomp.checkStringArgs(this,o,"endsWith");o+="",void 0===t&&(t=n.length),t=Math.max(0,Math.min(0|t,n.length));for(var r=o.length;0<r&&0<t;)if(n[--t]!=o[--r])return!1;return 0>=r}}),"es6","es3"),$jscomp.polyfill("Array.prototype.find",(function(o){return o||function(o,t){return $jscomp.findInternal(this,o,t).v}}),"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",(function(o){return o||function(o,t){var n=$jscomp.checkStringArgs(this,o,"startsWith"),r=n.length,e=(o+="").length;t=Math.max(0,Math.min(0|t,n.length));for(var g=0;g<e&&t<r;)if(n[t++]!=o[g++])return!1;return g>=e}}),"es6","es3"),$jscomp.polyfill("String.prototype.repeat",(function(o){return o||function(o){var t=$jscomp.checkStringArgs(this,null,"repeat");if(0>o||1342177279<o)throw new RangeError("Invalid count value");o|=0;for(var n="";o;)1&o&&(n+=t),(o>>>=1)&&(t+=t);return n}}),"es6","es3");var COMPILED$1=!0,goog=goog||{};goog.global=commonjsGlobal||self,goog.isDef=function(o){return void 0!==o},goog.isString=function(o){return"string"==typeof o},goog.isBoolean=function(o){return"boolean"==typeof o},goog.isNumber=function(o){return"number"==typeof o},goog.exportPath_=function(o,t,n){(o=o.split("."))[0]in(n=n||goog.global)||void 0===n.execScript||n.execScript("var "+o[0]);for(var r;o.length&&(r=o.shift());)!o.length&&goog.isDef(t)?n[r]=t:n=n[r]&&n[r]!==Object.prototype[r]?n[r]:n[r]={}},goog.define=function(o,t){return t},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.STRICT_MODE_COMPATIBLE=!1,goog.DISALLOW_TEST_ONLY_CODE=!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(o){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");goog.constructNamespace_(o)},goog.constructNamespace_=function(o,t){goog.exportPath_(o,t)},goog.getScriptNonce=function(o){return o&&o!=goog.global?goog.getScriptNonce_(o.document):(null===goog.cspNonce_&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(o){return(o=o.querySelector&&o.querySelector("script[nonce]"))&&(o=o.nonce||o.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(o)?o:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(o){if(!goog.isString(o)||!o||-1==o.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+o+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");goog.moduleLoaderState_.moduleName=o},goog.module.get=function(o){return goog.module.getInternal_(o)},goog.module.getInternal_=function(){return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var o=goog.global.$jscomp;return!!o&&"function"==typeof o.getCurrentModulePath&&!!o.getCurrentModulePath()},goog.module.declareLegacyNamespace=function(){goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(o){if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=o;else{var t=goog.global.$jscomp;if(!t||"function"!=typeof t.getCurrentModulePath)throw Error('Module with namespace "'+o+'" has been loaded incorrectly.');t=t.require(t.getCurrentModulePath()),goog.loadedModules_[o]={exports:t,type:goog.ModuleType.ES6,moduleId:o}}},goog.setTestOnly=function(o){if(goog.DISALLOW_TEST_ONLY_CODE)throw o=o||"",Error("Importing test-only code into non-debug environment"+(o?": "+o:"."))},goog.forwardDeclare=function(){},goog.getObjectByName=function(o,t){o=o.split("."),t=t||goog.global;for(var n=0;n<o.length;n++)if(!goog.isDefAndNotNull(t=t[o[n]]))return null;return t},goog.globalize=function(o,t){for(var n in t=t||goog.global,o)t[n]=o[n]},goog.addDependency=function(){},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(o){goog.global.console&&goog.global.console.error(o)},goog.require=function(){},goog.requireType=function(){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(o){o.instance_=void 0,o.getInstance=function(){return o.instance_?o.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=o),o.instance_=new o)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED$1,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(null==goog.hasBadLetScoping){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(o){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(o){return"(function(){"+o+"\n;})();\n"},goog.loadModule=function(o){var t=goog.moduleLoaderState_;try{if(goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG},goog.isFunction(o))var n=o.call(void 0,{});else{if(!goog.isString(o))throw Error("Invalid module definition");goog.useSafari10Workaround()&&(o=goog.workaroundSafari10EvalBug(o)),n=goog.loadModuleFromSource_.call(void 0,o)}var r=goog.moduleLoaderState_.moduleName;if(!goog.isString(r)||!r)throw Error('Invalid module name "'+r+'"');goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(r,n):goog.SEAL_MODULE_EXPORTS&&Object.seal&&"object"==typeof n&&null!=n&&Object.seal(n),goog.loadedModules_[r]={exports:n,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName}}finally{goog.moduleLoaderState_=t}},goog.loadModuleFromSource_=function(a){return eval(a),{}},goog.normalizePath_=function(o){o=o.split("/");for(var t=0;t<o.length;)"."==o[t]?o.splice(t,1):t&&".."==o[t]&&o[t-1]&&".."!=o[t-1]?o.splice(--t,2):t++;return o.join("/")},goog.loadFileSync_=function(o){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(o);try{var t=new goog.global.XMLHttpRequest;return t.open("get",o,!1),t.send(),0==t.status||200==t.status?t.responseText:null}catch(o){return null}},goog.transpile_=function(o,t,n){var r=goog.global.$jscomp;r||(goog.global.$jscomp=r={});var e=r.transpile;if(!e){var g=goog.basePath+goog.TRANSPILER,i=goog.loadFileSync_(g);if(i){if(function(){(0,eval)(i+"\n//# sourceURL="+g)}.call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,e=(r=goog.global.$jscomp).transpile}}return e||(e=r.transpile=function(o,t){return goog.logToConsole_(t+" requires transpilation but no transpiler was found."),o}),e(o,t,n)},goog.typeOf=function(o){var t=typeof o;if("object"==t){if(!o)return"null";if(o instanceof Array)return"array";if(o instanceof Object)return t;var n=Object.prototype.toString.call(o);if("[object Window]"==n)return"object";if("[object Array]"==n||"number"==typeof o.length&&void 0!==o.splice&&void 0!==o.propertyIsEnumerable&&!o.propertyIsEnumerable("splice"))return"array";if("[object Function]"==n||void 0!==o.call&&void 0!==o.propertyIsEnumerable&&!o.propertyIsEnumerable("call"))return"function"}else if("function"==t&&void 0===o.call)return"object";return t},goog.isNull=function(o){return null===o},goog.isDefAndNotNull=function(o){return null!=o},goog.isArray=function(o){return"array"==goog.typeOf(o)},goog.isArrayLike=function(o){var t=goog.typeOf(o);return"array"==t||"object"==t&&"number"==typeof o.length},goog.isDateLike=function(o){return goog.isObject(o)&&"function"==typeof o.getFullYear},goog.isFunction=function(o){return"function"==goog.typeOf(o)},goog.isObject=function(o){var t=typeof o;return"object"==t&&null!=o||"function"==t},goog.getUid=function(o){return o[goog.UID_PROPERTY_]||(o[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(o){return!!o[goog.UID_PROPERTY_]},goog.removeUid=function(o){null!==o&&"removeAttribute"in o&&o.removeAttribute(goog.UID_PROPERTY_);try{delete o[goog.UID_PROPERTY_]}catch(o){}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(o){var t=goog.typeOf(o);if("object"==t||"array"==t){if("function"==typeof o.clone)return o.clone();for(var n in t="array"==t?[]:{},o)t[n]=goog.cloneObject(o[n]);return t}return o},goog.bindNative_=function(o,t,n){return o.call.apply(o.bind,arguments)},goog.bindJs_=function(o,t,n){if(!o)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),o.apply(t,n)}}return function(){return o.apply(t,arguments)}},goog.bind=function(o,t,n){return goog.bind=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bindNative_:goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(o,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=n.slice();return t.push.apply(t,arguments),o.apply(this,t)}},goog.mixin=function(o,t){for(var n in t)o[n]=t[n]},goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date},goog.globalEval=function(o){if(goog.global.execScript)goog.global.execScript(o,"JavaScript");else{if(!goog.global.eval)throw Error("goog.globalEval not available");if(null==goog.evalWorksForGlobals_){try{goog.global.eval("var _evalTest_ = 1;")}catch(o){}if(void 0!==goog.global._evalTest_){try{delete goog.global._evalTest_}catch(o){}goog.evalWorksForGlobals_=!0}else goog.evalWorksForGlobals_=!1}if(goog.evalWorksForGlobals_)goog.global.eval(o);else{var t=goog.global.document,n=t.createElement("SCRIPT");n.type="text/javascript",n.defer=!1,n.appendChild(t.createTextNode(o)),t.head.appendChild(n),t.head.removeChild(n)}}},goog.evalWorksForGlobals_=null,goog.getCssName=function(o,t){if("."==String(o).charAt(0))throw Error('className passed in goog.getCssName must not start with ".". You passed: '+o);var n=function(o){return goog.cssNameMapping_[o]||o},r=function(o){o=o.split("-");for(var t=[],r=0;r<o.length;r++)t.push(n(o[r]));return t.join("-")};return r=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?n:r:function(o){return o},o=t?o+"-"+r(t):r(o),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(o):o},goog.setCssNameMapping=function(o,t){goog.cssNameMapping_=o,goog.cssNameMappingStyle_=t},goog.getMsg=function(o,t,n){return n&&n.html&&(o=o.replace(/</g,"<")),t&&(o=o.replace(/\{\$([^}]+)}/g,(function(o,n){return null!=t&&n in t?t[n]:o}))),o},goog.getMsgWithFallback=function(o){return o},goog.exportSymbol=function(o,t,n){goog.exportPath_(o,t,n)},goog.exportProperty=function(o,t,n){o[t]=n},goog.inherits=function(o,t){function n(){}n.prototype=t.prototype,o.superClass_=t.prototype,o.prototype=new n,o.prototype.constructor=o,o.base=function(o,n,r){for(var e=Array(arguments.length-2),g=2;g<arguments.length;g++)e[g-2]=arguments[g];return t.prototype[n].apply(o,e)}},goog.base=function(o,t,n){var r=arguments.callee.caller;if(goog.STRICT_MODE_COMPATIBLE||goog.DEBUG&&!r)throw Error("arguments.caller not defined. goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C");if(void 0!==r.superClass_){for(var e=Array(arguments.length-1),g=1;g<arguments.length;g++)e[g-1]=arguments[g];return r.superClass_.constructor.apply(o,e)}if("string"!=typeof t&&"symbol"!=typeof t)throw Error("method names provided to goog.base must be a string or a symbol");for(e=Array(arguments.length-2),g=2;g<arguments.length;g++)e[g-2]=arguments[g];g=!1;for(var i=o.constructor.prototype;i;i=Object.getPrototypeOf(i))if(i[t]===r)g=!0;else if(g)return i[t].apply(o,e);if(o[t]===r)return o.constructor.prototype[t].apply(o,e);throw Error("goog.base called from a method of one name to a method of a different name")},goog.scope=function(o){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");o.call(goog.global)},goog.defineClass=function(o,t){var n=t.constructor,r=t.statics;return n&&n!=Object.prototype.constructor||(n=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),n=goog.defineClass.createSealingConstructor_(n,o),o&&goog.inherits(n,o),delete t.constructor,delete t.statics,goog.defineClass.applyProperties_(n.prototype,t),null!=r&&(r instanceof Function?r(n):goog.defineClass.applyProperties_(n,r)),n},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(o,t){if(!goog.defineClass.SEAL_CLASS_INSTANCES)return o;var n=!goog.defineClass.isUnsealable_(t),r=function(){var t=o.apply(this,arguments)||this;return t[goog.UID_PROPERTY_]=t[goog.UID_PROPERTY_],this.constructor===r&&n&&Object.seal instanceof Function&&Object.seal(t),t};return r},goog.defineClass.isUnsealable_=function(o){return o&&o.prototype&&o.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(o,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=t[n]);for(var r=0;r<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;r++)n=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[r],Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=t[n])},goog.tagUnsealableClass=function(){},goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable",goog.TRUSTED_TYPES_POLICY_NAME="",goog.identity_=function(o){return o},goog.createTrustedTypesPolicy=function(o){var t=null;if("undefined"==typeof TrustedTypes||!TrustedTypes.createPolicy)return t;try{t=TrustedTypes.createPolicy(o,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_,createURL:goog.identity_})}catch(o){goog.logToConsole_(o.message)}return t},goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null,goog.object={},goog.object.is=function(o,t){return o===t?0!==o||1/o==1/t:o!=o&&t!=t},goog.object.forEach=function(o,t,n){for(var r in o)t.call(n,o[r],r,o)},goog.object.filter=function(o,t,n){var r,e={};for(r in o)t.call(n,o[r],r,o)&&(e[r]=o[r]);return e},goog.object.map=function(o,t,n){var r,e={};for(r in o)e[r]=t.call(n,o[r],r,o);return e},goog.object.some=function(o,t,n){for(var r in o)if(t.call(n,o[r],r,o))return!0;return!1},goog.object.every=function(o,t,n){for(var r in o)if(!t.call(n,o[r],r,o))return!1;return!0},goog.object.getCount=function(o){var t,n=0;for(t in o)n++;return n},goog.object.getAnyKey=function(o){for(var t in o)return t},goog.object.getAnyValue=function(o){for(var t in o)return o[t]},goog.object.contains=function(o,t){return goog.object.containsValue(o,t)},goog.object.getValues=function(o){var t,n=[],r=0;for(t in o)n[r++]=o[t];return n},goog.object.getKeys=function(o){var t,n=[],r=0;for(t in o)n[r++]=t;return n},goog.object.getValueByKeys=function(o,t){var n=goog.isArrayLike(t),r=n?t:arguments;for(n=n?0:1;n<r.length;n++){if(null==o)return;o=o[r[n]]}return o},goog.object.containsKey=function(o,t){return null!==o&&t in o},goog.object.containsValue=function(o,t){for(var n in o)if(o[n]==t)return!0;return!1},goog.object.findKey=function(o,t,n){for(var r in o)if(t.call(n,o[r],r,o))return r},goog.object.findValue=function(o,t,n){return(t=goog.object.findKey(o,t,n))&&o[t]},goog.object.isEmpty=function(o){for(var t in o)return!1;return!0},goog.object.clear=function(o){for(var t in o)delete o[t]},goog.object.remove=function(o,t){var n;return(n=t in o)&&delete o[t],n},goog.object.add=function(o,t,n){if(null!==o&&t in o)throw Error('The object already contains the key "'+t+'"');goog.object.set(o,t,n)},goog.object.get=function(o,t,n){return null!==o&&t in o?o[t]:n},goog.object.set=function(o,t,n){o[t]=n},goog.object.setIfUndefined=function(o,t,n){return t in o?o[t]:o[t]=n},goog.object.setWithReturnValueIfNotSet=function(o,t,n){return t in o?o[t]:(n=n(),o[t]=n)},goog.object.equals=function(o,t){for(var n in o)if(!(n in t)||o[n]!==t[n])return!1;for(var r in t)if(!(r in o))return!1;return!0},goog.object.clone=function(o){var t,n={};for(t in o)n[t]=o[t];return n},goog.object.unsafeClone=function(o){var t=goog.typeOf(o);if("object"==t||"array"==t){if(goog.isFunction(o.clone))return o.clone();for(var n in t="array"==t?[]:{},o)t[n]=goog.object.unsafeClone(o[n]);return t}return o},goog.object.transpose=function(o){var t,n={};for(t in o)n[o[t]]=t;return n},goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.object.extend=function(o,t){for(var n,r,e=1;e<arguments.length;e++){for(n in r=arguments[e])o[n]=r[n];for(var g=0;g<goog.object.PROTOTYPE_FIELDS_.length;g++)n=goog.object.PROTOTYPE_FIELDS_[g],Object.prototype.hasOwnProperty.call(r,n)&&(o[n]=r[n])}},goog.object.create=function(o){var t=arguments.length;if(1==t&&goog.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(t%2)throw Error("Uneven number of arguments");for(var n={},r=0;r<t;r+=2)n[arguments[r]]=arguments[r+1];return n},goog.object.createSet=function(o){var t=arguments.length;if(1==t&&goog.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var n={},r=0;r<t;r++)n[arguments[r]]=!0;return n},goog.object.createImmutableView=function(o){var t=o;return Object.isFrozen&&!Object.isFrozen(o)&&(t=Object.create(o),Object.freeze(t)),t},goog.object.isImmutableView=function(o){return!!Object.isFrozen&&Object.isFrozen(o)},goog.object.getAllPropertyNames=function(o,t,n){if(!o)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(o);for(var r={};o&&(o!==Object.prototype||t)&&(o!==Function.prototype||n);){for(var e=Object.getOwnPropertyNames(o),g=0;g<e.length;g++)r[e[g]]=!0;o=Object.getPrototypeOf(o)}return goog.object.getKeys(r)},goog.object.getSuperClass=function(o){return(o=Object.getPrototypeOf(o.prototype))&&o.constructor},goog.debug={},goog.debug.Error=function(o){if(Error.captureStackTrace)Error.captureStackTrace(this,goog.debug.Error);else{var t=Error().stack;t&&(this.stack=t)}o&&(this.message=String(o)),this.reportErrorToServer=!0},goog.inherits(goog.debug.Error,Error),goog.debug.Error.prototype.name="CustomError",goog.dom={},goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},goog.asserts={},goog.asserts.ENABLE_ASSERTS=goog.DEBUG,goog.asserts.AssertionError=function(o,t){goog.debug.Error.call(this,goog.asserts.subs_(o,t)),this.messagePattern=o},goog.inherits(goog.asserts.AssertionError,goog.debug.Error),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(o){throw o},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(o,t){for(var n="",r=(o=o.split("%s")).length-1,e=0;e<r;e++)n+=o[e]+(e<t.length?t[e]:"%s");return n+o[r]},goog.asserts.doAssertFailure_=function(o,t,n,r){var e="Assertion failed";if(n){e+=": "+n;var g=r}else o&&(e+=": "+o,g=t);o=new goog.asserts.AssertionError(""+e,g||[]),goog.asserts.errorHandler_(o)},goog.asserts.setErrorHandler=function(o){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=o)},goog.asserts.assert=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&!o&&goog.asserts.doAssertFailure_("",null,t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertExists=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&null==o&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.fail=function(o,t){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(o?": "+o:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isNumber(o)&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertString=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isString(o)&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertFunction=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isFunction(o)&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertObject=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(o)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertArray=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isArray(o)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertBoolean=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isBoolean(o)&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertElement=function(o,t,n){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(o)&&o.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertInstanceof=function(o,t,n,r){return!goog.asserts.ENABLE_ASSERTS||o instanceof t||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(t),goog.asserts.getType_(o)],n,Array.prototype.slice.call(arguments,3)),o},goog.asserts.assertFinite=function(o,t,n){return!goog.asserts.ENABLE_ASSERTS||"number"==typeof o&&isFinite(o)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var o in Object.prototype)goog.asserts.fail(o+" should not be enumerable in Object.prototype.")},goog.asserts.getType_=function(o){return o instanceof Function?o.displayName||o.name||"unknown type name":o instanceof Object?o.constructor.displayName||o.constructor.name||Object.prototype.toString.call(o):null===o?"null":typeof o};var jspb={BinaryConstants:{},ConstBinaryMessage:function(){},BinaryMessage:function(){}};jspb.BinaryConstants.FieldType={INVALID:-1,DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18,FHASH64:30,VHASH64:31},jspb.BinaryConstants.WireType={INVALID:-1,VARINT:0,FIXED64:1,DELIMITED:2,START_GROUP:3,END_GROUP:4,FIXED32:5},jspb.BinaryConstants.FieldTypeToWireType=function(o){var t=jspb.BinaryConstants.FieldType,n=jspb.BinaryConstants.WireType;switch(o){case t.INT32:case t.INT64:case t.UINT32:case t.UINT64:case t.SINT32:case t.SINT64:case t.BOOL:case t.ENUM:case t.VHASH64:return n.VARINT;case t.DOUBLE:case t.FIXED64:case t.SFIXED64:case t.FHASH64:return n.FIXED64;case t.STRING:case t.MESSAGE:case t.BYTES:return n.DELIMITED;case t.FLOAT:case t.FIXED32:case t.SFIXED32:return n.FIXED32;default:return n.INVALID}},jspb.BinaryConstants.INVALID_FIELD_NUMBER=-1,jspb.BinaryConstants.FLOAT32_EPS=1401298464324817e-60,jspb.BinaryConstants.FLOAT32_MIN=11754943508222875e-54,jspb.BinaryConstants.FLOAT32_MAX=34028234663852886e22,jspb.BinaryConstants.FLOAT64_EPS=5e-324,jspb.BinaryConstants.FLOAT64_MIN=22250738585072014e-324,jspb.BinaryConstants.FLOAT64_MAX=17976931348623157e292,jspb.BinaryConstants.TWO_TO_20=1048576,jspb.BinaryConstants.TWO_TO_23=8388608,jspb.BinaryConstants.TWO_TO_31=2147483648,jspb.BinaryConstants.TWO_TO_32=4294967296,jspb.BinaryConstants.TWO_TO_52=4503599627370496,jspb.BinaryConstants.TWO_TO_63=0x8000000000000000,jspb.BinaryConstants.TWO_TO_64=0x10000000000000000,jspb.BinaryConstants.ZERO_HASH="\0\0\0\0\0\0\0\0",goog.array={},goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE,goog.array.ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR,goog.array.peek=function(o){return o[o.length-1]},goog.array.last=goog.array.peek,goog.array.indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(o,t,n){return goog.asserts.assert(null!=o.length),Array.prototype.indexOf.call(o,t,n)}:function(o,t,n){if(n=null==n?0:0>n?Math.max(0,o.length+n):n,goog.isString(o))return goog.isString(t)&&1==t.length?o.indexOf(t,n):-1;for(;n<o.length;n++)if(n in o&&o[n]===t)return n;return-1},goog.array.lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(o,t,n){return goog.asserts.assert(null!=o.length),Array.prototype.lastIndexOf.call(o,t,null==n?o.length-1:n)}:function(o,t,n){if(0>(n=null==n?o.length-1:n)&&(n=Math.max(0,o.length+n)),goog.isString(o))return goog.isString(t)&&1==t.length?o.lastIndexOf(t,n):-1;for(;0<=n;n--)if(n in o&&o[n]===t)return n;return-1},goog.array.forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(o,t,n){goog.asserts.assert(null!=o.length),Array.prototype.forEach.call(o,t,n)}:function(o,t,n){for(var r=o.length,e=goog.isString(o)?o.split(""):o,g=0;g<r;g++)g in e&&t.call(n,e[g],g,o)},goog.array.forEachRight=function(o,t,n){var r=o.length,e=goog.isString(o)?o.split(""):o;for(--r;0<=r;--r)r in e&&t.call(n,e[r],r,o)},goog.array.filter=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(o,t,n){return goog.asserts.assert(null!=o.length),Array.prototype.filter.call(o,t,n)}:function(o,t,n){for(var r=o.length,e=[],g=0,i=goog.isString(o)?o.split(""):o,u=0;u<r;u++)if(u in i){var s=i[u];t.call(n,s,u,o)&&(e[g++]=s)}return e},goog.array.map=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(o,t,n){return goog.asserts.assert(null!=o.length),Array.prototype.map.call(o,t,n)}:function(o,t,n){for(var r=o.length,e=Array(r),g=goog.isString(o)?o.split(""):o,i=0;i<r;i++)i in g&&(e[i]=t.call(n,g[i],i,o));return e},goog.array.reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(o,t,n,r){return goog.asserts.assert(null!=o.length),r&&(t=goog.bind(t,r)),Array.prototype.reduce.call(o,t,n)}:function(o,t,n,r){var e=n;return goog.array.forEach(o,(function(n,g){e=t.call(r,e,n,g,o)})),e},goog.array.reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(o,t,n,r){return goog.asserts.assert(null!=o.length),goog.asserts.assert(null!=t),r&&(t=goog.bind(t,r)),Array.prototype.reduceRight.call(o,t,n)}:function(o,t,n,r){var e=n;return goog.array.forEachRight(o,(function(n,g){e=t.call(r,e,n,g,o)})),e},goog.array.some=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(o,t,n){return goog.asserts.assert(null!=o.length),Array.prototype.some.call(o,t,n)}:function(o,t,n){for(var r=o.length,e=goog.isString(o)?o.split(""):o,g=0;g<r;g++)if(g in e&&t.call(n,e[g],g,o))return!0;return!1},goog.array.every=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(o,t,n){return goog.asserts.assert(null!=o.length),Array.prototype.every.call(o,t,n)}:function(o,t,n){for(var r=o.length,e=goog.isString(o)?o.split(""):o,g=0;g<r;g++)if(g in e&&!t.call(n,e[g],g,o))return!1;return!0},goog.array.count=function(o,t,n){var r=0;return goog.array.forEach(o,(function(o,e,g){t.call(n,o,e,g)&&++r}),n),r},goog.array.find=function(o,t,n){return 0>(t=goog.array.findIndex(o,t,n))?null:goog.isString(o)?o.charAt(t):o[t]},goog.array.findIndex=function(o,t,n){for(var r=o.length,e=goog.isString(o)?o.split(""):o,g=0;g<r;g++)if(g in e&&t.call(n,e[g],g,o))return g;return-1},goog.array.findRight=function(o,t,n){return 0>(t=goog.array.findIndexRight(o,t,n))?null:goog.isString(o)?o.charAt(t):o[t]},goog.array.findIndexRight=function(o,t,n){var r=o.length,e=goog.isString(o)?o.split(""):o;for(--r;0<=r;r--)if(r in e&&t.call(n,e[r],r,o))return r;return-1},goog.array.contains=function(o,t){return 0<=goog.array.indexOf(o,t)},goog.array.isEmpty=function(o){return 0==o.length},goog.array.clear=function(o){if(!goog.isArray(o))for(var t=o.length-1;0<=t;t--)delete o[t];o.length=0},goog.array.insert=function(o,t){goog.array.contains(o,t)||o.push(t)},goog.array.insertAt=function(o,t,n){goog.array.splice(o,n,0,t)},goog.array.insertArrayAt=function(o,t,n){goog.partial(goog.array.splice,o,n,0).apply(null,t)},goog.array.insertBefore=function(o,t,n){var r;2==arguments.length||0>(r=goog.array.indexOf(o,n))?o.push(t):goog.array.insertAt(o,t,r)},goog.array.remove=function(o,t){var n;return(n=0<=(t=goog.array.indexOf(o,t)))&&goog.array.removeAt(o,t),n},goog.array.removeLast=function(o,t){return 0<=(t=goog.array.lastIndexOf(o,t))&&(goog.array.removeAt(o,t),!0)},goog.array.removeAt=function(o,t){return goog.asserts.assert(null!=o.length),1==Array.prototype.splice.call(o,t,1).length},goog.array.removeIf=function(o,t,n){return 0<=(t=goog.array.findIndex(o,t,n))&&(goog.array.removeAt(o,t),!0)},goog.array.removeAllIf=function(o,t,n){var r=0;return goog.array.forEachRight(o,(function(e,g){t.call(n,e,g,o)&&goog.array.removeAt(o,g)&&r++})),r},goog.array.concat=function(o){return Array.prototype.concat.apply([],arguments)},goog.array.join=function(o){return Array.prototype.concat.apply([],arguments)},goog.array.toArray=function(o){var t=o.length;if(0<t){for(var n=Array(t),r=0;r<t;r++)n[r]=o[r];return n}return[]},goog.array.clone=goog.array.toArray,goog.array.extend=function(o,t){for(var n=1;n<arguments.length;n++){var r=arguments[n];if(goog.isArrayLike(r)){var e=o.length||0,g=r.length||0;o.length=e+g;for(var i=0;i<g;i++)o[e+i]=r[i]}else o.push(r)}},goog.array.splice=function(o,t,n,r){return goog.asserts.assert(null!=o.length),Array.prototype.splice.apply(o,goog.array.slice(arguments,1))},goog.array.slice=function(o,t,n){return goog.asserts.assert(null!=o.length),2>=arguments.length?Array.prototype.slice.call(o,t):Array.prototype.slice.call(o,t,n)},goog.array.removeDuplicates=function(o,t,n){t=t||o;var r=function(o){return goog.isObject(o)?"o"+goog.getUid(o):(typeof o).charAt(0)+o};n=n||r,r={};for(var e=0,g=0;g<o.length;){var i=o[g++],u=n(i);Object.prototype.hasOwnProperty.call(r,u)||(r[u]=!0,t[e++]=i)}t.length=e},goog.array.binarySearch=function(o,t,n){return goog.array.binarySearch_(o,n||goog.array.defaultCompare,!1,t)},goog.array.binarySelect=function(o,t,n){return goog.array.binarySearch_(o,t,!0,void 0,n)},goog.array.binarySearch_=function(o,t,n,r,e){for(var g,i=0,u=o.length;i<u;){var s=i+u>>1,f=n?t.call(e,o[s],s,o):t(r,o[s]);0<f?i=s+1:(u=s,g=!f)}return g?i:~i},goog.array.sort=function(o,t){o.sort(t||goog.array.defaultCompare)},goog.array.stableSort=function(o,t){for(var n=Array(o.length),r=0;r<o.length;r++)n[r]={index:r,value:o[r]};var e=t||goog.array.defaultCompare;for(goog.array.sort(n,(function(o,t){return e(o.value,t.value)||o.index-t.index})),r=0;r<o.length;r++)o[r]=n[r].value},goog.array.sortByKey=function(o,t,n){var r=n||goog.array.defaultCompare;goog.array.sort(o,(function(o,n){return r(t(o),t(n))}))},goog.array.sortObjectsByKey=function(o,t,n){goog.array.sortByKey(o,(function(o){return o[t]}),n)},goog.array.isSorted=function(o,t,n){t=t||goog.array.defaultCompare;for(var r=1;r<o.length;r++){var e=t(o[r-1],o[r]);if(0<e||0==e&&n)return!1}return!0},goog.array.equals=function(o,t,n){if(!goog.isArrayLike(o)||!goog.isArrayLike(t)||o.length!=t.length)return!1;var r=o.length;n=n||goog.array.defaultCompareEquality;for(var e=0;e<r;e++)if(!n(o[e],t[e]))return!1;return!0},goog.array.compare3=function(o,t,n){n=n||goog.array.defaultCompare;for(var r=Math.min(o.length,t.length),e=0;e<r;e++){var g=n(o[e],t[e]);if(0!=g)return g}return goog.array.defaultCompare(o.length,t.length)},goog.array.defaultCompare=function(o,t){return o>t?1:o<t?-1:0},goog.array.inverseDefaultCompare=function(o,t){return-goog.array.defaultCompare(o,t)},goog.array.defaultCompareEquality=function(o,t){return o===t},goog.array.binaryInsert=function(o,t,n){return 0>(n=goog.array.binarySearch(o,t,n))&&(goog.array.insertAt(o,t,-(n+1)),!0)},goog.array.binaryRemove=function(o,t,n){return 0<=(t=goog.array.binarySearch(o,t,n))&&goog.array.removeAt(o,t)},goog.array.bucket=function(o,t,n){for(var r={},e=0;e<o.length;e++){var g=o[e],i=t.call(n,g,e,o);goog.isDef(i)&&(r[i]||(r[i]=[])).push(g)}return r},goog.array.toObject=function(o,t,n){var r={};return goog.array.forEach(o,(function(e,g){r[t.call(n,e,g,o)]=e})),r},goog.array.range=function(o,t,n){var r=[],e=0,g=o;if(void 0!==t&&(e=o,g=t),0>(n=n||1)*(g-e))return[];if(0<n)for(o=e;o<g;o+=n)r.push(o);else for(o=e;o>g;o+=n)r.push(o);return r},goog.array.repeat=function(o,t){for(var n=[],r=0;r<t;r++)n[r]=o;return n},goog.array.flatten=function(o){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(goog.isArray(r))for(var e=0;e<r.length;e+=8192){var g=goog.array.slice(r,e,e+8192);g=goog.array.flatten.apply(null,g);for(var i=0;i<g.length;i++)t.push(g[i])}else t.push(r)}return t},goog.array.rotate=function(o,t){return goog.asserts.assert(null!=o.length),o.length&&(0<(t%=o.length)?Array.prototype.unshift.apply(o,o.splice(-t,t)):0>t&&Array.prototype.push.apply(o,o.splice(0,-t))),o},goog.array.moveItem=function(o,t,n){goog.asserts.assert(0<=t&&t<o.length),goog.asserts.assert(0<=n&&n<o.length),t=Array.prototype.splice.call(o,t,1),Array.prototype.splice.call(o,n,0,t[0])},goog.array.zip=function(o){if(!arguments.length)return[];for(var t=[],n=arguments[0].length,r=1;r<arguments.length;r++)arguments[r].length<n&&(n=arguments[r].length);for(r=0;r<n;r++){for(var e=[],g=0;g<arguments.length;g++)e.push(arguments[g][r]);t.push(e)}return t},goog.array.shuffle=function(o,t){t=t||Math.random;for(var n=o.length-1;0<n;n--){var r=Math.floor(t()*(n+1)),e=o[n];o[n]=o[r],o[r]=e}},goog.array.copyByIndex=function(o,t){var n=[];return goog.array.forEach(t,(function(t){n.push(o[t])})),n},goog.array.concatMap=function(o,t,n){return goog.array.concat.apply([],goog.array.map(o,t,n))},goog.crypt={},goog.crypt.stringToByteArray=function(o){for(var t=[],n=0,r=0;r<o.length;r++){var e=o.charCodeAt(r);255<e&&(t[n++]=255&e,e>>=8),t[n++]=e}return t},goog.crypt.byteArrayToString=function(o){if(8192>=o.length)return String.fromCharCode.apply(null,o);for(var t="",n=0;n<o.length;n+=8192){var r=goog.array.slice(o,n,n+8192);t+=String.fromCharCode.apply(null,r)}return t},goog.crypt.byteArrayToHex=function(o,t){return goog.array.map(o,(function(o){return 1<(o=o.toString(16)).length?o:"0"+o})).join(t||"")},goog.crypt.hexToByteArray=function(o){goog.asserts.assert(0==o.length%2,"Key string length must be multiple of 2");for(var t=[],n=0;n<o.length;n+=2)t.push(parseInt(o.substring(n,n+2),16));return t},goog.crypt.stringToUtf8ByteArray=function(o){for(var t=[],n=0,r=0;r<o.length;r++){var e=o.charCodeAt(r);128>e?t[n++]=e:(2048>e?t[n++]=e>>6|192:(55296==(64512&e)&&r+1<o.length&&56320==(64512&o.charCodeAt(r+1))?(e=65536+((1023&e)<<10)+(1023&o.charCodeAt(++r)),t[n++]=e>>18|240,t[n++]=e>>12&63|128):t[n++]=e>>12|224,t[n++]=e>>6&63|128),t[n++]=63&e|128)}return t},goog.crypt.utf8ByteArrayToString=function(o){for(var t=[],n=0,r=0;n<o.length;){var e=o[n++];if(128>e)t[r++]=String.fromCharCode(e);else if(191<e&&224>e){var g=o[n++];t[r++]=String.fromCharCode((31&e)<<6|63&g)}else if(239<e&&365>e){g=o[n++];var i=o[n++];e=((7&e)<<18|(63&g)<<12|(63&i)<<6|63&o[n++])-65536,t[r++]=String.fromCharCode(55296+(e>>10)),t[r++]=String.fromCharCode(56320+(1023&e))}else g=o[n++],i=o[n++],t[r++]=String.fromCharCode((15&e)<<12|(63&g)<<6|63&i)}return t.join("")},goog.crypt.xorByteArray=function(o,t){goog.asserts.assert(o.length==t.length,"XOR array lengths must match");for(var n=[],r=0;r<o.length;r++)n.push(o[r]^t[r]);return n},goog.dom.asserts={},goog.dom.asserts.assertIsLocation=function(o){if(goog.asserts.ENABLE_ASSERTS){var t=goog.dom.asserts.getWindow_(o);t&&(!o||!(o instanceof t.Location)&&o instanceof t.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(o))}return o},goog.dom.asserts.assertIsElementType_=function(o,t){if(goog.asserts.ENABLE_ASSERTS){var n=goog.dom.asserts.getWindow_(o);n&&void 0!==n[t]&&(o&&(o instanceof n[t]||!(o instanceof n.Location||o instanceof n.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",t,goog.dom.asserts.debugStringForType_(o)))}return o},goog.dom.asserts.assertIsHTMLAnchorElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLAnchorElement")},goog.dom.asserts.assertIsHTMLButtonElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLButtonElement")},goog.dom.asserts.assertIsHTMLLinkElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLLinkElement")},goog.dom.asserts.assertIsHTMLImageElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLImageElement")},goog.dom.asserts.assertIsHTMLAudioElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLAudioElement")},goog.dom.asserts.assertIsHTMLVideoElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLVideoElement")},goog.dom.asserts.assertIsHTMLInputElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLInputElement")},goog.dom.asserts.assertIsHTMLTextAreaElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLTextAreaElement")},goog.dom.asserts.assertIsHTMLCanvasElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLCanvasElement")},goog.dom.asserts.assertIsHTMLEmbedElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLEmbedElement")},goog.dom.asserts.assertIsHTMLFormElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLFormElement")},goog.dom.asserts.assertIsHTMLFrameElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLFrameElement")},goog.dom.asserts.assertIsHTMLIFrameElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLIFrameElement")},goog.dom.asserts.assertIsHTMLObjectElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLObjectElement")},goog.dom.asserts.assertIsHTMLScriptElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLScriptElement")},goog.dom.asserts.debugStringForType_=function(o){if(!goog.isObject(o))return void 0===o?"undefined":null===o?"null":typeof o;try{return o.constructor.displayName||o.constructor.name||Object.prototype.toString.call(o)}catch(o){return"<object could not be stringified>"}},goog.dom.asserts.getWindow_=function(o){try{var t=o&&o.ownerDocument,n=t&&(t.defaultView||t.parentWindow);if((n=n||goog.global).Element&&n.Location)return n}catch(o){}return null},goog.functions={},goog.functions.constant=function(o){return function(){return o}},goog.functions.FALSE=function(){return!1},goog.functions.TRUE=function(){return!0},goog.functions.NULL=function(){return null},goog.functions.identity=function(o){return o},goog.functions.error=function(o){return function(){throw Error(o)}},goog.functions.fail=function(o){return function(){throw o}},goog.functions.lock=function(o,t){return t=t||0,function(){return o.apply(this,Array.prototype.slice.call(arguments,0,t))}},goog.functions.nth=function(o){return function(){return arguments[o]}},goog.functions.partialRight=function(o,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=Array.prototype.slice.call(arguments);return t.push.apply(t,n),o.apply(this,t)}},goog.functions.withReturnValue=function(o,t){return goog.functions.sequence(o,goog.functions.constant(t))},goog.functions.equalTo=function(o,t){return function(n){return t?o==n:o===n}},goog.functions.compose=function(o,t){var n=arguments,r=n.length;return function(){var o;r&&(o=n[r-1].apply(this,arguments));for(var t=r-2;0<=t;t--)o=n[t].call(this,o);return o}},goog.functions.sequence=function(o){var t=arguments,n=t.length;return function(){for(var o,r=0;r<n;r++)o=t[r].apply(this,arguments);return o}},goog.functions.and=function(o){var t=arguments,n=t.length;return function(){for(var o=0;o<n;o++)if(!t[o].apply(this,arguments))return!1;return!0}},goog.functions.or=function(o){var t=arguments,n=t.length;return function(){for(var o=0;o<n;o++)if(t[o].apply(this,arguments))return!0;return!1}},goog.functions.not=function(o){return function(){return!o.apply(this,arguments)}},goog.functions.create=function(o,t){var n=function(){};return n.prototype=o.prototype,n=new n,o.apply(n,Array.prototype.slice.call(arguments,1)),n},goog.functions.CACHE_RETURN_VALUE=!0,goog.functions.cacheReturnValue=function(o){var t,n=!1;return function(){return goog.functions.CACHE_RETURN_VALUE?(n||(t=o(),n=!0),t):o()}},goog.functions.once=function(o){var t=o;return function(){if(t){var o=t;t=null,o()}}},goog.functions.debounce=function(o,t,n){var r=0;return function(e){goog.global.clearTimeout(r);var g=arguments;r=goog.global.setTimeout((function(){o.apply(n,g)}),t)}},goog.functions.throttle=function(o,t,n){var r=0,e=!1,g=[],i=function(){r=0,e&&(e=!1,u())},u=function(){r=goog.global.setTimeout(i,t),o.apply(n,g)};return function(o){g=arguments,r?e=!0:u()}},goog.functions.rateLimit=function(o,t,n){var r=0,e=function(){r=0};return function(g){r||(r=goog.global.setTimeout(e,t),o.apply(n,arguments))}},goog.dom.HtmlElement=function(){},goog.dom.TagName=function(o){this.tagName_=o},goog.dom.TagName.prototype.toString=function(){return this.tagName_},goog.dom.TagName.A=new goog.dom.TagName("A"),goog.dom.TagName.ABBR=new goog.dom.TagName("ABBR"),goog.dom.TagName.ACRONYM=new goog.dom.TagName("ACRONYM"),goog.dom.TagName.ADDRESS=new goog.dom.TagName("ADDRESS"),goog.dom.TagName.APPLET=new goog.dom.TagName("APPLET"),goog.dom.TagName.AREA=new goog.dom.TagName("AREA"),goog.dom.TagName.ARTICLE=new goog.dom.TagName("ARTICLE"),goog.dom.TagName.ASIDE=new goog.dom.TagName("ASIDE"),goog.dom.TagName.AUDIO=new goog.dom.TagName("AUDIO"),goog.dom.TagName.B=new goog.dom.TagName("B"),goog.dom.TagName.BASE=new goog.dom.TagName("BASE"),goog.dom.TagName.BASEFONT=new goog.dom.TagName("BASEFONT"),goog.dom.TagName.BDI=new goog.dom.TagName("BDI"),goog.dom.TagName.BDO=new goog.dom.TagName("BDO"),goog.dom.TagName.BIG=new goog.dom.TagName("BIG"),goog.dom.TagName.BLOCKQUOTE=new goog.dom.TagName("BLOCKQUOTE"),goog.dom.TagName.BODY=new goog.dom.TagName("BODY"),goog.dom.TagName.BR=new goog.dom.TagName("BR"),goog.dom.TagName.BUTTON=new goog.dom.TagName("BUTTON"),goog.dom.TagName.CANVAS=new goog.dom.TagName("CANVAS"),goog.dom.TagName.CAPTION=new goog.dom.TagName("CAPTION"),goog.dom.TagName.CENTER=new goog.dom.TagName("CENTER"),goog.dom.TagName.CITE=new goog.dom.TagName("CITE"),goog.dom.TagName.CODE=new goog.dom.TagName("CODE"),goog.dom.TagName.COL=new goog.dom.TagName("COL"),goog.dom.TagName.COLGROUP=new goog.dom.TagName("COLGROUP"),goog.dom.TagName.COMMAND=new goog.dom.TagName("COMMAND"),goog.dom.TagName.DATA=new goog.dom.TagName("DATA"),goog.dom.TagName.DATALIST=new goog.dom.TagName("DATALIST"),goog.dom.TagName.DD=new goog.dom.TagName("DD"),goog.dom.TagName.DEL=new goog.dom.TagName("DEL"),goog.dom.TagName.DETAILS=new goog.dom.TagName("DETAILS"),goog.dom.TagName.DFN=new goog.dom.TagName("DFN"),goog.dom.TagName.DIALOG=new goog.dom.TagName("DIALOG"),goog.dom.TagName.DIR=new goog.dom.TagName("DIR"),goog.dom.TagName.DIV=new goog.dom.TagName("DIV"),goog.dom.TagName.DL=new goog.dom.TagName("DL"),goog.dom.TagName.DT=new goog.dom.TagName("DT"),goog.dom.TagName.EM=new goog.dom.TagName("EM"),goog.dom.TagName.EMBED=new goog.dom.TagName("EMBED"),goog.dom.TagName.FIELDSET=new goog.dom.TagName("FIELDSET"),goog.dom.TagName.FIGCAPTION=new goog.dom.TagName("FIGCAPTION"),goog.dom.TagName.FIGURE=new goog.dom.TagName("FIGURE"),goog.dom.TagName.FONT=new goog.dom.TagName("FONT"),goog.dom.TagName.FOOTER=new goog.dom.TagName("FOOTER"),goog.dom.TagName.FORM=new goog.dom.TagName("FORM"),goog.dom.TagName.FRAME=new goog.dom.TagName("FRAME"),goog.dom.TagName.FRAMESET=new goog.dom.TagName("FRAMESET"),goog.dom.TagName.H1=new goog.dom.TagName("H1"),goog.dom.TagName.H2=new goog.dom.TagName("H2"),goog.dom.TagName.H3=new goog.dom.TagName("H3"),goog.dom.TagName.H4=new goog.dom.TagName("H4"),goog.dom.TagName.H5=new goog.dom.TagName("H5"),goog.dom.TagName.H6=new goog.dom.TagName("H6"),goog.dom.TagName.HEAD=new goog.dom.TagName("HEAD"),goog.dom.TagName.HEADER=new goog.dom.TagName("HEADER"),goog.dom.TagName.HGROUP=new goog.dom.TagName("HGROUP"),goog.dom.TagName.HR=new goog.dom.TagName("HR"),goog.dom.TagName.HTML=new goog.dom.TagName("HTML"),goog.dom.TagName.I=new goog.dom.TagName("I"),goog.dom.TagName.IFRAME=new goog.dom.TagName("IFRAME"),goog.dom.TagName.IMG=new goog.dom.TagName("IMG"),goog.dom.TagName.INPUT=new goog.dom.TagName("INPUT"),goog.dom.TagName.INS=new goog.dom.TagName("INS"),goog.dom.TagName.ISINDEX=new goog.dom.TagName("ISINDEX"),goog.dom.TagName.KBD=new goog.dom.TagName("KBD"),goog.dom.TagName.KEYGEN=new goog.dom.TagName("KEYGEN"),goog.dom.TagName.LABEL=new goog.dom.TagName("LABEL"),goog.dom.TagName.LEGEND=new goog.dom.TagName("LEGEND"),goog.dom.TagName.LI=new goog.dom.TagName("LI"),goog.dom.TagName.LINK=new goog.dom.TagName("LINK"),goog.dom.TagName.MAIN=new goog.dom.TagName("MAIN"),goog.dom.TagName.MAP=new goog.dom.TagName("MAP"),goog.dom.TagName.MARK=new goog.dom.TagName("MARK"),goog.dom.TagName.MATH=new goog.dom.TagName("MATH"),goog.dom.TagName.MENU=new goog.dom.TagName("MENU"),goog.dom.TagName.MENUITEM=new goog.dom.TagName("MENUITEM"),goog.dom.TagName.META=new goog.dom.TagName("META"),goog.dom.TagName.METER=new goog.dom.TagName("METER"),goog.dom.TagName.NAV=new goog.dom.TagName("NAV"),goog.dom.TagName.NOFRAMES=new goog.dom.TagName("NOFRAMES"),goog.dom.TagName.NOSCRIPT=new goog.dom.TagName("NOSCRIPT"),goog.dom.TagName.OBJECT=new goog.dom.TagName("OBJECT"),goog.dom.TagName.OL=new goog.dom.TagName("OL"),goog.dom.TagName.OPTGROUP=new goog.dom.TagName("OPTGROUP"),goog.dom.TagName.OPTION=new goog.dom.TagName("OPTION"),goog.dom.TagName.OUTPUT=new goog.dom.TagName("OUTPUT"),goog.dom.TagName.P=new goog.dom.TagName("P"),goog.dom.TagName.PARAM=new goog.dom.TagName("PARAM"),goog.dom.TagName.PICTURE=new goog.dom.TagName("PICTURE"),goog.dom.TagName.PRE=new goog.dom.TagName("PRE"),goog.dom.TagName.PROGRESS=new goog.dom.TagName("PROGRESS"),goog.dom.TagName.Q=new goog.dom.TagName("Q"),goog.dom.TagName.RP=new goog.dom.TagName("RP"),goog.dom.TagName.RT=new goog.dom.TagName("RT"),goog.dom.TagName.RTC=new goog.dom.TagName("RTC"),goog.dom.TagName.RUBY=new goog.dom.TagName("RUBY"),goog.dom.TagName.S=new goog.dom.TagName("S"),goog.dom.TagName.SAMP=new goog.dom.TagName("SAMP"),goog.dom.TagName.SCRIPT=new goog.dom.TagName("SCRIPT"),goog.dom.TagName.SECTION=new goog.dom.TagName("SECTION"),goog.dom.TagName.SELECT=new goog.dom.TagName("SELECT"),goog.dom.TagName.SMALL=new goog.dom.TagName("SMALL"),goog.dom.TagName.SOURCE=new goog.dom.TagName("SOURCE"),goog.dom.TagName.SPAN=new goog.dom.TagName("SPAN"),goog.dom.TagName.STRIKE=new goog.dom.TagName("STRIKE"),goog.dom.TagName.STRONG=new goog.dom.TagName("STRONG"),goog.dom.TagName.STYLE=new goog.dom.TagName("STYLE"),goog.dom.TagName.SUB=new goog.dom.TagName("SUB"),goog.dom.TagName.SUMMARY=new goog.dom.TagName("SUMMARY"),goog.dom.TagName.SUP=new goog.dom.TagName("SUP"),goog.dom.TagName.SVG=new goog.dom.TagName("SVG"),goog.dom.TagName.TABLE=new goog.dom.TagName("TABLE"),goog.dom.TagName.TBODY=new goog.dom.TagName("TBODY"),goog.dom.TagName.TD=new goog.dom.TagName("TD"),goog.dom.TagName.TEMPLATE=new goog.dom.TagName("TEMPLATE"),goog.dom.TagName.TEXTAREA=new goog.dom.TagName("TEXTAREA"),goog.dom.TagName.TFOOT=new goog.dom.TagName("TFOOT"),goog.dom.TagName.TH=new goog.dom.TagName("TH"),goog.dom.TagName.THEAD=new goog.dom.TagName("THEAD"),goog.dom.TagName.TIME=new goog.dom.TagName("TIME"),goog.dom.TagName.TITLE=new goog.dom.TagName("TITLE"),goog.dom.TagName.TR=new goog.dom.TagName("TR"),goog.dom.TagName.TRACK=new goog.dom.TagName("TRACK"),goog.dom.TagName.TT=new goog.dom.TagName("TT"),goog.dom.TagName.U=new goog.dom.TagName("U"),goog.dom.TagName.UL=new goog.dom.TagName("UL"),goog.dom.TagName.VAR=new goog.dom.TagName("VAR"),goog.dom.TagName.VIDEO=new goog.dom.TagName("VIDEO"),goog.dom.TagName.WBR=new goog.dom.TagName("WBR"),goog.dom.tags={},goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},goog.dom.tags.isVoidTag=function(o){return!0===goog.dom.tags.VOID_TAGS_[o]},goog.html={},goog.html.trustedtypes={},goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#html"):null,goog.string={},goog.string.TypedString=function(){},goog.string.Const=function(o,t){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=o===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_},goog.string.Const.prototype.implementsGoogStringTypedString=!0,goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_},goog.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"},goog.string.Const.unwrap=function(o){return o instanceof goog.string.Const&&o.constructor===goog.string.Const&&o.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?o.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+o+"'"),"type_error:Const")},goog.string.Const.from=function(o){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,o)},goog.string.Const.TYPE_MARKER_={},goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.Const.EMPTY=goog.string.Const.from(""),goog.html.SafeScript=function(){this.privateDoNotAccessOrElseSafeScriptWrappedValue_="",this.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeScript.prototype.implementsGoogStringTypedString=!0,goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeScript.fromConstant=function(o){return 0===(o=goog.string.Const.unwrap(o)).length?goog.html.SafeScript.EMPTY:goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeScript.fromConstantAndArgs=function(o,t){for(var n=[],r=1;r<arguments.length;r++)n.push(goog.html.SafeScript.stringify_(arguments[r]));return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(o)+")("+n.join(", ")+");")},goog.html.SafeScript.fromJson=function(o){return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(goog.html.SafeScript.stringify_(o))},goog.html.SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeScript.prototype.toString=function(){return"SafeScript{"+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+"}"}),goog.html.SafeScript.unwrap=function(o){return goog.html.SafeScript.unwrapTrustedScript(o).toString()},goog.html.SafeScript.unwrapTrustedScript=function(o){return o instanceof goog.html.SafeScript&&o.constructor===goog.html.SafeScript&&o.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeScriptWrappedValue_:(goog.asserts.fail("expected object of type SafeScript, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeScript")},goog.html.SafeScript.stringify_=function(o){return JSON.stringify(o).replace(/</g,"\\x3c")},goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(o){return(new goog.html.SafeScript).initSecurityPrivateDoNotAccessOrElse_(o)},goog.html.SafeScript.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScript(o):o,this},goog.html.SafeScript.EMPTY=goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(""),goog.fs={},goog.fs.url={},goog.fs.url.createObjectUrl=function(o){return goog.fs.url.getUrlObject_().createObjectURL(o)},goog.fs.url.revokeObjectUrl=function(o){goog.fs.url.getUrlObject_().revokeObjectURL(o)},goog.fs.url.getUrlObject_=function(){var o=goog.fs.url.findUrlObject_();if(null!=o)return o;throw Error("This browser doesn't seem to support blob URLs")},goog.fs.url.findUrlObject_=function(){return goog.isDef(goog.global.URL)&&goog.isDef(goog.global.URL.createObjectURL)?goog.global.URL:goog.isDef(goog.global.webkitURL)&&goog.isDef(goog.global.webkitURL.createObjectURL)?goog.global.webkitURL:goog.isDef(goog.global.createObjectURL)?goog.global:null},goog.fs.url.browserSupportsObjectUrls=function(){return null!=goog.fs.url.findUrlObject_()},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||("ar"==goog.LOCALE.substring(0,2).toLowerCase()||"fa"==goog.LOCALE.substring(0,2).toLowerCase()||"he"==goog.LOCALE.substring(0,2).toLowerCase()||"iw"==goog.LOCALE.substring(0,2).toLowerCase()||"ps"==goog.LOCALE.substring(0,2).toLowerCase()||"sd"==goog.LOCALE.substring(0,2).toLowerCase()||"ug"==goog.LOCALE.substring(0,2).toLowerCase()||"ur"==goog.LOCALE.substring(0,2).toLowerCase()||"yi"==goog.LOCALE.substring(0,2).toLowerCase())&&(2==goog.LOCALE.length||"-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))||3<=goog.LOCALE.length&&"ckb"==goog.LOCALE.substring(0,3).toLowerCase()&&(3==goog.LOCALE.length||"-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))||7<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))&&("adlm"==goog.LOCALE.substring(3,7).toLowerCase()||"arab"==goog.LOCALE.substring(3,7).toLowerCase()||"hebr"==goog.LOCALE.substring(3,7).toLowerCase()||"nkoo"==goog.LOCALE.substring(3,7).toLowerCase()||"rohg"==goog.LOCALE.substring(3,7).toLowerCase()||"thaa"==goog.LOCALE.substring(3,7).toLowerCase())||8<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))&&("adlm"==goog.LOCALE.substring(4,8).toLowerCase()||"arab"==goog.LOCALE.substring(4,8).toLowerCase()||"hebr"==goog.LOCALE.substring(4,8).toLowerCase()||"nkoo"==goog.LOCALE.substring(4,8).toLowerCase()||"rohg"==goog.LOCALE.substring(4,8).toLowerCase()||"thaa"==goog.LOCALE.substring(4,8).toLowerCase()),goog.i18n.bidi.Format={LRE:"",RLE:"",PDF:"",LRM:"",RLM:""},goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0},goog.i18n.bidi.RIGHT="right",goog.i18n.bidi.LEFT="left",goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT,goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,goog.i18n.bidi.toDir=function(o,t){return"number"==typeof o?0<o?goog.i18n.bidi.Dir.LTR:0>o?goog.i18n.bidi.Dir.RTL:t?null:goog.i18n.bidi.Dir.NEUTRAL:null==o?null:o?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.ltrChars_="A-Za-zÀ-ÖØ-öø-ʸ̀-ऀ-Ⰰ-\ud801\ud804-\ud839\ud83c-\udbff豈-︀--",goog.i18n.bidi.rtlChars_="֑-ۯۺ-ࣿ\ud802-\ud803\ud83a-\ud83bיִ-﷿ﹰ-ﻼ",goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g,goog.i18n.bidi.stripHtmlIfNeeded_=function(o,t){return t?o.replace(goog.i18n.bidi.htmlSkipReg_,""):o},goog.i18n.bidi.rtlCharReg_=new RegExp("["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.ltrCharReg_=new RegExp("["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.hasAnyRtl=function(o,t){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))},goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl,goog.i18n.bidi.hasAnyLtr=function(o,t){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))},goog.i18n.bidi.ltrRe_=new RegExp("^["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlRe_=new RegExp("^["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.isRtlChar=function(o){return goog.i18n.bidi.rtlRe_.test(o)},goog.i18n.bidi.isLtrChar=function(o){return goog.i18n.bidi.ltrRe_.test(o)},goog.i18n.bidi.isNeutralChar=function(o){return!goog.i18n.bidi.isLtrChar(o)&&!goog.i18n.bidi.isRtlChar(o)},goog.i18n.bidi.ltrDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.rtlChars_+"]*["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.ltrChars_+"]*["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.startsWithRtl=function(o,t){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))},goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl,goog.i18n.bidi.startsWithLtr=function(o,t){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))},goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr,goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/,goog.i18n.bidi.isNeutralText=function(o,t){return o=goog.i18n.bidi.stripHtmlIfNeeded_(o,t),goog.i18n.bidi.isRequiredLtrRe_.test(o)||!goog.i18n.bidi.hasAnyLtr(o)&&!goog.i18n.bidi.hasAnyRtl(o)},goog.i18n.bidi.ltrExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.ltrChars_+"][^"+goog.i18n.bidi.rtlChars_+"]*$"),goog.i18n.bidi.rtlExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.rtlChars_+"][^"+goog.i18n.bidi.ltrChars_+"]*$"),goog.i18n.bidi.endsWithLtr=function(o,t){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))},goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr,goog.i18n.bidi.endsWithRtl=function(o,t){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))},goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl,goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,goog.i18n.bidi.isRtlLanguage=function(o){return goog.i18n.bidi.rtlLocalesRe_.test(o)},goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,goog.i18n.bidi.guardBracketInText=function(o,t){return t=(void 0===t?goog.i18n.bidi.hasAnyRtl(o):t)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,o.replace(goog.i18n.bidi.bracketGuardTextRe_,t+"$&"+t)},goog.i18n.bidi.enforceRtlInHtml=function(o){return"<"==o.charAt(0)?o.replace(/<\w+/,"$& dir=rtl"):"\n<span dir=rtl>"+o+"</span>"},goog.i18n.bidi.enforceRtlInText=function(o){return goog.i18n.bidi.Format.RLE+o+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.enforceLtrInHtml=function(o){return"<"==o.charAt(0)?o.replace(/<\w+/,"$& dir=ltr"):"\n<span dir=ltr>"+o+"</span>"},goog.i18n.bidi.enforceLtrInText=function(o){return goog.i18n.bidi.Format.LRE+o+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.dimensionsRe_=/:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g,goog.i18n.bidi.leftRe_=/left/gi,goog.i18n.bidi.rightRe_=/right/gi,goog.i18n.bidi.tempRe_=/%%%%/g,goog.i18n.bidi.mirrorCSS=function(o){return o.replace(goog.i18n.bidi.dimensionsRe_,":$1 $4 $3 $2").replace(goog.i18n.bidi.leftRe_,"%%%%").replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_,goog.i18n.bidi.RIGHT)},goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\u0591-\u05f2])"/g,goog.i18n.bidi.singleQuoteSubstituteRe_=/([\u0591-\u05f2])'/g,goog.i18n.bidi.normalizeHebrewQuote=function(o){return o.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1״").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1׳")},goog.i18n.bidi.wordSeparatorRe_=/\s+/,goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/,goog.i18n.bidi.rtlDetectionThreshold_=.4,goog.i18n.bidi.estimateDirection=function(o,t){var n=0,r=0,e=!1;for(o=goog.i18n.bidi.stripHtmlIfNeeded_(o,t).split(goog.i18n.bidi.wordSeparatorRe_),t=0;t<o.length;t++){var g=o[t];goog.i18n.bidi.startsWithRtl(g)?(n++,r++):goog.i18n.bidi.isRequiredLtrRe_.test(g)?e=!0:goog.i18n.bidi.hasAnyLtr(g)?r++:goog.i18n.bidi.hasNumeralsRe_.test(g)&&(e=!0)}return 0==r?e?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:n/r>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.detectRtlDirectionality=function(o,t){return goog.i18n.bidi.estimateDirection(o,t)==goog.i18n.bidi.Dir.RTL},goog.i18n.bidi.setElementDirAndAlign=function(o,t){o&&(t=goog.i18n.bidi.toDir(t))&&(o.style.textAlign=t==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,o.dir=t==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")},goog.i18n.bidi.setElementDirByTextDirectionality=function(o,t){switch(goog.i18n.bidi.estimateDirection(t)){case goog.i18n.bidi.Dir.LTR:o.dir="ltr";break;case goog.i18n.bidi.Dir.RTL:o.dir="rtl";break;default:o.removeAttribute("dir")}},goog.i18n.bidi.DirectionalString=function(){},goog.html.TrustedResourceUrl=function(){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_="",this.trustedURL_=null,this.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString=!0,goog.html.TrustedResourceUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()},goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.TrustedResourceUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.html.TrustedResourceUrl.prototype.cloneWithParams=function(o,t){var n=goog.html.TrustedResourceUrl.unwrap(this),r=(n=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(n))[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(n[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",n[2]||"",o)+goog.html.TrustedResourceUrl.stringifyParams_("#",r,t))},goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return"TrustedResourceUrl{"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+"}"}),goog.html.TrustedResourceUrl.unwrap=function(o){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(o).toString()},goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(o){return o instanceof goog.html.TrustedResourceUrl&&o.constructor===goog.html.TrustedResourceUrl&&o.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+o+"' of type "+goog.typeOf(o)),"type_error:TrustedResourceUrl")},goog.html.TrustedResourceUrl.unwrapTrustedURL=function(o){return o.trustedURL_?o.trustedURL_:goog.html.TrustedResourceUrl.unwrap(o)},goog.html.TrustedResourceUrl.format=function(o,t){var n=goog.string.Const.unwrap(o);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(n))throw Error("Invalid TrustedResourceUrl format: "+n);return o=n.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,(function(o,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw Error('Found marker, "'+r+'", in format string, "'+n+'", but no valid label mapping found in args: '+JSON.stringify(t));return(o=t[r])instanceof goog.string.Const?goog.string.Const.unwrap(o):encodeURIComponent(String(o))})),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/g,goog.html.TrustedResourceUrl.BASE_URL_=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,goog.html.TrustedResourceUrl.formatWithParams=function(o,t,n,r){return goog.html.TrustedResourceUrl.format(o,t).cloneWithParams(n,r)},goog.html.TrustedResourceUrl.fromConstant=function(o){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(o))},goog.html.TrustedResourceUrl.fromConstants=function(o){for(var t="",n=0;n<o.length;n++)t+=goog.string.Const.unwrap(o[n]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(o){var t=new goog.html.TrustedResourceUrl;return t.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScriptURL(o):o,goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY&&(t.trustedURL_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createURL(o)),t},goog.html.TrustedResourceUrl.stringifyParams_=function(o,t,n){if(null==n)return t;if(goog.isString(n))return n?o+encodeURIComponent(n):"";for(var r in n){var e=n[r];e=goog.isArray(e)?e:[e];for(var g=0;g<e.length;g++){var i=e[g];null!=i&&(t||(t=o),t+=(t.length>o.length?"&":"")+encodeURIComponent(r)+"="+encodeURIComponent(String(i)))}}return t},goog.string.internal={},goog.string.internal.startsWith=function(o,t){return 0==o.lastIndexOf(t,0)},goog.string.internal.endsWith=function(o,t){var n=o.length-t.length;return 0<=n&&o.indexOf(t,n)==n},goog.string.internal.caseInsensitiveStartsWith=function(o,t){return 0==goog.string.internal.caseInsensitiveCompare(t,o.substr(0,t.length))},goog.string.internal.caseInsensitiveEndsWith=function(o,t){return 0==goog.string.internal.caseInsensitiveCompare(t,o.substr(o.length-t.length,t.length))},goog.string.internal.caseInsensitiveEquals=function(o,t){return o.toLowerCase()==t.toLowerCase()},goog.string.internal.isEmptyOrWhitespace=function(o){return/^[\s\xa0]*$/.test(o)},goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(o){return o.trim()}:function(o){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(o)[1]},goog.string.internal.caseInsensitiveCompare=function(o,t){return(o=String(o).toLowerCase())<(t=String(t).toLowerCase())?-1:o==t?0:1},goog.string.internal.newLineToBr=function(o,t){return o.replace(/(\r\n|\r|\n)/g,t?"<br />":"<br>")},goog.string.internal.htmlEscape=function(o,t){if(t)o=o.replace(goog.string.internal.AMP_RE_,"&").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(o))return o;-1!=o.indexOf("&")&&(o=o.replace(goog.string.internal.AMP_RE_,"&")),-1!=o.indexOf("<")&&(o=o.replace(goog.string.internal.LT_RE_,"<")),-1!=o.indexOf(">")&&(o=o.replace(goog.string.internal.GT_RE_,">")),-1!=o.indexOf('"')&&(o=o.replace(goog.string.internal.QUOT_RE_,""")),-1!=o.indexOf("'")&&(o=o.replace(goog.string.internal.SINGLE_QUOTE_RE_,"'")),-1!=o.indexOf("\0")&&(o=o.replace(goog.string.internal.NULL_RE_,"�"))}return o},goog.string.internal.AMP_RE_=/&/g,goog.string.internal.LT_RE_=/</g,goog.string.internal.GT_RE_=/>/g,goog.string.internal.QUOT_RE_=/"/g,goog.string.internal.SINGLE_QUOTE_RE_=/'/g,goog.string.internal.NULL_RE_=/\x00/g,goog.string.internal.ALL_RE_=/[\x00&<>"']/,goog.string.internal.whitespaceEscape=function(o,t){return goog.string.internal.newLineToBr(o.replace(/ /g,"  "),t)},goog.string.internal.contains=function(o,t){return-1!=o.indexOf(t)},goog.string.internal.caseInsensitiveContains=function(o,t){return goog.string.internal.contains(o.toLowerCase(),t.toLowerCase())},goog.string.internal.compareVersions=function(o,t){var n=0;o=goog.string.internal.trim(String(o)).split("."),t=goog.string.internal.trim(String(t)).split(".");for(var r=Math.max(o.length,t.length),e=0;0==n&&e<r;e++){var g=o[e]||"",i=t[e]||"";do{if(g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""],i=/(\d*)(\D*)(.*)/.exec(i)||["","","",""],0==g[0].length&&0==i[0].length)break;n=0==g[1].length?0:parseInt(g[1],10);var u=0==i[1].length?0:parseInt(i[1],10);n=goog.string.internal.compareElements_(n,u)||goog.string.internal.compareElements_(0==g[2].length,0==i[2].length)||goog.string.internal.compareElements_(g[2],i[2]),g=g[3],i=i[3]}while(0==n)}return n},goog.string.internal.compareElements_=function(o,t){return o<t?-1:o>t?1:0},goog.html.SafeUrl=function(){this.privateDoNotAccessOrElseSafeUrlWrappedValue_="",this.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeUrl.INNOCUOUS_STRING="about:invalid#zClosurez",goog.html.SafeUrl.prototype.implementsGoogStringTypedString=!0,goog.html.SafeUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()},goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.DEBUG&&(goog.html.SafeUrl.prototype.toString=function(){return"SafeUrl{"+this.privateDoNotAccessOrElseSafeUrlWrappedValue_+"}"}),goog.html.SafeUrl.unwrap=function(o){return goog.html.SafeUrl.unwrapTrustedURL(o).toString()},goog.html.SafeUrl.unwrapTrustedURL=function(o){return o instanceof goog.html.SafeUrl&&o.constructor===goog.html.SafeUrl&&o.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail("expected object of type SafeUrl, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeUrl")},goog.html.SafeUrl.fromConstant=function(o){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(o))},goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i,goog.html.SafeUrl.isSafeMimeType=function(o){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(o)},goog.html.SafeUrl.fromBlob=function(o){return o=goog.html.SAFE_MIME_TYPE_PATTERN_.test(o.type)?goog.fs.url.createObjectUrl(o):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.DATA_URL_PATTERN_=/^data:([^,]*);base64,[a-z0-9+\/]+=*$/i,goog.html.SafeUrl.fromDataUrl=function(o){var t=(o=o.replace(/(%0A|%0D)/g,"")).match(goog.html.DATA_URL_PATTERN_);return t=t&&goog.html.SAFE_MIME_TYPE_PATTERN_.test(t[1]),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t?o:goog.html.SafeUrl.INNOCUOUS_STRING)},goog.html.SafeUrl.fromTelUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"tel:")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i,goog.html.SafeUrl.fromSipUrl=function(o){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(o))||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromFacebookMessengerUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"fb-messenger://share")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromWhatsAppUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"whatsapp://send")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromSmsUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.isSmsUrlBodyValid_=function(o){var t=o.indexOf("#");return 0<t&&(o=o.substring(0,t)),!(t=o.match(/[?&]body=/gi))||!(1<t.length)&&(!(o=o.match(/[?&]body=([^&]*)/)[1])||/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(o))},goog.html.SafeUrl.fromSshUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"ssh://")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(o,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,o,t)},goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(o,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,o,t)},goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(o,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,o,t)},goog.html.SafeUrl.sanitizeExtensionUrl_=function(o,t,n){return(o=o.exec(t))?(o=o[1],-1==(n instanceof goog.string.Const?[goog.string.Const.unwrap(n)]:n.map((function(o){return goog.string.Const.unwrap(o)}))).indexOf(o)&&(t=goog.html.SafeUrl.INNOCUOUS_STRING)):t=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.fromTrustedResourceUrl=function(o){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(o))},goog.html.SAFE_URL_PATTERN_=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,goog.html.SafeUrl.SAFE_URL_PATTERN=goog.html.SAFE_URL_PATTERN_,goog.html.SafeUrl.sanitize=function(o){return o instanceof goog.html.SafeUrl?o:(o="object"==typeof o&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),goog.html.SAFE_URL_PATTERN_.test(o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o))},goog.html.SafeUrl.sanitizeAssertUnchanged=function(o,t){return o instanceof goog.html.SafeUrl?o:(o="object"==typeof o&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),t&&/^data:/i.test(o)&&(t=goog.html.SafeUrl.fromDataUrl(o)).getTypedStringValue()==o?t:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(o),"%s does not match the safe URL pattern",o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)))},goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(o){var t=new goog.html.SafeUrl;return t.privateDoNotAccessOrElseSafeUrlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createURL(o):o,t},goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank"),goog.html.SafeStyle=function(){this.privateDoNotAccessOrElseSafeStyleWrappedValue_="",this.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeStyle.fromConstant=function(o){return 0===(o=goog.string.Const.unwrap(o)).length?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(o,";"),"Last character of style string is not ';': "+o),goog.asserts.assert(goog.string.internal.contains(o,":"),"Style string must contain at least one ':', to specify a \"name: value\" pair: "+o),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(o))},goog.html.SafeStyle.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_},goog.DEBUG&&(goog.html.SafeStyle.prototype.toString=function(){return"SafeStyle{"+this.privateDoNotAccessOrElseSafeStyleWrappedValue_+"}"}),goog.html.SafeStyle.unwrap=function(o){return o instanceof goog.html.SafeStyle&&o.constructor===goog.html.SafeStyle&&o.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail("expected object of type SafeStyle, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeStyle")},goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(o){return(new goog.html.SafeStyle).initSecurityPrivateDoNotAccessOrElse_(o)},goog.html.SafeStyle.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_=o,this},goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyle.INNOCUOUS_STRING="zClosurez",goog.html.SafeStyle.create=function(o){var t,n="";for(t in o){if(!/^[-_a-zA-Z0-9]+$/.test(t))throw Error("Name allows only [-_a-zA-Z0-9], got: "+t);var r=o[t];null!=r&&(n+=t+":"+(r=goog.isArray(r)?goog.array.map(r,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(r))+";")}return n?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(n):goog.html.SafeStyle.EMPTY},goog.html.SafeStyle.sanitizePropertyValue_=function(o){if(o instanceof goog.html.SafeUrl)return'url("'+goog.html.SafeUrl.unwrap(o).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(o=o instanceof goog.string.Const?goog.string.Const.unwrap(o):goog.html.SafeStyle.sanitizePropertyValueString_(String(o)),/[{;}]/.test(o))throw new goog.asserts.AssertionError("Value does not allow [{;}], got: %s.",[o]);return o},goog.html.SafeStyle.sanitizePropertyValueString_=function(o){var t=o.replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.URL_RE_,"url");return goog.html.SafeStyle.VALUE_RE_.test(t)?goog.html.SafeStyle.COMMENT_RE_.test(o)?(goog.asserts.fail("String value disallows comments, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING):goog.html.SafeStyle.hasBalancedQuotes_(o)?goog.html.SafeStyle.hasBalancedSquareBrackets_(o)?goog.html.SafeStyle.sanitizeUrl_(o):(goog.asserts.fail("String value requires balanced square brackets and one identifier per pair of brackets, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value requires balanced quotes, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value allows only "+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+" and simple functions, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING)},goog.html.SafeStyle.hasBalancedQuotes_=function(o){for(var t=!0,n=!0,r=0;r<o.length;r++){var e=o.charAt(r);"'"==e&&n?t=!t:'"'==e&&t&&(n=!n)}return t&&n},goog.html.SafeStyle.hasBalancedSquareBrackets_=function(o){for(var t=!0,n=/^[-_a-zA-Z0-9]$/,r=0;r<o.length;r++){var e=o.charAt(r);if("]"==e){if(t)return!1;t=!0}else if("["==e){if(!t)return!1;t=!1}else if(!t&&!n.test(e))return!1}return t},goog.html.SafeStyle.VALUE_ALLOWED_CHARS_="[-,.\"'%_!# a-zA-Z0-9\\[\\]]",goog.html.SafeStyle.VALUE_RE_=new RegExp("^"+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+"+$"),goog.html.SafeStyle.URL_RE_=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,goog.html.SafeStyle.FUNCTIONS_RE_=/\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g,goog.html.SafeStyle.COMMENT_RE_=/\/\*/,goog.html.SafeStyle.sanitizeUrl_=function(o){return o.replace(goog.html.SafeStyle.URL_RE_,(function(o,t,n,r){var e="";return n=n.replace(/^(['"])(.*)\1$/,(function(o,t,n){return e=t,n})),o=goog.html.SafeUrl.sanitize(n).getTypedStringValue(),t+e+o+e+r}))},goog.html.SafeStyle.concat=function(o){var t="",n=function(o){goog.isArray(o)?goog.array.forEach(o,n):t+=goog.html.SafeStyle.unwrap(o)};return goog.array.forEach(arguments,n),t?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t):goog.html.SafeStyle.EMPTY},goog.html.SafeStyleSheet=function(){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_="",this.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeStyleSheet.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeStyleSheet.createRule=function(o,t){if(goog.string.internal.contains(o,"<"))throw Error("Selector does not allow '<', got: "+o);var n=o.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(n))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+o);if(!goog.html.SafeStyleSheet.hasBalancedBrackets_(n))throw Error("() and [] in selector must be balanced, got: "+o);return t instanceof goog.html.SafeStyle||(t=goog.html.SafeStyle.create(t)),o=o+"{"+goog.html.SafeStyle.unwrap(t).replace(/</g,"\\3C ")+"}",goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeStyleSheet.hasBalancedBrackets_=function(o){for(var t={"(":")","[":"]"},n=[],r=0;r<o.length;r++){var e=o[r];if(t[e])n.push(t[e]);else if(goog.object.contains(t,e)&&n.pop()!=e)return!1}return 0==n.length},goog.html.SafeStyleSheet.concat=function(o){var t="",n=function(o){goog.isArray(o)?goog.array.forEach(o,n):t+=goog.html.SafeStyleSheet.unwrap(o)};return goog.array.forEach(arguments,n),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeStyleSheet.fromConstant=function(o){return 0===(o=goog.string.Const.unwrap(o)).length?goog.html.SafeStyleSheet.EMPTY:(goog.asserts.assert(!goog.string.internal.contains(o,"<"),"Forbidden '<' character in style sheet string: "+o),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(o))},goog.html.SafeStyleSheet.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_},goog.DEBUG&&(goog.html.SafeStyleSheet.prototype.toString=function(){return"SafeStyleSheet{"+this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_+"}"}),goog.html.SafeStyleSheet.unwrap=function(o){return o instanceof goog.html.SafeStyleSheet&&o.constructor===goog.html.SafeStyleSheet&&o.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(goog.asserts.fail("expected object of type SafeStyleSheet, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeStyleSheet")},goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(o){return(new goog.html.SafeStyleSheet).initSecurityPrivateDoNotAccessOrElse_(o)},goog.html.SafeStyleSheet.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=o,this},goog.html.SafeStyleSheet.EMPTY=goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(""),goog.labs={},goog.labs.userAgent={},goog.labs.userAgent.util={},goog.labs.userAgent.util.getNativeUserAgentString_=function(){var o=goog.labs.userAgent.util.getNavigator_();return o&&(o=o.userAgent)?o:""},goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator},goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_(),goog.labs.userAgent.util.setUserAgent=function(o){goog.labs.userAgent.util.userAgent_=o||goog.labs.userAgent.util.getNativeUserAgentString_()},goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_},goog.labs.userAgent.util.matchUserAgent=function(o){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(t,o)},goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(o){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(t,o)},goog.labs.userAgent.util.extractVersionTuples=function(o){for(var t,n=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,r=[];t=n.exec(o);)r.push([t[1],t[2],t[3]||void 0]);return r},goog.labs.userAgent.browser={},goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent("Opera")},goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.browser.matchEdgeHtml_=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.browser.matchEdgeChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("Edg/")},goog.labs.userAgent.browser.matchOperaChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("OPR")},goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent("Firefox")||goog.labs.userAgent.util.matchUserAgent("FxiOS")},goog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent("Safari")&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdgeHtml_()||goog.labs.userAgent.browser.matchEdgeChromium_()||goog.labs.userAgent.browser.matchOperaChromium_()||goog.labs.userAgent.browser.matchFirefox_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent("Android"))},goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent("Coast")},goog.labs.userAgent.browser.matchIosWebview_=function(){return(goog.labs.userAgent.util.matchUserAgent("iPad")||goog.labs.userAgent.util.matchUserAgent("iPhone"))&&!goog.labs.userAgent.browser.matchSafari_()&&!goog.labs.userAgent.browser.matchChrome_()&&!goog.labs.userAgent.browser.matchCoast_()&&!goog.labs.userAgent.browser.matchFirefox_()&&goog.labs.userAgent.util.matchUserAgent("AppleWebKit")},goog.labs.userAgent.browser.matchChrome_=function(){return(goog.labs.userAgent.util.matchUserAgent("Chrome")||goog.labs.userAgent.util.matchUserAgent("CriOS"))&&!goog.labs.userAgent.browser.matchEdgeHtml_()},goog.labs.userAgent.browser.matchAndroidBrowser_=function(){return goog.labs.userAgent.util.matchUserAgent("Android")&&!(goog.labs.userAgent.browser.isChrome()||goog.labs.userAgent.browser.isFirefox()||goog.labs.userAgent.browser.isOpera()||goog.labs.userAgent.browser.isSilk())},goog.labs.userAgent.browser.isOpera=goog.labs.userAgent.browser.matchOpera_,goog.labs.userAgent.browser.isIE=goog.labs.userAgent.browser.matchIE_,goog.labs.userAgent.browser.isEdge=goog.labs.userAgent.browser.matchEdgeHtml_,goog.labs.userAgent.browser.isEdgeChromium=goog.labs.userAgent.browser.matchEdgeChromium_,goog.labs.userAgent.browser.isOperaChromium=goog.labs.userAgent.browser.matchOperaChromium_,goog.labs.userAgent.browser.isFirefox=goog.labs.userAgent.browser.matchFirefox_,goog.labs.userAgent.browser.isSafari=goog.labs.userAgent.browser.matchSafari_,goog.labs.userAgent.browser.isCoast=goog.labs.userAgent.browser.matchCoast_,goog.labs.userAgent.browser.isIosWebview=goog.labs.userAgent.browser.matchIosWebview_,goog.labs.userAgent.browser.isChrome=goog.labs.userAgent.browser.matchChrome_,goog.labs.userAgent.browser.isAndroidBrowser=goog.labs.userAgent.browser.matchAndroidBrowser_,goog.labs.userAgent.browser.isSilk=function(){return goog.labs.userAgent.util.matchUserAgent("Silk")},goog.labs.userAgent.browser.getVersion=function(){function o(o){return o=goog.array.find(o,r),n[o]||""}var t=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(t);t=goog.labs.userAgent.util.extractVersionTuples(t);var n={};goog.array.forEach(t,(function(o){n[o[0]]=o[1]}));var r=goog.partial(goog.object.containsKey,n);return goog.labs.userAgent.browser.isOpera()?o(["Version","Opera"]):goog.labs.userAgent.browser.isEdge()?o(["Edge"]):goog.labs.userAgent.browser.isEdgeChromium()?o(["Edg"]):goog.labs.userAgent.browser.isChrome()?o(["Chrome","CriOS"]):(t=t[2])&&t[1]||""},goog.labs.userAgent.browser.isVersionOrHigher=function(o){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),o)},goog.labs.userAgent.browser.getIEVersion_=function(o){var t=/rv: *([\d\.]*)/.exec(o);if(t&&t[1])return t[1];t="";var n=/MSIE +([\d\.]+)/.exec(o);if(n&&n[1])if(o=/Trident\/(\d.\d)/.exec(o),"7.0"==n[1])if(o&&o[1])switch(o[1]){case"4.0":t="8.0";break;case"5.0":t="9.0";break;case"6.0":t="10.0";break;case"7.0":t="11.0"}else t="7.0";else t=n[1];return t},goog.html.SafeHtml=function(){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_="",this.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_,this.dir_=null},goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_},goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0,goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return"SafeHtml{"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+"}"}),goog.html.SafeHtml.unwrap=function(o){return goog.html.SafeHtml.unwrapTrustedHTML(o).toString()},goog.html.SafeHtml.unwrapTrustedHTML=function(o){return o instanceof goog.html.SafeHtml&&o.constructor===goog.html.SafeHtml&&o.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail("expected object of type SafeHtml, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeHtml")},goog.html.SafeHtml.htmlEscape=function(o){if(o instanceof goog.html.SafeHtml)return o;var t="object"==typeof o,n=null;return t&&o.implementsGoogI18nBidiDirectionalString&&(n=o.getDirection()),o=t&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(o),n)},goog.html.SafeHtml.htmlEscapePreservingNewlines=function(o){return o instanceof goog.html.SafeHtml?o:(o=goog.html.SafeHtml.htmlEscape(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(o)),o.getDirection()))},goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(o){return o instanceof goog.html.SafeHtml?o:(o=goog.html.SafeHtml.htmlEscape(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(o)),o.getDirection()))},goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape,goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/,goog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.html.SafeHtml.create=function(o,t,n){return goog.html.SafeHtml.verifyTagName(String(o)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(o),t,n)},goog.html.SafeHtml.verifyTagName=function(o){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(o))throw Error("Invalid tag name <"+o+">.");if(o.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error("Tag name <"+o+"> is not allowed for SafeHtml.")},goog.html.SafeHtml.createIframe=function(o,t,n,r){o&&goog.html.TrustedResourceUrl.unwrap(o);var e={};return e.src=o||null,e.srcdoc=t&&goog.html.SafeHtml.unwrap(t),o=goog.html.SafeHtml.combineAttributes(e,{sandbox:""},n),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",o,r)},goog.html.SafeHtml.createSandboxIframe=function(o,t,n,r){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error("The browser does not support sandboxed iframes.");var e={};return e.src=o?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(o)):null,e.srcdoc=t||null,e.sandbox="",o=goog.html.SafeHtml.combineAttributes(e,{},n),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",o,r)},goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype},goog.html.SafeHtml.createScriptSrc=function(o,t){return goog.html.TrustedResourceUrl.unwrap(o),o=goog.html.SafeHtml.combineAttributes({src:o},{},t),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",o)},goog.html.SafeHtml.createScript=function(o,t){for(var n in t){var r=n.toLowerCase();if("language"==r||"src"==r||"text"==r||"type"==r)throw Error('Cannot set "'+r+'" attribute')}for(n="",o=goog.array.concat(o),r=0;r<o.length;r++)n+=goog.html.SafeScript.unwrap(o[r]);return o=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(n,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",t,o)},goog.html.SafeHtml.createStyle=function(o,t){t=goog.html.SafeHtml.combineAttributes({type:"text/css"},{},t);var n="";o=goog.array.concat(o);for(var r=0;r<o.length;r++)n+=goog.html.SafeStyleSheet.unwrap(o[r]);return o=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(n,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style",t,o)},goog.html.SafeHtml.createMetaRefresh=function(o,t){return o=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(o)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(o,";")&&(o="'"+o.replace(/'/g,"%27")+"'"),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta",{"http-equiv":"refresh",content:(t||0)+"; url="+o})},goog.html.SafeHtml.getAttrNameAndValue_=function(o,t,n){if(n instanceof goog.string.Const)n=goog.string.Const.unwrap(n);else if("style"==t.toLowerCase())n=goog.html.SafeHtml.getStyleValue_(n);else{if(/^on/i.test(t))throw Error('Attribute "'+t+'" requires goog.string.Const value, "'+n+'" given.');if(t.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(n instanceof goog.html.TrustedResourceUrl)n=goog.html.TrustedResourceUrl.unwrap(n);else if(n instanceof goog.html.SafeUrl)n=goog.html.SafeUrl.unwrap(n);else{if(!goog.isString(n))throw Error('Attribute "'+t+'" on tag "'+o+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+n+'" given.');n=goog.html.SafeUrl.sanitize(n).getTypedStringValue()}}return n.implementsGoogStringTypedString&&(n=n.getTypedStringValue()),goog.asserts.assert(goog.isString(n)||goog.isNumber(n),"String or number value expected, got "+typeof n+" with value: "+n),t+'="'+goog.string.internal.htmlEscape(String(n))+'"'},goog.html.SafeHtml.getStyleValue_=function(o){if(!goog.isObject(o))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof o+" given: "+o);return o instanceof goog.html.SafeStyle||(o=goog.html.SafeStyle.create(o)),goog.html.SafeStyle.unwrap(o)},goog.html.SafeHtml.createWithDir=function(o,t,n,r){return(t=goog.html.SafeHtml.create(t,n,r)).dir_=o,t},goog.html.SafeHtml.join=function(o,t){var n=(o=goog.html.SafeHtml.htmlEscape(o)).getDirection(),r=[],e=function(o){goog.isArray(o)?goog.array.forEach(o,e):(o=goog.html.SafeHtml.htmlEscape(o),r.push(goog.html.SafeHtml.unwrap(o)),o=o.getDirection(),n==goog.i18n.bidi.Dir.NEUTRAL?n=o:o!=goog.i18n.bidi.Dir.NEUTRAL&&n!=o&&(n=null))};return goog.array.forEach(t,e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r.join(goog.html.SafeHtml.unwrap(o)),n)},goog.html.SafeHtml.concat=function(o){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))},goog.html.SafeHtml.concatWithDir=function(o,t){var n=goog.html.SafeHtml.concat(goog.array.slice(arguments,1));return n.dir_=o,n},goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(o,t){return(new goog.html.SafeHtml).initSecurityPrivateDoNotAccessOrElse_(o,t)},goog.html.SafeHtml.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o,t){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createHTML(o):o,this.dir_=t,this},goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(o,t,n){var r=null,e="<"+o+goog.html.SafeHtml.stringifyAttributes(o,t);return goog.isDefAndNotNull(n)?goog.isArray(n)||(n=[n]):n=[],goog.dom.tags.isVoidTag(o.toLowerCase())?(goog.asserts.assert(!n.length,"Void tag <"+o+"> does not allow content."),e+=">"):(r=goog.html.SafeHtml.concat(n),e+=">"+goog.html.SafeHtml.unwrap(r)+"</"+o+">",r=r.getDirection()),(o=t&&t.dir)&&(r=/^(ltr|rtl|auto)$/i.test(o)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(e,r)},goog.html.SafeHtml.stringifyAttributes=function(o,t){var n="";if(t)for(var r in t){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(r))throw Error('Invalid attribute name "'+r+'".');var e=t[r];goog.isDefAndNotNull(e)&&(n+=" "+goog.html.SafeHtml.getAttrNameAndValue_(o,r,e))}return n},goog.html.SafeHtml.combineAttributes=function(o,t,n){var r,e={};for(r in o)goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),e[r]=o[r];for(r in t)goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),e[r]=t[r];for(r in n){var g=r.toLowerCase();if(g in o)throw Error('Cannot override "'+g+'" attribute, got "'+r+'" with value "'+n[r]+'"');g in t&&delete e[g],e[r]=n[r]}return e},goog.html.SafeHtml.DOCTYPE_HTML=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.EMPTY=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.BR=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.uncheckedconversions={},goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(o,t,n){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(t,n||null)},goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.dom.safe={},goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"},goog.dom.safe.insertAdjacentHtml=function(o,t,n){o.insertAdjacentHTML(t,goog.html.SafeHtml.unwrapTrustedHTML(n))},goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.dom.safe.isInnerHtmlCleanupRecursive_=goog.functions.cacheReturnValue((function(){if(goog.DEBUG&&"undefined"==typeof document)return!1;var o=document.createElement("div"),t=document.createElement("div");return t.appendChild(document.createElement("div")),o.appendChild(t),!(goog.DEBUG&&!o.firstChild||(t=o.firstChild.firstChild,o.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),t.parentElement))})),goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(o,t){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;o.lastChild;)o.removeChild(o.lastChild);o.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setInnerHtml=function(o,t){if(goog.asserts.ENABLE_ASSERTS){var n=o.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[n])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+o.tagName+".")}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(o,t)},goog.dom.safe.setOuterHtml=function(o,t){o.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setFormElementAction=function(o,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLFormElement(o).action=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setButtonFormAction=function(o,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLButtonElement(o).formAction=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setInputFormAction=function(o,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLInputElement(o).formAction=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setStyle=function(o,t){o.style.cssText=goog.html.SafeStyle.unwrap(t)},goog.dom.safe.documentWrite=function(o,t){o.write(goog.html.SafeHtml.unwrapTrustedHTML(t))},goog.dom.safe.setAnchorHref=function(o,t){goog.dom.asserts.assertIsHTMLAnchorElement(o),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),o.href=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setImageSrc=function(o,t){if(goog.dom.asserts.assertIsHTMLImageElement(o),!(t instanceof goog.html.SafeUrl)){var n=/^data:image\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,n)}o.src=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setAudioSrc=function(o,t){if(goog.dom.asserts.assertIsHTMLAudioElement(o),!(t instanceof goog.html.SafeUrl)){var n=/^data:audio\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,n)}o.src=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setVideoSrc=function(o,t){if(goog.dom.asserts.assertIsHTMLVideoElement(o),!(t instanceof goog.html.SafeUrl)){var n=/^data:video\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,n)}o.src=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setEmbedSrc=function(o,t){goog.dom.asserts.assertIsHTMLEmbedElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)},goog.dom.safe.setFrameSrc=function(o,t){goog.dom.asserts.assertIsHTMLFrameElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedURL(t)},goog.dom.safe.setIframeSrc=function(o,t){goog.dom.asserts.assertIsHTMLIFrameElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedURL(t)},goog.dom.safe.setIframeSrcdoc=function(o,t){goog.dom.asserts.assertIsHTMLIFrameElement(o),o.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setLinkHrefAndRel=function(o,t,n){goog.dom.asserts.assertIsHTMLLinkElement(o),o.rel=n,goog.string.internal.caseInsensitiveContains(n,"stylesheet")?(goog.asserts.assert(t instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),o.href=goog.html.TrustedResourceUrl.unwrapTrustedURL(t)):o.href=t instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrapTrustedURL(t):goog.html.SafeUrl.unwrapTrustedURL(t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t))},goog.dom.safe.setObjectData=function(o,t){goog.dom.asserts.assertIsHTMLObjectElement(o),o.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)},goog.dom.safe.setScriptSrc=function(o,t){goog.dom.asserts.assertIsHTMLScriptElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t),(t=goog.getScriptNonce())&&o.setAttribute("nonce",t)},goog.dom.safe.setScriptContent=function(o,t){goog.dom.asserts.assertIsHTMLScriptElement(o),o.text=goog.html.SafeScript.unwrapTrustedScript(t),(t=goog.getScriptNonce())&&o.setAttribute("nonce",t)},goog.dom.safe.setLocationHref=function(o,t){goog.dom.asserts.assertIsLocation(o),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),o.href=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.assignLocation=function(o,t){goog.dom.asserts.assertIsLocation(o),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),o.assign(goog.html.SafeUrl.unwrapTrustedURL(t))},goog.dom.safe.replaceLocation=function(o,t){goog.dom.asserts.assertIsLocation(o),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),o.replace(goog.html.SafeUrl.unwrapTrustedURL(t))},goog.dom.safe.openInWindow=function(o,t,n,r,e){return o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),(t||goog.global).open(goog.html.SafeUrl.unwrapTrustedURL(o),n?goog.string.Const.unwrap(n):"",r,e)},goog.dom.safe.parseFromStringHtml=function(o,t){return goog.dom.safe.parseFromString(o,t,"text/html")},goog.dom.safe.parseFromString=function(o,t,n){return o.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(t),n)},goog.dom.safe.createImageFromBlob=function(o){if(!/^image\/.*/g.test(o.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var t=goog.global.URL.createObjectURL(o);return(o=new goog.global.Image).onload=function(){goog.global.URL.revokeObjectURL(t)},goog.dom.safe.setImageSrc(o,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),t)),o},goog.string.DETECT_DOUBLE_ESCAPING=!1,goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1,goog.string.Unicode={NBSP:" "},goog.string.startsWith=goog.string.internal.startsWith,goog.string.endsWith=goog.string.internal.endsWith,goog.string.caseInsensitiveStartsWith=goog.string.internal.caseInsensitiveStartsWith,goog.string.caseInsensitiveEndsWith=goog.string.internal.caseInsensitiveEndsWith,goog.string.caseInsensitiveEquals=goog.string.internal.caseInsensitiveEquals,goog.string.subs=function(o,t){for(var n=o.split("%s"),r="",e=Array.prototype.slice.call(arguments,1);e.length&&1<n.length;)r+=n.shift()+e.shift();return r+n.join("%s")},goog.string.collapseWhitespace=function(o){return o.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace,goog.string.isEmptyString=function(o){return 0==o.length},goog.string.isEmpty=goog.string.isEmptyOrWhitespace,goog.string.isEmptyOrWhitespaceSafe=function(o){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(o))},goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe,goog.string.isBreakingWhitespace=function(o){return!/[^\t\n\r ]/.test(o)},goog.string.isAlpha=function(o){return!/[^a-zA-Z]/.test(o)},goog.string.isNumeric=function(o){return!/[^0-9]/.test(o)},goog.string.isAlphaNumeric=function(o){return!/[^a-zA-Z0-9]/.test(o)},goog.string.isSpace=function(o){return" "==o},goog.string.isUnicodeChar=function(o){return 1==o.length&&" "<=o&&"~">=o||""<=o&&"�">=o},goog.string.stripNewlines=function(o){return o.replace(/(\r\n|\r|\n)+/g," ")},goog.string.canonicalizeNewlines=function(o){return o.replace(/(\r\n|\r|\n)/g,"\n")},goog.string.normalizeWhitespace=function(o){return o.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(o){return o.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(o){return o.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(o){return o.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(o){return o.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(o,t,n){if(o==t)return 0;if(!o)return-1;if(!t)return 1;for(var r=o.toLowerCase().match(n),e=t.toLowerCase().match(n),g=Math.min(r.length,e.length),i=0;i<g;i++){var u=e[i];if((n=r[i])!=u)return o=parseInt(n,10),!isNaN(o)&&(t=parseInt(u,10),!isNaN(t)&&o-t)?o-t:n<u?-1:1}return r.length!=e.length?r.length-e.length:o<t?-1:1},goog.string.intAwareCompare=function(o,t){return goog.string.numberAwareCompare_(o,t,/\d+|\D+/g)},goog.string.floatAwareCompare=function(o,t){return goog.string.numberAwareCompare_(o,t,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(o){return encodeURIComponent(String(o))},goog.string.urlDecode=function(o){return decodeURIComponent(o.replace(/\+/g," "))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(o,t){return o=goog.string.internal.htmlEscape(o,t),goog.string.DETECT_DOUBLE_ESCAPING&&(o=o.replace(goog.string.E_RE_,"e")),o},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(o){return goog.string.contains(o,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(o):goog.string.unescapePureXmlEntities_(o):o},goog.string.unescapeEntitiesWithDocument=function(o,t){return goog.string.contains(o,"&")?goog.string.unescapeEntitiesUsingDom_(o,t):o},goog.string.unescapeEntitiesUsingDom_=function(o,t){var n={"&":"&","<":"<",">":">",""":'"'},r=t?t.createElement("div"):goog.global.document.createElement("div");return o.replace(goog.string.HTML_ENTITY_PATTERN_,(function(o,t){var e=n[o];return e||("#"==t.charAt(0)&&(t=Number("0"+t.substr(1)),isNaN(t)||(e=String.fromCharCode(t))),e||(goog.dom.safe.setInnerHtml(r,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),o+" ")),e=r.firstChild.nodeValue.slice(0,-1)),n[o]=e)}))},goog.string.unescapePureXmlEntities_=function(o){return o.replace(/&([^;]+);/g,(function(o,t){switch(t){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return"#"!=t.charAt(0)||(t=Number("0"+t.substr(1)),isNaN(t))?o:String.fromCharCode(t)}}))},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(o,t){return goog.string.newLineToBr(o.replace(/ /g,"  "),t)},goog.string.preserveSpaces=function(o){return o.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(o,t){for(var n=t.length,r=0;r<n;r++){var e=1==n?t:t.charAt(r);if(o.charAt(0)==e&&o.charAt(o.length-1)==e)return o.substring(1,o.length-1)}return o},goog.string.truncate=function(o,t,n){return n&&(o=goog.string.unescapeEntities(o)),o.length>t&&(o=o.substring(0,t-3)+"..."),n&&(o=goog.string.htmlEscape(o)),o},goog.string.truncateMiddle=function(o,t,n,r){if(n&&(o=goog.string.unescapeEntities(o)),r&&o.length>t){r>t&&(r=t);var e=o.length-r;o=o.substring(0,t-r)+"..."+o.substring(e)}else o.length>t&&(r=Math.floor(t/2),e=o.length-r,o=o.substring(0,r+t%2)+"..."+o.substring(e));return n&&(o=goog.string.htmlEscape(o)),o},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(o){o=String(o);for(var t=['"'],n=0;n<o.length;n++){var r=o.charAt(n),e=r.charCodeAt(0);t[n+1]=goog.string.specialEscapeChars_[r]||(31<e&&127>e?r:goog.string.escapeChar(r))}return t.push('"'),t.join("")},goog.string.escapeString=function(o){for(var t=[],n=0;n<o.length;n++)t[n]=goog.string.escapeChar(o.charAt(n));return t.join("")},goog.string.escapeChar=function(o){if(o in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[o];if(o in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[o]=goog.string.specialEscapeChars_[o];var t=o.charCodeAt(0);if(31<t&&127>t)var n=o;else 256>t?(n="\\x",(16>t||256<t)&&(n+="0")):(n="\\u",4096>t&&(n+="0")),n+=t.toString(16).toUpperCase();return goog.string.jsEscapeCache_[o]=n},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(o,t){return o&&t?o.split(t).length-1:0},goog.string.removeAt=function(o,t,n){var r=o;return 0<=t&&t<o.length&&0<n&&(r=o.substr(0,t)+o.substr(t+n,o.length-t-n)),r},goog.string.remove=function(o,t){return o.replace(t,"")},goog.string.removeAll=function(o,t){return t=new RegExp(goog.string.regExpEscape(t),"g"),o.replace(t,"")},goog.string.replaceAll=function(o,t,n){return t=new RegExp(goog.string.regExpEscape(t),"g"),o.replace(t,n.replace(/\$/g,"$$$$"))},goog.string.regExpEscape=function(o){return String(o).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(o,t){return o.repeat(t)}:function(o,t){return Array(t+1).join(o)},goog.string.padNumber=function(o,t,n){return-1==(n=(o=goog.isDef(n)?o.toFixed(n):String(o)).indexOf("."))&&(n=o.length),goog.string.repeat("0",Math.max(0,t-n))+o},goog.string.makeSafe=function(o){return null==o?"":String(o)},goog.string.buildString=function(o){return Array.prototype.join.call(arguments,"")},goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)},goog.string.compareVersions=goog.string.internal.compareVersions,goog.string.hashCode=function(o){for(var t=0,n=0;n<o.length;++n)t=31*t+o.charCodeAt(n)>>>0;return t},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(o){var t=Number(o);return 0==t&&goog.string.isEmptyOrWhitespace(o)?NaN:t},goog.string.isLowerCamelCase=function(o){return/^[a-z]+([A-Z][a-z]*)*$/.test(o)},goog.string.isUpperCamelCase=function(o){return/^([A-Z][a-z]*)+$/.test(o)},goog.string.toCamelCase=function(o){return String(o).replace(/\-([a-z])/g,(function(o,t){return t.toUpperCase()}))},goog.string.toSelectorCase=function(o){return String(o).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(o,t){return t=goog.isString(t)?goog.string.regExpEscape(t):"\\s",o.replace(new RegExp("(^"+(t?"|["+t+"]+":"")+")([a-z])","g"),(function(o,t,n){return t+n.toUpperCase()}))},goog.string.capitalize=function(o){return String(o.charAt(0)).toUpperCase()+String(o.substr(1)).toLowerCase()},goog.string.parseInt=function(o){return isFinite(o)&&(o=String(o)),goog.isString(o)?/^\s*-?0x/i.test(o)?parseInt(o,16):parseInt(o,10):NaN},goog.string.splitLimit=function(o,t,n){o=o.split(t);for(var r=[];0<n&&o.length;)r.push(o.shift()),n--;return o.length&&r.push(o.join(t)),r},goog.string.lastComponent=function(o,t){if(!t)return o;"string"==typeof t&&(t=[t]);for(var n=-1,r=0;r<t.length;r++)if(""!=t[r]){var e=o.lastIndexOf(t[r]);e>n&&(n=e)}return-1==n?o:o.slice(n+1)},goog.string.editDistance=function(o,t){var n=[],r=[];if(o==t)return 0;if(!o.length||!t.length)return Math.max(o.length,t.length);for(var e=0;e<t.length+1;e++)n[e]=e;for(e=0;e<o.length;e++){r[0]=e+1;for(var g=0;g<t.length;g++)r[g+1]=Math.min(r[g]+1,n[g+1]+1,n[g]+Number(o[e]!=t[g]));for(g=0;g<n.length;g++)n[g]=r[g]}return r[t.length]},goog.labs.userAgent.engine={},goog.labs.userAgent.engine.isPresto=function(){return goog.labs.userAgent.util.matchUserAgent("Presto")},goog.labs.userAgent.engine.isTrident=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.engine.isEdge=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.engine.isWebKit=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("WebKit")&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.isGecko=function(){return goog.labs.userAgent.util.matchUserAgent("Gecko")&&!goog.labs.userAgent.engine.isWebKit()&&!goog.labs.userAgent.engine.isTrident()&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.getVersion=function(){var o=goog.labs.userAgent.util.getUserAgent();if(o){o=goog.labs.userAgent.util.extractVersionTuples(o);var t,n=goog.labs.userAgent.engine.getEngineTuple_(o);if(n)return"Gecko"==n[0]?goog.labs.userAgent.engine.getVersionForKey_(o,"Firefox"):n[1];if((o=o[0])&&(t=o[2])&&(t=/Trident\/([^\s;]+)/.exec(t)))return t[1]}return""},goog.labs.userAgent.engine.getEngineTuple_=function(o){if(!goog.labs.userAgent.engine.isEdge())return o[1];for(var t=0;t<o.length;t++){var n=o[t];if("Edge"==n[0])return n}},goog.labs.userAgent.engine.isVersionOrHigher=function(o){return 0<=goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(),o)},goog.labs.userAgent.engine.getVersionForKey_=function(o,t){return(o=goog.array.find(o,(function(o){return t==o[0]})))&&o[1]||""},goog.labs.userAgent.platform={},goog.labs.userAgent.platform.isAndroid=function(){return goog.labs.userAgent.util.matchUserAgent("Android")},goog.labs.userAgent.platform.isIpod=function(){return goog.labs.userAgent.util.matchUserAgent("iPod")},goog.labs.userAgent.platform.isIphone=function(){return goog.labs.userAgent.util.matchUserAgent("iPhone")&&!goog.labs.userAgent.util.matchUserAgent("iPod")&&!goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIpad=function(){return goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIos=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpad()||goog.labs.userAgent.platform.isIpod()},goog.labs.userAgent.platform.isMacintosh=function(){return goog.labs.userAgent.util.matchUserAgent("Macintosh")},goog.labs.userAgent.platform.isLinux=function(){return goog.labs.userAgent.util.matchUserAgent("Linux")},goog.labs.userAgent.platform.isWindows=function(){return goog.labs.userAgent.util.matchUserAgent("Windows")},goog.labs.userAgent.platform.isChromeOS=function(){return goog.labs.userAgent.util.matchUserAgent("CrOS")},goog.labs.userAgent.platform.isChromecast=function(){return goog.labs.userAgent.util.matchUserAgent("CrKey")},goog.labs.userAgent.platform.isKaiOS=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("KaiOS")},goog.labs.userAgent.platform.isGo2Phone=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("GAFP")},goog.labs.userAgent.platform.getVersion=function(){var o=goog.labs.userAgent.util.getUserAgent(),t="";return goog.labs.userAgent.platform.isWindows()?t=(o=(t=/Windows (?:NT|Phone) ([0-9.]+)/).exec(o))?o[1]:"0.0":goog.labs.userAgent.platform.isIos()?t=(o=(t=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/).exec(o))&&o[1].replace(/_/g,"."):goog.labs.userAgent.platform.isMacintosh()?t=(o=(t=/Mac OS X ([0-9_.]+)/).exec(o))?o[1].replace(/_/g,"."):"10":goog.labs.userAgent.platform.isKaiOS()?t=(o=(t=/(?:KaiOS)\/(\S+)/i).exec(o))&&o[1]:goog.labs.userAgent.platform.isAndroid()?t=(o=(t=/Android\s+([^\);]+)(\)|;)/).exec(o))&&o[1]:goog.labs.userAgent.platform.isChromeOS()&&(t=(o=(t=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/).exec(o))&&o[1]),t||""},goog.labs.userAgent.platform.isVersionOrHigher=function(o){return 0<=goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(),o)},goog.reflect={},goog.reflect.object=function(o,t){return t},goog.reflect.objectProperty=function(o){return o},goog.reflect.sinkValue=function(o){return goog.reflect.sinkValue[" "](o),o},goog.reflect.sinkValue[" "]=goog.nullFunction,goog.reflect.canAccessProperty=function(o,t){try{return goog.reflect.sinkValue(o[t]),!0}catch(o){}return!1},goog.reflect.cache=function(o,t,n,r){return r=r?r(t):t,Object.prototype.hasOwnProperty.call(o,r)?o[r]:o[r]=n(t)},goog.userAgent={},goog.userAgent.ASSUME_IE=!1,goog.userAgent.ASSUME_EDGE=!1,goog.userAgent.ASSUME_GECKO=!1,goog.userAgent.ASSUME_WEBKIT=!1,goog.userAgent.ASSUME_MOBILE_WEBKIT=!1,goog.userAgent.ASSUME_OPERA=!1,goog.userAgent.ASSUME_ANY_VERSION=!1,goog.userAgent.BROWSER_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_GECKO||goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_OPERA,goog.userAgent.getUserAgentString=function(){return goog.labs.userAgent.util.getUserAgent()},goog.userAgent.getNavigatorTyped=function(){return goog.global.navigator||null},goog.userAgent.getNavigator=function(){return goog.userAgent.getNavigatorTyped()},goog.userAgent.OPERA=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_OPERA:goog.labs.userAgent.browser.isOpera(),goog.userAgent.IE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_IE:goog.labs.userAgent.browser.isIE(),goog.userAgent.EDGE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_EDGE:goog.labs.userAgent.engine.isEdge(),goog.userAgent.EDGE_OR_IE=goog.userAgent.EDGE||goog.userAgent.IE,goog.userAgent.GECKO=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_GECKO:goog.labs.userAgent.engine.isGecko(),goog.userAgent.WEBKIT=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_MOBILE_WEBKIT:goog.labs.userAgent.engine.isWebKit(),goog.userAgent.isMobile_=function(){return goog.userAgent.WEBKIT&&goog.labs.userAgent.util.matchUserAgent("Mobile")},goog.userAgent.MOBILE=goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.isMobile_(),goog.userAgent.SAFARI=goog.userAgent.WEBKIT,goog.userAgent.determinePlatform_=function(){var o=goog.userAgent.getNavigatorTyped();return o&&o.platform||""},goog.userAgent.PLATFORM=goog.userAgent.determinePlatform_(),goog.userAgent.ASSUME_MAC=!1,goog.userAgent.ASSUME_WINDOWS=!1,goog.userAgent.ASSUME_LINUX=!1,goog.userAgent.ASSUME_X11=!1,goog.userAgent.ASSUME_ANDROID=!1,goog.userAgent.ASSUME_IPHONE=!1,goog.userAgent.ASSUME_IPAD=!1,goog.userAgent.ASSUME_IPOD=!1,goog.userAgent.ASSUME_KAIOS=!1,goog.userAgent.ASSUME_GO2PHONE=!1,goog.userAgent.PLATFORM_KNOWN_=goog.userAgent.ASSUME_MAC||goog.userAgent.ASSUME_WINDOWS||goog.userAgent.ASSUME_LINUX||goog.userAgent.ASSUME_X11||goog.userAgent.ASSUME_ANDROID||goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD,goog.userAgent.MAC=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_MAC:goog.labs.userAgent.platform.isMacintosh(),goog.userAgent.WINDOWS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_WINDOWS:goog.labs.userAgent.platform.isWindows(),goog.userAgent.isLegacyLinux_=function(){return goog.labs.userAgent.platform.isLinux()||goog.labs.userAgent.platform.isChromeOS()},goog.userAgent.LINUX=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_LINUX:goog.userAgent.isLegacyLinux_(),goog.userAgent.isX11_=function(){var o=goog.userAgent.getNavigatorTyped();return!!o&&goog.string.contains(o.appVersion||"","X11")},goog.userAgent.X11=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_X11:goog.userAgent.isX11_(),goog.userAgent.ANDROID=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_ANDROID:goog.labs.userAgent.platform.isAndroid(),goog.userAgent.IPHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE:goog.labs.userAgent.platform.isIphone(),goog.userAgent.IPAD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.IPOD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIpod(),goog.userAgent.IOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIos(),goog.userAgent.KAIOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_KAIOS:goog.labs.userAgent.platform.isKaiOS(),goog.userAgent.GO2PHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_GO2PHONE:goog.labs.userAgent.platform.isGo2Phone(),goog.userAgent.determineVersion_=function(){var o="",t=goog.userAgent.getVersionRegexResult_();return t&&(o=t?t[1]:""),goog.userAgent.IE&&null!=(t=goog.userAgent.getDocumentMode_())&&t>parseFloat(o)?String(t):o},goog.userAgent.getVersionRegexResult_=function(){var o=goog.userAgent.getUserAgentString();return goog.userAgent.GECKO?/rv:([^\);]+)(\)|;)/.exec(o):goog.userAgent.EDGE?/Edge\/([\d\.]+)/.exec(o):goog.userAgent.IE?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(o):goog.userAgent.WEBKIT?/WebKit\/(\S+)/.exec(o):goog.userAgent.OPERA?/(?:Version)[ \/]?(\S+)/.exec(o):void 0},goog.userAgent.getDocumentMode_=function(){var o=goog.global.document;return o?o.documentMode:void 0},goog.userAgent.VERSION=goog.userAgent.determineVersion_(),goog.userAgent.compare=function(o,t){return goog.string.compareVersions(o,t)},goog.userAgent.isVersionOrHigherCache_={},goog.userAgent.isVersionOrHigher=function(o){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,o,(function(){return 0<=goog.string.compareVersions(goog.userAgent.VERSION,o)}))},goog.userAgent.isVersion=goog.userAgent.isVersionOrHigher,goog.userAgent.isDocumentModeOrHigher=function(o){return Number(goog.userAgent.DOCUMENT_MODE)>=o},goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher,goog.userAgent.DOCUMENT_MODE=function(){if(goog.global.document&&goog.userAgent.IE)return goog.userAgent.getDocumentMode_()}(),goog.userAgent.product={},goog.userAgent.product.ASSUME_FIREFOX=!1,goog.userAgent.product.ASSUME_IPHONE=!1,goog.userAgent.product.ASSUME_IPAD=!1,goog.userAgent.product.ASSUME_ANDROID=!1,goog.userAgent.product.ASSUME_CHROME=!1,goog.userAgent.product.ASSUME_SAFARI=!1,goog.userAgent.product.PRODUCT_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_OPERA||goog.userAgent.product.ASSUME_FIREFOX||goog.userAgent.product.ASSUME_IPHONE||goog.userAgent.product.ASSUME_IPAD||goog.userAgent.product.ASSUME_ANDROID||goog.userAgent.product.ASSUME_CHROME||goog.userAgent.product.ASSUME_SAFARI,goog.userAgent.product.OPERA=goog.userAgent.OPERA,goog.userAgent.product.IE=goog.userAgent.IE,goog.userAgent.product.EDGE=goog.userAgent.EDGE,goog.userAgent.product.FIREFOX=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_FIREFOX:goog.labs.userAgent.browser.isFirefox(),goog.userAgent.product.isIphoneOrIpod_=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpod()},goog.userAgent.product.IPHONE=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPHONE:goog.userAgent.product.isIphoneOrIpod_(),goog.userAgent.product.IPAD=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_ANDROID:goog.labs.userAgent.browser.isAndroidBrowser(),goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_CHROME:goog.labs.userAgent.browser.isChrome(),goog.userAgent.product.isSafariDesktop_=function(){return goog.labs.userAgent.browser.isSafari()&&!goog.labs.userAgent.platform.isIos()},goog.userAgent.product.SAFARI=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_SAFARI:goog.userAgent.product.isSafariDesktop_(),goog.crypt.base64={},goog.crypt.base64.DEFAULT_ALPHABET_COMMON_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",goog.crypt.base64.ENCODED_VALS=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"+/=",goog.crypt.base64.ENCODED_VALS_WEBSAFE=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"-_.",goog.crypt.base64.Alphabet={DEFAULT:0,NO_PADDING:1,WEBSAFE:2,WEBSAFE_DOT_PADDING:3,WEBSAFE_NO_PADDING:4},goog.crypt.base64.paddingChars_="=.",goog.crypt.base64.isPadding_=function(o){return goog.string.contains(goog.crypt.base64.paddingChars_,o)},goog.crypt.base64.byteToCharMaps_={};goog.crypt.base64.charToByteMap_=null,goog.crypt.base64.ASSUME_NATIVE_SUPPORT_=goog.userAgent.GECKO||goog.userAgent.WEBKIT&&!goog.userAgent.product.SAFARI||goog.userAgent.OPERA,goog.crypt.base64.HAS_NATIVE_ENCODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||"function"==typeof goog.global.btoa,goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!goog.userAgent.product.SAFARI&&!goog.userAgent.IE&&"function"==typeof goog.global.atob,goog.crypt.base64.encodeByteArray=function(o,t){goog.asserts.assert(goog.isArrayLike(o),"encodeByteArray takes an array as a parameter"),void 0===t&&(t=goog.crypt.base64.Alphabet.DEFAULT),goog.crypt.base64.init_(),t=goog.crypt.base64.byteToCharMaps_[t];for(var n=[],r=0;r<o.length;r+=3){var e=o[r],g=r+1<o.length,i=g?o[r+1]:0,u=r+2<o.length,s=u?o[r+2]:0,f=e>>2;e=(3&e)<<4|i>>4,i=(15&i)<<2|s>>6,s&=63,u||(s=64,g||(i=64)),n.push(t[f],t[e],t[i]||"",t[s]||"")}return n.join("")},goog.crypt.base64.encodeString=function(o,t){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!t?goog.global.btoa(o):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(o),t)},goog.crypt.base64.decodeString=function(o,t){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!t)return goog.global.atob(o);var n="";return goog.crypt.base64.decodeStringInternal_(o,(function(o){n+=String.fromCharCode(o)})),n},goog.crypt.base64.decodeStringToByteArray=function(o){var t=[];return goog.crypt.base64.decodeStringInternal_(o,(function(o){t.push(o)})),t},goog.crypt.base64.decodeStringToUint8Array=function(o){goog.asserts.assert(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher("10"),"Browser does not support typed arrays");var t=o.length,n=3*t/4;n%3?n=Math.floor(n):goog.crypt.base64.isPadding_(o[t-1])&&(n=goog.crypt.base64.isPadding_(o[t-2])?n-2:n-1);var r=new Uint8Array(n),e=0;return goog.crypt.base64.decodeStringInternal_(o,(function(o){r[e++]=o})),r.subarray(0,e)},goog.crypt.base64.decodeStringInternal_=function(o,t){function n(t){for(;r<o.length;){var n=o.charAt(r++),e=goog.crypt.base64.charToByteMap_[n];if(null!=e)return e;if(!goog.string.isEmptyOrWhitespace(n))throw Error("Unknown base64 encoding at char: "+n)}return t}goog.crypt.base64.init_();for(var r=0;;){var e=n(-1),g=n(0),i=n(64),u=n(64);if(64===u&&-1===e)break;t(e<<2|g>>4),64!=i&&(t(g<<4&240|i>>2),64!=u&&t(i<<6&192|u))}},goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var o=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),t=["+/=","+/","-_=","-_.","-_"],n=0;5>n;n++){var r=o.concat(t[n].split(""));goog.crypt.base64.byteToCharMaps_[n]=r;for(var e=0;e<r.length;e++){var g=r[e],i=goog.crypt.base64.charToByteMap_[g];void 0===i?goog.crypt.base64.charToByteMap_[g]=e:goog.asserts.assert(i===e)}}}},jspb.utils={},jspb.utils.split64Low=0,jspb.utils.split64High=0,jspb.utils.splitUint64=function(o){var t=o>>>0;o=Math.floor((o-t)/jspb.BinaryConstants.TWO_TO_32)>>>0,jspb.utils.split64Low=t,jspb.utils.split64High=o},jspb.utils.splitInt64=function(o){var t=0>o,n=(o=Math.abs(o))>>>0;o=Math.floor((o-n)/jspb.BinaryConstants.TWO_TO_32),o>>>=0,t&&(o=~o>>>0,4294967295<(n=1+(~n>>>0))&&(n=0,4294967295<++o&&(o=0))),jspb.utils.split64Low=n,jspb.utils.split64High=o},jspb.utils.splitZigzag64=function(o){var t=0>o;o=2*Math.abs(o),jspb.utils.splitUint64(o),o=jspb.utils.split64Low;var n=jspb.utils.split64High;t&&(0==o?0==n?n=o=4294967295:(n--,o=4294967295):o--),jspb.utils.split64Low=o,jspb.utils.split64High=n},jspb.utils.splitFloat32=function(o){var t=0>o?1:0;if(0===(o=t?-o:o))0<1/o?(jspb.utils.split64High=0,jspb.utils.split64Low=0):(jspb.utils.split64High=0,jspb.utils.split64Low=2147483648);else if(isNaN(o))jspb.utils.split64High=0,jspb.utils.split64Low=2147483647;else if(o>jspb.BinaryConstants.FLOAT32_MAX)jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|2139095040)>>>0;else if(o<jspb.BinaryConstants.FLOAT32_MIN)o=Math.round(o/Math.pow(2,-149)),jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|o)>>>0;else{var n=Math.floor(Math.log(o)/Math.LN2);o*=Math.pow(2,-n),o=8388607&Math.round(o*jspb.BinaryConstants.TWO_TO_23),jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|n+127<<23|o)>>>0}},jspb.utils.splitFloat64=function(o){var t=0>o?1:0;if(0===(o=t?-o:o))jspb.utils.split64High=0<1/o?0:2147483648,jspb.utils.split64Low=0;else if(isNaN(o))jspb.utils.split64High=2147483647,jspb.utils.split64Low=4294967295;else if(o>jspb.BinaryConstants.FLOAT64_MAX)jspb.utils.split64High=(t<<31|2146435072)>>>0,jspb.utils.split64Low=0;else if(o<jspb.BinaryConstants.FLOAT64_MIN){var n=o/Math.pow(2,-1074);jspb.utils.split64High=(t<<31|(o=n/jspb.BinaryConstants.TWO_TO_32))>>>0,jspb.utils.split64Low=n>>>0}else{var r=0;if(2<=(n=o))for(;2<=n&&1023>r;)r++,n/=2;else for(;1>n&&-1022<r;)n*=2,r--;o=(n=o*Math.pow(2,-r))*jspb.BinaryConstants.TWO_TO_20&1048575,n=n*jspb.BinaryConstants.TWO_TO_52>>>0,jspb.utils.split64High=(t<<31|r+1023<<20|o)>>>0,jspb.utils.split64Low=n}},jspb.utils.splitHash64=function(o){var t=o.charCodeAt(0),n=o.charCodeAt(1),r=o.charCodeAt(2),e=o.charCodeAt(3),g=o.charCodeAt(4),i=o.charCodeAt(5),u=o.charCodeAt(6);o=o.charCodeAt(7),jspb.utils.split64Low=t+(n<<8)+(r<<16)+(e<<24)>>>0,jspb.utils.split64High=g+(i<<8)+(u<<16)+(o<<24)>>>0},jspb.utils.joinUint64=function(o,t){return t*jspb.BinaryConstants.TWO_TO_32+(o>>>0)},jspb.utils.joinInt64=function(o,t){var n=2147483648&t;return n&&(t=~t>>>0,0==(o=1+~o>>>0)&&(t=t+1>>>0)),o=jspb.utils.joinUint64(o,t),n?-o:o},jspb.utils.toZigzag64=function(o,t,n){var r=t>>31;return n(o<<1^r,(t<<1|o>>>31)^r)},jspb.utils.joinZigzag64=function(o,t){return jspb.utils.fromZigzag64(o,t,jspb.utils.joinInt64)},jspb.utils.fromZigzag64=function(o,t,n){var r=-(1&o);return n((o>>>1|t<<31)^r,t>>>1^r)},jspb.utils.joinFloat32=function(o,t){t=2*(o>>31)+1;var n=o>>>23&255;return o&=8388607,255==n?o?NaN:1/0*t:0==n?t*Math.pow(2,-149)*o:t*Math.pow(2,n-150)*(o+Math.pow(2,23))},jspb.utils.joinFloat64=function(o,t){var n=2*(t>>31)+1,r=t>>>20&2047;return o=jspb.BinaryConstants.TWO_TO_32*(1048575&t)+o,2047==r?o?NaN:1/0*n:0==r?n*Math.pow(2,-1074)*o:n*Math.pow(2,r-1075)*(o+jspb.BinaryConstants.TWO_TO_52)},jspb.utils.joinHash64=function(o,t){return String.fromCharCode(o>>>0&255,o>>>8&255,o>>>16&255,o>>>24&255,t>>>0&255,t>>>8&255,t>>>16&255,t>>>24&255)},jspb.utils.DIGITS="0123456789abcdef".split(""),jspb.utils.ZERO_CHAR_CODE_=48,jspb.utils.A_CHAR_CODE_=97,jspb.utils.joinUnsignedDecimalString=function(o,t){function n(o,t){return o=o?String(o):"",t?"0000000".slice(o.length)+o:o}if(2097151>=t)return""+jspb.utils.joinUint64(o,t);var r=(o>>>24|t<<8)>>>0&16777215;return o=(16777215&o)+6777216*r+6710656*(t=t>>16&65535),r+=8147497*t,t*=2,1e7<=o&&(r+=Math.floor(o/1e7),o%=1e7),1e7<=r&&(t+=Math.floor(r/1e7),r%=1e7),n(t,0)+n(r,t)+n(o,1)},jspb.utils.joinSignedDecimalString=function(o,t){var n=2147483648&t;return n&&(t=~t+(0==(o=1+~o>>>0)?1:0)>>>0),o=jspb.utils.joinUnsignedDecimalString(o,t),n?"-"+o:o},jspb.utils.hash64ToDecimalString=function(o,t){jspb.utils.splitHash64(o),o=jspb.utils.split64Low;var n=jspb.utils.split64High;return t?jspb.utils.joinSignedDecimalString(o,n):jspb.utils.joinUnsignedDecimalString(o,n)},jspb.utils.hash64ArrayToDecimalStrings=function(o,t){for(var n=Array(o.length),r=0;r<o.length;r++)n[r]=jspb.utils.hash64ToDecimalString(o[r],t);return n},jspb.utils.decimalStringToHash64=function(o){function t(o,t){for(var n=0;8>n&&(1!==o||0<t);n++)r[n]=255&(t=o*r[n]+t),t>>>=8}goog.asserts.assert(0<o.length);var n=!1;"-"===o[0]&&(n=!0,o=o.slice(1));for(var r=[0,0,0,0,0,0,0,0],e=0;e<o.length;e++)t(10,o.charCodeAt(e)-jspb.utils.ZERO_CHAR_CODE_);return n&&(function(){for(var o=0;8>o;o++)r[o]=255&~r[o]}(),t(1,1)),goog.crypt.byteArrayToString(r)},jspb.utils.splitDecimalString=function(o){jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(o))},jspb.utils.toHexDigit_=function(o){return String.fromCharCode(10>o?jspb.utils.ZERO_CHAR_CODE_+o:jspb.utils.A_CHAR_CODE_-10+o)},jspb.utils.fromHexCharCode_=function(o){return o>=jspb.utils.A_CHAR_CODE_?o-jspb.utils.A_CHAR_CODE_+10:o-jspb.utils.ZERO_CHAR_CODE_},jspb.utils.hash64ToHexString=function(o){var t=Array(18);t[0]="0",t[1]="x";for(var n=0;8>n;n++){var r=o.charCodeAt(7-n);t[2*n+2]=jspb.utils.toHexDigit_(r>>4),t[2*n+3]=jspb.utils.toHexDigit_(15&r)}return t.join("")},jspb.utils.hexStringToHash64=function(o){o=o.toLowerCase(),goog.asserts.assert(18==o.length),goog.asserts.assert("0"==o[0]),goog.asserts.assert("x"==o[1]);for(var t="",n=0;8>n;n++){var r=jspb.utils.fromHexCharCode_(o.charCodeAt(2*n+2)),e=jspb.utils.fromHexCharCode_(o.charCodeAt(2*n+3));t=String.fromCharCode(16*r+e)+t}return t},jspb.utils.hash64ToNumber=function(o,t){jspb.utils.splitHash64(o),o=jspb.utils.split64Low;var n=jspb.utils.split64High;return t?jspb.utils.joinInt64(o,n):jspb.utils.joinUint64(o,n)},jspb.utils.numberToHash64=function(o){return jspb.utils.splitInt64(o),jspb.utils.joinHash64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.utils.countVarints=function(o,t,n){for(var r=0,e=t;e<n;e++)r+=o[e]>>7;return n-t-r},jspb.utils.countVarintFields=function(o,t,n,r){var e=0;if(128>(r=8*r+jspb.BinaryConstants.WireType.VARINT))for(;t<n&&o[t++]==r;)for(e++;;){var g=o[t++];if(0==(128&g))break}else for(;t<n;){for(g=r;128<g;){if(o[t]!=(127&g|128))return e;t++,g>>=7}if(o[t++]!=g)break;for(e++;0!=(128&(g=o[t++])););}return e},jspb.utils.countFixedFields_=function(o,t,n,r,e){var g=0;if(128>r)for(;t<n&&o[t++]==r;)g++,t+=e;else for(;t<n;){for(var i=r;128<i;){if(o[t++]!=(127&i|128))return g;i>>=7}if(o[t++]!=i)break;g++,t+=e}return g},jspb.utils.countFixed32Fields=function(o,t,n,r){return jspb.utils.countFixedFields_(o,t,n,8*r+jspb.BinaryConstants.WireType.FIXED32,4)},jspb.utils.countFixed64Fields=function(o,t,n,r){return jspb.utils.countFixedFields_(o,t,n,8*r+jspb.BinaryConstants.WireType.FIXED64,8)},jspb.utils.countDelimitedFields=function(o,t,n,r){var e=0;for(r=8*r+jspb.BinaryConstants.WireType.DELIMITED;t<n;){for(var g=r;128<g;){if(o[t++]!=(127&g|128))return e;g>>=7}if(o[t++]!=g)break;e++;for(var i=0,u=1;i+=(127&(g=o[t++]))*u,u*=128,0!=(128&g););t+=i}return e},jspb.utils.debugBytesToTextFormat=function(o){var t='"';if(o){o=jspb.utils.byteSourceToUint8Array(o);for(var n=0;n<o.length;n++)t+="\\x",16>o[n]&&(t+="0"),t+=o[n].toString(16)}return t+'"'},jspb.utils.debugScalarToTextFormat=function(o){return"string"==typeof o?goog.string.quote(o):o.toString()},jspb.utils.stringToByteArray=function(o){for(var t=new Uint8Array(o.length),n=0;n<o.length;n++){var r=o.charCodeAt(n);if(255<r)throw Error("Conversion error: string contains codepoint outside of byte range");t[n]=r}return t},jspb.utils.byteSourceToUint8Array=function(o){return o.constructor===Uint8Array?o:o.constructor===ArrayBuffer||"undefined"!=typeof Buffer&&o.constructor===Buffer||o.constructor===Array?new Uint8Array(o):o.constructor===String?goog.crypt.base64.decodeStringToUint8Array(o):(goog.asserts.fail("Type not convertible to Uint8Array."),new Uint8Array(0))},jspb.BinaryDecoder=function(o,t,n){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1,o&&this.setBlock(o,t,n)},jspb.BinaryDecoder.instanceCache_=[],jspb.BinaryDecoder.alloc=function(o,t,n){if(jspb.BinaryDecoder.instanceCache_.length){var r=jspb.BinaryDecoder.instanceCache_.pop();return o&&r.setBlock(o,t,n),r}return new jspb.BinaryDecoder(o,t,n)},jspb.BinaryDecoder.prototype.free=function(){this.clear(),100>jspb.BinaryDecoder.instanceCache_.length&&jspb.BinaryDecoder.instanceCache_.push(this)},jspb.BinaryDecoder.prototype.clone=function(){return jspb.BinaryDecoder.alloc(this.bytes_,this.start_,this.end_-this.start_)},jspb.BinaryDecoder.prototype.clear=function(){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1},jspb.BinaryDecoder.prototype.getBuffer=function(){return this.bytes_},jspb.BinaryDecoder.prototype.setBlock=function(o,t,n){this.bytes_=jspb.utils.byteSourceToUint8Array(o),this.start_=void 0!==t?t:0,this.end_=void 0!==n?this.start_+n:this.bytes_.length,this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getEnd=function(){return this.end_},jspb.BinaryDecoder.prototype.setEnd=function(o){this.end_=o},jspb.BinaryDecoder.prototype.reset=function(){this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getCursor=function(){return this.cursor_},jspb.BinaryDecoder.prototype.setCursor=function(o){this.cursor_=o},jspb.BinaryDecoder.prototype.advance=function(o){this.cursor_+=o,goog.asserts.assert(this.cursor_<=this.end_)},jspb.BinaryDecoder.prototype.atEnd=function(){return this.cursor_==this.end_},jspb.BinaryDecoder.prototype.pastEnd=function(){return this.cursor_>this.end_},jspb.BinaryDecoder.prototype.getError=function(){return this.error_||0>this.cursor_||this.cursor_>this.end_},jspb.BinaryDecoder.prototype.readSplitVarint64=function(o){for(var t=128,n=0,r=0,e=0;4>e&&128<=t;e++)n|=(127&(t=this.bytes_[this.cursor_++]))<<7*e;if(128<=t&&(n|=(127&(t=this.bytes_[this.cursor_++]))<<28,r|=(127&t)>>4),128<=t)for(e=0;5>e&&128<=t;e++)r|=(127&(t=this.bytes_[this.cursor_++]))<<7*e+3;if(128>t)return o(n>>>0,r>>>0);goog.asserts.fail("Failed to read varint, encoding is invalid."),this.error_=!0},jspb.BinaryDecoder.prototype.readSplitZigzagVarint64=function(o){return this.readSplitVarint64((function(t,n){return jspb.utils.fromZigzag64(t,n,o)}))},jspb.BinaryDecoder.prototype.readSplitFixed64=function(o){var t=this.bytes_,n=this.cursor_;this.cursor_+=8;for(var r=0,e=0,g=n+7;g>=n;g--)r=r<<8|t[g],e=e<<8|t[g+4];return o(r,e)},jspb.BinaryDecoder.prototype.skipVarint=function(){for(;128&this.bytes_[this.cursor_];)this.cursor_++;this.cursor_++},jspb.BinaryDecoder.prototype.unskipVarint=function(o){for(;128<o;)this.cursor_--,o>>>=7;this.cursor_--},jspb.BinaryDecoder.prototype.readUnsignedVarint32=function(){var o=this.bytes_,t=o[this.cursor_+0],n=127&t;return 128>t?(this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),n):(n|=(127&(t=o[this.cursor_+1]))<<7,128>t?(this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),n):(n|=(127&(t=o[this.cursor_+2]))<<14,128>t?(this.cursor_+=3,goog.asserts.assert(this.cursor_<=this.end_),n):(n|=(127&(t=o[this.cursor_+3]))<<21,128>t?(this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),n):(n|=(15&(t=o[this.cursor_+4]))<<28,128>t?(this.cursor_+=5,goog.asserts.assert(this.cursor_<=this.end_),n>>>0):(this.cursor_+=5,128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&goog.asserts.assert(!1),goog.asserts.assert(this.cursor_<=this.end_),n)))))},jspb.BinaryDecoder.prototype.readSignedVarint32=jspb.BinaryDecoder.prototype.readUnsignedVarint32,jspb.BinaryDecoder.prototype.readUnsignedVarint32String=function(){return this.readUnsignedVarint32().toString()},jspb.BinaryDecoder.prototype.readSignedVarint32String=function(){return this.readSignedVarint32().toString()},jspb.BinaryDecoder.prototype.readZigzagVarint32=function(){var o=this.readUnsignedVarint32();return o>>>1^-(1&o)},jspb.BinaryDecoder.prototype.readUnsignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinUint64)},jspb.BinaryDecoder.prototype.readUnsignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinUnsignedDecimalString)},jspb.BinaryDecoder.prototype.readSignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinInt64)},jspb.BinaryDecoder.prototype.readSignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readZigzagVarint64=function(){return this.readSplitVarint64(jspb.utils.joinZigzag64)},jspb.BinaryDecoder.prototype.readZigzagVarintHash64=function(){return this.readSplitZigzagVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readZigzagVarint64String=function(){return this.readSplitZigzagVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readUint8=function(){var o=this.bytes_[this.cursor_+0];return this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),o},jspb.BinaryDecoder.prototype.readUint16=function(){var o=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1];return this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),o<<0|t<<8},jspb.BinaryDecoder.prototype.readUint32=function(){var o=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1],n=this.bytes_[this.cursor_+2],r=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),(o<<0|t<<8|n<<16|r<<24)>>>0},jspb.BinaryDecoder.prototype.readUint64=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinUint64(o,t)},jspb.BinaryDecoder.prototype.readUint64String=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinUnsignedDecimalString(o,t)},jspb.BinaryDecoder.prototype.readInt8=function(){var o=this.bytes_[this.cursor_+0];return this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),o<<24>>24},jspb.BinaryDecoder.prototype.readInt16=function(){var o=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1];return this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),(o<<0|t<<8)<<16>>16},jspb.BinaryDecoder.prototype.readInt32=function(){var o=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1],n=this.bytes_[this.cursor_+2],r=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),o<<0|t<<8|n<<16|r<<24},jspb.BinaryDecoder.prototype.readInt64=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinInt64(o,t)},jspb.BinaryDecoder.prototype.readInt64String=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinSignedDecimalString(o,t)},jspb.BinaryDecoder.prototype.readFloat=function(){var o=this.readUint32();return jspb.utils.joinFloat32(o,0)},jspb.BinaryDecoder.prototype.readDouble=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinFloat64(o,t)},jspb.BinaryDecoder.prototype.readBool=function(){return!!this.bytes_[this.cursor_++]},jspb.BinaryDecoder.prototype.readEnum=function(){return this.readSignedVarint32()},jspb.BinaryDecoder.prototype.readString=function(o){var t=this.bytes_,n=this.cursor_;o=n+o;for(var r=[],e="";n<o;){var g=t[n++];if(128>g)r.push(g);else{if(192>g)continue;if(224>g){var i=t[n++];r.push((31&g)<<6|63&i)}else if(240>g){i=t[n++];var u=t[n++];r.push((15&g)<<12|(63&i)<<6|63&u)}else 248>g&&(g=(7&g)<<18|(63&(i=t[n++]))<<12|(63&(u=t[n++]))<<6|63&t[n++],r.push(55296+((g-=65536)>>10&1023),56320+(1023&g)))}8192<=r.length&&(e+=String.fromCharCode.apply(null,r),r.length=0)}return e+=goog.crypt.byteArrayToString(r),this.cursor_=n,e},jspb.BinaryDecoder.prototype.readStringWithLength=function(){var o=this.readUnsignedVarint32();return this.readString(o)},jspb.BinaryDecoder.prototype.readBytes=function(o){if(0>o||this.cursor_+o>this.bytes_.length)return this.error_=!0,goog.asserts.fail("Invalid byte length!"),new Uint8Array(0);var t=this.bytes_.subarray(this.cursor_,this.cursor_+o);return this.cursor_+=o,goog.asserts.assert(this.cursor_<=this.end_),t},jspb.BinaryDecoder.prototype.readVarintHash64=function(){return this.readSplitVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readFixedHash64=function(){var o=this.bytes_,t=this.cursor_,n=o[t+0],r=o[t+1],e=o[t+2],g=o[t+3],i=o[t+4],u=o[t+5],s=o[t+6];return o=o[t+7],this.cursor_+=8,String.fromCharCode(n,r,e,g,i,u,s,o)},jspb.BinaryReader=function(o,t,n){this.decoder_=jspb.BinaryDecoder.alloc(o,t,n),this.fieldCursor_=this.decoder_.getCursor(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null},jspb.BinaryReader.instanceCache_=[],jspb.BinaryReader.alloc=function(o,t,n){if(jspb.BinaryReader.instanceCache_.length){var r=jspb.BinaryReader.instanceCache_.pop();return o&&r.decoder_.setBlock(o,t,n),r}return new jspb.BinaryReader(o,t,n)},jspb.BinaryReader.prototype.alloc=jspb.BinaryReader.alloc,jspb.BinaryReader.prototype.free=function(){this.decoder_.clear(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null,100>jspb.BinaryReader.instanceCache_.length&&jspb.BinaryReader.instanceCache_.push(this)},jspb.BinaryReader.prototype.getFieldCursor=function(){return this.fieldCursor_},jspb.BinaryReader.prototype.getCursor=function(){return this.decoder_.getCursor()},jspb.BinaryReader.prototype.getBuffer=function(){return this.decoder_.getBuffer()},jspb.BinaryReader.prototype.getFieldNumber=function(){return this.nextField_},jspb.BinaryReader.prototype.getWireType=function(){return this.nextWireType_},jspb.BinaryReader.prototype.isDelimited=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED},jspb.BinaryReader.prototype.isEndGroup=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP},jspb.BinaryReader.prototype.getError=function(){return this.error_||this.decoder_.getError()},jspb.BinaryReader.prototype.setBlock=function(o,t,n){this.decoder_.setBlock(o,t,n),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.reset=function(){this.decoder_.reset(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.advance=function(o){this.decoder_.advance(o)},jspb.BinaryReader.prototype.nextField=function(){if(this.decoder_.atEnd())return!1;if(this.getError())return goog.asserts.fail("Decoder hit an error"),!1;this.fieldCursor_=this.decoder_.getCursor();var o=this.decoder_.readUnsignedVarint32(),t=o>>>3;return(o&=7)!=jspb.BinaryConstants.WireType.VARINT&&o!=jspb.BinaryConstants.WireType.FIXED32&&o!=jspb.BinaryConstants.WireType.FIXED64&&o!=jspb.BinaryConstants.WireType.DELIMITED&&o!=jspb.BinaryConstants.WireType.START_GROUP&&o!=jspb.BinaryConstants.WireType.END_GROUP?(goog.asserts.fail("Invalid wire type: %s (at position %s)",o,this.fieldCursor_),this.error_=!0,!1):(this.nextField_=t,this.nextWireType_=o,!0)},jspb.BinaryReader.prototype.unskipHeader=function(){this.decoder_.unskipVarint(this.nextField_<<3|this.nextWireType_)},jspb.BinaryReader.prototype.skipMatchingFields=function(){var o=this.nextField_;for(this.unskipHeader();this.nextField()&&this.getFieldNumber()==o;)this.skipField();this.decoder_.atEnd()||this.unskipHeader()},jspb.BinaryReader.prototype.skipVarintField=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.VARINT?(goog.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()},jspb.BinaryReader.prototype.skipDelimitedField=function(){if(this.nextWireType_!=jspb.BinaryConstants.WireType.DELIMITED)goog.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField();else{var o=this.decoder_.readUnsignedVarint32();this.decoder_.advance(o)}},jspb.BinaryReader.prototype.skipFixed32Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED32?(goog.asserts.fail("Invalid wire type for skipFixed32Field"),this.skipField()):this.decoder_.advance(4)},jspb.BinaryReader.prototype.skipFixed64Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED64?(goog.asserts.fail("Invalid wire type for skipFixed64Field"),this.skipField()):this.decoder_.advance(8)},jspb.BinaryReader.prototype.skipGroup=function(){for(var o=this.nextField_;;){if(!this.nextField()){goog.asserts.fail("Unmatched start-group tag: stream EOF"),this.error_=!0;break}if(this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP){this.nextField_!=o&&(goog.asserts.fail("Unmatched end-group tag"),this.error_=!0);break}this.skipField()}},jspb.BinaryReader.prototype.skipField=function(){switch(this.nextWireType_){case jspb.BinaryConstants.WireType.VARINT:this.skipVarintField();break;case jspb.BinaryConstants.WireType.FIXED64:this.skipFixed64Field();break;case jspb.BinaryConstants.WireType.DELIMITED:this.skipDelimitedField();break;case jspb.BinaryConstants.WireType.FIXED32:this.skipFixed32Field();break;case jspb.BinaryConstants.WireType.START_GROUP:this.skipGroup();break;default:goog.asserts.fail("Invalid wire encoding for field.")}},jspb.BinaryReader.prototype.registerReadCallback=function(o,t){null===this.readCallbacks_&&(this.readCallbacks_={}),goog.asserts.assert(!this.readCallbacks_[o]),this.readCallbacks_[o]=t},jspb.BinaryReader.prototype.runReadCallback=function(o){return goog.asserts.assert(null!==this.readCallbacks_),goog.asserts.assert(o=this.readCallbacks_[o]),o(this)},jspb.BinaryReader.prototype.readAny=function(o){this.nextWireType_=jspb.BinaryConstants.FieldTypeToWireType(o);var t=jspb.BinaryConstants.FieldType;switch(o){case t.DOUBLE:return this.readDouble();case t.FLOAT:return this.readFloat();case t.INT64:return this.readInt64();case t.UINT64:return this.readUint64();case t.INT32:return this.readInt32();case t.FIXED64:return this.readFixed64();case t.FIXED32:return this.readFixed32();case t.BOOL:return this.readBool();case t.STRING:return this.readString();case t.GROUP:goog.asserts.fail("Group field type not supported in readAny()");case t.MESSAGE:goog.asserts.fail("Message field type not supported in readAny()");case t.BYTES:return this.readBytes();case t.UINT32:return this.readUint32();case t.ENUM:return this.readEnum();case t.SFIXED32:return this.readSfixed32();case t.SFIXED64:return this.readSfixed64();case t.SINT32:return this.readSint32();case t.SINT64:return this.readSint64();case t.FHASH64:return this.readFixedHash64();case t.VHASH64:return this.readVarintHash64();default:goog.asserts.fail("Invalid field type in readAny()")}return 0},jspb.BinaryReader.prototype.readMessage=function(o,t){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var n=this.decoder_.getEnd(),r=this.decoder_.readUnsignedVarint32();r=this.decoder_.getCursor()+r,this.decoder_.setEnd(r),t(o,this),this.decoder_.setCursor(r),this.decoder_.setEnd(n)},jspb.BinaryReader.prototype.readGroup=function(o,t,n){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.START_GROUP),goog.asserts.assert(this.nextField_==o),n(t,this),this.error_||this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP||(goog.asserts.fail("Group submessage did not end with an END_GROUP tag"),this.error_=!0)},jspb.BinaryReader.prototype.getFieldDecoder=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32(),t=this.decoder_.getCursor(),n=t+o;return o=jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(),t,o),this.decoder_.setCursor(n),o},jspb.BinaryReader.prototype.readInt32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32()},jspb.BinaryReader.prototype.readInt32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32String()},jspb.BinaryReader.prototype.readInt64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},jspb.BinaryReader.prototype.readInt64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64String()},jspb.BinaryReader.prototype.readUint32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32()},jspb.BinaryReader.prototype.readUint32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32String()},jspb.BinaryReader.prototype.readUint64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64()},jspb.BinaryReader.prototype.readUint64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64String()},jspb.BinaryReader.prototype.readSint32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint32()},jspb.BinaryReader.prototype.readSint64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64()},jspb.BinaryReader.prototype.readSint64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64String()},jspb.BinaryReader.prototype.readFixed32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readUint32()},jspb.BinaryReader.prototype.readFixed64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64()},jspb.BinaryReader.prototype.readFixed64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64String()},jspb.BinaryReader.prototype.readSfixed32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32()},jspb.BinaryReader.prototype.readSfixed32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32().toString()},jspb.BinaryReader.prototype.readSfixed64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64()},jspb.BinaryReader.prototype.readSfixed64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64String()},jspb.BinaryReader.prototype.readFloat=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readFloat()},jspb.BinaryReader.prototype.readDouble=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readDouble()},jspb.BinaryReader.prototype.readBool=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),!!this.decoder_.readUnsignedVarint32()},jspb.BinaryReader.prototype.readEnum=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},jspb.BinaryReader.prototype.readString=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(o)},jspb.BinaryReader.prototype.readBytes=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();return this.decoder_.readBytes(o)},jspb.BinaryReader.prototype.readVarintHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readVarintHash64()},jspb.BinaryReader.prototype.readSintHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarintHash64()},jspb.BinaryReader.prototype.readSplitVarint64=function(o){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(o)},jspb.BinaryReader.prototype.readSplitZigzagVarint64=function(o){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64((function(t,n){return jspb.utils.fromZigzag64(t,n,o)}))},jspb.BinaryReader.prototype.readFixedHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readFixedHash64()},jspb.BinaryReader.prototype.readSplitFixed64=function(o){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readSplitFixed64(o)},jspb.BinaryReader.prototype.readPackedField_=function(o){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var t=this.decoder_.readUnsignedVarint32();t=this.decoder_.getCursor()+t;for(var n=[];this.decoder_.getCursor()<t;)n.push(o.call(this.decoder_));return n},jspb.BinaryReader.prototype.readPackedInt32=function(){return this.readPackedField_(this.decoder_.readSignedVarint32)},jspb.BinaryReader.prototype.readPackedInt32String=function(){return this.readPackedField_(this.decoder_.readSignedVarint32String)},jspb.BinaryReader.prototype.readPackedInt64=function(){return this.readPackedField_(this.decoder_.readSignedVarint64)},jspb.BinaryReader.prototype.readPackedInt64String=function(){return this.readPackedField_(this.decoder_.readSignedVarint64String)},jspb.BinaryReader.prototype.readPackedUint32=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32)},jspb.BinaryReader.prototype.readPackedUint32String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32String)},jspb.BinaryReader.prototype.readPackedUint64=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64)},jspb.BinaryReader.prototype.readPackedUint64String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64String)},jspb.BinaryReader.prototype.readPackedSint32=function(){return this.readPackedField_(this.decoder_.readZigzagVarint32)},jspb.BinaryReader.prototype.readPackedSint64=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64)},jspb.BinaryReader.prototype.readPackedSint64String=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64String)},jspb.BinaryReader.prototype.readPackedFixed32=function(){return this.readPackedField_(this.decoder_.readUint32)},jspb.BinaryReader.prototype.readPackedFixed64=function(){return this.readPackedField_(this.decoder_.readUint64)},jspb.BinaryReader.prototype.readPackedFixed64String=function(){return this.readPackedField_(this.decoder_.readUint64String)},jspb.BinaryReader.prototype.readPackedSfixed32=function(){return this.readPackedField_(this.decoder_.readInt32)},jspb.BinaryReader.prototype.readPackedSfixed64=function(){return this.readPackedField_(this.decoder_.readInt64)},jspb.BinaryReader.prototype.readPackedSfixed64String=function(){return this.readPackedField_(this.decoder_.readInt64String)},jspb.BinaryReader.prototype.readPackedFloat=function(){return this.readPackedField_(this.decoder_.readFloat)},jspb.BinaryReader.prototype.readPackedDouble=function(){return this.readPackedField_(this.decoder_.readDouble)},jspb.BinaryReader.prototype.readPackedBool=function(){return this.readPackedField_(this.decoder_.readBool)},jspb.BinaryReader.prototype.readPackedEnum=function(){return this.readPackedField_(this.decoder_.readEnum)},jspb.BinaryReader.prototype.readPackedVarintHash64=function(){return this.readPackedField_(this.decoder_.readVarintHash64)},jspb.BinaryReader.prototype.readPackedFixedHash64=function(){return this.readPackedField_(this.decoder_.readFixedHash64)},jspb.BinaryEncoder=function(){this.buffer_=[]},jspb.BinaryEncoder.prototype.length=function(){return this.buffer_.length},jspb.BinaryEncoder.prototype.end=function(){var o=this.buffer_;return this.buffer_=[],o},jspb.BinaryEncoder.prototype.writeSplitVarint64=function(o,t){for(goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32);0<t||127<o;)this.buffer_.push(127&o|128),o=(o>>>7|t<<25)>>>0,t>>>=7;this.buffer_.push(o)},jspb.BinaryEncoder.prototype.writeSplitFixed64=function(o,t){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUint32(o),this.writeUint32(t)},jspb.BinaryEncoder.prototype.writeUnsignedVarint32=function(o){for(goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32);127<o;)this.buffer_.push(127&o|128),o>>>=7;this.buffer_.push(o)},jspb.BinaryEncoder.prototype.writeSignedVarint32=function(o){if(goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),0<=o)this.writeUnsignedVarint32(o);else{for(var t=0;9>t;t++)this.buffer_.push(127&o|128),o>>=7;this.buffer_.push(1)}},jspb.BinaryEncoder.prototype.writeUnsignedVarint64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitInt64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeSignedVarint64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint32=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeUnsignedVarint32((o<<1^o>>31)>>>0)},jspb.BinaryEncoder.prototype.writeZigzagVarint64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitZigzag64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint64String=function(o){this.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(o))},jspb.BinaryEncoder.prototype.writeZigzagVarintHash64=function(o){var t=this;jspb.utils.splitHash64(o),jspb.utils.toZigzag64(jspb.utils.split64Low,jspb.utils.split64High,(function(o,n){t.writeSplitVarint64(o>>>0,n>>>0)}))},jspb.BinaryEncoder.prototype.writeUint8=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&256>o),this.buffer_.push(o>>>0&255)},jspb.BinaryEncoder.prototype.writeUint16=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&65536>o),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255)},jspb.BinaryEncoder.prototype.writeUint32=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255),this.buffer_.push(o>>>16&255),this.buffer_.push(o>>>24&255)},jspb.BinaryEncoder.prototype.writeUint64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitUint64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt8=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(-128<=o&&128>o),this.buffer_.push(o>>>0&255)},jspb.BinaryEncoder.prototype.writeInt16=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(-32768<=o&&32768>o),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255)},jspb.BinaryEncoder.prototype.writeInt32=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255),this.buffer_.push(o>>>16&255),this.buffer_.push(o>>>24&255)},jspb.BinaryEncoder.prototype.writeInt64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(o),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt64String=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(+o>=-jspb.BinaryConstants.TWO_TO_63&&+o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(o)),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFloat=function(o){goog.asserts.assert(1/0===o||-1/0===o||isNaN(o)||o>=-jspb.BinaryConstants.FLOAT32_MAX&&o<=jspb.BinaryConstants.FLOAT32_MAX),jspb.utils.splitFloat32(o),this.writeUint32(jspb.utils.split64Low)},jspb.BinaryEncoder.prototype.writeDouble=function(o){goog.asserts.assert(1/0===o||-1/0===o||isNaN(o)||o>=-jspb.BinaryConstants.FLOAT64_MAX&&o<=jspb.BinaryConstants.FLOAT64_MAX),jspb.utils.splitFloat64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeBool=function(o){goog.asserts.assert("boolean"==typeof o||"number"==typeof o),this.buffer_.push(o?1:0)},jspb.BinaryEncoder.prototype.writeEnum=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32(o)},jspb.BinaryEncoder.prototype.writeBytes=function(o){this.buffer_.push.apply(this.buffer_,o)},jspb.BinaryEncoder.prototype.writeVarintHash64=function(o){jspb.utils.splitHash64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFixedHash64=function(o){jspb.utils.splitHash64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeString=function(o){for(var t=this.buffer_.length,n=0;n<o.length;n++){var r=o.charCodeAt(n);if(128>r)this.buffer_.push(r);else if(2048>r)this.buffer_.push(r>>6|192),this.buffer_.push(63&r|128);else if(65536>r)if(55296<=r&&56319>=r&&n+1<o.length){var e=o.charCodeAt(n+1);56320<=e&&57343>=e&&(this.buffer_.push((r=1024*(r-55296)+e-56320+65536)>>18|240),this.buffer_.push(r>>12&63|128),this.buffer_.push(r>>6&63|128),this.buffer_.push(63&r|128),n++)}else this.buffer_.push(r>>12|224),this.buffer_.push(r>>6&63|128),this.buffer_.push(63&r|128)}return this.buffer_.length-t},jspb.arith={},jspb.arith.UInt64=function(o,t){this.lo=o,this.hi=t},jspb.arith.UInt64.prototype.cmp=function(o){return this.hi<o.hi||this.hi==o.hi&&this.lo<o.lo?-1:this.hi==o.hi&&this.lo==o.lo?0:1},jspb.arith.UInt64.prototype.rightShift=function(){return new jspb.arith.UInt64((this.lo>>>1|(1&this.hi)<<31)>>>0,this.hi>>>1>>>0)},jspb.arith.UInt64.prototype.leftShift=function(){return new jspb.arith.UInt64(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},jspb.arith.UInt64.prototype.msb=function(){return!!(2147483648&this.hi)},jspb.arith.UInt64.prototype.lsb=function(){return!!(1&this.lo)},jspb.arith.UInt64.prototype.zero=function(){return 0==this.lo&&0==this.hi},jspb.arith.UInt64.prototype.add=function(o){return new jspb.arith.UInt64((this.lo+o.lo&4294967295)>>>0>>>0,((this.hi+o.hi&4294967295)>>>0)+(4294967296<=this.lo+o.lo?1:0)>>>0)},jspb.arith.UInt64.prototype.sub=function(o){return new jspb.arith.UInt64((this.lo-o.lo&4294967295)>>>0>>>0,((this.hi-o.hi&4294967295)>>>0)-(0>this.lo-o.lo?1:0)>>>0)},jspb.arith.UInt64.mul32x32=function(o,t){var n=65535&o,r=65535&t,e=t>>>16;for(t=n*r+65536*(n*e&65535)+65536*((o>>>=16)*r&65535),n=o*e+(n*e>>>16)+(o*r>>>16);4294967296<=t;)t-=4294967296,n+=1;return new jspb.arith.UInt64(t>>>0,n>>>0)},jspb.arith.UInt64.prototype.mul=function(o){var t=jspb.arith.UInt64.mul32x32(this.lo,o);return(o=jspb.arith.UInt64.mul32x32(this.hi,o)).hi=o.lo,o.lo=0,t.add(o)},jspb.arith.UInt64.prototype.div=function(o){if(0==o)return[];var t=new jspb.arith.UInt64(0,0),n=new jspb.arith.UInt64(this.lo,this.hi);o=new jspb.arith.UInt64(o,0);for(var r=new jspb.arith.UInt64(1,0);!o.msb();)o=o.leftShift(),r=r.leftShift();for(;!r.zero();)0>=o.cmp(n)&&(t=t.add(r),n=n.sub(o)),o=o.rightShift(),r=r.rightShift();return[t,n]},jspb.arith.UInt64.prototype.toString=function(){for(var o="",t=this;!t.zero();)o=(t=t.div(10))[1].lo+o,t=t[0];return""==o&&(o="0"),o},jspb.arith.UInt64.fromString=function(o){for(var t=new jspb.arith.UInt64(0,0),n=new jspb.arith.UInt64(0,0),r=0;r<o.length;r++){if("0">o[r]||"9"<o[r])return null;var e=parseInt(o[r],10);n.lo=e,t=t.mul(10).add(n)}return t},jspb.arith.UInt64.prototype.clone=function(){return new jspb.arith.UInt64(this.lo,this.hi)},jspb.arith.Int64=function(o,t){this.lo=o,this.hi=t},jspb.arith.Int64.prototype.add=function(o){return new jspb.arith.Int64((this.lo+o.lo&4294967295)>>>0>>>0,((this.hi+o.hi&4294967295)>>>0)+(4294967296<=this.lo+o.lo?1:0)>>>0)},jspb.arith.Int64.prototype.sub=function(o){return new jspb.arith.Int64((this.lo-o.lo&4294967295)>>>0>>>0,((this.hi-o.hi&4294967295)>>>0)-(0>this.lo-o.lo?1:0)>>>0)},jspb.arith.Int64.prototype.clone=function(){return new jspb.arith.Int64(this.lo,this.hi)},jspb.arith.Int64.prototype.toString=function(){var o=0!=(2147483648&this.hi),t=new jspb.arith.UInt64(this.lo,this.hi);return o&&(t=new jspb.arith.UInt64(0,0).sub(t)),(o?"-":"")+t.toString()},jspb.arith.Int64.fromString=function(o){var t=0<o.length&&"-"==o[0];return t&&(o=o.substring(1)),null===(o=jspb.arith.UInt64.fromString(o))?null:(t&&(o=new jspb.arith.UInt64(0,0).sub(o)),new jspb.arith.Int64(o.lo,o.hi))},jspb.BinaryWriter=function(){this.blocks_=[],this.totalLength_=0,this.encoder_=new jspb.BinaryEncoder,this.bookmarks_=[]},jspb.BinaryWriter.prototype.appendUint8Array_=function(o){var t=this.encoder_.end();this.blocks_.push(t),this.blocks_.push(o),this.totalLength_+=t.length+o.length},jspb.BinaryWriter.prototype.beginDelimited_=function(o){return this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),o=this.encoder_.end(),this.blocks_.push(o),this.totalLength_+=o.length,o.push(this.totalLength_),o},jspb.BinaryWriter.prototype.endDelimited_=function(o){var t=o.pop();for(t=this.totalLength_+this.encoder_.length()-t,goog.asserts.assert(0<=t);127<t;)o.push(127&t|128),t>>>=7,this.totalLength_++;o.push(t),this.totalLength_++},jspb.BinaryWriter.prototype.writeSerializedMessage=function(o,t,n){this.appendUint8Array_(o.subarray(t,n))},jspb.BinaryWriter.prototype.maybeWriteSerializedMessage=function(o,t,n){null!=o&&null!=t&&null!=n&&this.writeSerializedMessage(o,t,n)},jspb.BinaryWriter.prototype.reset=function(){this.blocks_=[],this.encoder_.end(),this.totalLength_=0,this.bookmarks_=[]},jspb.BinaryWriter.prototype.getResultBuffer=function(){goog.asserts.assert(0==this.bookmarks_.length);for(var o=new Uint8Array(this.totalLength_+this.encoder_.length()),t=this.blocks_,n=t.length,r=0,e=0;e<n;e++){var g=t[e];o.set(g,r),r+=g.length}return t=this.encoder_.end(),o.set(t,r),goog.asserts.assert((r+=t.length)==o.length),this.blocks_=[o],o},jspb.BinaryWriter.prototype.getResultBase64String=function(o){return goog.crypt.base64.encodeByteArray(this.getResultBuffer(),o)},jspb.BinaryWriter.prototype.beginSubMessage=function(o){this.bookmarks_.push(this.beginDelimited_(o))},jspb.BinaryWriter.prototype.endSubMessage=function(){goog.asserts.assert(0<=this.bookmarks_.length),this.endDelimited_(this.bookmarks_.pop())},jspb.BinaryWriter.prototype.writeFieldHeader_=function(o,t){goog.asserts.assert(1<=o&&o==Math.floor(o)),this.encoder_.writeUnsignedVarint32(8*o+t)},jspb.BinaryWriter.prototype.writeAny=function(o,t,n){var r=jspb.BinaryConstants.FieldType;switch(o){case r.DOUBLE:this.writeDouble(t,n);break;case r.FLOAT:this.writeFloat(t,n);break;case r.INT64:this.writeInt64(t,n);break;case r.UINT64:this.writeUint64(t,n);break;case r.INT32:this.writeInt32(t,n);break;case r.FIXED64:this.writeFixed64(t,n);break;case r.FIXED32:this.writeFixed32(t,n);break;case r.BOOL:this.writeBool(t,n);break;case r.STRING:this.writeString(t,n);break;case r.GROUP:goog.asserts.fail("Group field type not supported in writeAny()");break;case r.MESSAGE:goog.asserts.fail("Message field type not supported in writeAny()");break;case r.BYTES:this.writeBytes(t,n);break;case r.UINT32:this.writeUint32(t,n);break;case r.ENUM:this.writeEnum(t,n);break;case r.SFIXED32:this.writeSfixed32(t,n);break;case r.SFIXED64:this.writeSfixed64(t,n);break;case r.SINT32:this.writeSint32(t,n);break;case r.SINT64:this.writeSint64(t,n);break;case r.FHASH64:this.writeFixedHash64(t,n);break;case r.VHASH64:this.writeVarintHash64(t,n);break;default:goog.asserts.fail("Invalid field type in writeAny()")}},jspb.BinaryWriter.prototype.writeUnsignedVarint32_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint32(t))},jspb.BinaryWriter.prototype.writeSignedVarint32_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(t))},jspb.BinaryWriter.prototype.writeUnsignedVarint64_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint64(t))},jspb.BinaryWriter.prototype.writeSignedVarint64_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint64(t))},jspb.BinaryWriter.prototype.writeZigzagVarint32_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint32(t))},jspb.BinaryWriter.prototype.writeZigzagVarint64_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64(t))},jspb.BinaryWriter.prototype.writeZigzagVarint64String_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64String(t))},jspb.BinaryWriter.prototype.writeZigzagVarintHash64_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarintHash64(t))},jspb.BinaryWriter.prototype.writeInt32=function(o,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(o,t))},jspb.BinaryWriter.prototype.writeInt32String=function(o,t){null!=t&&(t=parseInt(t,10),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(o,t))},jspb.BinaryWriter.prototype.writeInt64=function(o,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeSignedVarint64_(o,t))},jspb.BinaryWriter.prototype.writeInt64String=function(o,t){null!=t&&(t=jspb.arith.Int64.fromString(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeUint32=function(o,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(o,t))},jspb.BinaryWriter.prototype.writeUint32String=function(o,t){null!=t&&(t=parseInt(t,10),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(o,t))},jspb.BinaryWriter.prototype.writeUint64=function(o,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),this.writeUnsignedVarint64_(o,t))},jspb.BinaryWriter.prototype.writeUint64String=function(o,t){null!=t&&(t=jspb.arith.UInt64.fromString(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeSint32=function(o,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeZigzagVarint32_(o,t))},jspb.BinaryWriter.prototype.writeSint64=function(o,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeZigzagVarint64_(o,t))},jspb.BinaryWriter.prototype.writeSintHash64=function(o,t){null!=t&&this.writeZigzagVarintHash64_(o,t)},jspb.BinaryWriter.prototype.writeSint64String=function(o,t){null!=t&&this.writeZigzagVarint64String_(o,t)},jspb.BinaryWriter.prototype.writeFixed32=function(o,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeUint32(t))},jspb.BinaryWriter.prototype.writeFixed64=function(o,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeUint64(t))},jspb.BinaryWriter.prototype.writeFixed64String=function(o,t){null!=t&&(t=jspb.arith.UInt64.fromString(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeSfixed32=function(o,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeInt32(t))},jspb.BinaryWriter.prototype.writeSfixed64=function(o,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeInt64(t))},jspb.BinaryWriter.prototype.writeSfixed64String=function(o,t){null!=t&&(t=jspb.arith.Int64.fromString(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeFloat=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeFloat(t))},jspb.BinaryWriter.prototype.writeDouble=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeDouble(t))},jspb.BinaryWriter.prototype.writeBool=function(o,t){null!=t&&(goog.asserts.assert("boolean"==typeof t||"number"==typeof t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeBool(t))},jspb.BinaryWriter.prototype.writeEnum=function(o,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(t))},jspb.BinaryWriter.prototype.writeString=function(o,t){null!=t&&(o=this.beginDelimited_(o),this.encoder_.writeString(t),this.endDelimited_(o))},jspb.BinaryWriter.prototype.writeBytes=function(o,t){null!=t&&(t=jspb.utils.byteSourceToUint8Array(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(t.length),this.appendUint8Array_(t))},jspb.BinaryWriter.prototype.writeMessage=function(o,t,n){null!=t&&(o=this.beginDelimited_(o),n(t,this),this.endDelimited_(o))},jspb.BinaryWriter.prototype.writeMessageSet=function(o,t,n){null!=t&&(this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.START_GROUP),this.writeFieldHeader_(2,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(o),o=this.beginDelimited_(3),n(t,this),this.endDelimited_(o),this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeGroup=function(o,t,n){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),n(t,this),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeFixedHash64=function(o,t){null!=t&&(goog.asserts.assert(8==t.length),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeFixedHash64(t))},jspb.BinaryWriter.prototype.writeVarintHash64=function(o,t){null!=t&&(goog.asserts.assert(8==t.length),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeVarintHash64(t))},jspb.BinaryWriter.prototype.writeSplitFixed64=function(o,t,n){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t,n)},jspb.BinaryWriter.prototype.writeSplitVarint64=function(o,t,n){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t,n)},jspb.BinaryWriter.prototype.writeSplitZigzagVarint64=function(o,t,n){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT);var r=this.encoder_;jspb.utils.toZigzag64(t,n,(function(o,t){r.writeSplitVarint64(o>>>0,t>>>0)}))},jspb.BinaryWriter.prototype.writeRepeatedInt32=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeSignedVarint32_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedInt32String=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeInt32String(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedInt64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeSignedVarint64_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSplitFixed64=function(o,t,n,r){if(null!=t)for(var e=0;e<t.length;e++)this.writeSplitFixed64(o,n(t[e]),r(t[e]))},jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(o,t,n,r){if(null!=t)for(var e=0;e<t.length;e++)this.writeSplitVarint64(o,n(t[e]),r(t[e]))},jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(o,t,n,r){if(null!=t)for(var e=0;e<t.length;e++)this.writeSplitZigzagVarint64(o,n(t[e]),r(t[e]))},jspb.BinaryWriter.prototype.writeRepeatedInt64String=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeInt64String(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedUint32=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeUnsignedVarint32_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedUint32String=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeUint32String(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedUint64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeUnsignedVarint64_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedUint64String=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeUint64String(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSint32=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeZigzagVarint32_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSint64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeZigzagVarint64_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSint64String=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeZigzagVarint64String_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSintHash64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeZigzagVarintHash64_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedFixed32=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeFixed32(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedFixed64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeFixed64(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedFixed64String=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeFixed64String(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSfixed32=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeSfixed32(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSfixed64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeSfixed64(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSfixed64String=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeSfixed64String(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedFloat=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeFloat(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedDouble=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeDouble(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedBool=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeBool(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedEnum=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeEnum(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedString=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeString(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedBytes=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeBytes(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedMessage=function(o,t,n){if(null!=t)for(var r=0;r<t.length;r++){var e=this.beginDelimited_(o);n(t[r],this),this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writeRepeatedGroup=function(o,t,n){if(null!=t)for(var r=0;r<t.length;r++)this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),n(t[r],this),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.END_GROUP)},jspb.BinaryWriter.prototype.writeRepeatedFixedHash64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeFixedHash64(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedVarintHash64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeVarintHash64(o,t[n])},jspb.BinaryWriter.prototype.writePackedInt32=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeSignedVarint32(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedInt32String=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeSignedVarint32(parseInt(t[n],10));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedInt64=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeSignedVarint64(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSplitFixed64=function(o,t,n,r){if(null!=t){o=this.beginDelimited_(o);for(var e=0;e<t.length;e++)this.encoder_.writeSplitFixed64(n(t[e]),r(t[e]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(o,t,n,r){if(null!=t){o=this.beginDelimited_(o);for(var e=0;e<t.length;e++)this.encoder_.writeSplitVarint64(n(t[e]),r(t[e]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(o,t,n,r){if(null!=t){o=this.beginDelimited_(o);for(var e=this.encoder_,g=0;g<t.length;g++)jspb.utils.toZigzag64(n(t[g]),r(t[g]),(function(o,t){e.writeSplitVarint64(o>>>0,t>>>0)}));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedInt64String=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++){var r=jspb.arith.Int64.fromString(t[n]);this.encoder_.writeSplitVarint64(r.lo,r.hi)}this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint32=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeUnsignedVarint32(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint32String=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeUnsignedVarint32(parseInt(t[n],10));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint64=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeUnsignedVarint64(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint64String=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++){var r=jspb.arith.UInt64.fromString(t[n]);this.encoder_.writeSplitVarint64(r.lo,r.hi)}this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSint32=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeZigzagVarint32(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSint64=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeZigzagVarint64(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSint64String=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(t[n]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSintHash64=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeZigzagVarintHash64(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedFixed32=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),o=0;o<t.length;o++)this.encoder_.writeUint32(t[o])},jspb.BinaryWriter.prototype.writePackedFixed64=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeUint64(t[o])},jspb.BinaryWriter.prototype.writePackedFixed64String=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++){var n=jspb.arith.UInt64.fromString(t[o]);this.encoder_.writeSplitFixed64(n.lo,n.hi)}},jspb.BinaryWriter.prototype.writePackedSfixed32=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),o=0;o<t.length;o++)this.encoder_.writeInt32(t[o])},jspb.BinaryWriter.prototype.writePackedSfixed64=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeInt64(t[o])},jspb.BinaryWriter.prototype.writePackedSfixed64String=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeInt64String(t[o])},jspb.BinaryWriter.prototype.writePackedFloat=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),o=0;o<t.length;o++)this.encoder_.writeFloat(t[o])},jspb.BinaryWriter.prototype.writePackedDouble=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeDouble(t[o])},jspb.BinaryWriter.prototype.writePackedBool=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(t.length),o=0;o<t.length;o++)this.encoder_.writeBool(t[o])},jspb.BinaryWriter.prototype.writePackedEnum=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeEnum(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedFixedHash64=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeFixedHash64(t[o])},jspb.BinaryWriter.prototype.writePackedVarintHash64=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeVarintHash64(t[n]);this.endDelimited_(o)}},jspb.Map=function(o,t){this.arr_=o,this.valueCtor_=t,this.map_={},this.arrClean=!0,0<this.arr_.length&&this.loadFromArray_()},jspb.Map.prototype.loadFromArray_=function(){for(var o=0;o<this.arr_.length;o++){var t=this.arr_[o],n=t[0];this.map_[n.toString()]=new jspb.Map.Entry_(n,t[1])}this.arrClean=!0},jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var o,t=this.map_;for(o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var n=t[o].valueWrapper;n&&n.toArray()}}}else{for(this.arr_.length=0,(t=this.stringKeys_()).sort(),o=0;o<t.length;o++){var r=this.map_[t[o]];(n=r.valueWrapper)&&n.toArray(),this.arr_.push([r.key,r.value])}this.arrClean=!0}return this.arr_},jspb.Map.prototype.toObject=function(o,t){for(var n=this.toArray(),r=[],e=0;e<n.length;e++){var g=this.map_[n[e][0].toString()];this.wrapEntry_(g);var i=g.valueWrapper;i?(goog.asserts.assert(t),r.push([g.key,t(o,i)])):r.push([g.key,g.value])}return r},jspb.Map.fromObject=function(o,t,n){t=new jspb.Map([],t);for(var r=0;r<o.length;r++){var e=o[r][0],g=n(o[r][1]);t.set(e,g)}return t},jspb.Map.ArrayIteratorIterable_=function(o){this.idx_=0,this.arr_=o},jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}},"undefined"!=typeof Symbol&&(jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this}),jspb.Map.prototype.getLength=function(){return this.stringKeys_().length},jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1},jspb.Map.prototype.del=function(o){o=o.toString();var t=this.map_.hasOwnProperty(o);return delete this.map_[o],this.arrClean=!1,t},jspb.Map.prototype.getEntryList=function(){var o=[],t=this.stringKeys_();t.sort();for(var n=0;n<t.length;n++){var r=this.map_[t[n]];o.push([r.key,r.value])}return o},jspb.Map.prototype.entries=function(){var o=[],t=this.stringKeys_();t.sort();for(var n=0;n<t.length;n++){var r=this.map_[t[n]];o.push([r.key,this.wrapEntry_(r)])}return new jspb.Map.ArrayIteratorIterable_(o)},jspb.Map.prototype.keys=function(){var o=[],t=this.stringKeys_();t.sort();for(var n=0;n<t.length;n++)o.push(this.map_[t[n]].key);return new jspb.Map.ArrayIteratorIterable_(o)},jspb.Map.prototype.values=function(){var o=[],t=this.stringKeys_();t.sort();for(var n=0;n<t.length;n++)o.push(this.wrapEntry_(this.map_[t[n]]));return new jspb.Map.ArrayIteratorIterable_(o)},jspb.Map.prototype.forEach=function(o,t){var n=this.stringKeys_();n.sort();for(var r=0;r<n.length;r++){var e=this.map_[n[r]];o.call(t,this.wrapEntry_(e),e.key,this)}},jspb.Map.prototype.set=function(o,t){var n=new jspb.Map.Entry_(o);return this.valueCtor_?(n.valueWrapper=t,n.value=t.toArray()):n.value=t,this.map_[o.toString()]=n,this.arrClean=!1,this},jspb.Map.prototype.wrapEntry_=function(o){return this.valueCtor_?(o.valueWrapper||(o.valueWrapper=new this.valueCtor_(o.value)),o.valueWrapper):o.value},jspb.Map.prototype.get=function(o){if(o=this.map_[o.toString()])return this.wrapEntry_(o)},jspb.Map.prototype.has=function(o){return o.toString()in this.map_},jspb.Map.prototype.serializeBinary=function(o,t,n,r,e){var g=this.stringKeys_();g.sort();for(var i=0;i<g.length;i++){var u=this.map_[g[i]];t.beginSubMessage(o),n.call(t,1,u.key),this.valueCtor_?r.call(t,2,this.wrapEntry_(u),e):r.call(t,2,u.value),t.endSubMessage()}},jspb.Map.deserializeBinary=function(o,t,n,r,e,g,i){for(;t.nextField()&&!t.isEndGroup();){var u=t.getFieldNumber();1==u?g=n.call(t):2==u&&(o.valueCtor_?(goog.asserts.assert(e),i||(i=new o.valueCtor_),r.call(t,i,e)):i=r.call(t))}goog.asserts.assert(null!=g),goog.asserts.assert(null!=i),o.set(g,i)},jspb.Map.prototype.stringKeys_=function(){var o,t=this.map_,n=[];for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&n.push(o);return n},jspb.Map.Entry_=function(o,t){this.key=o,this.value=t,this.valueWrapper=void 0},jspb.ExtensionFieldInfo=function(o,t,n,r,e){this.fieldIndex=o,this.fieldName=t,this.ctor=n,this.toObjectFn=r,this.isRepeated=e},jspb.ExtensionFieldBinaryInfo=function(o,t,n,r,e,g){this.fieldInfo=o,this.binaryReaderFn=t,this.binaryWriterFn=n,this.binaryMessageSerializeFn=r,this.binaryMessageDeserializeFn=e,this.isPacked=g},jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return!!this.ctor},jspb.Message=function(){},jspb.Message.GENERATE_TO_OBJECT=!0,jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE,jspb.Message.GENERATE_TO_STRING=!0,jspb.Message.ASSUME_LOCAL_ARRAYS=!1,jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS=!0,jspb.Message.SUPPORTS_UINT8ARRAY_="function"==typeof Uint8Array,jspb.Message.prototype.getJsPbMessageId=function(){return this.messageId_},jspb.Message.getIndex_=function(o,t){return t+o.arrayIndexOffset_},jspb.Message.hiddenES6Property_=function(){},jspb.Message.getFieldNumber_=function(o,t){return t-o.arrayIndexOffset_},jspb.Message.initialize=function(o,t,n,r,e,g){if(o.wrappers_=null,t||(t=n?[n]:[]),o.messageId_=n?String(n):void 0,o.arrayIndexOffset_=0===n?-1:0,o.array=t,jspb.Message.initPivotAndExtensionObject_(o,r),o.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(o.repeatedFields=e),e)for(t=0;t<e.length;t++)(n=e[t])<o.pivot_?(n=jspb.Message.getIndex_(o,n),o.array[n]=o.array[n]||jspb.Message.EMPTY_LIST_SENTINEL_):(jspb.Message.maybeInitEmptyExtensionObject_(o),o.extensionObject_[n]=o.extensionObject_[n]||jspb.Message.EMPTY_LIST_SENTINEL_);if(g&&g.length)for(t=0;t<g.length;t++)jspb.Message.computeOneofCase(o,g[t])},jspb.Message.EMPTY_LIST_SENTINEL_=goog.DEBUG&&Object.freeze?Object.freeze([]):[],jspb.Message.isArray_=function(o){return jspb.Message.ASSUME_LOCAL_ARRAYS?o instanceof Array:Array.isArray(o)},jspb.Message.isExtensionObject_=function(o){return!(null===o||"object"!=typeof o||jspb.Message.isArray_(o)||jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)},jspb.Message.initPivotAndExtensionObject_=function(o,t){var n=o.array.length,r=-1;if(n&&jspb.Message.isExtensionObject_(n=o.array[r=n-1]))return o.pivot_=jspb.Message.getFieldNumber_(o,r),void(o.extensionObject_=n);-1<t?(o.pivot_=Math.max(t,jspb.Message.getFieldNumber_(o,r+1)),o.extensionObject_=null):o.pivot_=Number.MAX_VALUE},jspb.Message.maybeInitEmptyExtensionObject_=function(o){var t=jspb.Message.getIndex_(o,o.pivot_);o.array[t]||(o.extensionObject_=o.array[t]={})},jspb.Message.toObjectList=function(o,t,n){for(var r=[],e=0;e<o.length;e++)r[e]=t.call(o[e],n,o[e]);return r},jspb.Message.toObjectExtension=function(o,t,n,r,e){for(var g in n){var i=n[g],u=r.call(o,i);if(null!=u){for(var s in i.fieldName)if(i.fieldName.hasOwnProperty(s))break;t[s]=i.toObjectFn?i.isRepeated?jspb.Message.toObjectList(u,i.toObjectFn,e):i.toObjectFn(e,u):u}}},jspb.Message.serializeBinaryExtensions=function(o,t,n,r){for(var e in n){var g=n[e],i=g.fieldInfo;if(!g.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var u=r.call(o,i);if(null!=u)if(i.isMessageType()){if(!g.binaryMessageSerializeFn)throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");g.binaryWriterFn.call(t,i.fieldIndex,u,g.binaryMessageSerializeFn)}else g.binaryWriterFn.call(t,i.fieldIndex,u)}},jspb.Message.readBinaryExtension=function(o,t,n,r,e){var g=n[t.getFieldNumber()];if(g){if(n=g.fieldInfo,!g.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(n.isMessageType()){var i=new n.ctor;g.binaryReaderFn.call(t,i,g.binaryMessageDeserializeFn)}else i=g.binaryReaderFn.call(t);n.isRepeated&&!g.isPacked?(t=r.call(o,n))?t.push(i):e.call(o,n,[i]):e.call(o,n,i)}else t.skipField()},jspb.Message.getField=function(o,t){if(t<o.pivot_){t=jspb.Message.getIndex_(o,t);var n=o.array[t];return n===jspb.Message.EMPTY_LIST_SENTINEL_?o.array[t]=[]:n}if(o.extensionObject_)return(n=o.extensionObject_[t])===jspb.Message.EMPTY_LIST_SENTINEL_?o.extensionObject_[t]=[]:n},jspb.Message.getRepeatedField=function(o,t){return jspb.Message.getField(o,t)},jspb.Message.getOptionalFloatingPointField=function(o,t){return null==(o=jspb.Message.getField(o,t))?o:+o},jspb.Message.getBooleanField=function(o,t){return null==(o=jspb.Message.getField(o,t))?o:!!o},jspb.Message.getRepeatedFloatingPointField=function(o,t){var n=jspb.Message.getRepeatedField(o,t);if(o.convertedPrimitiveFields_||(o.convertedPrimitiveFields_={}),!o.convertedPrimitiveFields_[t]){for(var r=0;r<n.length;r++)n[r]=+n[r];o.convertedPrimitiveFields_[t]=!0}return n},jspb.Message.getRepeatedBooleanField=function(o,t){var n=jspb.Message.getRepeatedField(o,t);if(o.convertedPrimitiveFields_||(o.convertedPrimitiveFields_={}),!o.convertedPrimitiveFields_[t]){for(var r=0;r<n.length;r++)n[r]=!!n[r];o.convertedPrimitiveFields_[t]=!0}return n},jspb.Message.bytesAsB64=function(o){return null==o||"string"==typeof o?o:jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array?goog.crypt.base64.encodeByteArray(o):(goog.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(o)),null)},jspb.Message.bytesAsU8=function(o){return null==o||o instanceof Uint8Array?o:"string"==typeof o?goog.crypt.base64.decodeStringToUint8Array(o):(goog.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(o)),null)},jspb.Message.bytesListAsB64=function(o){return jspb.Message.assertConsistentTypes_(o),o.length&&"string"!=typeof o[0]?goog.array.map(o,jspb.Message.bytesAsB64):o},jspb.Message.bytesListAsU8=function(o){return jspb.Message.assertConsistentTypes_(o),!o.length||o[0]instanceof Uint8Array?o:goog.array.map(o,jspb.Message.bytesAsU8)},jspb.Message.assertConsistentTypes_=function(o){if(goog.DEBUG&&o&&1<o.length){var t=goog.typeOf(o[0]);goog.array.forEach(o,(function(o){goog.typeOf(o)!=t&&goog.asserts.fail("Inconsistent type in JSPB repeated field array. Got "+goog.typeOf(o)+" expected "+t)}))}},jspb.Message.getFieldWithDefault=function(o,t,n){return null==(o=jspb.Message.getField(o,t))?n:o},jspb.Message.getBooleanFieldWithDefault=function(o,t,n){return null==(o=jspb.Message.getBooleanField(o,t))?n:o},jspb.Message.getFloatingPointFieldWithDefault=function(o,t,n){return null==(o=jspb.Message.getOptionalFloatingPointField(o,t))?n:o},jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault,jspb.Message.getMapField=function(o,t,n,r){if(o.wrappers_||(o.wrappers_={}),t in o.wrappers_)return o.wrappers_[t];var e=jspb.Message.getField(o,t);if(!e){if(n)return;jspb.Message.setField(o,t,e=[])}return o.wrappers_[t]=new jspb.Map(e,r)},jspb.Message.setField=function(o,t,n){return goog.asserts.assertInstanceof(o,jspb.Message),t<o.pivot_?o.array[jspb.Message.getIndex_(o,t)]=n:(jspb.Message.maybeInitEmptyExtensionObject_(o),o.extensionObject_[t]=n),o},jspb.Message.setProto3IntField=function(o,t,n){return jspb.Message.setFieldIgnoringDefault_(o,t,n,0)},jspb.Message.setProto3FloatField=function(o,t,n){return jspb.Message.setFieldIgnoringDefault_(o,t,n,0)},jspb.Message.setProto3BooleanField=function(o,t,n){return jspb.Message.setFieldIgnoringDefault_(o,t,n,!1)},jspb.Message.setProto3StringField=function(o,t,n){return jspb.Message.setFieldIgnoringDefault_(o,t,n,"")},jspb.Message.setProto3BytesField=function(o,t,n){return jspb.Message.setFieldIgnoringDefault_(o,t,n,"")},jspb.Message.setProto3EnumField=function(o,t,n){return jspb.Message.setFieldIgnoringDefault_(o,t,n,0)},jspb.Message.setProto3StringIntField=function(o,t,n){return jspb.Message.setFieldIgnoringDefault_(o,t,n,"0")},jspb.Message.setFieldIgnoringDefault_=function(o,t,n,r){return goog.asserts.assertInstanceof(o,jspb.Message),n!==r?jspb.Message.setField(o,t,n):t<o.pivot_?o.array[jspb.Message.getIndex_(o,t)]=null:(jspb.Message.maybeInitEmptyExtensionObject_(o),delete o.extensionObject_[t]),o},jspb.Message.addToRepeatedField=function(o,t,n,r){return goog.asserts.assertInstanceof(o,jspb.Message),t=jspb.Message.getRepeatedField(o,t),null!=r?t.splice(r,0,n):t.push(n),o},jspb.Message.setOneofField=function(o,t,n,r){return goog.asserts.assertInstanceof(o,jspb.Message),(n=jspb.Message.computeOneofCase(o,n))&&n!==t&&void 0!==r&&(o.wrappers_&&n in o.wrappers_&&(o.wrappers_[n]=void 0),jspb.Message.setField(o,n,void 0)),jspb.Message.setField(o,t,r)},jspb.Message.computeOneofCase=function(o,t){for(var n,r,e=0;e<t.length;e++){var g=t[e],i=jspb.Message.getField(o,g);null!=i&&(n=g,r=i,jspb.Message.setField(o,g,void 0))}return n?(jspb.Message.setField(o,n,r),n):0},jspb.Message.getWrapperField=function(o,t,n,r){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[n]){var e=jspb.Message.getField(o,n);(r||e)&&(o.wrappers_[n]=new t(e))}return o.wrappers_[n]},jspb.Message.getRepeatedWrapperField=function(o,t,n){return jspb.Message.wrapRepeatedField_(o,t,n),(t=o.wrappers_[n])==jspb.Message.EMPTY_LIST_SENTINEL_&&(t=o.wrappers_[n]=[]),t},jspb.Message.wrapRepeatedField_=function(o,t,n){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[n]){for(var r=jspb.Message.getRepeatedField(o,n),e=[],g=0;g<r.length;g++)e[g]=new t(r[g]);o.wrappers_[n]=e}},jspb.Message.setWrapperField=function(o,t,n){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var r=n?n.toArray():n;return o.wrappers_[t]=n,jspb.Message.setField(o,t,r)},jspb.Message.setOneofWrapperField=function(o,t,n,r){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var e=r?r.toArray():r;return o.wrappers_[t]=r,jspb.Message.setOneofField(o,t,n,e)},jspb.Message.setRepeatedWrapperField=function(o,t,n){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={}),n=n||[];for(var r=[],e=0;e<n.length;e++)r[e]=n[e].toArray();return o.wrappers_[t]=n,jspb.Message.setField(o,t,r)},jspb.Message.addToRepeatedWrapperField=function(o,t,n,r,e){jspb.Message.wrapRepeatedField_(o,r,t);var g=o.wrappers_[t];return g||(g=o.wrappers_[t]=[]),n=n||new r,o=jspb.Message.getRepeatedField(o,t),null!=e?(g.splice(e,0,n),o.splice(e,0,n.toArray())):(g.push(n),o.push(n.toArray())),n},jspb.Message.toMap=function(o,t,n,r){for(var e={},g=0;g<o.length;g++)e[t.call(o[g])]=n?n.call(o[g],r,o[g]):o[g];return e},jspb.Message.prototype.syncMapFields_=function(){if(this.wrappers_)for(var o in this.wrappers_){var t=this.wrappers_[o];if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]&&t[n].toArray();else t&&t.toArray()}},jspb.Message.prototype.toArray=function(){return this.syncMapFields_(),this.array},jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){return this.syncMapFields_(),this.array.toString()}),jspb.Message.prototype.getExtension=function(o){if(this.extensionObject_){this.wrappers_||(this.wrappers_={});var t=o.fieldIndex;if(o.isRepeated){if(o.isMessageType())return this.wrappers_[t]||(this.wrappers_[t]=goog.array.map(this.extensionObject_[t]||[],(function(t){return new o.ctor(t)}))),this.wrappers_[t]}else if(o.isMessageType())return!this.wrappers_[t]&&this.extensionObject_[t]&&(this.wrappers_[t]=new o.ctor(this.extensionObject_[t])),this.wrappers_[t];return this.extensionObject_[t]}},jspb.Message.prototype.setExtension=function(o,t){this.wrappers_||(this.wrappers_={}),jspb.Message.maybeInitEmptyExtensionObject_(this);var n=o.fieldIndex;return o.isRepeated?(t=t||[],o.isMessageType()?(this.wrappers_[n]=t,this.extensionObject_[n]=goog.array.map(t,(function(o){return o.toArray()}))):this.extensionObject_[n]=t):o.isMessageType()?(this.wrappers_[n]=t,this.extensionObject_[n]=t?t.toArray():t):this.extensionObject_[n]=t,this},jspb.Message.difference=function(o,t){if(!(o instanceof t.constructor))throw Error("Messages have different types.");var n=o.toArray();t=t.toArray();var r=[],e=0,g=n.length>t.length?n.length:t.length;for(o.getJsPbMessageId()&&(r[0]=o.getJsPbMessageId(),e=1);e<g;e++)jspb.Message.compareFields(n[e],t[e])||(r[e]=t[e]);return new o.constructor(r)},jspb.Message.equals=function(o,t){return o==t||!(!o||!t)&&o instanceof t.constructor&&jspb.Message.compareFields(o.toArray(),t.toArray())},jspb.Message.compareExtensions=function(o,t){o=o||{},t=t||{};var n,r={};for(n in o)r[n]=0;for(n in t)r[n]=0;for(n in r)if(!jspb.Message.compareFields(o[n],t[n]))return!1;return!0},jspb.Message.compareFields=function(o,t){if(o==t)return!0;if(!goog.isObject(o)||!goog.isObject(t))return!!("number"==typeof o&&isNaN(o)||"number"==typeof t&&isNaN(t))&&String(o)==String(t);if(o.constructor!=t.constructor)return!1;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o.constructor===Uint8Array){if(o.length!=t.length)return!1;for(var n=0;n<o.length;n++)if(o[n]!=t[n])return!1;return!0}if(o.constructor===Array){var r=void 0,e=void 0,g=Math.max(o.length,t.length);for(n=0;n<g;n++){var i=o[n],u=t[n];if(i&&i.constructor==Object&&(goog.asserts.assert(void 0===r),goog.asserts.assert(n===o.length-1),r=i,i=void 0),u&&u.constructor==Object&&(goog.asserts.assert(void 0===e),goog.asserts.assert(n===t.length-1),e=u,u=void 0),!jspb.Message.compareFields(i,u))return!1}return!r&&!e||jspb.Message.compareExtensions(r=r||{},e=e||{})}if(o.constructor===Object)return jspb.Message.compareExtensions(o,t);throw Error("Invalid type in JSPB array")},jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)},jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)},jspb.Message.clone=function(o){return jspb.Message.cloneMessage(o)},jspb.Message.cloneMessage=function(o){return new o.constructor(jspb.Message.clone_(o.toArray()))},jspb.Message.copyInto=function(o,t){goog.asserts.assertInstanceof(o,jspb.Message),goog.asserts.assertInstanceof(t,jspb.Message),goog.asserts.assert(o.constructor==t.constructor,"Copy source and target message should have the same type."),o=jspb.Message.clone(o);for(var n=t.toArray(),r=o.toArray(),e=n.length=0;e<r.length;e++)n[e]=r[e];t.wrappers_=o.wrappers_,t.extensionObject_=o.extensionObject_},jspb.Message.clone_=function(o){if(Array.isArray(o)){for(var t=Array(o.length),n=0;n<o.length;n++){var r=o[n];null!=r&&(t[n]="object"==typeof r?jspb.Message.clone_(goog.asserts.assert(r)):r)}return t}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)return new Uint8Array(o);for(n in t={},o)null!=(r=o[n])&&(t[n]="object"==typeof r?jspb.Message.clone_(goog.asserts.assert(r)):r);return t},jspb.Message.registerMessageType=function(o,t){t.messageId=o},jspb.Message.messageSetExtensions={},jspb.Message.messageSetExtensionsBinary={},jspb.Export={};var _Map=jspb.Map,Message=jspb.Message,BinaryReader=jspb.BinaryReader,BinaryWriter=jspb.BinaryWriter,ExtensionFieldInfo=jspb.ExtensionFieldInfo,ExtensionFieldBinaryInfo=jspb.ExtensionFieldBinaryInfo,exportSymbol=goog.exportSymbol,inherits=goog.inherits,object={extend:goog.object.extend},typeOf=goog.typeOf,googleProtobuf={Map:_Map,Message,BinaryReader,BinaryWriter,ExtensionFieldInfo,ExtensionFieldBinaryInfo,exportSymbol,inherits,object,typeOf},paging_pb=createCommonjsModule((function(o,t){var n=googleProtobuf,r=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.core.Cursor",null,r),n.exportSymbol("proto.vertexvis.protobuf.core.OffsetCursor",null,r),n.exportSymbol("proto.vertexvis.protobuf.core.OffsetPager",null,r),n.exportSymbol("proto.vertexvis.protobuf.core.Pager",null,r),proto.vertexvis.protobuf.core.Pager=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Pager,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Pager.displayName="proto.vertexvis.protobuf.core.Pager"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Pager.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Pager.toObject(o,this)},proto.vertexvis.protobuf.core.Pager.toObject=function(o,t){var n={limit:googleProtobuf.Message.getFieldWithDefault(t,1,0),cursor:googleProtobuf.Message.getFieldWithDefault(t,2,"")};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.Pager.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Pager;return proto.vertexvis.protobuf.core.Pager.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.core.Pager.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readUint32();o.setLimit(n);break;case 2:n=t.readString(),o.setCursor(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Pager.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.core.Pager.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Pager.serializeBinaryToWriter=function(o,t){var n=void 0;0!==(n=o.getLimit())&&t.writeUint32(1,n),(n=o.getCursor()).length>0&&t.writeString(2,n)},proto.vertexvis.protobuf.core.Pager.prototype.getLimit=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Pager.prototype.setLimit=function(o){googleProtobuf.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.core.Pager.prototype.getCursor=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,"")},proto.vertexvis.protobuf.core.Pager.prototype.setCursor=function(o){googleProtobuf.Message.setProto3StringField(this,2,o)},proto.vertexvis.protobuf.core.OffsetPager=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_)},n.inherits(proto.vertexvis.protobuf.core.OffsetPager,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.OffsetPager.displayName="proto.vertexvis.protobuf.core.OffsetPager"),proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_=[[2,3]],proto.vertexvis.protobuf.core.OffsetPager.PagerCase={PAGER_NOT_SET:0,CURSOR:2,OFFSET:3},proto.vertexvis.protobuf.core.OffsetPager.prototype.getPagerCase=function(){return googleProtobuf.Message.computeOneofCase(this,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0])},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.OffsetPager.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.OffsetPager.toObject(o,this)},proto.vertexvis.protobuf.core.OffsetPager.toObject=function(o,t){var n={limit:googleProtobuf.Message.getFieldWithDefault(t,1,0),cursor:googleProtobuf.Message.getFieldWithDefault(t,2,""),offset:googleProtobuf.Message.getFieldWithDefault(t,3,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.OffsetPager.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.core.OffsetPager;return proto.vertexvis.protobuf.core.OffsetPager.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.core.OffsetPager.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readUint32();o.setLimit(n);break;case 2:n=t.readString(),o.setCursor(n);break;case 3:n=t.readUint32(),o.setOffset(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.OffsetPager.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.core.OffsetPager.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.OffsetPager.serializeBinaryToWriter=function(o,t){var n=void 0;0!==(n=o.getLimit())&&t.writeUint32(1,n),null!=(n=googleProtobuf.Message.getField(o,2))&&t.writeString(2,n),null!=(n=googleProtobuf.Message.getField(o,3))&&t.writeUint32(3,n)},proto.vertexvis.protobuf.core.OffsetPager.prototype.getLimit=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.OffsetPager.prototype.setLimit=function(o){googleProtobuf.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.core.OffsetPager.prototype.getCursor=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,"")},proto.vertexvis.protobuf.core.OffsetPager.prototype.setCursor=function(o){googleProtobuf.Message.setOneofField(this,2,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],o)},proto.vertexvis.protobuf.core.OffsetPager.prototype.clearCursor=function(){googleProtobuf.Message.setOneofField(this,2,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],void 0)},proto.vertexvis.protobuf.core.OffsetPager.prototype.hasCursor=function(){return null!=googleProtobuf.Message.getField(this,2)},proto.vertexvis.protobuf.core.OffsetPager.prototype.getOffset=function(){return googleProtobuf.Message.getFieldWithDefault(this,3,0)},proto.vertexvis.protobuf.core.OffsetPager.prototype.setOffset=function(o){googleProtobuf.Message.setOneofField(this,3,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],o)},proto.vertexvis.protobuf.core.OffsetPager.prototype.clearOffset=function(){googleProtobuf.Message.setOneofField(this,3,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],void 0)},proto.vertexvis.protobuf.core.OffsetPager.prototype.hasOffset=function(){return null!=googleProtobuf.Message.getField(this,3)},proto.vertexvis.protobuf.core.Cursor=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Cursor,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Cursor.displayName="proto.vertexvis.protobuf.core.Cursor"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Cursor.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Cursor.toObject(o,this)},proto.vertexvis.protobuf.core.Cursor.toObject=function(o,t){var n={next:googleProtobuf.Message.getFieldWithDefault(t,1,"")};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.Cursor.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Cursor;return proto.vertexvis.protobuf.core.Cursor.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.core.Cursor.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readString();o.setNext(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Cursor.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.core.Cursor.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Cursor.serializeBinaryToWriter=function(o,t){var n;(n=o.getNext()).length>0&&t.writeString(1,n)},proto.vertexvis.protobuf.core.Cursor.prototype.getNext=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,"")},proto.vertexvis.protobuf.core.Cursor.prototype.setNext=function(o){googleProtobuf.Message.setProto3StringField(this,1,o)},proto.vertexvis.protobuf.core.OffsetCursor=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.OffsetCursor,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.OffsetCursor.displayName="proto.vertexvis.protobuf.core.OffsetCursor"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.OffsetCursor.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.OffsetCursor.toObject(o,this)},proto.vertexvis.protobuf.core.OffsetCursor.toObject=function(o,t){var n={total:googleProtobuf.Message.getFieldWithDefault(t,1,0),next:googleProtobuf.Message.getFieldWithDefault(t,2,"")};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.OffsetCursor.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.core.OffsetCursor;return proto.vertexvis.protobuf.core.OffsetCursor.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.core.OffsetCursor.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readUint32();o.setTotal(n);break;case 2:n=t.readString(),o.setNext(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.OffsetCursor.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.core.OffsetCursor.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.OffsetCursor.serializeBinaryToWriter=function(o,t){var n=void 0;0!==(n=o.getTotal())&&t.writeUint32(1,n),(n=o.getNext()).length>0&&t.writeString(2,n)},proto.vertexvis.protobuf.core.OffsetCursor.prototype.getTotal=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.OffsetCursor.prototype.setTotal=function(o){googleProtobuf.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.core.OffsetCursor.prototype.getNext=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,"")},proto.vertexvis.protobuf.core.OffsetCursor.prototype.setNext=function(o){googleProtobuf.Message.setProto3StringField(this,2,o)},n.object.extend(t,proto.vertexvis.protobuf.core)})),uuid_pb=createCommonjsModule((function(o,t){var n=googleProtobuf,r=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.core.Uuid",null,r),proto.vertexvis.protobuf.core.Uuid=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Uuid,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Uuid.displayName="proto.vertexvis.protobuf.core.Uuid"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Uuid.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Uuid.toObject(o,this)},proto.vertexvis.protobuf.core.Uuid.toObject=function(o,t){var n={hex:googleProtobuf.Message.getFieldWithDefault(t,1,"")};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.Uuid.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Uuid;return proto.vertexvis.protobuf.core.Uuid.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.core.Uuid.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readString();o.setHex(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Uuid.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.core.Uuid.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Uuid.serializeBinaryToWriter=function(o,t){var n;(n=o.getHex()).length>0&&t.writeString(1,n)},proto.vertexvis.protobuf.core.Uuid.prototype.getHex=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,"")},proto.vertexvis.protobuf.core.Uuid.prototype.setHex=function(o){googleProtobuf.Message.setProto3StringField(this,1,o)},n.object.extend(t,proto.vertexvis.protobuf.core)})),wrappers_pb=createCommonjsModule((function(o,t){var n=googleProtobuf,r=Function("return this")();n.exportSymbol("proto.google.protobuf.BoolValue",null,r),n.exportSymbol("proto.google.protobuf.BytesValue",null,r),n.exportSymbol("proto.google.protobuf.DoubleValue",null,r),n.exportSymbol("proto.google.protobuf.FloatValue",null,r),n.exportSymbol("proto.google.protobuf.Int32Value",null,r),n.exportSymbol("proto.google.protobuf.Int64Value",null,r),n.exportSymbol("proto.google.protobuf.StringValue",null,r),n.exportSymbol("proto.google.protobuf.UInt32Value",null,r),n.exportSymbol("proto.google.protobuf.UInt64Value",null,r),proto.google.protobuf.DoubleValue=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.DoubleValue,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.DoubleValue.displayName="proto.google.protobuf.DoubleValue"),proto.google.protobuf.FloatValue=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.FloatValue,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.FloatValue.displayName="proto.google.protobuf.FloatValue"),proto.google.protobuf.Int64Value=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.Int64Value,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.Int64Value.displayName="proto.google.protobuf.Int64Value"),proto.google.protobuf.UInt64Value=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.UInt64Value,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.UInt64Value.displayName="proto.google.protobuf.UInt64Value"),proto.google.protobuf.Int32Value=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.Int32Value,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.Int32Value.displayName="proto.google.protobuf.Int32Value"),proto.google.protobuf.UInt32Value=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.UInt32Value,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.UInt32Value.displayName="proto.google.protobuf.UInt32Value"),proto.google.protobuf.BoolValue=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.BoolValue,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.BoolValue.displayName="proto.google.protobuf.BoolValue"),proto.google.protobuf.StringValue=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.StringValue,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.StringValue.displayName="proto.google.protobuf.StringValue"),proto.google.protobuf.BytesValue=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.BytesValue,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.BytesValue.displayName="proto.google.protobuf.BytesValue"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DoubleValue.prototype.toObject=function(o){return proto.google.protobuf.DoubleValue.toObject(o,this)},proto.google.protobuf.DoubleValue.toObject=function(o,t){var n={value:googleProtobuf.Message.getFloatingPointFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.DoubleValue.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.DoubleValue;return proto.google.protobuf.DoubleValue.deserializeBinaryFromReader(n,t)},proto.google.protobuf.DoubleValue.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readDouble();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.DoubleValue.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.DoubleValue.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.DoubleValue.serializeBinaryToWriter=function(o,t){var n;0!==(n=o.getValue())&&t.writeDouble(1,n)},proto.google.protobuf.DoubleValue.prototype.getValue=function(){return googleProtobuf.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.google.protobuf.DoubleValue.prototype.setValue=function(o){return googleProtobuf.Message.setProto3FloatField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FloatValue.prototype.toObject=function(o){return proto.google.protobuf.FloatValue.toObject(o,this)},proto.google.protobuf.FloatValue.toObject=function(o,t){var n={value:googleProtobuf.Message.getFloatingPointFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.FloatValue.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.FloatValue;return proto.google.protobuf.FloatValue.deserializeBinaryFromReader(n,t)},proto.google.protobuf.FloatValue.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readFloat();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.FloatValue.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.FloatValue.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.FloatValue.serializeBinaryToWriter=function(o,t){var n;0!==(n=o.getValue())&&t.writeFloat(1,n)},proto.google.protobuf.FloatValue.prototype.getValue=function(){return googleProtobuf.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.google.protobuf.FloatValue.prototype.setValue=function(o){return googleProtobuf.Message.setProto3FloatField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Int64Value.prototype.toObject=function(o){return proto.google.protobuf.Int64Value.toObject(o,this)},proto.google.protobuf.Int64Value.toObject=function(o,t){var n={value:googleProtobuf.Message.getFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.Int64Value.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.Int64Value;return proto.google.protobuf.Int64Value.deserializeBinaryFromReader(n,t)},proto.google.protobuf.Int64Value.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readInt64();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.Int64Value.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.Int64Value.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.Int64Value.serializeBinaryToWriter=function(o,t){var n;0!==(n=o.getValue())&&t.writeInt64(1,n)},proto.google.protobuf.Int64Value.prototype.getValue=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Int64Value.prototype.setValue=function(o){return googleProtobuf.Message.setProto3IntField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UInt64Value.prototype.toObject=function(o){return proto.google.protobuf.UInt64Value.toObject(o,this)},proto.google.protobuf.UInt64Value.toObject=function(o,t){var n={value:googleProtobuf.Message.getFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.UInt64Value.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.UInt64Value;return proto.google.protobuf.UInt64Value.deserializeBinaryFromReader(n,t)},proto.google.protobuf.UInt64Value.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readUint64();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.UInt64Value.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.UInt64Value.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.UInt64Value.serializeBinaryToWriter=function(o,t){var n;0!==(n=o.getValue())&&t.writeUint64(1,n)},proto.google.protobuf.UInt64Value.prototype.getValue=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.UInt64Value.prototype.setValue=function(o){return googleProtobuf.Message.setProto3IntField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Int32Value.prototype.toObject=function(o){return proto.google.protobuf.Int32Value.toObject(o,this)},proto.google.protobuf.Int32Value.toObject=function(o,t){var n={value:googleProtobuf.Message.getFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.Int32Value.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.Int32Value;return proto.google.protobuf.Int32Value.deserializeBinaryFromReader(n,t)},proto.google.protobuf.Int32Value.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readInt32();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.Int32Value.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.Int32Value.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.Int32Value.serializeBinaryToWriter=function(o,t){var n;0!==(n=o.getValue())&&t.writeInt32(1,n)},proto.google.protobuf.Int32Value.prototype.getValue=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Int32Value.prototype.setValue=function(o){return googleProtobuf.Message.setProto3IntField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UInt32Value.prototype.toObject=function(o){return proto.google.protobuf.UInt32Value.toObject(o,this)},proto.google.protobuf.UInt32Value.toObject=function(o,t){var n={value:googleProtobuf.Message.getFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.UInt32Value.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.UInt32Value;return proto.google.protobuf.UInt32Value.deserializeBinaryFromReader(n,t)},proto.google.protobuf.UInt32Value.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readUint32();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.UInt32Value.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.UInt32Value.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.UInt32Value.serializeBinaryToWriter=function(o,t){var n;0!==(n=o.getValue())&&t.writeUint32(1,n)},proto.google.protobuf.UInt32Value.prototype.getValue=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.UInt32Value.prototype.setValue=function(o){return googleProtobuf.Message.setProto3IntField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.BoolValue.prototype.toObject=function(o){return proto.google.protobuf.BoolValue.toObject(o,this)},proto.google.protobuf.BoolValue.toObject=function(o,t){var n={value:googleProtobuf.Message.getBooleanFieldWithDefault(t,1,!1)};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.BoolValue.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.BoolValue;return proto.google.protobuf.BoolValue.deserializeBinaryFromReader(n,t)},proto.google.protobuf.BoolValue.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readBool();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.BoolValue.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.BoolValue.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.BoolValue.serializeBinaryToWriter=function(o,t){var n;(n=o.getValue())&&t.writeBool(1,n)},proto.google.protobuf.BoolValue.prototype.getValue=function(){return googleProtobuf.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.BoolValue.prototype.setValue=function(o){return googleProtobuf.Message.setProto3BooleanField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.StringValue.prototype.toObject=function(o){return proto.google.protobuf.StringValue.toObject(o,this)},proto.google.protobuf.StringValue.toObject=function(o,t){var n={value:googleProtobuf.Message.getFieldWithDefault(t,1,"")};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.StringValue.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.StringValue;return proto.google.protobuf.StringValue.deserializeBinaryFromReader(n,t)},proto.google.protobuf.StringValue.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readString();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.StringValue.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.StringValue.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.StringValue.serializeBinaryToWriter=function(o,t){var n;(n=o.getValue()).length>0&&t.writeString(1,n)},proto.google.protobuf.StringValue.prototype.getValue=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.StringValue.prototype.setValue=function(o){return googleProtobuf.Message.setProto3StringField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.BytesValue.prototype.toObject=function(o){return proto.google.protobuf.BytesValue.toObject(o,this)},proto.google.protobuf.BytesValue.toObject=function(o,t){var n={value:t.getValue_asB64()};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.BytesValue.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.BytesValue;return proto.google.protobuf.BytesValue.deserializeBinaryFromReader(n,t)},proto.google.protobuf.BytesValue.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readBytes();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.BytesValue.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.BytesValue.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.BytesValue.serializeBinaryToWriter=function(o,t){var n;(n=o.getValue_asU8()).length>0&&t.writeBytes(1,n)},proto.google.protobuf.BytesValue.prototype.getValue=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.BytesValue.prototype.getValue_asB64=function(){return googleProtobuf.Message.bytesAsB64(this.getValue())},proto.google.protobuf.BytesValue.prototype.getValue_asU8=function(){return googleProtobuf.Message.bytesAsU8(this.getValue())},proto.google.protobuf.BytesValue.prototype.setValue=function(o){return googleProtobuf.Message.setProto3BytesField(this,1,o)},n.object.extend(t,proto.google.protobuf)})),domain_pb=createCommonjsModule((function(o,t){var n=googleProtobuf,r=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.Node",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.Range",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType",null,r),proto.vertexvis.protobuf.scenetree.v1alpha1.Node=function(o){googleProtobuf.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.scenetree.v1alpha1.Node.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.Node,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.Node.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.Node"),proto.vertexvis.protobuf.scenetree.v1alpha1.Node.repeatedFields_=[10],googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.Node.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.toObject=function(o,t){var n,r={id:(n=t.getId())&&uuid_pb.Uuid.toObject(o,n),depth:googleProtobuf.Message.getFieldWithDefault(t,2,0),name:googleProtobuf.Message.getFieldWithDefault(t,3,""),visible:googleProtobuf.Message.getFieldWithDefault(t,4,!1),selected:googleProtobuf.Message.getFieldWithDefault(t,5,!1),expanded:googleProtobuf.Message.getFieldWithDefault(t,6,!1),isLeaf:googleProtobuf.Message.getFieldWithDefault(t,7,!1),suppliedId:(n=t.getSuppliedId())&&wrappers_pb.StringValue.toObject(o,n),partiallyVisible:googleProtobuf.Message.getFieldWithDefault(t,9,!1),columnsList:googleProtobuf.Message.getRepeatedField(t,10)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.Node.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.Node;return proto.vertexvis.protobuf.scenetree.v1alpha1.Node.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new uuid_pb.Uuid;t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setId(n);break;case 2:n=t.readUint32(),o.setDepth(n);break;case 3:n=t.readString(),o.setName(n);break;case 4:n=t.readBool(),o.setVisible(n);break;case 5:n=t.readBool(),o.setSelected(n);break;case 6:n=t.readBool(),o.setExpanded(n);break;case 7:n=t.readBool(),o.setIsLeaf(n);break;case 8:n=new wrappers_pb.StringValue,t.readMessage(n,wrappers_pb.StringValue.deserializeBinaryFromReader),o.setSuppliedId(n);break;case 9:n=t.readBool(),o.setPartiallyVisible(n);break;case 10:n=t.readString(),o.addColumns(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.Node.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.serializeBinaryToWriter=function(o,t){var n=void 0;null!=(n=o.getId())&&t.writeMessage(1,n,uuid_pb.Uuid.serializeBinaryToWriter),0!==(n=o.getDepth())&&t.writeUint32(2,n),(n=o.getName()).length>0&&t.writeString(3,n),(n=o.getVisible())&&t.writeBool(4,n),(n=o.getSelected())&&t.writeBool(5,n),(n=o.getExpanded())&&t.writeBool(6,n),(n=o.getIsLeaf())&&t.writeBool(7,n),null!=(n=o.getSuppliedId())&&t.writeMessage(8,n,wrappers_pb.StringValue.serializeBinaryToWriter),(n=o.getPartiallyVisible())&&t.writeBool(9,n),(n=o.getColumnsList()).length>0&&t.writeRepeatedString(10,n)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setId=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.clearId=function(){this.setId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.hasId=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getDepth=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setDepth=function(o){googleProtobuf.Message.setProto3IntField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getName=function(){return googleProtobuf.Message.getFieldWithDefault(this,3,"")},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setName=function(o){googleProtobuf.Message.setProto3StringField(this,3,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getVisible=function(){return googleProtobuf.Message.getFieldWithDefault(this,4,!1)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setVisible=function(o){googleProtobuf.Message.setProto3BooleanField(this,4,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getSelected=function(){return googleProtobuf.Message.getFieldWithDefault(this,5,!1)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setSelected=function(o){googleProtobuf.Message.setProto3BooleanField(this,5,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getExpanded=function(){return googleProtobuf.Message.getFieldWithDefault(this,6,!1)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setExpanded=function(o){googleProtobuf.Message.setProto3BooleanField(this,6,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getIsLeaf=function(){return googleProtobuf.Message.getFieldWithDefault(this,7,!1)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setIsLeaf=function(o){googleProtobuf.Message.setProto3BooleanField(this,7,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getSuppliedId=function(){return googleProtobuf.Message.getWrapperField(this,wrappers_pb.StringValue,8)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setSuppliedId=function(o){googleProtobuf.Message.setWrapperField(this,8,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.clearSuppliedId=function(){this.setSuppliedId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.hasSuppliedId=function(){return null!=googleProtobuf.Message.getField(this,8)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getPartiallyVisible=function(){return googleProtobuf.Message.getFieldWithDefault(this,9,!1)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setPartiallyVisible=function(o){googleProtobuf.Message.setProto3BooleanField(this,9,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getColumnsList=function(){return googleProtobuf.Message.getRepeatedField(this,10)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setColumnsList=function(o){googleProtobuf.Message.setField(this,10,o||[])},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.addColumns=function(o,t){googleProtobuf.Message.addToRepeatedField(this,10,o,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.clearColumnsList=function(){this.setColumnsList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.toObject=function(o,t){var n={start:googleProtobuf.Message.getFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange;return proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readInt32();o.setStart(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.serializeBinaryToWriter=function(o,t){var n;0!==(n=o.getStart())&&t.writeInt32(1,n)},proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.prototype.getStart=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.prototype.setStart=function(o){googleProtobuf.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Range=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.Range,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.Range.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.Range"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.Range.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.Range.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.toObject=function(o,t){var n={start:googleProtobuf.Message.getFieldWithDefault(t,1,0),end:googleProtobuf.Message.getFieldWithDefault(t,2,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.Range;return proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readInt32();o.setStart(n);break;case 2:n=t.readInt32(),o.setEnd(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.Range.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.serializeBinaryToWriter=function(o,t){var n=void 0;0!==(n=o.getStart())&&t.writeInt32(1,n),0!==(n=o.getEnd())&&t.writeInt32(2,n)},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.prototype.getStart=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.prototype.setStart=function(o){googleProtobuf.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.prototype.getEnd=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.prototype.setEnd=function(o){googleProtobuf.Message.setProto3IntField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange=function(o){googleProtobuf.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange"),proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.repeatedFields_=[1,2,3,4,5],googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.toObject=function(o,t){var n={hiddenList:googleProtobuf.Message.toObjectList(t.getHiddenList(),proto.vertexvis.protobuf.scenetree.v1alpha1.Range.toObject,o),shownList:googleProtobuf.Message.toObjectList(t.getShownList(),proto.vertexvis.protobuf.scenetree.v1alpha1.Range.toObject,o),selectedList:googleProtobuf.Message.toObjectList(t.getSelectedList(),proto.vertexvis.protobuf.scenetree.v1alpha1.Range.toObject,o),deselectedList:googleProtobuf.Message.toObjectList(t.getDeselectedList(),proto.vertexvis.protobuf.scenetree.v1alpha1.Range.toObject,o),partiallyVisibleList:googleProtobuf.Message.toObjectList(t.getPartiallyVisibleList(),proto.vertexvis.protobuf.scenetree.v1alpha1.Range.toObject,o)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange;return proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new proto.vertexvis.protobuf.scenetree.v1alpha1.Range;t.readMessage(n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinaryFromReader),o.addHidden(n);break;case 2:n=new proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t.readMessage(n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinaryFromReader),o.addShown(n);break;case 3:n=new proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t.readMessage(n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinaryFromReader),o.addSelected(n);break;case 4:n=new proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t.readMessage(n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinaryFromReader),o.addDeselected(n);break;case 5:n=new proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t.readMessage(n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinaryFromReader),o.addPartiallyVisible(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.serializeBinaryToWriter=function(o,t){var n=void 0;(n=o.getHiddenList()).length>0&&t.writeRepeatedMessage(1,n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.serializeBinaryToWriter),(n=o.getShownList()).length>0&&t.writeRepeatedMessage(2,n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.serializeBinaryToWriter),(n=o.getSelectedList()).length>0&&t.writeRepeatedMessage(3,n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.serializeBinaryToWriter),(n=o.getDeselectedList()).length>0&&t.writeRepeatedMessage(4,n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.serializeBinaryToWriter),(n=o.getPartiallyVisibleList()).length>0&&t.writeRepeatedMessage(5,n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.getHiddenList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.setHiddenList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.addHidden=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.clearHiddenList=function(){this.setHiddenList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.getShownList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.setShownList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.addShown=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,2,o,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.clearShownList=function(){this.setShownList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.getSelectedList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,3)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.setSelectedList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,3,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.addSelected=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,3,o,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.clearSelectedList=function(){this.setSelectedList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.getDeselectedList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,4)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.setDeselectedList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,4,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.addDeselected=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,4,o,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.clearDeselectedList=function(){this.setDeselectedList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.getPartiallyVisibleList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,5)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.setPartiallyVisibleList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,5,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.addPartiallyVisible=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,5,o,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.clearPartiallyVisibleList=function(){this.setPartiallyVisibleList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.oneofGroups_)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType"),proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.oneofGroups_=[[1,2]],proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.SealedValueCase={SEALED_VALUE_NOT_SET:0,LIST_CHANGE:1,RANGES:2},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.getSealedValueCase=function(){return googleProtobuf.Message.computeOneofCase(this,proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.oneofGroups_[0])},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.toObject=function(o,t){var n,r={listChange:(n=t.getListChange())&&proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.toObject(o,n),ranges:(n=t.getRanges())&&proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType;return proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange;t.readMessage(n,proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.deserializeBinaryFromReader),o.setListChange(n);break;case 2:n=new proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange,t.readMessage(n,proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.deserializeBinaryFromReader),o.setRanges(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.serializeBinaryToWriter=function(o,t){var n=void 0;null!=(n=o.getListChange())&&t.writeMessage(1,n,proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.serializeBinaryToWriter),null!=(n=o.getRanges())&&t.writeMessage(2,n,proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.getListChange=function(){return googleProtobuf.Message.getWrapperField(this,proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.setListChange=function(o){googleProtobuf.Message.setOneofWrapperField(this,1,proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.oneofGroups_[0],o)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.clearListChange=function(){this.setListChange(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.hasListChange=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.getRanges=function(){return googleProtobuf.Message.getWrapperField(this,proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.setRanges=function(o){googleProtobuf.Message.setOneofWrapperField(this,2,proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.oneofGroups_[0],o)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.clearRanges=function(){this.setRanges(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.hasRanges=function(){return null!=googleProtobuf.Message.getField(this,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.toObject=function(o,t){var n={value:googleProtobuf.Message.getFieldWithDefault(t,1,"")};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey;return proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readString();o.setValue(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.serializeBinaryToWriter=function(o,t){var n;(n=o.getValue()).length>0&&t.writeString(1,n)},proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.prototype.getValue=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,"")},proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.prototype.setValue=function(o){googleProtobuf.Message.setProto3StringField(this,1,o)},n.object.extend(t,proto.vertexvis.protobuf.scenetree.v1alpha1)})),scene_tree_api_pb=createCommonjsModule((function(o,t){var n=googleProtobuf,r=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse",null,r),proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest"),proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.repeatedFields_=[3],googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.toObject=function(o,t){var n,r={viewId:(n=t.getViewId())&&uuid_pb.Uuid.toObject(o,n),pager:(n=t.getPager())&&paging_pb.OffsetPager.toObject(o,n),additionalColumnKeysList:googleProtobuf.Message.getRepeatedField(t,3)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new uuid_pb.Uuid;t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setViewId(n);break;case 2:n=new paging_pb.OffsetPager,t.readMessage(n,paging_pb.OffsetPager.deserializeBinaryFromReader),o.setPager(n);break;case 3:n=t.readString(),o.addAdditionalColumnKeys(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.serializeBinaryToWriter=function(o,t){var n=void 0;null!=(n=o.getViewId())&&t.writeMessage(1,n,uuid_pb.Uuid.serializeBinaryToWriter),null!=(n=o.getPager())&&t.writeMessage(2,n,paging_pb.OffsetPager.serializeBinaryToWriter),(n=o.getAdditionalColumnKeysList()).length>0&&t.writeRepeatedString(3,n)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.getViewId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.setViewId=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.clearViewId=function(){this.setViewId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.hasViewId=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.getPager=function(){return googleProtobuf.Message.getWrapperField(this,paging_pb.OffsetPager,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.setPager=function(o){googleProtobuf.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.clearPager=function(){this.setPager(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.hasPager=function(){return null!=googleProtobuf.Message.getField(this,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.getAdditionalColumnKeysList=function(){return googleProtobuf.Message.getRepeatedField(this,3)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.setAdditionalColumnKeysList=function(o){googleProtobuf.Message.setField(this,3,o||[])},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.addAdditionalColumnKeys=function(o,t){googleProtobuf.Message.addToRepeatedField(this,3,o,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.clearAdditionalColumnKeysList=function(){this.setAdditionalColumnKeysList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse"),proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.repeatedFields_=[1],googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.toObject=function(o,t){var n,r={itemsList:googleProtobuf.Message.toObjectList(t.getItemsList(),domain_pb.Node.toObject,o),totalVisible:googleProtobuf.Message.getFieldWithDefault(t,2,0),cursor:(n=t.getCursor())&&paging_pb.OffsetCursor.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new domain_pb.Node;t.readMessage(n,domain_pb.Node.deserializeBinaryFromReader),o.addItems(n);break;case 2:n=t.readUint32(),o.setTotalVisible(n);break;case 3:n=new paging_pb.OffsetCursor,t.readMessage(n,paging_pb.OffsetCursor.deserializeBinaryFromReader),o.setCursor(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.serializeBinaryToWriter=function(o,t){var n=void 0;(n=o.getItemsList()).length>0&&t.writeRepeatedMessage(1,n,domain_pb.Node.serializeBinaryToWriter),0!==(n=o.getTotalVisible())&&t.writeUint32(2,n),null!=(n=o.getCursor())&&t.writeMessage(3,n,paging_pb.OffsetCursor.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.getItemsList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,domain_pb.Node,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.setItemsList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.addItems=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.scenetree.v1alpha1.Node,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.clearItemsList=function(){this.setItemsList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.getTotalVisible=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.setTotalVisible=function(o){googleProtobuf.Message.setProto3IntField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.getCursor=function(){return googleProtobuf.Message.getWrapperField(this,paging_pb.OffsetCursor,3)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.setCursor=function(o){googleProtobuf.Message.setWrapperField(this,3,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.clearCursor=function(){this.setCursor(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.hasCursor=function(){return null!=googleProtobuf.Message.getField(this,3)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.toObject=function(o,t){var n,r={viewId:(n=t.getViewId())&&uuid_pb.Uuid.toObject(o,n),nodeId:(n=t.getNodeId())&&uuid_pb.Uuid.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new uuid_pb.Uuid;t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setViewId(n);break;case 2:n=new uuid_pb.Uuid,t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setNodeId(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.serializeBinaryToWriter=function(o,t){var n=void 0;null!=(n=o.getViewId())&&t.writeMessage(1,n,uuid_pb.Uuid.serializeBinaryToWriter),null!=(n=o.getNodeId())&&t.writeMessage(2,n,uuid_pb.Uuid.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.getViewId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.setViewId=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.clearViewId=function(){this.setViewId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.hasViewId=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.getNodeId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.setNodeId=function(o){googleProtobuf.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.clearNodeId=function(){this.setNodeId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.hasNodeId=function(){return null!=googleProtobuf.Message.getField(this,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.toObject=function(o,t){var n,r={viewId:(n=t.getViewId())&&uuid_pb.Uuid.toObject(o,n),nodeId:(n=t.getNodeId())&&uuid_pb.Uuid.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new uuid_pb.Uuid;t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setViewId(n);break;case 2:n=new uuid_pb.Uuid,t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setNodeId(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.serializeBinaryToWriter=function(o,t){var n=void 0;null!=(n=o.getViewId())&&t.writeMessage(1,n,uuid_pb.Uuid.serializeBinaryToWriter),null!=(n=o.getNodeId())&&t.writeMessage(2,n,uuid_pb.Uuid.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.getViewId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.setViewId=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.clearViewId=function(){this.setViewId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.hasViewId=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.getNodeId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.setNodeId=function(o){googleProtobuf.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.clearNodeId=function(){this.setNodeId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.hasNodeId=function(){return null!=googleProtobuf.Message.getField(this,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.toObject=function(o,t){var n,r={viewId:(n=t.getViewId())&&uuid_pb.Uuid.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new uuid_pb.Uuid;t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setViewId(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.serializeBinaryToWriter=function(o,t){var n;null!=(n=o.getViewId())&&t.writeMessage(1,n,uuid_pb.Uuid.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.prototype.getViewId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.prototype.setViewId=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.prototype.clearViewId=function(){this.setViewId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.prototype.hasViewId=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.toObject=function(o,t){var n,r={change:(n=t.getChange())&&domain_pb.TreeChangeType.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new domain_pb.TreeChangeType;t.readMessage(n,domain_pb.TreeChangeType.deserializeBinaryFromReader),o.setChange(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.serializeBinaryToWriter=function(o,t){var n;null!=(n=o.getChange())&&t.writeMessage(1,n,domain_pb.TreeChangeType.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.prototype.getChange=function(){return googleProtobuf.Message.getWrapperField(this,domain_pb.TreeChangeType,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.prototype.setChange=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.prototype.clearChange=function(){this.setChange(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.prototype.hasChange=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.toObject=function(o,t){var n={filter:googleProtobuf.Message.getFieldWithDefault(t,1,""),fullTree:googleProtobuf.Message.getFieldWithDefault(t,2,!1)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readString();o.setFilter(n);break;case 2:n=t.readBool(),o.setFullTree(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.serializeBinaryToWriter=function(o,t){var n=void 0;(n=o.getFilter()).length>0&&t.writeString(1,n),(n=o.getFullTree())&&t.writeBool(2,n)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.prototype.getFilter=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,"")},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.prototype.setFilter=function(o){googleProtobuf.Message.setProto3StringField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.prototype.getFullTree=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,!1)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.prototype.setFullTree=function(o){googleProtobuf.Message.setProto3BooleanField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.toObject=function(o,t){var n,r={nodeId:(n=t.getNodeId())&&uuid_pb.Uuid.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 2:var n=new uuid_pb.Uuid;t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setNodeId(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.serializeBinaryToWriter=function(o,t){var n;null!=(n=o.getNodeId())&&t.writeMessage(2,n,uuid_pb.Uuid.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.prototype.getNodeId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.prototype.setNodeId=function(o){googleProtobuf.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.prototype.clearNodeId=function(){this.setNodeId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.prototype.hasNodeId=function(){return null!=googleProtobuf.Message.getField(this,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.toObject=function(o,t){var n,r={locatedIndex:(n=t.getLocatedIndex())&&wrappers_pb.UInt64Value.toObject(o,n),requiresReload:googleProtobuf.Message.getFieldWithDefault(t,2,!1)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new wrappers_pb.UInt64Value;t.readMessage(n,wrappers_pb.UInt64Value.deserializeBinaryFromReader),o.setLocatedIndex(n);break;case 2:n=t.readBool(),o.setRequiresReload(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.serializeBinaryToWriter=function(o,t){var n=void 0;null!=(n=o.getLocatedIndex())&&t.writeMessage(1,n,wrappers_pb.UInt64Value.serializeBinaryToWriter),(n=o.getRequiresReload())&&t.writeBool(2,n)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.getLocatedIndex=function(){return googleProtobuf.Message.getWrapperField(this,wrappers_pb.UInt64Value,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.setLocatedIndex=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.clearLocatedIndex=function(){this.setLocatedIndex(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.hasLocatedIndex=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.getRequiresReload=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,!1)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.setRequiresReload=function(o){googleProtobuf.Message.setProto3BooleanField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.toObject=function(o,t){var n,r={nodeId:(n=t.getNodeId())&&uuid_pb.Uuid.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new uuid_pb.Uuid;t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setNodeId(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.serializeBinaryToWriter=function(o,t){var n;null!=(n=o.getNodeId())&&t.writeMessage(1,n,uuid_pb.Uuid.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.prototype.getNodeId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.prototype.setNodeId=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.prototype.clearNodeId=function(){this.setNodeId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.prototype.hasNodeId=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse"),proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.repeatedFields_=[1],googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.toObject=function(o,t){var n={itemsList:googleProtobuf.Message.toObjectList(t.getItemsList(),domain_pb.Node.toObject,o)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new domain_pb.Node;t.readMessage(n,domain_pb.Node.deserializeBinaryFromReader),o.addItems(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.serializeBinaryToWriter=function(o,t){var n;(n=o.getItemsList()).length>0&&t.writeRepeatedMessage(1,n,domain_pb.Node.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.prototype.getItemsList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,domain_pb.Node,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.prototype.setItemsList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.prototype.addItems=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.scenetree.v1alpha1.Node,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.prototype.clearItemsList=function(){this.setItemsList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse"),proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.repeatedFields_=[1],googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.toObject=function(o,t){var n={keysList:googleProtobuf.Message.toObjectList(t.getKeysList(),domain_pb.ColumnKey.toObject,o)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new domain_pb.ColumnKey;t.readMessage(n,domain_pb.ColumnKey.deserializeBinaryFromReader),o.addKeys(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.serializeBinaryToWriter=function(o,t){var n;(n=o.getKeysList()).length>0&&t.writeRepeatedMessage(1,n,domain_pb.ColumnKey.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.prototype.getKeysList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,domain_pb.ColumnKey,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.prototype.setKeysList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.prototype.addKeys=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.prototype.clearKeysList=function(){this.setKeysList([])},n.object.extend(t,proto.vertexvis.protobuf.scenetree.v1alpha1)})),grpcWebClient_umd=createCommonjsModule((function(o){o.exports=function(){return o={418:function(o,t){!function(o,t){for(var n in t)o[n]=t[n]}(t,function(o){var t={};function n(r){if(t[r])return t[r].exports;var e=t[r]={i:r,l:!1,exports:{}};return o[r].call(e.exports,e,e.exports,n),e.l=!0,e.exports}return n.m=o,n.c=t,n.i=function(o){return o},n.d=function(o,t,r){n.o(o,t)||Object.defineProperty(o,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return n.d(t,"a",t),t},n.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},n.p="",n(n.s=1)}([function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),e=function(){function o(o,t){void 0===o&&(o={}),void 0===t&&(t={splitValues:!1});var n,e=this;this.headersMap={},o&&("undefined"!=typeof Headers&&o instanceof Headers?r.getHeaderKeys(o).forEach((function(n){r.getHeaderValues(o,n).forEach((function(o){e.append(n,t.splitValues?r.splitHeaderValue(o):o)}))})):"object"==typeof(n=o)&&"object"==typeof n.headersMap&&"function"==typeof n.forEach?o.forEach((function(o,t){e.append(o,t)})):"undefined"!=typeof Map&&o instanceof Map?o.forEach((function(o,t){e.append(t,o)})):"string"==typeof o?this.appendFromString(o):"object"==typeof o&&Object.getOwnPropertyNames(o).forEach((function(t){var n=o[t];Array.isArray(n)?n.forEach((function(o){e.append(t,o)})):e.append(t,n)})))}return o.prototype.appendFromString=function(o){for(var t=o.split("\r\n"),n=0;n<t.length;n++){var r=t[n],e=r.indexOf(":");if(e>0){var g=r.substring(0,e).trim(),i=r.substring(e+1).trim();this.append(g,i)}}},o.prototype.delete=function(o,t){var n=r.normalizeName(o);if(void 0===t)delete this.headersMap[n];else{var e=this.headersMap[n];if(e){var g=e.indexOf(t);g>=0&&e.splice(g,1),0===e.length&&delete this.headersMap[n]}}},o.prototype.append=function(o,t){var n=this,e=r.normalizeName(o);Array.isArray(this.headersMap[e])||(this.headersMap[e]=[]),Array.isArray(t)?t.forEach((function(o){n.headersMap[e].push(r.normalizeValue(o))})):this.headersMap[e].push(r.normalizeValue(t))},o.prototype.set=function(o,t){var n=r.normalizeName(o);if(Array.isArray(t)){var e=[];t.forEach((function(o){e.push(r.normalizeValue(o))})),this.headersMap[n]=e}else this.headersMap[n]=[r.normalizeValue(t)]},o.prototype.has=function(o,t){var n=this.headersMap[r.normalizeName(o)];if(!Array.isArray(n))return!1;if(void 0!==t){var e=r.normalizeValue(t);return n.indexOf(e)>=0}return!0},o.prototype.get=function(o){var t=this.headersMap[r.normalizeName(o)];return void 0!==t?t.concat():[]},o.prototype.forEach=function(o){var t=this;Object.getOwnPropertyNames(this.headersMap).forEach((function(n){o(n,t.headersMap[n])}),this)},o.prototype.toHeaders=function(){if("undefined"!=typeof Headers){var o=new Headers;return this.forEach((function(t,n){n.forEach((function(n){o.append(t,n)}))})),o}throw new Error("Headers class is not defined")},o}();t.BrowserHeaders=e},function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.BrowserHeaders=r.BrowserHeaders},function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.iterateHeaders=function(o,t){for(var n=o[Symbol.iterator](),r=n.next();!r.done;)t(r.value[0]),r=n.next()},t.iterateHeadersKeys=function(o,t){for(var n=o.keys(),r=n.next();!r.done;)t(r.value),r=n.next()}},function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);t.normalizeName=function(o){if("string"!=typeof o&&(o=String(o)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(o))throw new TypeError("Invalid character in header field name");return o.toLowerCase()},t.normalizeValue=function(o){return"string"!=typeof o&&(o=String(o)),o},t.getHeaderValues=function(o,t){var n=o;if(n instanceof Headers&&n.getAll)return n.getAll(t);var r=n.get(t);return r&&"string"==typeof r?[r]:r},t.getHeaderKeys=function(o){var t=o,n={},e=[];return t.keys?r.iterateHeadersKeys(t,(function(o){n[o]||(n[o]=!0,e.push(o))})):t.forEach?t.forEach((function(o,t){n[t]||(n[t]=!0,e.push(t))})):r.iterateHeaders(t,(function(o){var t=o[0];n[t]||(n[t]=!0,e.push(t))})),e},t.splitHeaderValue=function(o){var t=[];return o.split(", ").forEach((function(o){o.split(",").forEach((function(o){t.push(o)}))})),t}}]))},617:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ChunkParser=t.ChunkType=t.encodeASCII=t.decodeASCII=void 0;var r,e=n(65);function g(o){return 9===(t=o)||10===t||13===t||o>=32&&o<=126;var t}function i(o){for(var t=0;t!==o.length;++t)if(!g(o[t]))throw new Error("Metadata is not valid (printable) ASCII");return String.fromCharCode.apply(String,Array.prototype.slice.call(o))}function u(o){return 128==(128&o.getUint8(0))}function s(o){return o.getUint32(1,!1)}function f(o,t,n){return o.byteLength-t>=n}function c(o,t,n){if(o.slice)return o.slice(t,n);var r=o.length;void 0!==n&&(r=n);for(var e=new Uint8Array(r-t),g=0,i=t;i<r;i++)e[g++]=o[i];return e}t.decodeASCII=i,t.encodeASCII=function(o){for(var t=new Uint8Array(o.length),n=0;n!==o.length;++n){var r=o.charCodeAt(n);if(!g(r))throw new Error("Metadata contains invalid ASCII");t[n]=r}return t},function(o){o[o.MESSAGE=1]="MESSAGE",o[o.TRAILERS=2]="TRAILERS"}(r=t.ChunkType||(t.ChunkType={}));var a=function(){function o(){this.buffer=null,this.position=0}return o.prototype.parse=function(o,t){if(0===o.length&&t)return[];var n,g=[];if(null==this.buffer)this.buffer=o,this.position=0;else if(this.position===this.buffer.byteLength)this.buffer=o,this.position=0;else{var a=this.buffer.byteLength-this.position,p=new Uint8Array(a+o.byteLength),l=c(this.buffer,this.position);p.set(l,0);var h=new Uint8Array(o);p.set(h,a),this.buffer=p,this.position=0}for(;;){if(!f(this.buffer,this.position,5))return g;var b=c(this.buffer,this.position,this.position+5),v=new DataView(b.buffer,b.byteOffset,b.byteLength),d=s(v);if(!f(this.buffer,this.position,5+d))return g;var j=c(this.buffer,this.position+5,this.position+5+d);if(this.position+=5+d,u(v))return g.push({chunkType:r.TRAILERS,trailers:(n=j,new e.Metadata(i(n)))}),g;g.push({chunkType:r.MESSAGE,data:j})}},o}();t.ChunkParser=a},8:function(o,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.httpStatusToCode=t.Code=void 0,function(o){o[o.OK=0]="OK",o[o.Canceled=1]="Canceled",o[o.Unknown=2]="Unknown",o[o.InvalidArgument=3]="InvalidArgument",o[o.DeadlineExceeded=4]="DeadlineExceeded",o[o.NotFound=5]="NotFound",o[o.AlreadyExists=6]="AlreadyExists",o[o.PermissionDenied=7]="PermissionDenied",o[o.ResourceExhausted=8]="ResourceExhausted",o[o.FailedPrecondition=9]="FailedPrecondition",o[o.Aborted=10]="Aborted",o[o.OutOfRange=11]="OutOfRange",o[o.Unimplemented=12]="Unimplemented",o[o.Internal=13]="Internal",o[o.Unavailable=14]="Unavailable",o[o.DataLoss=15]="DataLoss",o[o.Unauthenticated=16]="Unauthenticated"}(n=t.Code||(t.Code={})),t.httpStatusToCode=function(o){switch(o){case 0:return n.Internal;case 200:return n.OK;case 400:return n.InvalidArgument;case 401:return n.Unauthenticated;case 403:return n.PermissionDenied;case 404:return n.NotFound;case 409:return n.Aborted;case 412:return n.FailedPrecondition;case 429:return n.ResourceExhausted;case 499:return n.Canceled;case 500:return n.Unknown;case 501:return n.Unimplemented;case 503:return n.Unavailable;case 504:return n.DeadlineExceeded;default:return n.Unknown}}},934:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.client=void 0;var r=n(65),e=n(617),g=n(8),i=n(346),u=n(57),s=n(882);t.client=function(o,t){return new f(o,t)};var f=function(){function o(o,t){this.started=!1,this.sentFirstMessage=!1,this.completed=!1,this.closed=!1,this.finishedSending=!1,this.onHeadersCallbacks=[],this.onMessageCallbacks=[],this.onEndCallbacks=[],this.parser=new e.ChunkParser,this.methodDefinition=o,this.props=t,this.createTransport()}return o.prototype.createTransport=function(){var o={methodDefinition:this.methodDefinition,debug:this.props.debug||!1,url:this.props.host+"/"+this.methodDefinition.service.serviceName+"/"+this.methodDefinition.methodName,onHeaders:this.onTransportHeaders.bind(this),onChunk:this.onTransportChunk.bind(this),onEnd:this.onTransportEnd.bind(this)};this.transport=this.props.transport?this.props.transport(o):u.makeDefaultTransport(o)},o.prototype.onTransportHeaders=function(o,t){if(this.props.debug&&i.debug("onHeaders",o,t),this.closed)this.props.debug&&i.debug("grpc.onHeaders received after request was closed - ignoring");else if(0===t);else{this.responseHeaders=o,this.props.debug&&i.debug("onHeaders.responseHeaders",JSON.stringify(this.responseHeaders,null,2));var n=c(o);this.props.debug&&i.debug("onHeaders.gRPCStatus",n);var r=n&&n>=0?n:g.httpStatusToCode(t);this.props.debug&&i.debug("onHeaders.code",r);var e=o.get("grpc-message")||[];if(this.props.debug&&i.debug("onHeaders.gRPCMessage",e),this.rawOnHeaders(o),r!==g.Code.OK){var u=this.decodeGRPCStatus(e[0]);this.rawOnError(r,u,o)}}},o.prototype.onTransportChunk=function(o){var t=this;if(this.closed)this.props.debug&&i.debug("grpc.onChunk received after request was closed - ignoring");else{var n=[];try{n=this.parser.parse(o)}catch(o){return this.props.debug&&i.debug("onChunk.parsing error",o,o.message),void this.rawOnError(g.Code.Internal,"parsing error: "+o.message)}n.forEach((function(o){if(o.chunkType===e.ChunkType.MESSAGE){var n=t.methodDefinition.responseType.deserializeBinary(o.data);t.rawOnMessage(n)}else o.chunkType===e.ChunkType.TRAILERS&&(t.responseHeaders?(t.responseTrailers=new r.Metadata(o.trailers),t.props.debug&&i.debug("onChunk.trailers",t.responseTrailers)):(t.responseHeaders=new r.Metadata(o.trailers),t.rawOnHeaders(t.responseHeaders)))}))}},o.prototype.onTransportEnd=function(){if(this.props.debug&&i.debug("grpc.onEnd"),this.closed)this.props.debug&&i.debug("grpc.onEnd received after request was closed - ignoring");else if(void 0!==this.responseTrailers){var o=c(this.responseTrailers);if(null!==o){var t=this.responseTrailers.get("grpc-message"),n=this.decodeGRPCStatus(t[0]);this.rawOnEnd(o,n,this.responseTrailers)}else this.rawOnError(g.Code.Internal,"Response closed without grpc-status (Trailers provided)")}else{if(void 0===this.responseHeaders)return void this.rawOnError(g.Code.Unknown,"Response closed without headers");var r=c(this.responseHeaders),e=this.responseHeaders.get("grpc-message");if(this.props.debug&&i.debug("grpc.headers only response ",r,e),null===r)return void this.rawOnEnd(g.Code.Unknown,"Response closed without grpc-status (Headers only)",this.responseHeaders);var u=this.decodeGRPCStatus(e[0]);this.rawOnEnd(r,u,this.responseHeaders)}},o.prototype.decodeGRPCStatus=function(o){if(!o)return"";try{return decodeURIComponent(o)}catch(t){return o}},o.prototype.rawOnEnd=function(o,t,n){var r=this;this.props.debug&&i.debug("rawOnEnd",o,t,n),this.completed||(this.completed=!0,this.onEndCallbacks.forEach((function(e){if(!r.closed)try{e(o,t,n)}catch(o){setTimeout((function(){throw o}),0)}})))},o.prototype.rawOnHeaders=function(o){this.props.debug&&i.debug("rawOnHeaders",o),this.completed||this.onHeadersCallbacks.forEach((function(t){try{t(o)}catch(o){setTimeout((function(){throw o}),0)}}))},o.prototype.rawOnError=function(o,t,n){var e=this;void 0===n&&(n=new r.Metadata),this.props.debug&&i.debug("rawOnError",o,t),this.completed||(this.completed=!0,this.onEndCallbacks.forEach((function(r){if(!e.closed)try{r(o,t,n)}catch(o){setTimeout((function(){throw o}),0)}})))},o.prototype.rawOnMessage=function(o){var t=this;this.props.debug&&i.debug("rawOnMessage",o.toObject()),this.completed||this.closed||this.onMessageCallbacks.forEach((function(n){if(!t.closed)try{n(o)}catch(o){setTimeout((function(){throw o}),0)}}))},o.prototype.onHeaders=function(o){this.onHeadersCallbacks.push(o)},o.prototype.onMessage=function(o){this.onMessageCallbacks.push(o)},o.prototype.onEnd=function(o){this.onEndCallbacks.push(o)},o.prototype.start=function(o){if(this.started)throw new Error("Client already started - cannot .start()");this.started=!0;var t=new r.Metadata(o||{});t.set("content-type","application/grpc-web+proto"),t.set("x-grpc-web","1"),this.transport.start(t)},o.prototype.send=function(o){if(!this.started)throw new Error("Client not started - .start() must be called before .send()");if(this.closed)throw new Error("Client already closed - cannot .send()");if(this.finishedSending)throw new Error("Client already finished sending - cannot .send()");if(!this.methodDefinition.requestStream&&this.sentFirstMessage)throw new Error("Message already sent for non-client-streaming method - cannot .send()");this.sentFirstMessage=!0;var t=s.frameRequest(o);this.transport.sendMessage(t)},o.prototype.finishSend=function(){if(!this.started)throw new Error("Client not started - .finishSend() must be called before .close()");if(this.closed)throw new Error("Client already closed - cannot .send()");if(this.finishedSending)throw new Error("Client already finished sending - cannot .finishSend()");this.finishedSending=!0,this.transport.finishSend()},o.prototype.close=function(){if(!this.started)throw new Error("Client not started - .start() must be called before .close()");if(this.closed)throw new Error("Client already closed - cannot .close()");this.closed=!0,this.props.debug&&i.debug("request.abort aborting request"),this.transport.cancel()},o}();function c(o){var t=o.get("grpc-status")||[];if(t.length>0)try{return parseInt(t[0],10)}catch(o){return null}return null}},346:function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.debug=void 0,t.debug=function(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];console.debug?console.debug.apply(null,o):console.log.apply(null,o)}},607:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.grpc=void 0;var r,e=n(418),g=n(57),i=n(229),u=n(540),s=n(210),f=n(859),c=n(8),a=n(938),p=n(35),l=n(934);(r=t.grpc||(t.grpc={})).setDefaultTransport=g.setDefaultTransportFactory,r.CrossBrowserHttpTransport=f.CrossBrowserHttpTransport,r.FetchReadableStreamTransport=i.FetchReadableStreamTransport,r.XhrTransport=s.XhrTransport,r.WebsocketTransport=u.WebsocketTransport,r.Code=c.Code,r.Metadata=e.BrowserHeaders,r.client=function(o,t){return l.client(o,t)},r.invoke=a.invoke,r.unary=p.unary},938:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.invoke=void 0;var r=n(934);t.invoke=function(o,t){if(o.requestStream)throw new Error(".invoke cannot be used with client-streaming methods. Use .client instead.");var n=r.client(o,{host:t.host,transport:t.transport,debug:t.debug});return t.onHeaders&&n.onHeaders(t.onHeaders),t.onMessage&&n.onMessage(t.onMessage),t.onEnd&&n.onEnd(t.onEnd),n.start(t.metadata),n.send(t.request),n.finishSend(),{close:function(){n.close()}}}},65:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var r=n(418);Object.defineProperty(t,"Metadata",{enumerable:!0,get:function(){return r.BrowserHeaders}})},57:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.makeDefaultTransport=t.setDefaultTransportFactory=void 0;var r=n(859),e=function(o){return r.CrossBrowserHttpTransport({withCredentials:!1})(o)};t.setDefaultTransportFactory=function(o){e=o},t.makeDefaultTransport=function(o){return e(o)}},229:function(o,t,n){var r=this&&this.__assign||function(){return(r=Object.assign||function(o){for(var t,n=1,r=arguments.length;n<r;n++)for(var e in t=arguments[n])Object.prototype.hasOwnProperty.call(t,e)&&(o[e]=t[e]);return o}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.detectFetchSupport=t.FetchReadableStreamTransport=void 0;var e=n(65),g=n(346);t.FetchReadableStreamTransport=function(o){return function(t){return function(o,t){return o.debug&&g.debug("fetchRequest",o),new i(o,t)}(t,o)}};var i=function(){function o(o,t){this.cancelled=!1,this.controller=self.AbortController&&new AbortController,this.options=o,this.init=t}return o.prototype.pump=function(o,t){var n=this;if(this.reader=o,this.cancelled)return this.options.debug&&g.debug("Fetch.pump.cancel at first pump"),void this.reader.cancel().catch((function(o){n.options.debug&&g.debug("Fetch.pump.reader.cancel exception",o)}));this.reader.read().then((function(o){if(o.done)return n.options.onEnd(),t;n.options.onChunk(o.value),n.pump(n.reader,t)})).catch((function(o){n.cancelled?n.options.debug&&g.debug("Fetch.catch - request cancelled"):(n.cancelled=!0,n.options.debug&&g.debug("Fetch.catch",o.message),n.options.onEnd(o))}))},o.prototype.send=function(o){var t=this;fetch(this.options.url,r(r({},this.init),{headers:this.metadata.toHeaders(),method:"POST",body:o,signal:this.controller&&this.controller.signal})).then((function(o){if(t.options.debug&&g.debug("Fetch.response",o),t.options.onHeaders(new e.Metadata(o.headers),o.status),!o.body)return o;t.pump(o.body.getReader(),o)})).catch((function(o){t.cancelled?t.options.debug&&g.debug("Fetch.catch - request cancelled"):(t.cancelled=!0,t.options.debug&&g.debug("Fetch.catch",o.message),t.options.onEnd(o))}))},o.prototype.sendMessage=function(o){this.send(o)},o.prototype.finishSend=function(){},o.prototype.start=function(o){this.metadata=o},o.prototype.cancel=function(){var o=this;this.cancelled?this.options.debug&&g.debug("Fetch.cancel already cancelled"):(this.cancelled=!0,this.controller?(this.options.debug&&g.debug("Fetch.cancel.controller.abort"),this.controller.abort()):this.options.debug&&g.debug("Fetch.cancel.missing abort controller"),this.reader?(this.options.debug&&g.debug("Fetch.cancel.reader.cancel"),this.reader.cancel().catch((function(t){o.options.debug&&g.debug("Fetch.cancel.reader.cancel exception",t)}))):this.options.debug&&g.debug("Fetch.cancel before reader"))},o}();t.detectFetchSupport=function(){return"undefined"!=typeof Response&&Response.prototype.hasOwnProperty("body")&&"function"==typeof Headers}},859:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.CrossBrowserHttpTransport=void 0;var r=n(229),e=n(210);t.CrossBrowserHttpTransport=function(o){return r.detectFetchSupport()?r.FetchReadableStreamTransport({credentials:o.withCredentials?"include":"same-origin"}):e.XhrTransport({withCredentials:o.withCredentials})}},210:function(o,t,n){var r,e=this&&this.__extends||(r=function(o,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,t){o.__proto__=t}||function(o,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=t[n])})(o,t)},function(o,t){function n(){this.constructor=o}r(o,t),o.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.stringToArrayBuffer=t.MozChunkedArrayBufferXHR=t.XHR=t.XhrTransport=void 0;var g=n(65),i=n(346),u=n(849);t.XhrTransport=function(o){return function(t){if(u.detectMozXHRSupport())return new f(t,o);if(u.detectXHROverrideMimeTypeSupport())return new s(t,o);throw new Error("This environment's XHR implementation cannot support binary transfer.")}};var s=function(){function o(o,t){this.options=o,this.init=t}return o.prototype.onProgressEvent=function(){this.options.debug&&i.debug("XHR.onProgressEvent.length: ",this.xhr.response.length);var o=this.xhr.response.substr(this.index);this.index=this.xhr.response.length;var t=a(o);this.options.onChunk(t)},o.prototype.onLoadEvent=function(){this.options.debug&&i.debug("XHR.onLoadEvent"),this.options.onEnd()},o.prototype.onStateChange=function(){this.options.debug&&i.debug("XHR.onStateChange",this.xhr.readyState),this.xhr.readyState===XMLHttpRequest.HEADERS_RECEIVED&&this.options.onHeaders(new g.Metadata(this.xhr.getAllResponseHeaders()),this.xhr.status)},o.prototype.sendMessage=function(o){this.xhr.send(o)},o.prototype.finishSend=function(){},o.prototype.start=function(o){var t=this;this.metadata=o;var n=new XMLHttpRequest;this.xhr=n,n.open("POST",this.options.url),this.configureXhr(),this.metadata.forEach((function(o,t){n.setRequestHeader(o,t.join(", "))})),n.withCredentials=Boolean(this.init.withCredentials),n.addEventListener("readystatechange",this.onStateChange.bind(this)),n.addEventListener("progress",this.onProgressEvent.bind(this)),n.addEventListener("loadend",this.onLoadEvent.bind(this)),n.addEventListener("error",(function(o){t.options.debug&&i.debug("XHR.error",o),t.options.onEnd(o.error)}))},o.prototype.configureXhr=function(){this.xhr.responseType="text",this.xhr.overrideMimeType("text/plain; charset=x-user-defined")},o.prototype.cancel=function(){this.options.debug&&i.debug("XHR.abort"),this.xhr.abort()},o}();t.XHR=s;var f=function(o){function t(){return null!==o&&o.apply(this,arguments)||this}return e(t,o),t.prototype.configureXhr=function(){this.options.debug&&i.debug("MozXHR.configureXhr: setting responseType to 'moz-chunked-arraybuffer'"),this.xhr.responseType="moz-chunked-arraybuffer"},t.prototype.onProgressEvent=function(){var o=this.xhr.response;this.options.debug&&i.debug("MozXHR.onProgressEvent: ",new Uint8Array(o)),this.options.onChunk(new Uint8Array(o))},t}(s);function c(o,t){var n=o.charCodeAt(t);if(n>=55296&&n<=56319){var r=o.charCodeAt(t+1);r>=56320&&r<=57343&&(n=65536+(n-55296<<10)+(r-56320))}return n}function a(o){for(var t=new Uint8Array(o.length),n=0,r=0;r<o.length;r++){var e=String.prototype.codePointAt?o.codePointAt(r):c(o,r);t[n++]=255&e}return t}t.MozChunkedArrayBufferXHR=f,t.stringToArrayBuffer=a},849:function(o,t){var n;function r(o){var t=function(){if(void 0!==n)return n;if(XMLHttpRequest){n=new XMLHttpRequest;try{n.open("GET","https://localhost")}catch(o){}}return n}();if(!t)return!1;try{return t.responseType=o,t.responseType===o}catch(o){}return!1}Object.defineProperty(t,"__esModule",{value:!0}),t.detectXHROverrideMimeTypeSupport=t.detectMozXHRSupport=t.xhrSupportsResponseType=void 0,t.xhrSupportsResponseType=r,t.detectMozXHRSupport=function(){return"undefined"!=typeof XMLHttpRequest&&r("moz-chunked-arraybuffer")},t.detectXHROverrideMimeTypeSupport=function(){return"undefined"!=typeof XMLHttpRequest&&XMLHttpRequest.prototype.hasOwnProperty("overrideMimeType")}},540:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.WebsocketTransport=void 0;var r,e=n(346),g=n(617);!function(o){o[o.FINISH_SEND=1]="FINISH_SEND"}(r||(r={}));var i=new Uint8Array([1]);t.WebsocketTransport=function(){return function(o){return function(o){o.debug&&e.debug("websocketRequest",o);var t,n=function(o){if("https://"===o.substr(0,8))return"wss://"+o.substr(8);if("http://"===o.substr(0,7))return"ws://"+o.substr(7);throw new Error("Websocket transport constructed with non-https:// or http:// host.")}(o.url),u=[];function s(o){if(o===r.FINISH_SEND)t.send(i);else{var n=o,e=new Int8Array(n.byteLength+1);e.set(new Uint8Array([0])),e.set(n,1),t.send(e)}}return{sendMessage:function(o){t&&t.readyState!==t.CONNECTING?s(o):u.push(o)},finishSend:function(){t&&t.readyState!==t.CONNECTING?s(r.FINISH_SEND):u.push(r.FINISH_SEND)},start:function(r){(t=new WebSocket(n,["grpc-websockets"])).binaryType="arraybuffer",t.onopen=function(){var n;o.debug&&e.debug("websocketRequest.onopen"),t.send((n="",r.forEach((function(o,t){n+=o+": "+t.join(", ")+"\r\n"})),g.encodeASCII(n))),u.forEach((function(o){s(o)}))},t.onclose=function(t){o.debug&&e.debug("websocketRequest.onclose",t),o.onEnd()},t.onerror=function(t){o.debug&&e.debug("websocketRequest.onerror",t)},t.onmessage=function(t){o.onChunk(new Uint8Array(t.data))}},cancel:function(){o.debug&&e.debug("websocket.abort"),t.close()}}}(o)}}},35:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.unary=void 0;var r=n(65),e=n(934);t.unary=function(o,t){if(o.responseStream)throw new Error(".unary cannot be used with server-streaming methods. Use .invoke or .client instead.");if(o.requestStream)throw new Error(".unary cannot be used with client-streaming methods. Use .client instead.");var n=null,g=null,i=e.client(o,{host:t.host,transport:t.transport,debug:t.debug});return i.onHeaders((function(o){n=o})),i.onMessage((function(o){g=o})),i.onEnd((function(o,e,i){t.onEnd({status:o,statusMessage:e,headers:n||new r.Metadata,message:g,trailers:i})})),i.start(t.metadata),i.send(t.request),i.finishSend(),{close:function(){i.close()}}}},882:function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.frameRequest=void 0,t.frameRequest=function(o){var t=o.serializeBinary(),n=new ArrayBuffer(t.byteLength+5);return new DataView(n,1,4).setUint32(0,t.length,!1),new Uint8Array(n,5).set(t),new Uint8Array(n)}}},t={},function n(r){if(t[r])return t[r].exports;var e=t[r]={exports:{}};return o[r].call(e.exports,e,e.exports,n),e.exports}(607);var o,t}()})),grpc=grpcWebClient_umd.grpc,SceneTreeAPI=function(){function o(){}return o.serviceName="vertexvis.protobuf.scenetree.v1alpha1.SceneTreeAPI",o}();function SceneTreeAPIClient(o,t){this.serviceHost=o,this.options=t||{}}SceneTreeAPI.GetTree={methodName:"GetTree",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.GetTreeRequest,responseType:scene_tree_api_pb.GetTreeResponse},SceneTreeAPI.ExpandNode={methodName:"ExpandNode",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.ExpandNodeRequest,responseType:scene_tree_api_pb.ExpandNodeResponse},SceneTreeAPI.CollapseNode={methodName:"CollapseNode",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.CollapseNodeRequest,responseType:scene_tree_api_pb.CollapseNodeResponse},SceneTreeAPI.Subscribe={methodName:"Subscribe",service:SceneTreeAPI,requestStream:!1,responseStream:!0,requestType:scene_tree_api_pb.SubscribeRequest,responseType:scene_tree_api_pb.SubscribeResponse},SceneTreeAPI.Filter={methodName:"Filter",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.FilterRequest,responseType:scene_tree_api_pb.FilterResponse},SceneTreeAPI.LocateItem={methodName:"LocateItem",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.LocateItemRequest,responseType:scene_tree_api_pb.LocateItemResponse},SceneTreeAPI.ExpandAll={methodName:"ExpandAll",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.ExpandAllRequest,responseType:scene_tree_api_pb.ExpandAllResponse},SceneTreeAPI.CollapseAll={methodName:"CollapseAll",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.CollapseAllRequest,responseType:scene_tree_api_pb.CollapseAllResponse},SceneTreeAPI.GetNodeAncestors={methodName:"GetNodeAncestors",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.GetNodeAncestorsRequest,responseType:scene_tree_api_pb.GetNodeAncestorsResponse},SceneTreeAPI.GetAvailableColumns={methodName:"GetAvailableColumns",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.GetAvailableColumnsRequest,responseType:scene_tree_api_pb.GetAvailableColumnsResponse},SceneTreeAPIClient.prototype.getTree=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.GetTree,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.expandNode=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.ExpandNode,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.collapseNode=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.CollapseNode,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.subscribe=function(o,t){var n={data:[],end:[],status:[]},r=grpc.invoke(SceneTreeAPI.Subscribe,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onMessage:function(o){n.data.forEach((function(t){t(o)}))},onEnd:function(o,t,r){n.status.forEach((function(n){n({code:o,details:t,metadata:r})})),n.end.forEach((function(n){n({code:o,details:t,metadata:r})})),n=null}});return{on:function(o,t){return n[o].push(t),this},cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.filter=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.Filter,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.locateItem=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.LocateItem,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.expandAll=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.ExpandAll,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.collapseAll=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.CollapseAll,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.getNodeAncestors=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.GetNodeAncestors,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.getAvailableColumns=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.GetAvailableColumns,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}};var SceneTreeAPIClient_1=SceneTreeAPIClient,SceneTreeErrorCode;function fromNodeProto(o,t,n){if(Array.isArray(t))return t.map(((t,r)=>fromNodeProto(o+r,t,n)));{const r=t.toObject();return{index:o,node:r,metadata:makeMetadataMap(n,r.columnsList),data:{}}}}function makeMetadataMap(o,t){if(o.length!==t.length)throw new Error("Column key length and column value length mismatch");return o.reduce(((o,n,r)=>(o[n]=t[r],o)),{})}function isLoadedRow(o){return null!=o&&o.hasOwnProperty("node")}!function(o){o[o.UNKNOWN=0]="UNKNOWN",o[o.SCENE_TREE_DISABLED=1]="SCENE_TREE_DISABLED"}(SceneTreeErrorCode||(SceneTreeErrorCode={}));class SceneTreeErrorDetails{constructor(o,t){this.code=o,this.link=t,this.message=getSceneTreeErrorMessage(o)}}function getSceneTreeErrorMessage(o){switch(o){case SceneTreeErrorCode.UNKNOWN:return"An unknown error occurred.";case SceneTreeErrorCode.SCENE_TREE_DISABLED:return"The tree for this scene cannot be loaded, because this feature is disabled."}}function isGrpcServiceError(o){return"number"==typeof o.code&&o.hasOwnProperty("metadata")}function e(o){this.message=o}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var r="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(o){var t=String(o).replace(/=+$/,"");if(t.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,g=0,i=0,u="";r=t.charAt(i++);~r&&(n=g%4?64*n+r:r,g++%4)?u+=String.fromCharCode(255&n>>(-2*g&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return u};function t(o){var t=o.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(o){return decodeURIComponent(r(o).replace(/(.)/g,(function(o,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(o){return r(t)}}function n(o){this.message=o}function o(o,r){if("string"!=typeof o)throw new n("Invalid token specified");var e=!0===(r=r||{}).header?0:1;try{return JSON.parse(t(o.split(".")[e]))}catch(o){throw new n("Invalid token specified: "+o.message)}}function decodeSceneTreeJwt(t){return o(t)}n.prototype=new Error,n.prototype.name="InvalidTokenError";class SceneTreeController{constructor(o,t,n={}){this.client=o,this.rowLimit=t,this.connectOptions=n,this.nextPageId=0,this.pages=new Map,this.activeRowRange=[0,0],this.metadataKeys=[],this.onStateChange=new EventDispatcher,this.state={totalRows:0,rows:[],connection:{type:"disconnected"}}}get fetchedPageCount(){return this.pages.size}get isConnected(){return"connected"===this.state.connection.type}async connect(o){const{connection:t}=this.state,n=await o();if(null==n)throw new Error("Cannot connect scene tree. JWT is undefined");const{view:r}=decodeSceneTreeJwt(n);this.disconnect(t.sceneViewId!==r);const e={type:"connecting",jwtProvider:o,sceneViewId:r};this.updateState(Object.assign(Object.assign({},this.state),{connection:e}));try{console.debug("Scene tree controller connecting."),await this.fetchPage(0);const o=await this.subscribe();o.on("end",(()=>this.startConnectionLostReconnectTimer())),this.updateState(Object.assign(Object.assign({},this.state),{connection:Object.assign(Object.assign({},e),{type:"connected",subscription:{dispose:()=>o.cancel()}})}))}catch(t){throw this.updateState(Object.assign(Object.assign({},this.state),{connection:{type:"failure",jwtProvider:o,sceneViewId:r,details:this.getConnectionError(t)}})),t}this.startIdleReconnectTimer()}clearReconnectTimer(){null!=this.reconnectTimer&&window.clearTimeout(this.reconnectTimer)}startIdleReconnectTimer(){this.startReconnectTimer(this.connectOptions.idleReconnectInSeconds||SceneTreeController.IDLE_RECONNECT_IN_SECONDS)}startConnectionLostReconnectTimer(){this.startReconnectTimer(this.connectOptions.lostConnectionReconnectInSeconds||SceneTreeController.LOST_CONNECTION_RECONNECT_IN_SECONDS)}startReconnectTimer(o){this.clearReconnectTimer(),this.reconnectTimer=window.setTimeout((()=>{"connected"===this.state.connection.type&&this.connect(this.state.connection.jwtProvider)}),1e3*o)}connectToViewer(o){const t=async()=>{if(null!=await o.getJwt()){console.debug("Scene tree controller found viewer JWT. Attempting connection.");try{await this.connect((()=>o.getJwt()))}catch(o){console.error("Scene tree controller erred connecting.",o)}}},n=()=>{console.debug("Scene tree controller received scene ready"),t()};return t(),o.addEventListener("sceneReady",n),{dispose:()=>o.removeEventListener("sceneReady",n)}}disconnect(o=!1){console.debug(`Scene tree controller disconnecting [reset=${o}]`),this.clearReconnectTimer(),o&&(this.pages.clear(),this.activeRowRange=[]);const{connection:t}=this.state;"connected"===t.type&&t.subscription.dispose(),this.updateState({connection:{type:"disconnected",jwtProvider:t.jwtProvider,sceneViewId:t.sceneViewId},totalRows:o?0:this.state.totalRows,rows:o?[]:this.state.rows})}async collapseNode(o){return this.ifConnectionHasJwt((async t=>{const n=new uuid_pb.Uuid;n.setHex(o);const r=new scene_tree_api_pb.CollapseNodeRequest;r.setNodeId(n),await this.requestUnary(t,((o,t)=>this.client.collapseNode(r,o,t)))}))}async expandNode(o){return this.ifConnectionHasJwt((async t=>{const n=new uuid_pb.Uuid;n.setHex(o);const r=new scene_tree_api_pb.ExpandNodeRequest;r.setNodeId(n),await this.requestUnary(t,((o,t)=>this.client.expandNode(r,o,t)))}))}async collapseAll(){return this.ifConnectionHasJwt((async o=>{await this.requestUnary(o,((o,t)=>this.client.collapseAll(new scene_tree_api_pb.CollapseAllRequest,o,t)))}))}async expandAll(){return this.ifConnectionHasJwt((async o=>{await this.requestUnary(o,((o,t)=>this.client.expandAll(new scene_tree_api_pb.ExpandAllRequest,o,t)))}))}async expandParentNodes(o){return this.ifConnectionHasJwt((async t=>{const n=new uuid_pb.Uuid;n.setHex(o);const r=new scene_tree_api_pb.LocateItemRequest;r.setNodeId(n);const e=await this.requestUnary(t,((o,t)=>this.client.locateItem(r,o,t))),{requiresReload:g,locatedIndex:i}=e.toObject();if(g&&(this.invalidateAfterOffset(0),await this.fetchUnloadedPagesInActiveRows()),null==i)throw new Error("Cannot locate node. Location index is undefined.");return i.value}))}async fetchNodeAncestors(o){return this.ifConnectionHasJwt((async t=>{const n=new uuid_pb.Uuid;n.setHex(o);const r=new scene_tree_api_pb.GetNodeAncestorsRequest;return r.setNodeId(n),(await this.requestUnary(t,((o,t)=>this.client.getNodeAncestors(r,o,t)))).toObject().itemsList}))}async fetchPage(o){return this.ifConnectionHasJwt((async t=>{var n;if(!(o<0||o>this.maxPages-1)){if(!this.pages.has(o)){const n=o*this.rowLimit;console.debug("Scene tree fetching page",o,n);const r=this.fetchTree(n,this.rowLimit,t),e={id:this.nextPageId++,res:r,index:o,metadataKeys:this.metadataKeys};this.pages.set(o,e),this.handlePageResult(e)}await(null===(n=this.pages.get(o))||void 0===n?void 0:n.res)}}))}fetchPageAtOffset(o){const t=Math.floor(o/this.rowLimit);return this.fetchPage(t)}async fetchRange(o,t){const n=Math.floor(o/this.rowLimit),r=Math.floor(t/this.rowLimit),[e,g]=this.constrainPageRange(n,r),i=g-e+1;await Promise.all(Array.from({length:i}).map(((o,t)=>this.fetchPage(t))))}async fetchMetadataKeys(){return this.ifConnectionHasJwt((async o=>(await this.requestUnary(o,((o,t)=>{const n=new scene_tree_api_pb.GetAvailableColumnsRequest;this.client.getAvailableColumns(n,o,t)}))).getKeysList().map((o=>o.getValue()))))}async filter(o,t={}){await this.ifConnectionHasJwt((n=>this.requestUnary(n,((n,r)=>{var e;const g=new scene_tree_api_pb.FilterRequest;g.setFilter(o),g.setFullTree(!0===(null===(e=t.includeCollapsed)||void 0===e||e)),this.client.filter(g,n,r)}))))}isPageLoaded(o){return this.pages.has(o)}getNonLoadedPageIndexes(o,t){const[n,r]=this.constrainPageRange(o,t);return Array.from({length:r-n+1}).map(((o,t)=>n+t)).filter((o=>!this.isPageLoaded(o)))}getPage(o){return this.pages.get(o)}invalidatePagesOutsideRange(o,t,n=0){const[r,e]=this.constrainPageRange(o,t),g=Math.max(e-r,n);if(this.fetchedPageCount>g){const o=Array.from(this.pages.keys()).map((o=>({index:o,distance:o<r?r-o:o-e})));o.sort(((o,t)=>t.distance-o.distance)).slice(0,o.length-n).forEach((({index:o})=>this.invalidatePage(o))),console.debug(`Scene tree dropped ${o.length-this.fetchedPageCount} pages`,this.pages)}}setMetadataKeys(o){if(this.metadataKeys=o,"connected"===this.state.connection.type){const[o,t]=this.activeRowRange;return this.invalidateAfterOffset(0),this.updateActiveRowRange(o,t)}return Promise.resolve()}async updateActiveRowRange(o,t){this.activeRowRange=this.constrainRowOffsets(o,t),await this.fetchUnloadedPagesInActiveRows()}subscribe(){return this.ifConnectionHasJwt((o=>{const t=this.requestServerStream(o,(o=>this.client.subscribe(new scene_tree_api_pb.SubscribeRequest,o)));return t.on("data",(o=>{this.startIdleReconnectTimer();const{change:t}=o.toObject();null!=(null==t?void 0:t.listChange)&&(console.debug("Received list change",t.listChange.start),this.invalidateAfterOffset(t.listChange.start),this.fetchUnloadedPagesInActiveRows());const{hiddenList:n=[],shownList:r=[],partiallyVisibleList:e=[],deselectedList:g=[],selectedList:i=[]}=(null==t?void 0:t.ranges)||{};e.length>0&&(console.debug("Received partial visibility list change",e),e.forEach((({start:o,end:t})=>this.patchNodesInRange(o,t,(()=>({partiallyVisible:!0})))))),n.length>0&&(console.debug("Received hidden list change",n),n.forEach((({start:o,end:t})=>this.patchNodesInRange(o,t,(()=>({visible:!1,partiallyVisible:!1})))))),r.length>0&&(console.debug("Received shown list change",r),r.forEach((({start:o,end:t})=>this.patchNodesInRange(o,t,(()=>({visible:!0,partiallyVisible:!1})))))),g.length>0&&(console.debug("Received deselected list change",g),g.forEach((({start:o,end:t})=>this.patchNodesInRange(o,t,(()=>({selected:!1})))))),i.length>0&&(console.debug("Received selected list change",i),i.forEach((({start:o,end:t})=>this.patchNodesInRange(o,t,(()=>({selected:!0}))))))})),t}))}async fetchUnloadedPagesInActiveRows(){const[o,t]=this.getPageIndexesForRange(this.activeRowRange[0],this.activeRowRange[1]),n=this.getNonLoadedPageIndexes(o-1,t+1);await Promise.all(n.map((o=>this.fetchPage(o))))}patchNodesInRange(o,t,n){const r=this.state.rows.slice(o,t+1).map((o=>null!=o?Object.assign(Object.assign({},o),{node:Object.assign(Object.assign({},o.node),n(o.node))}):o)),e=[...this.state.rows.slice(0,o),...r,...this.state.rows.slice(t+1)];this.updateState(Object.assign(Object.assign({},this.state),{rows:e}))}async handlePageResult(o){var t;try{const n=await o.res,r=this.getPage(o.index);if((null==r?void 0:r.id)===o.id){const e=n.getCursor(),g=n.getItemsList(),i=null!==(t=null==e?void 0:e.getTotal())&&void 0!==t?t:0,u=o.index*this.rowLimit,s=fromNodeProto(u,g,r.metadataKeys),f=this.state.rows.slice(0,u),c=this.state.rows.slice(f.length+s.length,i),a=new Array(Math.max(0,i-f.length-s.length-c.length)),p=[...f,...s,...c,...a];this.updateState(Object.assign(Object.assign({},this.state),{totalRows:i,rows:p}))}}catch(t){const n=t instanceof Error?t.toString():"Unknown";console.error(`Request error fetching page at index ${o.index} (${n})`);const r=this.getPage(o.index);(null==r?void 0:r.id)===o.id&&this.invalidatePage(o.index)}}invalidatePage(o){this.isPageLoaded(o)&&this.pages.delete(o)}invalidateAfterOffset(o){const t=Math.floor(o/this.rowLimit);for(const o of this.pages.keys())o>=t&&this.invalidatePage(o)}updateState(o){this.state=o,this.onStateChange.emit(this.state)}getPageForOffset(o){const t=Math.floor(o/this.rowLimit);return this.constrainPageIndex(t)}getPageIndexesForRange(o,t){return[this.getPageForOffset(o),this.getPageForOffset(t)]}async fetchTree(o,t,n){return this.requestUnary(n,((n,r)=>{const e=new paging_pb.OffsetPager;e.setOffset(o),e.setLimit(t);const g=new scene_tree_api_pb.GetTreeRequest;g.setPager(e),g.setAdditionalColumnKeysList(this.metadataKeys),this.client.getTree(g,n,r)}))}requestUnary(o,t){return new Promise(((n,r)=>{const e=this.createJwtMetadata(o);t(e,((o,t)=>{null!=o?r(o):null!=t?n(t):r(new Error("Invalid response. Both error and result are null"))}))}))}requestServerStream(o,t){return t(this.createJwtMetadata(o))}createJwtMetadata(o){return new grpcWebClient_umd.grpc.Metadata({"jwt-context":JSON.stringify({jwt:o})})}async ifConnectionHasJwt(o){const{connection:t}=this.state;if("connecting"===t.type||"connected"===t.type){const n=await t.jwtProvider();if(null!=n)return o(n);throw new Error("SceneTreeController cannot perform request. Viewer JWT is undefined.")}throw new Error("SceneTreeController is not in connected state")}getConnectionError(o){return isGrpcServiceError(o)&&o.code===grpcWebClient_umd.grpc.Code.FailedPrecondition?new SceneTreeErrorDetails(SceneTreeErrorCode.SCENE_TREE_DISABLED,"https://developer.vertexvis.com"):new SceneTreeErrorDetails(SceneTreeErrorCode.UNKNOWN)}constrainPageRange(o,t){return[Math.max(0,o),Math.min(this.maxPages-1,t)]}constrainPageIndex(o){return Math.max(0,Math.min(o,this.maxPages-1))}constrainRowOffsets(o,t){return[Math.max(0,o),Math.min(this.state.totalRows-1,t)]}get maxPages(){return Math.max(1,Math.ceil(this.state.totalRows/this.rowLimit))}}function getSceneTreeViewportHeight(o){return o.clientHeight}function getSceneTreeContainsElement(o,t){return o.contains(t)}function scrollToTop(o,t,n){o.scrollTo(Object.assign({top:t},n))}async function showItem(o,t){return(await o.scene()).items((o=>o.where((o=>o.withItemId(t))).show())).execute()}async function hideItem(o,t){return(await o.scene()).items((o=>o.where((o=>o.withItemId(t))).hide())).execute()}async function selectItem(o,t,{material:n,append:r=!1}){return(await o.scene()).items((o=>[...r?[]:[o.where((o=>o.all())).deselect()],o.where((o=>o.withItemId(t))).select(n)])).execute()}async function deselectItem(o,t){return(await o.scene()).items((o=>o.where((o=>o.withItemId(t))).deselect())).execute()}SceneTreeController.IDLE_RECONNECT_IN_SECONDS=240,SceneTreeController.LOST_CONNECTION_RECONNECT_IN_SECONDS=2;class ElementPool{constructor(o,t){this.container=o,this.elementFactory=t,this.instanceMap=new Map,this.elements=[]}swapHeadToTail(o){const t=this.elements.splice(0,o);return this.elements.splice(this.elements.length,0,...t),this.elements.concat()}swapTailToHead(o){const t=this.elements.splice(-o,o);return this.elements.splice(0,0,...t),this.elements.concat()}updateElements(o){const t=o-this.elements.length;if(t>0)for(let o=0;o<t;o++)this.createElement();else for(let o=0;o<-t;o++)this.deleteElement();return this.elements.concat()}updateData(o){this.elements.forEach(((t,n)=>{const r=this.instanceMap.get(t),e=o(n);null==r||r.bindings.bind(e)}))}iterateElements(o){this.elements.forEach(((t,n)=>{const r=this.instanceMap.get(t);if(null==r)throw new Error("Binding not found for element.");o(t,r.bindings,n)}))}createElement(){const o=this.elementFactory();return this.elements.push(o.element),this.instanceMap.set(o.element,o),this.container.append(o.element),o}deleteElement(){const o=this.elements.pop();null!=o&&(this.instanceMap.delete(o),o.remove())}}
|
|
4
|
+
import{r as registerInstance,c as createEvent,f as forceUpdate,h,H as Host,g as getElement}from"./p-c9d8a379.js";import{j as __rest}from"./p-640cb5f8.js";import{a as commonjsGlobal,c as createCommonjsModule}from"./p-112455b1.js";import{E as EventDispatcher}from"./p-59d075d4.js";import{g as getElementBoundingClientRect,p as parseConfig}from"./p-d42a482c.js";import{w as writeDOM,r as readDOM}from"./p-9f048664.js";import"./p-21e8510d.js";window.requestIdleCallback=window.requestIdleCallback||function(o){var t=Date.now();return setTimeout((function(){o({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},window.cancelIdleCallback=window.cancelIdleCallback||function(o){clearTimeout(o)};var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(o,t,n){o instanceof String&&(o=String(o));for(var r=o.length,e=0;e<r;e++){var g=o[e];if(t.call(n,g,e,o))return{i:e,v:g}}return{i:-1,v:void 0}},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(o,t,n){o!=Array.prototype&&o!=Object.prototype&&(o[t]=n.value)},$jscomp.getGlobal=function(o){return"undefined"!=typeof window&&window===o?o:void 0!==commonjsGlobal&&null!=commonjsGlobal?commonjsGlobal:o},$jscomp.global=$jscomp.getGlobal(commonjsGlobal),$jscomp.polyfill=function(o,t,n,r){if(t){for(n=$jscomp.global,o=o.split("."),r=0;r<o.length-1;r++){var e=o[r];e in n||(n[e]={}),n=n[e]}(t=t(r=n[o=o[o.length-1]]))!=r&&null!=t&&$jscomp.defineProperty(n,o,{configurable:!0,writable:!0,value:t})}},$jscomp.polyfill("Array.prototype.findIndex",(function(o){return o||function(o,t){return $jscomp.findInternal(this,o,t).i}}),"es6","es3"),$jscomp.checkStringArgs=function(o,t,n){if(null==o)throw new TypeError("The 'this' value for String.prototype."+n+" must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype."+n+" must not be a regular expression");return o+""},$jscomp.polyfill("String.prototype.endsWith",(function(o){return o||function(o,t){var n=$jscomp.checkStringArgs(this,o,"endsWith");o+="",void 0===t&&(t=n.length),t=Math.max(0,Math.min(0|t,n.length));for(var r=o.length;0<r&&0<t;)if(n[--t]!=o[--r])return!1;return 0>=r}}),"es6","es3"),$jscomp.polyfill("Array.prototype.find",(function(o){return o||function(o,t){return $jscomp.findInternal(this,o,t).v}}),"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",(function(o){return o||function(o,t){var n=$jscomp.checkStringArgs(this,o,"startsWith"),r=n.length,e=(o+="").length;t=Math.max(0,Math.min(0|t,n.length));for(var g=0;g<e&&t<r;)if(n[t++]!=o[g++])return!1;return g>=e}}),"es6","es3"),$jscomp.polyfill("String.prototype.repeat",(function(o){return o||function(o){var t=$jscomp.checkStringArgs(this,null,"repeat");if(0>o||1342177279<o)throw new RangeError("Invalid count value");o|=0;for(var n="";o;)1&o&&(n+=t),(o>>>=1)&&(t+=t);return n}}),"es6","es3");var COMPILED$1=!0,goog=goog||{};goog.global=commonjsGlobal||self,goog.isDef=function(o){return void 0!==o},goog.isString=function(o){return"string"==typeof o},goog.isBoolean=function(o){return"boolean"==typeof o},goog.isNumber=function(o){return"number"==typeof o},goog.exportPath_=function(o,t,n){(o=o.split("."))[0]in(n=n||goog.global)||void 0===n.execScript||n.execScript("var "+o[0]);for(var r;o.length&&(r=o.shift());)!o.length&&goog.isDef(t)?n[r]=t:n=n[r]&&n[r]!==Object.prototype[r]?n[r]:n[r]={}},goog.define=function(o,t){return t},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.STRICT_MODE_COMPATIBLE=!1,goog.DISALLOW_TEST_ONLY_CODE=!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(o){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");goog.constructNamespace_(o)},goog.constructNamespace_=function(o,t){goog.exportPath_(o,t)},goog.getScriptNonce=function(o){return o&&o!=goog.global?goog.getScriptNonce_(o.document):(null===goog.cspNonce_&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(o){return(o=o.querySelector&&o.querySelector("script[nonce]"))&&(o=o.nonce||o.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(o)?o:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(o){if(!goog.isString(o)||!o||-1==o.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+o+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");goog.moduleLoaderState_.moduleName=o},goog.module.get=function(o){return goog.module.getInternal_(o)},goog.module.getInternal_=function(){return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var o=goog.global.$jscomp;return!!o&&"function"==typeof o.getCurrentModulePath&&!!o.getCurrentModulePath()},goog.module.declareLegacyNamespace=function(){goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(o){if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=o;else{var t=goog.global.$jscomp;if(!t||"function"!=typeof t.getCurrentModulePath)throw Error('Module with namespace "'+o+'" has been loaded incorrectly.');t=t.require(t.getCurrentModulePath()),goog.loadedModules_[o]={exports:t,type:goog.ModuleType.ES6,moduleId:o}}},goog.setTestOnly=function(o){if(goog.DISALLOW_TEST_ONLY_CODE)throw o=o||"",Error("Importing test-only code into non-debug environment"+(o?": "+o:"."))},goog.forwardDeclare=function(){},goog.getObjectByName=function(o,t){o=o.split("."),t=t||goog.global;for(var n=0;n<o.length;n++)if(!goog.isDefAndNotNull(t=t[o[n]]))return null;return t},goog.globalize=function(o,t){for(var n in t=t||goog.global,o)t[n]=o[n]},goog.addDependency=function(){},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(o){goog.global.console&&goog.global.console.error(o)},goog.require=function(){},goog.requireType=function(){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(o){o.instance_=void 0,o.getInstance=function(){return o.instance_?o.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=o),o.instance_=new o)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED$1,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(null==goog.hasBadLetScoping){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(o){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(o){return"(function(){"+o+"\n;})();\n"},goog.loadModule=function(o){var t=goog.moduleLoaderState_;try{if(goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG},goog.isFunction(o))var n=o.call(void 0,{});else{if(!goog.isString(o))throw Error("Invalid module definition");goog.useSafari10Workaround()&&(o=goog.workaroundSafari10EvalBug(o)),n=goog.loadModuleFromSource_.call(void 0,o)}var r=goog.moduleLoaderState_.moduleName;if(!goog.isString(r)||!r)throw Error('Invalid module name "'+r+'"');goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(r,n):goog.SEAL_MODULE_EXPORTS&&Object.seal&&"object"==typeof n&&null!=n&&Object.seal(n),goog.loadedModules_[r]={exports:n,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName}}finally{goog.moduleLoaderState_=t}},goog.loadModuleFromSource_=function(a){return eval(a),{}},goog.normalizePath_=function(o){o=o.split("/");for(var t=0;t<o.length;)"."==o[t]?o.splice(t,1):t&&".."==o[t]&&o[t-1]&&".."!=o[t-1]?o.splice(--t,2):t++;return o.join("/")},goog.loadFileSync_=function(o){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(o);try{var t=new goog.global.XMLHttpRequest;return t.open("get",o,!1),t.send(),0==t.status||200==t.status?t.responseText:null}catch(o){return null}},goog.transpile_=function(o,t,n){var r=goog.global.$jscomp;r||(goog.global.$jscomp=r={});var e=r.transpile;if(!e){var g=goog.basePath+goog.TRANSPILER,i=goog.loadFileSync_(g);if(i){if(function(){(0,eval)(i+"\n//# sourceURL="+g)}.call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,e=(r=goog.global.$jscomp).transpile}}return e||(e=r.transpile=function(o,t){return goog.logToConsole_(t+" requires transpilation but no transpiler was found."),o}),e(o,t,n)},goog.typeOf=function(o){var t=typeof o;if("object"==t){if(!o)return"null";if(o instanceof Array)return"array";if(o instanceof Object)return t;var n=Object.prototype.toString.call(o);if("[object Window]"==n)return"object";if("[object Array]"==n||"number"==typeof o.length&&void 0!==o.splice&&void 0!==o.propertyIsEnumerable&&!o.propertyIsEnumerable("splice"))return"array";if("[object Function]"==n||void 0!==o.call&&void 0!==o.propertyIsEnumerable&&!o.propertyIsEnumerable("call"))return"function"}else if("function"==t&&void 0===o.call)return"object";return t},goog.isNull=function(o){return null===o},goog.isDefAndNotNull=function(o){return null!=o},goog.isArray=function(o){return"array"==goog.typeOf(o)},goog.isArrayLike=function(o){var t=goog.typeOf(o);return"array"==t||"object"==t&&"number"==typeof o.length},goog.isDateLike=function(o){return goog.isObject(o)&&"function"==typeof o.getFullYear},goog.isFunction=function(o){return"function"==goog.typeOf(o)},goog.isObject=function(o){var t=typeof o;return"object"==t&&null!=o||"function"==t},goog.getUid=function(o){return o[goog.UID_PROPERTY_]||(o[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(o){return!!o[goog.UID_PROPERTY_]},goog.removeUid=function(o){null!==o&&"removeAttribute"in o&&o.removeAttribute(goog.UID_PROPERTY_);try{delete o[goog.UID_PROPERTY_]}catch(o){}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(o){var t=goog.typeOf(o);if("object"==t||"array"==t){if("function"==typeof o.clone)return o.clone();for(var n in t="array"==t?[]:{},o)t[n]=goog.cloneObject(o[n]);return t}return o},goog.bindNative_=function(o,t,n){return o.call.apply(o.bind,arguments)},goog.bindJs_=function(o,t,n){if(!o)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),o.apply(t,n)}}return function(){return o.apply(t,arguments)}},goog.bind=function(o,t,n){return goog.bind=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bindNative_:goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(o,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=n.slice();return t.push.apply(t,arguments),o.apply(this,t)}},goog.mixin=function(o,t){for(var n in t)o[n]=t[n]},goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date},goog.globalEval=function(o){if(goog.global.execScript)goog.global.execScript(o,"JavaScript");else{if(!goog.global.eval)throw Error("goog.globalEval not available");if(null==goog.evalWorksForGlobals_){try{goog.global.eval("var _evalTest_ = 1;")}catch(o){}if(void 0!==goog.global._evalTest_){try{delete goog.global._evalTest_}catch(o){}goog.evalWorksForGlobals_=!0}else goog.evalWorksForGlobals_=!1}if(goog.evalWorksForGlobals_)goog.global.eval(o);else{var t=goog.global.document,n=t.createElement("SCRIPT");n.type="text/javascript",n.defer=!1,n.appendChild(t.createTextNode(o)),t.head.appendChild(n),t.head.removeChild(n)}}},goog.evalWorksForGlobals_=null,goog.getCssName=function(o,t){if("."==String(o).charAt(0))throw Error('className passed in goog.getCssName must not start with ".". You passed: '+o);var n=function(o){return goog.cssNameMapping_[o]||o},r=function(o){o=o.split("-");for(var t=[],r=0;r<o.length;r++)t.push(n(o[r]));return t.join("-")};return r=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?n:r:function(o){return o},o=t?o+"-"+r(t):r(o),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(o):o},goog.setCssNameMapping=function(o,t){goog.cssNameMapping_=o,goog.cssNameMappingStyle_=t},goog.getMsg=function(o,t,n){return n&&n.html&&(o=o.replace(/</g,"<")),t&&(o=o.replace(/\{\$([^}]+)}/g,(function(o,n){return null!=t&&n in t?t[n]:o}))),o},goog.getMsgWithFallback=function(o){return o},goog.exportSymbol=function(o,t,n){goog.exportPath_(o,t,n)},goog.exportProperty=function(o,t,n){o[t]=n},goog.inherits=function(o,t){function n(){}n.prototype=t.prototype,o.superClass_=t.prototype,o.prototype=new n,o.prototype.constructor=o,o.base=function(o,n,r){for(var e=Array(arguments.length-2),g=2;g<arguments.length;g++)e[g-2]=arguments[g];return t.prototype[n].apply(o,e)}},goog.base=function(o,t,n){var r=arguments.callee.caller;if(goog.STRICT_MODE_COMPATIBLE||goog.DEBUG&&!r)throw Error("arguments.caller not defined. goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C");if(void 0!==r.superClass_){for(var e=Array(arguments.length-1),g=1;g<arguments.length;g++)e[g-1]=arguments[g];return r.superClass_.constructor.apply(o,e)}if("string"!=typeof t&&"symbol"!=typeof t)throw Error("method names provided to goog.base must be a string or a symbol");for(e=Array(arguments.length-2),g=2;g<arguments.length;g++)e[g-2]=arguments[g];g=!1;for(var i=o.constructor.prototype;i;i=Object.getPrototypeOf(i))if(i[t]===r)g=!0;else if(g)return i[t].apply(o,e);if(o[t]===r)return o.constructor.prototype[t].apply(o,e);throw Error("goog.base called from a method of one name to a method of a different name")},goog.scope=function(o){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");o.call(goog.global)},goog.defineClass=function(o,t){var n=t.constructor,r=t.statics;return n&&n!=Object.prototype.constructor||(n=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),n=goog.defineClass.createSealingConstructor_(n,o),o&&goog.inherits(n,o),delete t.constructor,delete t.statics,goog.defineClass.applyProperties_(n.prototype,t),null!=r&&(r instanceof Function?r(n):goog.defineClass.applyProperties_(n,r)),n},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(o,t){if(!goog.defineClass.SEAL_CLASS_INSTANCES)return o;var n=!goog.defineClass.isUnsealable_(t),r=function(){var t=o.apply(this,arguments)||this;return t[goog.UID_PROPERTY_]=t[goog.UID_PROPERTY_],this.constructor===r&&n&&Object.seal instanceof Function&&Object.seal(t),t};return r},goog.defineClass.isUnsealable_=function(o){return o&&o.prototype&&o.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(o,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=t[n]);for(var r=0;r<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;r++)n=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[r],Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=t[n])},goog.tagUnsealableClass=function(){},goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable",goog.TRUSTED_TYPES_POLICY_NAME="",goog.identity_=function(o){return o},goog.createTrustedTypesPolicy=function(o){var t=null;if("undefined"==typeof TrustedTypes||!TrustedTypes.createPolicy)return t;try{t=TrustedTypes.createPolicy(o,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_,createURL:goog.identity_})}catch(o){goog.logToConsole_(o.message)}return t},goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null,goog.object={},goog.object.is=function(o,t){return o===t?0!==o||1/o==1/t:o!=o&&t!=t},goog.object.forEach=function(o,t,n){for(var r in o)t.call(n,o[r],r,o)},goog.object.filter=function(o,t,n){var r,e={};for(r in o)t.call(n,o[r],r,o)&&(e[r]=o[r]);return e},goog.object.map=function(o,t,n){var r,e={};for(r in o)e[r]=t.call(n,o[r],r,o);return e},goog.object.some=function(o,t,n){for(var r in o)if(t.call(n,o[r],r,o))return!0;return!1},goog.object.every=function(o,t,n){for(var r in o)if(!t.call(n,o[r],r,o))return!1;return!0},goog.object.getCount=function(o){var t,n=0;for(t in o)n++;return n},goog.object.getAnyKey=function(o){for(var t in o)return t},goog.object.getAnyValue=function(o){for(var t in o)return o[t]},goog.object.contains=function(o,t){return goog.object.containsValue(o,t)},goog.object.getValues=function(o){var t,n=[],r=0;for(t in o)n[r++]=o[t];return n},goog.object.getKeys=function(o){var t,n=[],r=0;for(t in o)n[r++]=t;return n},goog.object.getValueByKeys=function(o,t){var n=goog.isArrayLike(t),r=n?t:arguments;for(n=n?0:1;n<r.length;n++){if(null==o)return;o=o[r[n]]}return o},goog.object.containsKey=function(o,t){return null!==o&&t in o},goog.object.containsValue=function(o,t){for(var n in o)if(o[n]==t)return!0;return!1},goog.object.findKey=function(o,t,n){for(var r in o)if(t.call(n,o[r],r,o))return r},goog.object.findValue=function(o,t,n){return(t=goog.object.findKey(o,t,n))&&o[t]},goog.object.isEmpty=function(o){for(var t in o)return!1;return!0},goog.object.clear=function(o){for(var t in o)delete o[t]},goog.object.remove=function(o,t){var n;return(n=t in o)&&delete o[t],n},goog.object.add=function(o,t,n){if(null!==o&&t in o)throw Error('The object already contains the key "'+t+'"');goog.object.set(o,t,n)},goog.object.get=function(o,t,n){return null!==o&&t in o?o[t]:n},goog.object.set=function(o,t,n){o[t]=n},goog.object.setIfUndefined=function(o,t,n){return t in o?o[t]:o[t]=n},goog.object.setWithReturnValueIfNotSet=function(o,t,n){return t in o?o[t]:(n=n(),o[t]=n)},goog.object.equals=function(o,t){for(var n in o)if(!(n in t)||o[n]!==t[n])return!1;for(var r in t)if(!(r in o))return!1;return!0},goog.object.clone=function(o){var t,n={};for(t in o)n[t]=o[t];return n},goog.object.unsafeClone=function(o){var t=goog.typeOf(o);if("object"==t||"array"==t){if(goog.isFunction(o.clone))return o.clone();for(var n in t="array"==t?[]:{},o)t[n]=goog.object.unsafeClone(o[n]);return t}return o},goog.object.transpose=function(o){var t,n={};for(t in o)n[o[t]]=t;return n},goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.object.extend=function(o,t){for(var n,r,e=1;e<arguments.length;e++){for(n in r=arguments[e])o[n]=r[n];for(var g=0;g<goog.object.PROTOTYPE_FIELDS_.length;g++)n=goog.object.PROTOTYPE_FIELDS_[g],Object.prototype.hasOwnProperty.call(r,n)&&(o[n]=r[n])}},goog.object.create=function(o){var t=arguments.length;if(1==t&&goog.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(t%2)throw Error("Uneven number of arguments");for(var n={},r=0;r<t;r+=2)n[arguments[r]]=arguments[r+1];return n},goog.object.createSet=function(o){var t=arguments.length;if(1==t&&goog.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var n={},r=0;r<t;r++)n[arguments[r]]=!0;return n},goog.object.createImmutableView=function(o){var t=o;return Object.isFrozen&&!Object.isFrozen(o)&&(t=Object.create(o),Object.freeze(t)),t},goog.object.isImmutableView=function(o){return!!Object.isFrozen&&Object.isFrozen(o)},goog.object.getAllPropertyNames=function(o,t,n){if(!o)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(o);for(var r={};o&&(o!==Object.prototype||t)&&(o!==Function.prototype||n);){for(var e=Object.getOwnPropertyNames(o),g=0;g<e.length;g++)r[e[g]]=!0;o=Object.getPrototypeOf(o)}return goog.object.getKeys(r)},goog.object.getSuperClass=function(o){return(o=Object.getPrototypeOf(o.prototype))&&o.constructor},goog.debug={},goog.debug.Error=function(o){if(Error.captureStackTrace)Error.captureStackTrace(this,goog.debug.Error);else{var t=Error().stack;t&&(this.stack=t)}o&&(this.message=String(o)),this.reportErrorToServer=!0},goog.inherits(goog.debug.Error,Error),goog.debug.Error.prototype.name="CustomError",goog.dom={},goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},goog.asserts={},goog.asserts.ENABLE_ASSERTS=goog.DEBUG,goog.asserts.AssertionError=function(o,t){goog.debug.Error.call(this,goog.asserts.subs_(o,t)),this.messagePattern=o},goog.inherits(goog.asserts.AssertionError,goog.debug.Error),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(o){throw o},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(o,t){for(var n="",r=(o=o.split("%s")).length-1,e=0;e<r;e++)n+=o[e]+(e<t.length?t[e]:"%s");return n+o[r]},goog.asserts.doAssertFailure_=function(o,t,n,r){var e="Assertion failed";if(n){e+=": "+n;var g=r}else o&&(e+=": "+o,g=t);o=new goog.asserts.AssertionError(""+e,g||[]),goog.asserts.errorHandler_(o)},goog.asserts.setErrorHandler=function(o){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=o)},goog.asserts.assert=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&!o&&goog.asserts.doAssertFailure_("",null,t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertExists=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&null==o&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.fail=function(o,t){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(o?": "+o:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isNumber(o)&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertString=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isString(o)&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertFunction=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isFunction(o)&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertObject=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(o)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertArray=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isArray(o)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertBoolean=function(o,t,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isBoolean(o)&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertElement=function(o,t,n){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(o)&&o.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(o),o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertInstanceof=function(o,t,n,r){return!goog.asserts.ENABLE_ASSERTS||o instanceof t||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(t),goog.asserts.getType_(o)],n,Array.prototype.slice.call(arguments,3)),o},goog.asserts.assertFinite=function(o,t,n){return!goog.asserts.ENABLE_ASSERTS||"number"==typeof o&&isFinite(o)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[o],t,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var o in Object.prototype)goog.asserts.fail(o+" should not be enumerable in Object.prototype.")},goog.asserts.getType_=function(o){return o instanceof Function?o.displayName||o.name||"unknown type name":o instanceof Object?o.constructor.displayName||o.constructor.name||Object.prototype.toString.call(o):null===o?"null":typeof o};var jspb={BinaryConstants:{},ConstBinaryMessage:function(){},BinaryMessage:function(){}};jspb.BinaryConstants.FieldType={INVALID:-1,DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18,FHASH64:30,VHASH64:31},jspb.BinaryConstants.WireType={INVALID:-1,VARINT:0,FIXED64:1,DELIMITED:2,START_GROUP:3,END_GROUP:4,FIXED32:5},jspb.BinaryConstants.FieldTypeToWireType=function(o){var t=jspb.BinaryConstants.FieldType,n=jspb.BinaryConstants.WireType;switch(o){case t.INT32:case t.INT64:case t.UINT32:case t.UINT64:case t.SINT32:case t.SINT64:case t.BOOL:case t.ENUM:case t.VHASH64:return n.VARINT;case t.DOUBLE:case t.FIXED64:case t.SFIXED64:case t.FHASH64:return n.FIXED64;case t.STRING:case t.MESSAGE:case t.BYTES:return n.DELIMITED;case t.FLOAT:case t.FIXED32:case t.SFIXED32:return n.FIXED32;default:return n.INVALID}},jspb.BinaryConstants.INVALID_FIELD_NUMBER=-1,jspb.BinaryConstants.FLOAT32_EPS=1401298464324817e-60,jspb.BinaryConstants.FLOAT32_MIN=11754943508222875e-54,jspb.BinaryConstants.FLOAT32_MAX=34028234663852886e22,jspb.BinaryConstants.FLOAT64_EPS=5e-324,jspb.BinaryConstants.FLOAT64_MIN=22250738585072014e-324,jspb.BinaryConstants.FLOAT64_MAX=17976931348623157e292,jspb.BinaryConstants.TWO_TO_20=1048576,jspb.BinaryConstants.TWO_TO_23=8388608,jspb.BinaryConstants.TWO_TO_31=2147483648,jspb.BinaryConstants.TWO_TO_32=4294967296,jspb.BinaryConstants.TWO_TO_52=4503599627370496,jspb.BinaryConstants.TWO_TO_63=0x8000000000000000,jspb.BinaryConstants.TWO_TO_64=0x10000000000000000,jspb.BinaryConstants.ZERO_HASH="\0\0\0\0\0\0\0\0",goog.array={},goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE,goog.array.ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR,goog.array.peek=function(o){return o[o.length-1]},goog.array.last=goog.array.peek,goog.array.indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(o,t,n){return goog.asserts.assert(null!=o.length),Array.prototype.indexOf.call(o,t,n)}:function(o,t,n){if(n=null==n?0:0>n?Math.max(0,o.length+n):n,goog.isString(o))return goog.isString(t)&&1==t.length?o.indexOf(t,n):-1;for(;n<o.length;n++)if(n in o&&o[n]===t)return n;return-1},goog.array.lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(o,t,n){return goog.asserts.assert(null!=o.length),Array.prototype.lastIndexOf.call(o,t,null==n?o.length-1:n)}:function(o,t,n){if(0>(n=null==n?o.length-1:n)&&(n=Math.max(0,o.length+n)),goog.isString(o))return goog.isString(t)&&1==t.length?o.lastIndexOf(t,n):-1;for(;0<=n;n--)if(n in o&&o[n]===t)return n;return-1},goog.array.forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(o,t,n){goog.asserts.assert(null!=o.length),Array.prototype.forEach.call(o,t,n)}:function(o,t,n){for(var r=o.length,e=goog.isString(o)?o.split(""):o,g=0;g<r;g++)g in e&&t.call(n,e[g],g,o)},goog.array.forEachRight=function(o,t,n){var r=o.length,e=goog.isString(o)?o.split(""):o;for(--r;0<=r;--r)r in e&&t.call(n,e[r],r,o)},goog.array.filter=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(o,t,n){return goog.asserts.assert(null!=o.length),Array.prototype.filter.call(o,t,n)}:function(o,t,n){for(var r=o.length,e=[],g=0,i=goog.isString(o)?o.split(""):o,u=0;u<r;u++)if(u in i){var s=i[u];t.call(n,s,u,o)&&(e[g++]=s)}return e},goog.array.map=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(o,t,n){return goog.asserts.assert(null!=o.length),Array.prototype.map.call(o,t,n)}:function(o,t,n){for(var r=o.length,e=Array(r),g=goog.isString(o)?o.split(""):o,i=0;i<r;i++)i in g&&(e[i]=t.call(n,g[i],i,o));return e},goog.array.reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(o,t,n,r){return goog.asserts.assert(null!=o.length),r&&(t=goog.bind(t,r)),Array.prototype.reduce.call(o,t,n)}:function(o,t,n,r){var e=n;return goog.array.forEach(o,(function(n,g){e=t.call(r,e,n,g,o)})),e},goog.array.reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(o,t,n,r){return goog.asserts.assert(null!=o.length),goog.asserts.assert(null!=t),r&&(t=goog.bind(t,r)),Array.prototype.reduceRight.call(o,t,n)}:function(o,t,n,r){var e=n;return goog.array.forEachRight(o,(function(n,g){e=t.call(r,e,n,g,o)})),e},goog.array.some=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(o,t,n){return goog.asserts.assert(null!=o.length),Array.prototype.some.call(o,t,n)}:function(o,t,n){for(var r=o.length,e=goog.isString(o)?o.split(""):o,g=0;g<r;g++)if(g in e&&t.call(n,e[g],g,o))return!0;return!1},goog.array.every=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(o,t,n){return goog.asserts.assert(null!=o.length),Array.prototype.every.call(o,t,n)}:function(o,t,n){for(var r=o.length,e=goog.isString(o)?o.split(""):o,g=0;g<r;g++)if(g in e&&!t.call(n,e[g],g,o))return!1;return!0},goog.array.count=function(o,t,n){var r=0;return goog.array.forEach(o,(function(o,e,g){t.call(n,o,e,g)&&++r}),n),r},goog.array.find=function(o,t,n){return 0>(t=goog.array.findIndex(o,t,n))?null:goog.isString(o)?o.charAt(t):o[t]},goog.array.findIndex=function(o,t,n){for(var r=o.length,e=goog.isString(o)?o.split(""):o,g=0;g<r;g++)if(g in e&&t.call(n,e[g],g,o))return g;return-1},goog.array.findRight=function(o,t,n){return 0>(t=goog.array.findIndexRight(o,t,n))?null:goog.isString(o)?o.charAt(t):o[t]},goog.array.findIndexRight=function(o,t,n){var r=o.length,e=goog.isString(o)?o.split(""):o;for(--r;0<=r;r--)if(r in e&&t.call(n,e[r],r,o))return r;return-1},goog.array.contains=function(o,t){return 0<=goog.array.indexOf(o,t)},goog.array.isEmpty=function(o){return 0==o.length},goog.array.clear=function(o){if(!goog.isArray(o))for(var t=o.length-1;0<=t;t--)delete o[t];o.length=0},goog.array.insert=function(o,t){goog.array.contains(o,t)||o.push(t)},goog.array.insertAt=function(o,t,n){goog.array.splice(o,n,0,t)},goog.array.insertArrayAt=function(o,t,n){goog.partial(goog.array.splice,o,n,0).apply(null,t)},goog.array.insertBefore=function(o,t,n){var r;2==arguments.length||0>(r=goog.array.indexOf(o,n))?o.push(t):goog.array.insertAt(o,t,r)},goog.array.remove=function(o,t){var n;return(n=0<=(t=goog.array.indexOf(o,t)))&&goog.array.removeAt(o,t),n},goog.array.removeLast=function(o,t){return 0<=(t=goog.array.lastIndexOf(o,t))&&(goog.array.removeAt(o,t),!0)},goog.array.removeAt=function(o,t){return goog.asserts.assert(null!=o.length),1==Array.prototype.splice.call(o,t,1).length},goog.array.removeIf=function(o,t,n){return 0<=(t=goog.array.findIndex(o,t,n))&&(goog.array.removeAt(o,t),!0)},goog.array.removeAllIf=function(o,t,n){var r=0;return goog.array.forEachRight(o,(function(e,g){t.call(n,e,g,o)&&goog.array.removeAt(o,g)&&r++})),r},goog.array.concat=function(o){return Array.prototype.concat.apply([],arguments)},goog.array.join=function(o){return Array.prototype.concat.apply([],arguments)},goog.array.toArray=function(o){var t=o.length;if(0<t){for(var n=Array(t),r=0;r<t;r++)n[r]=o[r];return n}return[]},goog.array.clone=goog.array.toArray,goog.array.extend=function(o,t){for(var n=1;n<arguments.length;n++){var r=arguments[n];if(goog.isArrayLike(r)){var e=o.length||0,g=r.length||0;o.length=e+g;for(var i=0;i<g;i++)o[e+i]=r[i]}else o.push(r)}},goog.array.splice=function(o,t,n,r){return goog.asserts.assert(null!=o.length),Array.prototype.splice.apply(o,goog.array.slice(arguments,1))},goog.array.slice=function(o,t,n){return goog.asserts.assert(null!=o.length),2>=arguments.length?Array.prototype.slice.call(o,t):Array.prototype.slice.call(o,t,n)},goog.array.removeDuplicates=function(o,t,n){t=t||o;var r=function(o){return goog.isObject(o)?"o"+goog.getUid(o):(typeof o).charAt(0)+o};n=n||r,r={};for(var e=0,g=0;g<o.length;){var i=o[g++],u=n(i);Object.prototype.hasOwnProperty.call(r,u)||(r[u]=!0,t[e++]=i)}t.length=e},goog.array.binarySearch=function(o,t,n){return goog.array.binarySearch_(o,n||goog.array.defaultCompare,!1,t)},goog.array.binarySelect=function(o,t,n){return goog.array.binarySearch_(o,t,!0,void 0,n)},goog.array.binarySearch_=function(o,t,n,r,e){for(var g,i=0,u=o.length;i<u;){var s=i+u>>1,f=n?t.call(e,o[s],s,o):t(r,o[s]);0<f?i=s+1:(u=s,g=!f)}return g?i:~i},goog.array.sort=function(o,t){o.sort(t||goog.array.defaultCompare)},goog.array.stableSort=function(o,t){for(var n=Array(o.length),r=0;r<o.length;r++)n[r]={index:r,value:o[r]};var e=t||goog.array.defaultCompare;for(goog.array.sort(n,(function(o,t){return e(o.value,t.value)||o.index-t.index})),r=0;r<o.length;r++)o[r]=n[r].value},goog.array.sortByKey=function(o,t,n){var r=n||goog.array.defaultCompare;goog.array.sort(o,(function(o,n){return r(t(o),t(n))}))},goog.array.sortObjectsByKey=function(o,t,n){goog.array.sortByKey(o,(function(o){return o[t]}),n)},goog.array.isSorted=function(o,t,n){t=t||goog.array.defaultCompare;for(var r=1;r<o.length;r++){var e=t(o[r-1],o[r]);if(0<e||0==e&&n)return!1}return!0},goog.array.equals=function(o,t,n){if(!goog.isArrayLike(o)||!goog.isArrayLike(t)||o.length!=t.length)return!1;var r=o.length;n=n||goog.array.defaultCompareEquality;for(var e=0;e<r;e++)if(!n(o[e],t[e]))return!1;return!0},goog.array.compare3=function(o,t,n){n=n||goog.array.defaultCompare;for(var r=Math.min(o.length,t.length),e=0;e<r;e++){var g=n(o[e],t[e]);if(0!=g)return g}return goog.array.defaultCompare(o.length,t.length)},goog.array.defaultCompare=function(o,t){return o>t?1:o<t?-1:0},goog.array.inverseDefaultCompare=function(o,t){return-goog.array.defaultCompare(o,t)},goog.array.defaultCompareEquality=function(o,t){return o===t},goog.array.binaryInsert=function(o,t,n){return 0>(n=goog.array.binarySearch(o,t,n))&&(goog.array.insertAt(o,t,-(n+1)),!0)},goog.array.binaryRemove=function(o,t,n){return 0<=(t=goog.array.binarySearch(o,t,n))&&goog.array.removeAt(o,t)},goog.array.bucket=function(o,t,n){for(var r={},e=0;e<o.length;e++){var g=o[e],i=t.call(n,g,e,o);goog.isDef(i)&&(r[i]||(r[i]=[])).push(g)}return r},goog.array.toObject=function(o,t,n){var r={};return goog.array.forEach(o,(function(e,g){r[t.call(n,e,g,o)]=e})),r},goog.array.range=function(o,t,n){var r=[],e=0,g=o;if(void 0!==t&&(e=o,g=t),0>(n=n||1)*(g-e))return[];if(0<n)for(o=e;o<g;o+=n)r.push(o);else for(o=e;o>g;o+=n)r.push(o);return r},goog.array.repeat=function(o,t){for(var n=[],r=0;r<t;r++)n[r]=o;return n},goog.array.flatten=function(o){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(goog.isArray(r))for(var e=0;e<r.length;e+=8192){var g=goog.array.slice(r,e,e+8192);g=goog.array.flatten.apply(null,g);for(var i=0;i<g.length;i++)t.push(g[i])}else t.push(r)}return t},goog.array.rotate=function(o,t){return goog.asserts.assert(null!=o.length),o.length&&(0<(t%=o.length)?Array.prototype.unshift.apply(o,o.splice(-t,t)):0>t&&Array.prototype.push.apply(o,o.splice(0,-t))),o},goog.array.moveItem=function(o,t,n){goog.asserts.assert(0<=t&&t<o.length),goog.asserts.assert(0<=n&&n<o.length),t=Array.prototype.splice.call(o,t,1),Array.prototype.splice.call(o,n,0,t[0])},goog.array.zip=function(o){if(!arguments.length)return[];for(var t=[],n=arguments[0].length,r=1;r<arguments.length;r++)arguments[r].length<n&&(n=arguments[r].length);for(r=0;r<n;r++){for(var e=[],g=0;g<arguments.length;g++)e.push(arguments[g][r]);t.push(e)}return t},goog.array.shuffle=function(o,t){t=t||Math.random;for(var n=o.length-1;0<n;n--){var r=Math.floor(t()*(n+1)),e=o[n];o[n]=o[r],o[r]=e}},goog.array.copyByIndex=function(o,t){var n=[];return goog.array.forEach(t,(function(t){n.push(o[t])})),n},goog.array.concatMap=function(o,t,n){return goog.array.concat.apply([],goog.array.map(o,t,n))},goog.crypt={},goog.crypt.stringToByteArray=function(o){for(var t=[],n=0,r=0;r<o.length;r++){var e=o.charCodeAt(r);255<e&&(t[n++]=255&e,e>>=8),t[n++]=e}return t},goog.crypt.byteArrayToString=function(o){if(8192>=o.length)return String.fromCharCode.apply(null,o);for(var t="",n=0;n<o.length;n+=8192){var r=goog.array.slice(o,n,n+8192);t+=String.fromCharCode.apply(null,r)}return t},goog.crypt.byteArrayToHex=function(o,t){return goog.array.map(o,(function(o){return 1<(o=o.toString(16)).length?o:"0"+o})).join(t||"")},goog.crypt.hexToByteArray=function(o){goog.asserts.assert(0==o.length%2,"Key string length must be multiple of 2");for(var t=[],n=0;n<o.length;n+=2)t.push(parseInt(o.substring(n,n+2),16));return t},goog.crypt.stringToUtf8ByteArray=function(o){for(var t=[],n=0,r=0;r<o.length;r++){var e=o.charCodeAt(r);128>e?t[n++]=e:(2048>e?t[n++]=e>>6|192:(55296==(64512&e)&&r+1<o.length&&56320==(64512&o.charCodeAt(r+1))?(e=65536+((1023&e)<<10)+(1023&o.charCodeAt(++r)),t[n++]=e>>18|240,t[n++]=e>>12&63|128):t[n++]=e>>12|224,t[n++]=e>>6&63|128),t[n++]=63&e|128)}return t},goog.crypt.utf8ByteArrayToString=function(o){for(var t=[],n=0,r=0;n<o.length;){var e=o[n++];if(128>e)t[r++]=String.fromCharCode(e);else if(191<e&&224>e){var g=o[n++];t[r++]=String.fromCharCode((31&e)<<6|63&g)}else if(239<e&&365>e){g=o[n++];var i=o[n++];e=((7&e)<<18|(63&g)<<12|(63&i)<<6|63&o[n++])-65536,t[r++]=String.fromCharCode(55296+(e>>10)),t[r++]=String.fromCharCode(56320+(1023&e))}else g=o[n++],i=o[n++],t[r++]=String.fromCharCode((15&e)<<12|(63&g)<<6|63&i)}return t.join("")},goog.crypt.xorByteArray=function(o,t){goog.asserts.assert(o.length==t.length,"XOR array lengths must match");for(var n=[],r=0;r<o.length;r++)n.push(o[r]^t[r]);return n},goog.dom.asserts={},goog.dom.asserts.assertIsLocation=function(o){if(goog.asserts.ENABLE_ASSERTS){var t=goog.dom.asserts.getWindow_(o);t&&(!o||!(o instanceof t.Location)&&o instanceof t.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(o))}return o},goog.dom.asserts.assertIsElementType_=function(o,t){if(goog.asserts.ENABLE_ASSERTS){var n=goog.dom.asserts.getWindow_(o);n&&void 0!==n[t]&&(o&&(o instanceof n[t]||!(o instanceof n.Location||o instanceof n.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",t,goog.dom.asserts.debugStringForType_(o)))}return o},goog.dom.asserts.assertIsHTMLAnchorElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLAnchorElement")},goog.dom.asserts.assertIsHTMLButtonElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLButtonElement")},goog.dom.asserts.assertIsHTMLLinkElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLLinkElement")},goog.dom.asserts.assertIsHTMLImageElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLImageElement")},goog.dom.asserts.assertIsHTMLAudioElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLAudioElement")},goog.dom.asserts.assertIsHTMLVideoElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLVideoElement")},goog.dom.asserts.assertIsHTMLInputElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLInputElement")},goog.dom.asserts.assertIsHTMLTextAreaElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLTextAreaElement")},goog.dom.asserts.assertIsHTMLCanvasElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLCanvasElement")},goog.dom.asserts.assertIsHTMLEmbedElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLEmbedElement")},goog.dom.asserts.assertIsHTMLFormElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLFormElement")},goog.dom.asserts.assertIsHTMLFrameElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLFrameElement")},goog.dom.asserts.assertIsHTMLIFrameElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLIFrameElement")},goog.dom.asserts.assertIsHTMLObjectElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLObjectElement")},goog.dom.asserts.assertIsHTMLScriptElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLScriptElement")},goog.dom.asserts.debugStringForType_=function(o){if(!goog.isObject(o))return void 0===o?"undefined":null===o?"null":typeof o;try{return o.constructor.displayName||o.constructor.name||Object.prototype.toString.call(o)}catch(o){return"<object could not be stringified>"}},goog.dom.asserts.getWindow_=function(o){try{var t=o&&o.ownerDocument,n=t&&(t.defaultView||t.parentWindow);if((n=n||goog.global).Element&&n.Location)return n}catch(o){}return null},goog.functions={},goog.functions.constant=function(o){return function(){return o}},goog.functions.FALSE=function(){return!1},goog.functions.TRUE=function(){return!0},goog.functions.NULL=function(){return null},goog.functions.identity=function(o){return o},goog.functions.error=function(o){return function(){throw Error(o)}},goog.functions.fail=function(o){return function(){throw o}},goog.functions.lock=function(o,t){return t=t||0,function(){return o.apply(this,Array.prototype.slice.call(arguments,0,t))}},goog.functions.nth=function(o){return function(){return arguments[o]}},goog.functions.partialRight=function(o,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=Array.prototype.slice.call(arguments);return t.push.apply(t,n),o.apply(this,t)}},goog.functions.withReturnValue=function(o,t){return goog.functions.sequence(o,goog.functions.constant(t))},goog.functions.equalTo=function(o,t){return function(n){return t?o==n:o===n}},goog.functions.compose=function(o,t){var n=arguments,r=n.length;return function(){var o;r&&(o=n[r-1].apply(this,arguments));for(var t=r-2;0<=t;t--)o=n[t].call(this,o);return o}},goog.functions.sequence=function(o){var t=arguments,n=t.length;return function(){for(var o,r=0;r<n;r++)o=t[r].apply(this,arguments);return o}},goog.functions.and=function(o){var t=arguments,n=t.length;return function(){for(var o=0;o<n;o++)if(!t[o].apply(this,arguments))return!1;return!0}},goog.functions.or=function(o){var t=arguments,n=t.length;return function(){for(var o=0;o<n;o++)if(t[o].apply(this,arguments))return!0;return!1}},goog.functions.not=function(o){return function(){return!o.apply(this,arguments)}},goog.functions.create=function(o,t){var n=function(){};return n.prototype=o.prototype,n=new n,o.apply(n,Array.prototype.slice.call(arguments,1)),n},goog.functions.CACHE_RETURN_VALUE=!0,goog.functions.cacheReturnValue=function(o){var t,n=!1;return function(){return goog.functions.CACHE_RETURN_VALUE?(n||(t=o(),n=!0),t):o()}},goog.functions.once=function(o){var t=o;return function(){if(t){var o=t;t=null,o()}}},goog.functions.debounce=function(o,t,n){var r=0;return function(e){goog.global.clearTimeout(r);var g=arguments;r=goog.global.setTimeout((function(){o.apply(n,g)}),t)}},goog.functions.throttle=function(o,t,n){var r=0,e=!1,g=[],i=function(){r=0,e&&(e=!1,u())},u=function(){r=goog.global.setTimeout(i,t),o.apply(n,g)};return function(o){g=arguments,r?e=!0:u()}},goog.functions.rateLimit=function(o,t,n){var r=0,e=function(){r=0};return function(g){r||(r=goog.global.setTimeout(e,t),o.apply(n,arguments))}},goog.dom.HtmlElement=function(){},goog.dom.TagName=function(o){this.tagName_=o},goog.dom.TagName.prototype.toString=function(){return this.tagName_},goog.dom.TagName.A=new goog.dom.TagName("A"),goog.dom.TagName.ABBR=new goog.dom.TagName("ABBR"),goog.dom.TagName.ACRONYM=new goog.dom.TagName("ACRONYM"),goog.dom.TagName.ADDRESS=new goog.dom.TagName("ADDRESS"),goog.dom.TagName.APPLET=new goog.dom.TagName("APPLET"),goog.dom.TagName.AREA=new goog.dom.TagName("AREA"),goog.dom.TagName.ARTICLE=new goog.dom.TagName("ARTICLE"),goog.dom.TagName.ASIDE=new goog.dom.TagName("ASIDE"),goog.dom.TagName.AUDIO=new goog.dom.TagName("AUDIO"),goog.dom.TagName.B=new goog.dom.TagName("B"),goog.dom.TagName.BASE=new goog.dom.TagName("BASE"),goog.dom.TagName.BASEFONT=new goog.dom.TagName("BASEFONT"),goog.dom.TagName.BDI=new goog.dom.TagName("BDI"),goog.dom.TagName.BDO=new goog.dom.TagName("BDO"),goog.dom.TagName.BIG=new goog.dom.TagName("BIG"),goog.dom.TagName.BLOCKQUOTE=new goog.dom.TagName("BLOCKQUOTE"),goog.dom.TagName.BODY=new goog.dom.TagName("BODY"),goog.dom.TagName.BR=new goog.dom.TagName("BR"),goog.dom.TagName.BUTTON=new goog.dom.TagName("BUTTON"),goog.dom.TagName.CANVAS=new goog.dom.TagName("CANVAS"),goog.dom.TagName.CAPTION=new goog.dom.TagName("CAPTION"),goog.dom.TagName.CENTER=new goog.dom.TagName("CENTER"),goog.dom.TagName.CITE=new goog.dom.TagName("CITE"),goog.dom.TagName.CODE=new goog.dom.TagName("CODE"),goog.dom.TagName.COL=new goog.dom.TagName("COL"),goog.dom.TagName.COLGROUP=new goog.dom.TagName("COLGROUP"),goog.dom.TagName.COMMAND=new goog.dom.TagName("COMMAND"),goog.dom.TagName.DATA=new goog.dom.TagName("DATA"),goog.dom.TagName.DATALIST=new goog.dom.TagName("DATALIST"),goog.dom.TagName.DD=new goog.dom.TagName("DD"),goog.dom.TagName.DEL=new goog.dom.TagName("DEL"),goog.dom.TagName.DETAILS=new goog.dom.TagName("DETAILS"),goog.dom.TagName.DFN=new goog.dom.TagName("DFN"),goog.dom.TagName.DIALOG=new goog.dom.TagName("DIALOG"),goog.dom.TagName.DIR=new goog.dom.TagName("DIR"),goog.dom.TagName.DIV=new goog.dom.TagName("DIV"),goog.dom.TagName.DL=new goog.dom.TagName("DL"),goog.dom.TagName.DT=new goog.dom.TagName("DT"),goog.dom.TagName.EM=new goog.dom.TagName("EM"),goog.dom.TagName.EMBED=new goog.dom.TagName("EMBED"),goog.dom.TagName.FIELDSET=new goog.dom.TagName("FIELDSET"),goog.dom.TagName.FIGCAPTION=new goog.dom.TagName("FIGCAPTION"),goog.dom.TagName.FIGURE=new goog.dom.TagName("FIGURE"),goog.dom.TagName.FONT=new goog.dom.TagName("FONT"),goog.dom.TagName.FOOTER=new goog.dom.TagName("FOOTER"),goog.dom.TagName.FORM=new goog.dom.TagName("FORM"),goog.dom.TagName.FRAME=new goog.dom.TagName("FRAME"),goog.dom.TagName.FRAMESET=new goog.dom.TagName("FRAMESET"),goog.dom.TagName.H1=new goog.dom.TagName("H1"),goog.dom.TagName.H2=new goog.dom.TagName("H2"),goog.dom.TagName.H3=new goog.dom.TagName("H3"),goog.dom.TagName.H4=new goog.dom.TagName("H4"),goog.dom.TagName.H5=new goog.dom.TagName("H5"),goog.dom.TagName.H6=new goog.dom.TagName("H6"),goog.dom.TagName.HEAD=new goog.dom.TagName("HEAD"),goog.dom.TagName.HEADER=new goog.dom.TagName("HEADER"),goog.dom.TagName.HGROUP=new goog.dom.TagName("HGROUP"),goog.dom.TagName.HR=new goog.dom.TagName("HR"),goog.dom.TagName.HTML=new goog.dom.TagName("HTML"),goog.dom.TagName.I=new goog.dom.TagName("I"),goog.dom.TagName.IFRAME=new goog.dom.TagName("IFRAME"),goog.dom.TagName.IMG=new goog.dom.TagName("IMG"),goog.dom.TagName.INPUT=new goog.dom.TagName("INPUT"),goog.dom.TagName.INS=new goog.dom.TagName("INS"),goog.dom.TagName.ISINDEX=new goog.dom.TagName("ISINDEX"),goog.dom.TagName.KBD=new goog.dom.TagName("KBD"),goog.dom.TagName.KEYGEN=new goog.dom.TagName("KEYGEN"),goog.dom.TagName.LABEL=new goog.dom.TagName("LABEL"),goog.dom.TagName.LEGEND=new goog.dom.TagName("LEGEND"),goog.dom.TagName.LI=new goog.dom.TagName("LI"),goog.dom.TagName.LINK=new goog.dom.TagName("LINK"),goog.dom.TagName.MAIN=new goog.dom.TagName("MAIN"),goog.dom.TagName.MAP=new goog.dom.TagName("MAP"),goog.dom.TagName.MARK=new goog.dom.TagName("MARK"),goog.dom.TagName.MATH=new goog.dom.TagName("MATH"),goog.dom.TagName.MENU=new goog.dom.TagName("MENU"),goog.dom.TagName.MENUITEM=new goog.dom.TagName("MENUITEM"),goog.dom.TagName.META=new goog.dom.TagName("META"),goog.dom.TagName.METER=new goog.dom.TagName("METER"),goog.dom.TagName.NAV=new goog.dom.TagName("NAV"),goog.dom.TagName.NOFRAMES=new goog.dom.TagName("NOFRAMES"),goog.dom.TagName.NOSCRIPT=new goog.dom.TagName("NOSCRIPT"),goog.dom.TagName.OBJECT=new goog.dom.TagName("OBJECT"),goog.dom.TagName.OL=new goog.dom.TagName("OL"),goog.dom.TagName.OPTGROUP=new goog.dom.TagName("OPTGROUP"),goog.dom.TagName.OPTION=new goog.dom.TagName("OPTION"),goog.dom.TagName.OUTPUT=new goog.dom.TagName("OUTPUT"),goog.dom.TagName.P=new goog.dom.TagName("P"),goog.dom.TagName.PARAM=new goog.dom.TagName("PARAM"),goog.dom.TagName.PICTURE=new goog.dom.TagName("PICTURE"),goog.dom.TagName.PRE=new goog.dom.TagName("PRE"),goog.dom.TagName.PROGRESS=new goog.dom.TagName("PROGRESS"),goog.dom.TagName.Q=new goog.dom.TagName("Q"),goog.dom.TagName.RP=new goog.dom.TagName("RP"),goog.dom.TagName.RT=new goog.dom.TagName("RT"),goog.dom.TagName.RTC=new goog.dom.TagName("RTC"),goog.dom.TagName.RUBY=new goog.dom.TagName("RUBY"),goog.dom.TagName.S=new goog.dom.TagName("S"),goog.dom.TagName.SAMP=new goog.dom.TagName("SAMP"),goog.dom.TagName.SCRIPT=new goog.dom.TagName("SCRIPT"),goog.dom.TagName.SECTION=new goog.dom.TagName("SECTION"),goog.dom.TagName.SELECT=new goog.dom.TagName("SELECT"),goog.dom.TagName.SMALL=new goog.dom.TagName("SMALL"),goog.dom.TagName.SOURCE=new goog.dom.TagName("SOURCE"),goog.dom.TagName.SPAN=new goog.dom.TagName("SPAN"),goog.dom.TagName.STRIKE=new goog.dom.TagName("STRIKE"),goog.dom.TagName.STRONG=new goog.dom.TagName("STRONG"),goog.dom.TagName.STYLE=new goog.dom.TagName("STYLE"),goog.dom.TagName.SUB=new goog.dom.TagName("SUB"),goog.dom.TagName.SUMMARY=new goog.dom.TagName("SUMMARY"),goog.dom.TagName.SUP=new goog.dom.TagName("SUP"),goog.dom.TagName.SVG=new goog.dom.TagName("SVG"),goog.dom.TagName.TABLE=new goog.dom.TagName("TABLE"),goog.dom.TagName.TBODY=new goog.dom.TagName("TBODY"),goog.dom.TagName.TD=new goog.dom.TagName("TD"),goog.dom.TagName.TEMPLATE=new goog.dom.TagName("TEMPLATE"),goog.dom.TagName.TEXTAREA=new goog.dom.TagName("TEXTAREA"),goog.dom.TagName.TFOOT=new goog.dom.TagName("TFOOT"),goog.dom.TagName.TH=new goog.dom.TagName("TH"),goog.dom.TagName.THEAD=new goog.dom.TagName("THEAD"),goog.dom.TagName.TIME=new goog.dom.TagName("TIME"),goog.dom.TagName.TITLE=new goog.dom.TagName("TITLE"),goog.dom.TagName.TR=new goog.dom.TagName("TR"),goog.dom.TagName.TRACK=new goog.dom.TagName("TRACK"),goog.dom.TagName.TT=new goog.dom.TagName("TT"),goog.dom.TagName.U=new goog.dom.TagName("U"),goog.dom.TagName.UL=new goog.dom.TagName("UL"),goog.dom.TagName.VAR=new goog.dom.TagName("VAR"),goog.dom.TagName.VIDEO=new goog.dom.TagName("VIDEO"),goog.dom.TagName.WBR=new goog.dom.TagName("WBR"),goog.dom.tags={},goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},goog.dom.tags.isVoidTag=function(o){return!0===goog.dom.tags.VOID_TAGS_[o]},goog.html={},goog.html.trustedtypes={},goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#html"):null,goog.string={},goog.string.TypedString=function(){},goog.string.Const=function(o,t){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=o===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_},goog.string.Const.prototype.implementsGoogStringTypedString=!0,goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_},goog.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"},goog.string.Const.unwrap=function(o){return o instanceof goog.string.Const&&o.constructor===goog.string.Const&&o.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?o.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+o+"'"),"type_error:Const")},goog.string.Const.from=function(o){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,o)},goog.string.Const.TYPE_MARKER_={},goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.Const.EMPTY=goog.string.Const.from(""),goog.html.SafeScript=function(){this.privateDoNotAccessOrElseSafeScriptWrappedValue_="",this.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeScript.prototype.implementsGoogStringTypedString=!0,goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeScript.fromConstant=function(o){return 0===(o=goog.string.Const.unwrap(o)).length?goog.html.SafeScript.EMPTY:goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeScript.fromConstantAndArgs=function(o,t){for(var n=[],r=1;r<arguments.length;r++)n.push(goog.html.SafeScript.stringify_(arguments[r]));return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(o)+")("+n.join(", ")+");")},goog.html.SafeScript.fromJson=function(o){return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(goog.html.SafeScript.stringify_(o))},goog.html.SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeScript.prototype.toString=function(){return"SafeScript{"+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+"}"}),goog.html.SafeScript.unwrap=function(o){return goog.html.SafeScript.unwrapTrustedScript(o).toString()},goog.html.SafeScript.unwrapTrustedScript=function(o){return o instanceof goog.html.SafeScript&&o.constructor===goog.html.SafeScript&&o.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeScriptWrappedValue_:(goog.asserts.fail("expected object of type SafeScript, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeScript")},goog.html.SafeScript.stringify_=function(o){return JSON.stringify(o).replace(/</g,"\\x3c")},goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(o){return(new goog.html.SafeScript).initSecurityPrivateDoNotAccessOrElse_(o)},goog.html.SafeScript.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScript(o):o,this},goog.html.SafeScript.EMPTY=goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(""),goog.fs={},goog.fs.url={},goog.fs.url.createObjectUrl=function(o){return goog.fs.url.getUrlObject_().createObjectURL(o)},goog.fs.url.revokeObjectUrl=function(o){goog.fs.url.getUrlObject_().revokeObjectURL(o)},goog.fs.url.getUrlObject_=function(){var o=goog.fs.url.findUrlObject_();if(null!=o)return o;throw Error("This browser doesn't seem to support blob URLs")},goog.fs.url.findUrlObject_=function(){return goog.isDef(goog.global.URL)&&goog.isDef(goog.global.URL.createObjectURL)?goog.global.URL:goog.isDef(goog.global.webkitURL)&&goog.isDef(goog.global.webkitURL.createObjectURL)?goog.global.webkitURL:goog.isDef(goog.global.createObjectURL)?goog.global:null},goog.fs.url.browserSupportsObjectUrls=function(){return null!=goog.fs.url.findUrlObject_()},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||("ar"==goog.LOCALE.substring(0,2).toLowerCase()||"fa"==goog.LOCALE.substring(0,2).toLowerCase()||"he"==goog.LOCALE.substring(0,2).toLowerCase()||"iw"==goog.LOCALE.substring(0,2).toLowerCase()||"ps"==goog.LOCALE.substring(0,2).toLowerCase()||"sd"==goog.LOCALE.substring(0,2).toLowerCase()||"ug"==goog.LOCALE.substring(0,2).toLowerCase()||"ur"==goog.LOCALE.substring(0,2).toLowerCase()||"yi"==goog.LOCALE.substring(0,2).toLowerCase())&&(2==goog.LOCALE.length||"-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))||3<=goog.LOCALE.length&&"ckb"==goog.LOCALE.substring(0,3).toLowerCase()&&(3==goog.LOCALE.length||"-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))||7<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))&&("adlm"==goog.LOCALE.substring(3,7).toLowerCase()||"arab"==goog.LOCALE.substring(3,7).toLowerCase()||"hebr"==goog.LOCALE.substring(3,7).toLowerCase()||"nkoo"==goog.LOCALE.substring(3,7).toLowerCase()||"rohg"==goog.LOCALE.substring(3,7).toLowerCase()||"thaa"==goog.LOCALE.substring(3,7).toLowerCase())||8<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))&&("adlm"==goog.LOCALE.substring(4,8).toLowerCase()||"arab"==goog.LOCALE.substring(4,8).toLowerCase()||"hebr"==goog.LOCALE.substring(4,8).toLowerCase()||"nkoo"==goog.LOCALE.substring(4,8).toLowerCase()||"rohg"==goog.LOCALE.substring(4,8).toLowerCase()||"thaa"==goog.LOCALE.substring(4,8).toLowerCase()),goog.i18n.bidi.Format={LRE:"",RLE:"",PDF:"",LRM:"",RLM:""},goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0},goog.i18n.bidi.RIGHT="right",goog.i18n.bidi.LEFT="left",goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT,goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,goog.i18n.bidi.toDir=function(o,t){return"number"==typeof o?0<o?goog.i18n.bidi.Dir.LTR:0>o?goog.i18n.bidi.Dir.RTL:t?null:goog.i18n.bidi.Dir.NEUTRAL:null==o?null:o?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.ltrChars_="A-Za-zÀ-ÖØ-öø-ʸ̀-ऀ-Ⰰ-\ud801\ud804-\ud839\ud83c-\udbff豈-︀--",goog.i18n.bidi.rtlChars_="֑-ۯۺ-ࣿ\ud802-\ud803\ud83a-\ud83bיִ-﷿ﹰ-ﻼ",goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g,goog.i18n.bidi.stripHtmlIfNeeded_=function(o,t){return t?o.replace(goog.i18n.bidi.htmlSkipReg_,""):o},goog.i18n.bidi.rtlCharReg_=new RegExp("["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.ltrCharReg_=new RegExp("["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.hasAnyRtl=function(o,t){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))},goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl,goog.i18n.bidi.hasAnyLtr=function(o,t){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))},goog.i18n.bidi.ltrRe_=new RegExp("^["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlRe_=new RegExp("^["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.isRtlChar=function(o){return goog.i18n.bidi.rtlRe_.test(o)},goog.i18n.bidi.isLtrChar=function(o){return goog.i18n.bidi.ltrRe_.test(o)},goog.i18n.bidi.isNeutralChar=function(o){return!goog.i18n.bidi.isLtrChar(o)&&!goog.i18n.bidi.isRtlChar(o)},goog.i18n.bidi.ltrDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.rtlChars_+"]*["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.ltrChars_+"]*["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.startsWithRtl=function(o,t){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))},goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl,goog.i18n.bidi.startsWithLtr=function(o,t){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))},goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr,goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/,goog.i18n.bidi.isNeutralText=function(o,t){return o=goog.i18n.bidi.stripHtmlIfNeeded_(o,t),goog.i18n.bidi.isRequiredLtrRe_.test(o)||!goog.i18n.bidi.hasAnyLtr(o)&&!goog.i18n.bidi.hasAnyRtl(o)},goog.i18n.bidi.ltrExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.ltrChars_+"][^"+goog.i18n.bidi.rtlChars_+"]*$"),goog.i18n.bidi.rtlExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.rtlChars_+"][^"+goog.i18n.bidi.ltrChars_+"]*$"),goog.i18n.bidi.endsWithLtr=function(o,t){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))},goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr,goog.i18n.bidi.endsWithRtl=function(o,t){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,t))},goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl,goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,goog.i18n.bidi.isRtlLanguage=function(o){return goog.i18n.bidi.rtlLocalesRe_.test(o)},goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,goog.i18n.bidi.guardBracketInText=function(o,t){return t=(void 0===t?goog.i18n.bidi.hasAnyRtl(o):t)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,o.replace(goog.i18n.bidi.bracketGuardTextRe_,t+"$&"+t)},goog.i18n.bidi.enforceRtlInHtml=function(o){return"<"==o.charAt(0)?o.replace(/<\w+/,"$& dir=rtl"):"\n<span dir=rtl>"+o+"</span>"},goog.i18n.bidi.enforceRtlInText=function(o){return goog.i18n.bidi.Format.RLE+o+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.enforceLtrInHtml=function(o){return"<"==o.charAt(0)?o.replace(/<\w+/,"$& dir=ltr"):"\n<span dir=ltr>"+o+"</span>"},goog.i18n.bidi.enforceLtrInText=function(o){return goog.i18n.bidi.Format.LRE+o+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.dimensionsRe_=/:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g,goog.i18n.bidi.leftRe_=/left/gi,goog.i18n.bidi.rightRe_=/right/gi,goog.i18n.bidi.tempRe_=/%%%%/g,goog.i18n.bidi.mirrorCSS=function(o){return o.replace(goog.i18n.bidi.dimensionsRe_,":$1 $4 $3 $2").replace(goog.i18n.bidi.leftRe_,"%%%%").replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_,goog.i18n.bidi.RIGHT)},goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\u0591-\u05f2])"/g,goog.i18n.bidi.singleQuoteSubstituteRe_=/([\u0591-\u05f2])'/g,goog.i18n.bidi.normalizeHebrewQuote=function(o){return o.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1״").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1׳")},goog.i18n.bidi.wordSeparatorRe_=/\s+/,goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/,goog.i18n.bidi.rtlDetectionThreshold_=.4,goog.i18n.bidi.estimateDirection=function(o,t){var n=0,r=0,e=!1;for(o=goog.i18n.bidi.stripHtmlIfNeeded_(o,t).split(goog.i18n.bidi.wordSeparatorRe_),t=0;t<o.length;t++){var g=o[t];goog.i18n.bidi.startsWithRtl(g)?(n++,r++):goog.i18n.bidi.isRequiredLtrRe_.test(g)?e=!0:goog.i18n.bidi.hasAnyLtr(g)?r++:goog.i18n.bidi.hasNumeralsRe_.test(g)&&(e=!0)}return 0==r?e?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:n/r>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.detectRtlDirectionality=function(o,t){return goog.i18n.bidi.estimateDirection(o,t)==goog.i18n.bidi.Dir.RTL},goog.i18n.bidi.setElementDirAndAlign=function(o,t){o&&(t=goog.i18n.bidi.toDir(t))&&(o.style.textAlign=t==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,o.dir=t==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")},goog.i18n.bidi.setElementDirByTextDirectionality=function(o,t){switch(goog.i18n.bidi.estimateDirection(t)){case goog.i18n.bidi.Dir.LTR:o.dir="ltr";break;case goog.i18n.bidi.Dir.RTL:o.dir="rtl";break;default:o.removeAttribute("dir")}},goog.i18n.bidi.DirectionalString=function(){},goog.html.TrustedResourceUrl=function(){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_="",this.trustedURL_=null,this.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString=!0,goog.html.TrustedResourceUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()},goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.TrustedResourceUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.html.TrustedResourceUrl.prototype.cloneWithParams=function(o,t){var n=goog.html.TrustedResourceUrl.unwrap(this),r=(n=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(n))[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(n[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",n[2]||"",o)+goog.html.TrustedResourceUrl.stringifyParams_("#",r,t))},goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return"TrustedResourceUrl{"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+"}"}),goog.html.TrustedResourceUrl.unwrap=function(o){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(o).toString()},goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(o){return o instanceof goog.html.TrustedResourceUrl&&o.constructor===goog.html.TrustedResourceUrl&&o.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+o+"' of type "+goog.typeOf(o)),"type_error:TrustedResourceUrl")},goog.html.TrustedResourceUrl.unwrapTrustedURL=function(o){return o.trustedURL_?o.trustedURL_:goog.html.TrustedResourceUrl.unwrap(o)},goog.html.TrustedResourceUrl.format=function(o,t){var n=goog.string.Const.unwrap(o);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(n))throw Error("Invalid TrustedResourceUrl format: "+n);return o=n.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,(function(o,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw Error('Found marker, "'+r+'", in format string, "'+n+'", but no valid label mapping found in args: '+JSON.stringify(t));return(o=t[r])instanceof goog.string.Const?goog.string.Const.unwrap(o):encodeURIComponent(String(o))})),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/g,goog.html.TrustedResourceUrl.BASE_URL_=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,goog.html.TrustedResourceUrl.formatWithParams=function(o,t,n,r){return goog.html.TrustedResourceUrl.format(o,t).cloneWithParams(n,r)},goog.html.TrustedResourceUrl.fromConstant=function(o){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(o))},goog.html.TrustedResourceUrl.fromConstants=function(o){for(var t="",n=0;n<o.length;n++)t+=goog.string.Const.unwrap(o[n]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(o){var t=new goog.html.TrustedResourceUrl;return t.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScriptURL(o):o,goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY&&(t.trustedURL_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createURL(o)),t},goog.html.TrustedResourceUrl.stringifyParams_=function(o,t,n){if(null==n)return t;if(goog.isString(n))return n?o+encodeURIComponent(n):"";for(var r in n){var e=n[r];e=goog.isArray(e)?e:[e];for(var g=0;g<e.length;g++){var i=e[g];null!=i&&(t||(t=o),t+=(t.length>o.length?"&":"")+encodeURIComponent(r)+"="+encodeURIComponent(String(i)))}}return t},goog.string.internal={},goog.string.internal.startsWith=function(o,t){return 0==o.lastIndexOf(t,0)},goog.string.internal.endsWith=function(o,t){var n=o.length-t.length;return 0<=n&&o.indexOf(t,n)==n},goog.string.internal.caseInsensitiveStartsWith=function(o,t){return 0==goog.string.internal.caseInsensitiveCompare(t,o.substr(0,t.length))},goog.string.internal.caseInsensitiveEndsWith=function(o,t){return 0==goog.string.internal.caseInsensitiveCompare(t,o.substr(o.length-t.length,t.length))},goog.string.internal.caseInsensitiveEquals=function(o,t){return o.toLowerCase()==t.toLowerCase()},goog.string.internal.isEmptyOrWhitespace=function(o){return/^[\s\xa0]*$/.test(o)},goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(o){return o.trim()}:function(o){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(o)[1]},goog.string.internal.caseInsensitiveCompare=function(o,t){return(o=String(o).toLowerCase())<(t=String(t).toLowerCase())?-1:o==t?0:1},goog.string.internal.newLineToBr=function(o,t){return o.replace(/(\r\n|\r|\n)/g,t?"<br />":"<br>")},goog.string.internal.htmlEscape=function(o,t){if(t)o=o.replace(goog.string.internal.AMP_RE_,"&").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(o))return o;-1!=o.indexOf("&")&&(o=o.replace(goog.string.internal.AMP_RE_,"&")),-1!=o.indexOf("<")&&(o=o.replace(goog.string.internal.LT_RE_,"<")),-1!=o.indexOf(">")&&(o=o.replace(goog.string.internal.GT_RE_,">")),-1!=o.indexOf('"')&&(o=o.replace(goog.string.internal.QUOT_RE_,""")),-1!=o.indexOf("'")&&(o=o.replace(goog.string.internal.SINGLE_QUOTE_RE_,"'")),-1!=o.indexOf("\0")&&(o=o.replace(goog.string.internal.NULL_RE_,"�"))}return o},goog.string.internal.AMP_RE_=/&/g,goog.string.internal.LT_RE_=/</g,goog.string.internal.GT_RE_=/>/g,goog.string.internal.QUOT_RE_=/"/g,goog.string.internal.SINGLE_QUOTE_RE_=/'/g,goog.string.internal.NULL_RE_=/\x00/g,goog.string.internal.ALL_RE_=/[\x00&<>"']/,goog.string.internal.whitespaceEscape=function(o,t){return goog.string.internal.newLineToBr(o.replace(/ /g,"  "),t)},goog.string.internal.contains=function(o,t){return-1!=o.indexOf(t)},goog.string.internal.caseInsensitiveContains=function(o,t){return goog.string.internal.contains(o.toLowerCase(),t.toLowerCase())},goog.string.internal.compareVersions=function(o,t){var n=0;o=goog.string.internal.trim(String(o)).split("."),t=goog.string.internal.trim(String(t)).split(".");for(var r=Math.max(o.length,t.length),e=0;0==n&&e<r;e++){var g=o[e]||"",i=t[e]||"";do{if(g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""],i=/(\d*)(\D*)(.*)/.exec(i)||["","","",""],0==g[0].length&&0==i[0].length)break;n=0==g[1].length?0:parseInt(g[1],10);var u=0==i[1].length?0:parseInt(i[1],10);n=goog.string.internal.compareElements_(n,u)||goog.string.internal.compareElements_(0==g[2].length,0==i[2].length)||goog.string.internal.compareElements_(g[2],i[2]),g=g[3],i=i[3]}while(0==n)}return n},goog.string.internal.compareElements_=function(o,t){return o<t?-1:o>t?1:0},goog.html.SafeUrl=function(){this.privateDoNotAccessOrElseSafeUrlWrappedValue_="",this.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeUrl.INNOCUOUS_STRING="about:invalid#zClosurez",goog.html.SafeUrl.prototype.implementsGoogStringTypedString=!0,goog.html.SafeUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()},goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.DEBUG&&(goog.html.SafeUrl.prototype.toString=function(){return"SafeUrl{"+this.privateDoNotAccessOrElseSafeUrlWrappedValue_+"}"}),goog.html.SafeUrl.unwrap=function(o){return goog.html.SafeUrl.unwrapTrustedURL(o).toString()},goog.html.SafeUrl.unwrapTrustedURL=function(o){return o instanceof goog.html.SafeUrl&&o.constructor===goog.html.SafeUrl&&o.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail("expected object of type SafeUrl, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeUrl")},goog.html.SafeUrl.fromConstant=function(o){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(o))},goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i,goog.html.SafeUrl.isSafeMimeType=function(o){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(o)},goog.html.SafeUrl.fromBlob=function(o){return o=goog.html.SAFE_MIME_TYPE_PATTERN_.test(o.type)?goog.fs.url.createObjectUrl(o):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.DATA_URL_PATTERN_=/^data:([^,]*);base64,[a-z0-9+\/]+=*$/i,goog.html.SafeUrl.fromDataUrl=function(o){var t=(o=o.replace(/(%0A|%0D)/g,"")).match(goog.html.DATA_URL_PATTERN_);return t=t&&goog.html.SAFE_MIME_TYPE_PATTERN_.test(t[1]),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t?o:goog.html.SafeUrl.INNOCUOUS_STRING)},goog.html.SafeUrl.fromTelUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"tel:")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i,goog.html.SafeUrl.fromSipUrl=function(o){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(o))||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromFacebookMessengerUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"fb-messenger://share")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromWhatsAppUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"whatsapp://send")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromSmsUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.isSmsUrlBodyValid_=function(o){var t=o.indexOf("#");return 0<t&&(o=o.substring(0,t)),!(t=o.match(/[?&]body=/gi))||!(1<t.length)&&(!(o=o.match(/[?&]body=([^&]*)/)[1])||/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(o))},goog.html.SafeUrl.fromSshUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"ssh://")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(o,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,o,t)},goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(o,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,o,t)},goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(o,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,o,t)},goog.html.SafeUrl.sanitizeExtensionUrl_=function(o,t,n){return(o=o.exec(t))?(o=o[1],-1==(n instanceof goog.string.Const?[goog.string.Const.unwrap(n)]:n.map((function(o){return goog.string.Const.unwrap(o)}))).indexOf(o)&&(t=goog.html.SafeUrl.INNOCUOUS_STRING)):t=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.fromTrustedResourceUrl=function(o){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(o))},goog.html.SAFE_URL_PATTERN_=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,goog.html.SafeUrl.SAFE_URL_PATTERN=goog.html.SAFE_URL_PATTERN_,goog.html.SafeUrl.sanitize=function(o){return o instanceof goog.html.SafeUrl?o:(o="object"==typeof o&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),goog.html.SAFE_URL_PATTERN_.test(o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o))},goog.html.SafeUrl.sanitizeAssertUnchanged=function(o,t){return o instanceof goog.html.SafeUrl?o:(o="object"==typeof o&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),t&&/^data:/i.test(o)&&(t=goog.html.SafeUrl.fromDataUrl(o)).getTypedStringValue()==o?t:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(o),"%s does not match the safe URL pattern",o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)))},goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(o){var t=new goog.html.SafeUrl;return t.privateDoNotAccessOrElseSafeUrlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createURL(o):o,t},goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank"),goog.html.SafeStyle=function(){this.privateDoNotAccessOrElseSafeStyleWrappedValue_="",this.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeStyle.fromConstant=function(o){return 0===(o=goog.string.Const.unwrap(o)).length?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(o,";"),"Last character of style string is not ';': "+o),goog.asserts.assert(goog.string.internal.contains(o,":"),"Style string must contain at least one ':', to specify a \"name: value\" pair: "+o),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(o))},goog.html.SafeStyle.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_},goog.DEBUG&&(goog.html.SafeStyle.prototype.toString=function(){return"SafeStyle{"+this.privateDoNotAccessOrElseSafeStyleWrappedValue_+"}"}),goog.html.SafeStyle.unwrap=function(o){return o instanceof goog.html.SafeStyle&&o.constructor===goog.html.SafeStyle&&o.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail("expected object of type SafeStyle, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeStyle")},goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(o){return(new goog.html.SafeStyle).initSecurityPrivateDoNotAccessOrElse_(o)},goog.html.SafeStyle.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_=o,this},goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyle.INNOCUOUS_STRING="zClosurez",goog.html.SafeStyle.create=function(o){var t,n="";for(t in o){if(!/^[-_a-zA-Z0-9]+$/.test(t))throw Error("Name allows only [-_a-zA-Z0-9], got: "+t);var r=o[t];null!=r&&(n+=t+":"+(r=goog.isArray(r)?goog.array.map(r,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(r))+";")}return n?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(n):goog.html.SafeStyle.EMPTY},goog.html.SafeStyle.sanitizePropertyValue_=function(o){if(o instanceof goog.html.SafeUrl)return'url("'+goog.html.SafeUrl.unwrap(o).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(o=o instanceof goog.string.Const?goog.string.Const.unwrap(o):goog.html.SafeStyle.sanitizePropertyValueString_(String(o)),/[{;}]/.test(o))throw new goog.asserts.AssertionError("Value does not allow [{;}], got: %s.",[o]);return o},goog.html.SafeStyle.sanitizePropertyValueString_=function(o){var t=o.replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.URL_RE_,"url");return goog.html.SafeStyle.VALUE_RE_.test(t)?goog.html.SafeStyle.COMMENT_RE_.test(o)?(goog.asserts.fail("String value disallows comments, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING):goog.html.SafeStyle.hasBalancedQuotes_(o)?goog.html.SafeStyle.hasBalancedSquareBrackets_(o)?goog.html.SafeStyle.sanitizeUrl_(o):(goog.asserts.fail("String value requires balanced square brackets and one identifier per pair of brackets, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value requires balanced quotes, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value allows only "+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+" and simple functions, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING)},goog.html.SafeStyle.hasBalancedQuotes_=function(o){for(var t=!0,n=!0,r=0;r<o.length;r++){var e=o.charAt(r);"'"==e&&n?t=!t:'"'==e&&t&&(n=!n)}return t&&n},goog.html.SafeStyle.hasBalancedSquareBrackets_=function(o){for(var t=!0,n=/^[-_a-zA-Z0-9]$/,r=0;r<o.length;r++){var e=o.charAt(r);if("]"==e){if(t)return!1;t=!0}else if("["==e){if(!t)return!1;t=!1}else if(!t&&!n.test(e))return!1}return t},goog.html.SafeStyle.VALUE_ALLOWED_CHARS_="[-,.\"'%_!# a-zA-Z0-9\\[\\]]",goog.html.SafeStyle.VALUE_RE_=new RegExp("^"+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+"+$"),goog.html.SafeStyle.URL_RE_=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,goog.html.SafeStyle.FUNCTIONS_RE_=/\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g,goog.html.SafeStyle.COMMENT_RE_=/\/\*/,goog.html.SafeStyle.sanitizeUrl_=function(o){return o.replace(goog.html.SafeStyle.URL_RE_,(function(o,t,n,r){var e="";return n=n.replace(/^(['"])(.*)\1$/,(function(o,t,n){return e=t,n})),o=goog.html.SafeUrl.sanitize(n).getTypedStringValue(),t+e+o+e+r}))},goog.html.SafeStyle.concat=function(o){var t="",n=function(o){goog.isArray(o)?goog.array.forEach(o,n):t+=goog.html.SafeStyle.unwrap(o)};return goog.array.forEach(arguments,n),t?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t):goog.html.SafeStyle.EMPTY},goog.html.SafeStyleSheet=function(){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_="",this.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeStyleSheet.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeStyleSheet.createRule=function(o,t){if(goog.string.internal.contains(o,"<"))throw Error("Selector does not allow '<', got: "+o);var n=o.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(n))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+o);if(!goog.html.SafeStyleSheet.hasBalancedBrackets_(n))throw Error("() and [] in selector must be balanced, got: "+o);return t instanceof goog.html.SafeStyle||(t=goog.html.SafeStyle.create(t)),o=o+"{"+goog.html.SafeStyle.unwrap(t).replace(/</g,"\\3C ")+"}",goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeStyleSheet.hasBalancedBrackets_=function(o){for(var t={"(":")","[":"]"},n=[],r=0;r<o.length;r++){var e=o[r];if(t[e])n.push(t[e]);else if(goog.object.contains(t,e)&&n.pop()!=e)return!1}return 0==n.length},goog.html.SafeStyleSheet.concat=function(o){var t="",n=function(o){goog.isArray(o)?goog.array.forEach(o,n):t+=goog.html.SafeStyleSheet.unwrap(o)};return goog.array.forEach(arguments,n),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeStyleSheet.fromConstant=function(o){return 0===(o=goog.string.Const.unwrap(o)).length?goog.html.SafeStyleSheet.EMPTY:(goog.asserts.assert(!goog.string.internal.contains(o,"<"),"Forbidden '<' character in style sheet string: "+o),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(o))},goog.html.SafeStyleSheet.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_},goog.DEBUG&&(goog.html.SafeStyleSheet.prototype.toString=function(){return"SafeStyleSheet{"+this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_+"}"}),goog.html.SafeStyleSheet.unwrap=function(o){return o instanceof goog.html.SafeStyleSheet&&o.constructor===goog.html.SafeStyleSheet&&o.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(goog.asserts.fail("expected object of type SafeStyleSheet, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeStyleSheet")},goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(o){return(new goog.html.SafeStyleSheet).initSecurityPrivateDoNotAccessOrElse_(o)},goog.html.SafeStyleSheet.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=o,this},goog.html.SafeStyleSheet.EMPTY=goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(""),goog.labs={},goog.labs.userAgent={},goog.labs.userAgent.util={},goog.labs.userAgent.util.getNativeUserAgentString_=function(){var o=goog.labs.userAgent.util.getNavigator_();return o&&(o=o.userAgent)?o:""},goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator},goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_(),goog.labs.userAgent.util.setUserAgent=function(o){goog.labs.userAgent.util.userAgent_=o||goog.labs.userAgent.util.getNativeUserAgentString_()},goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_},goog.labs.userAgent.util.matchUserAgent=function(o){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(t,o)},goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(o){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(t,o)},goog.labs.userAgent.util.extractVersionTuples=function(o){for(var t,n=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,r=[];t=n.exec(o);)r.push([t[1],t[2],t[3]||void 0]);return r},goog.labs.userAgent.browser={},goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent("Opera")},goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.browser.matchEdgeHtml_=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.browser.matchEdgeChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("Edg/")},goog.labs.userAgent.browser.matchOperaChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("OPR")},goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent("Firefox")||goog.labs.userAgent.util.matchUserAgent("FxiOS")},goog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent("Safari")&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdgeHtml_()||goog.labs.userAgent.browser.matchEdgeChromium_()||goog.labs.userAgent.browser.matchOperaChromium_()||goog.labs.userAgent.browser.matchFirefox_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent("Android"))},goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent("Coast")},goog.labs.userAgent.browser.matchIosWebview_=function(){return(goog.labs.userAgent.util.matchUserAgent("iPad")||goog.labs.userAgent.util.matchUserAgent("iPhone"))&&!goog.labs.userAgent.browser.matchSafari_()&&!goog.labs.userAgent.browser.matchChrome_()&&!goog.labs.userAgent.browser.matchCoast_()&&!goog.labs.userAgent.browser.matchFirefox_()&&goog.labs.userAgent.util.matchUserAgent("AppleWebKit")},goog.labs.userAgent.browser.matchChrome_=function(){return(goog.labs.userAgent.util.matchUserAgent("Chrome")||goog.labs.userAgent.util.matchUserAgent("CriOS"))&&!goog.labs.userAgent.browser.matchEdgeHtml_()},goog.labs.userAgent.browser.matchAndroidBrowser_=function(){return goog.labs.userAgent.util.matchUserAgent("Android")&&!(goog.labs.userAgent.browser.isChrome()||goog.labs.userAgent.browser.isFirefox()||goog.labs.userAgent.browser.isOpera()||goog.labs.userAgent.browser.isSilk())},goog.labs.userAgent.browser.isOpera=goog.labs.userAgent.browser.matchOpera_,goog.labs.userAgent.browser.isIE=goog.labs.userAgent.browser.matchIE_,goog.labs.userAgent.browser.isEdge=goog.labs.userAgent.browser.matchEdgeHtml_,goog.labs.userAgent.browser.isEdgeChromium=goog.labs.userAgent.browser.matchEdgeChromium_,goog.labs.userAgent.browser.isOperaChromium=goog.labs.userAgent.browser.matchOperaChromium_,goog.labs.userAgent.browser.isFirefox=goog.labs.userAgent.browser.matchFirefox_,goog.labs.userAgent.browser.isSafari=goog.labs.userAgent.browser.matchSafari_,goog.labs.userAgent.browser.isCoast=goog.labs.userAgent.browser.matchCoast_,goog.labs.userAgent.browser.isIosWebview=goog.labs.userAgent.browser.matchIosWebview_,goog.labs.userAgent.browser.isChrome=goog.labs.userAgent.browser.matchChrome_,goog.labs.userAgent.browser.isAndroidBrowser=goog.labs.userAgent.browser.matchAndroidBrowser_,goog.labs.userAgent.browser.isSilk=function(){return goog.labs.userAgent.util.matchUserAgent("Silk")},goog.labs.userAgent.browser.getVersion=function(){function o(o){return o=goog.array.find(o,r),n[o]||""}var t=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(t);t=goog.labs.userAgent.util.extractVersionTuples(t);var n={};goog.array.forEach(t,(function(o){n[o[0]]=o[1]}));var r=goog.partial(goog.object.containsKey,n);return goog.labs.userAgent.browser.isOpera()?o(["Version","Opera"]):goog.labs.userAgent.browser.isEdge()?o(["Edge"]):goog.labs.userAgent.browser.isEdgeChromium()?o(["Edg"]):goog.labs.userAgent.browser.isChrome()?o(["Chrome","CriOS"]):(t=t[2])&&t[1]||""},goog.labs.userAgent.browser.isVersionOrHigher=function(o){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),o)},goog.labs.userAgent.browser.getIEVersion_=function(o){var t=/rv: *([\d\.]*)/.exec(o);if(t&&t[1])return t[1];t="";var n=/MSIE +([\d\.]+)/.exec(o);if(n&&n[1])if(o=/Trident\/(\d.\d)/.exec(o),"7.0"==n[1])if(o&&o[1])switch(o[1]){case"4.0":t="8.0";break;case"5.0":t="9.0";break;case"6.0":t="10.0";break;case"7.0":t="11.0"}else t="7.0";else t=n[1];return t},goog.html.SafeHtml=function(){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_="",this.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_,this.dir_=null},goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_},goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0,goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return"SafeHtml{"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+"}"}),goog.html.SafeHtml.unwrap=function(o){return goog.html.SafeHtml.unwrapTrustedHTML(o).toString()},goog.html.SafeHtml.unwrapTrustedHTML=function(o){return o instanceof goog.html.SafeHtml&&o.constructor===goog.html.SafeHtml&&o.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail("expected object of type SafeHtml, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeHtml")},goog.html.SafeHtml.htmlEscape=function(o){if(o instanceof goog.html.SafeHtml)return o;var t="object"==typeof o,n=null;return t&&o.implementsGoogI18nBidiDirectionalString&&(n=o.getDirection()),o=t&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(o),n)},goog.html.SafeHtml.htmlEscapePreservingNewlines=function(o){return o instanceof goog.html.SafeHtml?o:(o=goog.html.SafeHtml.htmlEscape(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(o)),o.getDirection()))},goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(o){return o instanceof goog.html.SafeHtml?o:(o=goog.html.SafeHtml.htmlEscape(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(o)),o.getDirection()))},goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape,goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/,goog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.html.SafeHtml.create=function(o,t,n){return goog.html.SafeHtml.verifyTagName(String(o)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(o),t,n)},goog.html.SafeHtml.verifyTagName=function(o){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(o))throw Error("Invalid tag name <"+o+">.");if(o.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error("Tag name <"+o+"> is not allowed for SafeHtml.")},goog.html.SafeHtml.createIframe=function(o,t,n,r){o&&goog.html.TrustedResourceUrl.unwrap(o);var e={};return e.src=o||null,e.srcdoc=t&&goog.html.SafeHtml.unwrap(t),o=goog.html.SafeHtml.combineAttributes(e,{sandbox:""},n),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",o,r)},goog.html.SafeHtml.createSandboxIframe=function(o,t,n,r){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error("The browser does not support sandboxed iframes.");var e={};return e.src=o?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(o)):null,e.srcdoc=t||null,e.sandbox="",o=goog.html.SafeHtml.combineAttributes(e,{},n),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",o,r)},goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype},goog.html.SafeHtml.createScriptSrc=function(o,t){return goog.html.TrustedResourceUrl.unwrap(o),o=goog.html.SafeHtml.combineAttributes({src:o},{},t),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",o)},goog.html.SafeHtml.createScript=function(o,t){for(var n in t){var r=n.toLowerCase();if("language"==r||"src"==r||"text"==r||"type"==r)throw Error('Cannot set "'+r+'" attribute')}for(n="",o=goog.array.concat(o),r=0;r<o.length;r++)n+=goog.html.SafeScript.unwrap(o[r]);return o=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(n,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",t,o)},goog.html.SafeHtml.createStyle=function(o,t){t=goog.html.SafeHtml.combineAttributes({type:"text/css"},{},t);var n="";o=goog.array.concat(o);for(var r=0;r<o.length;r++)n+=goog.html.SafeStyleSheet.unwrap(o[r]);return o=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(n,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style",t,o)},goog.html.SafeHtml.createMetaRefresh=function(o,t){return o=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(o)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(o,";")&&(o="'"+o.replace(/'/g,"%27")+"'"),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta",{"http-equiv":"refresh",content:(t||0)+"; url="+o})},goog.html.SafeHtml.getAttrNameAndValue_=function(o,t,n){if(n instanceof goog.string.Const)n=goog.string.Const.unwrap(n);else if("style"==t.toLowerCase())n=goog.html.SafeHtml.getStyleValue_(n);else{if(/^on/i.test(t))throw Error('Attribute "'+t+'" requires goog.string.Const value, "'+n+'" given.');if(t.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(n instanceof goog.html.TrustedResourceUrl)n=goog.html.TrustedResourceUrl.unwrap(n);else if(n instanceof goog.html.SafeUrl)n=goog.html.SafeUrl.unwrap(n);else{if(!goog.isString(n))throw Error('Attribute "'+t+'" on tag "'+o+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+n+'" given.');n=goog.html.SafeUrl.sanitize(n).getTypedStringValue()}}return n.implementsGoogStringTypedString&&(n=n.getTypedStringValue()),goog.asserts.assert(goog.isString(n)||goog.isNumber(n),"String or number value expected, got "+typeof n+" with value: "+n),t+'="'+goog.string.internal.htmlEscape(String(n))+'"'},goog.html.SafeHtml.getStyleValue_=function(o){if(!goog.isObject(o))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof o+" given: "+o);return o instanceof goog.html.SafeStyle||(o=goog.html.SafeStyle.create(o)),goog.html.SafeStyle.unwrap(o)},goog.html.SafeHtml.createWithDir=function(o,t,n,r){return(t=goog.html.SafeHtml.create(t,n,r)).dir_=o,t},goog.html.SafeHtml.join=function(o,t){var n=(o=goog.html.SafeHtml.htmlEscape(o)).getDirection(),r=[],e=function(o){goog.isArray(o)?goog.array.forEach(o,e):(o=goog.html.SafeHtml.htmlEscape(o),r.push(goog.html.SafeHtml.unwrap(o)),o=o.getDirection(),n==goog.i18n.bidi.Dir.NEUTRAL?n=o:o!=goog.i18n.bidi.Dir.NEUTRAL&&n!=o&&(n=null))};return goog.array.forEach(t,e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r.join(goog.html.SafeHtml.unwrap(o)),n)},goog.html.SafeHtml.concat=function(o){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))},goog.html.SafeHtml.concatWithDir=function(o,t){var n=goog.html.SafeHtml.concat(goog.array.slice(arguments,1));return n.dir_=o,n},goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(o,t){return(new goog.html.SafeHtml).initSecurityPrivateDoNotAccessOrElse_(o,t)},goog.html.SafeHtml.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o,t){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createHTML(o):o,this.dir_=t,this},goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(o,t,n){var r=null,e="<"+o+goog.html.SafeHtml.stringifyAttributes(o,t);return goog.isDefAndNotNull(n)?goog.isArray(n)||(n=[n]):n=[],goog.dom.tags.isVoidTag(o.toLowerCase())?(goog.asserts.assert(!n.length,"Void tag <"+o+"> does not allow content."),e+=">"):(r=goog.html.SafeHtml.concat(n),e+=">"+goog.html.SafeHtml.unwrap(r)+"</"+o+">",r=r.getDirection()),(o=t&&t.dir)&&(r=/^(ltr|rtl|auto)$/i.test(o)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(e,r)},goog.html.SafeHtml.stringifyAttributes=function(o,t){var n="";if(t)for(var r in t){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(r))throw Error('Invalid attribute name "'+r+'".');var e=t[r];goog.isDefAndNotNull(e)&&(n+=" "+goog.html.SafeHtml.getAttrNameAndValue_(o,r,e))}return n},goog.html.SafeHtml.combineAttributes=function(o,t,n){var r,e={};for(r in o)goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),e[r]=o[r];for(r in t)goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),e[r]=t[r];for(r in n){var g=r.toLowerCase();if(g in o)throw Error('Cannot override "'+g+'" attribute, got "'+r+'" with value "'+n[r]+'"');g in t&&delete e[g],e[r]=n[r]}return e},goog.html.SafeHtml.DOCTYPE_HTML=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.EMPTY=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.BR=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.uncheckedconversions={},goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(o,t,n){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(t,n||null)},goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(o,t){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.dom.safe={},goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"},goog.dom.safe.insertAdjacentHtml=function(o,t,n){o.insertAdjacentHTML(t,goog.html.SafeHtml.unwrapTrustedHTML(n))},goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.dom.safe.isInnerHtmlCleanupRecursive_=goog.functions.cacheReturnValue((function(){if(goog.DEBUG&&"undefined"==typeof document)return!1;var o=document.createElement("div"),t=document.createElement("div");return t.appendChild(document.createElement("div")),o.appendChild(t),!(goog.DEBUG&&!o.firstChild||(t=o.firstChild.firstChild,o.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),t.parentElement))})),goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(o,t){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;o.lastChild;)o.removeChild(o.lastChild);o.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setInnerHtml=function(o,t){if(goog.asserts.ENABLE_ASSERTS){var n=o.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[n])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+o.tagName+".")}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(o,t)},goog.dom.safe.setOuterHtml=function(o,t){o.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setFormElementAction=function(o,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLFormElement(o).action=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setButtonFormAction=function(o,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLButtonElement(o).formAction=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setInputFormAction=function(o,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLInputElement(o).formAction=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setStyle=function(o,t){o.style.cssText=goog.html.SafeStyle.unwrap(t)},goog.dom.safe.documentWrite=function(o,t){o.write(goog.html.SafeHtml.unwrapTrustedHTML(t))},goog.dom.safe.setAnchorHref=function(o,t){goog.dom.asserts.assertIsHTMLAnchorElement(o),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),o.href=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setImageSrc=function(o,t){if(goog.dom.asserts.assertIsHTMLImageElement(o),!(t instanceof goog.html.SafeUrl)){var n=/^data:image\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,n)}o.src=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setAudioSrc=function(o,t){if(goog.dom.asserts.assertIsHTMLAudioElement(o),!(t instanceof goog.html.SafeUrl)){var n=/^data:audio\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,n)}o.src=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setVideoSrc=function(o,t){if(goog.dom.asserts.assertIsHTMLVideoElement(o),!(t instanceof goog.html.SafeUrl)){var n=/^data:video\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,n)}o.src=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setEmbedSrc=function(o,t){goog.dom.asserts.assertIsHTMLEmbedElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)},goog.dom.safe.setFrameSrc=function(o,t){goog.dom.asserts.assertIsHTMLFrameElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedURL(t)},goog.dom.safe.setIframeSrc=function(o,t){goog.dom.asserts.assertIsHTMLIFrameElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedURL(t)},goog.dom.safe.setIframeSrcdoc=function(o,t){goog.dom.asserts.assertIsHTMLIFrameElement(o),o.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setLinkHrefAndRel=function(o,t,n){goog.dom.asserts.assertIsHTMLLinkElement(o),o.rel=n,goog.string.internal.caseInsensitiveContains(n,"stylesheet")?(goog.asserts.assert(t instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),o.href=goog.html.TrustedResourceUrl.unwrapTrustedURL(t)):o.href=t instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrapTrustedURL(t):goog.html.SafeUrl.unwrapTrustedURL(t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t))},goog.dom.safe.setObjectData=function(o,t){goog.dom.asserts.assertIsHTMLObjectElement(o),o.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)},goog.dom.safe.setScriptSrc=function(o,t){goog.dom.asserts.assertIsHTMLScriptElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t),(t=goog.getScriptNonce())&&o.setAttribute("nonce",t)},goog.dom.safe.setScriptContent=function(o,t){goog.dom.asserts.assertIsHTMLScriptElement(o),o.text=goog.html.SafeScript.unwrapTrustedScript(t),(t=goog.getScriptNonce())&&o.setAttribute("nonce",t)},goog.dom.safe.setLocationHref=function(o,t){goog.dom.asserts.assertIsLocation(o),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),o.href=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.assignLocation=function(o,t){goog.dom.asserts.assertIsLocation(o),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),o.assign(goog.html.SafeUrl.unwrapTrustedURL(t))},goog.dom.safe.replaceLocation=function(o,t){goog.dom.asserts.assertIsLocation(o),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),o.replace(goog.html.SafeUrl.unwrapTrustedURL(t))},goog.dom.safe.openInWindow=function(o,t,n,r,e){return o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),(t||goog.global).open(goog.html.SafeUrl.unwrapTrustedURL(o),n?goog.string.Const.unwrap(n):"",r,e)},goog.dom.safe.parseFromStringHtml=function(o,t){return goog.dom.safe.parseFromString(o,t,"text/html")},goog.dom.safe.parseFromString=function(o,t,n){return o.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(t),n)},goog.dom.safe.createImageFromBlob=function(o){if(!/^image\/.*/g.test(o.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var t=goog.global.URL.createObjectURL(o);return(o=new goog.global.Image).onload=function(){goog.global.URL.revokeObjectURL(t)},goog.dom.safe.setImageSrc(o,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),t)),o},goog.string.DETECT_DOUBLE_ESCAPING=!1,goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1,goog.string.Unicode={NBSP:" "},goog.string.startsWith=goog.string.internal.startsWith,goog.string.endsWith=goog.string.internal.endsWith,goog.string.caseInsensitiveStartsWith=goog.string.internal.caseInsensitiveStartsWith,goog.string.caseInsensitiveEndsWith=goog.string.internal.caseInsensitiveEndsWith,goog.string.caseInsensitiveEquals=goog.string.internal.caseInsensitiveEquals,goog.string.subs=function(o,t){for(var n=o.split("%s"),r="",e=Array.prototype.slice.call(arguments,1);e.length&&1<n.length;)r+=n.shift()+e.shift();return r+n.join("%s")},goog.string.collapseWhitespace=function(o){return o.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace,goog.string.isEmptyString=function(o){return 0==o.length},goog.string.isEmpty=goog.string.isEmptyOrWhitespace,goog.string.isEmptyOrWhitespaceSafe=function(o){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(o))},goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe,goog.string.isBreakingWhitespace=function(o){return!/[^\t\n\r ]/.test(o)},goog.string.isAlpha=function(o){return!/[^a-zA-Z]/.test(o)},goog.string.isNumeric=function(o){return!/[^0-9]/.test(o)},goog.string.isAlphaNumeric=function(o){return!/[^a-zA-Z0-9]/.test(o)},goog.string.isSpace=function(o){return" "==o},goog.string.isUnicodeChar=function(o){return 1==o.length&&" "<=o&&"~">=o||""<=o&&"�">=o},goog.string.stripNewlines=function(o){return o.replace(/(\r\n|\r|\n)+/g," ")},goog.string.canonicalizeNewlines=function(o){return o.replace(/(\r\n|\r|\n)/g,"\n")},goog.string.normalizeWhitespace=function(o){return o.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(o){return o.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(o){return o.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(o){return o.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(o){return o.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(o,t,n){if(o==t)return 0;if(!o)return-1;if(!t)return 1;for(var r=o.toLowerCase().match(n),e=t.toLowerCase().match(n),g=Math.min(r.length,e.length),i=0;i<g;i++){var u=e[i];if((n=r[i])!=u)return o=parseInt(n,10),!isNaN(o)&&(t=parseInt(u,10),!isNaN(t)&&o-t)?o-t:n<u?-1:1}return r.length!=e.length?r.length-e.length:o<t?-1:1},goog.string.intAwareCompare=function(o,t){return goog.string.numberAwareCompare_(o,t,/\d+|\D+/g)},goog.string.floatAwareCompare=function(o,t){return goog.string.numberAwareCompare_(o,t,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(o){return encodeURIComponent(String(o))},goog.string.urlDecode=function(o){return decodeURIComponent(o.replace(/\+/g," "))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(o,t){return o=goog.string.internal.htmlEscape(o,t),goog.string.DETECT_DOUBLE_ESCAPING&&(o=o.replace(goog.string.E_RE_,"e")),o},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(o){return goog.string.contains(o,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(o):goog.string.unescapePureXmlEntities_(o):o},goog.string.unescapeEntitiesWithDocument=function(o,t){return goog.string.contains(o,"&")?goog.string.unescapeEntitiesUsingDom_(o,t):o},goog.string.unescapeEntitiesUsingDom_=function(o,t){var n={"&":"&","<":"<",">":">",""":'"'},r=t?t.createElement("div"):goog.global.document.createElement("div");return o.replace(goog.string.HTML_ENTITY_PATTERN_,(function(o,t){var e=n[o];return e||("#"==t.charAt(0)&&(t=Number("0"+t.substr(1)),isNaN(t)||(e=String.fromCharCode(t))),e||(goog.dom.safe.setInnerHtml(r,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),o+" ")),e=r.firstChild.nodeValue.slice(0,-1)),n[o]=e)}))},goog.string.unescapePureXmlEntities_=function(o){return o.replace(/&([^;]+);/g,(function(o,t){switch(t){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return"#"!=t.charAt(0)||(t=Number("0"+t.substr(1)),isNaN(t))?o:String.fromCharCode(t)}}))},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(o,t){return goog.string.newLineToBr(o.replace(/ /g,"  "),t)},goog.string.preserveSpaces=function(o){return o.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(o,t){for(var n=t.length,r=0;r<n;r++){var e=1==n?t:t.charAt(r);if(o.charAt(0)==e&&o.charAt(o.length-1)==e)return o.substring(1,o.length-1)}return o},goog.string.truncate=function(o,t,n){return n&&(o=goog.string.unescapeEntities(o)),o.length>t&&(o=o.substring(0,t-3)+"..."),n&&(o=goog.string.htmlEscape(o)),o},goog.string.truncateMiddle=function(o,t,n,r){if(n&&(o=goog.string.unescapeEntities(o)),r&&o.length>t){r>t&&(r=t);var e=o.length-r;o=o.substring(0,t-r)+"..."+o.substring(e)}else o.length>t&&(r=Math.floor(t/2),e=o.length-r,o=o.substring(0,r+t%2)+"..."+o.substring(e));return n&&(o=goog.string.htmlEscape(o)),o},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(o){o=String(o);for(var t=['"'],n=0;n<o.length;n++){var r=o.charAt(n),e=r.charCodeAt(0);t[n+1]=goog.string.specialEscapeChars_[r]||(31<e&&127>e?r:goog.string.escapeChar(r))}return t.push('"'),t.join("")},goog.string.escapeString=function(o){for(var t=[],n=0;n<o.length;n++)t[n]=goog.string.escapeChar(o.charAt(n));return t.join("")},goog.string.escapeChar=function(o){if(o in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[o];if(o in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[o]=goog.string.specialEscapeChars_[o];var t=o.charCodeAt(0);if(31<t&&127>t)var n=o;else 256>t?(n="\\x",(16>t||256<t)&&(n+="0")):(n="\\u",4096>t&&(n+="0")),n+=t.toString(16).toUpperCase();return goog.string.jsEscapeCache_[o]=n},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(o,t){return o&&t?o.split(t).length-1:0},goog.string.removeAt=function(o,t,n){var r=o;return 0<=t&&t<o.length&&0<n&&(r=o.substr(0,t)+o.substr(t+n,o.length-t-n)),r},goog.string.remove=function(o,t){return o.replace(t,"")},goog.string.removeAll=function(o,t){return t=new RegExp(goog.string.regExpEscape(t),"g"),o.replace(t,"")},goog.string.replaceAll=function(o,t,n){return t=new RegExp(goog.string.regExpEscape(t),"g"),o.replace(t,n.replace(/\$/g,"$$$$"))},goog.string.regExpEscape=function(o){return String(o).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(o,t){return o.repeat(t)}:function(o,t){return Array(t+1).join(o)},goog.string.padNumber=function(o,t,n){return-1==(n=(o=goog.isDef(n)?o.toFixed(n):String(o)).indexOf("."))&&(n=o.length),goog.string.repeat("0",Math.max(0,t-n))+o},goog.string.makeSafe=function(o){return null==o?"":String(o)},goog.string.buildString=function(o){return Array.prototype.join.call(arguments,"")},goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)},goog.string.compareVersions=goog.string.internal.compareVersions,goog.string.hashCode=function(o){for(var t=0,n=0;n<o.length;++n)t=31*t+o.charCodeAt(n)>>>0;return t},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(o){var t=Number(o);return 0==t&&goog.string.isEmptyOrWhitespace(o)?NaN:t},goog.string.isLowerCamelCase=function(o){return/^[a-z]+([A-Z][a-z]*)*$/.test(o)},goog.string.isUpperCamelCase=function(o){return/^([A-Z][a-z]*)+$/.test(o)},goog.string.toCamelCase=function(o){return String(o).replace(/\-([a-z])/g,(function(o,t){return t.toUpperCase()}))},goog.string.toSelectorCase=function(o){return String(o).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(o,t){return t=goog.isString(t)?goog.string.regExpEscape(t):"\\s",o.replace(new RegExp("(^"+(t?"|["+t+"]+":"")+")([a-z])","g"),(function(o,t,n){return t+n.toUpperCase()}))},goog.string.capitalize=function(o){return String(o.charAt(0)).toUpperCase()+String(o.substr(1)).toLowerCase()},goog.string.parseInt=function(o){return isFinite(o)&&(o=String(o)),goog.isString(o)?/^\s*-?0x/i.test(o)?parseInt(o,16):parseInt(o,10):NaN},goog.string.splitLimit=function(o,t,n){o=o.split(t);for(var r=[];0<n&&o.length;)r.push(o.shift()),n--;return o.length&&r.push(o.join(t)),r},goog.string.lastComponent=function(o,t){if(!t)return o;"string"==typeof t&&(t=[t]);for(var n=-1,r=0;r<t.length;r++)if(""!=t[r]){var e=o.lastIndexOf(t[r]);e>n&&(n=e)}return-1==n?o:o.slice(n+1)},goog.string.editDistance=function(o,t){var n=[],r=[];if(o==t)return 0;if(!o.length||!t.length)return Math.max(o.length,t.length);for(var e=0;e<t.length+1;e++)n[e]=e;for(e=0;e<o.length;e++){r[0]=e+1;for(var g=0;g<t.length;g++)r[g+1]=Math.min(r[g]+1,n[g+1]+1,n[g]+Number(o[e]!=t[g]));for(g=0;g<n.length;g++)n[g]=r[g]}return r[t.length]},goog.labs.userAgent.engine={},goog.labs.userAgent.engine.isPresto=function(){return goog.labs.userAgent.util.matchUserAgent("Presto")},goog.labs.userAgent.engine.isTrident=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.engine.isEdge=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.engine.isWebKit=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("WebKit")&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.isGecko=function(){return goog.labs.userAgent.util.matchUserAgent("Gecko")&&!goog.labs.userAgent.engine.isWebKit()&&!goog.labs.userAgent.engine.isTrident()&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.getVersion=function(){var o=goog.labs.userAgent.util.getUserAgent();if(o){o=goog.labs.userAgent.util.extractVersionTuples(o);var t,n=goog.labs.userAgent.engine.getEngineTuple_(o);if(n)return"Gecko"==n[0]?goog.labs.userAgent.engine.getVersionForKey_(o,"Firefox"):n[1];if((o=o[0])&&(t=o[2])&&(t=/Trident\/([^\s;]+)/.exec(t)))return t[1]}return""},goog.labs.userAgent.engine.getEngineTuple_=function(o){if(!goog.labs.userAgent.engine.isEdge())return o[1];for(var t=0;t<o.length;t++){var n=o[t];if("Edge"==n[0])return n}},goog.labs.userAgent.engine.isVersionOrHigher=function(o){return 0<=goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(),o)},goog.labs.userAgent.engine.getVersionForKey_=function(o,t){return(o=goog.array.find(o,(function(o){return t==o[0]})))&&o[1]||""},goog.labs.userAgent.platform={},goog.labs.userAgent.platform.isAndroid=function(){return goog.labs.userAgent.util.matchUserAgent("Android")},goog.labs.userAgent.platform.isIpod=function(){return goog.labs.userAgent.util.matchUserAgent("iPod")},goog.labs.userAgent.platform.isIphone=function(){return goog.labs.userAgent.util.matchUserAgent("iPhone")&&!goog.labs.userAgent.util.matchUserAgent("iPod")&&!goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIpad=function(){return goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIos=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpad()||goog.labs.userAgent.platform.isIpod()},goog.labs.userAgent.platform.isMacintosh=function(){return goog.labs.userAgent.util.matchUserAgent("Macintosh")},goog.labs.userAgent.platform.isLinux=function(){return goog.labs.userAgent.util.matchUserAgent("Linux")},goog.labs.userAgent.platform.isWindows=function(){return goog.labs.userAgent.util.matchUserAgent("Windows")},goog.labs.userAgent.platform.isChromeOS=function(){return goog.labs.userAgent.util.matchUserAgent("CrOS")},goog.labs.userAgent.platform.isChromecast=function(){return goog.labs.userAgent.util.matchUserAgent("CrKey")},goog.labs.userAgent.platform.isKaiOS=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("KaiOS")},goog.labs.userAgent.platform.isGo2Phone=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("GAFP")},goog.labs.userAgent.platform.getVersion=function(){var o=goog.labs.userAgent.util.getUserAgent(),t="";return goog.labs.userAgent.platform.isWindows()?t=(o=(t=/Windows (?:NT|Phone) ([0-9.]+)/).exec(o))?o[1]:"0.0":goog.labs.userAgent.platform.isIos()?t=(o=(t=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/).exec(o))&&o[1].replace(/_/g,"."):goog.labs.userAgent.platform.isMacintosh()?t=(o=(t=/Mac OS X ([0-9_.]+)/).exec(o))?o[1].replace(/_/g,"."):"10":goog.labs.userAgent.platform.isKaiOS()?t=(o=(t=/(?:KaiOS)\/(\S+)/i).exec(o))&&o[1]:goog.labs.userAgent.platform.isAndroid()?t=(o=(t=/Android\s+([^\);]+)(\)|;)/).exec(o))&&o[1]:goog.labs.userAgent.platform.isChromeOS()&&(t=(o=(t=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/).exec(o))&&o[1]),t||""},goog.labs.userAgent.platform.isVersionOrHigher=function(o){return 0<=goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(),o)},goog.reflect={},goog.reflect.object=function(o,t){return t},goog.reflect.objectProperty=function(o){return o},goog.reflect.sinkValue=function(o){return goog.reflect.sinkValue[" "](o),o},goog.reflect.sinkValue[" "]=goog.nullFunction,goog.reflect.canAccessProperty=function(o,t){try{return goog.reflect.sinkValue(o[t]),!0}catch(o){}return!1},goog.reflect.cache=function(o,t,n,r){return r=r?r(t):t,Object.prototype.hasOwnProperty.call(o,r)?o[r]:o[r]=n(t)},goog.userAgent={},goog.userAgent.ASSUME_IE=!1,goog.userAgent.ASSUME_EDGE=!1,goog.userAgent.ASSUME_GECKO=!1,goog.userAgent.ASSUME_WEBKIT=!1,goog.userAgent.ASSUME_MOBILE_WEBKIT=!1,goog.userAgent.ASSUME_OPERA=!1,goog.userAgent.ASSUME_ANY_VERSION=!1,goog.userAgent.BROWSER_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_GECKO||goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_OPERA,goog.userAgent.getUserAgentString=function(){return goog.labs.userAgent.util.getUserAgent()},goog.userAgent.getNavigatorTyped=function(){return goog.global.navigator||null},goog.userAgent.getNavigator=function(){return goog.userAgent.getNavigatorTyped()},goog.userAgent.OPERA=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_OPERA:goog.labs.userAgent.browser.isOpera(),goog.userAgent.IE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_IE:goog.labs.userAgent.browser.isIE(),goog.userAgent.EDGE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_EDGE:goog.labs.userAgent.engine.isEdge(),goog.userAgent.EDGE_OR_IE=goog.userAgent.EDGE||goog.userAgent.IE,goog.userAgent.GECKO=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_GECKO:goog.labs.userAgent.engine.isGecko(),goog.userAgent.WEBKIT=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_MOBILE_WEBKIT:goog.labs.userAgent.engine.isWebKit(),goog.userAgent.isMobile_=function(){return goog.userAgent.WEBKIT&&goog.labs.userAgent.util.matchUserAgent("Mobile")},goog.userAgent.MOBILE=goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.isMobile_(),goog.userAgent.SAFARI=goog.userAgent.WEBKIT,goog.userAgent.determinePlatform_=function(){var o=goog.userAgent.getNavigatorTyped();return o&&o.platform||""},goog.userAgent.PLATFORM=goog.userAgent.determinePlatform_(),goog.userAgent.ASSUME_MAC=!1,goog.userAgent.ASSUME_WINDOWS=!1,goog.userAgent.ASSUME_LINUX=!1,goog.userAgent.ASSUME_X11=!1,goog.userAgent.ASSUME_ANDROID=!1,goog.userAgent.ASSUME_IPHONE=!1,goog.userAgent.ASSUME_IPAD=!1,goog.userAgent.ASSUME_IPOD=!1,goog.userAgent.ASSUME_KAIOS=!1,goog.userAgent.ASSUME_GO2PHONE=!1,goog.userAgent.PLATFORM_KNOWN_=goog.userAgent.ASSUME_MAC||goog.userAgent.ASSUME_WINDOWS||goog.userAgent.ASSUME_LINUX||goog.userAgent.ASSUME_X11||goog.userAgent.ASSUME_ANDROID||goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD,goog.userAgent.MAC=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_MAC:goog.labs.userAgent.platform.isMacintosh(),goog.userAgent.WINDOWS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_WINDOWS:goog.labs.userAgent.platform.isWindows(),goog.userAgent.isLegacyLinux_=function(){return goog.labs.userAgent.platform.isLinux()||goog.labs.userAgent.platform.isChromeOS()},goog.userAgent.LINUX=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_LINUX:goog.userAgent.isLegacyLinux_(),goog.userAgent.isX11_=function(){var o=goog.userAgent.getNavigatorTyped();return!!o&&goog.string.contains(o.appVersion||"","X11")},goog.userAgent.X11=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_X11:goog.userAgent.isX11_(),goog.userAgent.ANDROID=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_ANDROID:goog.labs.userAgent.platform.isAndroid(),goog.userAgent.IPHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE:goog.labs.userAgent.platform.isIphone(),goog.userAgent.IPAD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.IPOD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIpod(),goog.userAgent.IOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIos(),goog.userAgent.KAIOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_KAIOS:goog.labs.userAgent.platform.isKaiOS(),goog.userAgent.GO2PHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_GO2PHONE:goog.labs.userAgent.platform.isGo2Phone(),goog.userAgent.determineVersion_=function(){var o="",t=goog.userAgent.getVersionRegexResult_();return t&&(o=t?t[1]:""),goog.userAgent.IE&&null!=(t=goog.userAgent.getDocumentMode_())&&t>parseFloat(o)?String(t):o},goog.userAgent.getVersionRegexResult_=function(){var o=goog.userAgent.getUserAgentString();return goog.userAgent.GECKO?/rv:([^\);]+)(\)|;)/.exec(o):goog.userAgent.EDGE?/Edge\/([\d\.]+)/.exec(o):goog.userAgent.IE?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(o):goog.userAgent.WEBKIT?/WebKit\/(\S+)/.exec(o):goog.userAgent.OPERA?/(?:Version)[ \/]?(\S+)/.exec(o):void 0},goog.userAgent.getDocumentMode_=function(){var o=goog.global.document;return o?o.documentMode:void 0},goog.userAgent.VERSION=goog.userAgent.determineVersion_(),goog.userAgent.compare=function(o,t){return goog.string.compareVersions(o,t)},goog.userAgent.isVersionOrHigherCache_={},goog.userAgent.isVersionOrHigher=function(o){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,o,(function(){return 0<=goog.string.compareVersions(goog.userAgent.VERSION,o)}))},goog.userAgent.isVersion=goog.userAgent.isVersionOrHigher,goog.userAgent.isDocumentModeOrHigher=function(o){return Number(goog.userAgent.DOCUMENT_MODE)>=o},goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher,goog.userAgent.DOCUMENT_MODE=function(){if(goog.global.document&&goog.userAgent.IE)return goog.userAgent.getDocumentMode_()}(),goog.userAgent.product={},goog.userAgent.product.ASSUME_FIREFOX=!1,goog.userAgent.product.ASSUME_IPHONE=!1,goog.userAgent.product.ASSUME_IPAD=!1,goog.userAgent.product.ASSUME_ANDROID=!1,goog.userAgent.product.ASSUME_CHROME=!1,goog.userAgent.product.ASSUME_SAFARI=!1,goog.userAgent.product.PRODUCT_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_OPERA||goog.userAgent.product.ASSUME_FIREFOX||goog.userAgent.product.ASSUME_IPHONE||goog.userAgent.product.ASSUME_IPAD||goog.userAgent.product.ASSUME_ANDROID||goog.userAgent.product.ASSUME_CHROME||goog.userAgent.product.ASSUME_SAFARI,goog.userAgent.product.OPERA=goog.userAgent.OPERA,goog.userAgent.product.IE=goog.userAgent.IE,goog.userAgent.product.EDGE=goog.userAgent.EDGE,goog.userAgent.product.FIREFOX=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_FIREFOX:goog.labs.userAgent.browser.isFirefox(),goog.userAgent.product.isIphoneOrIpod_=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpod()},goog.userAgent.product.IPHONE=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPHONE:goog.userAgent.product.isIphoneOrIpod_(),goog.userAgent.product.IPAD=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_ANDROID:goog.labs.userAgent.browser.isAndroidBrowser(),goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_CHROME:goog.labs.userAgent.browser.isChrome(),goog.userAgent.product.isSafariDesktop_=function(){return goog.labs.userAgent.browser.isSafari()&&!goog.labs.userAgent.platform.isIos()},goog.userAgent.product.SAFARI=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_SAFARI:goog.userAgent.product.isSafariDesktop_(),goog.crypt.base64={},goog.crypt.base64.DEFAULT_ALPHABET_COMMON_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",goog.crypt.base64.ENCODED_VALS=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"+/=",goog.crypt.base64.ENCODED_VALS_WEBSAFE=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"-_.",goog.crypt.base64.Alphabet={DEFAULT:0,NO_PADDING:1,WEBSAFE:2,WEBSAFE_DOT_PADDING:3,WEBSAFE_NO_PADDING:4},goog.crypt.base64.paddingChars_="=.",goog.crypt.base64.isPadding_=function(o){return goog.string.contains(goog.crypt.base64.paddingChars_,o)},goog.crypt.base64.byteToCharMaps_={};goog.crypt.base64.charToByteMap_=null,goog.crypt.base64.ASSUME_NATIVE_SUPPORT_=goog.userAgent.GECKO||goog.userAgent.WEBKIT&&!goog.userAgent.product.SAFARI||goog.userAgent.OPERA,goog.crypt.base64.HAS_NATIVE_ENCODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||"function"==typeof goog.global.btoa,goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!goog.userAgent.product.SAFARI&&!goog.userAgent.IE&&"function"==typeof goog.global.atob,goog.crypt.base64.encodeByteArray=function(o,t){goog.asserts.assert(goog.isArrayLike(o),"encodeByteArray takes an array as a parameter"),void 0===t&&(t=goog.crypt.base64.Alphabet.DEFAULT),goog.crypt.base64.init_(),t=goog.crypt.base64.byteToCharMaps_[t];for(var n=[],r=0;r<o.length;r+=3){var e=o[r],g=r+1<o.length,i=g?o[r+1]:0,u=r+2<o.length,s=u?o[r+2]:0,f=e>>2;e=(3&e)<<4|i>>4,i=(15&i)<<2|s>>6,s&=63,u||(s=64,g||(i=64)),n.push(t[f],t[e],t[i]||"",t[s]||"")}return n.join("")},goog.crypt.base64.encodeString=function(o,t){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!t?goog.global.btoa(o):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(o),t)},goog.crypt.base64.decodeString=function(o,t){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!t)return goog.global.atob(o);var n="";return goog.crypt.base64.decodeStringInternal_(o,(function(o){n+=String.fromCharCode(o)})),n},goog.crypt.base64.decodeStringToByteArray=function(o){var t=[];return goog.crypt.base64.decodeStringInternal_(o,(function(o){t.push(o)})),t},goog.crypt.base64.decodeStringToUint8Array=function(o){goog.asserts.assert(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher("10"),"Browser does not support typed arrays");var t=o.length,n=3*t/4;n%3?n=Math.floor(n):goog.crypt.base64.isPadding_(o[t-1])&&(n=goog.crypt.base64.isPadding_(o[t-2])?n-2:n-1);var r=new Uint8Array(n),e=0;return goog.crypt.base64.decodeStringInternal_(o,(function(o){r[e++]=o})),r.subarray(0,e)},goog.crypt.base64.decodeStringInternal_=function(o,t){function n(t){for(;r<o.length;){var n=o.charAt(r++),e=goog.crypt.base64.charToByteMap_[n];if(null!=e)return e;if(!goog.string.isEmptyOrWhitespace(n))throw Error("Unknown base64 encoding at char: "+n)}return t}goog.crypt.base64.init_();for(var r=0;;){var e=n(-1),g=n(0),i=n(64),u=n(64);if(64===u&&-1===e)break;t(e<<2|g>>4),64!=i&&(t(g<<4&240|i>>2),64!=u&&t(i<<6&192|u))}},goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var o=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),t=["+/=","+/","-_=","-_.","-_"],n=0;5>n;n++){var r=o.concat(t[n].split(""));goog.crypt.base64.byteToCharMaps_[n]=r;for(var e=0;e<r.length;e++){var g=r[e],i=goog.crypt.base64.charToByteMap_[g];void 0===i?goog.crypt.base64.charToByteMap_[g]=e:goog.asserts.assert(i===e)}}}},jspb.utils={},jspb.utils.split64Low=0,jspb.utils.split64High=0,jspb.utils.splitUint64=function(o){var t=o>>>0;o=Math.floor((o-t)/jspb.BinaryConstants.TWO_TO_32)>>>0,jspb.utils.split64Low=t,jspb.utils.split64High=o},jspb.utils.splitInt64=function(o){var t=0>o,n=(o=Math.abs(o))>>>0;o=Math.floor((o-n)/jspb.BinaryConstants.TWO_TO_32),o>>>=0,t&&(o=~o>>>0,4294967295<(n=1+(~n>>>0))&&(n=0,4294967295<++o&&(o=0))),jspb.utils.split64Low=n,jspb.utils.split64High=o},jspb.utils.splitZigzag64=function(o){var t=0>o;o=2*Math.abs(o),jspb.utils.splitUint64(o),o=jspb.utils.split64Low;var n=jspb.utils.split64High;t&&(0==o?0==n?n=o=4294967295:(n--,o=4294967295):o--),jspb.utils.split64Low=o,jspb.utils.split64High=n},jspb.utils.splitFloat32=function(o){var t=0>o?1:0;if(0===(o=t?-o:o))0<1/o?(jspb.utils.split64High=0,jspb.utils.split64Low=0):(jspb.utils.split64High=0,jspb.utils.split64Low=2147483648);else if(isNaN(o))jspb.utils.split64High=0,jspb.utils.split64Low=2147483647;else if(o>jspb.BinaryConstants.FLOAT32_MAX)jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|2139095040)>>>0;else if(o<jspb.BinaryConstants.FLOAT32_MIN)o=Math.round(o/Math.pow(2,-149)),jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|o)>>>0;else{var n=Math.floor(Math.log(o)/Math.LN2);o*=Math.pow(2,-n),o=8388607&Math.round(o*jspb.BinaryConstants.TWO_TO_23),jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|n+127<<23|o)>>>0}},jspb.utils.splitFloat64=function(o){var t=0>o?1:0;if(0===(o=t?-o:o))jspb.utils.split64High=0<1/o?0:2147483648,jspb.utils.split64Low=0;else if(isNaN(o))jspb.utils.split64High=2147483647,jspb.utils.split64Low=4294967295;else if(o>jspb.BinaryConstants.FLOAT64_MAX)jspb.utils.split64High=(t<<31|2146435072)>>>0,jspb.utils.split64Low=0;else if(o<jspb.BinaryConstants.FLOAT64_MIN){var n=o/Math.pow(2,-1074);jspb.utils.split64High=(t<<31|(o=n/jspb.BinaryConstants.TWO_TO_32))>>>0,jspb.utils.split64Low=n>>>0}else{var r=0;if(2<=(n=o))for(;2<=n&&1023>r;)r++,n/=2;else for(;1>n&&-1022<r;)n*=2,r--;o=(n=o*Math.pow(2,-r))*jspb.BinaryConstants.TWO_TO_20&1048575,n=n*jspb.BinaryConstants.TWO_TO_52>>>0,jspb.utils.split64High=(t<<31|r+1023<<20|o)>>>0,jspb.utils.split64Low=n}},jspb.utils.splitHash64=function(o){var t=o.charCodeAt(0),n=o.charCodeAt(1),r=o.charCodeAt(2),e=o.charCodeAt(3),g=o.charCodeAt(4),i=o.charCodeAt(5),u=o.charCodeAt(6);o=o.charCodeAt(7),jspb.utils.split64Low=t+(n<<8)+(r<<16)+(e<<24)>>>0,jspb.utils.split64High=g+(i<<8)+(u<<16)+(o<<24)>>>0},jspb.utils.joinUint64=function(o,t){return t*jspb.BinaryConstants.TWO_TO_32+(o>>>0)},jspb.utils.joinInt64=function(o,t){var n=2147483648&t;return n&&(t=~t>>>0,0==(o=1+~o>>>0)&&(t=t+1>>>0)),o=jspb.utils.joinUint64(o,t),n?-o:o},jspb.utils.toZigzag64=function(o,t,n){var r=t>>31;return n(o<<1^r,(t<<1|o>>>31)^r)},jspb.utils.joinZigzag64=function(o,t){return jspb.utils.fromZigzag64(o,t,jspb.utils.joinInt64)},jspb.utils.fromZigzag64=function(o,t,n){var r=-(1&o);return n((o>>>1|t<<31)^r,t>>>1^r)},jspb.utils.joinFloat32=function(o,t){t=2*(o>>31)+1;var n=o>>>23&255;return o&=8388607,255==n?o?NaN:1/0*t:0==n?t*Math.pow(2,-149)*o:t*Math.pow(2,n-150)*(o+Math.pow(2,23))},jspb.utils.joinFloat64=function(o,t){var n=2*(t>>31)+1,r=t>>>20&2047;return o=jspb.BinaryConstants.TWO_TO_32*(1048575&t)+o,2047==r?o?NaN:1/0*n:0==r?n*Math.pow(2,-1074)*o:n*Math.pow(2,r-1075)*(o+jspb.BinaryConstants.TWO_TO_52)},jspb.utils.joinHash64=function(o,t){return String.fromCharCode(o>>>0&255,o>>>8&255,o>>>16&255,o>>>24&255,t>>>0&255,t>>>8&255,t>>>16&255,t>>>24&255)},jspb.utils.DIGITS="0123456789abcdef".split(""),jspb.utils.ZERO_CHAR_CODE_=48,jspb.utils.A_CHAR_CODE_=97,jspb.utils.joinUnsignedDecimalString=function(o,t){function n(o,t){return o=o?String(o):"",t?"0000000".slice(o.length)+o:o}if(2097151>=t)return""+jspb.utils.joinUint64(o,t);var r=(o>>>24|t<<8)>>>0&16777215;return o=(16777215&o)+6777216*r+6710656*(t=t>>16&65535),r+=8147497*t,t*=2,1e7<=o&&(r+=Math.floor(o/1e7),o%=1e7),1e7<=r&&(t+=Math.floor(r/1e7),r%=1e7),n(t,0)+n(r,t)+n(o,1)},jspb.utils.joinSignedDecimalString=function(o,t){var n=2147483648&t;return n&&(t=~t+(0==(o=1+~o>>>0)?1:0)>>>0),o=jspb.utils.joinUnsignedDecimalString(o,t),n?"-"+o:o},jspb.utils.hash64ToDecimalString=function(o,t){jspb.utils.splitHash64(o),o=jspb.utils.split64Low;var n=jspb.utils.split64High;return t?jspb.utils.joinSignedDecimalString(o,n):jspb.utils.joinUnsignedDecimalString(o,n)},jspb.utils.hash64ArrayToDecimalStrings=function(o,t){for(var n=Array(o.length),r=0;r<o.length;r++)n[r]=jspb.utils.hash64ToDecimalString(o[r],t);return n},jspb.utils.decimalStringToHash64=function(o){function t(o,t){for(var n=0;8>n&&(1!==o||0<t);n++)r[n]=255&(t=o*r[n]+t),t>>>=8}goog.asserts.assert(0<o.length);var n=!1;"-"===o[0]&&(n=!0,o=o.slice(1));for(var r=[0,0,0,0,0,0,0,0],e=0;e<o.length;e++)t(10,o.charCodeAt(e)-jspb.utils.ZERO_CHAR_CODE_);return n&&(function(){for(var o=0;8>o;o++)r[o]=255&~r[o]}(),t(1,1)),goog.crypt.byteArrayToString(r)},jspb.utils.splitDecimalString=function(o){jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(o))},jspb.utils.toHexDigit_=function(o){return String.fromCharCode(10>o?jspb.utils.ZERO_CHAR_CODE_+o:jspb.utils.A_CHAR_CODE_-10+o)},jspb.utils.fromHexCharCode_=function(o){return o>=jspb.utils.A_CHAR_CODE_?o-jspb.utils.A_CHAR_CODE_+10:o-jspb.utils.ZERO_CHAR_CODE_},jspb.utils.hash64ToHexString=function(o){var t=Array(18);t[0]="0",t[1]="x";for(var n=0;8>n;n++){var r=o.charCodeAt(7-n);t[2*n+2]=jspb.utils.toHexDigit_(r>>4),t[2*n+3]=jspb.utils.toHexDigit_(15&r)}return t.join("")},jspb.utils.hexStringToHash64=function(o){o=o.toLowerCase(),goog.asserts.assert(18==o.length),goog.asserts.assert("0"==o[0]),goog.asserts.assert("x"==o[1]);for(var t="",n=0;8>n;n++){var r=jspb.utils.fromHexCharCode_(o.charCodeAt(2*n+2)),e=jspb.utils.fromHexCharCode_(o.charCodeAt(2*n+3));t=String.fromCharCode(16*r+e)+t}return t},jspb.utils.hash64ToNumber=function(o,t){jspb.utils.splitHash64(o),o=jspb.utils.split64Low;var n=jspb.utils.split64High;return t?jspb.utils.joinInt64(o,n):jspb.utils.joinUint64(o,n)},jspb.utils.numberToHash64=function(o){return jspb.utils.splitInt64(o),jspb.utils.joinHash64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.utils.countVarints=function(o,t,n){for(var r=0,e=t;e<n;e++)r+=o[e]>>7;return n-t-r},jspb.utils.countVarintFields=function(o,t,n,r){var e=0;if(128>(r=8*r+jspb.BinaryConstants.WireType.VARINT))for(;t<n&&o[t++]==r;)for(e++;;){var g=o[t++];if(0==(128&g))break}else for(;t<n;){for(g=r;128<g;){if(o[t]!=(127&g|128))return e;t++,g>>=7}if(o[t++]!=g)break;for(e++;0!=(128&(g=o[t++])););}return e},jspb.utils.countFixedFields_=function(o,t,n,r,e){var g=0;if(128>r)for(;t<n&&o[t++]==r;)g++,t+=e;else for(;t<n;){for(var i=r;128<i;){if(o[t++]!=(127&i|128))return g;i>>=7}if(o[t++]!=i)break;g++,t+=e}return g},jspb.utils.countFixed32Fields=function(o,t,n,r){return jspb.utils.countFixedFields_(o,t,n,8*r+jspb.BinaryConstants.WireType.FIXED32,4)},jspb.utils.countFixed64Fields=function(o,t,n,r){return jspb.utils.countFixedFields_(o,t,n,8*r+jspb.BinaryConstants.WireType.FIXED64,8)},jspb.utils.countDelimitedFields=function(o,t,n,r){var e=0;for(r=8*r+jspb.BinaryConstants.WireType.DELIMITED;t<n;){for(var g=r;128<g;){if(o[t++]!=(127&g|128))return e;g>>=7}if(o[t++]!=g)break;e++;for(var i=0,u=1;i+=(127&(g=o[t++]))*u,u*=128,0!=(128&g););t+=i}return e},jspb.utils.debugBytesToTextFormat=function(o){var t='"';if(o){o=jspb.utils.byteSourceToUint8Array(o);for(var n=0;n<o.length;n++)t+="\\x",16>o[n]&&(t+="0"),t+=o[n].toString(16)}return t+'"'},jspb.utils.debugScalarToTextFormat=function(o){return"string"==typeof o?goog.string.quote(o):o.toString()},jspb.utils.stringToByteArray=function(o){for(var t=new Uint8Array(o.length),n=0;n<o.length;n++){var r=o.charCodeAt(n);if(255<r)throw Error("Conversion error: string contains codepoint outside of byte range");t[n]=r}return t},jspb.utils.byteSourceToUint8Array=function(o){return o.constructor===Uint8Array?o:o.constructor===ArrayBuffer||"undefined"!=typeof Buffer&&o.constructor===Buffer||o.constructor===Array?new Uint8Array(o):o.constructor===String?goog.crypt.base64.decodeStringToUint8Array(o):(goog.asserts.fail("Type not convertible to Uint8Array."),new Uint8Array(0))},jspb.BinaryDecoder=function(o,t,n){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1,o&&this.setBlock(o,t,n)},jspb.BinaryDecoder.instanceCache_=[],jspb.BinaryDecoder.alloc=function(o,t,n){if(jspb.BinaryDecoder.instanceCache_.length){var r=jspb.BinaryDecoder.instanceCache_.pop();return o&&r.setBlock(o,t,n),r}return new jspb.BinaryDecoder(o,t,n)},jspb.BinaryDecoder.prototype.free=function(){this.clear(),100>jspb.BinaryDecoder.instanceCache_.length&&jspb.BinaryDecoder.instanceCache_.push(this)},jspb.BinaryDecoder.prototype.clone=function(){return jspb.BinaryDecoder.alloc(this.bytes_,this.start_,this.end_-this.start_)},jspb.BinaryDecoder.prototype.clear=function(){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1},jspb.BinaryDecoder.prototype.getBuffer=function(){return this.bytes_},jspb.BinaryDecoder.prototype.setBlock=function(o,t,n){this.bytes_=jspb.utils.byteSourceToUint8Array(o),this.start_=void 0!==t?t:0,this.end_=void 0!==n?this.start_+n:this.bytes_.length,this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getEnd=function(){return this.end_},jspb.BinaryDecoder.prototype.setEnd=function(o){this.end_=o},jspb.BinaryDecoder.prototype.reset=function(){this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getCursor=function(){return this.cursor_},jspb.BinaryDecoder.prototype.setCursor=function(o){this.cursor_=o},jspb.BinaryDecoder.prototype.advance=function(o){this.cursor_+=o,goog.asserts.assert(this.cursor_<=this.end_)},jspb.BinaryDecoder.prototype.atEnd=function(){return this.cursor_==this.end_},jspb.BinaryDecoder.prototype.pastEnd=function(){return this.cursor_>this.end_},jspb.BinaryDecoder.prototype.getError=function(){return this.error_||0>this.cursor_||this.cursor_>this.end_},jspb.BinaryDecoder.prototype.readSplitVarint64=function(o){for(var t=128,n=0,r=0,e=0;4>e&&128<=t;e++)n|=(127&(t=this.bytes_[this.cursor_++]))<<7*e;if(128<=t&&(n|=(127&(t=this.bytes_[this.cursor_++]))<<28,r|=(127&t)>>4),128<=t)for(e=0;5>e&&128<=t;e++)r|=(127&(t=this.bytes_[this.cursor_++]))<<7*e+3;if(128>t)return o(n>>>0,r>>>0);goog.asserts.fail("Failed to read varint, encoding is invalid."),this.error_=!0},jspb.BinaryDecoder.prototype.readSplitZigzagVarint64=function(o){return this.readSplitVarint64((function(t,n){return jspb.utils.fromZigzag64(t,n,o)}))},jspb.BinaryDecoder.prototype.readSplitFixed64=function(o){var t=this.bytes_,n=this.cursor_;this.cursor_+=8;for(var r=0,e=0,g=n+7;g>=n;g--)r=r<<8|t[g],e=e<<8|t[g+4];return o(r,e)},jspb.BinaryDecoder.prototype.skipVarint=function(){for(;128&this.bytes_[this.cursor_];)this.cursor_++;this.cursor_++},jspb.BinaryDecoder.prototype.unskipVarint=function(o){for(;128<o;)this.cursor_--,o>>>=7;this.cursor_--},jspb.BinaryDecoder.prototype.readUnsignedVarint32=function(){var o=this.bytes_,t=o[this.cursor_+0],n=127&t;return 128>t?(this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),n):(n|=(127&(t=o[this.cursor_+1]))<<7,128>t?(this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),n):(n|=(127&(t=o[this.cursor_+2]))<<14,128>t?(this.cursor_+=3,goog.asserts.assert(this.cursor_<=this.end_),n):(n|=(127&(t=o[this.cursor_+3]))<<21,128>t?(this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),n):(n|=(15&(t=o[this.cursor_+4]))<<28,128>t?(this.cursor_+=5,goog.asserts.assert(this.cursor_<=this.end_),n>>>0):(this.cursor_+=5,128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&goog.asserts.assert(!1),goog.asserts.assert(this.cursor_<=this.end_),n)))))},jspb.BinaryDecoder.prototype.readSignedVarint32=jspb.BinaryDecoder.prototype.readUnsignedVarint32,jspb.BinaryDecoder.prototype.readUnsignedVarint32String=function(){return this.readUnsignedVarint32().toString()},jspb.BinaryDecoder.prototype.readSignedVarint32String=function(){return this.readSignedVarint32().toString()},jspb.BinaryDecoder.prototype.readZigzagVarint32=function(){var o=this.readUnsignedVarint32();return o>>>1^-(1&o)},jspb.BinaryDecoder.prototype.readUnsignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinUint64)},jspb.BinaryDecoder.prototype.readUnsignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinUnsignedDecimalString)},jspb.BinaryDecoder.prototype.readSignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinInt64)},jspb.BinaryDecoder.prototype.readSignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readZigzagVarint64=function(){return this.readSplitVarint64(jspb.utils.joinZigzag64)},jspb.BinaryDecoder.prototype.readZigzagVarintHash64=function(){return this.readSplitZigzagVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readZigzagVarint64String=function(){return this.readSplitZigzagVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readUint8=function(){var o=this.bytes_[this.cursor_+0];return this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),o},jspb.BinaryDecoder.prototype.readUint16=function(){var o=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1];return this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),o<<0|t<<8},jspb.BinaryDecoder.prototype.readUint32=function(){var o=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1],n=this.bytes_[this.cursor_+2],r=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),(o<<0|t<<8|n<<16|r<<24)>>>0},jspb.BinaryDecoder.prototype.readUint64=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinUint64(o,t)},jspb.BinaryDecoder.prototype.readUint64String=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinUnsignedDecimalString(o,t)},jspb.BinaryDecoder.prototype.readInt8=function(){var o=this.bytes_[this.cursor_+0];return this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),o<<24>>24},jspb.BinaryDecoder.prototype.readInt16=function(){var o=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1];return this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),(o<<0|t<<8)<<16>>16},jspb.BinaryDecoder.prototype.readInt32=function(){var o=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1],n=this.bytes_[this.cursor_+2],r=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),o<<0|t<<8|n<<16|r<<24},jspb.BinaryDecoder.prototype.readInt64=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinInt64(o,t)},jspb.BinaryDecoder.prototype.readInt64String=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinSignedDecimalString(o,t)},jspb.BinaryDecoder.prototype.readFloat=function(){var o=this.readUint32();return jspb.utils.joinFloat32(o,0)},jspb.BinaryDecoder.prototype.readDouble=function(){var o=this.readUint32(),t=this.readUint32();return jspb.utils.joinFloat64(o,t)},jspb.BinaryDecoder.prototype.readBool=function(){return!!this.bytes_[this.cursor_++]},jspb.BinaryDecoder.prototype.readEnum=function(){return this.readSignedVarint32()},jspb.BinaryDecoder.prototype.readString=function(o){var t=this.bytes_,n=this.cursor_;o=n+o;for(var r=[],e="";n<o;){var g=t[n++];if(128>g)r.push(g);else{if(192>g)continue;if(224>g){var i=t[n++];r.push((31&g)<<6|63&i)}else if(240>g){i=t[n++];var u=t[n++];r.push((15&g)<<12|(63&i)<<6|63&u)}else 248>g&&(g=(7&g)<<18|(63&(i=t[n++]))<<12|(63&(u=t[n++]))<<6|63&t[n++],r.push(55296+((g-=65536)>>10&1023),56320+(1023&g)))}8192<=r.length&&(e+=String.fromCharCode.apply(null,r),r.length=0)}return e+=goog.crypt.byteArrayToString(r),this.cursor_=n,e},jspb.BinaryDecoder.prototype.readStringWithLength=function(){var o=this.readUnsignedVarint32();return this.readString(o)},jspb.BinaryDecoder.prototype.readBytes=function(o){if(0>o||this.cursor_+o>this.bytes_.length)return this.error_=!0,goog.asserts.fail("Invalid byte length!"),new Uint8Array(0);var t=this.bytes_.subarray(this.cursor_,this.cursor_+o);return this.cursor_+=o,goog.asserts.assert(this.cursor_<=this.end_),t},jspb.BinaryDecoder.prototype.readVarintHash64=function(){return this.readSplitVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readFixedHash64=function(){var o=this.bytes_,t=this.cursor_,n=o[t+0],r=o[t+1],e=o[t+2],g=o[t+3],i=o[t+4],u=o[t+5],s=o[t+6];return o=o[t+7],this.cursor_+=8,String.fromCharCode(n,r,e,g,i,u,s,o)},jspb.BinaryReader=function(o,t,n){this.decoder_=jspb.BinaryDecoder.alloc(o,t,n),this.fieldCursor_=this.decoder_.getCursor(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null},jspb.BinaryReader.instanceCache_=[],jspb.BinaryReader.alloc=function(o,t,n){if(jspb.BinaryReader.instanceCache_.length){var r=jspb.BinaryReader.instanceCache_.pop();return o&&r.decoder_.setBlock(o,t,n),r}return new jspb.BinaryReader(o,t,n)},jspb.BinaryReader.prototype.alloc=jspb.BinaryReader.alloc,jspb.BinaryReader.prototype.free=function(){this.decoder_.clear(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null,100>jspb.BinaryReader.instanceCache_.length&&jspb.BinaryReader.instanceCache_.push(this)},jspb.BinaryReader.prototype.getFieldCursor=function(){return this.fieldCursor_},jspb.BinaryReader.prototype.getCursor=function(){return this.decoder_.getCursor()},jspb.BinaryReader.prototype.getBuffer=function(){return this.decoder_.getBuffer()},jspb.BinaryReader.prototype.getFieldNumber=function(){return this.nextField_},jspb.BinaryReader.prototype.getWireType=function(){return this.nextWireType_},jspb.BinaryReader.prototype.isDelimited=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED},jspb.BinaryReader.prototype.isEndGroup=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP},jspb.BinaryReader.prototype.getError=function(){return this.error_||this.decoder_.getError()},jspb.BinaryReader.prototype.setBlock=function(o,t,n){this.decoder_.setBlock(o,t,n),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.reset=function(){this.decoder_.reset(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.advance=function(o){this.decoder_.advance(o)},jspb.BinaryReader.prototype.nextField=function(){if(this.decoder_.atEnd())return!1;if(this.getError())return goog.asserts.fail("Decoder hit an error"),!1;this.fieldCursor_=this.decoder_.getCursor();var o=this.decoder_.readUnsignedVarint32(),t=o>>>3;return(o&=7)!=jspb.BinaryConstants.WireType.VARINT&&o!=jspb.BinaryConstants.WireType.FIXED32&&o!=jspb.BinaryConstants.WireType.FIXED64&&o!=jspb.BinaryConstants.WireType.DELIMITED&&o!=jspb.BinaryConstants.WireType.START_GROUP&&o!=jspb.BinaryConstants.WireType.END_GROUP?(goog.asserts.fail("Invalid wire type: %s (at position %s)",o,this.fieldCursor_),this.error_=!0,!1):(this.nextField_=t,this.nextWireType_=o,!0)},jspb.BinaryReader.prototype.unskipHeader=function(){this.decoder_.unskipVarint(this.nextField_<<3|this.nextWireType_)},jspb.BinaryReader.prototype.skipMatchingFields=function(){var o=this.nextField_;for(this.unskipHeader();this.nextField()&&this.getFieldNumber()==o;)this.skipField();this.decoder_.atEnd()||this.unskipHeader()},jspb.BinaryReader.prototype.skipVarintField=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.VARINT?(goog.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()},jspb.BinaryReader.prototype.skipDelimitedField=function(){if(this.nextWireType_!=jspb.BinaryConstants.WireType.DELIMITED)goog.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField();else{var o=this.decoder_.readUnsignedVarint32();this.decoder_.advance(o)}},jspb.BinaryReader.prototype.skipFixed32Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED32?(goog.asserts.fail("Invalid wire type for skipFixed32Field"),this.skipField()):this.decoder_.advance(4)},jspb.BinaryReader.prototype.skipFixed64Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED64?(goog.asserts.fail("Invalid wire type for skipFixed64Field"),this.skipField()):this.decoder_.advance(8)},jspb.BinaryReader.prototype.skipGroup=function(){for(var o=this.nextField_;;){if(!this.nextField()){goog.asserts.fail("Unmatched start-group tag: stream EOF"),this.error_=!0;break}if(this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP){this.nextField_!=o&&(goog.asserts.fail("Unmatched end-group tag"),this.error_=!0);break}this.skipField()}},jspb.BinaryReader.prototype.skipField=function(){switch(this.nextWireType_){case jspb.BinaryConstants.WireType.VARINT:this.skipVarintField();break;case jspb.BinaryConstants.WireType.FIXED64:this.skipFixed64Field();break;case jspb.BinaryConstants.WireType.DELIMITED:this.skipDelimitedField();break;case jspb.BinaryConstants.WireType.FIXED32:this.skipFixed32Field();break;case jspb.BinaryConstants.WireType.START_GROUP:this.skipGroup();break;default:goog.asserts.fail("Invalid wire encoding for field.")}},jspb.BinaryReader.prototype.registerReadCallback=function(o,t){null===this.readCallbacks_&&(this.readCallbacks_={}),goog.asserts.assert(!this.readCallbacks_[o]),this.readCallbacks_[o]=t},jspb.BinaryReader.prototype.runReadCallback=function(o){return goog.asserts.assert(null!==this.readCallbacks_),goog.asserts.assert(o=this.readCallbacks_[o]),o(this)},jspb.BinaryReader.prototype.readAny=function(o){this.nextWireType_=jspb.BinaryConstants.FieldTypeToWireType(o);var t=jspb.BinaryConstants.FieldType;switch(o){case t.DOUBLE:return this.readDouble();case t.FLOAT:return this.readFloat();case t.INT64:return this.readInt64();case t.UINT64:return this.readUint64();case t.INT32:return this.readInt32();case t.FIXED64:return this.readFixed64();case t.FIXED32:return this.readFixed32();case t.BOOL:return this.readBool();case t.STRING:return this.readString();case t.GROUP:goog.asserts.fail("Group field type not supported in readAny()");case t.MESSAGE:goog.asserts.fail("Message field type not supported in readAny()");case t.BYTES:return this.readBytes();case t.UINT32:return this.readUint32();case t.ENUM:return this.readEnum();case t.SFIXED32:return this.readSfixed32();case t.SFIXED64:return this.readSfixed64();case t.SINT32:return this.readSint32();case t.SINT64:return this.readSint64();case t.FHASH64:return this.readFixedHash64();case t.VHASH64:return this.readVarintHash64();default:goog.asserts.fail("Invalid field type in readAny()")}return 0},jspb.BinaryReader.prototype.readMessage=function(o,t){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var n=this.decoder_.getEnd(),r=this.decoder_.readUnsignedVarint32();r=this.decoder_.getCursor()+r,this.decoder_.setEnd(r),t(o,this),this.decoder_.setCursor(r),this.decoder_.setEnd(n)},jspb.BinaryReader.prototype.readGroup=function(o,t,n){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.START_GROUP),goog.asserts.assert(this.nextField_==o),n(t,this),this.error_||this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP||(goog.asserts.fail("Group submessage did not end with an END_GROUP tag"),this.error_=!0)},jspb.BinaryReader.prototype.getFieldDecoder=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32(),t=this.decoder_.getCursor(),n=t+o;return o=jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(),t,o),this.decoder_.setCursor(n),o},jspb.BinaryReader.prototype.readInt32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32()},jspb.BinaryReader.prototype.readInt32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32String()},jspb.BinaryReader.prototype.readInt64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},jspb.BinaryReader.prototype.readInt64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64String()},jspb.BinaryReader.prototype.readUint32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32()},jspb.BinaryReader.prototype.readUint32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32String()},jspb.BinaryReader.prototype.readUint64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64()},jspb.BinaryReader.prototype.readUint64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64String()},jspb.BinaryReader.prototype.readSint32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint32()},jspb.BinaryReader.prototype.readSint64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64()},jspb.BinaryReader.prototype.readSint64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64String()},jspb.BinaryReader.prototype.readFixed32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readUint32()},jspb.BinaryReader.prototype.readFixed64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64()},jspb.BinaryReader.prototype.readFixed64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64String()},jspb.BinaryReader.prototype.readSfixed32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32()},jspb.BinaryReader.prototype.readSfixed32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32().toString()},jspb.BinaryReader.prototype.readSfixed64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64()},jspb.BinaryReader.prototype.readSfixed64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64String()},jspb.BinaryReader.prototype.readFloat=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readFloat()},jspb.BinaryReader.prototype.readDouble=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readDouble()},jspb.BinaryReader.prototype.readBool=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),!!this.decoder_.readUnsignedVarint32()},jspb.BinaryReader.prototype.readEnum=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},jspb.BinaryReader.prototype.readString=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(o)},jspb.BinaryReader.prototype.readBytes=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();return this.decoder_.readBytes(o)},jspb.BinaryReader.prototype.readVarintHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readVarintHash64()},jspb.BinaryReader.prototype.readSintHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarintHash64()},jspb.BinaryReader.prototype.readSplitVarint64=function(o){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(o)},jspb.BinaryReader.prototype.readSplitZigzagVarint64=function(o){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64((function(t,n){return jspb.utils.fromZigzag64(t,n,o)}))},jspb.BinaryReader.prototype.readFixedHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readFixedHash64()},jspb.BinaryReader.prototype.readSplitFixed64=function(o){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readSplitFixed64(o)},jspb.BinaryReader.prototype.readPackedField_=function(o){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var t=this.decoder_.readUnsignedVarint32();t=this.decoder_.getCursor()+t;for(var n=[];this.decoder_.getCursor()<t;)n.push(o.call(this.decoder_));return n},jspb.BinaryReader.prototype.readPackedInt32=function(){return this.readPackedField_(this.decoder_.readSignedVarint32)},jspb.BinaryReader.prototype.readPackedInt32String=function(){return this.readPackedField_(this.decoder_.readSignedVarint32String)},jspb.BinaryReader.prototype.readPackedInt64=function(){return this.readPackedField_(this.decoder_.readSignedVarint64)},jspb.BinaryReader.prototype.readPackedInt64String=function(){return this.readPackedField_(this.decoder_.readSignedVarint64String)},jspb.BinaryReader.prototype.readPackedUint32=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32)},jspb.BinaryReader.prototype.readPackedUint32String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32String)},jspb.BinaryReader.prototype.readPackedUint64=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64)},jspb.BinaryReader.prototype.readPackedUint64String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64String)},jspb.BinaryReader.prototype.readPackedSint32=function(){return this.readPackedField_(this.decoder_.readZigzagVarint32)},jspb.BinaryReader.prototype.readPackedSint64=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64)},jspb.BinaryReader.prototype.readPackedSint64String=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64String)},jspb.BinaryReader.prototype.readPackedFixed32=function(){return this.readPackedField_(this.decoder_.readUint32)},jspb.BinaryReader.prototype.readPackedFixed64=function(){return this.readPackedField_(this.decoder_.readUint64)},jspb.BinaryReader.prototype.readPackedFixed64String=function(){return this.readPackedField_(this.decoder_.readUint64String)},jspb.BinaryReader.prototype.readPackedSfixed32=function(){return this.readPackedField_(this.decoder_.readInt32)},jspb.BinaryReader.prototype.readPackedSfixed64=function(){return this.readPackedField_(this.decoder_.readInt64)},jspb.BinaryReader.prototype.readPackedSfixed64String=function(){return this.readPackedField_(this.decoder_.readInt64String)},jspb.BinaryReader.prototype.readPackedFloat=function(){return this.readPackedField_(this.decoder_.readFloat)},jspb.BinaryReader.prototype.readPackedDouble=function(){return this.readPackedField_(this.decoder_.readDouble)},jspb.BinaryReader.prototype.readPackedBool=function(){return this.readPackedField_(this.decoder_.readBool)},jspb.BinaryReader.prototype.readPackedEnum=function(){return this.readPackedField_(this.decoder_.readEnum)},jspb.BinaryReader.prototype.readPackedVarintHash64=function(){return this.readPackedField_(this.decoder_.readVarintHash64)},jspb.BinaryReader.prototype.readPackedFixedHash64=function(){return this.readPackedField_(this.decoder_.readFixedHash64)},jspb.BinaryEncoder=function(){this.buffer_=[]},jspb.BinaryEncoder.prototype.length=function(){return this.buffer_.length},jspb.BinaryEncoder.prototype.end=function(){var o=this.buffer_;return this.buffer_=[],o},jspb.BinaryEncoder.prototype.writeSplitVarint64=function(o,t){for(goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32);0<t||127<o;)this.buffer_.push(127&o|128),o=(o>>>7|t<<25)>>>0,t>>>=7;this.buffer_.push(o)},jspb.BinaryEncoder.prototype.writeSplitFixed64=function(o,t){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUint32(o),this.writeUint32(t)},jspb.BinaryEncoder.prototype.writeUnsignedVarint32=function(o){for(goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32);127<o;)this.buffer_.push(127&o|128),o>>>=7;this.buffer_.push(o)},jspb.BinaryEncoder.prototype.writeSignedVarint32=function(o){if(goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),0<=o)this.writeUnsignedVarint32(o);else{for(var t=0;9>t;t++)this.buffer_.push(127&o|128),o>>=7;this.buffer_.push(1)}},jspb.BinaryEncoder.prototype.writeUnsignedVarint64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitInt64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeSignedVarint64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint32=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeUnsignedVarint32((o<<1^o>>31)>>>0)},jspb.BinaryEncoder.prototype.writeZigzagVarint64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitZigzag64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint64String=function(o){this.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(o))},jspb.BinaryEncoder.prototype.writeZigzagVarintHash64=function(o){var t=this;jspb.utils.splitHash64(o),jspb.utils.toZigzag64(jspb.utils.split64Low,jspb.utils.split64High,(function(o,n){t.writeSplitVarint64(o>>>0,n>>>0)}))},jspb.BinaryEncoder.prototype.writeUint8=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&256>o),this.buffer_.push(o>>>0&255)},jspb.BinaryEncoder.prototype.writeUint16=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&65536>o),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255)},jspb.BinaryEncoder.prototype.writeUint32=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255),this.buffer_.push(o>>>16&255),this.buffer_.push(o>>>24&255)},jspb.BinaryEncoder.prototype.writeUint64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitUint64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt8=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(-128<=o&&128>o),this.buffer_.push(o>>>0&255)},jspb.BinaryEncoder.prototype.writeInt16=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(-32768<=o&&32768>o),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255)},jspb.BinaryEncoder.prototype.writeInt32=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255),this.buffer_.push(o>>>16&255),this.buffer_.push(o>>>24&255)},jspb.BinaryEncoder.prototype.writeInt64=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(o),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt64String=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(+o>=-jspb.BinaryConstants.TWO_TO_63&&+o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(o)),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFloat=function(o){goog.asserts.assert(1/0===o||-1/0===o||isNaN(o)||o>=-jspb.BinaryConstants.FLOAT32_MAX&&o<=jspb.BinaryConstants.FLOAT32_MAX),jspb.utils.splitFloat32(o),this.writeUint32(jspb.utils.split64Low)},jspb.BinaryEncoder.prototype.writeDouble=function(o){goog.asserts.assert(1/0===o||-1/0===o||isNaN(o)||o>=-jspb.BinaryConstants.FLOAT64_MAX&&o<=jspb.BinaryConstants.FLOAT64_MAX),jspb.utils.splitFloat64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeBool=function(o){goog.asserts.assert("boolean"==typeof o||"number"==typeof o),this.buffer_.push(o?1:0)},jspb.BinaryEncoder.prototype.writeEnum=function(o){goog.asserts.assert(o==Math.floor(o)),goog.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32(o)},jspb.BinaryEncoder.prototype.writeBytes=function(o){this.buffer_.push.apply(this.buffer_,o)},jspb.BinaryEncoder.prototype.writeVarintHash64=function(o){jspb.utils.splitHash64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFixedHash64=function(o){jspb.utils.splitHash64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeString=function(o){for(var t=this.buffer_.length,n=0;n<o.length;n++){var r=o.charCodeAt(n);if(128>r)this.buffer_.push(r);else if(2048>r)this.buffer_.push(r>>6|192),this.buffer_.push(63&r|128);else if(65536>r)if(55296<=r&&56319>=r&&n+1<o.length){var e=o.charCodeAt(n+1);56320<=e&&57343>=e&&(this.buffer_.push((r=1024*(r-55296)+e-56320+65536)>>18|240),this.buffer_.push(r>>12&63|128),this.buffer_.push(r>>6&63|128),this.buffer_.push(63&r|128),n++)}else this.buffer_.push(r>>12|224),this.buffer_.push(r>>6&63|128),this.buffer_.push(63&r|128)}return this.buffer_.length-t},jspb.arith={},jspb.arith.UInt64=function(o,t){this.lo=o,this.hi=t},jspb.arith.UInt64.prototype.cmp=function(o){return this.hi<o.hi||this.hi==o.hi&&this.lo<o.lo?-1:this.hi==o.hi&&this.lo==o.lo?0:1},jspb.arith.UInt64.prototype.rightShift=function(){return new jspb.arith.UInt64((this.lo>>>1|(1&this.hi)<<31)>>>0,this.hi>>>1>>>0)},jspb.arith.UInt64.prototype.leftShift=function(){return new jspb.arith.UInt64(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},jspb.arith.UInt64.prototype.msb=function(){return!!(2147483648&this.hi)},jspb.arith.UInt64.prototype.lsb=function(){return!!(1&this.lo)},jspb.arith.UInt64.prototype.zero=function(){return 0==this.lo&&0==this.hi},jspb.arith.UInt64.prototype.add=function(o){return new jspb.arith.UInt64((this.lo+o.lo&4294967295)>>>0>>>0,((this.hi+o.hi&4294967295)>>>0)+(4294967296<=this.lo+o.lo?1:0)>>>0)},jspb.arith.UInt64.prototype.sub=function(o){return new jspb.arith.UInt64((this.lo-o.lo&4294967295)>>>0>>>0,((this.hi-o.hi&4294967295)>>>0)-(0>this.lo-o.lo?1:0)>>>0)},jspb.arith.UInt64.mul32x32=function(o,t){var n=65535&o,r=65535&t,e=t>>>16;for(t=n*r+65536*(n*e&65535)+65536*((o>>>=16)*r&65535),n=o*e+(n*e>>>16)+(o*r>>>16);4294967296<=t;)t-=4294967296,n+=1;return new jspb.arith.UInt64(t>>>0,n>>>0)},jspb.arith.UInt64.prototype.mul=function(o){var t=jspb.arith.UInt64.mul32x32(this.lo,o);return(o=jspb.arith.UInt64.mul32x32(this.hi,o)).hi=o.lo,o.lo=0,t.add(o)},jspb.arith.UInt64.prototype.div=function(o){if(0==o)return[];var t=new jspb.arith.UInt64(0,0),n=new jspb.arith.UInt64(this.lo,this.hi);o=new jspb.arith.UInt64(o,0);for(var r=new jspb.arith.UInt64(1,0);!o.msb();)o=o.leftShift(),r=r.leftShift();for(;!r.zero();)0>=o.cmp(n)&&(t=t.add(r),n=n.sub(o)),o=o.rightShift(),r=r.rightShift();return[t,n]},jspb.arith.UInt64.prototype.toString=function(){for(var o="",t=this;!t.zero();)o=(t=t.div(10))[1].lo+o,t=t[0];return""==o&&(o="0"),o},jspb.arith.UInt64.fromString=function(o){for(var t=new jspb.arith.UInt64(0,0),n=new jspb.arith.UInt64(0,0),r=0;r<o.length;r++){if("0">o[r]||"9"<o[r])return null;var e=parseInt(o[r],10);n.lo=e,t=t.mul(10).add(n)}return t},jspb.arith.UInt64.prototype.clone=function(){return new jspb.arith.UInt64(this.lo,this.hi)},jspb.arith.Int64=function(o,t){this.lo=o,this.hi=t},jspb.arith.Int64.prototype.add=function(o){return new jspb.arith.Int64((this.lo+o.lo&4294967295)>>>0>>>0,((this.hi+o.hi&4294967295)>>>0)+(4294967296<=this.lo+o.lo?1:0)>>>0)},jspb.arith.Int64.prototype.sub=function(o){return new jspb.arith.Int64((this.lo-o.lo&4294967295)>>>0>>>0,((this.hi-o.hi&4294967295)>>>0)-(0>this.lo-o.lo?1:0)>>>0)},jspb.arith.Int64.prototype.clone=function(){return new jspb.arith.Int64(this.lo,this.hi)},jspb.arith.Int64.prototype.toString=function(){var o=0!=(2147483648&this.hi),t=new jspb.arith.UInt64(this.lo,this.hi);return o&&(t=new jspb.arith.UInt64(0,0).sub(t)),(o?"-":"")+t.toString()},jspb.arith.Int64.fromString=function(o){var t=0<o.length&&"-"==o[0];return t&&(o=o.substring(1)),null===(o=jspb.arith.UInt64.fromString(o))?null:(t&&(o=new jspb.arith.UInt64(0,0).sub(o)),new jspb.arith.Int64(o.lo,o.hi))},jspb.BinaryWriter=function(){this.blocks_=[],this.totalLength_=0,this.encoder_=new jspb.BinaryEncoder,this.bookmarks_=[]},jspb.BinaryWriter.prototype.appendUint8Array_=function(o){var t=this.encoder_.end();this.blocks_.push(t),this.blocks_.push(o),this.totalLength_+=t.length+o.length},jspb.BinaryWriter.prototype.beginDelimited_=function(o){return this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),o=this.encoder_.end(),this.blocks_.push(o),this.totalLength_+=o.length,o.push(this.totalLength_),o},jspb.BinaryWriter.prototype.endDelimited_=function(o){var t=o.pop();for(t=this.totalLength_+this.encoder_.length()-t,goog.asserts.assert(0<=t);127<t;)o.push(127&t|128),t>>>=7,this.totalLength_++;o.push(t),this.totalLength_++},jspb.BinaryWriter.prototype.writeSerializedMessage=function(o,t,n){this.appendUint8Array_(o.subarray(t,n))},jspb.BinaryWriter.prototype.maybeWriteSerializedMessage=function(o,t,n){null!=o&&null!=t&&null!=n&&this.writeSerializedMessage(o,t,n)},jspb.BinaryWriter.prototype.reset=function(){this.blocks_=[],this.encoder_.end(),this.totalLength_=0,this.bookmarks_=[]},jspb.BinaryWriter.prototype.getResultBuffer=function(){goog.asserts.assert(0==this.bookmarks_.length);for(var o=new Uint8Array(this.totalLength_+this.encoder_.length()),t=this.blocks_,n=t.length,r=0,e=0;e<n;e++){var g=t[e];o.set(g,r),r+=g.length}return t=this.encoder_.end(),o.set(t,r),goog.asserts.assert((r+=t.length)==o.length),this.blocks_=[o],o},jspb.BinaryWriter.prototype.getResultBase64String=function(o){return goog.crypt.base64.encodeByteArray(this.getResultBuffer(),o)},jspb.BinaryWriter.prototype.beginSubMessage=function(o){this.bookmarks_.push(this.beginDelimited_(o))},jspb.BinaryWriter.prototype.endSubMessage=function(){goog.asserts.assert(0<=this.bookmarks_.length),this.endDelimited_(this.bookmarks_.pop())},jspb.BinaryWriter.prototype.writeFieldHeader_=function(o,t){goog.asserts.assert(1<=o&&o==Math.floor(o)),this.encoder_.writeUnsignedVarint32(8*o+t)},jspb.BinaryWriter.prototype.writeAny=function(o,t,n){var r=jspb.BinaryConstants.FieldType;switch(o){case r.DOUBLE:this.writeDouble(t,n);break;case r.FLOAT:this.writeFloat(t,n);break;case r.INT64:this.writeInt64(t,n);break;case r.UINT64:this.writeUint64(t,n);break;case r.INT32:this.writeInt32(t,n);break;case r.FIXED64:this.writeFixed64(t,n);break;case r.FIXED32:this.writeFixed32(t,n);break;case r.BOOL:this.writeBool(t,n);break;case r.STRING:this.writeString(t,n);break;case r.GROUP:goog.asserts.fail("Group field type not supported in writeAny()");break;case r.MESSAGE:goog.asserts.fail("Message field type not supported in writeAny()");break;case r.BYTES:this.writeBytes(t,n);break;case r.UINT32:this.writeUint32(t,n);break;case r.ENUM:this.writeEnum(t,n);break;case r.SFIXED32:this.writeSfixed32(t,n);break;case r.SFIXED64:this.writeSfixed64(t,n);break;case r.SINT32:this.writeSint32(t,n);break;case r.SINT64:this.writeSint64(t,n);break;case r.FHASH64:this.writeFixedHash64(t,n);break;case r.VHASH64:this.writeVarintHash64(t,n);break;default:goog.asserts.fail("Invalid field type in writeAny()")}},jspb.BinaryWriter.prototype.writeUnsignedVarint32_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint32(t))},jspb.BinaryWriter.prototype.writeSignedVarint32_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(t))},jspb.BinaryWriter.prototype.writeUnsignedVarint64_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint64(t))},jspb.BinaryWriter.prototype.writeSignedVarint64_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint64(t))},jspb.BinaryWriter.prototype.writeZigzagVarint32_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint32(t))},jspb.BinaryWriter.prototype.writeZigzagVarint64_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64(t))},jspb.BinaryWriter.prototype.writeZigzagVarint64String_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64String(t))},jspb.BinaryWriter.prototype.writeZigzagVarintHash64_=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarintHash64(t))},jspb.BinaryWriter.prototype.writeInt32=function(o,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(o,t))},jspb.BinaryWriter.prototype.writeInt32String=function(o,t){null!=t&&(t=parseInt(t,10),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(o,t))},jspb.BinaryWriter.prototype.writeInt64=function(o,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeSignedVarint64_(o,t))},jspb.BinaryWriter.prototype.writeInt64String=function(o,t){null!=t&&(t=jspb.arith.Int64.fromString(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeUint32=function(o,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(o,t))},jspb.BinaryWriter.prototype.writeUint32String=function(o,t){null!=t&&(t=parseInt(t,10),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(o,t))},jspb.BinaryWriter.prototype.writeUint64=function(o,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),this.writeUnsignedVarint64_(o,t))},jspb.BinaryWriter.prototype.writeUint64String=function(o,t){null!=t&&(t=jspb.arith.UInt64.fromString(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeSint32=function(o,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeZigzagVarint32_(o,t))},jspb.BinaryWriter.prototype.writeSint64=function(o,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeZigzagVarint64_(o,t))},jspb.BinaryWriter.prototype.writeSintHash64=function(o,t){null!=t&&this.writeZigzagVarintHash64_(o,t)},jspb.BinaryWriter.prototype.writeSint64String=function(o,t){null!=t&&this.writeZigzagVarint64String_(o,t)},jspb.BinaryWriter.prototype.writeFixed32=function(o,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeUint32(t))},jspb.BinaryWriter.prototype.writeFixed64=function(o,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeUint64(t))},jspb.BinaryWriter.prototype.writeFixed64String=function(o,t){null!=t&&(t=jspb.arith.UInt64.fromString(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeSfixed32=function(o,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeInt32(t))},jspb.BinaryWriter.prototype.writeSfixed64=function(o,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeInt64(t))},jspb.BinaryWriter.prototype.writeSfixed64String=function(o,t){null!=t&&(t=jspb.arith.Int64.fromString(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeFloat=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeFloat(t))},jspb.BinaryWriter.prototype.writeDouble=function(o,t){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeDouble(t))},jspb.BinaryWriter.prototype.writeBool=function(o,t){null!=t&&(goog.asserts.assert("boolean"==typeof t||"number"==typeof t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeBool(t))},jspb.BinaryWriter.prototype.writeEnum=function(o,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(t))},jspb.BinaryWriter.prototype.writeString=function(o,t){null!=t&&(o=this.beginDelimited_(o),this.encoder_.writeString(t),this.endDelimited_(o))},jspb.BinaryWriter.prototype.writeBytes=function(o,t){null!=t&&(t=jspb.utils.byteSourceToUint8Array(t),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(t.length),this.appendUint8Array_(t))},jspb.BinaryWriter.prototype.writeMessage=function(o,t,n){null!=t&&(o=this.beginDelimited_(o),n(t,this),this.endDelimited_(o))},jspb.BinaryWriter.prototype.writeMessageSet=function(o,t,n){null!=t&&(this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.START_GROUP),this.writeFieldHeader_(2,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(o),o=this.beginDelimited_(3),n(t,this),this.endDelimited_(o),this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeGroup=function(o,t,n){null!=t&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),n(t,this),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeFixedHash64=function(o,t){null!=t&&(goog.asserts.assert(8==t.length),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeFixedHash64(t))},jspb.BinaryWriter.prototype.writeVarintHash64=function(o,t){null!=t&&(goog.asserts.assert(8==t.length),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeVarintHash64(t))},jspb.BinaryWriter.prototype.writeSplitFixed64=function(o,t,n){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t,n)},jspb.BinaryWriter.prototype.writeSplitVarint64=function(o,t,n){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t,n)},jspb.BinaryWriter.prototype.writeSplitZigzagVarint64=function(o,t,n){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT);var r=this.encoder_;jspb.utils.toZigzag64(t,n,(function(o,t){r.writeSplitVarint64(o>>>0,t>>>0)}))},jspb.BinaryWriter.prototype.writeRepeatedInt32=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeSignedVarint32_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedInt32String=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeInt32String(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedInt64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeSignedVarint64_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSplitFixed64=function(o,t,n,r){if(null!=t)for(var e=0;e<t.length;e++)this.writeSplitFixed64(o,n(t[e]),r(t[e]))},jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(o,t,n,r){if(null!=t)for(var e=0;e<t.length;e++)this.writeSplitVarint64(o,n(t[e]),r(t[e]))},jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(o,t,n,r){if(null!=t)for(var e=0;e<t.length;e++)this.writeSplitZigzagVarint64(o,n(t[e]),r(t[e]))},jspb.BinaryWriter.prototype.writeRepeatedInt64String=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeInt64String(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedUint32=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeUnsignedVarint32_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedUint32String=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeUint32String(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedUint64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeUnsignedVarint64_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedUint64String=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeUint64String(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSint32=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeZigzagVarint32_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSint64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeZigzagVarint64_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSint64String=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeZigzagVarint64String_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSintHash64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeZigzagVarintHash64_(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedFixed32=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeFixed32(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedFixed64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeFixed64(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedFixed64String=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeFixed64String(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSfixed32=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeSfixed32(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSfixed64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeSfixed64(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedSfixed64String=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeSfixed64String(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedFloat=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeFloat(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedDouble=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeDouble(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedBool=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeBool(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedEnum=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeEnum(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedString=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeString(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedBytes=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeBytes(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedMessage=function(o,t,n){if(null!=t)for(var r=0;r<t.length;r++){var e=this.beginDelimited_(o);n(t[r],this),this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writeRepeatedGroup=function(o,t,n){if(null!=t)for(var r=0;r<t.length;r++)this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),n(t[r],this),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.END_GROUP)},jspb.BinaryWriter.prototype.writeRepeatedFixedHash64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeFixedHash64(o,t[n])},jspb.BinaryWriter.prototype.writeRepeatedVarintHash64=function(o,t){if(null!=t)for(var n=0;n<t.length;n++)this.writeVarintHash64(o,t[n])},jspb.BinaryWriter.prototype.writePackedInt32=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeSignedVarint32(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedInt32String=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeSignedVarint32(parseInt(t[n],10));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedInt64=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeSignedVarint64(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSplitFixed64=function(o,t,n,r){if(null!=t){o=this.beginDelimited_(o);for(var e=0;e<t.length;e++)this.encoder_.writeSplitFixed64(n(t[e]),r(t[e]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(o,t,n,r){if(null!=t){o=this.beginDelimited_(o);for(var e=0;e<t.length;e++)this.encoder_.writeSplitVarint64(n(t[e]),r(t[e]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(o,t,n,r){if(null!=t){o=this.beginDelimited_(o);for(var e=this.encoder_,g=0;g<t.length;g++)jspb.utils.toZigzag64(n(t[g]),r(t[g]),(function(o,t){e.writeSplitVarint64(o>>>0,t>>>0)}));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedInt64String=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++){var r=jspb.arith.Int64.fromString(t[n]);this.encoder_.writeSplitVarint64(r.lo,r.hi)}this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint32=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeUnsignedVarint32(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint32String=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeUnsignedVarint32(parseInt(t[n],10));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint64=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeUnsignedVarint64(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint64String=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++){var r=jspb.arith.UInt64.fromString(t[n]);this.encoder_.writeSplitVarint64(r.lo,r.hi)}this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSint32=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeZigzagVarint32(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSint64=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeZigzagVarint64(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSint64String=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(t[n]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSintHash64=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeZigzagVarintHash64(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedFixed32=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),o=0;o<t.length;o++)this.encoder_.writeUint32(t[o])},jspb.BinaryWriter.prototype.writePackedFixed64=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeUint64(t[o])},jspb.BinaryWriter.prototype.writePackedFixed64String=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++){var n=jspb.arith.UInt64.fromString(t[o]);this.encoder_.writeSplitFixed64(n.lo,n.hi)}},jspb.BinaryWriter.prototype.writePackedSfixed32=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),o=0;o<t.length;o++)this.encoder_.writeInt32(t[o])},jspb.BinaryWriter.prototype.writePackedSfixed64=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeInt64(t[o])},jspb.BinaryWriter.prototype.writePackedSfixed64String=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeInt64String(t[o])},jspb.BinaryWriter.prototype.writePackedFloat=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),o=0;o<t.length;o++)this.encoder_.writeFloat(t[o])},jspb.BinaryWriter.prototype.writePackedDouble=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeDouble(t[o])},jspb.BinaryWriter.prototype.writePackedBool=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(t.length),o=0;o<t.length;o++)this.encoder_.writeBool(t[o])},jspb.BinaryWriter.prototype.writePackedEnum=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeEnum(t[n]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedFixedHash64=function(o,t){if(null!=t&&t.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),o=0;o<t.length;o++)this.encoder_.writeFixedHash64(t[o])},jspb.BinaryWriter.prototype.writePackedVarintHash64=function(o,t){if(null!=t&&t.length){o=this.beginDelimited_(o);for(var n=0;n<t.length;n++)this.encoder_.writeVarintHash64(t[n]);this.endDelimited_(o)}},jspb.Map=function(o,t){this.arr_=o,this.valueCtor_=t,this.map_={},this.arrClean=!0,0<this.arr_.length&&this.loadFromArray_()},jspb.Map.prototype.loadFromArray_=function(){for(var o=0;o<this.arr_.length;o++){var t=this.arr_[o],n=t[0];this.map_[n.toString()]=new jspb.Map.Entry_(n,t[1])}this.arrClean=!0},jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var o,t=this.map_;for(o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var n=t[o].valueWrapper;n&&n.toArray()}}}else{for(this.arr_.length=0,(t=this.stringKeys_()).sort(),o=0;o<t.length;o++){var r=this.map_[t[o]];(n=r.valueWrapper)&&n.toArray(),this.arr_.push([r.key,r.value])}this.arrClean=!0}return this.arr_},jspb.Map.prototype.toObject=function(o,t){for(var n=this.toArray(),r=[],e=0;e<n.length;e++){var g=this.map_[n[e][0].toString()];this.wrapEntry_(g);var i=g.valueWrapper;i?(goog.asserts.assert(t),r.push([g.key,t(o,i)])):r.push([g.key,g.value])}return r},jspb.Map.fromObject=function(o,t,n){t=new jspb.Map([],t);for(var r=0;r<o.length;r++){var e=o[r][0],g=n(o[r][1]);t.set(e,g)}return t},jspb.Map.ArrayIteratorIterable_=function(o){this.idx_=0,this.arr_=o},jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}},"undefined"!=typeof Symbol&&(jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this}),jspb.Map.prototype.getLength=function(){return this.stringKeys_().length},jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1},jspb.Map.prototype.del=function(o){o=o.toString();var t=this.map_.hasOwnProperty(o);return delete this.map_[o],this.arrClean=!1,t},jspb.Map.prototype.getEntryList=function(){var o=[],t=this.stringKeys_();t.sort();for(var n=0;n<t.length;n++){var r=this.map_[t[n]];o.push([r.key,r.value])}return o},jspb.Map.prototype.entries=function(){var o=[],t=this.stringKeys_();t.sort();for(var n=0;n<t.length;n++){var r=this.map_[t[n]];o.push([r.key,this.wrapEntry_(r)])}return new jspb.Map.ArrayIteratorIterable_(o)},jspb.Map.prototype.keys=function(){var o=[],t=this.stringKeys_();t.sort();for(var n=0;n<t.length;n++)o.push(this.map_[t[n]].key);return new jspb.Map.ArrayIteratorIterable_(o)},jspb.Map.prototype.values=function(){var o=[],t=this.stringKeys_();t.sort();for(var n=0;n<t.length;n++)o.push(this.wrapEntry_(this.map_[t[n]]));return new jspb.Map.ArrayIteratorIterable_(o)},jspb.Map.prototype.forEach=function(o,t){var n=this.stringKeys_();n.sort();for(var r=0;r<n.length;r++){var e=this.map_[n[r]];o.call(t,this.wrapEntry_(e),e.key,this)}},jspb.Map.prototype.set=function(o,t){var n=new jspb.Map.Entry_(o);return this.valueCtor_?(n.valueWrapper=t,n.value=t.toArray()):n.value=t,this.map_[o.toString()]=n,this.arrClean=!1,this},jspb.Map.prototype.wrapEntry_=function(o){return this.valueCtor_?(o.valueWrapper||(o.valueWrapper=new this.valueCtor_(o.value)),o.valueWrapper):o.value},jspb.Map.prototype.get=function(o){if(o=this.map_[o.toString()])return this.wrapEntry_(o)},jspb.Map.prototype.has=function(o){return o.toString()in this.map_},jspb.Map.prototype.serializeBinary=function(o,t,n,r,e){var g=this.stringKeys_();g.sort();for(var i=0;i<g.length;i++){var u=this.map_[g[i]];t.beginSubMessage(o),n.call(t,1,u.key),this.valueCtor_?r.call(t,2,this.wrapEntry_(u),e):r.call(t,2,u.value),t.endSubMessage()}},jspb.Map.deserializeBinary=function(o,t,n,r,e,g,i){for(;t.nextField()&&!t.isEndGroup();){var u=t.getFieldNumber();1==u?g=n.call(t):2==u&&(o.valueCtor_?(goog.asserts.assert(e),i||(i=new o.valueCtor_),r.call(t,i,e)):i=r.call(t))}goog.asserts.assert(null!=g),goog.asserts.assert(null!=i),o.set(g,i)},jspb.Map.prototype.stringKeys_=function(){var o,t=this.map_,n=[];for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&n.push(o);return n},jspb.Map.Entry_=function(o,t){this.key=o,this.value=t,this.valueWrapper=void 0},jspb.ExtensionFieldInfo=function(o,t,n,r,e){this.fieldIndex=o,this.fieldName=t,this.ctor=n,this.toObjectFn=r,this.isRepeated=e},jspb.ExtensionFieldBinaryInfo=function(o,t,n,r,e,g){this.fieldInfo=o,this.binaryReaderFn=t,this.binaryWriterFn=n,this.binaryMessageSerializeFn=r,this.binaryMessageDeserializeFn=e,this.isPacked=g},jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return!!this.ctor},jspb.Message=function(){},jspb.Message.GENERATE_TO_OBJECT=!0,jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE,jspb.Message.GENERATE_TO_STRING=!0,jspb.Message.ASSUME_LOCAL_ARRAYS=!1,jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS=!0,jspb.Message.SUPPORTS_UINT8ARRAY_="function"==typeof Uint8Array,jspb.Message.prototype.getJsPbMessageId=function(){return this.messageId_},jspb.Message.getIndex_=function(o,t){return t+o.arrayIndexOffset_},jspb.Message.hiddenES6Property_=function(){},jspb.Message.getFieldNumber_=function(o,t){return t-o.arrayIndexOffset_},jspb.Message.initialize=function(o,t,n,r,e,g){if(o.wrappers_=null,t||(t=n?[n]:[]),o.messageId_=n?String(n):void 0,o.arrayIndexOffset_=0===n?-1:0,o.array=t,jspb.Message.initPivotAndExtensionObject_(o,r),o.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(o.repeatedFields=e),e)for(t=0;t<e.length;t++)(n=e[t])<o.pivot_?(n=jspb.Message.getIndex_(o,n),o.array[n]=o.array[n]||jspb.Message.EMPTY_LIST_SENTINEL_):(jspb.Message.maybeInitEmptyExtensionObject_(o),o.extensionObject_[n]=o.extensionObject_[n]||jspb.Message.EMPTY_LIST_SENTINEL_);if(g&&g.length)for(t=0;t<g.length;t++)jspb.Message.computeOneofCase(o,g[t])},jspb.Message.EMPTY_LIST_SENTINEL_=goog.DEBUG&&Object.freeze?Object.freeze([]):[],jspb.Message.isArray_=function(o){return jspb.Message.ASSUME_LOCAL_ARRAYS?o instanceof Array:Array.isArray(o)},jspb.Message.isExtensionObject_=function(o){return!(null===o||"object"!=typeof o||jspb.Message.isArray_(o)||jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)},jspb.Message.initPivotAndExtensionObject_=function(o,t){var n=o.array.length,r=-1;if(n&&jspb.Message.isExtensionObject_(n=o.array[r=n-1]))return o.pivot_=jspb.Message.getFieldNumber_(o,r),void(o.extensionObject_=n);-1<t?(o.pivot_=Math.max(t,jspb.Message.getFieldNumber_(o,r+1)),o.extensionObject_=null):o.pivot_=Number.MAX_VALUE},jspb.Message.maybeInitEmptyExtensionObject_=function(o){var t=jspb.Message.getIndex_(o,o.pivot_);o.array[t]||(o.extensionObject_=o.array[t]={})},jspb.Message.toObjectList=function(o,t,n){for(var r=[],e=0;e<o.length;e++)r[e]=t.call(o[e],n,o[e]);return r},jspb.Message.toObjectExtension=function(o,t,n,r,e){for(var g in n){var i=n[g],u=r.call(o,i);if(null!=u){for(var s in i.fieldName)if(i.fieldName.hasOwnProperty(s))break;t[s]=i.toObjectFn?i.isRepeated?jspb.Message.toObjectList(u,i.toObjectFn,e):i.toObjectFn(e,u):u}}},jspb.Message.serializeBinaryExtensions=function(o,t,n,r){for(var e in n){var g=n[e],i=g.fieldInfo;if(!g.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var u=r.call(o,i);if(null!=u)if(i.isMessageType()){if(!g.binaryMessageSerializeFn)throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");g.binaryWriterFn.call(t,i.fieldIndex,u,g.binaryMessageSerializeFn)}else g.binaryWriterFn.call(t,i.fieldIndex,u)}},jspb.Message.readBinaryExtension=function(o,t,n,r,e){var g=n[t.getFieldNumber()];if(g){if(n=g.fieldInfo,!g.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(n.isMessageType()){var i=new n.ctor;g.binaryReaderFn.call(t,i,g.binaryMessageDeserializeFn)}else i=g.binaryReaderFn.call(t);n.isRepeated&&!g.isPacked?(t=r.call(o,n))?t.push(i):e.call(o,n,[i]):e.call(o,n,i)}else t.skipField()},jspb.Message.getField=function(o,t){if(t<o.pivot_){t=jspb.Message.getIndex_(o,t);var n=o.array[t];return n===jspb.Message.EMPTY_LIST_SENTINEL_?o.array[t]=[]:n}if(o.extensionObject_)return(n=o.extensionObject_[t])===jspb.Message.EMPTY_LIST_SENTINEL_?o.extensionObject_[t]=[]:n},jspb.Message.getRepeatedField=function(o,t){return jspb.Message.getField(o,t)},jspb.Message.getOptionalFloatingPointField=function(o,t){return null==(o=jspb.Message.getField(o,t))?o:+o},jspb.Message.getBooleanField=function(o,t){return null==(o=jspb.Message.getField(o,t))?o:!!o},jspb.Message.getRepeatedFloatingPointField=function(o,t){var n=jspb.Message.getRepeatedField(o,t);if(o.convertedPrimitiveFields_||(o.convertedPrimitiveFields_={}),!o.convertedPrimitiveFields_[t]){for(var r=0;r<n.length;r++)n[r]=+n[r];o.convertedPrimitiveFields_[t]=!0}return n},jspb.Message.getRepeatedBooleanField=function(o,t){var n=jspb.Message.getRepeatedField(o,t);if(o.convertedPrimitiveFields_||(o.convertedPrimitiveFields_={}),!o.convertedPrimitiveFields_[t]){for(var r=0;r<n.length;r++)n[r]=!!n[r];o.convertedPrimitiveFields_[t]=!0}return n},jspb.Message.bytesAsB64=function(o){return null==o||"string"==typeof o?o:jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array?goog.crypt.base64.encodeByteArray(o):(goog.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(o)),null)},jspb.Message.bytesAsU8=function(o){return null==o||o instanceof Uint8Array?o:"string"==typeof o?goog.crypt.base64.decodeStringToUint8Array(o):(goog.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(o)),null)},jspb.Message.bytesListAsB64=function(o){return jspb.Message.assertConsistentTypes_(o),o.length&&"string"!=typeof o[0]?goog.array.map(o,jspb.Message.bytesAsB64):o},jspb.Message.bytesListAsU8=function(o){return jspb.Message.assertConsistentTypes_(o),!o.length||o[0]instanceof Uint8Array?o:goog.array.map(o,jspb.Message.bytesAsU8)},jspb.Message.assertConsistentTypes_=function(o){if(goog.DEBUG&&o&&1<o.length){var t=goog.typeOf(o[0]);goog.array.forEach(o,(function(o){goog.typeOf(o)!=t&&goog.asserts.fail("Inconsistent type in JSPB repeated field array. Got "+goog.typeOf(o)+" expected "+t)}))}},jspb.Message.getFieldWithDefault=function(o,t,n){return null==(o=jspb.Message.getField(o,t))?n:o},jspb.Message.getBooleanFieldWithDefault=function(o,t,n){return null==(o=jspb.Message.getBooleanField(o,t))?n:o},jspb.Message.getFloatingPointFieldWithDefault=function(o,t,n){return null==(o=jspb.Message.getOptionalFloatingPointField(o,t))?n:o},jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault,jspb.Message.getMapField=function(o,t,n,r){if(o.wrappers_||(o.wrappers_={}),t in o.wrappers_)return o.wrappers_[t];var e=jspb.Message.getField(o,t);if(!e){if(n)return;jspb.Message.setField(o,t,e=[])}return o.wrappers_[t]=new jspb.Map(e,r)},jspb.Message.setField=function(o,t,n){return goog.asserts.assertInstanceof(o,jspb.Message),t<o.pivot_?o.array[jspb.Message.getIndex_(o,t)]=n:(jspb.Message.maybeInitEmptyExtensionObject_(o),o.extensionObject_[t]=n),o},jspb.Message.setProto3IntField=function(o,t,n){return jspb.Message.setFieldIgnoringDefault_(o,t,n,0)},jspb.Message.setProto3FloatField=function(o,t,n){return jspb.Message.setFieldIgnoringDefault_(o,t,n,0)},jspb.Message.setProto3BooleanField=function(o,t,n){return jspb.Message.setFieldIgnoringDefault_(o,t,n,!1)},jspb.Message.setProto3StringField=function(o,t,n){return jspb.Message.setFieldIgnoringDefault_(o,t,n,"")},jspb.Message.setProto3BytesField=function(o,t,n){return jspb.Message.setFieldIgnoringDefault_(o,t,n,"")},jspb.Message.setProto3EnumField=function(o,t,n){return jspb.Message.setFieldIgnoringDefault_(o,t,n,0)},jspb.Message.setProto3StringIntField=function(o,t,n){return jspb.Message.setFieldIgnoringDefault_(o,t,n,"0")},jspb.Message.setFieldIgnoringDefault_=function(o,t,n,r){return goog.asserts.assertInstanceof(o,jspb.Message),n!==r?jspb.Message.setField(o,t,n):t<o.pivot_?o.array[jspb.Message.getIndex_(o,t)]=null:(jspb.Message.maybeInitEmptyExtensionObject_(o),delete o.extensionObject_[t]),o},jspb.Message.addToRepeatedField=function(o,t,n,r){return goog.asserts.assertInstanceof(o,jspb.Message),t=jspb.Message.getRepeatedField(o,t),null!=r?t.splice(r,0,n):t.push(n),o},jspb.Message.setOneofField=function(o,t,n,r){return goog.asserts.assertInstanceof(o,jspb.Message),(n=jspb.Message.computeOneofCase(o,n))&&n!==t&&void 0!==r&&(o.wrappers_&&n in o.wrappers_&&(o.wrappers_[n]=void 0),jspb.Message.setField(o,n,void 0)),jspb.Message.setField(o,t,r)},jspb.Message.computeOneofCase=function(o,t){for(var n,r,e=0;e<t.length;e++){var g=t[e],i=jspb.Message.getField(o,g);null!=i&&(n=g,r=i,jspb.Message.setField(o,g,void 0))}return n?(jspb.Message.setField(o,n,r),n):0},jspb.Message.getWrapperField=function(o,t,n,r){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[n]){var e=jspb.Message.getField(o,n);(r||e)&&(o.wrappers_[n]=new t(e))}return o.wrappers_[n]},jspb.Message.getRepeatedWrapperField=function(o,t,n){return jspb.Message.wrapRepeatedField_(o,t,n),(t=o.wrappers_[n])==jspb.Message.EMPTY_LIST_SENTINEL_&&(t=o.wrappers_[n]=[]),t},jspb.Message.wrapRepeatedField_=function(o,t,n){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[n]){for(var r=jspb.Message.getRepeatedField(o,n),e=[],g=0;g<r.length;g++)e[g]=new t(r[g]);o.wrappers_[n]=e}},jspb.Message.setWrapperField=function(o,t,n){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var r=n?n.toArray():n;return o.wrappers_[t]=n,jspb.Message.setField(o,t,r)},jspb.Message.setOneofWrapperField=function(o,t,n,r){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var e=r?r.toArray():r;return o.wrappers_[t]=r,jspb.Message.setOneofField(o,t,n,e)},jspb.Message.setRepeatedWrapperField=function(o,t,n){goog.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={}),n=n||[];for(var r=[],e=0;e<n.length;e++)r[e]=n[e].toArray();return o.wrappers_[t]=n,jspb.Message.setField(o,t,r)},jspb.Message.addToRepeatedWrapperField=function(o,t,n,r,e){jspb.Message.wrapRepeatedField_(o,r,t);var g=o.wrappers_[t];return g||(g=o.wrappers_[t]=[]),n=n||new r,o=jspb.Message.getRepeatedField(o,t),null!=e?(g.splice(e,0,n),o.splice(e,0,n.toArray())):(g.push(n),o.push(n.toArray())),n},jspb.Message.toMap=function(o,t,n,r){for(var e={},g=0;g<o.length;g++)e[t.call(o[g])]=n?n.call(o[g],r,o[g]):o[g];return e},jspb.Message.prototype.syncMapFields_=function(){if(this.wrappers_)for(var o in this.wrappers_){var t=this.wrappers_[o];if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]&&t[n].toArray();else t&&t.toArray()}},jspb.Message.prototype.toArray=function(){return this.syncMapFields_(),this.array},jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){return this.syncMapFields_(),this.array.toString()}),jspb.Message.prototype.getExtension=function(o){if(this.extensionObject_){this.wrappers_||(this.wrappers_={});var t=o.fieldIndex;if(o.isRepeated){if(o.isMessageType())return this.wrappers_[t]||(this.wrappers_[t]=goog.array.map(this.extensionObject_[t]||[],(function(t){return new o.ctor(t)}))),this.wrappers_[t]}else if(o.isMessageType())return!this.wrappers_[t]&&this.extensionObject_[t]&&(this.wrappers_[t]=new o.ctor(this.extensionObject_[t])),this.wrappers_[t];return this.extensionObject_[t]}},jspb.Message.prototype.setExtension=function(o,t){this.wrappers_||(this.wrappers_={}),jspb.Message.maybeInitEmptyExtensionObject_(this);var n=o.fieldIndex;return o.isRepeated?(t=t||[],o.isMessageType()?(this.wrappers_[n]=t,this.extensionObject_[n]=goog.array.map(t,(function(o){return o.toArray()}))):this.extensionObject_[n]=t):o.isMessageType()?(this.wrappers_[n]=t,this.extensionObject_[n]=t?t.toArray():t):this.extensionObject_[n]=t,this},jspb.Message.difference=function(o,t){if(!(o instanceof t.constructor))throw Error("Messages have different types.");var n=o.toArray();t=t.toArray();var r=[],e=0,g=n.length>t.length?n.length:t.length;for(o.getJsPbMessageId()&&(r[0]=o.getJsPbMessageId(),e=1);e<g;e++)jspb.Message.compareFields(n[e],t[e])||(r[e]=t[e]);return new o.constructor(r)},jspb.Message.equals=function(o,t){return o==t||!(!o||!t)&&o instanceof t.constructor&&jspb.Message.compareFields(o.toArray(),t.toArray())},jspb.Message.compareExtensions=function(o,t){o=o||{},t=t||{};var n,r={};for(n in o)r[n]=0;for(n in t)r[n]=0;for(n in r)if(!jspb.Message.compareFields(o[n],t[n]))return!1;return!0},jspb.Message.compareFields=function(o,t){if(o==t)return!0;if(!goog.isObject(o)||!goog.isObject(t))return!!("number"==typeof o&&isNaN(o)||"number"==typeof t&&isNaN(t))&&String(o)==String(t);if(o.constructor!=t.constructor)return!1;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o.constructor===Uint8Array){if(o.length!=t.length)return!1;for(var n=0;n<o.length;n++)if(o[n]!=t[n])return!1;return!0}if(o.constructor===Array){var r=void 0,e=void 0,g=Math.max(o.length,t.length);for(n=0;n<g;n++){var i=o[n],u=t[n];if(i&&i.constructor==Object&&(goog.asserts.assert(void 0===r),goog.asserts.assert(n===o.length-1),r=i,i=void 0),u&&u.constructor==Object&&(goog.asserts.assert(void 0===e),goog.asserts.assert(n===t.length-1),e=u,u=void 0),!jspb.Message.compareFields(i,u))return!1}return!r&&!e||jspb.Message.compareExtensions(r=r||{},e=e||{})}if(o.constructor===Object)return jspb.Message.compareExtensions(o,t);throw Error("Invalid type in JSPB array")},jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)},jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)},jspb.Message.clone=function(o){return jspb.Message.cloneMessage(o)},jspb.Message.cloneMessage=function(o){return new o.constructor(jspb.Message.clone_(o.toArray()))},jspb.Message.copyInto=function(o,t){goog.asserts.assertInstanceof(o,jspb.Message),goog.asserts.assertInstanceof(t,jspb.Message),goog.asserts.assert(o.constructor==t.constructor,"Copy source and target message should have the same type."),o=jspb.Message.clone(o);for(var n=t.toArray(),r=o.toArray(),e=n.length=0;e<r.length;e++)n[e]=r[e];t.wrappers_=o.wrappers_,t.extensionObject_=o.extensionObject_},jspb.Message.clone_=function(o){if(Array.isArray(o)){for(var t=Array(o.length),n=0;n<o.length;n++){var r=o[n];null!=r&&(t[n]="object"==typeof r?jspb.Message.clone_(goog.asserts.assert(r)):r)}return t}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)return new Uint8Array(o);for(n in t={},o)null!=(r=o[n])&&(t[n]="object"==typeof r?jspb.Message.clone_(goog.asserts.assert(r)):r);return t},jspb.Message.registerMessageType=function(o,t){t.messageId=o},jspb.Message.messageSetExtensions={},jspb.Message.messageSetExtensionsBinary={},jspb.Export={};var _Map=jspb.Map,Message=jspb.Message,BinaryReader=jspb.BinaryReader,BinaryWriter=jspb.BinaryWriter,ExtensionFieldInfo=jspb.ExtensionFieldInfo,ExtensionFieldBinaryInfo=jspb.ExtensionFieldBinaryInfo,exportSymbol=goog.exportSymbol,inherits=goog.inherits,object={extend:goog.object.extend},typeOf=goog.typeOf,googleProtobuf={Map:_Map,Message,BinaryReader,BinaryWriter,ExtensionFieldInfo,ExtensionFieldBinaryInfo,exportSymbol,inherits,object,typeOf},paging_pb=createCommonjsModule((function(o,t){var n=googleProtobuf,r=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.core.Cursor",null,r),n.exportSymbol("proto.vertexvis.protobuf.core.OffsetCursor",null,r),n.exportSymbol("proto.vertexvis.protobuf.core.OffsetPager",null,r),n.exportSymbol("proto.vertexvis.protobuf.core.Pager",null,r),proto.vertexvis.protobuf.core.Pager=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Pager,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Pager.displayName="proto.vertexvis.protobuf.core.Pager"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Pager.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Pager.toObject(o,this)},proto.vertexvis.protobuf.core.Pager.toObject=function(o,t){var n={limit:googleProtobuf.Message.getFieldWithDefault(t,1,0),cursor:googleProtobuf.Message.getFieldWithDefault(t,2,"")};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.Pager.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Pager;return proto.vertexvis.protobuf.core.Pager.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.core.Pager.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readUint32();o.setLimit(n);break;case 2:n=t.readString(),o.setCursor(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Pager.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.core.Pager.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Pager.serializeBinaryToWriter=function(o,t){var n=void 0;0!==(n=o.getLimit())&&t.writeUint32(1,n),(n=o.getCursor()).length>0&&t.writeString(2,n)},proto.vertexvis.protobuf.core.Pager.prototype.getLimit=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Pager.prototype.setLimit=function(o){googleProtobuf.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.core.Pager.prototype.getCursor=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,"")},proto.vertexvis.protobuf.core.Pager.prototype.setCursor=function(o){googleProtobuf.Message.setProto3StringField(this,2,o)},proto.vertexvis.protobuf.core.OffsetPager=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_)},n.inherits(proto.vertexvis.protobuf.core.OffsetPager,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.OffsetPager.displayName="proto.vertexvis.protobuf.core.OffsetPager"),proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_=[[2,3]],proto.vertexvis.protobuf.core.OffsetPager.PagerCase={PAGER_NOT_SET:0,CURSOR:2,OFFSET:3},proto.vertexvis.protobuf.core.OffsetPager.prototype.getPagerCase=function(){return googleProtobuf.Message.computeOneofCase(this,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0])},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.OffsetPager.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.OffsetPager.toObject(o,this)},proto.vertexvis.protobuf.core.OffsetPager.toObject=function(o,t){var n={limit:googleProtobuf.Message.getFieldWithDefault(t,1,0),cursor:googleProtobuf.Message.getFieldWithDefault(t,2,""),offset:googleProtobuf.Message.getFieldWithDefault(t,3,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.OffsetPager.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.core.OffsetPager;return proto.vertexvis.protobuf.core.OffsetPager.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.core.OffsetPager.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readUint32();o.setLimit(n);break;case 2:n=t.readString(),o.setCursor(n);break;case 3:n=t.readUint32(),o.setOffset(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.OffsetPager.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.core.OffsetPager.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.OffsetPager.serializeBinaryToWriter=function(o,t){var n=void 0;0!==(n=o.getLimit())&&t.writeUint32(1,n),null!=(n=googleProtobuf.Message.getField(o,2))&&t.writeString(2,n),null!=(n=googleProtobuf.Message.getField(o,3))&&t.writeUint32(3,n)},proto.vertexvis.protobuf.core.OffsetPager.prototype.getLimit=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.OffsetPager.prototype.setLimit=function(o){googleProtobuf.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.core.OffsetPager.prototype.getCursor=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,"")},proto.vertexvis.protobuf.core.OffsetPager.prototype.setCursor=function(o){googleProtobuf.Message.setOneofField(this,2,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],o)},proto.vertexvis.protobuf.core.OffsetPager.prototype.clearCursor=function(){googleProtobuf.Message.setOneofField(this,2,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],void 0)},proto.vertexvis.protobuf.core.OffsetPager.prototype.hasCursor=function(){return null!=googleProtobuf.Message.getField(this,2)},proto.vertexvis.protobuf.core.OffsetPager.prototype.getOffset=function(){return googleProtobuf.Message.getFieldWithDefault(this,3,0)},proto.vertexvis.protobuf.core.OffsetPager.prototype.setOffset=function(o){googleProtobuf.Message.setOneofField(this,3,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],o)},proto.vertexvis.protobuf.core.OffsetPager.prototype.clearOffset=function(){googleProtobuf.Message.setOneofField(this,3,proto.vertexvis.protobuf.core.OffsetPager.oneofGroups_[0],void 0)},proto.vertexvis.protobuf.core.OffsetPager.prototype.hasOffset=function(){return null!=googleProtobuf.Message.getField(this,3)},proto.vertexvis.protobuf.core.Cursor=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Cursor,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Cursor.displayName="proto.vertexvis.protobuf.core.Cursor"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Cursor.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Cursor.toObject(o,this)},proto.vertexvis.protobuf.core.Cursor.toObject=function(o,t){var n={next:googleProtobuf.Message.getFieldWithDefault(t,1,"")};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.Cursor.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Cursor;return proto.vertexvis.protobuf.core.Cursor.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.core.Cursor.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readString();o.setNext(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Cursor.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.core.Cursor.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Cursor.serializeBinaryToWriter=function(o,t){var n;(n=o.getNext()).length>0&&t.writeString(1,n)},proto.vertexvis.protobuf.core.Cursor.prototype.getNext=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,"")},proto.vertexvis.protobuf.core.Cursor.prototype.setNext=function(o){googleProtobuf.Message.setProto3StringField(this,1,o)},proto.vertexvis.protobuf.core.OffsetCursor=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.OffsetCursor,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.OffsetCursor.displayName="proto.vertexvis.protobuf.core.OffsetCursor"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.OffsetCursor.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.OffsetCursor.toObject(o,this)},proto.vertexvis.protobuf.core.OffsetCursor.toObject=function(o,t){var n={total:googleProtobuf.Message.getFieldWithDefault(t,1,0),next:googleProtobuf.Message.getFieldWithDefault(t,2,"")};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.OffsetCursor.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.core.OffsetCursor;return proto.vertexvis.protobuf.core.OffsetCursor.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.core.OffsetCursor.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readUint32();o.setTotal(n);break;case 2:n=t.readString(),o.setNext(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.OffsetCursor.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.core.OffsetCursor.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.OffsetCursor.serializeBinaryToWriter=function(o,t){var n=void 0;0!==(n=o.getTotal())&&t.writeUint32(1,n),(n=o.getNext()).length>0&&t.writeString(2,n)},proto.vertexvis.protobuf.core.OffsetCursor.prototype.getTotal=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.OffsetCursor.prototype.setTotal=function(o){googleProtobuf.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.core.OffsetCursor.prototype.getNext=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,"")},proto.vertexvis.protobuf.core.OffsetCursor.prototype.setNext=function(o){googleProtobuf.Message.setProto3StringField(this,2,o)},n.object.extend(t,proto.vertexvis.protobuf.core)})),uuid_pb=createCommonjsModule((function(o,t){var n=googleProtobuf,r=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.core.Uuid",null,r),proto.vertexvis.protobuf.core.Uuid=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Uuid,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Uuid.displayName="proto.vertexvis.protobuf.core.Uuid"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Uuid.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Uuid.toObject(o,this)},proto.vertexvis.protobuf.core.Uuid.toObject=function(o,t){var n={hex:googleProtobuf.Message.getFieldWithDefault(t,1,"")};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.Uuid.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Uuid;return proto.vertexvis.protobuf.core.Uuid.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.core.Uuid.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readString();o.setHex(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Uuid.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.core.Uuid.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Uuid.serializeBinaryToWriter=function(o,t){var n;(n=o.getHex()).length>0&&t.writeString(1,n)},proto.vertexvis.protobuf.core.Uuid.prototype.getHex=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,"")},proto.vertexvis.protobuf.core.Uuid.prototype.setHex=function(o){googleProtobuf.Message.setProto3StringField(this,1,o)},n.object.extend(t,proto.vertexvis.protobuf.core)})),wrappers_pb=createCommonjsModule((function(o,t){var n=googleProtobuf,r=Function("return this")();n.exportSymbol("proto.google.protobuf.BoolValue",null,r),n.exportSymbol("proto.google.protobuf.BytesValue",null,r),n.exportSymbol("proto.google.protobuf.DoubleValue",null,r),n.exportSymbol("proto.google.protobuf.FloatValue",null,r),n.exportSymbol("proto.google.protobuf.Int32Value",null,r),n.exportSymbol("proto.google.protobuf.Int64Value",null,r),n.exportSymbol("proto.google.protobuf.StringValue",null,r),n.exportSymbol("proto.google.protobuf.UInt32Value",null,r),n.exportSymbol("proto.google.protobuf.UInt64Value",null,r),proto.google.protobuf.DoubleValue=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.DoubleValue,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.DoubleValue.displayName="proto.google.protobuf.DoubleValue"),proto.google.protobuf.FloatValue=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.FloatValue,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.FloatValue.displayName="proto.google.protobuf.FloatValue"),proto.google.protobuf.Int64Value=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.Int64Value,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.Int64Value.displayName="proto.google.protobuf.Int64Value"),proto.google.protobuf.UInt64Value=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.UInt64Value,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.UInt64Value.displayName="proto.google.protobuf.UInt64Value"),proto.google.protobuf.Int32Value=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.Int32Value,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.Int32Value.displayName="proto.google.protobuf.Int32Value"),proto.google.protobuf.UInt32Value=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.UInt32Value,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.UInt32Value.displayName="proto.google.protobuf.UInt32Value"),proto.google.protobuf.BoolValue=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.BoolValue,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.BoolValue.displayName="proto.google.protobuf.BoolValue"),proto.google.protobuf.StringValue=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.StringValue,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.StringValue.displayName="proto.google.protobuf.StringValue"),proto.google.protobuf.BytesValue=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.BytesValue,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.BytesValue.displayName="proto.google.protobuf.BytesValue"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DoubleValue.prototype.toObject=function(o){return proto.google.protobuf.DoubleValue.toObject(o,this)},proto.google.protobuf.DoubleValue.toObject=function(o,t){var n={value:googleProtobuf.Message.getFloatingPointFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.DoubleValue.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.DoubleValue;return proto.google.protobuf.DoubleValue.deserializeBinaryFromReader(n,t)},proto.google.protobuf.DoubleValue.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readDouble();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.DoubleValue.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.DoubleValue.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.DoubleValue.serializeBinaryToWriter=function(o,t){var n;0!==(n=o.getValue())&&t.writeDouble(1,n)},proto.google.protobuf.DoubleValue.prototype.getValue=function(){return googleProtobuf.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.google.protobuf.DoubleValue.prototype.setValue=function(o){return googleProtobuf.Message.setProto3FloatField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FloatValue.prototype.toObject=function(o){return proto.google.protobuf.FloatValue.toObject(o,this)},proto.google.protobuf.FloatValue.toObject=function(o,t){var n={value:googleProtobuf.Message.getFloatingPointFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.FloatValue.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.FloatValue;return proto.google.protobuf.FloatValue.deserializeBinaryFromReader(n,t)},proto.google.protobuf.FloatValue.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readFloat();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.FloatValue.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.FloatValue.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.FloatValue.serializeBinaryToWriter=function(o,t){var n;0!==(n=o.getValue())&&t.writeFloat(1,n)},proto.google.protobuf.FloatValue.prototype.getValue=function(){return googleProtobuf.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.google.protobuf.FloatValue.prototype.setValue=function(o){return googleProtobuf.Message.setProto3FloatField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Int64Value.prototype.toObject=function(o){return proto.google.protobuf.Int64Value.toObject(o,this)},proto.google.protobuf.Int64Value.toObject=function(o,t){var n={value:googleProtobuf.Message.getFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.Int64Value.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.Int64Value;return proto.google.protobuf.Int64Value.deserializeBinaryFromReader(n,t)},proto.google.protobuf.Int64Value.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readInt64();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.Int64Value.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.Int64Value.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.Int64Value.serializeBinaryToWriter=function(o,t){var n;0!==(n=o.getValue())&&t.writeInt64(1,n)},proto.google.protobuf.Int64Value.prototype.getValue=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Int64Value.prototype.setValue=function(o){return googleProtobuf.Message.setProto3IntField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UInt64Value.prototype.toObject=function(o){return proto.google.protobuf.UInt64Value.toObject(o,this)},proto.google.protobuf.UInt64Value.toObject=function(o,t){var n={value:googleProtobuf.Message.getFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.UInt64Value.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.UInt64Value;return proto.google.protobuf.UInt64Value.deserializeBinaryFromReader(n,t)},proto.google.protobuf.UInt64Value.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readUint64();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.UInt64Value.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.UInt64Value.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.UInt64Value.serializeBinaryToWriter=function(o,t){var n;0!==(n=o.getValue())&&t.writeUint64(1,n)},proto.google.protobuf.UInt64Value.prototype.getValue=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.UInt64Value.prototype.setValue=function(o){return googleProtobuf.Message.setProto3IntField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Int32Value.prototype.toObject=function(o){return proto.google.protobuf.Int32Value.toObject(o,this)},proto.google.protobuf.Int32Value.toObject=function(o,t){var n={value:googleProtobuf.Message.getFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.Int32Value.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.Int32Value;return proto.google.protobuf.Int32Value.deserializeBinaryFromReader(n,t)},proto.google.protobuf.Int32Value.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readInt32();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.Int32Value.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.Int32Value.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.Int32Value.serializeBinaryToWriter=function(o,t){var n;0!==(n=o.getValue())&&t.writeInt32(1,n)},proto.google.protobuf.Int32Value.prototype.getValue=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Int32Value.prototype.setValue=function(o){return googleProtobuf.Message.setProto3IntField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UInt32Value.prototype.toObject=function(o){return proto.google.protobuf.UInt32Value.toObject(o,this)},proto.google.protobuf.UInt32Value.toObject=function(o,t){var n={value:googleProtobuf.Message.getFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.UInt32Value.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.UInt32Value;return proto.google.protobuf.UInt32Value.deserializeBinaryFromReader(n,t)},proto.google.protobuf.UInt32Value.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readUint32();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.UInt32Value.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.UInt32Value.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.UInt32Value.serializeBinaryToWriter=function(o,t){var n;0!==(n=o.getValue())&&t.writeUint32(1,n)},proto.google.protobuf.UInt32Value.prototype.getValue=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.UInt32Value.prototype.setValue=function(o){return googleProtobuf.Message.setProto3IntField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.BoolValue.prototype.toObject=function(o){return proto.google.protobuf.BoolValue.toObject(o,this)},proto.google.protobuf.BoolValue.toObject=function(o,t){var n={value:googleProtobuf.Message.getBooleanFieldWithDefault(t,1,!1)};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.BoolValue.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.BoolValue;return proto.google.protobuf.BoolValue.deserializeBinaryFromReader(n,t)},proto.google.protobuf.BoolValue.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readBool();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.BoolValue.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.BoolValue.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.BoolValue.serializeBinaryToWriter=function(o,t){var n;(n=o.getValue())&&t.writeBool(1,n)},proto.google.protobuf.BoolValue.prototype.getValue=function(){return googleProtobuf.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.BoolValue.prototype.setValue=function(o){return googleProtobuf.Message.setProto3BooleanField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.StringValue.prototype.toObject=function(o){return proto.google.protobuf.StringValue.toObject(o,this)},proto.google.protobuf.StringValue.toObject=function(o,t){var n={value:googleProtobuf.Message.getFieldWithDefault(t,1,"")};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.StringValue.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.StringValue;return proto.google.protobuf.StringValue.deserializeBinaryFromReader(n,t)},proto.google.protobuf.StringValue.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readString();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.StringValue.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.StringValue.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.StringValue.serializeBinaryToWriter=function(o,t){var n;(n=o.getValue()).length>0&&t.writeString(1,n)},proto.google.protobuf.StringValue.prototype.getValue=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.StringValue.prototype.setValue=function(o){return googleProtobuf.Message.setProto3StringField(this,1,o)},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.BytesValue.prototype.toObject=function(o){return proto.google.protobuf.BytesValue.toObject(o,this)},proto.google.protobuf.BytesValue.toObject=function(o,t){var n={value:t.getValue_asB64()};return o&&(n.$jspbMessageInstance=t),n}),proto.google.protobuf.BytesValue.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.google.protobuf.BytesValue;return proto.google.protobuf.BytesValue.deserializeBinaryFromReader(n,t)},proto.google.protobuf.BytesValue.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readBytes();o.setValue(n);break;default:t.skipField()}return o},proto.google.protobuf.BytesValue.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.google.protobuf.BytesValue.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.BytesValue.serializeBinaryToWriter=function(o,t){var n;(n=o.getValue_asU8()).length>0&&t.writeBytes(1,n)},proto.google.protobuf.BytesValue.prototype.getValue=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.BytesValue.prototype.getValue_asB64=function(){return googleProtobuf.Message.bytesAsB64(this.getValue())},proto.google.protobuf.BytesValue.prototype.getValue_asU8=function(){return googleProtobuf.Message.bytesAsU8(this.getValue())},proto.google.protobuf.BytesValue.prototype.setValue=function(o){return googleProtobuf.Message.setProto3BytesField(this,1,o)},n.object.extend(t,proto.google.protobuf)})),domain_pb=createCommonjsModule((function(o,t){var n=googleProtobuf,r=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.Node",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.Range",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType",null,r),proto.vertexvis.protobuf.scenetree.v1alpha1.Node=function(o){googleProtobuf.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.scenetree.v1alpha1.Node.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.Node,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.Node.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.Node"),proto.vertexvis.protobuf.scenetree.v1alpha1.Node.repeatedFields_=[10],googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.Node.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.toObject=function(o,t){var n,r={id:(n=t.getId())&&uuid_pb.Uuid.toObject(o,n),depth:googleProtobuf.Message.getFieldWithDefault(t,2,0),name:googleProtobuf.Message.getFieldWithDefault(t,3,""),visible:googleProtobuf.Message.getFieldWithDefault(t,4,!1),selected:googleProtobuf.Message.getFieldWithDefault(t,5,!1),expanded:googleProtobuf.Message.getFieldWithDefault(t,6,!1),isLeaf:googleProtobuf.Message.getFieldWithDefault(t,7,!1),suppliedId:(n=t.getSuppliedId())&&wrappers_pb.StringValue.toObject(o,n),partiallyVisible:googleProtobuf.Message.getFieldWithDefault(t,9,!1),columnsList:googleProtobuf.Message.getRepeatedField(t,10)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.Node.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.Node;return proto.vertexvis.protobuf.scenetree.v1alpha1.Node.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new uuid_pb.Uuid;t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setId(n);break;case 2:n=t.readUint32(),o.setDepth(n);break;case 3:n=t.readString(),o.setName(n);break;case 4:n=t.readBool(),o.setVisible(n);break;case 5:n=t.readBool(),o.setSelected(n);break;case 6:n=t.readBool(),o.setExpanded(n);break;case 7:n=t.readBool(),o.setIsLeaf(n);break;case 8:n=new wrappers_pb.StringValue,t.readMessage(n,wrappers_pb.StringValue.deserializeBinaryFromReader),o.setSuppliedId(n);break;case 9:n=t.readBool(),o.setPartiallyVisible(n);break;case 10:n=t.readString(),o.addColumns(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.Node.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.serializeBinaryToWriter=function(o,t){var n=void 0;null!=(n=o.getId())&&t.writeMessage(1,n,uuid_pb.Uuid.serializeBinaryToWriter),0!==(n=o.getDepth())&&t.writeUint32(2,n),(n=o.getName()).length>0&&t.writeString(3,n),(n=o.getVisible())&&t.writeBool(4,n),(n=o.getSelected())&&t.writeBool(5,n),(n=o.getExpanded())&&t.writeBool(6,n),(n=o.getIsLeaf())&&t.writeBool(7,n),null!=(n=o.getSuppliedId())&&t.writeMessage(8,n,wrappers_pb.StringValue.serializeBinaryToWriter),(n=o.getPartiallyVisible())&&t.writeBool(9,n),(n=o.getColumnsList()).length>0&&t.writeRepeatedString(10,n)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setId=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.clearId=function(){this.setId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.hasId=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getDepth=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setDepth=function(o){googleProtobuf.Message.setProto3IntField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getName=function(){return googleProtobuf.Message.getFieldWithDefault(this,3,"")},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setName=function(o){googleProtobuf.Message.setProto3StringField(this,3,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getVisible=function(){return googleProtobuf.Message.getFieldWithDefault(this,4,!1)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setVisible=function(o){googleProtobuf.Message.setProto3BooleanField(this,4,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getSelected=function(){return googleProtobuf.Message.getFieldWithDefault(this,5,!1)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setSelected=function(o){googleProtobuf.Message.setProto3BooleanField(this,5,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getExpanded=function(){return googleProtobuf.Message.getFieldWithDefault(this,6,!1)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setExpanded=function(o){googleProtobuf.Message.setProto3BooleanField(this,6,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getIsLeaf=function(){return googleProtobuf.Message.getFieldWithDefault(this,7,!1)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setIsLeaf=function(o){googleProtobuf.Message.setProto3BooleanField(this,7,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getSuppliedId=function(){return googleProtobuf.Message.getWrapperField(this,wrappers_pb.StringValue,8)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setSuppliedId=function(o){googleProtobuf.Message.setWrapperField(this,8,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.clearSuppliedId=function(){this.setSuppliedId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.hasSuppliedId=function(){return null!=googleProtobuf.Message.getField(this,8)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getPartiallyVisible=function(){return googleProtobuf.Message.getFieldWithDefault(this,9,!1)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setPartiallyVisible=function(o){googleProtobuf.Message.setProto3BooleanField(this,9,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.getColumnsList=function(){return googleProtobuf.Message.getRepeatedField(this,10)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.setColumnsList=function(o){googleProtobuf.Message.setField(this,10,o||[])},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.addColumns=function(o,t){googleProtobuf.Message.addToRepeatedField(this,10,o,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.Node.prototype.clearColumnsList=function(){this.setColumnsList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.toObject=function(o,t){var n={start:googleProtobuf.Message.getFieldWithDefault(t,1,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange;return proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readInt32();o.setStart(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.serializeBinaryToWriter=function(o,t){var n;0!==(n=o.getStart())&&t.writeInt32(1,n)},proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.prototype.getStart=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.prototype.setStart=function(o){googleProtobuf.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Range=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.Range,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.Range.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.Range"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.Range.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.Range.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.toObject=function(o,t){var n={start:googleProtobuf.Message.getFieldWithDefault(t,1,0),end:googleProtobuf.Message.getFieldWithDefault(t,2,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.Range;return proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readInt32();o.setStart(n);break;case 2:n=t.readInt32(),o.setEnd(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.Range.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.serializeBinaryToWriter=function(o,t){var n=void 0;0!==(n=o.getStart())&&t.writeInt32(1,n),0!==(n=o.getEnd())&&t.writeInt32(2,n)},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.prototype.getStart=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.prototype.setStart=function(o){googleProtobuf.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.prototype.getEnd=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.scenetree.v1alpha1.Range.prototype.setEnd=function(o){googleProtobuf.Message.setProto3IntField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange=function(o){googleProtobuf.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange"),proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.repeatedFields_=[1,2,3,4,5],googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.toObject=function(o,t){var n={hiddenList:googleProtobuf.Message.toObjectList(t.getHiddenList(),proto.vertexvis.protobuf.scenetree.v1alpha1.Range.toObject,o),shownList:googleProtobuf.Message.toObjectList(t.getShownList(),proto.vertexvis.protobuf.scenetree.v1alpha1.Range.toObject,o),selectedList:googleProtobuf.Message.toObjectList(t.getSelectedList(),proto.vertexvis.protobuf.scenetree.v1alpha1.Range.toObject,o),deselectedList:googleProtobuf.Message.toObjectList(t.getDeselectedList(),proto.vertexvis.protobuf.scenetree.v1alpha1.Range.toObject,o),partiallyVisibleList:googleProtobuf.Message.toObjectList(t.getPartiallyVisibleList(),proto.vertexvis.protobuf.scenetree.v1alpha1.Range.toObject,o)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange;return proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new proto.vertexvis.protobuf.scenetree.v1alpha1.Range;t.readMessage(n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinaryFromReader),o.addHidden(n);break;case 2:n=new proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t.readMessage(n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinaryFromReader),o.addShown(n);break;case 3:n=new proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t.readMessage(n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinaryFromReader),o.addSelected(n);break;case 4:n=new proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t.readMessage(n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinaryFromReader),o.addDeselected(n);break;case 5:n=new proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t.readMessage(n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.deserializeBinaryFromReader),o.addPartiallyVisible(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.serializeBinaryToWriter=function(o,t){var n=void 0;(n=o.getHiddenList()).length>0&&t.writeRepeatedMessage(1,n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.serializeBinaryToWriter),(n=o.getShownList()).length>0&&t.writeRepeatedMessage(2,n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.serializeBinaryToWriter),(n=o.getSelectedList()).length>0&&t.writeRepeatedMessage(3,n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.serializeBinaryToWriter),(n=o.getDeselectedList()).length>0&&t.writeRepeatedMessage(4,n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.serializeBinaryToWriter),(n=o.getPartiallyVisibleList()).length>0&&t.writeRepeatedMessage(5,n,proto.vertexvis.protobuf.scenetree.v1alpha1.Range.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.getHiddenList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.setHiddenList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.addHidden=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.clearHiddenList=function(){this.setHiddenList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.getShownList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.setShownList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.addShown=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,2,o,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.clearShownList=function(){this.setShownList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.getSelectedList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,3)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.setSelectedList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,3,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.addSelected=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,3,o,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.clearSelectedList=function(){this.setSelectedList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.getDeselectedList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,4)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.setDeselectedList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,4,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.addDeselected=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,4,o,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.clearDeselectedList=function(){this.setDeselectedList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.getPartiallyVisibleList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,5)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.setPartiallyVisibleList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,5,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.addPartiallyVisible=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,5,o,proto.vertexvis.protobuf.scenetree.v1alpha1.Range,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.prototype.clearPartiallyVisibleList=function(){this.setPartiallyVisibleList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.oneofGroups_)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType"),proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.oneofGroups_=[[1,2]],proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.SealedValueCase={SEALED_VALUE_NOT_SET:0,LIST_CHANGE:1,RANGES:2},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.getSealedValueCase=function(){return googleProtobuf.Message.computeOneofCase(this,proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.oneofGroups_[0])},googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.toObject=function(o,t){var n,r={listChange:(n=t.getListChange())&&proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.toObject(o,n),ranges:(n=t.getRanges())&&proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType;return proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange;t.readMessage(n,proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.deserializeBinaryFromReader),o.setListChange(n);break;case 2:n=new proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange,t.readMessage(n,proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.deserializeBinaryFromReader),o.setRanges(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.serializeBinaryToWriter=function(o,t){var n=void 0;null!=(n=o.getListChange())&&t.writeMessage(1,n,proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange.serializeBinaryToWriter),null!=(n=o.getRanges())&&t.writeMessage(2,n,proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.getListChange=function(){return googleProtobuf.Message.getWrapperField(this,proto.vertexvis.protobuf.scenetree.v1alpha1.ListChange,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.setListChange=function(o){googleProtobuf.Message.setOneofWrapperField(this,1,proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.oneofGroups_[0],o)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.clearListChange=function(){this.setListChange(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.hasListChange=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.getRanges=function(){return googleProtobuf.Message.getWrapperField(this,proto.vertexvis.protobuf.scenetree.v1alpha1.StateChange,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.setRanges=function(o){googleProtobuf.Message.setOneofWrapperField(this,2,proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.oneofGroups_[0],o)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.clearRanges=function(){this.setRanges(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.TreeChangeType.prototype.hasRanges=function(){return null!=googleProtobuf.Message.getField(this,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.toObject=function(o,t){var n={value:googleProtobuf.Message.getFieldWithDefault(t,1,"")};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey;return proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readString();o.setValue(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.serializeBinaryToWriter=function(o,t){var n;(n=o.getValue()).length>0&&t.writeString(1,n)},proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.prototype.getValue=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,"")},proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey.prototype.setValue=function(o){googleProtobuf.Message.setProto3StringField(this,1,o)},n.object.extend(t,proto.vertexvis.protobuf.scenetree.v1alpha1)})),scene_tree_api_pb=createCommonjsModule((function(o,t){var n=googleProtobuf,r=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest",null,r),n.exportSymbol("proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse",null,r),proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest"),proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.repeatedFields_=[3],googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.toObject=function(o,t){var n,r={viewId:(n=t.getViewId())&&uuid_pb.Uuid.toObject(o,n),pager:(n=t.getPager())&&paging_pb.OffsetPager.toObject(o,n),additionalColumnKeysList:googleProtobuf.Message.getRepeatedField(t,3)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new uuid_pb.Uuid;t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setViewId(n);break;case 2:n=new paging_pb.OffsetPager,t.readMessage(n,paging_pb.OffsetPager.deserializeBinaryFromReader),o.setPager(n);break;case 3:n=t.readString(),o.addAdditionalColumnKeys(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.serializeBinaryToWriter=function(o,t){var n=void 0;null!=(n=o.getViewId())&&t.writeMessage(1,n,uuid_pb.Uuid.serializeBinaryToWriter),null!=(n=o.getPager())&&t.writeMessage(2,n,paging_pb.OffsetPager.serializeBinaryToWriter),(n=o.getAdditionalColumnKeysList()).length>0&&t.writeRepeatedString(3,n)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.getViewId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.setViewId=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.clearViewId=function(){this.setViewId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.hasViewId=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.getPager=function(){return googleProtobuf.Message.getWrapperField(this,paging_pb.OffsetPager,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.setPager=function(o){googleProtobuf.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.clearPager=function(){this.setPager(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.hasPager=function(){return null!=googleProtobuf.Message.getField(this,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.getAdditionalColumnKeysList=function(){return googleProtobuf.Message.getRepeatedField(this,3)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.setAdditionalColumnKeysList=function(o){googleProtobuf.Message.setField(this,3,o||[])},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.addAdditionalColumnKeys=function(o,t){googleProtobuf.Message.addToRepeatedField(this,3,o,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeRequest.prototype.clearAdditionalColumnKeysList=function(){this.setAdditionalColumnKeysList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse"),proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.repeatedFields_=[1],googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.toObject=function(o,t){var n,r={itemsList:googleProtobuf.Message.toObjectList(t.getItemsList(),domain_pb.Node.toObject,o),totalVisible:googleProtobuf.Message.getFieldWithDefault(t,2,0),cursor:(n=t.getCursor())&&paging_pb.OffsetCursor.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new domain_pb.Node;t.readMessage(n,domain_pb.Node.deserializeBinaryFromReader),o.addItems(n);break;case 2:n=t.readUint32(),o.setTotalVisible(n);break;case 3:n=new paging_pb.OffsetCursor,t.readMessage(n,paging_pb.OffsetCursor.deserializeBinaryFromReader),o.setCursor(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.serializeBinaryToWriter=function(o,t){var n=void 0;(n=o.getItemsList()).length>0&&t.writeRepeatedMessage(1,n,domain_pb.Node.serializeBinaryToWriter),0!==(n=o.getTotalVisible())&&t.writeUint32(2,n),null!=(n=o.getCursor())&&t.writeMessage(3,n,paging_pb.OffsetCursor.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.getItemsList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,domain_pb.Node,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.setItemsList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.addItems=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.scenetree.v1alpha1.Node,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.clearItemsList=function(){this.setItemsList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.getTotalVisible=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.setTotalVisible=function(o){googleProtobuf.Message.setProto3IntField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.getCursor=function(){return googleProtobuf.Message.getWrapperField(this,paging_pb.OffsetCursor,3)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.setCursor=function(o){googleProtobuf.Message.setWrapperField(this,3,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.clearCursor=function(){this.setCursor(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetTreeResponse.prototype.hasCursor=function(){return null!=googleProtobuf.Message.getField(this,3)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.toObject=function(o,t){var n,r={viewId:(n=t.getViewId())&&uuid_pb.Uuid.toObject(o,n),nodeId:(n=t.getNodeId())&&uuid_pb.Uuid.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new uuid_pb.Uuid;t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setViewId(n);break;case 2:n=new uuid_pb.Uuid,t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setNodeId(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.serializeBinaryToWriter=function(o,t){var n=void 0;null!=(n=o.getViewId())&&t.writeMessage(1,n,uuid_pb.Uuid.serializeBinaryToWriter),null!=(n=o.getNodeId())&&t.writeMessage(2,n,uuid_pb.Uuid.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.getViewId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.setViewId=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.clearViewId=function(){this.setViewId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.hasViewId=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.getNodeId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.setNodeId=function(o){googleProtobuf.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.clearNodeId=function(){this.setNodeId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeRequest.prototype.hasNodeId=function(){return null!=googleProtobuf.Message.getField(this,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandNodeResponse.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.toObject=function(o,t){var n,r={viewId:(n=t.getViewId())&&uuid_pb.Uuid.toObject(o,n),nodeId:(n=t.getNodeId())&&uuid_pb.Uuid.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new uuid_pb.Uuid;t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setViewId(n);break;case 2:n=new uuid_pb.Uuid,t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setNodeId(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.serializeBinaryToWriter=function(o,t){var n=void 0;null!=(n=o.getViewId())&&t.writeMessage(1,n,uuid_pb.Uuid.serializeBinaryToWriter),null!=(n=o.getNodeId())&&t.writeMessage(2,n,uuid_pb.Uuid.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.getViewId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.setViewId=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.clearViewId=function(){this.setViewId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.hasViewId=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.getNodeId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.setNodeId=function(o){googleProtobuf.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.clearNodeId=function(){this.setNodeId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeRequest.prototype.hasNodeId=function(){return null!=googleProtobuf.Message.getField(this,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseNodeResponse.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.toObject=function(o,t){var n,r={viewId:(n=t.getViewId())&&uuid_pb.Uuid.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new uuid_pb.Uuid;t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setViewId(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.serializeBinaryToWriter=function(o,t){var n;null!=(n=o.getViewId())&&t.writeMessage(1,n,uuid_pb.Uuid.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.prototype.getViewId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.prototype.setViewId=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.prototype.clearViewId=function(){this.setViewId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeRequest.prototype.hasViewId=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.toObject=function(o,t){var n,r={change:(n=t.getChange())&&domain_pb.TreeChangeType.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new domain_pb.TreeChangeType;t.readMessage(n,domain_pb.TreeChangeType.deserializeBinaryFromReader),o.setChange(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.serializeBinaryToWriter=function(o,t){var n;null!=(n=o.getChange())&&t.writeMessage(1,n,domain_pb.TreeChangeType.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.prototype.getChange=function(){return googleProtobuf.Message.getWrapperField(this,domain_pb.TreeChangeType,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.prototype.setChange=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.prototype.clearChange=function(){this.setChange(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.SubscribeResponse.prototype.hasChange=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.toObject=function(o,t){var n={filter:googleProtobuf.Message.getFieldWithDefault(t,1,""),fullTree:googleProtobuf.Message.getFieldWithDefault(t,2,!1)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=t.readString();o.setFilter(n);break;case 2:n=t.readBool(),o.setFullTree(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.serializeBinaryToWriter=function(o,t){var n=void 0;(n=o.getFilter()).length>0&&t.writeString(1,n),(n=o.getFullTree())&&t.writeBool(2,n)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.prototype.getFilter=function(){return googleProtobuf.Message.getFieldWithDefault(this,1,"")},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.prototype.setFilter=function(o){googleProtobuf.Message.setProto3StringField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.prototype.getFullTree=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,!1)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterRequest.prototype.setFullTree=function(o){googleProtobuf.Message.setProto3BooleanField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.FilterResponse.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.toObject=function(o,t){var n,r={nodeId:(n=t.getNodeId())&&uuid_pb.Uuid.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 2:var n=new uuid_pb.Uuid;t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setNodeId(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.serializeBinaryToWriter=function(o,t){var n;null!=(n=o.getNodeId())&&t.writeMessage(2,n,uuid_pb.Uuid.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.prototype.getNodeId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.prototype.setNodeId=function(o){googleProtobuf.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.prototype.clearNodeId=function(){this.setNodeId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemRequest.prototype.hasNodeId=function(){return null!=googleProtobuf.Message.getField(this,2)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.toObject=function(o,t){var n,r={locatedIndex:(n=t.getLocatedIndex())&&wrappers_pb.UInt64Value.toObject(o,n),requiresReload:googleProtobuf.Message.getFieldWithDefault(t,2,!1)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new wrappers_pb.UInt64Value;t.readMessage(n,wrappers_pb.UInt64Value.deserializeBinaryFromReader),o.setLocatedIndex(n);break;case 2:n=t.readBool(),o.setRequiresReload(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.serializeBinaryToWriter=function(o,t){var n=void 0;null!=(n=o.getLocatedIndex())&&t.writeMessage(1,n,wrappers_pb.UInt64Value.serializeBinaryToWriter),(n=o.getRequiresReload())&&t.writeBool(2,n)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.getLocatedIndex=function(){return googleProtobuf.Message.getWrapperField(this,wrappers_pb.UInt64Value,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.setLocatedIndex=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.clearLocatedIndex=function(){this.setLocatedIndex(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.hasLocatedIndex=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.getRequiresReload=function(){return googleProtobuf.Message.getFieldWithDefault(this,2,!1)},proto.vertexvis.protobuf.scenetree.v1alpha1.LocateItemResponse.prototype.setRequiresReload=function(o){googleProtobuf.Message.setProto3BooleanField(this,2,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllRequest.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.ExpandAllResponse.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllRequest.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.CollapseAllResponse.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.toObject=function(o,t){var n,r={nodeId:(n=t.getNodeId())&&uuid_pb.Uuid.toObject(o,n)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new uuid_pb.Uuid;t.readMessage(n,uuid_pb.Uuid.deserializeBinaryFromReader),o.setNodeId(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.serializeBinaryToWriter=function(o,t){var n;null!=(n=o.getNodeId())&&t.writeMessage(1,n,uuid_pb.Uuid.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.prototype.getNodeId=function(){return googleProtobuf.Message.getWrapperField(this,uuid_pb.Uuid,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.prototype.setNodeId=function(o){googleProtobuf.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.prototype.clearNodeId=function(){this.setNodeId(void 0)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsRequest.prototype.hasNodeId=function(){return null!=googleProtobuf.Message.getField(this,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse"),proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.repeatedFields_=[1],googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.toObject=function(o,t){var n={itemsList:googleProtobuf.Message.toObjectList(t.getItemsList(),domain_pb.Node.toObject,o)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new domain_pb.Node;t.readMessage(n,domain_pb.Node.deserializeBinaryFromReader),o.addItems(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.serializeBinaryToWriter=function(o,t){var n;(n=o.getItemsList()).length>0&&t.writeRepeatedMessage(1,n,domain_pb.Node.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.prototype.getItemsList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,domain_pb.Node,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.prototype.setItemsList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.prototype.addItems=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.scenetree.v1alpha1.Node,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetNodeAncestorsResponse.prototype.clearItemsList=function(){this.setItemsList([])},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest=function(o){googleProtobuf.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest"),googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.toObject=function(o,t){var n={};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsRequest.serializeBinaryToWriter=function(){},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse=function(o){googleProtobuf.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse,googleProtobuf.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.displayName="proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse"),proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.repeatedFields_=[1],googleProtobuf.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.toObject(o,this)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.toObject=function(o,t){var n={keysList:googleProtobuf.Message.toObjectList(t.getKeysList(),domain_pb.ColumnKey.toObject,o)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.deserializeBinary=function(o){var t=new googleProtobuf.BinaryReader(o),n=new proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.deserializeBinaryFromReader(n,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new domain_pb.ColumnKey;t.readMessage(n,domain_pb.ColumnKey.deserializeBinaryFromReader),o.addKeys(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.prototype.serializeBinary=function(){var o=new googleProtobuf.BinaryWriter;return proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.serializeBinaryToWriter=function(o,t){var n;(n=o.getKeysList()).length>0&&t.writeRepeatedMessage(1,n,domain_pb.ColumnKey.serializeBinaryToWriter)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.prototype.getKeysList=function(){return googleProtobuf.Message.getRepeatedWrapperField(this,domain_pb.ColumnKey,1)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.prototype.setKeysList=function(o){googleProtobuf.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.prototype.addKeys=function(o,t){return googleProtobuf.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.scenetree.v1alpha1.ColumnKey,t)},proto.vertexvis.protobuf.scenetree.v1alpha1.GetAvailableColumnsResponse.prototype.clearKeysList=function(){this.setKeysList([])},n.object.extend(t,proto.vertexvis.protobuf.scenetree.v1alpha1)})),grpcWebClient_umd=createCommonjsModule((function(o){o.exports=function(){return o={418:function(o,t){!function(o,t){for(var n in t)o[n]=t[n]}(t,function(o){var t={};function n(r){if(t[r])return t[r].exports;var e=t[r]={i:r,l:!1,exports:{}};return o[r].call(e.exports,e,e.exports,n),e.l=!0,e.exports}return n.m=o,n.c=t,n.i=function(o){return o},n.d=function(o,t,r){n.o(o,t)||Object.defineProperty(o,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return n.d(t,"a",t),t},n.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},n.p="",n(n.s=1)}([function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),e=function(){function o(o,t){void 0===o&&(o={}),void 0===t&&(t={splitValues:!1});var n,e=this;this.headersMap={},o&&("undefined"!=typeof Headers&&o instanceof Headers?r.getHeaderKeys(o).forEach((function(n){r.getHeaderValues(o,n).forEach((function(o){e.append(n,t.splitValues?r.splitHeaderValue(o):o)}))})):"object"==typeof(n=o)&&"object"==typeof n.headersMap&&"function"==typeof n.forEach?o.forEach((function(o,t){e.append(o,t)})):"undefined"!=typeof Map&&o instanceof Map?o.forEach((function(o,t){e.append(t,o)})):"string"==typeof o?this.appendFromString(o):"object"==typeof o&&Object.getOwnPropertyNames(o).forEach((function(t){var n=o[t];Array.isArray(n)?n.forEach((function(o){e.append(t,o)})):e.append(t,n)})))}return o.prototype.appendFromString=function(o){for(var t=o.split("\r\n"),n=0;n<t.length;n++){var r=t[n],e=r.indexOf(":");if(e>0){var g=r.substring(0,e).trim(),i=r.substring(e+1).trim();this.append(g,i)}}},o.prototype.delete=function(o,t){var n=r.normalizeName(o);if(void 0===t)delete this.headersMap[n];else{var e=this.headersMap[n];if(e){var g=e.indexOf(t);g>=0&&e.splice(g,1),0===e.length&&delete this.headersMap[n]}}},o.prototype.append=function(o,t){var n=this,e=r.normalizeName(o);Array.isArray(this.headersMap[e])||(this.headersMap[e]=[]),Array.isArray(t)?t.forEach((function(o){n.headersMap[e].push(r.normalizeValue(o))})):this.headersMap[e].push(r.normalizeValue(t))},o.prototype.set=function(o,t){var n=r.normalizeName(o);if(Array.isArray(t)){var e=[];t.forEach((function(o){e.push(r.normalizeValue(o))})),this.headersMap[n]=e}else this.headersMap[n]=[r.normalizeValue(t)]},o.prototype.has=function(o,t){var n=this.headersMap[r.normalizeName(o)];if(!Array.isArray(n))return!1;if(void 0!==t){var e=r.normalizeValue(t);return n.indexOf(e)>=0}return!0},o.prototype.get=function(o){var t=this.headersMap[r.normalizeName(o)];return void 0!==t?t.concat():[]},o.prototype.forEach=function(o){var t=this;Object.getOwnPropertyNames(this.headersMap).forEach((function(n){o(n,t.headersMap[n])}),this)},o.prototype.toHeaders=function(){if("undefined"!=typeof Headers){var o=new Headers;return this.forEach((function(t,n){n.forEach((function(n){o.append(t,n)}))})),o}throw new Error("Headers class is not defined")},o}();t.BrowserHeaders=e},function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.BrowserHeaders=r.BrowserHeaders},function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.iterateHeaders=function(o,t){for(var n=o[Symbol.iterator](),r=n.next();!r.done;)t(r.value[0]),r=n.next()},t.iterateHeadersKeys=function(o,t){for(var n=o.keys(),r=n.next();!r.done;)t(r.value),r=n.next()}},function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);t.normalizeName=function(o){if("string"!=typeof o&&(o=String(o)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(o))throw new TypeError("Invalid character in header field name");return o.toLowerCase()},t.normalizeValue=function(o){return"string"!=typeof o&&(o=String(o)),o},t.getHeaderValues=function(o,t){var n=o;if(n instanceof Headers&&n.getAll)return n.getAll(t);var r=n.get(t);return r&&"string"==typeof r?[r]:r},t.getHeaderKeys=function(o){var t=o,n={},e=[];return t.keys?r.iterateHeadersKeys(t,(function(o){n[o]||(n[o]=!0,e.push(o))})):t.forEach?t.forEach((function(o,t){n[t]||(n[t]=!0,e.push(t))})):r.iterateHeaders(t,(function(o){var t=o[0];n[t]||(n[t]=!0,e.push(t))})),e},t.splitHeaderValue=function(o){var t=[];return o.split(", ").forEach((function(o){o.split(",").forEach((function(o){t.push(o)}))})),t}}]))},617:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ChunkParser=t.ChunkType=t.encodeASCII=t.decodeASCII=void 0;var r,e=n(65);function g(o){return 9===(t=o)||10===t||13===t||o>=32&&o<=126;var t}function i(o){for(var t=0;t!==o.length;++t)if(!g(o[t]))throw new Error("Metadata is not valid (printable) ASCII");return String.fromCharCode.apply(String,Array.prototype.slice.call(o))}function u(o){return 128==(128&o.getUint8(0))}function s(o){return o.getUint32(1,!1)}function f(o,t,n){return o.byteLength-t>=n}function c(o,t,n){if(o.slice)return o.slice(t,n);var r=o.length;void 0!==n&&(r=n);for(var e=new Uint8Array(r-t),g=0,i=t;i<r;i++)e[g++]=o[i];return e}t.decodeASCII=i,t.encodeASCII=function(o){for(var t=new Uint8Array(o.length),n=0;n!==o.length;++n){var r=o.charCodeAt(n);if(!g(r))throw new Error("Metadata contains invalid ASCII");t[n]=r}return t},function(o){o[o.MESSAGE=1]="MESSAGE",o[o.TRAILERS=2]="TRAILERS"}(r=t.ChunkType||(t.ChunkType={}));var a=function(){function o(){this.buffer=null,this.position=0}return o.prototype.parse=function(o,t){if(0===o.length&&t)return[];var n,g=[];if(null==this.buffer)this.buffer=o,this.position=0;else if(this.position===this.buffer.byteLength)this.buffer=o,this.position=0;else{var a=this.buffer.byteLength-this.position,p=new Uint8Array(a+o.byteLength),l=c(this.buffer,this.position);p.set(l,0);var h=new Uint8Array(o);p.set(h,a),this.buffer=p,this.position=0}for(;;){if(!f(this.buffer,this.position,5))return g;var b=c(this.buffer,this.position,this.position+5),v=new DataView(b.buffer,b.byteOffset,b.byteLength),d=s(v);if(!f(this.buffer,this.position,5+d))return g;var j=c(this.buffer,this.position+5,this.position+5+d);if(this.position+=5+d,u(v))return g.push({chunkType:r.TRAILERS,trailers:(n=j,new e.Metadata(i(n)))}),g;g.push({chunkType:r.MESSAGE,data:j})}},o}();t.ChunkParser=a},8:function(o,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.httpStatusToCode=t.Code=void 0,function(o){o[o.OK=0]="OK",o[o.Canceled=1]="Canceled",o[o.Unknown=2]="Unknown",o[o.InvalidArgument=3]="InvalidArgument",o[o.DeadlineExceeded=4]="DeadlineExceeded",o[o.NotFound=5]="NotFound",o[o.AlreadyExists=6]="AlreadyExists",o[o.PermissionDenied=7]="PermissionDenied",o[o.ResourceExhausted=8]="ResourceExhausted",o[o.FailedPrecondition=9]="FailedPrecondition",o[o.Aborted=10]="Aborted",o[o.OutOfRange=11]="OutOfRange",o[o.Unimplemented=12]="Unimplemented",o[o.Internal=13]="Internal",o[o.Unavailable=14]="Unavailable",o[o.DataLoss=15]="DataLoss",o[o.Unauthenticated=16]="Unauthenticated"}(n=t.Code||(t.Code={})),t.httpStatusToCode=function(o){switch(o){case 0:return n.Internal;case 200:return n.OK;case 400:return n.InvalidArgument;case 401:return n.Unauthenticated;case 403:return n.PermissionDenied;case 404:return n.NotFound;case 409:return n.Aborted;case 412:return n.FailedPrecondition;case 429:return n.ResourceExhausted;case 499:return n.Canceled;case 500:return n.Unknown;case 501:return n.Unimplemented;case 503:return n.Unavailable;case 504:return n.DeadlineExceeded;default:return n.Unknown}}},934:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.client=void 0;var r=n(65),e=n(617),g=n(8),i=n(346),u=n(57),s=n(882);t.client=function(o,t){return new f(o,t)};var f=function(){function o(o,t){this.started=!1,this.sentFirstMessage=!1,this.completed=!1,this.closed=!1,this.finishedSending=!1,this.onHeadersCallbacks=[],this.onMessageCallbacks=[],this.onEndCallbacks=[],this.parser=new e.ChunkParser,this.methodDefinition=o,this.props=t,this.createTransport()}return o.prototype.createTransport=function(){var o={methodDefinition:this.methodDefinition,debug:this.props.debug||!1,url:this.props.host+"/"+this.methodDefinition.service.serviceName+"/"+this.methodDefinition.methodName,onHeaders:this.onTransportHeaders.bind(this),onChunk:this.onTransportChunk.bind(this),onEnd:this.onTransportEnd.bind(this)};this.transport=this.props.transport?this.props.transport(o):u.makeDefaultTransport(o)},o.prototype.onTransportHeaders=function(o,t){if(this.props.debug&&i.debug("onHeaders",o,t),this.closed)this.props.debug&&i.debug("grpc.onHeaders received after request was closed - ignoring");else if(0===t);else{this.responseHeaders=o,this.props.debug&&i.debug("onHeaders.responseHeaders",JSON.stringify(this.responseHeaders,null,2));var n=c(o);this.props.debug&&i.debug("onHeaders.gRPCStatus",n);var r=n&&n>=0?n:g.httpStatusToCode(t);this.props.debug&&i.debug("onHeaders.code",r);var e=o.get("grpc-message")||[];if(this.props.debug&&i.debug("onHeaders.gRPCMessage",e),this.rawOnHeaders(o),r!==g.Code.OK){var u=this.decodeGRPCStatus(e[0]);this.rawOnError(r,u,o)}}},o.prototype.onTransportChunk=function(o){var t=this;if(this.closed)this.props.debug&&i.debug("grpc.onChunk received after request was closed - ignoring");else{var n=[];try{n=this.parser.parse(o)}catch(o){return this.props.debug&&i.debug("onChunk.parsing error",o,o.message),void this.rawOnError(g.Code.Internal,"parsing error: "+o.message)}n.forEach((function(o){if(o.chunkType===e.ChunkType.MESSAGE){var n=t.methodDefinition.responseType.deserializeBinary(o.data);t.rawOnMessage(n)}else o.chunkType===e.ChunkType.TRAILERS&&(t.responseHeaders?(t.responseTrailers=new r.Metadata(o.trailers),t.props.debug&&i.debug("onChunk.trailers",t.responseTrailers)):(t.responseHeaders=new r.Metadata(o.trailers),t.rawOnHeaders(t.responseHeaders)))}))}},o.prototype.onTransportEnd=function(){if(this.props.debug&&i.debug("grpc.onEnd"),this.closed)this.props.debug&&i.debug("grpc.onEnd received after request was closed - ignoring");else if(void 0!==this.responseTrailers){var o=c(this.responseTrailers);if(null!==o){var t=this.responseTrailers.get("grpc-message"),n=this.decodeGRPCStatus(t[0]);this.rawOnEnd(o,n,this.responseTrailers)}else this.rawOnError(g.Code.Internal,"Response closed without grpc-status (Trailers provided)")}else{if(void 0===this.responseHeaders)return void this.rawOnError(g.Code.Unknown,"Response closed without headers");var r=c(this.responseHeaders),e=this.responseHeaders.get("grpc-message");if(this.props.debug&&i.debug("grpc.headers only response ",r,e),null===r)return void this.rawOnEnd(g.Code.Unknown,"Response closed without grpc-status (Headers only)",this.responseHeaders);var u=this.decodeGRPCStatus(e[0]);this.rawOnEnd(r,u,this.responseHeaders)}},o.prototype.decodeGRPCStatus=function(o){if(!o)return"";try{return decodeURIComponent(o)}catch(t){return o}},o.prototype.rawOnEnd=function(o,t,n){var r=this;this.props.debug&&i.debug("rawOnEnd",o,t,n),this.completed||(this.completed=!0,this.onEndCallbacks.forEach((function(e){if(!r.closed)try{e(o,t,n)}catch(o){setTimeout((function(){throw o}),0)}})))},o.prototype.rawOnHeaders=function(o){this.props.debug&&i.debug("rawOnHeaders",o),this.completed||this.onHeadersCallbacks.forEach((function(t){try{t(o)}catch(o){setTimeout((function(){throw o}),0)}}))},o.prototype.rawOnError=function(o,t,n){var e=this;void 0===n&&(n=new r.Metadata),this.props.debug&&i.debug("rawOnError",o,t),this.completed||(this.completed=!0,this.onEndCallbacks.forEach((function(r){if(!e.closed)try{r(o,t,n)}catch(o){setTimeout((function(){throw o}),0)}})))},o.prototype.rawOnMessage=function(o){var t=this;this.props.debug&&i.debug("rawOnMessage",o.toObject()),this.completed||this.closed||this.onMessageCallbacks.forEach((function(n){if(!t.closed)try{n(o)}catch(o){setTimeout((function(){throw o}),0)}}))},o.prototype.onHeaders=function(o){this.onHeadersCallbacks.push(o)},o.prototype.onMessage=function(o){this.onMessageCallbacks.push(o)},o.prototype.onEnd=function(o){this.onEndCallbacks.push(o)},o.prototype.start=function(o){if(this.started)throw new Error("Client already started - cannot .start()");this.started=!0;var t=new r.Metadata(o||{});t.set("content-type","application/grpc-web+proto"),t.set("x-grpc-web","1"),this.transport.start(t)},o.prototype.send=function(o){if(!this.started)throw new Error("Client not started - .start() must be called before .send()");if(this.closed)throw new Error("Client already closed - cannot .send()");if(this.finishedSending)throw new Error("Client already finished sending - cannot .send()");if(!this.methodDefinition.requestStream&&this.sentFirstMessage)throw new Error("Message already sent for non-client-streaming method - cannot .send()");this.sentFirstMessage=!0;var t=s.frameRequest(o);this.transport.sendMessage(t)},o.prototype.finishSend=function(){if(!this.started)throw new Error("Client not started - .finishSend() must be called before .close()");if(this.closed)throw new Error("Client already closed - cannot .send()");if(this.finishedSending)throw new Error("Client already finished sending - cannot .finishSend()");this.finishedSending=!0,this.transport.finishSend()},o.prototype.close=function(){if(!this.started)throw new Error("Client not started - .start() must be called before .close()");if(this.closed)throw new Error("Client already closed - cannot .close()");this.closed=!0,this.props.debug&&i.debug("request.abort aborting request"),this.transport.cancel()},o}();function c(o){var t=o.get("grpc-status")||[];if(t.length>0)try{return parseInt(t[0],10)}catch(o){return null}return null}},346:function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.debug=void 0,t.debug=function(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];console.debug?console.debug.apply(null,o):console.log.apply(null,o)}},607:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.grpc=void 0;var r,e=n(418),g=n(57),i=n(229),u=n(540),s=n(210),f=n(859),c=n(8),a=n(938),p=n(35),l=n(934);(r=t.grpc||(t.grpc={})).setDefaultTransport=g.setDefaultTransportFactory,r.CrossBrowserHttpTransport=f.CrossBrowserHttpTransport,r.FetchReadableStreamTransport=i.FetchReadableStreamTransport,r.XhrTransport=s.XhrTransport,r.WebsocketTransport=u.WebsocketTransport,r.Code=c.Code,r.Metadata=e.BrowserHeaders,r.client=function(o,t){return l.client(o,t)},r.invoke=a.invoke,r.unary=p.unary},938:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.invoke=void 0;var r=n(934);t.invoke=function(o,t){if(o.requestStream)throw new Error(".invoke cannot be used with client-streaming methods. Use .client instead.");var n=r.client(o,{host:t.host,transport:t.transport,debug:t.debug});return t.onHeaders&&n.onHeaders(t.onHeaders),t.onMessage&&n.onMessage(t.onMessage),t.onEnd&&n.onEnd(t.onEnd),n.start(t.metadata),n.send(t.request),n.finishSend(),{close:function(){n.close()}}}},65:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var r=n(418);Object.defineProperty(t,"Metadata",{enumerable:!0,get:function(){return r.BrowserHeaders}})},57:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.makeDefaultTransport=t.setDefaultTransportFactory=void 0;var r=n(859),e=function(o){return r.CrossBrowserHttpTransport({withCredentials:!1})(o)};t.setDefaultTransportFactory=function(o){e=o},t.makeDefaultTransport=function(o){return e(o)}},229:function(o,t,n){var r=this&&this.__assign||function(){return(r=Object.assign||function(o){for(var t,n=1,r=arguments.length;n<r;n++)for(var e in t=arguments[n])Object.prototype.hasOwnProperty.call(t,e)&&(o[e]=t[e]);return o}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.detectFetchSupport=t.FetchReadableStreamTransport=void 0;var e=n(65),g=n(346);t.FetchReadableStreamTransport=function(o){return function(t){return function(o,t){return o.debug&&g.debug("fetchRequest",o),new i(o,t)}(t,o)}};var i=function(){function o(o,t){this.cancelled=!1,this.controller=self.AbortController&&new AbortController,this.options=o,this.init=t}return o.prototype.pump=function(o,t){var n=this;if(this.reader=o,this.cancelled)return this.options.debug&&g.debug("Fetch.pump.cancel at first pump"),void this.reader.cancel().catch((function(o){n.options.debug&&g.debug("Fetch.pump.reader.cancel exception",o)}));this.reader.read().then((function(o){if(o.done)return n.options.onEnd(),t;n.options.onChunk(o.value),n.pump(n.reader,t)})).catch((function(o){n.cancelled?n.options.debug&&g.debug("Fetch.catch - request cancelled"):(n.cancelled=!0,n.options.debug&&g.debug("Fetch.catch",o.message),n.options.onEnd(o))}))},o.prototype.send=function(o){var t=this;fetch(this.options.url,r(r({},this.init),{headers:this.metadata.toHeaders(),method:"POST",body:o,signal:this.controller&&this.controller.signal})).then((function(o){if(t.options.debug&&g.debug("Fetch.response",o),t.options.onHeaders(new e.Metadata(o.headers),o.status),!o.body)return o;t.pump(o.body.getReader(),o)})).catch((function(o){t.cancelled?t.options.debug&&g.debug("Fetch.catch - request cancelled"):(t.cancelled=!0,t.options.debug&&g.debug("Fetch.catch",o.message),t.options.onEnd(o))}))},o.prototype.sendMessage=function(o){this.send(o)},o.prototype.finishSend=function(){},o.prototype.start=function(o){this.metadata=o},o.prototype.cancel=function(){var o=this;this.cancelled?this.options.debug&&g.debug("Fetch.cancel already cancelled"):(this.cancelled=!0,this.controller?(this.options.debug&&g.debug("Fetch.cancel.controller.abort"),this.controller.abort()):this.options.debug&&g.debug("Fetch.cancel.missing abort controller"),this.reader?(this.options.debug&&g.debug("Fetch.cancel.reader.cancel"),this.reader.cancel().catch((function(t){o.options.debug&&g.debug("Fetch.cancel.reader.cancel exception",t)}))):this.options.debug&&g.debug("Fetch.cancel before reader"))},o}();t.detectFetchSupport=function(){return"undefined"!=typeof Response&&Response.prototype.hasOwnProperty("body")&&"function"==typeof Headers}},859:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.CrossBrowserHttpTransport=void 0;var r=n(229),e=n(210);t.CrossBrowserHttpTransport=function(o){return r.detectFetchSupport()?r.FetchReadableStreamTransport({credentials:o.withCredentials?"include":"same-origin"}):e.XhrTransport({withCredentials:o.withCredentials})}},210:function(o,t,n){var r,e=this&&this.__extends||(r=function(o,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,t){o.__proto__=t}||function(o,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=t[n])})(o,t)},function(o,t){function n(){this.constructor=o}r(o,t),o.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.stringToArrayBuffer=t.MozChunkedArrayBufferXHR=t.XHR=t.XhrTransport=void 0;var g=n(65),i=n(346),u=n(849);t.XhrTransport=function(o){return function(t){if(u.detectMozXHRSupport())return new f(t,o);if(u.detectXHROverrideMimeTypeSupport())return new s(t,o);throw new Error("This environment's XHR implementation cannot support binary transfer.")}};var s=function(){function o(o,t){this.options=o,this.init=t}return o.prototype.onProgressEvent=function(){this.options.debug&&i.debug("XHR.onProgressEvent.length: ",this.xhr.response.length);var o=this.xhr.response.substr(this.index);this.index=this.xhr.response.length;var t=a(o);this.options.onChunk(t)},o.prototype.onLoadEvent=function(){this.options.debug&&i.debug("XHR.onLoadEvent"),this.options.onEnd()},o.prototype.onStateChange=function(){this.options.debug&&i.debug("XHR.onStateChange",this.xhr.readyState),this.xhr.readyState===XMLHttpRequest.HEADERS_RECEIVED&&this.options.onHeaders(new g.Metadata(this.xhr.getAllResponseHeaders()),this.xhr.status)},o.prototype.sendMessage=function(o){this.xhr.send(o)},o.prototype.finishSend=function(){},o.prototype.start=function(o){var t=this;this.metadata=o;var n=new XMLHttpRequest;this.xhr=n,n.open("POST",this.options.url),this.configureXhr(),this.metadata.forEach((function(o,t){n.setRequestHeader(o,t.join(", "))})),n.withCredentials=Boolean(this.init.withCredentials),n.addEventListener("readystatechange",this.onStateChange.bind(this)),n.addEventListener("progress",this.onProgressEvent.bind(this)),n.addEventListener("loadend",this.onLoadEvent.bind(this)),n.addEventListener("error",(function(o){t.options.debug&&i.debug("XHR.error",o),t.options.onEnd(o.error)}))},o.prototype.configureXhr=function(){this.xhr.responseType="text",this.xhr.overrideMimeType("text/plain; charset=x-user-defined")},o.prototype.cancel=function(){this.options.debug&&i.debug("XHR.abort"),this.xhr.abort()},o}();t.XHR=s;var f=function(o){function t(){return null!==o&&o.apply(this,arguments)||this}return e(t,o),t.prototype.configureXhr=function(){this.options.debug&&i.debug("MozXHR.configureXhr: setting responseType to 'moz-chunked-arraybuffer'"),this.xhr.responseType="moz-chunked-arraybuffer"},t.prototype.onProgressEvent=function(){var o=this.xhr.response;this.options.debug&&i.debug("MozXHR.onProgressEvent: ",new Uint8Array(o)),this.options.onChunk(new Uint8Array(o))},t}(s);function c(o,t){var n=o.charCodeAt(t);if(n>=55296&&n<=56319){var r=o.charCodeAt(t+1);r>=56320&&r<=57343&&(n=65536+(n-55296<<10)+(r-56320))}return n}function a(o){for(var t=new Uint8Array(o.length),n=0,r=0;r<o.length;r++){var e=String.prototype.codePointAt?o.codePointAt(r):c(o,r);t[n++]=255&e}return t}t.MozChunkedArrayBufferXHR=f,t.stringToArrayBuffer=a},849:function(o,t){var n;function r(o){var t=function(){if(void 0!==n)return n;if(XMLHttpRequest){n=new XMLHttpRequest;try{n.open("GET","https://localhost")}catch(o){}}return n}();if(!t)return!1;try{return t.responseType=o,t.responseType===o}catch(o){}return!1}Object.defineProperty(t,"__esModule",{value:!0}),t.detectXHROverrideMimeTypeSupport=t.detectMozXHRSupport=t.xhrSupportsResponseType=void 0,t.xhrSupportsResponseType=r,t.detectMozXHRSupport=function(){return"undefined"!=typeof XMLHttpRequest&&r("moz-chunked-arraybuffer")},t.detectXHROverrideMimeTypeSupport=function(){return"undefined"!=typeof XMLHttpRequest&&XMLHttpRequest.prototype.hasOwnProperty("overrideMimeType")}},540:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.WebsocketTransport=void 0;var r,e=n(346),g=n(617);!function(o){o[o.FINISH_SEND=1]="FINISH_SEND"}(r||(r={}));var i=new Uint8Array([1]);t.WebsocketTransport=function(){return function(o){return function(o){o.debug&&e.debug("websocketRequest",o);var t,n=function(o){if("https://"===o.substr(0,8))return"wss://"+o.substr(8);if("http://"===o.substr(0,7))return"ws://"+o.substr(7);throw new Error("Websocket transport constructed with non-https:// or http:// host.")}(o.url),u=[];function s(o){if(o===r.FINISH_SEND)t.send(i);else{var n=o,e=new Int8Array(n.byteLength+1);e.set(new Uint8Array([0])),e.set(n,1),t.send(e)}}return{sendMessage:function(o){t&&t.readyState!==t.CONNECTING?s(o):u.push(o)},finishSend:function(){t&&t.readyState!==t.CONNECTING?s(r.FINISH_SEND):u.push(r.FINISH_SEND)},start:function(r){(t=new WebSocket(n,["grpc-websockets"])).binaryType="arraybuffer",t.onopen=function(){var n;o.debug&&e.debug("websocketRequest.onopen"),t.send((n="",r.forEach((function(o,t){n+=o+": "+t.join(", ")+"\r\n"})),g.encodeASCII(n))),u.forEach((function(o){s(o)}))},t.onclose=function(t){o.debug&&e.debug("websocketRequest.onclose",t),o.onEnd()},t.onerror=function(t){o.debug&&e.debug("websocketRequest.onerror",t)},t.onmessage=function(t){o.onChunk(new Uint8Array(t.data))}},cancel:function(){o.debug&&e.debug("websocket.abort"),t.close()}}}(o)}}},35:function(o,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.unary=void 0;var r=n(65),e=n(934);t.unary=function(o,t){if(o.responseStream)throw new Error(".unary cannot be used with server-streaming methods. Use .invoke or .client instead.");if(o.requestStream)throw new Error(".unary cannot be used with client-streaming methods. Use .client instead.");var n=null,g=null,i=e.client(o,{host:t.host,transport:t.transport,debug:t.debug});return i.onHeaders((function(o){n=o})),i.onMessage((function(o){g=o})),i.onEnd((function(o,e,i){t.onEnd({status:o,statusMessage:e,headers:n||new r.Metadata,message:g,trailers:i})})),i.start(t.metadata),i.send(t.request),i.finishSend(),{close:function(){i.close()}}}},882:function(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.frameRequest=void 0,t.frameRequest=function(o){var t=o.serializeBinary(),n=new ArrayBuffer(t.byteLength+5);return new DataView(n,1,4).setUint32(0,t.length,!1),new Uint8Array(n,5).set(t),new Uint8Array(n)}}},t={},function n(r){if(t[r])return t[r].exports;var e=t[r]={exports:{}};return o[r].call(e.exports,e,e.exports,n),e.exports}(607);var o,t}()})),grpc=grpcWebClient_umd.grpc,SceneTreeAPI=function(){function o(){}return o.serviceName="vertexvis.protobuf.scenetree.v1alpha1.SceneTreeAPI",o}();function SceneTreeAPIClient(o,t){this.serviceHost=o,this.options=t||{}}SceneTreeAPI.GetTree={methodName:"GetTree",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.GetTreeRequest,responseType:scene_tree_api_pb.GetTreeResponse},SceneTreeAPI.ExpandNode={methodName:"ExpandNode",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.ExpandNodeRequest,responseType:scene_tree_api_pb.ExpandNodeResponse},SceneTreeAPI.CollapseNode={methodName:"CollapseNode",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.CollapseNodeRequest,responseType:scene_tree_api_pb.CollapseNodeResponse},SceneTreeAPI.Subscribe={methodName:"Subscribe",service:SceneTreeAPI,requestStream:!1,responseStream:!0,requestType:scene_tree_api_pb.SubscribeRequest,responseType:scene_tree_api_pb.SubscribeResponse},SceneTreeAPI.Filter={methodName:"Filter",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.FilterRequest,responseType:scene_tree_api_pb.FilterResponse},SceneTreeAPI.LocateItem={methodName:"LocateItem",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.LocateItemRequest,responseType:scene_tree_api_pb.LocateItemResponse},SceneTreeAPI.ExpandAll={methodName:"ExpandAll",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.ExpandAllRequest,responseType:scene_tree_api_pb.ExpandAllResponse},SceneTreeAPI.CollapseAll={methodName:"CollapseAll",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.CollapseAllRequest,responseType:scene_tree_api_pb.CollapseAllResponse},SceneTreeAPI.GetNodeAncestors={methodName:"GetNodeAncestors",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.GetNodeAncestorsRequest,responseType:scene_tree_api_pb.GetNodeAncestorsResponse},SceneTreeAPI.GetAvailableColumns={methodName:"GetAvailableColumns",service:SceneTreeAPI,requestStream:!1,responseStream:!1,requestType:scene_tree_api_pb.GetAvailableColumnsRequest,responseType:scene_tree_api_pb.GetAvailableColumnsResponse},SceneTreeAPIClient.prototype.getTree=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.GetTree,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.expandNode=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.ExpandNode,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.collapseNode=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.CollapseNode,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.subscribe=function(o,t){var n={data:[],end:[],status:[]},r=grpc.invoke(SceneTreeAPI.Subscribe,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onMessage:function(o){n.data.forEach((function(t){t(o)}))},onEnd:function(o,t,r){n.status.forEach((function(n){n({code:o,details:t,metadata:r})})),n.end.forEach((function(n){n({code:o,details:t,metadata:r})})),n=null}});return{on:function(o,t){return n[o].push(t),this},cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.filter=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.Filter,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.locateItem=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.LocateItem,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.expandAll=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.ExpandAll,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.collapseAll=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.CollapseAll,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.getNodeAncestors=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.GetNodeAncestors,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}},SceneTreeAPIClient.prototype.getAvailableColumns=function(o,t,n){2===arguments.length&&(n=arguments[1]);var r=grpc.unary(SceneTreeAPI.GetAvailableColumns,{request:o,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(o){if(n)if(o.status!==grpc.Code.OK){var t=new Error(o.statusMessage);t.code=o.status,t.metadata=o.trailers,n(t,null)}else n(null,o.message)}});return{cancel:function(){n=null,r.close()}}};var SceneTreeAPIClient_1=SceneTreeAPIClient,SceneTreeErrorCode;function fromNodeProto(o,t,n){if(Array.isArray(t))return t.map(((t,r)=>fromNodeProto(o+r,t,n)));{const r=t.toObject();return{index:o,node:r,metadata:makeMetadataMap(n,r.columnsList),data:{}}}}function makeMetadataMap(o,t){if(o.length!==t.length)throw new Error("Column key length and column value length mismatch");return o.reduce(((o,n,r)=>(o[n]=t[r],o)),{})}function isLoadedRow(o){return null!=o&&o.hasOwnProperty("node")}!function(o){o[o.UNKNOWN=0]="UNKNOWN",o[o.SCENE_TREE_DISABLED=1]="SCENE_TREE_DISABLED"}(SceneTreeErrorCode||(SceneTreeErrorCode={}));class SceneTreeErrorDetails{constructor(o,t){this.code=o,this.link=t,this.message=getSceneTreeErrorMessage(o)}}function getSceneTreeErrorMessage(o){switch(o){case SceneTreeErrorCode.UNKNOWN:return"An unknown error occurred.";case SceneTreeErrorCode.SCENE_TREE_DISABLED:return"The tree for this scene cannot be loaded, because this feature is disabled."}}function isGrpcServiceError(o){return"number"==typeof o.code&&o.hasOwnProperty("metadata")}function e(o){this.message=o}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var r="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(o){var t=String(o).replace(/=+$/,"");if(t.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,g=0,i=0,u="";r=t.charAt(i++);~r&&(n=g%4?64*n+r:r,g++%4)?u+=String.fromCharCode(255&n>>(-2*g&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return u};function t(o){var t=o.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(o){return decodeURIComponent(r(o).replace(/(.)/g,(function(o,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(o){return r(t)}}function n(o){this.message=o}function o(o,r){if("string"!=typeof o)throw new n("Invalid token specified");var e=!0===(r=r||{}).header?0:1;try{return JSON.parse(t(o.split(".")[e]))}catch(o){throw new n("Invalid token specified: "+o.message)}}function decodeSceneTreeJwt(t){return o(t)}n.prototype=new Error,n.prototype.name="InvalidTokenError";class SceneTreeController{constructor(o,t,n={}){this.client=o,this.rowLimit=t,this.connectOptions=n,this.nextPageId=0,this.pages=new Map,this.activeRowRange=[0,0],this.metadataKeys=[],this.onStateChange=new EventDispatcher,this.state={totalRows:0,rows:[],connection:{type:"disconnected"}}}get fetchedPageCount(){return this.pages.size}get isConnected(){return"connected"===this.state.connection.type}async connect(o){const{connection:t}=this.state,n=await o();if(null==n)throw new Error("Cannot connect scene tree. JWT is undefined");const{view:r}=decodeSceneTreeJwt(n);this.disconnect(t.sceneViewId!==r);const e={type:"connecting",jwtProvider:o,sceneViewId:r};this.updateState(Object.assign(Object.assign({},this.state),{connection:e}));try{console.debug("Scene tree controller connecting."),await this.fetchPage(0);const o=await this.subscribe();o.on("end",(()=>this.startConnectionLostReconnectTimer())),this.updateState(Object.assign(Object.assign({},this.state),{connection:Object.assign(Object.assign({},e),{type:"connected",subscription:{dispose:()=>o.cancel()}})}))}catch(t){throw this.updateState(Object.assign(Object.assign({},this.state),{connection:{type:"failure",jwtProvider:o,sceneViewId:r,details:this.getConnectionError(t)}})),t}this.startIdleReconnectTimer()}clearReconnectTimer(){null!=this.reconnectTimer&&window.clearTimeout(this.reconnectTimer)}startIdleReconnectTimer(){this.startReconnectTimer(this.connectOptions.idleReconnectInSeconds||SceneTreeController.IDLE_RECONNECT_IN_SECONDS)}startConnectionLostReconnectTimer(){this.startReconnectTimer(this.connectOptions.lostConnectionReconnectInSeconds||SceneTreeController.LOST_CONNECTION_RECONNECT_IN_SECONDS)}startReconnectTimer(o){this.clearReconnectTimer(),this.reconnectTimer=window.setTimeout((()=>{"connected"===this.state.connection.type&&this.connect(this.state.connection.jwtProvider)}),1e3*o)}connectToViewer(o){const t=async()=>{if(null!=await o.getJwt()){console.debug("Scene tree controller found viewer JWT. Attempting connection.");try{await this.connect((()=>o.getJwt()))}catch(o){console.error("Scene tree controller erred connecting.",o)}}},n=()=>{console.debug("Scene tree controller received scene ready"),t()};return t(),o.addEventListener("sceneReady",n),{dispose:()=>o.removeEventListener("sceneReady",n)}}disconnect(o=!1){console.debug(`Scene tree controller disconnecting [reset=${o}]`),this.clearReconnectTimer(),o&&(this.pages.clear(),this.activeRowRange=[]);const{connection:t}=this.state;"connected"===t.type&&t.subscription.dispose(),this.updateState({connection:{type:"disconnected",jwtProvider:t.jwtProvider,sceneViewId:t.sceneViewId},totalRows:o?0:this.state.totalRows,rows:o?[]:this.state.rows})}async collapseNode(o){return this.ifConnectionHasJwt((async t=>{const n=new uuid_pb.Uuid;n.setHex(o);const r=new scene_tree_api_pb.CollapseNodeRequest;r.setNodeId(n),await this.requestUnary(t,((o,t)=>this.client.collapseNode(r,o,t)))}))}async expandNode(o){return this.ifConnectionHasJwt((async t=>{const n=new uuid_pb.Uuid;n.setHex(o);const r=new scene_tree_api_pb.ExpandNodeRequest;r.setNodeId(n),await this.requestUnary(t,((o,t)=>this.client.expandNode(r,o,t)))}))}async collapseAll(){return this.ifConnectionHasJwt((async o=>{await this.requestUnary(o,((o,t)=>this.client.collapseAll(new scene_tree_api_pb.CollapseAllRequest,o,t)))}))}async expandAll(){return this.ifConnectionHasJwt((async o=>{await this.requestUnary(o,((o,t)=>this.client.expandAll(new scene_tree_api_pb.ExpandAllRequest,o,t)))}))}async expandParentNodes(o){return this.ifConnectionHasJwt((async t=>{const n=new uuid_pb.Uuid;n.setHex(o);const r=new scene_tree_api_pb.LocateItemRequest;r.setNodeId(n);const e=await this.requestUnary(t,((o,t)=>this.client.locateItem(r,o,t))),{requiresReload:g,locatedIndex:i}=e.toObject();if(g&&(this.invalidateAfterOffset(0),await this.fetchUnloadedPagesInActiveRows()),null==i)throw new Error("Cannot locate node. Location index is undefined.");return i.value}))}async fetchNodeAncestors(o){return this.ifConnectionHasJwt((async t=>{const n=new uuid_pb.Uuid;n.setHex(o);const r=new scene_tree_api_pb.GetNodeAncestorsRequest;return r.setNodeId(n),(await this.requestUnary(t,((o,t)=>this.client.getNodeAncestors(r,o,t)))).toObject().itemsList}))}async fetchPage(o){return this.ifConnectionHasJwt((async t=>{var n;if(!(o<0||o>this.maxPages-1)){if(!this.pages.has(o)){const n=o*this.rowLimit;console.debug("Scene tree fetching page",o,n);const r=this.fetchTree(n,this.rowLimit,t),e={id:this.nextPageId++,res:r,index:o,metadataKeys:this.metadataKeys};this.pages.set(o,e),this.handlePageResult(e)}await(null===(n=this.pages.get(o))||void 0===n?void 0:n.res)}}))}fetchPageAtOffset(o){const t=Math.floor(o/this.rowLimit);return this.fetchPage(t)}async fetchRange(o,t){const n=Math.floor(o/this.rowLimit),r=Math.floor(t/this.rowLimit),[e,g]=this.constrainPageRange(n,r),i=g-e+1;await Promise.all(Array.from({length:i}).map(((o,t)=>this.fetchPage(t))))}async fetchMetadataKeys(){return this.ifConnectionHasJwt((async o=>(await this.requestUnary(o,((o,t)=>{const n=new scene_tree_api_pb.GetAvailableColumnsRequest;this.client.getAvailableColumns(n,o,t)}))).getKeysList().map((o=>o.getValue()))))}async filter(o,t={}){await this.ifConnectionHasJwt((n=>this.requestUnary(n,((n,r)=>{var e;const g=new scene_tree_api_pb.FilterRequest;g.setFilter(o),g.setFullTree(!0===(null===(e=t.includeCollapsed)||void 0===e||e)),this.client.filter(g,n,r)}))))}isPageLoaded(o){return this.pages.has(o)}getNonLoadedPageIndexes(o,t){const[n,r]=this.constrainPageRange(o,t);return Array.from({length:r-n+1}).map(((o,t)=>n+t)).filter((o=>!this.isPageLoaded(o)))}getPage(o){return this.pages.get(o)}invalidatePagesOutsideRange(o,t,n=0){const[r,e]=this.constrainPageRange(o,t),g=Math.max(e-r,n);if(this.fetchedPageCount>g){const o=Array.from(this.pages.keys()).map((o=>({index:o,distance:o<r?r-o:o-e})));o.sort(((o,t)=>t.distance-o.distance)).slice(0,o.length-n).forEach((({index:o})=>this.invalidatePage(o))),console.debug(`Scene tree dropped ${o.length-this.fetchedPageCount} pages`,this.pages)}}setMetadataKeys(o){if(this.metadataKeys=o,"connected"===this.state.connection.type){const[o,t]=this.activeRowRange;return this.invalidateAfterOffset(0),this.updateActiveRowRange(o,t)}return Promise.resolve()}async updateActiveRowRange(o,t){this.activeRowRange=this.constrainRowOffsets(o,t),await this.fetchUnloadedPagesInActiveRows()}subscribe(){return this.ifConnectionHasJwt((o=>{const t=this.requestServerStream(o,(o=>this.client.subscribe(new scene_tree_api_pb.SubscribeRequest,o)));return t.on("data",(o=>{this.startIdleReconnectTimer();const{change:t}=o.toObject();null!=(null==t?void 0:t.listChange)&&(console.debug("Received list change",t.listChange.start),this.invalidateAfterOffset(t.listChange.start),this.fetchUnloadedPagesInActiveRows());const{hiddenList:n=[],shownList:r=[],partiallyVisibleList:e=[],deselectedList:g=[],selectedList:i=[]}=(null==t?void 0:t.ranges)||{};e.length>0&&(console.debug("Received partial visibility list change",e),e.forEach((({start:o,end:t})=>this.patchNodesInRange(o,t,(()=>({partiallyVisible:!0})))))),n.length>0&&(console.debug("Received hidden list change",n),n.forEach((({start:o,end:t})=>this.patchNodesInRange(o,t,(()=>({visible:!1,partiallyVisible:!1})))))),r.length>0&&(console.debug("Received shown list change",r),r.forEach((({start:o,end:t})=>this.patchNodesInRange(o,t,(()=>({visible:!0,partiallyVisible:!1})))))),g.length>0&&(console.debug("Received deselected list change",g),g.forEach((({start:o,end:t})=>this.patchNodesInRange(o,t,(()=>({selected:!1})))))),i.length>0&&(console.debug("Received selected list change",i),i.forEach((({start:o,end:t})=>this.patchNodesInRange(o,t,(()=>({selected:!0}))))))})),t}))}async fetchUnloadedPagesInActiveRows(){const[o,t]=this.getPageIndexesForRange(this.activeRowRange[0],this.activeRowRange[1]),n=this.getNonLoadedPageIndexes(o-1,t+1);await Promise.all(n.map((o=>this.fetchPage(o))))}patchNodesInRange(o,t,n){const r=this.state.rows.slice(o,t+1).map((o=>null!=o?Object.assign(Object.assign({},o),{node:Object.assign(Object.assign({},o.node),n(o.node))}):o)),e=[...this.state.rows.slice(0,o),...r,...this.state.rows.slice(t+1)];this.updateState(Object.assign(Object.assign({},this.state),{rows:e}))}async handlePageResult(o){var t;try{const n=await o.res,r=this.getPage(o.index);if((null==r?void 0:r.id)===o.id){const e=n.getCursor(),g=n.getItemsList(),i=null!==(t=null==e?void 0:e.getTotal())&&void 0!==t?t:0,u=o.index*this.rowLimit,s=fromNodeProto(u,g,r.metadataKeys),f=this.state.rows.slice(0,u),c=this.state.rows.slice(f.length+s.length,i),a=new Array(Math.max(0,i-f.length-s.length-c.length)),p=[...f,...s,...c,...a];this.updateState(Object.assign(Object.assign({},this.state),{totalRows:i,rows:p}))}}catch(t){const n=t instanceof Error?t.toString():"Unknown";console.error(`Request error fetching page at index ${o.index} (${n})`);const r=this.getPage(o.index);(null==r?void 0:r.id)===o.id&&this.invalidatePage(o.index)}}invalidatePage(o){this.isPageLoaded(o)&&this.pages.delete(o)}invalidateAfterOffset(o){const t=Math.floor(o/this.rowLimit);for(const o of this.pages.keys())o>=t&&this.invalidatePage(o)}updateState(o){this.state=o,this.onStateChange.emit(this.state)}getPageForOffset(o){const t=Math.floor(o/this.rowLimit);return this.constrainPageIndex(t)}getPageIndexesForRange(o,t){return[this.getPageForOffset(o),this.getPageForOffset(t)]}async fetchTree(o,t,n){return this.requestUnary(n,((n,r)=>{const e=new paging_pb.OffsetPager;e.setOffset(o),e.setLimit(t);const g=new scene_tree_api_pb.GetTreeRequest;g.setPager(e),g.setAdditionalColumnKeysList(this.metadataKeys),this.client.getTree(g,n,r)}))}requestUnary(o,t){return new Promise(((n,r)=>{const e=this.createJwtMetadata(o);t(e,((o,t)=>{null!=o?r(o):null!=t?n(t):r(new Error("Invalid response. Both error and result are null"))}))}))}requestServerStream(o,t){return t(this.createJwtMetadata(o))}createJwtMetadata(o){return new grpcWebClient_umd.grpc.Metadata({"jwt-context":JSON.stringify({jwt:o})})}async ifConnectionHasJwt(o){const{connection:t}=this.state;if("connecting"===t.type||"connected"===t.type){const n=await t.jwtProvider();if(null!=n)return o(n);throw new Error("SceneTreeController cannot perform request. Viewer JWT is undefined.")}throw new Error("SceneTreeController is not in connected state")}getConnectionError(o){return isGrpcServiceError(o)&&o.code===grpcWebClient_umd.grpc.Code.FailedPrecondition?new SceneTreeErrorDetails(SceneTreeErrorCode.SCENE_TREE_DISABLED,"https://developer.vertexvis.com"):new SceneTreeErrorDetails(SceneTreeErrorCode.UNKNOWN)}constrainPageRange(o,t){return[Math.max(0,o),Math.min(this.maxPages-1,t)]}constrainPageIndex(o){return Math.max(0,Math.min(o,this.maxPages-1))}constrainRowOffsets(o,t){return[Math.max(0,o),Math.min(this.state.totalRows-1,t)]}get maxPages(){return Math.max(1,Math.ceil(this.state.totalRows/this.rowLimit))}}function getSceneTreeViewportHeight(o){return o.clientHeight}function getSceneTreeContainsElement(o,t){return o.contains(t)}function scrollToTop(o,t,n){o.scrollTo(Object.assign({top:t},n))}async function showItem(o,t){return(await o.scene()).items((o=>o.where((o=>o.withItemId(t))).show())).execute()}async function hideItem(o,t){return(await o.scene()).items((o=>o.where((o=>o.withItemId(t))).hide())).execute()}async function selectItem(o,t,{material:n,append:r=!1}){return(await o.scene()).items((o=>[...r?[]:[o.where((o=>o.all())).deselect()],o.where((o=>o.withItemId(t))).select(n)])).execute()}async function deselectItem(o,t){return(await o.scene()).items((o=>o.where((o=>o.withItemId(t))).deselect())).execute()}SceneTreeController.IDLE_RECONNECT_IN_SECONDS=240,SceneTreeController.LOST_CONNECTION_RECONNECT_IN_SECONDS=2;class ElementPool{constructor(o,t){this.container=o,this.elementFactory=t,this.instanceMap=new Map,this.elements=[]}swapHeadToTail(o){const t=this.elements.splice(0,o);return this.elements.splice(this.elements.length,0,...t),this.elements.concat()}swapTailToHead(o){const t=this.elements.splice(-o,o);return this.elements.splice(0,0,...t),this.elements.concat()}updateElements(o){const t=o-this.elements.length;if(t>0)for(let o=0;o<t;o++)this.createElement();else for(let o=0;o<-t;o++)this.deleteElement();return this.elements.concat()}updateData(o){this.elements.forEach(((t,n)=>{const r=this.instanceMap.get(t),e=o(n);null==r||r.bindings.bind(e)}))}iterateElements(o){this.elements.forEach(((t,n)=>{const r=this.instanceMap.get(t);if(null==r)throw new Error("Binding not found for element.");o(t,r.bindings,n)}))}createElement(){const o=this.elementFactory();return this.elements.push(o.element),this.instanceMap.set(o.element,o),this.container.append(o.element),o}deleteElement(){const o=this.elements.pop();null!=o&&(this.instanceMap.delete(o),o.remove())}}
|
|
5
5
|
/*! *****************************************************************************
|
|
6
6
|
Copyright (c) Microsoft Corporation.
|
|
7
7
|
|