var $jscomp = $jscomp || {}; $jscomp.scope = {}; $jscomp.ASSUME_ES5 = !1; $jscomp.ASSUME_NO_NATIVE_MAP = !1; $jscomp.ASSUME_NO_NATIVE_SET = !1; $jscomp.defineProperty = $jscomp.ASSUME_ES5 || "function" == typeof Object.defineProperties ? Object.defineProperty : function(target, property, descriptor) { target != Array.prototype && target != Object.prototype && (target[property] = descriptor.value); }; $jscomp.getGlobal = function(maybeGlobal) { return "undefined" != typeof window && window === maybeGlobal ? maybeGlobal : "undefined" != typeof global && null != global ? global : maybeGlobal; }; $jscomp.global = $jscomp.getGlobal(this); $jscomp.SYMBOL_PREFIX = "jscomp_symbol_"; $jscomp.initSymbol = function() { $jscomp.initSymbol = function() { }; $jscomp.global.Symbol || ($jscomp.global.Symbol = $jscomp.Symbol); }; $jscomp.Symbol = function() { var counter = 0; return function Symbol(opt_description) { return $jscomp.SYMBOL_PREFIX + (opt_description || "") + counter++; }; }(); $jscomp.initSymbolIterator = function() { $jscomp.initSymbol(); var symbolIterator = $jscomp.global.Symbol.iterator; symbolIterator || (symbolIterator = $jscomp.global.Symbol.iterator = $jscomp.global.Symbol("iterator")); "function" != typeof Array.prototype[symbolIterator] && $jscomp.defineProperty(Array.prototype, symbolIterator, {configurable:!0, writable:!0, value:function() { return $jscomp.arrayIterator(this); }}); $jscomp.initSymbolIterator = function() { }; }; $jscomp.arrayIterator = function(array) { var index = 0; return $jscomp.iteratorPrototype(function() { return index < array.length ? {done:!1, value:array[index++]} : {done:!0}; }); }; $jscomp.iteratorPrototype = function(next) { $jscomp.initSymbolIterator(); var iterator = {next:next}; iterator[$jscomp.global.Symbol.iterator] = function() { return this; }; return iterator; }; $jscomp.makeIterator = function(iterable) { $jscomp.initSymbolIterator(); var iteratorFunction = iterable[Symbol.iterator]; return iteratorFunction ? iteratorFunction.call(iterable) : $jscomp.arrayIterator(iterable); }; $jscomp.checkStringArgs = function(thisArg, arg, func) { if (null == thisArg) { throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined"); } if (arg instanceof RegExp) { throw new TypeError("First argument to String.prototype." + func + " must not be a regular expression"); } return thisArg + ""; }; $jscomp.polyfill = function(target, polyfill, fromLang, toLang) { if (polyfill) { for (var obj = $jscomp.global, split = target.split("."), i = 0; i < split.length - 1; i++) { var key = split[i]; key in obj || (obj[key] = {}); obj = obj[key]; } var property = split[split.length - 1], orig = obj[property], impl = polyfill(orig); impl != orig && null != impl && $jscomp.defineProperty(obj, property, {configurable:!0, writable:!0, value:impl}); } }; $jscomp.findInternal = function(array, callback, thisArg) { array instanceof String && (array = String(array)); for (var len = array.length, i = 0; i < len; i++) { var value = array[i]; if (callback.call(thisArg, value, i, array)) { return {i:i, v:value}; } } return {i:-1, v:void 0}; }; $jscomp.owns = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }; $jscomp.polyfill("Object.entries", function(orig) { return orig ? orig : function(obj) { var result = [], key; for (key in obj) { $jscomp.owns(obj, key) && result.push([key, obj[key]]); } return result; }; }, "es8", "es3"); $jscomp.polyfill("Object.assign", function(orig) { return orig ? orig : function(target, var_args) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; if (source) { for (var key in source) { $jscomp.owns(source, key) && (target[key] = source[key]); } } } return target; }; }, "es6", "es3"); var goog = goog || {}; goog.global = this; goog.isDef = function(val) { return void 0 !== val; }; goog.isString = function(val) { return "string" == typeof val; }; goog.isBoolean = function(val) { return "boolean" == typeof val; }; goog.isNumber = function(val) { return "number" == typeof val; }; goog.exportPath_ = function(name, opt_object, opt_objectToExportTo) { var parts = name.split("."), cur = opt_objectToExportTo || goog.global; parts[0] in cur || !cur.execScript || cur.execScript("var " + parts[0]); for (var part; parts.length && (part = parts.shift());) { !parts.length && goog.isDef(opt_object) ? cur[part] = opt_object : cur = cur[part] && cur[part] !== Object.prototype[part] ? cur[part] : cur[part] = {}; } }; goog.define = function(name, defaultValue) { goog.exportPath_(name, defaultValue); }; 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(name) { if (goog.isInModuleLoader_()) { throw Error("goog.provide can not be used within a goog.module."); } goog.constructNamespace_(name); }; goog.constructNamespace_ = function(name, opt_obj) { var namespace; goog.exportPath_(name, opt_obj); }; goog.VALID_MODULE_RE_ = /^[a-zA-Z_$][a-zA-Z0-9._$]*$/; goog.module = function(name) { if (!goog.isString(name) || !name || -1 == name.search(goog.VALID_MODULE_RE_)) { throw Error("Invalid module identifier"); } if (!goog.isInModuleLoader_()) { throw Error("Module " + name + " 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 = name; }; goog.module.get = function(name) { return goog.module.getInternal_(name); }; goog.module.getInternal_ = function(name) { var ns; return null; }; goog.moduleLoaderState_ = null; goog.isInModuleLoader_ = function() { return null != goog.moduleLoaderState_; }; goog.module.declareLegacyNamespace = function() { goog.moduleLoaderState_.declareLegacyNamespace = !0; }; goog.setTestOnly = function(opt_message) { if (goog.DISALLOW_TEST_ONLY_CODE) { throw opt_message = opt_message || "", Error("Importing test-only code into non-debug environment" + (opt_message ? ": " + opt_message : ".")); } }; goog.forwardDeclare = function(name) { }; goog.getObjectByName = function(name, opt_obj) { for (var parts = name.split("."), cur = opt_obj || goog.global, i = 0; i < parts.length; i++) { if (cur = cur[parts[i]], !goog.isDefAndNotNull(cur)) { return null; } } return cur; }; goog.globalize = function(obj, opt_global) { var global = opt_global || goog.global, x; for (x in obj) { global[x] = obj[x]; } }; goog.addDependency = function(relPath, provides, requires, opt_loadFlags) { if (goog.DEPENDENCIES_ENABLED) { var loader = goog.getLoader_(); loader && loader.addDependency(relPath, provides, requires, opt_loadFlags); } }; goog.useStrictRequires = !1; goog.ENABLE_DEBUG_LOADER = !0; goog.logToConsole_ = function(msg) { goog.global.console && goog.global.console.error(msg); }; goog.require = function(name) { var loader, moduleLoaderState; goog.ENABLE_DEBUG_LOADER && goog.debugLoader_ && goog.getLoader_().earlyProcessLoad(name); }; goog.basePath = ""; goog.nullFunction = function() { }; goog.abstractMethod = function() { throw Error("unimplemented abstract method"); }; goog.addSingletonGetter = function(ctor) { ctor.instance_ = void 0; ctor.getInstance = function() { if (ctor.instance_) { return ctor.instance_; } goog.DEBUG && (goog.instantiatedSingletons_[goog.instantiatedSingletons_.length] = ctor); return ctor.instance_ = new ctor; }; }; goog.instantiatedSingletons_ = []; goog.LOAD_MODULE_USING_EVAL = !0; goog.SEAL_MODULE_EXPORTS = goog.DEBUG; goog.loadedModules_ = {}; goog.DEPENDENCIES_ENABLED = !1; goog.TRANSPILE = "detect"; goog.TRANSPILER = "transpile.js"; goog.DEBUG_LOADER = ""; goog.DEPENDENCIES_ENABLED && (goog.inHtmlDocument_ = function() { var doc = goog.global.document; return null != doc && "write" in doc; }, goog.findBasePath_ = function() { if (goog.isDef(goog.global.CLOSURE_BASE_PATH) && goog.isString(goog.global.CLOSURE_BASE_PATH)) { goog.basePath = goog.global.CLOSURE_BASE_PATH; } else { if (goog.inHtmlDocument_()) { for (var doc = goog.global.document, currentScript = doc.currentScript, scripts = currentScript ? [currentScript] : doc.getElementsByTagName("SCRIPT"), i = scripts.length - 1; 0 <= i; --i) { var src = scripts[i].src, qmark = src.lastIndexOf("?"), l = -1 == qmark ? src.length : qmark; if ("base.js" == src.substr(l - 7, 7)) { goog.basePath = src.substr(0, l - 7); break; } } } } }, goog.findBasePath_(), goog.retrieveAndEval_ = function(srcUrl) { var contents = goog.loadFileSync_(srcUrl); contents ? goog.globalEval(contents + ("\n//# sourceURL=" + srcUrl)) : goog.logToConsole_("Could not retrieve file " + srcUrl); }, goog.Transpiler = function() { this.requiresTranspilation_ = null; }, goog.Transpiler.prototype.createRequiresTranspilation_ = function() { function addNewerLanguageTranspilationCheck(modeName, isSupported) { transpilationRequiredForAllLaterModes ? requiresTranspilation[modeName] = !0 : isSupported() ? requiresTranspilation[modeName] = !1 : transpilationRequiredForAllLaterModes = requiresTranspilation[modeName] = !0; } function evalCheck(code) { try { return !!eval(code); } catch (ignored) { return !1; } } var requiresTranspilation = {es3:!1}, transpilationRequiredForAllLaterModes = !1, userAgent = goog.global.navigator && goog.global.navigator.userAgent ? goog.global.navigator.userAgent : ""; addNewerLanguageTranspilationCheck("es5", function() { return evalCheck("[1,].length==1"); }); addNewerLanguageTranspilationCheck("es6", function() { var edgeUserAgent = userAgent.match(/Edge\/(\d+)(\.\d)*/i); return edgeUserAgent && 15 > Number(edgeUserAgent[1]) ? !1 : evalCheck('(()=>{"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}})()'); }); addNewerLanguageTranspilationCheck("es6-impl", function() { return !0; }); addNewerLanguageTranspilationCheck("es7", function() { return evalCheck("2 ** 2 == 4"); }); addNewerLanguageTranspilationCheck("es8", function() { return evalCheck("async () => 1, true"); }); return requiresTranspilation; }, goog.Transpiler.prototype.needsTranspile = function(lang) { if ("always" == goog.TRANSPILE) { return !0; } if ("never" == goog.TRANSPILE) { return !1; } this.requiresTranspilation_ || (this.requiresTranspilation_ = this.createRequiresTranspilation_()); if (lang in this.requiresTranspilation_) { return this.requiresTranspilation_[lang]; } throw Error("Unknown language mode: " + lang); }, goog.Transpiler.prototype.transpile = function(code$jscomp$0, path$jscomp$0) { var jscomp = goog.global.$jscomp; jscomp || (goog.global.$jscomp = jscomp = {}); var transpile = jscomp.transpile; if (!transpile) { var transpilerPath = goog.basePath + goog.TRANSPILER, transpilerCode = goog.loadFileSync_(transpilerPath); if (transpilerCode) { (function() { eval(transpilerCode + "\n//# sourceURL=" + transpilerPath); }).call(goog.global); if (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; jscomp = goog.global.$jscomp; transpile = jscomp.transpile; } } if (!transpile) { var suffix = " requires transpilation but no transpiler was found."; suffix += ' Please add "//javascript/closure:transpiler" as a data dependency to ensure it is included.'; transpile = jscomp.transpile = goog.bind(function(code, path) { goog.logToConsole_(path + suffix); return code; }, this); } return transpile(code$jscomp$0, path$jscomp$0); }, goog.transpiler_ = new goog.Transpiler, goog.DebugLoader = function() { this.dependencies_ = {loadFlags:{}, nameToPath:{}, requires:{}, visited:{}, written:{}, deferred:{}}; this.oldIeWaiting_ = !1; this.queuedModules_ = []; this.lastNonModuleScriptIndex_ = 0; }, goog.DebugLoader.IS_OLD_IE_ = !(goog.global.atob || !goog.global.document || !goog.global.document.all), goog.DebugLoader.prototype.earlyProcessLoad = function(name) { goog.DebugLoader.IS_OLD_IE_ && this.maybeProcessDeferredDep_(name); }, goog.DebugLoader.prototype.load = function(name) { var pathToLoad = this.getPathFromDeps_(name); if (pathToLoad) { var visitNode = function(path) { if (!(path in deps.written || path in deps.visited)) { deps.visited[path] = !0; if (path in deps.requires) { for (var requireName in deps.requires[path]) { if (!loader.isProvided(requireName)) { if (requireName in deps.nameToPath) { visitNode(deps.nameToPath[requireName]); } else { throw Error("Undefined nameToPath for " + requireName); } } } } path in seenScript || (seenScript[path] = !0, scripts.push(path)); } }, scripts = [], seenScript = {}, deps = this.dependencies_, loader = this; visitNode(pathToLoad); for (var i = 0; i < scripts.length; i++) { var path$jscomp$0 = scripts[i]; this.dependencies_.written[path$jscomp$0] = !0; } for (i = 0; i < scripts.length; i++) { if (path$jscomp$0 = scripts[i]) { var loadFlags = deps.loadFlags[path$jscomp$0] || {}, needsTranspile = this.getTranspiler().needsTranspile(loadFlags.lang || "es3"); "goog" == loadFlags.module || needsTranspile ? this.importProcessedScript_(goog.basePath + path$jscomp$0, "goog" == loadFlags.module, needsTranspile) : this.importScript_(goog.basePath + path$jscomp$0); } else { throw Error("Undefined script input"); } } } else { var errorMessage = "goog.require could not find: " + name; this.logToConsole(errorMessage); if (goog.useStrictRequires) { throw Error(errorMessage); } } }, goog.DebugLoader.prototype.addDependency = function(relPath, provides, requires, opt_loadFlags) { var provide, require, path = relPath.replace(/\\/g, "/"), deps = this.dependencies_; opt_loadFlags && "boolean" !== typeof opt_loadFlags || (opt_loadFlags = opt_loadFlags ? {module:"goog"} : {}); for (var i = 0; provide = provides[i]; i++) { deps.nameToPath[provide] = path, deps.loadFlags[path] = opt_loadFlags; } for (var j = 0; require = requires[j]; j++) { path in deps.requires || (deps.requires[path] = {}), deps.requires[path][require] = !0; } }, goog.DebugLoader.prototype.importScript_ = function(src, opt_sourceText) { (goog.global.CLOSURE_IMPORT_SCRIPT || goog.bind(this.writeScriptTag_, this))(src, opt_sourceText) && (this.dependencies_.written[src] = !0); }, goog.DebugLoader.prototype.importProcessedScript_ = function(src, isModule, needsTranspile) { this.importScript_("", 'goog.debugLoader_.retrieveAndExec_("' + src + '", ' + isModule + ", " + needsTranspile + ");"); }, goog.DebugLoader.prototype.retrieveAndExec_ = function(src, isModule, needsTranspile) { var scriptText, importScript, originalPath; }, goog.DebugLoader.prototype.wrapModule_ = function(srcUrl, scriptText) { return goog.LOAD_MODULE_USING_EVAL && goog.isDef(goog.global.JSON) ? "goog.loadModule(" + goog.global.JSON.stringify(scriptText + "\n//# sourceURL=" + srcUrl + "\n") + ");" : 'goog.loadModule(function(exports) {"use strict";' + scriptText + "\n;return exports});\n//# sourceURL=" + srcUrl + "\n"; }, goog.DebugLoader.prototype.loadQueuedModules_ = function() { var count = this.queuedModules_.length; if (0 < count) { var queue = this.queuedModules_; this.queuedModules_ = []; for (var i = 0; i < count; i++) { this.maybeProcessDeferredPath_(queue[i]); } } this.oldIeWaiting_ = !1; }, goog.DebugLoader.prototype.maybeProcessDeferredDep_ = function(name) { this.isDeferredModule_(name) && this.allDepsAreAvailable_(name) && this.maybeProcessDeferredPath_(goog.basePath + this.getPathFromDeps_(name)); }, goog.DebugLoader.prototype.isDeferredModule_ = function(name) { var path = this.getPathFromDeps_(name), loadFlags = path && this.dependencies_.loadFlags[path] || {}, languageLevel = loadFlags.lang || "es3"; return path && ("goog" == loadFlags.module || this.getTranspiler().needsTranspile(languageLevel)) ? goog.basePath + path in this.dependencies_.deferred : !1; }, goog.DebugLoader.prototype.allDepsAreAvailable_ = function(name) { var path = this.getPathFromDeps_(name); if (path && path in this.dependencies_.requires) { for (var requireName in this.dependencies_.requires[path]) { if (!this.isProvided(requireName) && !this.isDeferredModule_(requireName)) { return !1; } } } return !0; }, goog.DebugLoader.prototype.maybeProcessDeferredPath_ = function(abspath) { if (abspath in this.dependencies_.deferred) { var src = this.dependencies_.deferred[abspath]; delete this.dependencies_.deferred[abspath]; goog.globalEval(src); } }, goog.DebugLoader.prototype.writeScriptSrcNode_ = function(src) { goog.global.document.write('