UNPKG

@vansite/ts-sharetribe-flex-sdk

Version:

This is a TypeScript SDK for Sharetribe Flex API. It reduces the complexity of the API and provides a more user-friendly interface.

2 lines 222 kB
/*! For license information please see index.mjs.LICENSE.txt */ var __webpack_modules__={1111(t){const o=new Set(["ENOTFOUND","ENETUNREACH","UNABLE_TO_GET_ISSUER_CERT","UNABLE_TO_GET_CRL","UNABLE_TO_DECRYPT_CERT_SIGNATURE","UNABLE_TO_DECRYPT_CRL_SIGNATURE","UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY","CERT_SIGNATURE_FAILURE","CRL_SIGNATURE_FAILURE","CERT_NOT_YET_VALID","CERT_HAS_EXPIRED","CRL_NOT_YET_VALID","CRL_HAS_EXPIRED","ERROR_IN_CERT_NOT_BEFORE_FIELD","ERROR_IN_CERT_NOT_AFTER_FIELD","ERROR_IN_CRL_LAST_UPDATE_FIELD","ERROR_IN_CRL_NEXT_UPDATE_FIELD","OUT_OF_MEM","DEPTH_ZERO_SELF_SIGNED_CERT","SELF_SIGNED_CERT_IN_CHAIN","UNABLE_TO_GET_ISSUER_CERT_LOCALLY","UNABLE_TO_VERIFY_LEAF_SIGNATURE","CERT_CHAIN_TOO_LONG","CERT_REVOKED","INVALID_CA","PATH_LENGTH_EXCEEDED","INVALID_PURPOSE","CERT_UNTRUSTED","CERT_REJECTED","HOSTNAME_MISMATCH"]);t.exports=t=>!o.has(t&&t.code)},3499(module){var COMPILED=!0,goog=goog||{};if(goog.global=this||self,goog.exportPath_=function(t,o,n,r){t=t.split("."),r=r||goog.global,t[0]in r||void 0===r.execScript||r.execScript("var "+t[0]);for(var i;t.length&&(i=t.shift());)if(t.length||void 0===o)r=r[i]&&r[i]!==Object.prototype[i]?r[i]:r[i]={};else if(!n&&goog.isObject(o)&&goog.isObject(r[i]))for(var s in o)o.hasOwnProperty(s)&&(r[i][s]=o[s]);else r[i]=o},goog.define=function(t,o){if(!COMPILED){var n=goog.global.CLOSURE_UNCOMPILED_DEFINES,r=goog.global.CLOSURE_DEFINES;n&&void 0===n.nodeType&&Object.prototype.hasOwnProperty.call(n,t)?o=n[t]:r&&void 0===r.nodeType&&Object.prototype.hasOwnProperty.call(r,t)&&(o=r[t])}return o},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(t){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");if(!COMPILED&&goog.isProvided_(t))throw Error('Namespace "'+t+'" already declared.');goog.constructNamespace_(t)},goog.constructNamespace_=function(t,o,n){if(!COMPILED){delete goog.implicitNamespaces_[t];for(var r=t;(r=r.substring(0,r.lastIndexOf(".")))&&!goog.getObjectByName(r);)goog.implicitNamespaces_[r]=!0}goog.exportPath_(t,o,n)},goog.getScriptNonce=function(t){return t&&t!=goog.global?goog.getScriptNonce_(t.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(t){return(t=t.querySelector&&t.querySelector("script[nonce]"))&&(t=t.nonce||t.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(t)?t:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(t){if("string"!=typeof t||!t||-1==t.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+t+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");if(goog.moduleLoaderState_.moduleName=t,!COMPILED){if(goog.isProvided_(t))throw Error('Namespace "'+t+'" already declared.');delete goog.implicitNamespaces_[t]}},goog.module.get=function(t){return goog.module.getInternal_(t)},goog.module.getInternal_=function(t){if(!COMPILED){if(t in goog.loadedModules_)return goog.loadedModules_[t].exports;if(!goog.implicitNamespaces_[t])return null!=(t=goog.getObjectByName(t))?t:null}return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var t=goog.global.$jscomp;return!!t&&("function"==typeof t.getCurrentModulePath&&!!t.getCurrentModulePath())},goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(t){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error("goog.declareModuleId may only be called from within an ES6 module");if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error("goog.declareModuleId may only be called once per module.");if(t in goog.loadedModules_)throw Error('Module with namespace "'+t+'" already exists.')}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=t;else{var o=goog.global.$jscomp;if(!o||"function"!=typeof o.getCurrentModulePath)throw Error('Module with namespace "'+t+'" has been loaded incorrectly.');o=o.require(o.getCurrentModulePath()),goog.loadedModules_[t]={exports:o,type:goog.ModuleType.ES6,moduleId:t}}},goog.setTestOnly=function(t){if(goog.DISALLOW_TEST_ONLY_CODE)throw t=t||"",Error("Importing test-only code into non-debug environment"+(t?": "+t:"."))},goog.forwardDeclare=function(t){},COMPILED||(goog.isProvided_=function(t){return t in goog.loadedModules_||!goog.implicitNamespaces_[t]&&null!=goog.getObjectByName(t)},goog.implicitNamespaces_={"goog.module":!0}),goog.getObjectByName=function(t,o){t=t.split("."),o=o||goog.global;for(var n=0;n<t.length;n++)if(null==(o=o[t[n]]))return null;return o},goog.addDependency=function(t,o,n,r){!COMPILED&&goog.DEPENDENCIES_ENABLED&&goog.debugLoader_.addDependency(t,o,n,r)},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(t){goog.global.console&&goog.global.console.error(t)},goog.require=function(t){if(!COMPILED){if(goog.ENABLE_DEBUG_LOADER&&goog.debugLoader_.requested(t),goog.isProvided_(t)){if(goog.isInModuleLoader_())return goog.module.getInternal_(t)}else if(goog.ENABLE_DEBUG_LOADER){var o=goog.moduleLoaderState_;goog.moduleLoaderState_=null;try{goog.debugLoader_.load_(t)}finally{goog.moduleLoaderState_=o}}return null}},goog.requireType=function(t){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(t){t.instance_=void 0,t.getInstance=function(){return t.instance_?t.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=t),t.instance_=new t)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.TRUSTED_TYPES_POLICY_NAME="goog",goog.hasBadLetScoping=null,goog.loadModule=function(t){var o=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG};var n={},r=n;if("function"==typeof t)r=t.call(void 0,r);else{if("string"!=typeof t)throw Error("Invalid module definition");r=goog.loadModuleFromSource_.call(void 0,r,t)}var i=goog.moduleLoaderState_.moduleName;if("string"!=typeof i||!i)throw Error('Invalid module name "'+i+'"');goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(i,r,n!==r):goog.SEAL_MODULE_EXPORTS&&Object.seal&&"object"==typeof r&&null!=r&&Object.seal(r),goog.loadedModules_[i]={exports:r,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName}}finally{goog.moduleLoaderState_=o}},goog.loadModuleFromSource_=function(a,b){return eval(goog.CLOSURE_EVAL_PREFILTER_.createScript(b)),a},goog.normalizePath_=function(t){t=t.split("/");for(var o=0;o<t.length;)"."==t[o]?t.splice(o,1):o&&".."==t[o]&&t[o-1]&&".."!=t[o-1]?t.splice(--o,2):o++;return t.join("/")},goog.loadFileSync_=function(t){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(t);try{var o=new goog.global.XMLHttpRequest;return o.open("get",t,!1),o.send(),0==o.status||200==o.status?o.responseText:null}catch(t){return null}},goog.transpile_=function(t,o,n){var r=goog.global.$jscomp;r||(goog.global.$jscomp=r={});var i=r.transpile;if(!i){var s=goog.basePath+goog.TRANSPILER,g=goog.loadFileSync_(s);if(g){if(function(){(0,eval)(g+"\n//# sourceURL="+s)}.call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,i=(r=goog.global.$jscomp).transpile}}return i||(i=r.transpile=function(t,o){return goog.logToConsole_(o+" requires transpilation but no transpiler was found."),t}),i(t,o,n)},goog.typeOf=function(t){var o=typeof t;return"object"!=o?o:t?Array.isArray(t)?"array":o:"null"},goog.isArrayLike=function(t){var o=goog.typeOf(t);return"array"==o||"object"==o&&"number"==typeof t.length},goog.isDateLike=function(t){return goog.isObject(t)&&"function"==typeof t.getFullYear},goog.isObject=function(t){var o=typeof t;return"object"==o&&null!=t||"function"==o},goog.getUid=function(t){return Object.prototype.hasOwnProperty.call(t,goog.UID_PROPERTY_)&&t[goog.UID_PROPERTY_]||(t[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(t){return!!t[goog.UID_PROPERTY_]},goog.removeUid=function(t){null!==t&&"removeAttribute"in t&&t.removeAttribute(goog.UID_PROPERTY_);try{delete t[goog.UID_PROPERTY_]}catch(t){}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.cloneObject=function(t){var o=goog.typeOf(t);if("object"==o||"array"==o){if("function"==typeof t.clone)return t.clone();for(var n in o="array"==o?[]:{},t)o[n]=goog.cloneObject(t[n]);return o}return t},goog.bindNative_=function(t,o,n){return t.call.apply(t.bind,arguments)},goog.bindJs_=function(t,o,n){if(!t)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),t.apply(o,n)}}return function(){return t.apply(o,arguments)}},goog.bind=function(t,o,n){return Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(t,o){var n=Array.prototype.slice.call(arguments,1);return function(){var o=n.slice();return o.push.apply(o,arguments),t.apply(this,o)}},goog.mixin=function(t,o){for(var n in o)t[n]=o[n]},goog.now=function(){return Date.now()},goog.globalEval=function(t){(0,eval)(t)},goog.getCssName=function(t,o){if("."==String(t).charAt(0))throw Error('className passed in goog.getCssName must not start with ".". You passed: '+t);var c=function(t){return goog.cssNameMapping_[t]||t},d=function(t){t=t.split("-");for(var o=[],n=0;n<t.length;n++)o.push(c(t[n]));return o.join("-")};return d=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?c:d:function(t){return t},t=o?t+"-"+d(o):d(t),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(t):t},goog.setCssNameMapping=function(t,o){goog.cssNameMapping_=t,goog.cssNameMappingStyle_=o},!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING),goog.getMsg=function(t,o,n){return n&&n.html&&(t=t.replace(/</g,"&lt;")),n&&n.unescapeHtmlEntities&&(t=t.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&apos;/g,"'").replace(/&quot;/g,'"').replace(/&amp;/g,"&")),o&&(t=t.replace(/\{\$([^}]+)}/g,(function(t,n){return null!=o&&n in o?o[n]:t}))),t},goog.getMsgWithFallback=function(t,o){return t},goog.exportSymbol=function(t,o,n){goog.exportPath_(t,o,!0,n)},goog.exportProperty=function(t,o,n){t[o]=n},goog.inherits=function(t,o){function c(){}c.prototype=o.prototype,t.superClass_=o.prototype,t.prototype=new c,t.prototype.constructor=t,t.base=function(t,n,r){for(var i=Array(arguments.length-2),s=2;s<arguments.length;s++)i[s-2]=arguments[s];return o.prototype[n].apply(t,i)}},goog.scope=function(t){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");t.call(goog.global)},COMPILED||(goog.global.COMPILED=COMPILED),goog.defineClass=function(t,o){var n=o.constructor,r=o.statics;return n&&n!=Object.prototype.constructor||(n=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),n=goog.defineClass.createSealingConstructor_(n,t),t&&goog.inherits(n,t),delete o.constructor,delete o.statics,goog.defineClass.applyProperties_(n.prototype,o),null!=r&&(r instanceof Function?r(n):goog.defineClass.applyProperties_(n,r)),n},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(t,o){return goog.defineClass.SEAL_CLASS_INSTANCES?function(){var o=t.apply(this,arguments)||this;return o[goog.UID_PROPERTY_]=o[goog.UID_PROPERTY_],o}:t},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(t,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n]);for(var r=0;r<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;r++)n=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[r],Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])},goog.identity_=function(t){return t},goog.createTrustedTypesPolicy=function(t){var o=null,n=goog.global.trustedTypes;if(!n||!n.createPolicy)return o;try{o=n.createPolicy(t,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_})}catch(t){goog.logToConsole_(t.message)}return o},!COMPILED&&goog.DEPENDENCIES_ENABLED&&(goog.isEdge_=function(){return!!(goog.global.navigator&&goog.global.navigator.userAgent?goog.global.navigator.userAgent:"").match(/Edge\/(\d+)(\.\d)*/i)},goog.inHtmlDocument_=function(){var t=goog.global.document;return null!=t&&"write"in t},goog.isDocumentLoading_=function(){var t=goog.global.document;return t.attachEvent?"complete"!=t.readyState:"loading"==t.readyState},goog.findBasePath_=function(){if(null!=goog.global.CLOSURE_BASE_PATH&&"string"==typeof goog.global.CLOSURE_BASE_PATH)goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_()){var t=goog.global.document,o=t.currentScript;for(o=(t=o?[o]:t.getElementsByTagName("SCRIPT")).length-1;0<=o;--o){var n=t[o].src,r=n.lastIndexOf("?");if(r=-1==r?n.length:r,"base.js"==n.substr(r-7,7)){goog.basePath=n.substr(0,r-7);break}}}},goog.findBasePath_(),goog.Transpiler=function(){this.requiresTranspilation_=null,this.transpilationTarget_=goog.TRANSPILE_TO_LANGUAGE},goog.Transpiler.prototype.createRequiresTranspilation_=function(){function a(t,o){e?d[t]=!0:o()?(c=t,d[t]=!1):e=d[t]=!0}function b(f){try{return!!eval(goog.CLOSURE_EVAL_PREFILTER_.createScript(f))}catch(t){return!1}}var c="es3",d={es3:!1},e=!1;return a("es5",(function(){return b("[1,].length==1")})),a("es6",(function(){return!goog.isEdge_()&&b('(()=>{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')})),a("es7",(function(){return b("2**3==8")})),a("es8",(function(){return b("async()=>1,1")})),a("es9",(function(){return b("({...rest}={}),1")})),a("es_2019",(function(){return b('let r;try{throw 0}catch{r="\u2029"};r')})),a("es_2020",(function(){return b("null?.x??1")})),a("es_next",(function(){return!1})),{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=function(t,o){if("always"==goog.TRANSPILE)return!0;if("never"==goog.TRANSPILE)return!1;if(!this.requiresTranspilation_){var n=this.createRequiresTranspilation_();this.requiresTranspilation_=n.map,this.transpilationTarget_=this.transpilationTarget_||n.target}if(t in this.requiresTranspilation_)return!!this.requiresTranspilation_[t]||!(!goog.inHtmlDocument_()||"es6"!=o||"noModule"in goog.global.document.createElement("script"));throw Error("Unknown language mode: "+t)},goog.Transpiler.prototype.transpile=function(t,o){return goog.transpile_(t,o,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(t){return t.replace(/<\/(SCRIPT)/gi,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(t,o){function c(){n&&(goog.global.setTimeout(n,0),n=null)}var n=o;if(t.length){o=[];for(var r=0;r<t.length;r++){var i=this.getPathFromDeps_(t[r]);if(!i)throw Error("Unregonized namespace: "+t[r]);o.push(this.dependencies_[i])}i=goog.require;var s=0;for(r=0;r<t.length;r++)i(t[r]),o[r].onLoad((function(){++s==t.length&&c()}))}else c()},goog.DebugLoader_.prototype.loadClosureDeps=function(){this.depsToLoad_.push(this.factory_.createDependency(goog.normalizePath_(goog.basePath+"deps.js"),"deps.js",[],[],{},!1)),this.loadDeps_()},goog.DebugLoader_.prototype.requested=function(t,o){(t=this.getPathFromDeps_(t))&&(o||this.areDepsLoaded_(this.dependencies_[t].requires))&&(o=this.deferredCallbacks_[t])&&(delete this.deferredCallbacks_[t],o())},goog.DebugLoader_.prototype.setDependencyFactory=function(t){this.factory_=t},goog.DebugLoader_.prototype.load_=function(t){if(this.getPathFromDeps_(t)){var o=this,n=[],d=function(t){var r=o.getPathFromDeps_(t);if(!r)throw Error("Bad dependency path or symbol: "+t);if(!o.written_[r]){for(o.written_[r]=!0,t=o.dependencies_[r],r=0;r<t.requires.length;r++)goog.isProvided_(t.requires[r])||d(t.requires[r]);n.push(t)}};d(t),t=!!this.depsToLoad_.length,this.depsToLoad_=this.depsToLoad_.concat(n),this.paused_||t||this.loadDeps_()}else goog.logToConsole_("goog.require could not find: "+t)},goog.DebugLoader_.prototype.loadDeps_=function(){for(var t=this,o=this.paused_;this.depsToLoad_.length&&!o;)!function(){var n=!1,r=t.depsToLoad_.shift(),i=!1;t.loading_(r);var s={pause:function(){if(n)throw Error("Cannot call pause after the call to load.");o=!0},resume:function(){n?t.resume_():o=!1},loaded:function(){if(i)throw Error("Double call to loaded.");i=!0,t.loaded_(r)},pending:function(){for(var o=[],n=0;n<t.loadingDeps_.length;n++)o.push(t.loadingDeps_[n]);return o},setModuleState:function(t){goog.moduleLoaderState_={type:t,moduleName:"",declareLegacyNamespace:!1}},registerEs6ModuleExports:function(t,o,n){n&&(goog.loadedModules_[n]={exports:o,type:goog.ModuleType.ES6,moduleId:n||""})},registerGoogModuleExports:function(t,o){goog.loadedModules_[t]={exports:o,type:goog.ModuleType.GOOG,moduleId:t}},clearModuleState:function(){goog.moduleLoaderState_=null},defer:function(o){if(n)throw Error("Cannot register with defer after the call to load.");t.defer_(r,o)},areDepsLoaded:function(){return t.areDepsLoaded_(r.requires)}};try{r.load(s)}finally{n=!0}}();o&&this.pause_()},goog.DebugLoader_.prototype.pause_=function(){this.paused_=!0},goog.DebugLoader_.prototype.resume_=function(){this.paused_&&(this.paused_=!1,this.loadDeps_())},goog.DebugLoader_.prototype.loading_=function(t){this.loadingDeps_.push(t)},goog.DebugLoader_.prototype.loaded_=function(t){for(var o=0;o<this.loadingDeps_.length;o++)if(this.loadingDeps_[o]==t){this.loadingDeps_.splice(o,1);break}for(o=0;o<this.deferredQueue_.length;o++)if(this.deferredQueue_[o]==t.path){this.deferredQueue_.splice(o,1);break}if(this.loadingDeps_.length==this.deferredQueue_.length&&!this.depsToLoad_.length)for(;this.deferredQueue_.length;)this.requested(this.deferredQueue_.shift(),!0);t.loaded()},goog.DebugLoader_.prototype.areDepsLoaded_=function(t){for(var o=0;o<t.length;o++){var n=this.getPathFromDeps_(t[o]);if(!n||!(n in this.deferredCallbacks_)&&!goog.isProvided_(t[o]))return!1}return!0},goog.DebugLoader_.prototype.getPathFromDeps_=function(t){return t in this.idToPath_?this.idToPath_[t]:t in this.dependencies_?t:null},goog.DebugLoader_.prototype.defer_=function(t,o){this.deferredCallbacks_[t.path]=o,this.deferredQueue_.push(t.path)},goog.LoadController=function(){},goog.LoadController.prototype.pause=function(){},goog.LoadController.prototype.resume=function(){},goog.LoadController.prototype.loaded=function(){},goog.LoadController.prototype.pending=function(){},goog.LoadController.prototype.registerEs6ModuleExports=function(t,o,n){},goog.LoadController.prototype.setModuleState=function(t){},goog.LoadController.prototype.clearModuleState=function(){},goog.LoadController.prototype.defer=function(t){},goog.LoadController.prototype.areDepsLoaded=function(){},goog.Dependency=function(t,o,n,r,i){this.path=t,this.relativePath=o,this.provides=n,this.requires=r,this.loadFlags=i,this.loaded_=!1,this.loadCallbacks_=[]},goog.Dependency.prototype.getPathName=function(){var t=this.path,o=t.indexOf("://");return 0<=o&&(0<=(o=(t=t.substring(o+3)).indexOf("/"))&&(t=t.substring(o+1))),t},goog.Dependency.prototype.onLoad=function(t){this.loaded_?t():this.loadCallbacks_.push(t)},goog.Dependency.prototype.loaded=function(){this.loaded_=!0;var t=this.loadCallbacks_;this.loadCallbacks_=[];for(var o=0;o<t.length;o++)t[o]()},goog.Dependency.defer_=!1,goog.Dependency.callbackMap_={},goog.Dependency.registerCallback_=function(t){var o=Math.random().toString(32);return goog.Dependency.callbackMap_[o]=t,o},goog.Dependency.unregisterCallback_=function(t){delete goog.Dependency.callbackMap_[t]},goog.Dependency.callback_=function(t,o){if(!(t in goog.Dependency.callbackMap_))throw Error("Callback key "+t+" does not exist (was base.js loaded more than once?).");for(var n=goog.Dependency.callbackMap_[t],r=[],i=1;i<arguments.length;i++)r.push(arguments[i]);n.apply(void 0,r)},goog.Dependency.prototype.load=function(t){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?t.loaded():t.pause();else if(goog.inHtmlDocument_()){var o=goog.global.document;if("complete"==o.readyState&&!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING){if(/\bdeps.js$/.test(this.path))return void t.loaded();throw Error('Cannot write "'+this.path+'" after document load')}var n=goog.getScriptNonce();if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&goog.isDocumentLoading_()){var d=function(o){o.readyState&&"complete"!=o.readyState?o.onload=d:(goog.Dependency.unregisterCallback_(r),t.loaded())},r=goog.Dependency.registerCallback_(d);n=n?' nonce="'+n+'"':"";var i='<script src="'+this.path+'"'+n+(goog.Dependency.defer_?" defer":"")+' id="script-'+r+'"><\/script>';i+="<script"+n+">",i=goog.Dependency.defer_?i+"document.getElementById('script-"+r+"').onload = function() {\n goog.Dependency.callback_('"+r+"', this);\n};\n":i+"goog.Dependency.callback_('"+r+"', document.getElementById('script-"+r+"'));",i+="<\/script>",o.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(i):i)}else{var s=o.createElement("script");s.defer=goog.Dependency.defer_,s.async=!1,n&&(s.nonce=n),goog.DebugLoader_.IS_OLD_IE_?(t.pause(),s.onreadystatechange=function(){"loaded"!=s.readyState&&"complete"!=s.readyState||(t.loaded(),t.resume())}):s.onload=function(){s.onload=null,t.loaded()},s.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,o.head.appendChild(s)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),"deps.js"==this.relativePath?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),t.loaded()):t.pause()},goog.Es6ModuleDependency=function(t,o,n,r,i){goog.Dependency.call(this,t,o,n,r,i)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(t){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?t.loaded():t.pause();else if(goog.inHtmlDocument_()){var o=goog.global.document,n=this;if(goog.isDocumentLoading_()){var r=function b(t,n){var r="",i=goog.getScriptNonce();i&&(r=' nonce="'+i+'"'),t=n?'<script type="module" crossorigin'+r+">"+n+"<\/script>":'<script type="module" crossorigin src="'+t+'"'+r+"><\/script>",o.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(t):t)};goog.Dependency.defer_=!0}else r=function c(t,n){var r=o.createElement("script");r.defer=!0,r.async=!1,r.type="module",r.setAttribute("crossorigin",!0);var i=goog.getScriptNonce();i&&(r.nonce=i),n?r.text=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScript(n):n:r.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(t):t,o.head.appendChild(r)};var i=goog.Dependency.registerCallback_((function(){goog.Dependency.unregisterCallback_(i),t.setModuleState(goog.ModuleType.ES6)}));r(void 0,'goog.Dependency.callback_("'+i+'")'),r(this.path,void 0);var s=goog.Dependency.registerCallback_((function(o){goog.Dependency.unregisterCallback_(s),t.registerEs6ModuleExports(n.path,o,goog.moduleLoaderState_.moduleName)}));r(void 0,'import * as m from "'+this.path+'"; goog.Dependency.callback_("'+s+'", m)');var g=goog.Dependency.registerCallback_((function(){goog.Dependency.unregisterCallback_(g),t.clearModuleState(),t.loaded()}));r(void 0,'goog.Dependency.callback_("'+g+'")')}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),t.pause()},goog.TransformedDependency=function(t,o,n,r,i){goog.Dependency.call(this,t,o,n,r,i),this.contents_=null,this.lazyFetch_=!goog.inHtmlDocument_()||!("noModule"in goog.global.document.createElement("script"))},goog.inherits(goog.TransformedDependency,goog.Dependency),goog.TransformedDependency.prototype.load=function(t){function b(){o.contents_=goog.loadFileSync_(o.path),o.contents_&&(o.contents_=o.transform(o.contents_),o.contents_&&(o.contents_+="\n//# sourceURL="+o.path))}function c(){if(o.lazyFetch_&&b(),o.contents_){n&&t.setModuleState(goog.ModuleType.ES6);try{var r=o.contents_;if(o.contents_=null,goog.globalEval(goog.CLOSURE_EVAL_PREFILTER_.createScript(r)),n)var i=goog.moduleLoaderState_.moduleName}finally{n&&t.clearModuleState()}n&&goog.global.$jscomp.require.ensure([o.getPathName()],(function(){t.registerEs6ModuleExports(o.path,goog.global.$jscomp.require(o.getPathName()),i)})),t.loaded()}}var o=this;if(goog.global.CLOSURE_IMPORT_SCRIPT)b(),this.contents_&&goog.global.CLOSURE_IMPORT_SCRIPT("",this.contents_)?(this.contents_=null,t.loaded()):t.pause();else{var n=this.loadFlags.module==goog.ModuleType.ES6;this.lazyFetch_||b();var r=1<t.pending().length,i=r&&goog.DebugLoader_.IS_OLD_IE_;if(r=goog.Dependency.defer_&&(r||goog.isDocumentLoading_()),i||r)t.defer((function(){c()}));else{var s=goog.global.document;if(i=goog.inHtmlDocument_()&&("ActiveXObject"in goog.global||goog.isEdge_()),n&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()&&!i){goog.Dependency.defer_=!0,t.pause();var g=s.onreadystatechange;s.onreadystatechange=function(){"interactive"==s.readyState&&(s.onreadystatechange=g,c(),t.resume()),"function"==typeof g&&g.apply(void 0,arguments)}}else!goog.DebugLoader_.IS_OLD_IE_&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()?function d(){var t=goog.global.document,o=goog.Dependency.registerCallback_((function(){goog.Dependency.unregisterCallback_(o),c()})),n=goog.getScriptNonce();n="<script"+(n?' nonce="'+n+'"':"")+">"+goog.protectScriptTag_('goog.Dependency.callback_("'+o+'");')+"<\/script>",t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(n):n)}():c()}}},goog.TransformedDependency.prototype.transform=function(t){},goog.TranspiledDependency=function(t,o,n,r,i,s){goog.TransformedDependency.call(this,t,o,n,r,i),this.transpiler=s},goog.inherits(goog.TranspiledDependency,goog.TransformedDependency),goog.TranspiledDependency.prototype.transform=function(t){return this.transpiler.transpile(t,this.getPathName())},goog.PreTranspiledEs6ModuleDependency=function(t,o,n,r,i){goog.TransformedDependency.call(this,t,o,n,r,i)},goog.inherits(goog.PreTranspiledEs6ModuleDependency,goog.TransformedDependency),goog.PreTranspiledEs6ModuleDependency.prototype.transform=function(t){return t},goog.GoogModuleDependency=function(t,o,n,r,i,s,g){goog.TransformedDependency.call(this,t,o,n,r,i),this.needsTranspile_=s,this.transpiler_=g},goog.inherits(goog.GoogModuleDependency,goog.TransformedDependency),goog.GoogModuleDependency.prototype.transform=function(t){return this.needsTranspile_&&(t=this.transpiler_.transpile(t,this.getPathName())),goog.LOAD_MODULE_USING_EVAL&&void 0!==goog.global.JSON?"goog.loadModule("+goog.global.JSON.stringify(t+"\n//# sourceURL="+this.path+"\n")+");":'goog.loadModule(function(exports) {"use strict";'+t+"\n;return exports});\n//# sourceURL="+this.path+"\n"},goog.DebugLoader_.IS_OLD_IE_=!(goog.global.atob||!goog.global.document||!goog.global.document.all),goog.DebugLoader_.prototype.addDependency=function(t,o,n,r){o=o||[],t=t.replace(/\\/g,"/");var i=goog.normalizePath_(goog.basePath+t);for(r&&"boolean"!=typeof r||(r=r?{module:goog.ModuleType.GOOG}:{}),n=this.factory_.createDependency(i,t,o,n,r,goog.transpiler_.needsTranspile(r.lang||"es3",r.module)),this.dependencies_[i]=n,n=0;n<o.length;n++)this.idToPath_[o[n]]=i;this.idToPath_[t]=i},goog.DependencyFactory=function(t){this.transpiler=t},goog.DependencyFactory.prototype.createDependency=function(t,o,n,r,i,s){return i.module==goog.ModuleType.GOOG?new goog.GoogModuleDependency(t,o,n,r,i,s,this.transpiler):s?new goog.TranspiledDependency(t,o,n,r,i,this.transpiler):i.module==goog.ModuleType.ES6?"never"==goog.TRANSPILE&&goog.ASSUME_ES_MODULES_TRANSPILED?new goog.PreTranspiledEs6ModuleDependency(t,o,n,r,i):new goog.Es6ModuleDependency(t,o,n,r,i):new goog.Dependency(t,o,n,r,i)},goog.debugLoader_=new goog.DebugLoader_,goog.loadClosureDeps=function(){goog.debugLoader_.loadClosureDeps()},goog.setDependencyFactory=function(t){goog.debugLoader_.setDependencyFactory(t)},goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null,goog.global.CLOSURE_NO_DEPS||goog.debugLoader_.loadClosureDeps(),goog.bootstrap=function(t,o){goog.debugLoader_.bootstrap(t,o)}),!COMPILED){var isChrome87=!1;try{isChrome87=eval(goog.global.trustedTypes.emptyScript)!==goog.global.trustedTypes.emptyScript}catch(t){}goog.CLOSURE_EVAL_PREFILTER_=goog.global.trustedTypes&&isChrome87&&goog.createTrustedTypesPolicy("goog#base#devonly#eval")||{createScript:goog.identity_}}goog.object={},goog.object.forEach=function(t,o,n){for(const r in t)o.call(n,t[r],r,t)},goog.object.filter=function(t,o,n){const r={};for(const i in t)o.call(n,t[i],i,t)&&(r[i]=t[i]);return r},goog.object.map=function(t,o,n){const r={};for(const i in t)r[i]=o.call(n,t[i],i,t);return r},goog.object.some=function(t,o,n){for(const r in t)if(o.call(n,t[r],r,t))return!0;return!1},goog.object.every=function(t,o,n){for(const r in t)if(!o.call(n,t[r],r,t))return!1;return!0},goog.object.getCount=function(t){let o=0;for(const n in t)o++;return o},goog.object.getAnyKey=function(t){for(const o in t)return o},goog.object.getAnyValue=function(t){for(const o in t)return t[o]},goog.object.contains=function(t,o){return goog.object.containsValue(t,o)},goog.object.getValues=function(t){const o=[];let n=0;for(const r in t)o[n++]=t[r];return o},goog.object.getKeys=function(t){const o=[];let n=0;for(const r in t)o[n++]=r;return o},goog.object.getValueByKeys=function(t,o){var n=goog.isArrayLike(o);const r=n?o:arguments;for(n=n?0:1;n<r.length;n++){if(null==t)return;t=t[r[n]]}return t},goog.object.containsKey=function(t,o){return null!==t&&o in t},goog.object.containsValue=function(t,o){for(const n in t)if(t[n]==o)return!0;return!1},goog.object.findKey=function(t,o,n){for(const r in t)if(o.call(n,t[r],r,t))return r},goog.object.findValue=function(t,o,n){return(o=goog.object.findKey(t,o,n))&&t[o]},goog.object.isEmpty=function(t){for(const o in t)return!1;return!0},goog.object.clear=function(t){for(const o in t)delete t[o]},goog.object.remove=function(t,o){let n;return(n=o in t)&&delete t[o],n},goog.object.add=function(t,o,n){if(null!==t&&o in t)throw Error('The object already contains the key "'+o+'"');goog.object.set(t,o,n)},goog.object.get=function(t,o,n){return null!==t&&o in t?t[o]:n},goog.object.set=function(t,o,n){t[o]=n},goog.object.setIfUndefined=function(t,o,n){return o in t?t[o]:t[o]=n},goog.object.setWithReturnValueIfNotSet=function(t,o,n){return o in t?t[o]:(n=n(),t[o]=n)},goog.object.equals=function(t,o){for(const n in t)if(!(n in o)||t[n]!==o[n])return!1;for(const n in o)if(!(n in t))return!1;return!0},goog.object.clone=function(t){const o={};for(const n in t)o[n]=t[n];return o},goog.object.unsafeClone=function(t){if(!t||"object"!=typeof t)return t;if("function"==typeof t.clone)return t.clone();const o=Array.isArray(t)?[]:"function"!=typeof ArrayBuffer||"function"!=typeof ArrayBuffer.isView||!ArrayBuffer.isView(t)||t instanceof DataView?{}:new t.constructor(t.length);for(const n in t)o[n]=goog.object.unsafeClone(t[n]);return o},goog.object.transpose=function(t){const o={};for(const n in t)o[t[n]]=n;return o},goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.object.extend=function(t,o){let n,r;for(let o=1;o<arguments.length;o++){for(n in r=arguments[o],r)t[n]=r[n];for(let o=0;o<goog.object.PROTOTYPE_FIELDS_.length;o++)n=goog.object.PROTOTYPE_FIELDS_[o],Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}},goog.object.create=function(t){const o=arguments.length;if(1==o&&Array.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(o%2)throw Error("Uneven number of arguments");const n={};for(let t=0;t<o;t+=2)n[arguments[t]]=arguments[t+1];return n},goog.object.createSet=function(t){const o=arguments.length;if(1==o&&Array.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);const n={};for(let t=0;t<o;t++)n[arguments[t]]=!0;return n},goog.object.createImmutableView=function(t){let o=t;return Object.isFrozen&&!Object.isFrozen(t)&&(o=Object.create(t),Object.freeze(o)),o},goog.object.isImmutableView=function(t){return!!Object.isFrozen&&Object.isFrozen(t)},goog.object.getAllPropertyNames=function(t,o,n){if(!t)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(t);const r={};for(;t&&(t!==Object.prototype||o)&&(t!==Function.prototype||n);){const o=Object.getOwnPropertyNames(t);for(let t=0;t<o.length;t++)r[o[t]]=!0;t=Object.getPrototypeOf(t)}return goog.object.getKeys(r)},goog.object.getSuperClass=function(t){return(t=Object.getPrototypeOf(t.prototype))&&t.constructor};var com={cognitect:{}};function module$contents$goog$debug$Error_DebugError(t,o){if(Error.captureStackTrace)Error.captureStackTrace(this,module$contents$goog$debug$Error_DebugError);else{const t=Error().stack;t&&(this.stack=t)}t&&(this.message=String(t)),o&&(this.cause=o),this.reportErrorToServer=!0}com.cognitect.transit={},com.cognitect.transit.util={},com.cognitect.transit.util.objectKeys=void 0!==Object.keys?function(t){return Object.keys(t)}:function(t){return goog.object.getKeys(t)},com.cognitect.transit.util.isArray=void 0!==Array.isArray?function(t){return Array.isArray(t)}:function(t){return"array"===goog.typeOf(t)},com.cognitect.transit.util.chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",com.cognitect.transit.util.randInt=function(t){return Math.round(Math.random()*t)},com.cognitect.transit.util.randHex=function(){return com.cognitect.transit.util.randInt(15).toString(16)},com.cognitect.transit.util.randomUUID=function(){var t=(8|3&com.cognitect.transit.util.randInt(14)).toString(16);return com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+"-"+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+"-4"+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+"-"+t+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+"-"+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()+com.cognitect.transit.util.randHex()},com.cognitect.transit.util.btoa=function(t){if("undefined"!=typeof btoa)return btoa(t);t=String(t);for(var o,n,r=0,i=com.cognitect.transit.util.chars,s="";t.charAt(0|r)||(i="=",r%1);s+=i.charAt(63&o>>8-r%1*8)){if(255<(n=t.charCodeAt(r+=.75)))throw Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");o=o<<8|n}return s},com.cognitect.transit.util.atob=function(t){if("undefined"!=typeof atob)return atob(t);if(1==(t=String(t).replace(/=+$/,"")).length%4)throw Error("'atob' failed: The string to be decoded is not correctly encoded.");for(var o,n,r=0,i=0,s="";n=t.charAt(i++);~n&&(o=r%4?64*o+n:n,r++%4)?s+=String.fromCharCode(255&o>>(-2*r&6)):0)n=com.cognitect.transit.util.chars.indexOf(n);return s},com.cognitect.transit.util.Uint8ToBase64=function(t){for(var o,n=0,r=t.length,i="";n<r;)o=t.subarray(n,Math.min(n+32768,r)),i+=String.fromCharCode.apply(null,o),n+=32768;return com.cognitect.transit.util.btoa(i)},com.cognitect.transit.util.Base64ToUint8=function(t){for(var o=(t=com.cognitect.transit.util.atob(t)).length,n=new Uint8Array(o),r=0;r<o;r++){var i=t.charCodeAt(r);n[r]=i}return n},com.cognitect.transit.delimiters={},com.cognitect.transit.delimiters.ESC="~",com.cognitect.transit.delimiters.TAG="#",com.cognitect.transit.delimiters.SUB="^",com.cognitect.transit.delimiters.RES="`",com.cognitect.transit.delimiters.ESC_TAG="~#",com.cognitect.transit.caching={},com.cognitect.transit.caching.MIN_SIZE_CACHEABLE=3,com.cognitect.transit.caching.BASE_CHAR_IDX=48,com.cognitect.transit.caching.CACHE_CODE_DIGITS=44,com.cognitect.transit.caching.MAX_CACHE_ENTRIES=com.cognitect.transit.caching.CACHE_CODE_DIGITS*com.cognitect.transit.caching.CACHE_CODE_DIGITS,com.cognitect.transit.caching.MAX_CACHE_SIZE=4096,com.cognitect.transit.caching.isCacheable=function(t,o){return t.length>com.cognitect.transit.caching.MIN_SIZE_CACHEABLE&&(!!o||(o=t.charAt(0),t=t.charAt(1),o===com.cognitect.transit.delimiters.ESC&&(":"===t||"$"===t||"#"===t)))},com.cognitect.transit.caching.idxToCode=function(t){var o=Math.floor(t/com.cognitect.transit.caching.CACHE_CODE_DIGITS);return t=String.fromCharCode(t%com.cognitect.transit.caching.CACHE_CODE_DIGITS+com.cognitect.transit.caching.BASE_CHAR_IDX),0===o?com.cognitect.transit.delimiters.SUB+t:com.cognitect.transit.delimiters.SUB+String.fromCharCode(o+com.cognitect.transit.caching.BASE_CHAR_IDX)+t},com.cognitect.transit.caching.WriteCache=function(){this.cacheSize=this.gen=this.idx=0,this.cache={}},com.cognitect.transit.caching.WriteCache.prototype.write=function(t,o){return com.cognitect.transit.caching.isCacheable(t,o)?(this.cacheSize===com.cognitect.transit.caching.MAX_CACHE_SIZE?(this.clear(),this.gen=0,this.cache={}):this.idx===com.cognitect.transit.caching.MAX_CACHE_ENTRIES&&this.clear(),null==(o=this.cache[t])?(this.cache[t]=[com.cognitect.transit.caching.idxToCode(this.idx),this.gen],this.idx++,t):o[1]!=this.gen?(o[1]=this.gen,o[0]=com.cognitect.transit.caching.idxToCode(this.idx),this.idx++,t):o[0]):t},com.cognitect.transit.caching.WriteCache.prototype.clear=function(){this.idx=0,this.gen++},com.cognitect.transit.caching.writeCache=function(){return new com.cognitect.transit.caching.WriteCache},com.cognitect.transit.caching.isCacheCode=function(t){return t.charAt(0)===com.cognitect.transit.delimiters.SUB&&" "!==t.charAt(1)},com.cognitect.transit.caching.codeToIdx=function(t){return 2===t.length?t.charCodeAt(1)-com.cognitect.transit.caching.BASE_CHAR_IDX:(t.charCodeAt(1)-com.cognitect.transit.caching.BASE_CHAR_IDX)*com.cognitect.transit.caching.CACHE_CODE_DIGITS+(t=t.charCodeAt(2)-com.cognitect.transit.caching.BASE_CHAR_IDX)},com.cognitect.transit.caching.ReadCache=function(){this.idx=0,this.cache=[]},com.cognitect.transit.caching.ReadCache.prototype.write=function(t,o){return this.idx==com.cognitect.transit.caching.MAX_CACHE_ENTRIES&&(this.idx=0),this.cache[this.idx]=t,this.idx++,t},com.cognitect.transit.caching.ReadCache.prototype.read=function(t,o){return this.cache[com.cognitect.transit.caching.codeToIdx(t)]},com.cognitect.transit.caching.ReadCache.prototype.clear=function(){this.idx=0},com.cognitect.transit.caching.readCache=function(){return new com.cognitect.transit.caching.ReadCache},com.cognitect.transit.eq={},com.cognitect.transit.eq.hashCodeProperty="transit$hashCode$",com.cognitect.transit.eq.hashCodeCounter=1,com.cognitect.transit.eq.equals=function(t,o){if(null==t)return null==o;if(t===o)return!0;if("object"==typeof t){if(com.cognitect.transit.util.isArray(t)){if(com.cognitect.transit.util.isArray(o)&&t.length===o.length){for(var n=0;n<t.length;n++)if(!com.cognitect.transit.eq.equals(t[n],o[n]))return!1;return!0}return!1}if(t.com$cognitect$transit$equals)return t.com$cognitect$transit$equals(o);if(null!=o&&"object"==typeof o){if(o.com$cognitect$transit$equals)return o.com$cognitect$transit$equals(t);n=0;var r,i=com.cognitect.transit.util.objectKeys(o).length;for(r in t)if(t.hasOwnProperty(r)&&(n++,!o.hasOwnProperty(r)||!com.cognitect.transit.eq.equals(t[r],o[r])))return!1;return n===i}}return!1},com.cognitect.transit.eq.hashCombine=function(t,o){return t^o+2654435769+(t<<6)+(t>>2)},com.cognitect.transit.eq.stringCodeCache={},com.cognitect.transit.eq.stringCodeCacheSize=0,com.cognitect.transit.eq.STR_CACHE_MAX=256,com.cognitect.transit.eq.hashString=function(t){var o=com.cognitect.transit.eq.stringCodeCache[t];if(null!=o)return o;for(var n=o=0;n<t.length;++n)o=31*o+t.charCodeAt(n),o%=4294967296;return com.cognitect.transit.eq.stringCodeCacheSize++,com.cognitect.transit.eq.stringCodeCacheSize>=com.cognitect.transit.eq.STR_CACHE_MAX&&(com.cognitect.transit.eq.stringCodeCache={},com.cognitect.transit.eq.stringCodeCacheSize=1),com.cognitect.transit.eq.stringCodeCache[t]=o},com.cognitect.transit.eq.hashMapLike=function(t){var o=0;if(null!=t.forEach)t.forEach((function(t,n,r){o=(o+(com.cognitect.transit.eq.hashCode(n)^com.cognitect.transit.eq.hashCode(t)))%4503599627370496}));else for(var n=com.cognitect.transit.util.objectKeys(t),r=0;r<n.length;r++){var i=n[r],s=t[i];o=(o+(com.cognitect.transit.eq.hashCode(i)^com.cognitect.transit.eq.hashCode(s)))%4503599627370496}return o},com.cognitect.transit.eq.hashArrayLike=function(t){var o=0;if(com.cognitect.transit.util.isArray(t))for(var n=0;n<t.length;n++)o=com.cognitect.transit.eq.hashCombine(o,com.cognitect.transit.eq.hashCode(t[n]));else t.forEach&&t.forEach((function(t,n){o=com.cognitect.transit.eq.hashCombine(o,com.cognitect.transit.eq.hashCode(t))}));return o},com.cognitect.transit.eq.hashCode=function(t){if(null==t)return 0;switch(typeof t){case"number":return t;case"boolean":return!0===t?1:0;case"string":return com.cognitect.transit.eq.hashString(t);case"function":var o=t[com.cognitect.transit.eq.hashCodeProperty];return o||(o=com.cognitect.transit.eq.hashCodeCounter,void 0!==Object.defineProperty?Object.defineProperty(t,com.cognitect.transit.eq.hashCodeProperty,{value:o,enumerable:!1}):t[com.cognitect.transit.eq.hashCodeProperty]=o,com.cognitect.transit.eq.hashCodeCounter++),o;default:return t instanceof Date?t.valueOf():com.cognitect.transit.util.isArray(t)?com.cognitect.transit.eq.hashArrayLike(t):t.com$cognitect$transit$hashCode?t.com$cognitect$transit$hashCode():com.cognitect.transit.eq.hashMapLike(t)}},com.cognitect.transit.eq.extendToEQ=function(t,o){return t.com$cognitect$transit$hashCode=o.hashCode,t.com$cognitect$transit$equals=o.equals,t},goog.debug={},goog.inherits(module$contents$goog$debug$Error_DebugError,Error),module$contents$goog$debug$Error_DebugError.prototype.name="CustomError",goog.debug.Error=module$contents$goog$debug$Error_DebugError,goog.dom={},goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},goog.asserts={},goog.asserts.ENABLE_ASSERTS=goog.DEBUG,goog.asserts.AssertionError=function(t,o){module$contents$goog$debug$Error_DebugError.call(this,goog.asserts.subs_(t,o)),this.messagePattern=t},goog.inherits(goog.asserts.AssertionError,module$contents$goog$debug$Error_DebugError),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(t){throw t},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(t,o){for(var n="",r=(t=t.split("%s")).length-1,i=0;i<r;i++)n+=t[i]+(i<o.length?o[i]:"%s");return n+t[r]},goog.asserts.doAssertFailure_=function(t,o,n,r){var i="Assertion failed";if(n){i+=": "+n;var s=r}else t&&(i+=": "+t,s=o);t=new goog.asserts.AssertionError(""+i,s||[]),goog.asserts.errorHandler_(t)},goog.asserts.setErrorHandler=function(t){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=t)},goog.asserts.assert=function(t,o,n){return goog.asserts.ENABLE_ASSERTS&&!t&&goog.asserts.doAssertFailure_("",null,o,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertExists=function(t,o,n){return goog.asserts.ENABLE_ASSERTS&&null==t&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[t],o,Array.prototype.slice.call(arguments,2)),t},goog.asserts.fail=function(t,o){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(t?": "+t:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(t,o,n){return goog.asserts.ENABLE_ASSERTS&&"number"!=typeof t&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(t),t],o,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertString=function(t,o,n){return goog.asserts.ENABLE_ASSERTS&&"string"!=typeof t&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(t),t],o,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertFunction=function(t,o,n){return goog.asserts.ENABLE_ASSERTS&&"function"!=typeof t&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(t),t],o,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertObject=function(t,o,n){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(t)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(t),t],o,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertArray=function(t,o,n){return goog.asserts.ENABLE_ASSERTS&&!Array.isArray(t)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(t),t],o,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertBoolean=function(t,o,n){return goog.asserts.ENABLE_ASSERTS&&"boolean"!=typeof t&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(t),t],o,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertElement=function(t,o,n){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(t)&&t.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(t),t],o,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertInstanceof=function(t,o,n,r){return!goog.asserts.ENABLE_ASSERTS||t instanceof o||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(o),goog.asserts.getType_(t)],n,Array.prototype.slice.call(arguments,3)),t},goog.asserts.assertFinite=function(t,o,n){return!goog.asserts.ENABLE_ASSERTS||"number"==typeof t&&isFinite(t)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[t],o,Array.prototype.slice.call(arguments,2)),t},goog.asserts.getType_=function(t){return t instanceof Function?t.displayName||t.name||"unknown type name":t instanceof Object?t.constructor.displayName||t.constructor.name||Object.prototype.toString.call(t):null===t?"null":typeof t},goog.reflect={},goog.reflect.object=function(t,o){return o},goog.reflect.objectProperty=function(t,o){return t},goog.reflect.sinkValue=function(t){return goog.reflect.sinkValue[" "](t),t},goog.reflect.sinkValue[" "]=goog.nullFunction,goog.reflect.canAccessProperty=function(t,o){try{return goog.reflect.sinkValue(t[o]),!0}catch(t){}return!1},goog.reflect.cache=function(t,o,n,r){return r=r?r(o):o,Object.prototype.hasOwnProperty.call(t,r)?t[r]:t[r]=n(o)},goog.math={};class module$contents$goog$math$Long_Long{constructor(t,o){this.low_=0|t,this.high_=0|o}toInt(){return this.low_}toNumber(){return this.high_*module$contents$goog$math$Long_TWO_PWR_32_DBL_+this.getLowBitsUnsigned()}isSafeInteger(){var t=this.high_>>21;return 0==t||-1==t&&!(0==this.low_&&-2097152==this.high_)}toString(t){if(2>(t=t||10)||36<t)throw Error("radix out of range: "+t);if(this.isSafeInteger()){var o=this.toNumber();return 10==t?""+o:o.toString(t)}o=14-(t>>2);var n=Math.pow(t,o),r=module$contents$goog$math$Long_Long.fromBits(n,n/module$contents$goog$math$Long_TWO_PWR_32_DBL_);n=this.div(r),r=Math.abs(this.subtract(n.m