// Copyright 2014-2019 Volker Sorge // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var $jscomp = $jscomp || {}; $jscomp.scope = {}; $jscomp.arrayIteratorImpl = function (a) { var b = 0; return function () { return b < a.length ? { done: !1, value: a[b++] } : { done: !0 }; }; }; $jscomp.arrayIterator = function (a) { return { next: $jscomp.arrayIteratorImpl(a) }; }; $jscomp.makeIterator = function (a) { var b = "undefined" != typeof Symbol && Symbol.iterator && a[Symbol.iterator]; return b ? b.call(a) : $jscomp.arrayIterator(a); }; $jscomp.arrayFromIterator = function (a) { for (var b, c = []; !(b = a.next()).done; ) c.push(b.value); return c; }; $jscomp.ASSUME_ES5 = !1; $jscomp.ASSUME_NO_NATIVE_MAP = !1; $jscomp.ASSUME_NO_NATIVE_SET = !1; $jscomp.SIMPLE_FROUND_POLYFILL = !1; $jscomp.ISOLATE_POLYFILLS = !1; $jscomp.defineProperty = $jscomp.ASSUME_ES5 || "function" == typeof Object.defineProperties ? Object.defineProperty : function (a, b, c) { if (a == Array.prototype || a == Object.prototype) return a; a[b] = c.value; return a; }; $jscomp.getGlobal = function (a) { a = [ "object" == typeof globalThis && globalThis, a, "object" == typeof window && window, "object" == typeof self && self, "object" == typeof global && global, ]; for (var b = 0; b < a.length; ++b) { var c = a[b]; if (c && c.Math == Math) return c; } throw Error("Cannot find global object"); }; $jscomp.global = $jscomp.getGlobal(this); $jscomp.IS_SYMBOL_NATIVE = "function" === typeof Symbol && "symbol" === typeof Symbol("x"); $jscomp.TRUST_ES6_POLYFILLS = !$jscomp.ISOLATE_POLYFILLS || $jscomp.IS_SYMBOL_NATIVE; $jscomp.polyfills = {}; $jscomp.propertyToPolyfillSymbol = {}; $jscomp.POLYFILL_PREFIX = "$jscp$"; var $jscomp$lookupPolyfilledValue = function (a, b) { var c = $jscomp.propertyToPolyfillSymbol[b]; if (null == c) return a[b]; c = a[c]; return void 0 !== c ? c : a[b]; }; $jscomp.polyfill = function (a, b, c, d) { b && ($jscomp.ISOLATE_POLYFILLS ? $jscomp.polyfillIsolated(a, b, c, d) : $jscomp.polyfillUnisolated(a, b, c, d)); }; $jscomp.polyfillUnisolated = function (a, b, c, d) { c = $jscomp.global; a = a.split("."); for (d = 0; d < a.length - 1; d++) { var e = a[d]; if (!(e in c)) return; c = c[e]; } a = a[a.length - 1]; d = c[a]; b = b(d); b != d && null != b && $jscomp.defineProperty(c, a, { configurable: !0, writable: !0, value: b }); }; $jscomp.polyfillIsolated = function (a, b, c, d) { var e = a.split("."); a = 1 === e.length; d = e[0]; d = !a && d in $jscomp.polyfills ? $jscomp.polyfills : $jscomp.global; for (var f = 0; f < e.length - 1; f++) { var g = e[f]; if (!(g in d)) return; d = d[g]; } e = e[e.length - 1]; c = $jscomp.IS_SYMBOL_NATIVE && "es6" === c ? d[e] : null; b = b(c); null != b && (a ? $jscomp.defineProperty($jscomp.polyfills, e, { configurable: !0, writable: !0, value: b, }) : b !== c && (($jscomp.propertyToPolyfillSymbol[e] = $jscomp.IS_SYMBOL_NATIVE ? $jscomp.global.Symbol(e) : $jscomp.POLYFILL_PREFIX + e), (e = $jscomp.propertyToPolyfillSymbol[e]), $jscomp.defineProperty(d, e, { configurable: !0, writable: !0, value: b, }))); }; $jscomp.initSymbol = function () {}; $jscomp.polyfill( "Symbol", function (a) { if (a) return a; var b = function (e, f) { this.$jscomp$symbol$id_ = e; $jscomp.defineProperty(this, "description", { configurable: !0, writable: !0, value: f, }); }; b.prototype.toString = function () { return this.$jscomp$symbol$id_; }; var c = 0, d = function (e) { if (this instanceof d) throw new TypeError("Symbol is not a constructor"); return new b("jscomp_symbol_" + (e || "") + "_" + c++, e); }; return d; }, "es6", "es3", ); $jscomp.initSymbolIterator = function () {}; $jscomp.polyfill( "Symbol.iterator", function (a) { if (a) return a; a = Symbol("Symbol.iterator"); for ( var b = "Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split( " ", ), c = 0; c < b.length; c++ ) { var d = $jscomp.global[b[c]]; "function" === typeof d && "function" != typeof d.prototype[a] && $jscomp.defineProperty(d.prototype, a, { configurable: !0, writable: !0, value: function () { return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this)); }, }); } return a; }, "es6", "es3", ); $jscomp.initSymbolAsyncIterator = function () {}; $jscomp.iteratorPrototype = function (a) { a = { next: a }; a[Symbol.iterator] = function () { return this; }; return a; }; $jscomp.iteratorFromArray = function (a, b) { a instanceof String && (a += ""); var c = 0, d = { next: function () { if (c < a.length) { var e = c++; return { value: b(e, a[e]), done: !1 }; } d.next = function () { return { done: !0, value: void 0 }; }; return d.next(); }, }; d[Symbol.iterator] = function () { return d; }; return d; }; $jscomp.polyfill( "Array.prototype.keys", function (a) { return a ? a : function () { return $jscomp.iteratorFromArray(this, function (b) { return b; }); }; }, "es6", "es3", ); $jscomp.findInternal = function (a, b, c) { a instanceof String && (a = String(a)); for (var d = a.length, e = 0; e < d; e++) { var f = a[e]; if (b.call(c, f, e, a)) return { i: e, v: f }; } return { i: -1, v: void 0 }; }; $jscomp.polyfill( "Array.prototype.find", function (a) { return a ? a : function (b, c) { return $jscomp.findInternal(this, b, c).v; }; }, "es6", "es3", ); $jscomp.checkStringArgs = function (a, b, c) { if (null == a) throw new TypeError( "The 'this' value for String.prototype." + c + " must not be null or undefined", ); if (b instanceof RegExp) throw new TypeError( "First argument to String.prototype." + c + " must not be a regular expression", ); return a + ""; }; $jscomp.polyfill( "String.prototype.repeat", function (a) { return a ? a : function (b) { var c = $jscomp.checkStringArgs(this, null, "repeat"); if (0 > b || 1342177279 < b) throw new RangeError("Invalid count value"); b |= 0; for (var d = ""; b; ) if ((b & 1 && (d += c), (b >>>= 1))) c += c; return d; }; }, "es6", "es3", ); var COMPILED = !0, goog = goog || {}; goog.global = this || self; goog.exportPath_ = function (a, b, c) { a = a.split("."); c = c || goog.global; a[0] in c || "undefined" == typeof c.execScript || c.execScript("var " + a[0]); for (var d; a.length && (d = a.shift()); ) a.length || void 0 === b ? (c = c[d] && c[d] !== Object.prototype[d] ? c[d] : (c[d] = {})) : (c[d] = b); }; goog.define = function (a, b) { if (!COMPILED) { var c = goog.global.CLOSURE_UNCOMPILED_DEFINES, d = goog.global.CLOSURE_DEFINES; c && void 0 === c.nodeType && Object.prototype.hasOwnProperty.call(c, a) ? (b = c[a]) : d && void 0 === d.nodeType && Object.prototype.hasOwnProperty.call(d, a) && (b = d[a]); } return b; }; goog.FEATURESET_YEAR = 2012; goog.DEBUG = !0; goog.LOCALE = "en"; goog.TRUSTED_SITE = !0; goog.STRICT_MODE_COMPATIBLE = !1; goog.DISALLOW_TEST_ONLY_CODE = COMPILED && !goog.DEBUG; goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING = !1; goog.provide = function (a) { if (goog.isInModuleLoader_()) throw Error("goog.provide cannot be used within a module."); if (!COMPILED && goog.isProvided_(a)) throw Error('Namespace "' + a + '" already declared.'); goog.constructNamespace_(a); }; goog.constructNamespace_ = function (a, b) { if (!COMPILED) { delete goog.implicitNamespaces_[a]; for ( var c = a; (c = c.substring(0, c.lastIndexOf("."))) && !goog.getObjectByName(c); ) goog.implicitNamespaces_[c] = !0; } goog.exportPath_(a, b); }; goog.getScriptNonce = function (a) { if (a && a != goog.global) return goog.getScriptNonce_(a.document); null === goog.cspNonce_ && (goog.cspNonce_ = goog.getScriptNonce_(goog.global.document)); return goog.cspNonce_; }; goog.NONCE_PATTERN_ = /^[\w+/_-]+[=]{0,2}$/; goog.cspNonce_ = null; goog.getScriptNonce_ = function (a) { return (a = a.querySelector && a.querySelector("script[nonce]")) && (a = a.nonce || a.getAttribute("nonce")) && goog.NONCE_PATTERN_.test(a) ? a : ""; }; goog.VALID_MODULE_RE_ = /^[a-zA-Z_$][a-zA-Z0-9._$]*$/; goog.module = function (a) { if ("string" !== typeof a || !a || -1 == a.search(goog.VALID_MODULE_RE_)) throw Error("Invalid module identifier"); if (!goog.isInGoogModuleLoader_()) throw Error( "Module " + a + " 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 = a; if (!COMPILED) { if (goog.isProvided_(a)) throw Error('Namespace "' + a + '" already declared.'); delete goog.implicitNamespaces_[a]; } }; goog.module.get = function (a) { return goog.module.getInternal_(a); }; goog.module.getInternal_ = function (a) { if (!COMPILED) { if (a in goog.loadedModules_) return goog.loadedModules_[a].exports; if (!goog.implicitNamespaces_[a]) return (a = goog.getObjectByName(a)), null != a ? a : 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 a = goog.global.$jscomp; return a ? "function" != typeof a.getCurrentModulePath ? !1 : !!a.getCurrentModulePath() : !1; }; goog.module.declareLegacyNamespace = function () { if (!COMPILED && !goog.isInGoogModuleLoader_()) throw Error( "goog.module.declareLegacyNamespace must be called from within a goog.module", ); if (!COMPILED && !goog.moduleLoaderState_.moduleName) throw Error( "goog.module must be called prior to goog.module.declareLegacyNamespace.", ); goog.moduleLoaderState_.declareLegacyNamespace = !0; }; goog.declareModuleId = function (a) { 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 (a in goog.loadedModules_) throw Error('Module with namespace "' + a + '" already exists.'); } if (goog.moduleLoaderState_) goog.moduleLoaderState_.moduleName = a; else { var b = goog.global.$jscomp; if (!b || "function" != typeof b.getCurrentModulePath) throw Error( 'Module with namespace "' + a + '" has been loaded incorrectly.', ); b = b.require(b.getCurrentModulePath()); goog.loadedModules_[a] = { exports: b, type: goog.ModuleType.ES6, moduleId: a, }; } }; goog.setTestOnly = function (a) { if (goog.DISALLOW_TEST_ONLY_CODE) throw ( ((a = a || ""), Error( "Importing test-only code into non-debug environment" + (a ? ": " + a : "."), )) ); }; goog.forwardDeclare = function (a) {}; COMPILED || ((goog.isProvided_ = function (a) { return ( a in goog.loadedModules_ || (!goog.implicitNamespaces_[a] && null != goog.getObjectByName(a)) ); }), (goog.implicitNamespaces_ = { "goog.module": !0 })); goog.getObjectByName = function (a, b) { a = a.split("."); b = b || goog.global; for (var c = 0; c < a.length; c++) if (((b = b[a[c]]), null == b)) return null; return b; }; goog.globalize = function (a, b) { b = b || goog.global; for (var c in a) b[c] = a[c]; }; goog.addDependency = function (a, b, c, d) { !COMPILED && goog.DEPENDENCIES_ENABLED && goog.debugLoader_.addDependency(a, b, c, d); }; goog.ENABLE_DEBUG_LOADER = !0; goog.logToConsole_ = function (a) { goog.global.console && goog.global.console.error(a); }; goog.require = function (a) { if (!COMPILED) { goog.ENABLE_DEBUG_LOADER && goog.debugLoader_.requested(a); if (goog.isProvided_(a)) { if (goog.isInModuleLoader_()) return goog.module.getInternal_(a); } else if (goog.ENABLE_DEBUG_LOADER) { var b = goog.moduleLoaderState_; goog.moduleLoaderState_ = null; try { goog.debugLoader_.load_(a); } finally { goog.moduleLoaderState_ = b; } } return null; } }; goog.requireType = function (a) { return {}; }; goog.basePath = ""; goog.nullFunction = function () {}; goog.abstractMethod = function () { throw Error("unimplemented abstract method"); }; goog.addSingletonGetter = function (a) { a.instance_ = void 0; a.getInstance = function () { if (a.instance_) return a.instance_; goog.DEBUG && (goog.instantiatedSingletons_[goog.instantiatedSingletons_.length] = a); return (a.instance_ = new a()); }; }; goog.instantiatedSingletons_ = []; goog.LOAD_MODULE_USING_EVAL = !0; goog.SEAL_MODULE_EXPORTS = goog.DEBUG; goog.loadedModules_ = {}; goog.DEPENDENCIES_ENABLED = !COMPILED && goog.ENABLE_DEBUG_LOADER; goog.TRANSPILE = "detect"; goog.ASSUME_ES_MODULES_TRANSPILED = !1; goog.TRANSPILE_TO_LANGUAGE = ""; goog.TRANSPILER = "transpile.js"; goog.hasBadLetScoping = null; goog.useSafari10Workaround = function () { if (null == goog.hasBadLetScoping) { try { var a = !eval( '"use strict";let x = 1; function f() { return typeof x; };f() == "number";', ); } catch (b) { a = !1; } goog.hasBadLetScoping = a; } return goog.hasBadLetScoping; }; goog.workaroundSafari10EvalBug = function (a) { return "(function(){" + a + "\n;})();\n"; }; goog.loadModule = function (a) { var b = goog.moduleLoaderState_; try { goog.moduleLoaderState_ = { moduleName: "", declareLegacyNamespace: !1, type: goog.ModuleType.GOOG, }; if (goog.isFunction(a)) var c = a.call(void 0, {}); else if ("string" === typeof a) goog.useSafari10Workaround() && (a = goog.workaroundSafari10EvalBug(a)), (c = goog.loadModuleFromSource_.call(void 0, a)); else throw Error("Invalid module definition"); var d = goog.moduleLoaderState_.moduleName; if ("string" === typeof d && d) goog.moduleLoaderState_.declareLegacyNamespace ? goog.constructNamespace_(d, c) : goog.SEAL_MODULE_EXPORTS && Object.seal && "object" == typeof c && null != c && Object.seal(c), (goog.loadedModules_[d] = { exports: c, type: goog.ModuleType.GOOG, moduleId: goog.moduleLoaderState_.moduleName, }); else throw Error('Invalid module name "' + d + '"'); } finally { goog.moduleLoaderState_ = b; } }; goog.loadModuleFromSource_ = function (a) { eval(a); return {}; }; goog.normalizePath_ = function (a) { a = a.split("/"); for (var b = 0; b < a.length; ) "." == a[b] ? a.splice(b, 1) : b && ".." == a[b] && a[b - 1] && ".." != a[b - 1] ? a.splice(--b, 2) : b++; return a.join("/"); }; goog.loadFileSync_ = function (a) { if (goog.global.CLOSURE_LOAD_FILE_SYNC) return goog.global.CLOSURE_LOAD_FILE_SYNC(a); try { var b = new goog.global.XMLHttpRequest(); b.open("get", a, !1); b.send(); return 0 == b.status || 200 == b.status ? b.responseText : null; } catch (c) { return null; } }; goog.transpile_ = function (a, b, c) { var d = goog.global.$jscomp; d || (goog.global.$jscomp = d = {}); var e = d.transpile; if (!e) { var f = goog.basePath + goog.TRANSPILER, g = goog.loadFileSync_(f); if (g) { (function () { (0, eval)(g + "\n//# sourceURL=" + f); }).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; d = goog.global.$jscomp; e = d.transpile; } } e || (e = d.transpile = function (h, k) { goog.logToConsole_( k + " requires transpilation but no transpiler was found.", ); return h; }); return e(a, b, c); }; goog.typeOf = function (a) { var b = typeof a; if ("object" == b) if (a) { if (a instanceof Array) return "array"; if (a instanceof Object) return b; var c = Object.prototype.toString.call(a); if ("[object Window]" == c) return "object"; if ( "[object Array]" == c || ("number" == typeof a.length && "undefined" != typeof a.splice && "undefined" != typeof a.propertyIsEnumerable && !a.propertyIsEnumerable("splice")) ) return "array"; if ( "[object Function]" == c || ("undefined" != typeof a.call && "undefined" != typeof a.propertyIsEnumerable && !a.propertyIsEnumerable("call")) ) return "function"; } else return "null"; else if ("function" == b && "undefined" == typeof a.call) return "object"; return b; }; goog.isArray = function (a) { return Array.isArray(a); }; goog.isArrayLike = function (a) { var b = goog.typeOf(a); return "array" == b || ("object" == b && "number" == typeof a.length); }; goog.isDateLike = function (a) { return goog.isObject(a) && "function" == typeof a.getFullYear; }; goog.isFunction = function (a) { return "function" == goog.typeOf(a); }; goog.isObject = function (a) { var b = typeof a; return ("object" == b && null != a) || "function" == b; }; goog.getUid = function (a) { return ( (Object.prototype.hasOwnProperty.call(a, goog.UID_PROPERTY_) && a[goog.UID_PROPERTY_]) || (a[goog.UID_PROPERTY_] = ++goog.uidCounter_) ); }; goog.hasUid = function (a) { return !!a[goog.UID_PROPERTY_]; }; goog.removeUid = function (a) { null !== a && "removeAttribute" in a && a.removeAttribute(goog.UID_PROPERTY_); try { delete a[goog.UID_PROPERTY_]; } catch (b) {} }; goog.UID_PROPERTY_ = "closure_uid_" + ((1e9 * Math.random()) >>> 0); goog.uidCounter_ = 0; goog.getHashCode = goog.getUid; goog.removeHashCode = goog.removeUid; goog.cloneObject = function (a) { var b = goog.typeOf(a); if ("object" == b || "array" == b) { if ("function" === typeof a.clone) return a.clone(); b = "array" == b ? [] : {}; for (var c in a) b[c] = goog.cloneObject(a[c]); return b; } return a; }; goog.bindNative_ = function (a, b, c) { return a.call.apply(a.bind, arguments); }; goog.bindJs_ = function (a, b, c) { if (!a) throw Error(); if (2 < arguments.length) { var d = Array.prototype.slice.call(arguments, 2); return function () { var e = Array.prototype.slice.call(arguments); Array.prototype.unshift.apply(e, d); return a.apply(b, e); }; } return function () { return a.apply(b, arguments); }; }; goog.bind = function (a, b, c) { Function.prototype.bind && -1 != Function.prototype.bind.toString().indexOf("native code") ? (goog.bind = goog.bindNative_) : (goog.bind = goog.bindJs_); return goog.bind.apply(null, arguments); }; goog.partial = function (a, b) { var c = Array.prototype.slice.call(arguments, 1); return function () { var d = c.slice(); d.push.apply(d, arguments); return a.apply(this, d); }; }; goog.mixin = function (a, b) { for (var c in b) a[c] = b[c]; }; goog.now = (goog.TRUSTED_SITE && Date.now) || function () { return +new Date(); }; goog.globalEval = function (a) { if (goog.global.execScript) goog.global.execScript(a, "JavaScript"); else if (goog.global.eval) { if (null == goog.evalWorks_) try { goog.global.eval(""), (goog.evalWorks_ = !0); } catch (d) { goog.evalWorks_ = !1; } if (goog.evalWorks_) goog.global.eval(a); else { var b = goog.global.document, c = b.createElement("script"); c.type = "text/javascript"; c.defer = !1; c.appendChild(b.createTextNode(a)); b.head.appendChild(c); b.head.removeChild(c); } } else throw Error("goog.globalEval not available"); }; goog.evalWorks_ = null; goog.getCssName = function (a, b) { if ("." == String(a).charAt(0)) throw Error( 'className passed in goog.getCssName must not start with ".". You passed: ' + a, ); var c = function (e) { return goog.cssNameMapping_[e] || e; }, d = function (e) { e = e.split("-"); for (var f = [], g = 0; g < e.length; g++) f.push(c(e[g])); return f.join("-"); }; d = goog.cssNameMapping_ ? "BY_WHOLE" == goog.cssNameMappingStyle_ ? c : d : function (e) { return e; }; a = b ? a + "-" + d(b) : d(a); return goog.global.CLOSURE_CSS_NAME_MAP_FN ? goog.global.CLOSURE_CSS_NAME_MAP_FN(a) : a; }; goog.setCssNameMapping = function (a, b) { goog.cssNameMapping_ = a; goog.cssNameMappingStyle_ = b; }; !COMPILED && goog.global.CLOSURE_CSS_NAME_MAPPING && (goog.cssNameMapping_ = goog.global.CLOSURE_CSS_NAME_MAPPING); goog.getMsg = function (a, b, c) { c && c.html && (a = a.replace(/{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()', ); }); a("es7", function () { return b("2 ** 2 == 4"); }); a("es8", function () { return b("async () => 1, true"); }); a("es9", function () { return b("({...rest} = {}), true"); }); a("es_next", function () { return !1; }); return { target: c, map: d }; }), (goog.Transpiler.prototype.needsTranspile = function (a, b) { if ("always" == goog.TRANSPILE) return !0; if ("never" == goog.TRANSPILE) return !1; if (!this.requiresTranspilation_) { var c = this.createRequiresTranspilation_(); this.requiresTranspilation_ = c.map; this.transpilationTarget_ = this.transpilationTarget_ || c.target; } if (a in this.requiresTranspilation_) return this.requiresTranspilation_[a] ? !0 : !goog.inHtmlDocument_() || "es6" != b || "noModule" in goog.global.document.createElement("script") ? !1 : !0; throw Error("Unknown language mode: " + a); }), (goog.Transpiler.prototype.transpile = function (a, b) { return goog.transpile_(a, b, this.transpilationTarget_); }), (goog.transpiler_ = new goog.Transpiler()), (goog.protectScriptTag_ = function (a) { return a.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 (a, b) { function c() { d && (goog.global.setTimeout(d, 0), (d = null)); } var d = b; if (a.length) { b = []; for (var e = 0; e < a.length; e++) { var f = this.getPathFromDeps_(a[e]); if (!f) throw Error("Unregonized namespace: " + a[e]); b.push(this.dependencies_[f]); } f = goog.require; var g = 0; for (e = 0; e < a.length; e++) f(a[e]), b[e].onLoad(function () { ++g == a.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 (a, b) { (a = this.getPathFromDeps_(a)) && (b || this.areDepsLoaded_(this.dependencies_[a].requires)) && (b = this.deferredCallbacks_[a]) && (delete this.deferredCallbacks_[a], b()); }), (goog.DebugLoader_.prototype.setDependencyFactory = function (a) { this.factory_ = a; }), (goog.DebugLoader_.prototype.load_ = function (a) { if (this.getPathFromDeps_(a)) { var b = this, c = [], d = function (e) { var f = b.getPathFromDeps_(e); if (!f) throw Error("Bad dependency path or symbol: " + e); if (!b.written_[f]) { b.written_[f] = !0; e = b.dependencies_[f]; for (f = 0; f < e.requires.length; f++) goog.isProvided_(e.requires[f]) || d(e.requires[f]); c.push(e); } }; d(a); a = !!this.depsToLoad_.length; this.depsToLoad_ = this.depsToLoad_.concat(c); this.paused_ || a || this.loadDeps_(); } else throw ( ((a = "goog.require could not find: " + a), goog.logToConsole_(a), Error(a)) ); }), (goog.DebugLoader_.prototype.loadDeps_ = function () { for (var a = this, b = this.paused_; this.depsToLoad_.length && !b; ) (function () { var c = !1, d = a.depsToLoad_.shift(), e = !1; a.loading_(d); var f = { pause: function () { if (c) throw Error("Cannot call pause after the call to load."); b = !0; }, resume: function () { c ? a.resume_() : (b = !1); }, loaded: function () { if (e) throw Error("Double call to loaded."); e = !0; a.loaded_(d); }, pending: function () { for (var g = [], h = 0; h < a.loadingDeps_.length; h++) g.push(a.loadingDeps_[h]); return g; }, setModuleState: function (g) { goog.moduleLoaderState_ = { type: g, moduleName: "", declareLegacyNamespace: !1, }; }, registerEs6ModuleExports: function (g, h, k) { k && (goog.loadedModules_[k] = { exports: h, type: goog.ModuleType.ES6, moduleId: k || "", }); }, registerGoogModuleExports: function (g, h) { goog.loadedModules_[g] = { exports: h, type: goog.ModuleType.GOOG, moduleId: g, }; }, clearModuleState: function () { goog.moduleLoaderState_ = null; }, defer: function (g) { if (c) throw Error("Cannot register with defer after the call to load."); a.defer_(d, g); }, areDepsLoaded: function () { return a.areDepsLoaded_(d.requires); }, }; try { d.load(f); } finally { c = !0; } })(); b && 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 (a) { this.loadingDeps_.push(a); }), (goog.DebugLoader_.prototype.loaded_ = function (a) { for (var b = 0; b < this.loadingDeps_.length; b++) if (this.loadingDeps_[b] == a) { this.loadingDeps_.splice(b, 1); break; } for (b = 0; b < this.deferredQueue_.length; b++) if (this.deferredQueue_[b] == a.path) { this.deferredQueue_.splice(b, 1); break; } if ( this.loadingDeps_.length == this.deferredQueue_.length && !this.depsToLoad_.length ) for (; this.deferredQueue_.length; ) this.requested(this.deferredQueue_.shift(), !0); a.loaded(); }), (goog.DebugLoader_.prototype.areDepsLoaded_ = function (a) { for (var b = 0; b < a.length; b++) { var c = this.getPathFromDeps_(a[b]); if (!c || !(c in this.deferredCallbacks_ || goog.isProvided_(a[b]))) return !1; } return !0; }), (goog.DebugLoader_.prototype.getPathFromDeps_ = function (a) { return a in this.idToPath_ ? this.idToPath_[a] : a in this.dependencies_ ? a : null; }), (goog.DebugLoader_.prototype.defer_ = function (a, b) { this.deferredCallbacks_[a.path] = b; this.deferredQueue_.push(a.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 ( a, b, c, ) {}), (goog.LoadController.prototype.setModuleState = function (a) {}), (goog.LoadController.prototype.clearModuleState = function () {}), (goog.LoadController.prototype.defer = function (a) {}), (goog.LoadController.prototype.areDepsLoaded = function () {}), (goog.Dependency = function (a, b, c, d, e) { this.path = a; this.relativePath = b; this.provides = c; this.requires = d; this.loadFlags = e; this.loaded_ = !1; this.loadCallbacks_ = []; }), (goog.Dependency.prototype.getPathName = function () { var a = this.path, b = a.indexOf("://"); 0 <= b && ((a = a.substring(b + 3)), (b = a.indexOf("/")), 0 <= b && (a = a.substring(b + 1))); return a; }), (goog.Dependency.prototype.onLoad = function (a) { this.loaded_ ? a() : this.loadCallbacks_.push(a); }), (goog.Dependency.prototype.loaded = function () { this.loaded_ = !0; var a = this.loadCallbacks_; this.loadCallbacks_ = []; for (var b = 0; b < a.length; b++) a[b](); }), (goog.Dependency.defer_ = !1), (goog.Dependency.callbackMap_ = {}), (goog.Dependency.registerCallback_ = function (a) { var b = Math.random().toString(32); goog.Dependency.callbackMap_[b] = a; return b; }), (goog.Dependency.unregisterCallback_ = function (a) { delete goog.Dependency.callbackMap_[a]; }), (goog.Dependency.callback_ = function (a, b) { if (a in goog.Dependency.callbackMap_) { for ( var c = goog.Dependency.callbackMap_[a], d = [], e = 1; e < arguments.length; e++ ) d.push(arguments[e]); c.apply(void 0, d); } else throw Error( "Callback key " + a + " does not exist (was base.js loaded more than once?).", ); }), (goog.Dependency.prototype.load = function (a) { if (goog.global.CLOSURE_IMPORT_SCRIPT) goog.global.CLOSURE_IMPORT_SCRIPT(this.path) ? a.loaded() : a.pause(); else if (goog.inHtmlDocument_()) { var b = goog.global.document; if ( "complete" == b.readyState && !goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING ) { if (/\bdeps.js$/.test(this.path)) { a.loaded(); return; } throw Error('Cannot write "' + this.path + '" after document load'); } if ( !goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING && goog.isDocumentLoading_() ) { var c = goog.Dependency.registerCallback_(function (f) { (goog.DebugLoader_.IS_OLD_IE_ && "complete" != f.readyState) || (goog.Dependency.unregisterCallback_(c), a.loaded()); }), d = !goog.DebugLoader_.IS_OLD_IE_ && goog.getScriptNonce() ? ' nonce="' + goog.getScriptNonce() + '"' : ""; d = '