var COMPILED = !0, goog = goog || {}; goog.global = this; goog.isDef = function(a) {

return void 0 !== a;

}; goog.exportPath_ = function(a, b, c) {

a = a.split(".");
c = c || goog.global;
a[0] in c || !c.execScript || c.execScript("var " + a[0]);
for (var d;a.length && (d = a.shift());) {
  !a.length && goog.isDef(b) ? c[d] = b : c = c[d] ? c[d] : c[d] = {};
}

}; goog.define = function(a, b) {

var c = b;
COMPILED || (goog.global.CLOSURE_UNCOMPILED_DEFINES && Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_UNCOMPILED_DEFINES, a) ? c = goog.global.CLOSURE_UNCOMPILED_DEFINES[a] : goog.global.CLOSURE_DEFINES && Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_DEFINES, a) && (c = goog.global.CLOSURE_DEFINES[a]));
goog.exportPath_(a, c);

}; goog.DEBUG = !0; goog.LOCALE = “en”; goog.TRUSTED_SITE = !0; goog.STRICT_MODE_COMPATIBLE = !1; goog.provide = function(a) {

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.VALID_MODULE_RE_ = /^[a-zA-Z_$]*$/; goog.module = function(a) {

if (!goog.isString(a) || !a || -1 == a.search(goog.VALID_MODULE_RE_)) {
  throw Error("Invalid module identifier");
}
if (!goog.isInModuleLoader_()) {
  throw Error("Module " + a + " has been loaded incorrectly.");
}
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) {
  return goog.isProvided_(a) ? a in goog.loadedModules_ ? goog.loadedModules_[a] : goog.getObjectByName(a) : null;
}

}; goog.moduleLoaderState_ = null; goog.isInModuleLoader_ = function() {

return null != goog.moduleLoaderState_;

}; goog.module.declareTestMethods = function() {

if (!goog.isInModuleLoader_()) {
  throw Error("goog.module.declareTestMethods must be called from within a goog.module");
}
goog.moduleLoaderState_.declareTestMethods = !0;

}; goog.module.declareLegacyNamespace = function() {

if (!COMPILED && !goog.isInModuleLoader_()) {
  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.setTestOnly = function(a) {

if (COMPILED && !goog.DEBUG) {
  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] && goog.isDefAndNotNull(goog.getObjectByName(a));

}, goog.implicitNamespaces_ = {“goog.module”:!0}); goog.getObjectByName = function(a, b) {

for (var c = a.split("."), d = b || goog.global, e;e = c.shift();) {
  if (goog.isDefAndNotNull(d[e])) {
    d = d[e];
  } else {
    return null;
  }
}
return d;

}; goog.globalize = function(a, b) {

var c = b || goog.global, d;
for (d in a) {
  c[d] = a[d];
}

}; goog.addDependency = function(a, b, c, d) {

if (goog.DEPENDENCIES_ENABLED) {
  var e;
  a = a.replace(/\\/g, "/");
  for (var f = goog.dependencies_, g = 0;e = b[g];g++) {
    f.nameToPath[e] = a, f.pathIsModule[a] = !!d;
  }
  for (d = 0;b = c[d];d++) {
    a in f.requires || (f.requires[a] = {}), f.requires[a][b] = !0;
  }
}

}; 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.IS_OLD_IE_ && goog.maybeProcessDeferredDep_(a);
  if (goog.isProvided_(a)) {
    return goog.isInModuleLoader_() ? goog.module.getInternal_(a) : null;
  }
  if (goog.ENABLE_DEBUG_LOADER) {
    var b = goog.getPathFromDeps_(a);
    if (b) {
      return goog.included_[b] = !0, goog.writeScripts_(), null;
    }
  }
  a = "goog.require could not find: " + a;
  goog.logToConsole_(a);
  throw Error(a);
}

}; goog.basePath = “”; goog.nullFunction = function() { }; goog.identityFunction = function(a, b) {

return a;

}; goog.abstractMethod = function() {

throw Error("unimplemented abstract method");

}; goog.addSingletonGetter = function(a) {

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.DEPENDENCIES_ENABLED && (goog.included_ = {}, goog.dependencies_ = {pathIsModule:{}, nameToPath:{}, requires:{}, visited:{}, written:{}, deferred:{}}, goog.inHtmlDocument_ = function() {

var a = goog.global.document;
return "undefined" != typeof a && "write" in a;

}, goog.findBasePath_ = function() {

if (goog.global.CLOSURE_BASE_PATH) {
  goog.basePath = goog.global.CLOSURE_BASE_PATH;
} else {
  if (goog.inHtmlDocument_()) {
    for (var a = goog.global.document.getElementsByTagName("script"), b = a.length - 1;0 <= b;--b) {
      var c = a[b].src, d = c.lastIndexOf("?"), d = -1 == d ? c.length : d;
      if ("base.js" == c.substr(d - 7, 7)) {
        goog.basePath = c.substr(0, d - 7);
        break;
      }
    }
  }
}

}, goog.importScript_ = function(a, b) {

(goog.global.CLOSURE_IMPORT_SCRIPT || goog.writeScriptTag_)(a, b) && (goog.dependencies_.written[a] = !0);

}, goog.IS_OLD_IE_ = goog.global.document && goog.global.document.all && !goog.global.atob, goog.importModule_ = function(a) {

goog.importScript_("", 'goog.retrieveAndExecModule_("' + a + '");') && (goog.dependencies_.written[a] = !0);

}, goog.queuedModules_ = [], goog.wrapModule_ = function(a, b) {

return goog.LOAD_MODULE_USING_EVAL && goog.isDef(goog.global.JSON) ? "goog.loadModule(" + goog.global.JSON.stringify(b + "\n//# sourceURL=" + a + "\n") + ");" : 'goog.loadModule(function(exports) {"use strict";' + b + "\n;return exports});\n//# sourceURL=" + a + "\n";

}, goog.loadQueuedModules_ = function() {

var a = goog.queuedModules_.length;
if (0 < a) {
  var b = goog.queuedModules_;
  goog.queuedModules_ = [];
  for (var c = 0;c < a;c++) {
    goog.maybeProcessDeferredPath_(b[c]);
  }
}

}, goog.maybeProcessDeferredDep_ = function(a) {

goog.isDeferredModule_(a) && goog.allDepsAreAvailable_(a) && (a = goog.getPathFromDeps_(a), goog.maybeProcessDeferredPath_(goog.basePath + a));

}, goog.isDeferredModule_ = function(a) {

return(a = goog.getPathFromDeps_(a)) && goog.dependencies_.pathIsModule[a] ? goog.basePath + a in goog.dependencies_.deferred : !1;

}, goog.allDepsAreAvailable_ = function(a) {

if ((a = goog.getPathFromDeps_(a)) && a in goog.dependencies_.requires) {
  for (var b in goog.dependencies_.requires[a]) {
    if (!goog.isProvided_(b) && !goog.isDeferredModule_(b)) {
      return!1;
    }
  }
}
return!0;

}, goog.maybeProcessDeferredPath_ = function(a) {

if (a in goog.dependencies_.deferred) {
  var b = goog.dependencies_.deferred[a];
  delete goog.dependencies_.deferred[a];
  goog.globalEval(b);
}

}, goog.loadModule = function(a) {

var b = goog.moduleLoaderState_;
try {
  goog.moduleLoaderState_ = {moduleName:void 0, declareTestMethods:!1};
  var c;
  if (goog.isFunction(a)) {
    c = a.call(goog.global, {});
  } else {
    if (goog.isString(a)) {
      c = goog.loadModuleFromSource_.call(goog.global, a);
    } else {
      throw Error("Invalid module definition");
    }
  }
  var d = goog.moduleLoaderState_.moduleName;
  if (!goog.isString(d) || !d) {
    throw Error('Invalid module name "' + d + '"');
  }
  goog.moduleLoaderState_.declareLegacyNamespace ? goog.constructNamespace_(d, c) : goog.SEAL_MODULE_EXPORTS && Object.seal && Object.seal(c);
  goog.loadedModules_[d] = c;
  if (goog.moduleLoaderState_.declareTestMethods) {
    for (var e in c) {
      if (0 === e.indexOf("test", 0) || "tearDown" == e || "setUp" == e || "setUpPage" == e || "tearDownPage" == e) {
        goog.global[e] = c[e];
      }
    }
  }
} finally {
  goog.moduleLoaderState_ = b;
}

}, goog.loadModuleFromSource_ = function(a) {

eval(a);
return{};

}, goog.writeScriptTag_ = function(a, b) {

if (goog.inHtmlDocument_()) {
  var c = goog.global.document;
  if ("complete" == c.readyState) {
    if (/\bdeps.js$/.test(a)) {
      return!1;
    }
    throw Error('Cannot write "' + a + '" after document load');
  }
  var d = goog.IS_OLD_IE_;
  void 0 === b ? d ? (d = " onreadystatechange='goog.onScriptLoad_(this, " + ++goog.lastNonModuleScriptIndex_ + ")' ", c.write('<script type="text/javascript" src="' + a + '"' + d + ">\x3c/script>")) : c.write('<script type="text/javascript" src="' + a + '">\x3c/script>') : c.write('<script type="text/javascript">' + b + "\x3c/script>");
  return!0;
}
return!1;

}, goog.lastNonModuleScriptIndex_ = 0, goog.onScriptLoad_ = function(a, b) {

"complete" == a.readyState && goog.lastNonModuleScriptIndex_ == b && goog.loadQueuedModules_();
return!0;

}, goog.writeScripts_ = function() {

function a(e) {
  if (!(e in d.written)) {
    if (!(e in d.visited) && (d.visited[e] = !0, e in d.requires)) {
      for (var f in d.requires[e]) {
        if (!goog.isProvided_(f)) {
          if (f in d.nameToPath) {
            a(d.nameToPath[f]);
          } else {
            throw Error("Undefined nameToPath for " + f);
          }
        }
      }
    }
    e in c || (c[e] = !0, b.push(e));
  }
}
var b = [], c = {}, d = goog.dependencies_, e;
for (e in goog.included_) {
  d.written[e] || a(e);
}
for (var f = 0;f < b.length;f++) {
  e = b[f], goog.dependencies_.written[e] = !0;
}
var g = goog.moduleLoaderState_;
goog.moduleLoaderState_ = null;
for (f = 0;f < b.length;f++) {
  if (e = b[f]) {
    d.pathIsModule[e] ? goog.importModule_(goog.basePath + e) : goog.importScript_(goog.basePath + e);
  } else {
    throw goog.moduleLoaderState_ = g, Error("Undefined script input");
  }
}
goog.moduleLoaderState_ = g;

}, goog.getPathFromDeps_ = function(a) {

return a in goog.dependencies_.nameToPath ? goog.dependencies_.nameToPath[a] : null;

}, goog.findBasePath_(), goog.global.CLOSURE_NO_DEPS || goog.importScript_(goog.basePath + “deps.js”)); 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.retrieveAndExecModule_ = function(a) {

if (!COMPILED) {
  var b = a;
  a = goog.normalizePath_(a);
  var c = goog.global.CLOSURE_IMPORT_SCRIPT || goog.writeScriptTag_, d = null, e = new goog.global.XMLHttpRequest;
  e.onload = function() {
    d = this.responseText;
  };
  e.open("get", a, !1);
  e.send();
  d = e.responseText;
  if (null != d) {
    e = goog.wrapModule_(a, d), goog.IS_OLD_IE_ ? (goog.dependencies_.deferred[b] = e, goog.queuedModules_.push(b)) : c(a, e);
  } else {
    throw Error("load of " + a + "failed");
  }
}

}; 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.isNull = function(a) {

return null === a;

}; goog.isDefAndNotNull = function(a) {

return null != a;

}; goog.isArray = function(a) {

return "array" == goog.typeOf(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.isString = function(a) {

return "string" == typeof a;

}; goog.isBoolean = function(a) {

return "boolean" == typeof a;

}; goog.isNumber = function(a) {

return "number" == typeof a;

}; 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 a[goog.UID_PROPERTY_] || (a[goog.UID_PROPERTY_] = ++goog.uidCounter_);

}; goog.hasUid = function(a) {

return!!a[goog.UID_PROPERTY_];

}; goog.removeUid = function(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 (a.clone) {
    return a.clone();
  }
  var b = "array" == b ? [] : {}, c;
  for (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 c = Array.prototype.slice.call(arguments);
    Array.prototype.unshift.apply(c, d);
    return a.apply(b, c);
  };
}
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 b = c.slice();
  b.push.apply(b, arguments);
  return a.apply(this, b);
};

}; 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.evalWorksForGlobals_ && (goog.global.eval("var _et_ = 1;"), "undefined" != typeof goog.global._et_ ? (delete goog.global._et_, goog.evalWorksForGlobals_ = !0) : goog.evalWorksForGlobals_ = !1), goog.evalWorksForGlobals_) {
      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.body.appendChild(c);
      b.body.removeChild(c);
    }
  } else {
    throw Error("goog.globalEval not available");
  }
}

}; goog.evalWorksForGlobals_ = null; goog.getCssName = function(a, b) {

var c = function(a) {
  return goog.cssNameMapping_[a] || a;
}, d = function(a) {
  a = a.split("-");
  for (var b = [], d = 0;d < a.length;d++) {
    b.push(c(a[d]));
  }
  return b.join("-");
}, d = goog.cssNameMapping_ ? "BY_WHOLE" == goog.cssNameMappingStyle_ ? c : d : function(a) {
  return a;
};
return b ? a + "-" + d(b) : d(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) {

b && (a = a.replace(/\{\$([^}]+)}/g, function(a, d) {
  return d in b ? b[d] : a;
}));
return a;

}; goog.getMsgWithFallback = function(a, b) {

return a;

}; goog.exportSymbol = function(a, b, c) {

goog.exportPath_(a, b, c);

}; goog.exportProperty = function(a, b, c) {

a[b] = c;

}; goog.inherits = function(a, b) {

function c() {
}
c.prototype = b.prototype;
a.superClass_ = b.prototype;
a.prototype = new c;
a.prototype.constructor = a;
a.base = function(a, c, f) {
  var g = Array.prototype.slice.call(arguments, 2);
  return b.prototype[c].apply(a, g);
};

}; goog.base = function(a, b, c) {

var d = arguments.callee.caller;
if (goog.STRICT_MODE_COMPATIBLE || goog.DEBUG && !d) {
  throw Error("arguments.caller not defined.  goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C");
}
if (d.superClass_) {
  return d.superClass_.constructor.apply(a, Array.prototype.slice.call(arguments, 1));
}
for (var e = Array.prototype.slice.call(arguments, 2), f = !1, g = a.constructor;g;g = g.superClass_ && g.superClass_.constructor) {
  if (g.prototype[b] === d) {
    f = !0;
  } else {
    if (f) {
      return g.prototype[b].apply(a, e);
    }
  }
}
if (a[b] === d) {
  return a.constructor.prototype[b].apply(a, e);
}
throw Error("goog.base called from a method of one name to a method of a different name");

}; goog.scope = function(a) {

a.call(goog.global);

}; COMPILED || (goog.global.COMPILED = COMPILED); goog.defineClass = function(a, b) {

var c = b.constructor, d = b.statics;
c && c != Object.prototype.constructor || (c = function() {
  throw Error("cannot instantiate an interface (no constructor defined).");
});
c = goog.defineClass.createSealingConstructor_(c, a);
a && goog.inherits(c, a);
delete b.constructor;
delete b.statics;
goog.defineClass.applyProperties_(c.prototype, b);
null != d && (d instanceof Function ? d(c) : goog.defineClass.applyProperties_(c, d));
return c;

}; goog.defineClass.SEAL_CLASS_INSTANCES = goog.DEBUG; goog.defineClass.createSealingConstructor_ = function(a, b) {

if (goog.defineClass.SEAL_CLASS_INSTANCES && Object.seal instanceof Function) {
  if (b && b.prototype && b.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]) {
    return a;
  }
  var c = function() {
    var b = a.apply(this, arguments) || this;
    b[goog.UID_PROPERTY_] = b[goog.UID_PROPERTY_];
    this.constructor === c && Object.seal(b);
    return b;
  };
  return c;
}
return a;

}; goog.defineClass.OBJECT_PROTOTYPE_FIELDS_ = “constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf”.split(“ ”); goog.defineClass.applyProperties_ = function(a, b) {

for (var c in b) {
  Object.prototype.hasOwnProperty.call(b, c) && (a[c] = b[c]);
}
for (var d = 0;d < goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;d++) {
  c = goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[d], Object.prototype.hasOwnProperty.call(b, c) && (a[c] = b[c]);
}

}; goog.tagUnsealableClass = function(a) {

!COMPILED && goog.defineClass.SEAL_CLASS_INSTANCES && (a.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_] = !0);

}; goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_ = “goog_defineClass_legacy_unsealable”; goog.debug = {}; goog.debug.Error = function(a) {

if (Error.captureStackTrace) {
  Error.captureStackTrace(this, goog.debug.Error);
} else {
  var b = Error().stack;
  b && (this.stack = b);
}
a && (this.message = String(a));

}; goog.inherits(goog.debug.Error, Error); goog.debug.Error.prototype.name = “CustomError”; goog.dom = {}; goog.dom.NodeType = {ELEMENT:1, ATTRIBUTE:2, TEXT:3, CDATA_SECTION:4, ENTITY_REFERENCE:5, ENTITY:6, PROCESSING_INSTRUCTION:7, COMMENT:8, DOCUMENT:9, DOCUMENT_TYPE:10, DOCUMENT_FRAGMENT:11, NOTATION:12}; goog.string = {}; goog.string.DETECT_DOUBLE_ESCAPING = !1; goog.string.FORCE_NON_DOM_HTML_UNESCAPING = !1; goog.string.Unicode = {NBSP:“u00a0”}; goog.string.startsWith = function(a, b) {

return 0 == a.lastIndexOf(b, 0);

}; goog.string.endsWith = function(a, b) {

var c = a.length - b.length;
return 0 <= c && a.indexOf(b, c) == c;

}; goog.string.caseInsensitiveStartsWith = function(a, b) {

return 0 == goog.string.caseInsensitiveCompare(b, a.substr(0, b.length));

}; goog.string.caseInsensitiveEndsWith = function(a, b) {

return 0 == goog.string.caseInsensitiveCompare(b, a.substr(a.length - b.length, b.length));

}; goog.string.caseInsensitiveEquals = function(a, b) {

return a.toLowerCase() == b.toLowerCase();

}; goog.string.subs = function(a, b) {

for (var c = a.split("%s"), d = "", e = Array.prototype.slice.call(arguments, 1);e.length && 1 < c.length;) {
  d += c.shift() + e.shift();
}
return d + c.join("%s");

}; goog.string.collapseWhitespace = function(a) {

return a.replace(/[\s\xa0]+/g, " ").replace(/^\s+|\s+$/g, "");

}; goog.string.isEmptyOrWhitespace = function(a) {

return/^[\s\xa0]*$/.test(a);

}; goog.string.isEmptyString = function(a) {

return 0 == a.length;

}; goog.string.isEmpty = goog.string.isEmptyOrWhitespace; goog.string.isEmptyOrWhitespaceSafe = function(a) {

return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(a));

}; goog.string.isEmptySafe = goog.string.isEmptyOrWhitespaceSafe; goog.string.isBreakingWhitespace = function(a) {

return!/[^\t\n\r ]/.test(a);

}; goog.string.isAlpha = function(a) {

return!/[^a-zA-Z]/.test(a);

}; goog.string.isNumeric = function(a) {

return!/[^0-9]/.test(a);

}; goog.string.isAlphaNumeric = function(a) {

return!/[^a-zA-Z0-9]/.test(a);

}; goog.string.isSpace = function(a) {

return " " == a;

}; goog.string.isUnicodeChar = function(a) {

return 1 == a.length && " " <= a && "~" >= a || "\u0080" <= a && "\ufffd" >= a;

}; goog.string.stripNewlines = function(a) {

return a.replace(/(\r\n|\r|\n)+/g, " ");

}; goog.string.canonicalizeNewlines = function(a) {

return a.replace(/(\r\n|\r|\n)/g, "\n");

}; goog.string.normalizeWhitespace = function(a) {

return a.replace(/\xa0|\s/g, " ");

}; goog.string.normalizeSpaces = function(a) {

return a.replace(/\xa0|[ \t]+/g, " ");

}; goog.string.collapseBreakingSpaces = function(a) {

return a.replace(/[\t\r\n ]+/g, " ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g, "");

}; goog.string.trim = goog.TRUSTED_SITE && String.prototype.trim ? function(a) {

return a.trim();

} : function(a) {

return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g, "");

}; goog.string.trimLeft = function(a) {

return a.replace(/^[\s\xa0]+/, "");

}; goog.string.trimRight = function(a) {

return a.replace(/[\s\xa0]+$/, "");

}; goog.string.caseInsensitiveCompare = function(a, b) {

var c = String(a).toLowerCase(), d = String(b).toLowerCase();
return c < d ? -1 : c == d ? 0 : 1;

}; goog.string.numerateCompareRegExp_ = /(.d+)|(d+)|(D+)/g; goog.string.numerateCompare = function(a, b) {

if (a == b) {
  return 0;
}
if (!a) {
  return-1;
}
if (!b) {
  return 1;
}
for (var c = a.toLowerCase().match(goog.string.numerateCompareRegExp_), d = b.toLowerCase().match(goog.string.numerateCompareRegExp_), e = Math.min(c.length, d.length), f = 0;f < e;f++) {
  var g = c[f], h = d[f];
  if (g != h) {
    return c = parseInt(g, 10), !isNaN(c) && (d = parseInt(h, 10), !isNaN(d) && c - d) ? c - d : g < h ? -1 : 1;
  }
}
return c.length != d.length ? c.length - d.length : a < b ? -1 : 1;

}; goog.string.urlEncode = function(a) {

return encodeURIComponent(String(a));

}; goog.string.urlDecode = function(a) {

return decodeURIComponent(a.replace(/\+/g, " "));

}; goog.string.newLineToBr = function(a, b) {

return a.replace(/(\r\n|\r|\n)/g, b ? "<br />" : "<br>");

}; goog.string.htmlEscape = function(a, b) {

if (b) {
  a = a.replace(goog.string.AMP_RE_, "&amp;").replace(goog.string.LT_RE_, "&lt;").replace(goog.string.GT_RE_, "&gt;").replace(goog.string.QUOT_RE_, "&quot;").replace(goog.string.SINGLE_QUOTE_RE_, "&#39;").replace(goog.string.NULL_RE_, "&#0;"), goog.string.DETECT_DOUBLE_ESCAPING && (a = a.replace(goog.string.E_RE_, "&#101;"));
} else {
  if (!goog.string.ALL_RE_.test(a)) {
    return a;
  }
  -1 != a.indexOf("&") && (a = a.replace(goog.string.AMP_RE_, "&amp;"));
  -1 != a.indexOf("<") && (a = a.replace(goog.string.LT_RE_, "&lt;"));
  -1 != a.indexOf(">") && (a = a.replace(goog.string.GT_RE_, "&gt;"));
  -1 != a.indexOf('"') && (a = a.replace(goog.string.QUOT_RE_, "&quot;"));
  -1 != a.indexOf("'") && (a = a.replace(goog.string.SINGLE_QUOTE_RE_, "&#39;"));
  -1 != a.indexOf("\x00") && (a = a.replace(goog.string.NULL_RE_, "&#0;"));
  goog.string.DETECT_DOUBLE_ESCAPING && -1 != a.indexOf("e") && (a = a.replace(goog.string.E_RE_, "&#101;"));
}
return a;

}; goog.string.AMP_RE_ = /&/g; goog.string.LT_RE_ = /</g; goog.string.GT_RE_ = />/g; goog.string.QUOT_RE_ = /“/g; goog.string.SINGLE_QUOTE_RE_ = /'/g; goog.string.NULL_RE_ = /x00/g; goog.string.E_RE_ = /e/g; goog.string.ALL_RE_ = goog.string.DETECT_DOUBLE_ESCAPING ? /[x00&<>”'e]/ : /[x00&<>“']/; goog.string.unescapeEntities = function(a) {

return goog.string.contains(a, "&") ? !goog.string.FORCE_NON_DOM_HTML_UNESCAPING && "document" in goog.global ? goog.string.unescapeEntitiesUsingDom_(a) : goog.string.unescapePureXmlEntities_(a) : a;

}; goog.string.unescapeEntitiesWithDocument = function(a, b) {

return goog.string.contains(a, "&") ? goog.string.unescapeEntitiesUsingDom_(a, b) : a;

}; goog.string.unescapeEntitiesUsingDom_ = function(a, b) {

var c = {"&amp;":"&", "&lt;":"<", "&gt;":">", "&quot;":'"'}, d;
d = b ? b.createElement("div") : goog.global.document.createElement("div");
return a.replace(goog.string.HTML_ENTITY_PATTERN_, function(a, b) {
  var g = c[a];
  if (g) {
    return g;
  }
  if ("#" == b.charAt(0)) {
    var h = Number("0" + b.substr(1));
    isNaN(h) || (g = String.fromCharCode(h));
  }
  g || (d.innerHTML = a + " ", g = d.firstChild.nodeValue.slice(0, -1));
  return c[a] = g;
});

}; goog.string.unescapePureXmlEntities_ = function(a) {

return a.replace(/&([^;]+);/g, function(a, c) {
  switch(c) {
    case "amp":
      return "&";
    case "lt":
      return "<";
    case "gt":
      return ">";
    case "quot":
      return'"';
    default:
      if ("#" == c.charAt(0)) {
        var d = Number("0" + c.substr(1));
        if (!isNaN(d)) {
          return String.fromCharCode(d);
        }
      }
      return a;
  }
});

}; goog.string.HTML_ENTITY_PATTERN_ = /&([^;s<&]+);?/g; goog.string.whitespaceEscape = function(a, b) {

return goog.string.newLineToBr(a.replace(/  /g, " &#160;"), b);

}; goog.string.preserveSpaces = function(a) {

return a.replace(/(^|[\n ]) /g, "$1" + goog.string.Unicode.NBSP);

}; goog.string.stripQuotes = function(a, b) {

for (var c = b.length, d = 0;d < c;d++) {
  var e = 1 == c ? b : b.charAt(d);
  if (a.charAt(0) == e && a.charAt(a.length - 1) == e) {
    return a.substring(1, a.length - 1);
  }
}
return a;

}; goog.string.truncate = function(a, b, c) {

c && (a = goog.string.unescapeEntities(a));
a.length > b && (a = a.substring(0, b - 3) + "...");
c && (a = goog.string.htmlEscape(a));
return a;

}; goog.string.truncateMiddle = function(a, b, c, d) {

c && (a = goog.string.unescapeEntities(a));
if (d && a.length > b) {
  d > b && (d = b);
  var e = a.length - d;
  a = a.substring(0, b - d) + "..." + a.substring(e);
} else {
  a.length > b && (d = Math.floor(b / 2), e = a.length - d, a = a.substring(0, d + b % 2) + "..." + a.substring(e));
}
c && (a = goog.string.htmlEscape(a));
return a;

}; goog.string.specialEscapeChars_ = {“x00”:“\0”, “b”:“\b”, “f”:“\f”, “n”:“\n”, “r”:“\r”, “t”:“\t”, “x0B”:“\x0B”, '“':'\”', “\”:“\\”}; goog.string.jsEscapeCache_ = {“'”:“\'”}; goog.string.quote = function(a) {

a = String(a);
if (a.quote) {
  return a.quote();
}
for (var b = ['"'], c = 0;c < a.length;c++) {
  var d = a.charAt(c), e = d.charCodeAt(0);
  b[c + 1] = goog.string.specialEscapeChars_[d] || (31 < e && 127 > e ? d : goog.string.escapeChar(d));
}
b.push('"');
return b.join("");

}; goog.string.escapeString = function(a) {

for (var b = [], c = 0;c < a.length;c++) {
  b[c] = goog.string.escapeChar(a.charAt(c));
}
return b.join("");

}; goog.string.escapeChar = function(a) {

if (a in goog.string.jsEscapeCache_) {
  return goog.string.jsEscapeCache_[a];
}
if (a in goog.string.specialEscapeChars_) {
  return goog.string.jsEscapeCache_[a] = goog.string.specialEscapeChars_[a];
}
var b = a, c = a.charCodeAt(0);
if (31 < c && 127 > c) {
  b = a;
} else {
  if (256 > c) {
    if (b = "\\x", 16 > c || 256 < c) {
      b += "0";
    }
  } else {
    b = "\\u", 4096 > c && (b += "0");
  }
  b += c.toString(16).toUpperCase();
}
return goog.string.jsEscapeCache_[a] = b;

}; goog.string.contains = function(a, b) {

return-1 != a.indexOf(b);

}; goog.string.caseInsensitiveContains = function(a, b) {

return goog.string.contains(a.toLowerCase(), b.toLowerCase());

}; goog.string.countOf = function(a, b) {

return a && b ? a.split(b).length - 1 : 0;

}; goog.string.removeAt = function(a, b, c) {

var d = a;
0 <= b && b < a.length && 0 < c && (d = a.substr(0, b) + a.substr(b + c, a.length - b - c));
return d;

}; goog.string.remove = function(a, b) {

var c = new RegExp(goog.string.regExpEscape(b), "");
return a.replace(c, "");

}; goog.string.removeAll = function(a, b) {

var c = new RegExp(goog.string.regExpEscape(b), "g");
return a.replace(c, "");

}; goog.string.regExpEscape = function(a) {

return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g, "\\$1").replace(/\x08/g, "\\x08");

}; goog.string.repeat = function(a, b) {

return Array(b + 1).join(a);

}; goog.string.padNumber = function(a, b, c) {

a = goog.isDef(c) ? a.toFixed(c) : String(a);
c = a.indexOf(".");
-1 == c && (c = a.length);
return goog.string.repeat("0", Math.max(0, b - c)) + a;

}; goog.string.makeSafe = function(a) {

return null == a ? "" : String(a);

}; goog.string.buildString = function(a) {

return Array.prototype.join.call(arguments, "");

}; goog.string.getRandomString = function() {

return Math.floor(2147483648 * Math.random()).toString(36) + Math.abs(Math.floor(2147483648 * Math.random()) ^ goog.now()).toString(36);

}; goog.string.compareVersions = function(a, b) {

for (var c = 0, d = goog.string.trim(String(a)).split("."), e = goog.string.trim(String(b)).split("."), f = Math.max(d.length, e.length), g = 0;0 == c && g < f;g++) {
  var h = d[g] || "", k = e[g] || "", l = RegExp("(\\d*)(\\D*)", "g"), p = RegExp("(\\d*)(\\D*)", "g");
  do {
    var m = l.exec(h) || ["", "", ""], n = p.exec(k) || ["", "", ""];
    if (0 == m[0].length && 0 == n[0].length) {
      break;
    }
    var c = 0 == m[1].length ? 0 : parseInt(m[1], 10), q = 0 == n[1].length ? 0 : parseInt(n[1], 10), c = goog.string.compareElements_(c, q) || goog.string.compareElements_(0 == m[2].length, 0 == n[2].length) || goog.string.compareElements_(m[2], n[2]);
  } while (0 == c);
}
return c;

}; goog.string.compareElements_ = function(a, b) {

return a < b ? -1 : a > b ? 1 : 0;

}; goog.string.HASHCODE_MAX_ = 4294967296; goog.string.hashCode = function(a) {

for (var b = 0, c = 0;c < a.length;++c) {
  b = 31 * b + a.charCodeAt(c), b %= goog.string.HASHCODE_MAX_;
}
return b;

}; goog.string.uniqueStringCounter_ = 2147483648 * Math.random() | 0; goog.string.createUniqueString = function() {

return "goog_" + goog.string.uniqueStringCounter_++;

}; goog.string.toNumber = function(a) {

var b = Number(a);
return 0 == b && goog.string.isEmptyOrWhitespace(a) ? NaN : b;

}; goog.string.isLowerCamelCase = function(a) {

return/^[a-z]+([A-Z][a-z]*)*$/.test(a);

}; goog.string.isUpperCamelCase = function(a) {

return/^([A-Z][a-z]*)+$/.test(a);

}; goog.string.toCamelCase = function(a) {

return String(a).replace(/\-([a-z])/g, function(a, c) {
  return c.toUpperCase();
});

}; goog.string.toSelectorCase = function(a) {

return String(a).replace(/([A-Z])/g, "-$1").toLowerCase();

}; goog.string.toTitleCase = function(a, b) {

var c = goog.isString(b) ? goog.string.regExpEscape(b) : "\\s";
return a.replace(new RegExp("(^" + (c ? "|[" + c + "]+" : "") + ")([a-z])", "g"), function(a, b, c) {
  return b + c.toUpperCase();
});

}; goog.string.capitalize = function(a) {

return String(a.charAt(0)).toUpperCase() + String(a.substr(1)).toLowerCase();

}; goog.string.parseInt = function(a) {

isFinite(a) && (a = String(a));
return goog.isString(a) ? /^\s*-?0x/i.test(a) ? parseInt(a, 16) : parseInt(a, 10) : NaN;

}; goog.string.splitLimit = function(a, b, c) {

a = a.split(b);
for (var d = [];0 < c && a.length;) {
  d.push(a.shift()), c--;
}
a.length && d.push(a.join(b));
return d;

}; goog.string.editDistance = function(a, b) {

var c = [], d = [];
if (a == b) {
  return 0;
}
if (!a.length || !b.length) {
  return Math.max(a.length, b.length);
}
for (var e = 0;e < b.length + 1;e++) {
  c[e] = e;
}
for (e = 0;e < a.length;e++) {
  d[0] = e + 1;
  for (var f = 0;f < b.length;f++) {
    d[f + 1] = Math.min(d[f] + 1, c[f + 1] + 1, c[f] + (a[e] != b[f]));
  }
  for (f = 0;f < c.length;f++) {
    c[f] = d[f];
  }
}
return d[b.length];

}; goog.asserts = {}; goog.asserts.ENABLE_ASSERTS = goog.DEBUG; goog.asserts.AssertionError = function(a, b) {

b.unshift(a);
goog.debug.Error.call(this, goog.string.subs.apply(null, b));
b.shift();
this.messagePattern = a;

}; goog.inherits(goog.asserts.AssertionError, goog.debug.Error); goog.asserts.AssertionError.prototype.name = “AssertionError”; goog.asserts.DEFAULT_ERROR_HANDLER = function(a) {

throw a;

}; goog.asserts.errorHandler_ = goog.asserts.DEFAULT_ERROR_HANDLER; goog.asserts.doAssertFailure_ = function(a, b, c, d) {

var e = "Assertion failed";
if (c) {
  var e = e + (": " + c), f = d
} else {
  a && (e += ": " + a, f = b);
}
a = new goog.asserts.AssertionError("" + e, f || []);
goog.asserts.errorHandler_(a);

}; goog.asserts.setErrorHandler = function(a) {

goog.asserts.ENABLE_ASSERTS && (goog.asserts.errorHandler_ = a);

}; goog.asserts.assert = function(a, b, c) {

goog.asserts.ENABLE_ASSERTS && !a && goog.asserts.doAssertFailure_("", null, b, Array.prototype.slice.call(arguments, 2));
return a;

}; goog.asserts.fail = function(a, b) {

goog.asserts.ENABLE_ASSERTS && goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure" + (a ? ": " + a : ""), Array.prototype.slice.call(arguments, 1)));

}; goog.asserts.assertNumber = function(a, b, c) {

goog.asserts.ENABLE_ASSERTS && !goog.isNumber(a) && goog.asserts.doAssertFailure_("Expected number but got %s: %s.", [goog.typeOf(a), a], b, Array.prototype.slice.call(arguments, 2));
return a;

}; goog.asserts.assertString = function(a, b, c) {

goog.asserts.ENABLE_ASSERTS && !goog.isString(a) && goog.asserts.doAssertFailure_("Expected string but got %s: %s.", [goog.typeOf(a), a], b, Array.prototype.slice.call(arguments, 2));
return a;

}; goog.asserts.assertFunction = function(a, b, c) {

goog.asserts.ENABLE_ASSERTS && !goog.isFunction(a) && goog.asserts.doAssertFailure_("Expected function but got %s: %s.", [goog.typeOf(a), a], b, Array.prototype.slice.call(arguments, 2));
return a;

}; goog.asserts.assertObject = function(a, b, c) {

goog.asserts.ENABLE_ASSERTS && !goog.isObject(a) && goog.asserts.doAssertFailure_("Expected object but got %s: %s.", [goog.typeOf(a), a], b, Array.prototype.slice.call(arguments, 2));
return a;

}; goog.asserts.assertArray = function(a, b, c) {

goog.asserts.ENABLE_ASSERTS && !goog.isArray(a) && goog.asserts.doAssertFailure_("Expected array but got %s: %s.", [goog.typeOf(a), a], b, Array.prototype.slice.call(arguments, 2));
return a;

}; goog.asserts.assertBoolean = function(a, b, c) {

goog.asserts.ENABLE_ASSERTS && !goog.isBoolean(a) && goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.", [goog.typeOf(a), a], b, Array.prototype.slice.call(arguments, 2));
return a;

}; goog.asserts.assertElement = function(a, b, c) {

!goog.asserts.ENABLE_ASSERTS || goog.isObject(a) && a.nodeType == goog.dom.NodeType.ELEMENT || goog.asserts.doAssertFailure_("Expected Element but got %s: %s.", [goog.typeOf(a), a], b, Array.prototype.slice.call(arguments, 2));
return a;

}; goog.asserts.assertInstanceof = function(a, b, c, d) {

!goog.asserts.ENABLE_ASSERTS || a instanceof b || goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.", [goog.asserts.getType_(b), goog.asserts.getType_(a)], c, Array.prototype.slice.call(arguments, 3));
return a;

}; goog.asserts.assertObjectPrototypeIsIntact = function() {

for (var a in Object.prototype) {
  goog.asserts.fail(a + " should not be enumerable in Object.prototype.");
}

}; goog.asserts.getType_ = function(a) {

return a instanceof Function ? a.displayName || a.name || "unknown type name" : a instanceof Object ? a.constructor.displayName || a.constructor.name || Object.prototype.toString.call(a) : null === a ? "null" : typeof a;

}; goog.array = {}; goog.NATIVE_ARRAY_PROTOTYPES = goog.TRUSTED_SITE; goog.array.ASSUME_NATIVE_FUNCTIONS = !1; goog.array.peek = function(a) {

return a[a.length - 1];

}; goog.array.last = goog.array.peek; goog.array.ARRAY_PROTOTYPE_ = Array.prototype; goog.array.indexOf = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || goog.array.ARRAY_PROTOTYPE_.indexOf) ? function(a, b, c) {

goog.asserts.assert(null != a.length);
return goog.array.ARRAY_PROTOTYPE_.indexOf.call(a, b, c);

} : function(a, b, c) {

c = null == c ? 0 : 0 > c ? Math.max(0, a.length + c) : c;
if (goog.isString(a)) {
  return goog.isString(b) && 1 == b.length ? a.indexOf(b, c) : -1;
}
for (;c < a.length;c++) {
  if (c in a && a[c] === b) {
    return c;
  }
}
return-1;

}; goog.array.lastIndexOf = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || goog.array.ARRAY_PROTOTYPE_.lastIndexOf) ? function(a, b, c) {

goog.asserts.assert(null != a.length);
return goog.array.ARRAY_PROTOTYPE_.lastIndexOf.call(a, b, null == c ? a.length - 1 : c);

} : function(a, b, c) {

c = null == c ? a.length - 1 : c;
0 > c && (c = Math.max(0, a.length + c));
if (goog.isString(a)) {
  return goog.isString(b) && 1 == b.length ? a.lastIndexOf(b, c) : -1;
}
for (;0 <= c;c--) {
  if (c in a && a[c] === b) {
    return c;
  }
}
return-1;

}; goog.array.forEach = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || goog.array.ARRAY_PROTOTYPE_.forEach) ? function(a, b, c) {

goog.asserts.assert(null != a.length);
goog.array.ARRAY_PROTOTYPE_.forEach.call(a, b, c);

} : function(a, b, c) {

for (var d = a.length, e = goog.isString(a) ? a.split("") : a, f = 0;f < d;f++) {
  f in e && b.call(c, e[f], f, a);
}

}; goog.array.forEachRight = function(a, b, c) {

for (var d = a.length, e = goog.isString(a) ? a.split("") : a, d = d - 1;0 <= d;--d) {
  d in e && b.call(c, e[d], d, a);
}

}; goog.array.filter = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || goog.array.ARRAY_PROTOTYPE_.filter) ? function(a, b, c) {

goog.asserts.assert(null != a.length);
return goog.array.ARRAY_PROTOTYPE_.filter.call(a, b, c);

} : function(a, b, c) {

for (var d = a.length, e = [], f = 0, g = goog.isString(a) ? a.split("") : a, h = 0;h < d;h++) {
  if (h in g) {
    var k = g[h];
    b.call(c, k, h, a) && (e[f++] = k);
  }
}
return e;

}; goog.array.map = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || goog.array.ARRAY_PROTOTYPE_.map) ? function(a, b, c) {

goog.asserts.assert(null != a.length);
return goog.array.ARRAY_PROTOTYPE_.map.call(a, b, c);

} : function(a, b, c) {

for (var d = a.length, e = Array(d), f = goog.isString(a) ? a.split("") : a, g = 0;g < d;g++) {
  g in f && (e[g] = b.call(c, f[g], g, a));
}
return e;

}; goog.array.reduce = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || goog.array.ARRAY_PROTOTYPE_.reduce) ? function(a, b, c, d) {

goog.asserts.assert(null != a.length);
d && (b = goog.bind(b, d));
return goog.array.ARRAY_PROTOTYPE_.reduce.call(a, b, c);

} : function(a, b, c, d) {

var e = c;
goog.array.forEach(a, function(c, g) {
  e = b.call(d, e, c, g, a);
});
return e;

}; goog.array.reduceRight = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || goog.array.ARRAY_PROTOTYPE_.reduceRight) ? function(a, b, c, d) {

goog.asserts.assert(null != a.length);
d && (b = goog.bind(b, d));
return goog.array.ARRAY_PROTOTYPE_.reduceRight.call(a, b, c);

} : function(a, b, c, d) {

var e = c;
goog.array.forEachRight(a, function(c, g) {
  e = b.call(d, e, c, g, a);
});
return e;

}; goog.array.some = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || goog.array.ARRAY_PROTOTYPE_.some) ? function(a, b, c) {

goog.asserts.assert(null != a.length);
return goog.array.ARRAY_PROTOTYPE_.some.call(a, b, c);

} : function(a, b, c) {

for (var d = a.length, e = goog.isString(a) ? a.split("") : a, f = 0;f < d;f++) {
  if (f in e && b.call(c, e[f], f, a)) {
    return!0;
  }
}
return!1;

}; goog.array.every = goog.NATIVE_ARRAY_PROTOTYPES && (goog.array.ASSUME_NATIVE_FUNCTIONS || goog.array.ARRAY_PROTOTYPE_.every) ? function(a, b, c) {

goog.asserts.assert(null != a.length);
return goog.array.ARRAY_PROTOTYPE_.every.call(a, b, c);

} : function(a, b, c) {

for (var d = a.length, e = goog.isString(a) ? a.split("") : a, f = 0;f < d;f++) {
  if (f in e && !b.call(c, e[f], f, a)) {
    return!1;
  }
}
return!0;

}; goog.array.count = function(a, b, c) {

var d = 0;
goog.array.forEach(a, function(a, f, g) {
  b.call(c, a, f, g) && ++d;
}, c);
return d;

}; goog.array.find = function(a, b, c) {

b = goog.array.findIndex(a, b, c);
return 0 > b ? null : goog.isString(a) ? a.charAt(b) : a[b];

}; goog.array.findIndex = function(a, b, c) {

for (var d = a.length, e = goog.isString(a) ? a.split("") : a, f = 0;f < d;f++) {
  if (f in e && b.call(c, e[f], f, a)) {
    return f;
  }
}
return-1;

}; goog.array.findRight = function(a, b, c) {

b = goog.array.findIndexRight(a, b, c);
return 0 > b ? null : goog.isString(a) ? a.charAt(b) : a[b];

}; goog.array.findIndexRight = function(a, b, c) {

for (var d = a.length, e = goog.isString(a) ? a.split("") : a, d = d - 1;0 <= d;d--) {
  if (d in e && b.call(c, e[d], d, a)) {
    return d;
  }
}
return-1;

}; goog.array.contains = function(a, b) {

return 0 <= goog.array.indexOf(a, b);

}; goog.array.isEmpty = function(a) {

return 0 == a.length;

}; goog.array.clear = function(a) {

if (!goog.isArray(a)) {
  for (var b = a.length - 1;0 <= b;b--) {
    delete a[b];
  }
}
a.length = 0;

}; goog.array.insert = function(a, b) {

goog.array.contains(a, b) || a.push(b);

}; goog.array.insertAt = function(a, b, c) {

goog.array.splice(a, c, 0, b);

}; goog.array.insertArrayAt = function(a, b, c) {

goog.partial(goog.array.splice, a, c, 0).apply(null, b);

}; goog.array.insertBefore = function(a, b, c) {

var d;
2 == arguments.length || 0 > (d = goog.array.indexOf(a, c)) ? a.push(b) : goog.array.insertAt(a, b, d);

}; goog.array.remove = function(a, b) {

var c = goog.array.indexOf(a, b), d;
(d = 0 <= c) && goog.array.removeAt(a, c);
return d;

}; goog.array.removeAt = function(a, b) {

goog.asserts.assert(null != a.length);
return 1 == goog.array.ARRAY_PROTOTYPE_.splice.call(a, b, 1).length;

}; goog.array.removeIf = function(a, b, c) {

b = goog.array.findIndex(a, b, c);
return 0 <= b ? (goog.array.removeAt(a, b), !0) : !1;

}; goog.array.removeAllIf = function(a, b, c) {

var d = 0;
goog.array.forEachRight(a, function(e, f) {
  b.call(c, e, f, a) && goog.array.removeAt(a, f) && d++;
});
return d;

}; goog.array.concat = function(a) {

return goog.array.ARRAY_PROTOTYPE_.concat.apply(goog.array.ARRAY_PROTOTYPE_, arguments);

}; goog.array.join = function(a) {

return goog.array.ARRAY_PROTOTYPE_.concat.apply(goog.array.ARRAY_PROTOTYPE_, arguments);

}; goog.array.toArray = function(a) {

var b = a.length;
if (0 < b) {
  for (var c = Array(b), d = 0;d < b;d++) {
    c[d] = a[d];
  }
  return c;
}
return[];

}; goog.array.clone = goog.array.toArray; goog.array.extend = function(a, b) {

for (var c = 1;c < arguments.length;c++) {
  var d = arguments[c];
  if (goog.isArrayLike(d)) {
    var e = a.length || 0, f = d.length || 0;
    a.length = e + f;
    for (var g = 0;g < f;g++) {
      a[e + g] = d[g];
    }
  } else {
    a.push(d);
  }
}

}; goog.array.splice = function(a, b, c, d) {

goog.asserts.assert(null != a.length);
return goog.array.ARRAY_PROTOTYPE_.splice.apply(a, goog.array.slice(arguments, 1));

}; goog.array.slice = function(a, b, c) {

goog.asserts.assert(null != a.length);
return 2 >= arguments.length ? goog.array.ARRAY_PROTOTYPE_.slice.call(a, b) : goog.array.ARRAY_PROTOTYPE_.slice.call(a, b, c);

}; goog.array.removeDuplicates = function(a, b, c) {

b = b || a;
var d = function(a) {
  return goog.isObject(g) ? "o" + goog.getUid(g) : (typeof g).charAt(0) + g;
};
c = c || d;
for (var d = {}, e = 0, f = 0;f < a.length;) {
  var g = a[f++], h = c(g);
  Object.prototype.hasOwnProperty.call(d, h) || (d[h] = !0, b[e++] = g);
}
b.length = e;

}; goog.array.binarySearch = function(a, b, c) {

return goog.array.binarySearch_(a, c || goog.array.defaultCompare, !1, b);

}; goog.array.binarySelect = function(a, b, c) {

return goog.array.binarySearch_(a, b, !0, void 0, c);

}; goog.array.binarySearch_ = function(a, b, c, d, e) {

for (var f = 0, g = a.length, h;f < g;) {
  var k = f + g >> 1, l;
  l = c ? b.call(e, a[k], k, a) : b(d, a[k]);
  0 < l ? f = k + 1 : (g = k, h = !l);
}
return h ? f : ~f;

}; goog.array.sort = function(a, b) {

a.sort(b || goog.array.defaultCompare);

}; goog.array.stableSort = function(a, b) {

for (var c = 0;c < a.length;c++) {
  a[c] = {index:c, value:a[c]};
}
var d = b || goog.array.defaultCompare;
goog.array.sort(a, function(a, b) {
  return d(a.value, b.value) || a.index - b.index;
});
for (c = 0;c < a.length;c++) {
  a[c] = a[c].value;
}

}; goog.array.sortByKey = function(a, b, c) {

var d = c || goog.array.defaultCompare;
goog.array.sort(a, function(a, c) {
  return d(b(a), b(c));
});

}; goog.array.sortObjectsByKey = function(a, b, c) {

goog.array.sortByKey(a, function(a) {
  return a[b];
}, c);

}; goog.array.isSorted = function(a, b, c) {

b = b || goog.array.defaultCompare;
for (var d = 1;d < a.length;d++) {
  var e = b(a[d - 1], a[d]);
  if (0 < e || 0 == e && c) {
    return!1;
  }
}
return!0;

}; goog.array.equals = function(a, b, c) {

if (!goog.isArrayLike(a) || !goog.isArrayLike(b) || a.length != b.length) {
  return!1;
}
var d = a.length;
c = c || goog.array.defaultCompareEquality;
for (var e = 0;e < d;e++) {
  if (!c(a[e], b[e])) {
    return!1;
  }
}
return!0;

}; goog.array.compare3 = function(a, b, c) {

c = c || goog.array.defaultCompare;
for (var d = Math.min(a.length, b.length), e = 0;e < d;e++) {
  var f = c(a[e], b[e]);
  if (0 != f) {
    return f;
  }
}
return goog.array.defaultCompare(a.length, b.length);

}; goog.array.defaultCompare = function(a, b) {

return a > b ? 1 : a < b ? -1 : 0;

}; goog.array.defaultCompareEquality = function(a, b) {

return a === b;

}; goog.array.binaryInsert = function(a, b, c) {

c = goog.array.binarySearch(a, b, c);
return 0 > c ? (goog.array.insertAt(a, b, -(c + 1)), !0) : !1;

}; goog.array.binaryRemove = function(a, b, c) {

b = goog.array.binarySearch(a, b, c);
return 0 <= b ? goog.array.removeAt(a, b) : !1;

}; goog.array.bucket = function(a, b, c) {

for (var d = {}, e = 0;e < a.length;e++) {
  var f = a[e], g = b.call(c, f, e, a);
  goog.isDef(g) && (d[g] || (d[g] = [])).push(f);
}
return d;

}; goog.array.toObject = function(a, b, c) {

var d = {};
goog.array.forEach(a, function(e, f) {
  d[b.call(c, e, f, a)] = e;
});
return d;

}; goog.array.range = function(a, b, c) {

var d = [], e = 0, f = a;
c = c || 1;
void 0 !== b && (e = a, f = b);
if (0 > c * (f - e)) {
  return[];
}
if (0 < c) {
  for (a = e;a < f;a += c) {
    d.push(a);
  }
} else {
  for (a = e;a > f;a += c) {
    d.push(a);
  }
}
return d;

}; goog.array.repeat = function(a, b) {

for (var c = [], d = 0;d < b;d++) {
  c[d] = a;
}
return c;

}; goog.array.flatten = function(a) {

for (var b = [], c = 0;c < arguments.length;c++) {
  var d = arguments[c];
  if (goog.isArray(d)) {
    for (var e = 0;e < d.length;e += 8192) {
      for (var f = goog.array.slice(d, e, e + 8192), f = goog.array.flatten.apply(null, f), g = 0;g < f.length;g++) {
        b.push(f[g]);
      }
    }
  } else {
    b.push(d);
  }
}
return b;

}; goog.array.rotate = function(a, b) {

goog.asserts.assert(null != a.length);
a.length && (b %= a.length, 0 < b ? goog.array.ARRAY_PROTOTYPE_.unshift.apply(a, a.splice(-b, b)) : 0 > b && goog.array.ARRAY_PROTOTYPE_.push.apply(a, a.splice(0, -b)));
return a;

}; goog.array.moveItem = function(a, b, c) {

goog.asserts.assert(0 <= b && b < a.length);
goog.asserts.assert(0 <= c && c < a.length);
b = goog.array.ARRAY_PROTOTYPE_.splice.call(a, b, 1);
goog.array.ARRAY_PROTOTYPE_.splice.call(a, c, 0, b[0]);

}; goog.array.zip = function(a) {

if (!arguments.length) {
  return[];
}
for (var b = [], c = 0;;c++) {
  for (var d = [], e = 0;e < arguments.length;e++) {
    var f = arguments[e];
    if (c >= f.length) {
      return b;
    }
    d.push(f[c]);
  }
  b.push(d);
}

}; goog.array.shuffle = function(a, b) {

for (var c = b || Math.random, d = a.length - 1;0 < d;d--) {
  var e = Math.floor(c() * (d + 1)), f = a[d];
  a[d] = a[e];
  a[e] = f;
}

}; goog.object = {}; goog.object.forEach = function(a, b, c) {

for (var d in a) {
  b.call(c, a[d], d, a);
}

}; goog.object.filter = function(a, b, c) {

var d = {}, e;
for (e in a) {
  b.call(c, a[e], e, a) && (d[e] = a[e]);
}
return d;

}; goog.object.map = function(a, b, c) {

var d = {}, e;
for (e in a) {
  d[e] = b.call(c, a[e], e, a);
}
return d;

}; goog.object.some = function(a, b, c) {

for (var d in a) {
  if (b.call(c, a[d], d, a)) {
    return!0;
  }
}
return!1;

}; goog.object.every = function(a, b, c) {

for (var d in a) {
  if (!b.call(c, a[d], d, a)) {
    return!1;
  }
}
return!0;

}; goog.object.getCount = function(a) {

var b = 0, c;
for (c in a) {
  b++;
}
return b;

}; goog.object.getAnyKey = function(a) {

for (var b in a) {
  return b;
}

}; goog.object.getAnyValue = function(a) {

for (var b in a) {
  return a[b];
}

}; goog.object.contains = function(a, b) {

return goog.object.containsValue(a, b);

}; goog.object.getValues = function(a) {

var b = [], c = 0, d;
for (d in a) {
  b[c++] = a[d];
}
return b;

}; goog.object.getKeys = function(a) {

var b = [], c = 0, d;
for (d in a) {
  b[c++] = d;
}
return b;

}; goog.object.getValueByKeys = function(a, b) {

for (var c = goog.isArrayLike(b), d = c ? b : arguments, c = c ? 0 : 1;c < d.length && (a = a[d[c]], goog.isDef(a));c++) {
}
return a;

}; goog.object.containsKey = function(a, b) {

return b in a;

}; goog.object.containsValue = function(a, b) {

for (var c in a) {
  if (a[c] == b) {
    return!0;
  }
}
return!1;

}; goog.object.findKey = function(a, b, c) {

for (var d in a) {
  if (b.call(c, a[d], d, a)) {
    return d;
  }
}

}; goog.object.findValue = function(a, b, c) {

return(b = goog.object.findKey(a, b, c)) && a[b];

}; goog.object.isEmpty = function(a) {

for (var b in a) {
  return!1;
}
return!0;

}; goog.object.clear = function(a) {

for (var b in a) {
  delete a[b];
}

}; goog.object.remove = function(a, b) {

var c;
(c = b in a) && delete a[b];
return c;

}; goog.object.add = function(a, b, c) {

if (b in a) {
  throw Error('The object already contains the key "' + b + '"');
}
goog.object.set(a, b, c);

}; goog.object.get = function(a, b, c) {

return b in a ? a[b] : c;

}; goog.object.set = function(a, b, c) {

a[b] = c;

}; goog.object.setIfUndefined = function(a, b, c) {

return b in a ? a[b] : a[b] = c;

}; goog.object.equals = function(a, b) {

for (var c in a) {
  if (!(c in b) || a[c] !== b[c]) {
    return!1;
  }
}
for (c in b) {
  if (!(c in a)) {
    return!1;
  }
}
return!0;

}; goog.object.clone = function(a) {

var b = {}, c;
for (c in a) {
  b[c] = a[c];
}
return b;

}; goog.object.unsafeClone = function(a) {

var b = goog.typeOf(a);
if ("object" == b || "array" == b) {
  if (a.clone) {
    return a.clone();
  }
  var b = "array" == b ? [] : {}, c;
  for (c in a) {
    b[c] = goog.object.unsafeClone(a[c]);
  }
  return b;
}
return a;

}; goog.object.transpose = function(a) {

var b = {}, c;
for (c in a) {
  b[a[c]] = c;
}
return b;

}; goog.object.PROTOTYPE_FIELDS_ = “constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf”.split(“ ”); goog.object.extend = function(a, b) {

for (var c, d, e = 1;e < arguments.length;e++) {
  d = arguments[e];
  for (c in d) {
    a[c] = d[c];
  }
  for (var f = 0;f < goog.object.PROTOTYPE_FIELDS_.length;f++) {
    c = goog.object.PROTOTYPE_FIELDS_[f], Object.prototype.hasOwnProperty.call(d, c) && (a[c] = d[c]);
  }
}

}; goog.object.create = function(a) {

var b = arguments.length;
if (1 == b && goog.isArray(arguments[0])) {
  return goog.object.create.apply(null, arguments[0]);
}
if (b % 2) {
  throw Error("Uneven number of arguments");
}
for (var c = {}, d = 0;d < b;d += 2) {
  c[arguments[d]] = arguments[d + 1];
}
return c;

}; goog.object.createSet = function(a) {

var b = arguments.length;
if (1 == b && goog.isArray(arguments[0])) {
  return goog.object.createSet.apply(null, arguments[0]);
}
for (var c = {}, d = 0;d < b;d++) {
  c[arguments[d]] = !0;
}
return c;

}; goog.object.createImmutableView = function(a) {

var b = a;
Object.isFrozen && !Object.isFrozen(a) && (b = Object.create(a), Object.freeze(b));
return b;

}; goog.object.isImmutableView = function(a) {

return!!Object.isFrozen && Object.isFrozen(a);

}; goog.structs = {}; goog.structs.getCount = function(a) {

return "function" == typeof a.getCount ? a.getCount() : goog.isArrayLike(a) || goog.isString(a) ? a.length : goog.object.getCount(a);

}; goog.structs.getValues = function(a) {

if ("function" == typeof a.getValues) {
  return a.getValues();
}
if (goog.isString(a)) {
  return a.split("");
}
if (goog.isArrayLike(a)) {
  for (var b = [], c = a.length, d = 0;d < c;d++) {
    b.push(a[d]);
  }
  return b;
}
return goog.object.getValues(a);

}; goog.structs.getKeys = function(a) {

if ("function" == typeof a.getKeys) {
  return a.getKeys();
}
if ("function" != typeof a.getValues) {
  if (goog.isArrayLike(a) || goog.isString(a)) {
    var b = [];
    a = a.length;
    for (var c = 0;c < a;c++) {
      b.push(c);
    }
    return b;
  }
  return goog.object.getKeys(a);
}

}; goog.structs.contains = function(a, b) {

return "function" == typeof a.contains ? a.contains(b) : "function" == typeof a.containsValue ? a.containsValue(b) : goog.isArrayLike(a) || goog.isString(a) ? goog.array.contains(a, b) : goog.object.containsValue(a, b);

}; goog.structs.isEmpty = function(a) {

return "function" == typeof a.isEmpty ? a.isEmpty() : goog.isArrayLike(a) || goog.isString(a) ? goog.array.isEmpty(a) : goog.object.isEmpty(a);

}; goog.structs.clear = function(a) {

"function" == typeof a.clear ? a.clear() : goog.isArrayLike(a) ? goog.array.clear(a) : goog.object.clear(a);

}; goog.structs.forEach = function(a, b, c) {

if ("function" == typeof a.forEach) {
  a.forEach(b, c);
} else {
  if (goog.isArrayLike(a) || goog.isString(a)) {
    goog.array.forEach(a, b, c);
  } else {
    for (var d = goog.structs.getKeys(a), e = goog.structs.getValues(a), f = e.length, g = 0;g < f;g++) {
      b.call(c, e[g], d && d[g], a);
    }
  }
}

}; goog.structs.filter = function(a, b, c) {

if ("function" == typeof a.filter) {
  return a.filter(b, c);
}
if (goog.isArrayLike(a) || goog.isString(a)) {
  return goog.array.filter(a, b, c);
}
var d, e = goog.structs.getKeys(a), f = goog.structs.getValues(a), g = f.length;
if (e) {
  d = {};
  for (var h = 0;h < g;h++) {
    b.call(c, f[h], e[h], a) && (d[e[h]] = f[h]);
  }
} else {
  for (d = [], h = 0;h < g;h++) {
    b.call(c, f[h], void 0, a) && d.push(f[h]);
  }
}
return d;

}; goog.structs.map = function(a, b, c) {

if ("function" == typeof a.map) {
  return a.map(b, c);
}
if (goog.isArrayLike(a) || goog.isString(a)) {
  return goog.array.map(a, b, c);
}
var d, e = goog.structs.getKeys(a), f = goog.structs.getValues(a), g = f.length;
if (e) {
  d = {};
  for (var h = 0;h < g;h++) {
    d[e[h]] = b.call(c, f[h], e[h], a);
  }
} else {
  for (d = [], h = 0;h < g;h++) {
    d[h] = b.call(c, f[h], void 0, a);
  }
}
return d;

}; goog.structs.some = function(a, b, c) {

if ("function" == typeof a.some) {
  return a.some(b, c);
}
if (goog.isArrayLike(a) || goog.isString(a)) {
  return goog.array.some(a, b, c);
}
for (var d = goog.structs.getKeys(a), e = goog.structs.getValues(a), f = e.length, g = 0;g < f;g++) {
  if (b.call(c, e[g], d && d[g], a)) {
    return!0;
  }
}
return!1;

}; goog.structs.every = function(a, b, c) {

if ("function" == typeof a.every) {
  return a.every(b, c);
}
if (goog.isArrayLike(a) || goog.isString(a)) {
  return goog.array.every(a, b, c);
}
for (var d = goog.structs.getKeys(a), e = goog.structs.getValues(a), f = e.length, g = 0;g < f;g++) {
  if (!b.call(c, e[g], d && d[g], a)) {
    return!1;
  }
}
return!0;

}; goog.functions = {}; goog.functions.constant = function(a) {

return function() {
  return a;
};

}; goog.functions.FALSE = goog.functions.constant(!1); goog.functions.TRUE = goog.functions.constant(!0); goog.functions.NULL = goog.functions.constant(null); goog.functions.identity = function(a, b) {

return a;

}; goog.functions.error = function(a) {

return function() {
  throw Error(a);
};

}; goog.functions.fail = function(a) {

return function() {
  throw a;
};

}; goog.functions.lock = function(a, b) {

b = b || 0;
return function() {
  return a.apply(this, Array.prototype.slice.call(arguments, 0, b));
};

}; goog.functions.nth = function(a) {

return function() {
  return arguments[a];
};

}; goog.functions.withReturnValue = function(a, b) {

return goog.functions.sequence(a, goog.functions.constant(b));

}; goog.functions.equalTo = function(a, b) {

return function(c) {
  return b ? a == c : a === c;
};

}; goog.functions.compose = function(a, b) {

var c = arguments, d = c.length;
return function() {
  var a;
  d && (a = c[d - 1].apply(this, arguments));
  for (var b = d - 2;0 <= b;b--) {
    a = c[b].call(this, a);
  }
  return a;
};

}; goog.functions.sequence = function(a) {

var b = arguments, c = b.length;
return function() {
  for (var a, e = 0;e < c;e++) {
    a = b[e].apply(this, arguments);
  }
  return a;
};

}; goog.functions.and = function(a) {

var b = arguments, c = b.length;
return function() {
  for (var a = 0;a < c;a++) {
    if (!b[a].apply(this, arguments)) {
      return!1;
    }
  }
  return!0;
};

}; goog.functions.or = function(a) {

var b = arguments, c = b.length;
return function() {
  for (var a = 0;a < c;a++) {
    if (b[a].apply(this, arguments)) {
      return!0;
    }
  }
  return!1;
};

}; goog.functions.not = function(a) {

return function() {
  return!a.apply(this, arguments);
};

}; goog.functions.create = function(a, b) {

var c = function() {
};
c.prototype = a.prototype;
c = new c;
a.apply(c, Array.prototype.slice.call(arguments, 1));
return c;

}; goog.functions.CACHE_RETURN_VALUE = !0; goog.functions.cacheReturnValue = function(a) {

var b = !1, c;
return function() {
  if (!goog.functions.CACHE_RETURN_VALUE) {
    return a();
  }
  b || (c = a(), b = !0);
  return c;
};

}; goog.math = {}; goog.math.randomInt = function(a) {

return Math.floor(Math.random() * a);

}; goog.math.uniformRandom = function(a, b) {

return a + Math.random() * (b - a);

}; goog.math.clamp = function(a, b, c) {

return Math.min(Math.max(a, b), c);

}; goog.math.modulo = function(a, b) {

var c = a % b;
return 0 > c * b ? c + b : c;

}; goog.math.lerp = function(a, b, c) {

return a + c * (b - a);

}; goog.math.nearlyEquals = function(a, b, c) {

return Math.abs(a - b) <= (c || 1E-6);

}; goog.math.standardAngle = function(a) {

return goog.math.modulo(a, 360);

}; goog.math.standardAngleInRadians = function(a) {

return goog.math.modulo(a, 2 * Math.PI);

}; goog.math.toRadians = function(a) {

return a * Math.PI / 180;

}; goog.math.toDegrees = function(a) {

return 180 * a / Math.PI;

}; goog.math.angleDx = function(a, b) {

return b * Math.cos(goog.math.toRadians(a));

}; goog.math.angleDy = function(a, b) {

return b * Math.sin(goog.math.toRadians(a));

}; goog.math.angle = function(a, b, c, d) {

return goog.math.standardAngle(goog.math.toDegrees(Math.atan2(d - b, c - a)));

}; goog.math.angleDifference = function(a, b) {

var c = goog.math.standardAngle(b) - goog.math.standardAngle(a);
180 < c ? c -= 360 : -180 >= c && (c = 360 + c);
return c;

}; goog.math.sign = function(a) {

return 0 == a ? 0 : 0 > a ? -1 : 1;

}; goog.math.longestCommonSubsequence = function(a, b, c, d) {

c = c || function(a, b) {
  return a == b;
};
d = d || function(b, c) {
  return a[b];
};
for (var e = a.length, f = b.length, g = [], h = 0;h < e + 1;h++) {
  g[h] = [], g[h][0] = 0;
}
for (var k = 0;k < f + 1;k++) {
  g[0][k] = 0;
}
for (h = 1;h <= e;h++) {
  for (k = 1;k <= f;k++) {
    c(a[h - 1], b[k - 1]) ? g[h][k] = g[h - 1][k - 1] + 1 : g[h][k] = Math.max(g[h - 1][k], g[h][k - 1]);
  }
}
for (var l = [], h = e, k = f;0 < h && 0 < k;) {
  c(a[h - 1], b[k - 1]) ? (l.unshift(d(h - 1, k - 1)), h--, k--) : g[h - 1][k] > g[h][k - 1] ? h-- : k--;
}
return l;

}; goog.math.sum = function(a) {

return goog.array.reduce(arguments, function(a, c) {
  return a + c;
}, 0);

}; goog.math.average = function(a) {

return goog.math.sum.apply(null, arguments) / arguments.length;

}; goog.math.sampleVariance = function(a) {

var b = arguments.length;
if (2 > b) {
  return 0;
}
var c = goog.math.average.apply(null, arguments);
return goog.math.sum.apply(null, goog.array.map(arguments, function(a) {
  return Math.pow(a - c, 2);
})) / (b - 1);

}; goog.math.standardDeviation = function(a) {

return Math.sqrt(goog.math.sampleVariance.apply(null, arguments));

}; goog.math.isInt = function(a) {

return isFinite(a) && 0 == a % 1;

}; goog.math.isFiniteNumber = function(a) {

return isFinite(a) && !isNaN(a);

}; goog.math.log10Floor = function(a) {

if (0 < a) {
  var b = Math.round(Math.log(a) * Math.LOG10E);
  return b - (parseFloat("1e" + b) > a);
}
return 0 == a ? -Infinity : NaN;

}; goog.math.safeFloor = function(a, b) {

goog.asserts.assert(!goog.isDef(b) || 0 < b);
return Math.floor(a + (b || 2E-15));

}; goog.math.safeCeil = function(a, b) {

goog.asserts.assert(!goog.isDef(b) || 0 < b);
return Math.ceil(a - (b || 2E-15));

}; goog.iter = {}; goog.iter.StopIteration = “StopIteration” in goog.global ? goog.global.StopIteration : Error(“StopIteration”); goog.iter.Iterator = function() { }; goog.iter.Iterator.prototype.next = function() {

throw goog.iter.StopIteration;

}; goog.iter.Iterator.prototype.__iterator__ = function(a) {

return this;

}; goog.iter.toIterator = function(a) {

if (a instanceof goog.iter.Iterator) {
  return a;
}
if ("function" == typeof a.__iterator__) {
  return a.__iterator__(!1);
}
if (goog.isArrayLike(a)) {
  var b = 0, c = new goog.iter.Iterator;
  c.next = function() {
    for (;;) {
      if (b >= a.length) {
        throw goog.iter.StopIteration;
      }
      if (b in a) {
        return a[b++];
      }
      b++;
    }
  };
  return c;
}
throw Error("Not implemented");

}; goog.iter.forEach = function(a, b, c) {

if (goog.isArrayLike(a)) {
  try {
    goog.array.forEach(a, b, c);
  } catch (d) {
    if (d !== goog.iter.StopIteration) {
      throw d;
    }
  }
} else {
  a = goog.iter.toIterator(a);
  try {
    for (;;) {
      b.call(c, a.next(), void 0, a);
    }
  } catch (e) {
    if (e !== goog.iter.StopIteration) {
      throw e;
    }
  }
}

}; goog.iter.filter = function(a, b, c) {

var d = goog.iter.toIterator(a);
a = new goog.iter.Iterator;
a.next = function() {
  for (;;) {
    var a = d.next();
    if (b.call(c, a, void 0, d)) {
      return a;
    }
  }
};
return a;

}; goog.iter.filterFalse = function(a, b, c) {

return goog.iter.filter(a, goog.functions.not(b), c);

}; goog.iter.range = function(a, b, c) {

var d = 0, e = a, f = c || 1;
1 < arguments.length && (d = a, e = b);
if (0 == f) {
  throw Error("Range step argument must not be zero");
}
var g = new goog.iter.Iterator;
g.next = function() {
  if (0 < f && d >= e || 0 > f && d <= e) {
    throw goog.iter.StopIteration;
  }
  var a = d;
  d += f;
  return a;
};
return g;

}; goog.iter.join = function(a, b) {

return goog.iter.toArray(a).join(b);

}; goog.iter.map = function(a, b, c) {

var d = goog.iter.toIterator(a);
a = new goog.iter.Iterator;
a.next = function() {
  var a = d.next();
  return b.call(c, a, void 0, d);
};
return a;

}; goog.iter.reduce = function(a, b, c, d) {

var e = c;
goog.iter.forEach(a, function(a) {
  e = b.call(d, e, a);
});
return e;

}; goog.iter.some = function(a, b, c) {

a = goog.iter.toIterator(a);
try {
  for (;;) {
    if (b.call(c, a.next(), void 0, a)) {
      return!0;
    }
  }
} catch (d) {
  if (d !== goog.iter.StopIteration) {
    throw d;
  }
}
return!1;

}; goog.iter.every = function(a, b, c) {

a = goog.iter.toIterator(a);
try {
  for (;;) {
    if (!b.call(c, a.next(), void 0, a)) {
      return!1;
    }
  }
} catch (d) {
  if (d !== goog.iter.StopIteration) {
    throw d;
  }
}
return!0;

}; goog.iter.chain = function(a) {

return goog.iter.chainFromIterable(arguments);

}; goog.iter.chainFromIterable = function(a) {

var b = goog.iter.toIterator(a);
a = new goog.iter.Iterator;
var c = null;
a.next = function() {
  for (;;) {
    if (null == c) {
      var a = b.next();
      c = goog.iter.toIterator(a);
    }
    try {
      return c.next();
    } catch (e) {
      if (e !== goog.iter.StopIteration) {
        throw e;
      }
      c = null;
    }
  }
};
return a;

}; goog.iter.dropWhile = function(a, b, c) {

var d = goog.iter.toIterator(a);
a = new goog.iter.Iterator;
var e = !0;
a.next = function() {
  for (;;) {
    var a = d.next();
    if (!e || !b.call(c, a, void 0, d)) {
      return e = !1, a;
    }
  }
};
return a;

}; goog.iter.takeWhile = function(a, b, c) {

var d = goog.iter.toIterator(a);
a = new goog.iter.Iterator;
a.next = function() {
  var a = d.next();
  if (b.call(c, a, void 0, d)) {
    return a;
  }
  throw goog.iter.StopIteration;
};
return a;

}; goog.iter.toArray = function(a) {

if (goog.isArrayLike(a)) {
  return goog.array.toArray(a);
}
a = goog.iter.toIterator(a);
var b = [];
goog.iter.forEach(a, function(a) {
  b.push(a);
});
return b;

}; goog.iter.equals = function(a, b, c) {

a = goog.iter.zipLongest({}, a, b);
var d = c || goog.array.defaultCompareEquality;
return goog.iter.every(a, function(a) {
  return d(a[0], a[1]);
});

}; goog.iter.nextOrValue = function(a, b) {

try {
  return goog.iter.toIterator(a).next();
} catch (c) {
  if (c != goog.iter.StopIteration) {
    throw c;
  }
  return b;
}

}; goog.iter.product = function(a) {

if (goog.array.some(arguments, function(a) {
  return!a.length;
}) || !arguments.length) {
  return new goog.iter.Iterator;
}
var b = new goog.iter.Iterator, c = arguments, d = goog.array.repeat(0, c.length);
b.next = function() {
  if (d) {
    for (var a = goog.array.map(d, function(a, b) {
      return c[b][a];
    }), b = d.length - 1;0 <= b;b--) {
      goog.asserts.assert(d);
      if (d[b] < c[b].length - 1) {
        d[b]++;
        break;
      }
      if (0 == b) {
        d = null;
        break;
      }
      d[b] = 0;
    }
    return a;
  }
  throw goog.iter.StopIteration;
};
return b;

}; goog.iter.cycle = function(a) {

var b = goog.iter.toIterator(a), c = [], d = 0;
a = new goog.iter.Iterator;
var e = !1;
a.next = function() {
  var a = null;
  if (!e) {
    try {
      return a = b.next(), c.push(a), a;
    } catch (g) {
      if (g != goog.iter.StopIteration || goog.array.isEmpty(c)) {
        throw g;
      }
      e = !0;
    }
  }
  a = c[d];
  d = (d + 1) % c.length;
  return a;
};
return a;

}; goog.iter.count = function(a, b) {

var c = a || 0, d = goog.isDef(b) ? b : 1, e = new goog.iter.Iterator;
e.next = function() {
  var a = c;
  c += d;
  return a;
};
return e;

}; goog.iter.repeat = function(a) {

var b = new goog.iter.Iterator;
b.next = goog.functions.constant(a);
return b;

}; goog.iter.accumulate = function(a) {

var b = goog.iter.toIterator(a), c = 0;
a = new goog.iter.Iterator;
a.next = function() {
  return c += b.next();
};
return a;

}; goog.iter.zip = function(a) {

var b = arguments, c = new goog.iter.Iterator;
if (0 < b.length) {
  var d = goog.array.map(b, goog.iter.toIterator);
  c.next = function() {
    return goog.array.map(d, function(a) {
      return a.next();
    });
  };
}
return c;

}; goog.iter.zipLongest = function(a, b) {

var c = goog.array.slice(arguments, 1), d = new goog.iter.Iterator;
if (0 < c.length) {
  var e = goog.array.map(c, goog.iter.toIterator);
  d.next = function() {
    var b = !1, c = goog.array.map(e, function(c) {
      var d;
      try {
        d = c.next(), b = !0;
      } catch (e) {
        if (e !== goog.iter.StopIteration) {
          throw e;
        }
        d = a;
      }
      return d;
    });
    if (!b) {
      throw goog.iter.StopIteration;
    }
    return c;
  };
}
return d;

}; goog.iter.compress = function(a, b) {

var c = goog.iter.toIterator(b);
return goog.iter.filter(a, function() {
  return!!c.next();
});

}; goog.iter.GroupByIterator_ = function(a, b) {

this.iterator = goog.iter.toIterator(a);
this.keyFunc = b || goog.functions.identity;

}; goog.inherits(goog.iter.GroupByIterator_, goog.iter.Iterator); goog.iter.GroupByIterator_.prototype.next = function() {

for (;this.currentKey == this.targetKey;) {
  this.currentValue = this.iterator.next(), this.currentKey = this.keyFunc(this.currentValue);
}
this.targetKey = this.currentKey;
return[this.currentKey, this.groupItems_(this.targetKey)];

}; goog.iter.GroupByIterator_.prototype.groupItems_ = function(a) {

for (var b = [];this.currentKey == a;) {
  b.push(this.currentValue);
  try {
    this.currentValue = this.iterator.next();
  } catch (c) {
    if (c !== goog.iter.StopIteration) {
      throw c;
    }
    break;
  }
  this.currentKey = this.keyFunc(this.currentValue);
}
return b;

}; goog.iter.groupBy = function(a, b) {

return new goog.iter.GroupByIterator_(a, b);

}; goog.iter.starMap = function(a, b, c) {

var d = goog.iter.toIterator(a);
a = new goog.iter.Iterator;
a.next = function() {
  var a = goog.iter.toArray(d.next());
  return b.apply(c, goog.array.concat(a, void 0, d));
};
return a;

}; goog.iter.tee = function(a, b) {

var c = goog.iter.toIterator(a), d = goog.isNumber(b) ? b : 2, e = goog.array.map(goog.array.range(d), function() {
  return[];
}), f = function() {
  var a = c.next();
  goog.array.forEach(e, function(b) {
    b.push(a);
  });
};
return goog.array.map(e, function(a) {
  var b = new goog.iter.Iterator;
  b.next = function() {
    goog.array.isEmpty(a) && f();
    goog.asserts.assert(!goog.array.isEmpty(a));
    return a.shift();
  };
  return b;
});

}; goog.iter.enumerate = function(a, b) {

return goog.iter.zip(goog.iter.count(b), a);

}; goog.iter.limit = function(a, b) {

goog.asserts.assert(goog.math.isInt(b) && 0 <= b);
var c = goog.iter.toIterator(a), d = new goog.iter.Iterator, e = b;
d.next = function() {
  if (0 < e--) {
    return c.next();
  }
  throw goog.iter.StopIteration;
};
return d;

}; goog.iter.consume = function(a, b) {

goog.asserts.assert(goog.math.isInt(b) && 0 <= b);
for (var c = goog.iter.toIterator(a);0 < b--;) {
  goog.iter.nextOrValue(c, null);
}
return c;

}; goog.iter.slice = function(a, b, c) {

goog.asserts.assert(goog.math.isInt(b) && 0 <= b);
a = goog.iter.consume(a, b);
goog.isNumber(c) && (goog.asserts.assert(goog.math.isInt(c) && c >= b), a = goog.iter.limit(a, c - b));
return a;

}; goog.iter.hasDuplicates_ = function(a) {

var b = [];
goog.array.removeDuplicates(a, b);
return a.length != b.length;

}; goog.iter.permutations = function(a, b) {

var c = goog.iter.toArray(a), d = goog.isNumber(b) ? b : c.length, c = goog.array.repeat(c, d), c = goog.iter.product.apply(void 0, c);
return goog.iter.filter(c, function(a) {
  return!goog.iter.hasDuplicates_(a);
});

}; goog.iter.combinations = function(a, b) {

function c(a) {
  return d[a];
}
var d = goog.iter.toArray(a), e = goog.iter.range(d.length), e = goog.iter.permutations(e, b), f = goog.iter.filter(e, function(a) {
  return goog.array.isSorted(a);
}), e = new goog.iter.Iterator;
e.next = function() {
  return goog.array.map(f.next(), c);
};
return e;

}; goog.iter.combinationsWithReplacement = function(a, b) {

function c(a) {
  return d[a];
}
var d = goog.iter.toArray(a), e = goog.array.range(d.length), e = goog.array.repeat(e, b), e = goog.iter.product.apply(void 0, e), f = goog.iter.filter(e, function(a) {
  return goog.array.isSorted(a);
}), e = new goog.iter.Iterator;
e.next = function() {
  return goog.array.map(f.next(), c);
};
return e;

}; goog.structs.Map = function(a, b) {

this.map_ = {};
this.keys_ = [];
this.version_ = this.count_ = 0;
var c = arguments.length;
if (1 < c) {
  if (c % 2) {
    throw Error("Uneven number of arguments");
  }
  for (var d = 0;d < c;d += 2) {
    this.set(arguments[d], arguments[d + 1]);
  }
} else {
  a && this.addAll(a);
}

}; goog.structs.Map.prototype.getCount = function() {

return this.count_;

}; goog.structs.Map.prototype.getValues = function() {

this.cleanupKeysArray_();
for (var a = [], b = 0;b < this.keys_.length;b++) {
  a.push(this.map_[this.keys_[b]]);
}
return a;

}; goog.structs.Map.prototype.getKeys = function() {

this.cleanupKeysArray_();
return this.keys_.concat();

}; goog.structs.Map.prototype.containsKey = function(a) {

return goog.structs.Map.hasKey_(this.map_, a);

}; goog.structs.Map.prototype.containsValue = function(a) {

for (var b = 0;b < this.keys_.length;b++) {
  var c = this.keys_[b];
  if (goog.structs.Map.hasKey_(this.map_, c) && this.map_[c] == a) {
    return!0;
  }
}
return!1;

}; goog.structs.Map.prototype.equals = function(a, b) {

if (this === a) {
  return!0;
}
if (this.count_ != a.getCount()) {
  return!1;
}
var c = b || goog.structs.Map.defaultEquals;
this.cleanupKeysArray_();
for (var d, e = 0;d = this.keys_[e];e++) {
  if (!c(this.get(d), a.get(d))) {
    return!1;
  }
}
return!0;

}; goog.structs.Map.defaultEquals = function(a, b) {

return a === b;

}; goog.structs.Map.prototype.isEmpty = function() {

return 0 == this.count_;

}; goog.structs.Map.prototype.clear = function() {

this.map_ = {};
this.version_ = this.count_ = this.keys_.length = 0;

}; goog.structs.Map.prototype.remove = function(a) {

return goog.structs.Map.hasKey_(this.map_, a) ? (delete this.map_[a], this.count_--, this.version_++, this.keys_.length > 2 * this.count_ && this.cleanupKeysArray_(), !0) : !1;

}; goog.structs.Map.prototype.cleanupKeysArray_ = function() {

if (this.count_ != this.keys_.length) {
  for (var a = 0, b = 0;a < this.keys_.length;) {
    var c = this.keys_[a];
    goog.structs.Map.hasKey_(this.map_, c) && (this.keys_[b++] = c);
    a++;
  }
  this.keys_.length = b;
}
if (this.count_ != this.keys_.length) {
  for (var d = {}, b = a = 0;a < this.keys_.length;) {
    c = this.keys_[a], goog.structs.Map.hasKey_(d, c) || (this.keys_[b++] = c, d[c] = 1), a++;
  }
  this.keys_.length = b;
}

}; goog.structs.Map.prototype.get = function(a, b) {

return goog.structs.Map.hasKey_(this.map_, a) ? this.map_[a] : b;

}; goog.structs.Map.prototype.set = function(a, b) {

goog.structs.Map.hasKey_(this.map_, a) || (this.count_++, this.keys_.push(a), this.version_++);
this.map_[a] = b;

}; goog.structs.Map.prototype.addAll = function(a) {

var b;
a instanceof goog.structs.Map ? (b = a.getKeys(), a = a.getValues()) : (b = goog.object.getKeys(a), a = goog.object.getValues(a));
for (var c = 0;c < b.length;c++) {
  this.set(b[c], a[c]);
}

}; goog.structs.Map.prototype.forEach = function(a, b) {

for (var c = this.getKeys(), d = 0;d < c.length;d++) {
  var e = c[d], f = this.get(e);
  a.call(b, f, e, this);
}

}; goog.structs.Map.prototype.clone = function() {

return new goog.structs.Map(this);

}; goog.structs.Map.prototype.transpose = function() {

for (var a = new goog.structs.Map, b = 0;b < this.keys_.length;b++) {
  var c = this.keys_[b];
  a.set(this.map_[c], c);
}
return a;

}; goog.structs.Map.prototype.toObject = function() {

this.cleanupKeysArray_();
for (var a = {}, b = 0;b < this.keys_.length;b++) {
  var c = this.keys_[b];
  a[c] = this.map_[c];
}
return a;

}; goog.structs.Map.prototype.getKeyIterator = function() {

return this.__iterator__(!0);

}; goog.structs.Map.prototype.getValueIterator = function() {

return this.__iterator__(!1);

}; goog.structs.Map.prototype.__iterator__ = function(a) {

this.cleanupKeysArray_();
var b = 0, c = this.keys_, d = this.map_, e = this.version_, f = this, g = new goog.iter.Iterator;
g.next = function() {
  for (;;) {
    if (e != f.version_) {
      throw Error("The map has changed since the iterator was created");
    }
    if (b >= c.length) {
      throw goog.iter.StopIteration;
    }
    var g = c[b++];
    return a ? g : d[g];
  }
};
return g;

}; goog.structs.Map.hasKey_ = function(a, b) {

return Object.prototype.hasOwnProperty.call(a, b);

}; goog.labs = {}; goog.labs.userAgent = {}; goog.labs.userAgent.util = {}; goog.labs.userAgent.util.getNativeUserAgentString_ = function() {

var a = goog.labs.userAgent.util.getNavigator_();
return a && (a = a.userAgent) ? a : "";

}; goog.labs.userAgent.util.getNavigator_ = function() {

return goog.global.navigator;

}; goog.labs.userAgent.util.userAgent_ = goog.labs.userAgent.util.getNativeUserAgentString_(); goog.labs.userAgent.util.setUserAgent = function(a) {

goog.labs.userAgent.util.userAgent_ = a || goog.labs.userAgent.util.getNativeUserAgentString_();

}; goog.labs.userAgent.util.getUserAgent = function() {

return goog.labs.userAgent.util.userAgent_;

}; goog.labs.userAgent.util.matchUserAgent = function(a) {

var b = goog.labs.userAgent.util.getUserAgent();
return goog.string.contains(b, a);

}; goog.labs.userAgent.util.matchUserAgentIgnoreCase = function(a) {

var b = goog.labs.userAgent.util.getUserAgent();
return goog.string.caseInsensitiveContains(b, a);

}; goog.labs.userAgent.util.extractVersionTuples = function(a) {

for (var b = RegExp("(\\w[\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?", "g"), c = [], d;d = b.exec(a);) {
  c.push([d[1], d[2], d[3] || void 0]);
}
return c;

}; goog.labs.userAgent.browser = {}; goog.labs.userAgent.browser.matchOpera_ = function() {

return goog.labs.userAgent.util.matchUserAgent("Opera") || goog.labs.userAgent.util.matchUserAgent("OPR");

}; goog.labs.userAgent.browser.matchIE_ = function() {

return goog.labs.userAgent.util.matchUserAgent("Trident") || goog.labs.userAgent.util.matchUserAgent("MSIE");

}; goog.labs.userAgent.browser.matchFirefox_ = function() {

return goog.labs.userAgent.util.matchUserAgent("Firefox");

}; goog.labs.userAgent.browser.matchSafari_ = function() {

return goog.labs.userAgent.util.matchUserAgent("Safari") && !goog.labs.userAgent.util.matchUserAgent("Chrome") && !goog.labs.userAgent.util.matchUserAgent("CriOS") && !goog.labs.userAgent.util.matchUserAgent("Android");

}; goog.labs.userAgent.browser.matchCoast_ = function() {

return goog.labs.userAgent.util.matchUserAgent("Coast");

}; goog.labs.userAgent.browser.matchIosWebview_ = function() {

return(goog.labs.userAgent.util.matchUserAgent("iPad") || goog.labs.userAgent.util.matchUserAgent("iPhone")) && !goog.labs.userAgent.browser.matchSafari_() && !goog.labs.userAgent.browser.matchChrome_() && !goog.labs.userAgent.browser.matchCoast_() && goog.labs.userAgent.util.matchUserAgent("AppleWebKit");

}; goog.labs.userAgent.browser.matchChrome_ = function() {

return goog.labs.userAgent.util.matchUserAgent("Chrome") || goog.labs.userAgent.util.matchUserAgent("CriOS");

}; goog.labs.userAgent.browser.matchAndroidBrowser_ = function() {

return!goog.labs.userAgent.browser.isChrome() && goog.labs.userAgent.util.matchUserAgent("Android");

}; goog.labs.userAgent.browser.isOpera = goog.labs.userAgent.browser.matchOpera_; goog.labs.userAgent.browser.isIE = goog.labs.userAgent.browser.matchIE_; goog.labs.userAgent.browser.isFirefox = goog.labs.userAgent.browser.matchFirefox_; goog.labs.userAgent.browser.isSafari = goog.labs.userAgent.browser.matchSafari_; goog.labs.userAgent.browser.isCoast = goog.labs.userAgent.browser.matchCoast_; goog.labs.userAgent.browser.isIosWebview = goog.labs.userAgent.browser.matchIosWebview_; goog.labs.userAgent.browser.isChrome = goog.labs.userAgent.browser.matchChrome_; goog.labs.userAgent.browser.isAndroidBrowser = goog.labs.userAgent.browser.matchAndroidBrowser_; goog.labs.userAgent.browser.isSilk = function() {

return goog.labs.userAgent.util.matchUserAgent("Silk");

}; goog.labs.userAgent.browser.getVersion = function() {

function a(a) {
  a = goog.array.find(a, d);
  return c[a] || "";
}
var b = goog.labs.userAgent.util.getUserAgent();
if (goog.labs.userAgent.browser.isIE()) {
  return goog.labs.userAgent.browser.getIEVersion_(b);
}
var b = goog.labs.userAgent.util.extractVersionTuples(b), c = {};
goog.array.forEach(b, function(a) {
  c[a[0]] = a[1];
});
var d = goog.partial(goog.object.containsKey, c);
return goog.labs.userAgent.browser.isOpera() ? a(["Version", "Opera", "OPR"]) : goog.labs.userAgent.browser.isChrome() ? a(["Chrome", "CriOS"]) : (b = b[2]) && b[1] || "";

}; goog.labs.userAgent.browser.isVersionOrHigher = function(a) {

return 0 <= goog.string.compareVersions(goog.labs.userAgent.browser.getVersion(), a);

}; goog.labs.userAgent.browser.getIEVersion_ = function(a) {

var b = /rv: *([\d\.]*)/.exec(a);
if (b && b[1]) {
  return b[1];
}
var b = "", c = /MSIE +([\d\.]+)/.exec(a);
if (c && c[1]) {
  if (a = /Trident\/(\d.\d)/.exec(a), "7.0" == c[1]) {
    if (a && a[1]) {
      switch(a[1]) {
        case "4.0":
          b = "8.0";
          break;
        case "5.0":
          b = "9.0";
          break;
        case "6.0":
          b = "10.0";
          break;
        case "7.0":
          b = "11.0";
      }
    } else {
      b = "7.0";
    }
  } else {
    b = c[1];
  }
}
return b;

}; goog.labs.userAgent.engine = {}; goog.labs.userAgent.engine.isPresto = function() {

return goog.labs.userAgent.util.matchUserAgent("Presto");

}; goog.labs.userAgent.engine.isTrident = function() {

return goog.labs.userAgent.util.matchUserAgent("Trident") || goog.labs.userAgent.util.matchUserAgent("MSIE");

}; goog.labs.userAgent.engine.isWebKit = function() {

return goog.labs.userAgent.util.matchUserAgentIgnoreCase("WebKit");

}; goog.labs.userAgent.engine.isGecko = function() {

return goog.labs.userAgent.util.matchUserAgent("Gecko") && !goog.labs.userAgent.engine.isWebKit() && !goog.labs.userAgent.engine.isTrident();

}; goog.labs.userAgent.engine.getVersion = function() {

var a = goog.labs.userAgent.util.getUserAgent();
if (a) {
  var a = goog.labs.userAgent.util.extractVersionTuples(a), b = a[1];
  if (b) {
    return "Gecko" == b[0] ? goog.labs.userAgent.engine.getVersionForKey_(a, "Firefox") : b[1];
  }
  var a = a[0], c;
  if (a && (c = a[2]) && (c = /Trident\/([^\s;]+)/.exec(c))) {
    return c[1];
  }
}
return "";

}; goog.labs.userAgent.engine.isVersionOrHigher = function(a) {

return 0 <= goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(), a);

}; goog.labs.userAgent.engine.getVersionForKey_ = function(a, b) {

var c = goog.array.find(a, function(a) {
  return b == a[0];
});
return c && c[1] || "";

}; goog.labs.userAgent.platform = {}; goog.labs.userAgent.platform.isAndroid = function() {

return goog.labs.userAgent.util.matchUserAgent("Android");

}; goog.labs.userAgent.platform.isIpod = function() {

return goog.labs.userAgent.util.matchUserAgent("iPod");

}; goog.labs.userAgent.platform.isIphone = function() {

return goog.labs.userAgent.util.matchUserAgent("iPhone") && !goog.labs.userAgent.util.matchUserAgent("iPod") && !goog.labs.userAgent.util.matchUserAgent("iPad");

}; goog.labs.userAgent.platform.isIpad = function() {

return goog.labs.userAgent.util.matchUserAgent("iPad");

}; goog.labs.userAgent.platform.isIos = function() {

return goog.labs.userAgent.platform.isIphone() || goog.labs.userAgent.platform.isIpad() || goog.labs.userAgent.platform.isIpod();

}; goog.labs.userAgent.platform.isMacintosh = function() {

return goog.labs.userAgent.util.matchUserAgent("Macintosh");

}; goog.labs.userAgent.platform.isLinux = function() {

return goog.labs.userAgent.util.matchUserAgent("Linux");

}; goog.labs.userAgent.platform.isWindows = function() {

return goog.labs.userAgent.util.matchUserAgent("Windows");

}; goog.labs.userAgent.platform.isChromeOS = function() {

return goog.labs.userAgent.util.matchUserAgent("CrOS");

}; goog.labs.userAgent.platform.getVersion = function() {

var a = goog.labs.userAgent.util.getUserAgent(), b = "";
goog.labs.userAgent.platform.isWindows() ? (b = /Windows (?:NT|Phone) ([0-9.]+)/, b = (a = b.exec(a)) ? a[1] : "0.0") : goog.labs.userAgent.platform.isIos() ? (b = /(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/, b = (a = b.exec(a)) && a[1].replace(/_/g, ".")) : goog.labs.userAgent.platform.isMacintosh() ? (b = /Mac OS X ([0-9_.]+)/, b = (a = b.exec(a)) ? a[1].replace(/_/g, ".") : "10") : goog.labs.userAgent.platform.isAndroid() ? (b = /Android\s+([^\);]+)(\)|;)/, b = (a = b.exec(a)) && a[1]) : goog.labs.userAgent.platform.isChromeOS() && 
(b = /(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/, b = (a = b.exec(a)) && a[1]);
return b || "";

}; goog.labs.userAgent.platform.isVersionOrHigher = function(a) {

return 0 <= goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(), a);

}; goog.userAgent = {}; goog.userAgent.ASSUME_IE = !1; goog.userAgent.ASSUME_GECKO = !1; goog.userAgent.ASSUME_WEBKIT = !0; goog.userAgent.ASSUME_MOBILE_WEBKIT = !1; goog.userAgent.ASSUME_OPERA = !1; goog.userAgent.ASSUME_ANY_VERSION = !1; goog.userAgent.BROWSER_KNOWN_ = goog.userAgent.ASSUME_IE || goog.userAgent.ASSUME_GECKO || goog.userAgent.ASSUME_MOBILE_WEBKIT || goog.userAgent.ASSUME_WEBKIT || goog.userAgent.ASSUME_OPERA; goog.userAgent.getUserAgentString = function() {

return goog.labs.userAgent.util.getUserAgent();

}; goog.userAgent.getNavigator = function() {

return goog.global.navigator || null;

}; goog.userAgent.OPERA = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_OPERA : goog.labs.userAgent.browser.isOpera(); goog.userAgent.IE = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_IE : goog.labs.userAgent.browser.isIE(); goog.userAgent.GECKO = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_GECKO : goog.labs.userAgent.engine.isGecko(); goog.userAgent.WEBKIT = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_WEBKIT || goog.userAgent.ASSUME_MOBILE_WEBKIT : goog.labs.userAgent.engine.isWebKit(); goog.userAgent.isMobile_ = function() {

return goog.userAgent.WEBKIT && goog.labs.userAgent.util.matchUserAgent("Mobile");

}; goog.userAgent.MOBILE = goog.userAgent.ASSUME_MOBILE_WEBKIT || goog.userAgent.isMobile_(); goog.userAgent.SAFARI = goog.userAgent.WEBKIT; goog.userAgent.determinePlatform_ = function() {

var a = goog.userAgent.getNavigator();
return a && a.platform || "";

}; goog.userAgent.PLATFORM = goog.userAgent.determinePlatform_(); goog.userAgent.ASSUME_MAC = !1; goog.userAgent.ASSUME_WINDOWS = !1; goog.userAgent.ASSUME_LINUX = !1; goog.userAgent.ASSUME_X11 = !1; goog.userAgent.ASSUME_ANDROID = !1; goog.userAgent.ASSUME_IPHONE = !1; goog.userAgent.ASSUME_IPAD = !1; goog.userAgent.PLATFORM_KNOWN_ = goog.userAgent.ASSUME_MAC || goog.userAgent.ASSUME_WINDOWS || goog.userAgent.ASSUME_LINUX || goog.userAgent.ASSUME_X11 || goog.userAgent.ASSUME_ANDROID || goog.userAgent.ASSUME_IPHONE || goog.userAgent.ASSUME_IPAD; goog.userAgent.MAC = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_MAC : goog.labs.userAgent.platform.isMacintosh(); goog.userAgent.WINDOWS = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_WINDOWS : goog.labs.userAgent.platform.isWindows(); goog.userAgent.isLegacyLinux_ = function() {

return goog.labs.userAgent.platform.isLinux() || goog.labs.userAgent.platform.isChromeOS();

}; goog.userAgent.LINUX = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_LINUX : goog.userAgent.isLegacyLinux_(); goog.userAgent.isX11_ = function() {

var a = goog.userAgent.getNavigator();
return!!a && goog.string.contains(a.appVersion || "", "X11");

}; goog.userAgent.X11 = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_X11 : goog.userAgent.isX11_(); goog.userAgent.ANDROID = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_ANDROID : goog.labs.userAgent.platform.isAndroid(); goog.userAgent.IPHONE = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_IPHONE : goog.labs.userAgent.platform.isIphone(); goog.userAgent.IPAD = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_IPAD : goog.labs.userAgent.platform.isIpad(); goog.userAgent.determineVersion_ = function() {

var a = "", b;
if (goog.userAgent.OPERA && goog.global.opera) {
  return a = goog.global.opera.version, goog.isFunction(a) ? a() : a;
}
goog.userAgent.GECKO ? b = /rv\:([^\);]+)(\)|;)/ : goog.userAgent.IE ? b = /\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/ : goog.userAgent.WEBKIT && (b = /WebKit\/(\S+)/);
b && (a = (a = b.exec(goog.userAgent.getUserAgentString())) ? a[1] : "");
return goog.userAgent.IE && (b = goog.userAgent.getDocumentMode_(), b > parseFloat(a)) ? String(b) : a;

}; goog.userAgent.getDocumentMode_ = function() {

var a = goog.global.document;
return a ? a.documentMode : void 0;

}; goog.userAgent.VERSION = goog.userAgent.determineVersion_(); goog.userAgent.compare = function(a, b) {

return goog.string.compareVersions(a, b);

}; goog.userAgent.isVersionOrHigherCache_ = {}; goog.userAgent.isVersionOrHigher = function(a) {

return goog.userAgent.ASSUME_ANY_VERSION || goog.userAgent.isVersionOrHigherCache_[a] || (goog.userAgent.isVersionOrHigherCache_[a] = 0 <= goog.string.compareVersions(goog.userAgent.VERSION, a));

}; goog.userAgent.isVersion = goog.userAgent.isVersionOrHigher; goog.userAgent.isDocumentModeOrHigher = function(a) {

return goog.userAgent.IE && goog.userAgent.DOCUMENT_MODE >= a;

}; goog.userAgent.isDocumentMode = goog.userAgent.isDocumentModeOrHigher; goog.userAgent.DOCUMENT_MODE = function() {

var a = goog.global.document;
return a && goog.userAgent.IE ? goog.userAgent.getDocumentMode_() || ("CSS1Compat" == a.compatMode ? parseInt(goog.userAgent.VERSION, 10) : 5) : void 0;

}(); goog.uri = {}; goog.uri.utils = {}; goog.uri.utils.CharCode_ = {AMPERSAND:38, EQUAL:61, HASH:35, QUESTION:63}; goog.uri.utils.buildFromEncodedParts = function(a, b, c, d, e, f, g) {

var h = "";
a && (h += a + ":");
c && (h += "//", b && (h += b + "@"), h += c, d && (h += ":" + d));
e && (h += e);
f && (h += "?" + f);
g && (h += "#" + g);
return h;

}; goog.uri.utils.splitRe_ = /^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=|$))?([^?#]+)?(?:?([^#]*))?(?:#(.*))?$/; goog.uri.utils.ComponentIndex = {SCHEME:1, USER_INFO:2, DOMAIN:3, PORT:4, PATH:5, QUERY_DATA:6, FRAGMENT:7}; goog.uri.utils.split = function(a) {

goog.uri.utils.phishingProtection_();
return a.match(goog.uri.utils.splitRe_);

}; goog.uri.utils.needsPhishingProtection_ = goog.userAgent.WEBKIT; goog.uri.utils.phishingProtection_ = function() {

if (goog.uri.utils.needsPhishingProtection_) {
  goog.uri.utils.needsPhishingProtection_ = !1;
  var a = goog.global.location;
  if (a) {
    var b = a.href;
    if (b && (b = goog.uri.utils.getDomain(b)) && b != a.hostname) {
      throw goog.uri.utils.needsPhishingProtection_ = !0, Error();
    }
  }
}

}; goog.uri.utils.decodeIfPossible_ = function(a, b) {

return a ? b ? decodeURI(a) : decodeURIComponent(a) : a;

}; goog.uri.utils.getComponentByIndex_ = function(a, b) {

return goog.uri.utils.split(b)[a] || null;

}; goog.uri.utils.getScheme = function(a) {

return goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.SCHEME, a);

}; goog.uri.utils.getEffectiveScheme = function(a) {

a = goog.uri.utils.getScheme(a);
!a && self.location && (a = self.location.protocol, a = a.substr(0, a.length - 1));
return a ? a.toLowerCase() : "";

}; goog.uri.utils.getUserInfoEncoded = function(a) {

return goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.USER_INFO, a);

}; goog.uri.utils.getUserInfo = function(a) {

return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getUserInfoEncoded(a));

}; goog.uri.utils.getDomainEncoded = function(a) {

return goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.DOMAIN, a);

}; goog.uri.utils.getDomain = function(a) {

return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getDomainEncoded(a), !0);

}; goog.uri.utils.getPort = function(a) {

return Number(goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.PORT, a)) || null;

}; goog.uri.utils.getPathEncoded = function(a) {

return goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.PATH, a);

}; goog.uri.utils.getPath = function(a) {

return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getPathEncoded(a), !0);

}; goog.uri.utils.getQueryData = function(a) {

return goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.QUERY_DATA, a);

}; goog.uri.utils.getFragmentEncoded = function(a) {

var b = a.indexOf("#");
return 0 > b ? null : a.substr(b + 1);

}; goog.uri.utils.setFragmentEncoded = function(a, b) {

return goog.uri.utils.removeFragment(a) + (b ? "#" + b : "");

}; goog.uri.utils.getFragment = function(a) {

return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getFragmentEncoded(a));

}; goog.uri.utils.getHost = function(a) {

a = goog.uri.utils.split(a);
return goog.uri.utils.buildFromEncodedParts(a[goog.uri.utils.ComponentIndex.SCHEME], a[goog.uri.utils.ComponentIndex.USER_INFO], a[goog.uri.utils.ComponentIndex.DOMAIN], a[goog.uri.utils.ComponentIndex.PORT]);

}; goog.uri.utils.getPathAndAfter = function(a) {

a = goog.uri.utils.split(a);
return goog.uri.utils.buildFromEncodedParts(null, null, null, null, a[goog.uri.utils.ComponentIndex.PATH], a[goog.uri.utils.ComponentIndex.QUERY_DATA], a[goog.uri.utils.ComponentIndex.FRAGMENT]);

}; goog.uri.utils.removeFragment = function(a) {

var b = a.indexOf("#");
return 0 > b ? a : a.substr(0, b);

}; goog.uri.utils.haveSameDomain = function(a, b) {

var c = goog.uri.utils.split(a), d = goog.uri.utils.split(b);
return c[goog.uri.utils.ComponentIndex.DOMAIN] == d[goog.uri.utils.ComponentIndex.DOMAIN] && c[goog.uri.utils.ComponentIndex.SCHEME] == d[goog.uri.utils.ComponentIndex.SCHEME] && c[goog.uri.utils.ComponentIndex.PORT] == d[goog.uri.utils.ComponentIndex.PORT];

}; goog.uri.utils.assertNoFragmentsOrQueries_ = function(a) {

if (goog.DEBUG && (0 <= a.indexOf("#") || 0 <= a.indexOf("?"))) {
  throw Error("goog.uri.utils: Fragment or query identifiers are not supported: [" + a + "]");
}

}; goog.uri.utils.appendQueryData_ = function(a) {

if (a[1]) {
  var b = a[0], c = b.indexOf("#");
  0 <= c && (a.push(b.substr(c)), a[0] = b = b.substr(0, c));
  c = b.indexOf("?");
  0 > c ? a[1] = "?" : c == b.length - 1 && (a[1] = void 0);
}
return a.join("");

}; goog.uri.utils.appendKeyValuePairs_ = function(a, b, c) {

if (goog.isArray(b)) {
  goog.asserts.assertArray(b);
  for (var d = 0;d < b.length;d++) {
    goog.uri.utils.appendKeyValuePairs_(a, String(b[d]), c);
  }
} else {
  null != b && c.push("&", a, "" === b ? "" : "=", goog.string.urlEncode(b));
}

}; goog.uri.utils.buildQueryDataBuffer_ = function(a, b, c) {

goog.asserts.assert(0 == Math.max(b.length - (c || 0), 0) % 2, "goog.uri.utils: Key/value lists must be even in length.");
for (c = c || 0;c < b.length;c += 2) {
  goog.uri.utils.appendKeyValuePairs_(b[c], b[c + 1], a);
}
return a;

}; goog.uri.utils.buildQueryData = function(a, b) {

var c = goog.uri.utils.buildQueryDataBuffer_([], a, b);
c[0] = "";
return c.join("");

}; goog.uri.utils.buildQueryDataBufferFromMap_ = function(a, b) {

for (var c in b) {
  goog.uri.utils.appendKeyValuePairs_(c, b[c], a);
}
return a;

}; goog.uri.utils.buildQueryDataFromMap = function(a) {

a = goog.uri.utils.buildQueryDataBufferFromMap_([], a);
a[0] = "";
return a.join("");

}; goog.uri.utils.appendParams = function(a, b) {

return goog.uri.utils.appendQueryData_(2 == arguments.length ? goog.uri.utils.buildQueryDataBuffer_([a], arguments[1], 0) : goog.uri.utils.buildQueryDataBuffer_([a], arguments, 1));

}; goog.uri.utils.appendParamsFromMap = function(a, b) {

return goog.uri.utils.appendQueryData_(goog.uri.utils.buildQueryDataBufferFromMap_([a], b));

}; goog.uri.utils.appendParam = function(a, b, c) {

a = [a, "&", b];
goog.isDefAndNotNull(c) && a.push("=", goog.string.urlEncode(c));
return goog.uri.utils.appendQueryData_(a);

}; goog.uri.utils.findParam_ = function(a, b, c, d) {

for (var e = c.length;0 <= (b = a.indexOf(c, b)) && b < d;) {
  var f = a.charCodeAt(b - 1);
  if (f == goog.uri.utils.CharCode_.AMPERSAND || f == goog.uri.utils.CharCode_.QUESTION) {
    if (f = a.charCodeAt(b + e), !f || f == goog.uri.utils.CharCode_.EQUAL || f == goog.uri.utils.CharCode_.AMPERSAND || f == goog.uri.utils.CharCode_.HASH) {
      return b;
    }
  }
  b += e + 1;
}
return-1;

}; goog.uri.utils.hashOrEndRe_ = /#|$/; goog.uri.utils.hasParam = function(a, b) {

return 0 <= goog.uri.utils.findParam_(a, 0, b, a.search(goog.uri.utils.hashOrEndRe_));

}; goog.uri.utils.getParamValue = function(a, b) {

var c = a.search(goog.uri.utils.hashOrEndRe_), d = goog.uri.utils.findParam_(a, 0, b, c);
if (0 > d) {
  return null;
}
var e = a.indexOf("&", d);
if (0 > e || e > c) {
  e = c;
}
d += b.length + 1;
return goog.string.urlDecode(a.substr(d, e - d));

}; goog.uri.utils.getParamValues = function(a, b) {

for (var c = a.search(goog.uri.utils.hashOrEndRe_), d = 0, e, f = [];0 <= (e = goog.uri.utils.findParam_(a, d, b, c));) {
  d = a.indexOf("&", e);
  if (0 > d || d > c) {
    d = c;
  }
  e += b.length + 1;
  f.push(goog.string.urlDecode(a.substr(e, d - e)));
}
return f;

}; goog.uri.utils.trailingQueryPunctuationRe_ = /[?&]($|#)/; goog.uri.utils.removeParam = function(a, b) {

for (var c = a.search(goog.uri.utils.hashOrEndRe_), d = 0, e, f = [];0 <= (e = goog.uri.utils.findParam_(a, d, b, c));) {
  f.push(a.substring(d, e)), d = Math.min(a.indexOf("&", e) + 1 || c, c);
}
f.push(a.substr(d));
return f.join("").replace(goog.uri.utils.trailingQueryPunctuationRe_, "$1");

}; goog.uri.utils.setParam = function(a, b, c) {

return goog.uri.utils.appendParam(goog.uri.utils.removeParam(a, b), b, c);

}; goog.uri.utils.appendPath = function(a, b) {

goog.uri.utils.assertNoFragmentsOrQueries_(a);
goog.string.endsWith(a, "/") && (a = a.substr(0, a.length - 1));
goog.string.startsWith(b, "/") && (b = b.substr(1));
return goog.string.buildString(a, "/", b);

}; goog.uri.utils.setPath = function(a, b) {

goog.string.startsWith(b, "/") || (b = "/" + b);
var c = goog.uri.utils.split(a);
return goog.uri.utils.buildFromEncodedParts(c[goog.uri.utils.ComponentIndex.SCHEME], c[goog.uri.utils.ComponentIndex.USER_INFO], c[goog.uri.utils.ComponentIndex.DOMAIN], c[goog.uri.utils.ComponentIndex.PORT], b, c[goog.uri.utils.ComponentIndex.QUERY_DATA], c[goog.uri.utils.ComponentIndex.FRAGMENT]);

}; goog.uri.utils.StandardQueryParam = {RANDOM:“zx”}; goog.uri.utils.makeUnique = function(a) {

return goog.uri.utils.setParam(a, goog.uri.utils.StandardQueryParam.RANDOM, goog.string.getRandomString());

}; goog.Uri = function(a, b) {

var c;
a instanceof goog.Uri ? (this.ignoreCase_ = goog.isDef(b) ? b : a.getIgnoreCase(), this.setScheme(a.getScheme()), this.setUserInfo(a.getUserInfo()), this.setDomain(a.getDomain()), this.setPort(a.getPort()), this.setPath(a.getPath()), this.setQueryData(a.getQueryData().clone()), this.setFragment(a.getFragment())) : a && (c = goog.uri.utils.split(String(a))) ? (this.ignoreCase_ = !!b, this.setScheme(c[goog.uri.utils.ComponentIndex.SCHEME] || "", !0), this.setUserInfo(c[goog.uri.utils.ComponentIndex.USER_INFO] || 
"", !0), this.setDomain(c[goog.uri.utils.ComponentIndex.DOMAIN] || "", !0), this.setPort(c[goog.uri.utils.ComponentIndex.PORT]), this.setPath(c[goog.uri.utils.ComponentIndex.PATH] || "", !0), this.setQueryData(c[goog.uri.utils.ComponentIndex.QUERY_DATA] || "", !0), this.setFragment(c[goog.uri.utils.ComponentIndex.FRAGMENT] || "", !0)) : (this.ignoreCase_ = !!b, this.queryData_ = new goog.Uri.QueryData(null, null, this.ignoreCase_));

}; goog.Uri.preserveParameterTypesCompatibilityFlag = !1; goog.Uri.RANDOM_PARAM = goog.uri.utils.StandardQueryParam.RANDOM; goog.Uri.prototype.scheme_ = “”; goog.Uri.prototype.userInfo_ = “”; goog.Uri.prototype.domain_ = “”; goog.Uri.prototype.port_ = null; goog.Uri.prototype.path_ = “”; goog.Uri.prototype.fragment_ = “”; goog.Uri.prototype.isReadOnly_ = !1; goog.Uri.prototype.ignoreCase_ = !1; goog.Uri.prototype.toString = function() {

var a = [], b = this.getScheme();
b && a.push(goog.Uri.encodeSpecialChars_(b, goog.Uri.reDisallowedInSchemeOrUserInfo_, !0), ":");
if (b = this.getDomain()) {
  a.push("//");
  var c = this.getUserInfo();
  c && a.push(goog.Uri.encodeSpecialChars_(c, goog.Uri.reDisallowedInSchemeOrUserInfo_, !0), "@");
  a.push(goog.Uri.removeDoubleEncoding_(goog.string.urlEncode(b)));
  b = this.getPort();
  null != b && a.push(":", String(b));
}
if (b = this.getPath()) {
  this.hasDomain() && "/" != b.charAt(0) && a.push("/"), a.push(goog.Uri.encodeSpecialChars_(b, "/" == b.charAt(0) ? goog.Uri.reDisallowedInAbsolutePath_ : goog.Uri.reDisallowedInRelativePath_, !0));
}
(b = this.getEncodedQuery()) && a.push("?", b);
(b = this.getFragment()) && a.push("#", goog.Uri.encodeSpecialChars_(b, goog.Uri.reDisallowedInFragment_));
return a.join("");

}; goog.Uri.prototype.resolve = function(a) {

var b = this.clone(), c = a.hasScheme();
c ? b.setScheme(a.getScheme()) : c = a.hasUserInfo();
c ? b.setUserInfo(a.getUserInfo()) : c = a.hasDomain();
c ? b.setDomain(a.getDomain()) : c = a.hasPort();
var d = a.getPath();
if (c) {
  b.setPort(a.getPort());
} else {
  if (c = a.hasPath()) {
    if ("/" != d.charAt(0)) {
      if (this.hasDomain() && !this.hasPath()) {
        d = "/" + d;
      } else {
        var e = b.getPath().lastIndexOf("/");
        -1 != e && (d = b.getPath().substr(0, e + 1) + d);
      }
    }
    d = goog.Uri.removeDotSegments(d);
  }
}
c ? b.setPath(d) : c = a.hasQuery();
c ? b.setQueryData(a.getDecodedQuery()) : c = a.hasFragment();
c && b.setFragment(a.getFragment());
return b;

}; goog.Uri.prototype.clone = function() {

return new goog.Uri(this);

}; goog.Uri.prototype.getScheme = function() {

return this.scheme_;

}; goog.Uri.prototype.setScheme = function(a, b) {

this.enforceReadOnly();
if (this.scheme_ = b ? goog.Uri.decodeOrEmpty_(a, !0) : a) {
  this.scheme_ = this.scheme_.replace(/:$/, "");
}
return this;

}; goog.Uri.prototype.hasScheme = function() {

return!!this.scheme_;

}; goog.Uri.prototype.getUserInfo = function() {

return this.userInfo_;

}; goog.Uri.prototype.setUserInfo = function(a, b) {

this.enforceReadOnly();
this.userInfo_ = b ? goog.Uri.decodeOrEmpty_(a) : a;
return this;

}; goog.Uri.prototype.hasUserInfo = function() {

return!!this.userInfo_;

}; goog.Uri.prototype.getDomain = function() {

return this.domain_;

}; goog.Uri.prototype.setDomain = function(a, b) {

this.enforceReadOnly();
this.domain_ = b ? goog.Uri.decodeOrEmpty_(a, !0) : a;
return this;

}; goog.Uri.prototype.hasDomain = function() {

return!!this.domain_;

}; goog.Uri.prototype.getPort = function() {

return this.port_;

}; goog.Uri.prototype.setPort = function(a) {

this.enforceReadOnly();
if (a) {
  a = Number(a);
  if (isNaN(a) || 0 > a) {
    throw Error("Bad port number " + a);
  }
  this.port_ = a;
} else {
  this.port_ = null;
}
return this;

}; goog.Uri.prototype.hasPort = function() {

return null != this.port_;

}; goog.Uri.prototype.getPath = function() {

return this.path_;

}; goog.Uri.prototype.setPath = function(a, b) {

this.enforceReadOnly();
this.path_ = b ? goog.Uri.decodeOrEmpty_(a, !0) : a;
return this;

}; goog.Uri.prototype.hasPath = function() {

return!!this.path_;

}; goog.Uri.prototype.hasQuery = function() {

return "" !== this.queryData_.toString();

}; goog.Uri.prototype.setQueryData = function(a, b) {

this.enforceReadOnly();
a instanceof goog.Uri.QueryData ? (this.queryData_ = a, this.queryData_.setIgnoreCase(this.ignoreCase_)) : (b || (a = goog.Uri.encodeSpecialChars_(a, goog.Uri.reDisallowedInQuery_)), this.queryData_ = new goog.Uri.QueryData(a, null, this.ignoreCase_));
return this;

}; goog.Uri.prototype.setQuery = function(a, b) {

return this.setQueryData(a, b);

}; goog.Uri.prototype.getEncodedQuery = function() {

return this.queryData_.toString();

}; goog.Uri.prototype.getDecodedQuery = function() {

return this.queryData_.toDecodedString();

}; goog.Uri.prototype.getQueryData = function() {

return this.queryData_;

}; goog.Uri.prototype.getQuery = function() {

return this.getEncodedQuery();

}; goog.Uri.prototype.setParameterValue = function(a, b) {

this.enforceReadOnly();
this.queryData_.set(a, b);
return this;

}; goog.Uri.prototype.setParameterValues = function(a, b) {

this.enforceReadOnly();
goog.isArray(b) || (b = [String(b)]);
this.queryData_.setValues(a, b);
return this;

}; goog.Uri.prototype.getParameterValues = function(a) {

return this.queryData_.getValues(a);

}; goog.Uri.prototype.getParameterValue = function(a) {

return this.queryData_.get(a);

}; goog.Uri.prototype.getFragment = function() {

return this.fragment_;

}; goog.Uri.prototype.setFragment = function(a, b) {

this.enforceReadOnly();
this.fragment_ = b ? goog.Uri.decodeOrEmpty_(a) : a;
return this;

}; goog.Uri.prototype.hasFragment = function() {

return!!this.fragment_;

}; goog.Uri.prototype.hasSameDomainAs = function(a) {

return(!this.hasDomain() && !a.hasDomain() || this.getDomain() == a.getDomain()) && (!this.hasPort() && !a.hasPort() || this.getPort() == a.getPort());

}; goog.Uri.prototype.makeUnique = function() {

this.enforceReadOnly();
this.setParameterValue(goog.Uri.RANDOM_PARAM, goog.string.getRandomString());
return this;

}; goog.Uri.prototype.removeParameter = function(a) {

this.enforceReadOnly();
this.queryData_.remove(a);
return this;

}; goog.Uri.prototype.setReadOnly = function(a) {

this.isReadOnly_ = a;
return this;

}; goog.Uri.prototype.isReadOnly = function() {

return this.isReadOnly_;

}; goog.Uri.prototype.enforceReadOnly = function() {

if (this.isReadOnly_) {
  throw Error("Tried to modify a read-only Uri");
}

}; goog.Uri.prototype.setIgnoreCase = function(a) {

this.ignoreCase_ = a;
this.queryData_ && this.queryData_.setIgnoreCase(a);
return this;

}; goog.Uri.prototype.getIgnoreCase = function() {

return this.ignoreCase_;

}; goog.Uri.parse = function(a, b) {

return a instanceof goog.Uri ? a.clone() : new goog.Uri(a, b);

}; goog.Uri.create = function(a, b, c, d, e, f, g, h) {

h = new goog.Uri(null, h);
a && h.setScheme(a);
b && h.setUserInfo(b);
c && h.setDomain(c);
d && h.setPort(d);
e && h.setPath(e);
f && h.setQueryData(f);
g && h.setFragment(g);
return h;

}; goog.Uri.resolve = function(a, b) {

a instanceof goog.Uri || (a = goog.Uri.parse(a));
b instanceof goog.Uri || (b = goog.Uri.parse(b));
return a.resolve(b);

}; goog.Uri.removeDotSegments = function(a) {

if (".." == a || "." == a) {
  return "";
}
if (goog.string.contains(a, "./") || goog.string.contains(a, "/.")) {
  var b = goog.string.startsWith(a, "/");
  a = a.split("/");
  for (var c = [], d = 0;d < a.length;) {
    var e = a[d++];
    "." == e ? b && d == a.length && c.push("") : ".." == e ? ((1 < c.length || 1 == c.length && "" != c[0]) && c.pop(), b && d == a.length && c.push("")) : (c.push(e), b = !0);
  }
  return c.join("/");
}
return a;

}; goog.Uri.decodeOrEmpty_ = function(a, b) {

return a ? b ? decodeURI(a) : decodeURIComponent(a) : "";

}; goog.Uri.encodeSpecialChars_ = function(a, b, c) {

return goog.isString(a) ? (a = encodeURI(a).replace(b, goog.Uri.encodeChar_), c && (a = goog.Uri.removeDoubleEncoding_(a)), a) : null;

}; goog.Uri.encodeChar_ = function(a) {

a = a.charCodeAt(0);
return "%" + (a >> 4 & 15).toString(16) + (a & 15).toString(16);

}; goog.Uri.removeDoubleEncoding_ = function(a) {

return a.replace(/%25([0-9a-fA-F]{2})/g, "%$1");

}; goog.Uri.reDisallowedInSchemeOrUserInfo_ = /[#/?@]/g; goog.Uri.reDisallowedInRelativePath_ = /[#?:]/g; goog.Uri.reDisallowedInAbsolutePath_ = /[#?]/g; goog.Uri.reDisallowedInQuery_ = /[#?@]/g; goog.Uri.reDisallowedInFragment_ = /#/g; goog.Uri.haveSameDomain = function(a, b) {

var c = goog.uri.utils.split(a), d = goog.uri.utils.split(b);
return c[goog.uri.utils.ComponentIndex.DOMAIN] == d[goog.uri.utils.ComponentIndex.DOMAIN] && c[goog.uri.utils.ComponentIndex.PORT] == d[goog.uri.utils.ComponentIndex.PORT];

}; goog.Uri.QueryData = function(a, b, c) {

this.encodedQuery_ = a || null;
this.ignoreCase_ = !!c;

}; goog.Uri.QueryData.prototype.ensureKeyMapInitialized_ = function() {

if (!this.keyMap_ && (this.keyMap_ = new goog.structs.Map, this.count_ = 0, this.encodedQuery_)) {
  for (var a = this.encodedQuery_.split("&"), b = 0;b < a.length;b++) {
    var c = a[b].indexOf("="), d = null, e = null;
    0 <= c ? (d = a[b].substring(0, c), e = a[b].substring(c + 1)) : d = a[b];
    d = goog.string.urlDecode(d);
    d = this.getKeyName_(d);
    this.add(d, e ? goog.string.urlDecode(e) : "");
  }
}

}; goog.Uri.QueryData.createFromMap = function(a, b, c) {

b = goog.structs.getKeys(a);
if ("undefined" == typeof b) {
  throw Error("Keys are undefined");
}
c = new goog.Uri.QueryData(null, null, c);
a = goog.structs.getValues(a);
for (var d = 0;d < b.length;d++) {
  var e = b[d], f = a[d];
  goog.isArray(f) ? c.setValues(e, f) : c.add(e, f);
}
return c;

}; goog.Uri.QueryData.createFromKeysValues = function(a, b, c, d) {

if (a.length != b.length) {
  throw Error("Mismatched lengths for keys/values");
}
c = new goog.Uri.QueryData(null, null, d);
for (d = 0;d < a.length;d++) {
  c.add(a[d], b[d]);
}
return c;

}; goog.Uri.QueryData.prototype.keyMap_ = null; goog.Uri.QueryData.prototype.count_ = null; goog.Uri.QueryData.prototype.getCount = function() {

this.ensureKeyMapInitialized_();
return this.count_;

}; goog.Uri.QueryData.prototype.add = function(a, b) {

this.ensureKeyMapInitialized_();
this.invalidateCache_();
a = this.getKeyName_(a);
var c = this.keyMap_.get(a);
c || this.keyMap_.set(a, c = []);
c.push(b);
this.count_++;
return this;

}; goog.Uri.QueryData.prototype.remove = function(a) {

this.ensureKeyMapInitialized_();
a = this.getKeyName_(a);
return this.keyMap_.containsKey(a) ? (this.invalidateCache_(), this.count_ -= this.keyMap_.get(a).length, this.keyMap_.remove(a)) : !1;

}; goog.Uri.QueryData.prototype.clear = function() {

this.invalidateCache_();
this.keyMap_ = null;
this.count_ = 0;

}; goog.Uri.QueryData.prototype.isEmpty = function() {

this.ensureKeyMapInitialized_();
return 0 == this.count_;

}; goog.Uri.QueryData.prototype.containsKey = function(a) {

this.ensureKeyMapInitialized_();
a = this.getKeyName_(a);
return this.keyMap_.containsKey(a);

}; goog.Uri.QueryData.prototype.containsValue = function(a) {

var b = this.getValues();
return goog.array.contains(b, a);

}; goog.Uri.QueryData.prototype.getKeys = function() {

this.ensureKeyMapInitialized_();
for (var a = this.keyMap_.getValues(), b = this.keyMap_.getKeys(), c = [], d = 0;d < b.length;d++) {
  for (var e = a[d], f = 0;f < e.length;f++) {
    c.push(b[d]);
  }
}
return c;

}; goog.Uri.QueryData.prototype.getValues = function(a) {

this.ensureKeyMapInitialized_();
var b = [];
if (goog.isString(a)) {
  this.containsKey(a) && (b = goog.array.concat(b, this.keyMap_.get(this.getKeyName_(a))));
} else {
  a = this.keyMap_.getValues();
  for (var c = 0;c < a.length;c++) {
    b = goog.array.concat(b, a[c]);
  }
}
return b;

}; goog.Uri.QueryData.prototype.set = function(a, b) {

this.ensureKeyMapInitialized_();
this.invalidateCache_();
a = this.getKeyName_(a);
this.containsKey(a) && (this.count_ -= this.keyMap_.get(a).length);
this.keyMap_.set(a, [b]);
this.count_++;
return this;

}; goog.Uri.QueryData.prototype.get = function(a, b) {

var c = a ? this.getValues(a) : [];
return goog.Uri.preserveParameterTypesCompatibilityFlag ? 0 < c.length ? c[0] : b : 0 < c.length ? String(c[0]) : b;

}; goog.Uri.QueryData.prototype.setValues = function(a, b) {

this.remove(a);
0 < b.length && (this.invalidateCache_(), this.keyMap_.set(this.getKeyName_(a), goog.array.clone(b)), this.count_ += b.length);

}; goog.Uri.QueryData.prototype.toString = function() {

if (this.encodedQuery_) {
  return this.encodedQuery_;
}
if (!this.keyMap_) {
  return "";
}
for (var a = [], b = this.keyMap_.getKeys(), c = 0;c < b.length;c++) {
  for (var d = b[c], e = goog.string.urlEncode(d), d = this.getValues(d), f = 0;f < d.length;f++) {
    var g = e;
    "" !== d[f] && (g += "=" + goog.string.urlEncode(d[f]));
    a.push(g);
  }
}
return this.encodedQuery_ = a.join("&");

}; goog.Uri.QueryData.prototype.toDecodedString = function() {

return goog.Uri.decodeOrEmpty_(this.toString());

}; goog.Uri.QueryData.prototype.invalidateCache_ = function() {

this.encodedQuery_ = null;

}; goog.Uri.QueryData.prototype.filterKeys = function(a) {

this.ensureKeyMapInitialized_();
this.keyMap_.forEach(function(b, c) {
  goog.array.contains(a, c) || this.remove(c);
}, this);
return this;

}; goog.Uri.QueryData.prototype.clone = function() {

var a = new goog.Uri.QueryData;
a.encodedQuery_ = this.encodedQuery_;
this.keyMap_ && (a.keyMap_ = this.keyMap_.clone(), a.count_ = this.count_);
return a;

}; goog.Uri.QueryData.prototype.getKeyName_ = function(a) {

a = String(a);
this.ignoreCase_ && (a = a.toLowerCase());
return a;

}; goog.Uri.QueryData.prototype.setIgnoreCase = function(a) {

a && !this.ignoreCase_ && (this.ensureKeyMapInitialized_(), this.invalidateCache_(), this.keyMap_.forEach(function(a, c) {
  var d = c.toLowerCase();
  c != d && (this.remove(c), this.setValues(d, a));
}, this));
this.ignoreCase_ = a;

}; goog.Uri.QueryData.prototype.extend = function(a) {

for (var b = 0;b < arguments.length;b++) {
  goog.structs.forEach(arguments[b], function(a, b) {
    this.add(b, a);
  }, this);
}

}; goog.structs.Collection = function() { }; goog.structs.Set = function(a) {

this.map_ = new goog.structs.Map;
a && this.addAll(a);

}; goog.structs.Set.getKey_ = function(a) {

var b = typeof a;
return "object" == b && a || "function" == b ? "o" + goog.getUid(a) : b.substr(0, 1) + a;

}; goog.structs.Set.prototype.getCount = function() {

return this.map_.getCount();

}; goog.structs.Set.prototype.add = function(a) {

this.map_.set(goog.structs.Set.getKey_(a), a);

}; goog.structs.Set.prototype.addAll = function(a) {

a = goog.structs.getValues(a);
for (var b = a.length, c = 0;c < b;c++) {
  this.add(a[c]);
}

}; goog.structs.Set.prototype.removeAll = function(a) {

a = goog.structs.getValues(a);
for (var b = a.length, c = 0;c < b;c++) {
  this.remove(a[c]);
}

}; goog.structs.Set.prototype.remove = function(a) {

return this.map_.remove(goog.structs.Set.getKey_(a));

}; goog.structs.Set.prototype.clear = function() {

this.map_.clear();

}; goog.structs.Set.prototype.isEmpty = function() {

return this.map_.isEmpty();

}; goog.structs.Set.prototype.contains = function(a) {

return this.map_.containsKey(goog.structs.Set.getKey_(a));

}; goog.structs.Set.prototype.containsAll = function(a) {

return goog.structs.every(a, this.contains, this);

}; goog.structs.Set.prototype.intersection = function(a) {

var b = new goog.structs.Set;
a = goog.structs.getValues(a);
for (var c = 0;c < a.length;c++) {
  var d = a[c];
  this.contains(d) && b.add(d);
}
return b;

}; goog.structs.Set.prototype.difference = function(a) {

var b = this.clone();
b.removeAll(a);
return b;

}; goog.structs.Set.prototype.getValues = function() {

return this.map_.getValues();

}; goog.structs.Set.prototype.clone = function() {

return new goog.structs.Set(this);

}; goog.structs.Set.prototype.equals = function(a) {

return this.getCount() == goog.structs.getCount(a) && this.isSubsetOf(a);

}; goog.structs.Set.prototype.isSubsetOf = function(a) {

var b = goog.structs.getCount(a);
if (this.getCount() > b) {
  return!1;
}
!(a instanceof goog.structs.Set) && 5 < b && (a = new goog.structs.Set(a));
return goog.structs.every(this, function(b) {
  return goog.structs.contains(a, b);
});

}; goog.structs.Set.prototype.__iterator__ = function(a) {

return this.map_.__iterator__(!1);

}; goog.debug.LOGGING_ENABLED = goog.DEBUG; goog.debug.catchErrors = function(a, b, c) {

c = c || goog.global;
var d = c.onerror, e = !!b;
goog.userAgent.WEBKIT && !goog.userAgent.isVersionOrHigher("535.3") && (e = !e);
c.onerror = function(b, c, h, k, l) {
  d && d(b, c, h, k, l);
  a({message:b, fileName:c, line:h, col:k, error:l});
  return e;
};

}; goog.debug.expose = function(a, b) {

if ("undefined" == typeof a) {
  return "undefined";
}
if (null == a) {
  return "NULL";
}
var c = [], d;
for (d in a) {
  if (b || !goog.isFunction(a[d])) {
    var e = d + " = ";
    try {
      e += a[d];
    } catch (f) {
      e += "*** " + f + " ***";
    }
    c.push(e);
  }
}
return c.join("\n");

}; goog.debug.deepExpose = function(a, b) {

var c = [], d = function(a, f, g) {
  var h = f + "  ";
  g = new goog.structs.Set(g);
  try {
    if (goog.isDef(a)) {
      if (goog.isNull(a)) {
        c.push("NULL");
      } else {
        if (goog.isString(a)) {
          c.push('"' + a.replace(/\n/g, "\n" + f) + '"');
        } else {
          if (goog.isFunction(a)) {
            c.push(String(a).replace(/\n/g, "\n" + f));
          } else {
            if (goog.isObject(a)) {
              if (g.contains(a)) {
                c.push("*** reference loop detected ***");
              } else {
                g.add(a);
                c.push("{");
                for (var k in a) {
                  if (b || !goog.isFunction(a[k])) {
                    c.push("\n"), c.push(h), c.push(k + " = "), d(a[k], h, g);
                  }
                }
                c.push("\n" + f + "}");
              }
            } else {
              c.push(a);
            }
          }
        }
      }
    } else {
      c.push("undefined");
    }
  } catch (l) {
    c.push("*** " + l + " ***");
  }
};
d(a, "", new goog.structs.Set);
return c.join("");

}; goog.debug.exposeArray = function(a) {

for (var b = [], c = 0;c < a.length;c++) {
  goog.isArray(a[c]) ? b.push(goog.debug.exposeArray(a[c])) : b.push(a[c]);
}
return "[ " + b.join(", ") + " ]";

}; goog.debug.exposeException = function(a, b) {

try {
  var c = goog.debug.normalizeErrorObject(a);
  return "Message: " + goog.string.htmlEscape(c.message) + '\nUrl: <a href="view-source:' + c.fileName + '" target="_new">' + c.fileName + "</a>\nLine: " + c.lineNumber + "\n\nBrowser stack:\n" + goog.string.htmlEscape(c.stack + "-> ") + "[end]\n\nJS stack traversal:\n" + goog.string.htmlEscape(goog.debug.getStacktrace(b) + "-> ");
} catch (d) {
  return "Exception trying to expose exception! You win, we lose. " + d;
}

}; goog.debug.normalizeErrorObject = function(a) {

var b = goog.getObjectByName("window.location.href");
if (goog.isString(a)) {
  return{message:a, name:"Unknown error", lineNumber:"Not available", fileName:b, stack:"Not available"};
}
var c, d, e = !1;
try {
  c = a.lineNumber || a.line || "Not available";
} catch (f) {
  c = "Not available", e = !0;
}
try {
  d = a.fileName || a.filename || a.sourceURL || goog.global.$googDebugFname || b;
} catch (g) {
  d = "Not available", e = !0;
}
return!e && a.lineNumber && a.fileName && a.stack && a.message && a.name ? a : {message:a.message || "Not available", name:a.name || "UnknownError", lineNumber:c, fileName:d, stack:a.stack || "Not available"};

}; goog.debug.enhanceError = function(a, b) {

var c;
"string" == typeof a ? (c = Error(a), Error.captureStackTrace && Error.captureStackTrace(c, goog.debug.enhanceError)) : c = a;
c.stack || (c.stack = goog.debug.getStacktrace(goog.debug.enhanceError));
if (b) {
  for (var d = 0;c["message" + d];) {
    ++d;
  }
  c["message" + d] = String(b);
}
return c;

}; goog.debug.getStacktraceSimple = function(a) {

if (goog.STRICT_MODE_COMPATIBLE) {
  var b = goog.debug.getNativeStackTrace_(goog.debug.getStacktraceSimple);
  if (b) {
    return b;
  }
}
for (var b = [], c = arguments.callee.caller, d = 0;c && (!a || d < a);) {
  b.push(goog.debug.getFunctionName(c));
  b.push("()\n");
  try {
    c = c.caller;
  } catch (e) {
    b.push("[exception trying to get caller]\n");
    break;
  }
  d++;
  if (d >= goog.debug.MAX_STACK_DEPTH) {
    b.push("[...long stack...]");
    break;
  }
}
a && d >= a ? b.push("[...reached max depth limit...]") : b.push("[end]");
return b.join("");

}; goog.debug.MAX_STACK_DEPTH = 50; goog.debug.getNativeStackTrace_ = function(a) {

var b = Error();
if (Error.captureStackTrace) {
  return Error.captureStackTrace(b, a), String(b.stack);
}
try {
  throw b;
} catch (c) {
  b = c;
}
return(a = b.stack) ? String(a) : null;

}; goog.debug.getStacktrace = function(a) {

var b;
goog.STRICT_MODE_COMPATIBLE && (b = goog.debug.getNativeStackTrace_(a || goog.debug.getStacktrace));
b || (b = goog.debug.getStacktraceHelper_(a || arguments.callee.caller, []));
return b;

}; goog.debug.getStacktraceHelper_ = function(a, b) {

var c = [];
if (goog.array.contains(b, a)) {
  c.push("[...circular reference...]");
} else {
  if (a && b.length < goog.debug.MAX_STACK_DEPTH) {
    c.push(goog.debug.getFunctionName(a) + "(");
    for (var d = a.arguments, e = 0;d && e < d.length;e++) {
      0 < e && c.push(", ");
      var f;
      f = d[e];
      switch(typeof f) {
        case "object":
          f = f ? "object" : "null";
          break;
        case "string":
          break;
        case "number":
          f = String(f);
          break;
        case "boolean":
          f = f ? "true" : "false";
          break;
        case "function":
          f = (f = goog.debug.getFunctionName(f)) ? f : "[fn]";
          break;
        default:
          f = typeof f;
      }
      40 < f.length && (f = f.substr(0, 40) + "...");
      c.push(f);
    }
    b.push(a);
    c.push(")\n");
    try {
      c.push(goog.debug.getStacktraceHelper_(a.caller, b));
    } catch (g) {
      c.push("[exception trying to get caller]\n");
    }
  } else {
    a ? c.push("[...long stack...]") : c.push("[end]");
  }
}
return c.join("");

}; goog.debug.setFunctionResolver = function(a) {

goog.debug.fnNameResolver_ = a;

}; goog.debug.getFunctionName = function(a) {

if (goog.debug.fnNameCache_[a]) {
  return goog.debug.fnNameCache_[a];
}
if (goog.debug.fnNameResolver_) {
  var b = goog.debug.fnNameResolver_(a);
  if (b) {
    return goog.debug.fnNameCache_[a] = b;
  }
}
a = String(a);
goog.debug.fnNameCache_[a] || (b = /function ([^\(]+)/.exec(a), goog.debug.fnNameCache_[a] = b ? b[1] : "[Anonymous]");
return goog.debug.fnNameCache_[a];

}; goog.debug.makeWhitespaceVisible = function(a) {

return a.replace(/ /g, "[_]").replace(/\f/g, "[f]").replace(/\n/g, "[n]\n").replace(/\r/g, "[r]").replace(/\t/g, "[t]");

}; goog.debug.fnNameCache_ = {}; goog.debug.LogRecord = function(a, b, c, d, e) {

this.reset(a, b, c, d, e);

}; goog.debug.LogRecord.prototype.sequenceNumber_ = 0; goog.debug.LogRecord.prototype.exception_ = null; goog.debug.LogRecord.prototype.exceptionText_ = null; goog.debug.LogRecord.ENABLE_SEQUENCE_NUMBERS = !0; goog.debug.LogRecord.nextSequenceNumber_ = 0; goog.debug.LogRecord.prototype.reset = function(a, b, c, d, e) {

goog.debug.LogRecord.ENABLE_SEQUENCE_NUMBERS && (this.sequenceNumber_ = "number" == typeof e ? e : goog.debug.LogRecord.nextSequenceNumber_++);
this.time_ = d || goog.now();
this.level_ = a;
this.msg_ = b;
this.loggerName_ = c;
delete this.exception_;
delete this.exceptionText_;

}; goog.debug.LogRecord.prototype.getLoggerName = function() {

return this.loggerName_;

}; goog.debug.LogRecord.prototype.getException = function() {

return this.exception_;

}; goog.debug.LogRecord.prototype.setException = function(a) {

this.exception_ = a;

}; goog.debug.LogRecord.prototype.getExceptionText = function() {

return this.exceptionText_;

}; goog.debug.LogRecord.prototype.setExceptionText = function(a) {

this.exceptionText_ = a;

}; goog.debug.LogRecord.prototype.setLoggerName = function(a) {

this.loggerName_ = a;

}; goog.debug.LogRecord.prototype.getLevel = function() {

return this.level_;

}; goog.debug.LogRecord.prototype.setLevel = function(a) {

this.level_ = a;

}; goog.debug.LogRecord.prototype.getMessage = function() {

return this.msg_;

}; goog.debug.LogRecord.prototype.setMessage = function(a) {

this.msg_ = a;

}; goog.debug.LogRecord.prototype.getMillis = function() {

return this.time_;

}; goog.debug.LogRecord.prototype.setMillis = function(a) {

this.time_ = a;

}; goog.debug.LogRecord.prototype.getSequenceNumber = function() {

return this.sequenceNumber_;

}; goog.debug.LogBuffer = function() {

goog.asserts.assert(goog.debug.LogBuffer.isBufferingEnabled(), "Cannot use goog.debug.LogBuffer without defining goog.debug.LogBuffer.CAPACITY.");
this.clear();

}; goog.debug.LogBuffer.getInstance = function() {

goog.debug.LogBuffer.instance_ || (goog.debug.LogBuffer.instance_ = new goog.debug.LogBuffer);
return goog.debug.LogBuffer.instance_;

}; goog.debug.LogBuffer.CAPACITY = 0; goog.debug.LogBuffer.prototype.addRecord = function(a, b, c) {

var d = (this.curIndex_ + 1) % goog.debug.LogBuffer.CAPACITY;
this.curIndex_ = d;
if (this.isFull_) {
  return d = this.buffer_[d], d.reset(a, b, c), d;
}
this.isFull_ = d == goog.debug.LogBuffer.CAPACITY - 1;
return this.buffer_[d] = new goog.debug.LogRecord(a, b, c);

}; goog.debug.LogBuffer.isBufferingEnabled = function() {

return 0 < goog.debug.LogBuffer.CAPACITY;

}; goog.debug.LogBuffer.prototype.clear = function() {

this.buffer_ = Array(goog.debug.LogBuffer.CAPACITY);
this.curIndex_ = -1;
this.isFull_ = !1;

}; goog.debug.LogBuffer.prototype.forEachRecord = function(a) {

var b = this.buffer_;
if (b[0]) {
  var c = this.curIndex_, d = this.isFull_ ? c : -1;
  do {
    d = (d + 1) % goog.debug.LogBuffer.CAPACITY, a(b[d]);
  } while (d != c);
}

}; goog.debug.Logger = function(a) {

this.name_ = a;
this.handlers_ = this.children_ = this.level_ = this.parent_ = null;

}; goog.debug.Logger.ROOT_LOGGER_NAME = “”; goog.debug.Logger.ENABLE_HIERARCHY = !0; goog.debug.Logger.ENABLE_HIERARCHY || (goog.debug.Logger.rootHandlers_ = []); goog.debug.Logger.Level = function(a, b) {

this.name = a;
this.value = b;

}; goog.debug.Logger.Level.prototype.toString = function() {

return this.name;

}; goog.debug.Logger.Level.OFF = new goog.debug.Logger.Level(“OFF”, Infinity); goog.debug.Logger.Level.SHOUT = new goog.debug.Logger.Level(“SHOUT”, 1200); goog.debug.Logger.Level.SEVERE = new goog.debug.Logger.Level(“SEVERE”, 1E3); goog.debug.Logger.Level.WARNING = new goog.debug.Logger.Level(“WARNING”, 900); goog.debug.Logger.Level.INFO = new goog.debug.Logger.Level(“INFO”, 800); goog.debug.Logger.Level.CONFIG = new goog.debug.Logger.Level(“CONFIG”, 700); goog.debug.Logger.Level.FINE = new goog.debug.Logger.Level(“FINE”, 500); goog.debug.Logger.Level.FINER = new goog.debug.Logger.Level(“FINER”, 400); goog.debug.Logger.Level.FINEST = new goog.debug.Logger.Level(“FINEST”, 300); goog.debug.Logger.Level.ALL = new goog.debug.Logger.Level(“ALL”, 0); goog.debug.Logger.Level.PREDEFINED_LEVELS = [goog.debug.Logger.Level.OFF, goog.debug.Logger.Level.SHOUT, goog.debug.Logger.Level.SEVERE, goog.debug.Logger.Level.WARNING, goog.debug.Logger.Level.INFO, goog.debug.Logger.Level.CONFIG, goog.debug.Logger.Level.FINE, goog.debug.Logger.Level.FINER, goog.debug.Logger.Level.FINEST, goog.debug.Logger.Level.ALL]; goog.debug.Logger.Level.predefinedLevelsCache_ = null; goog.debug.Logger.Level.createPredefinedLevelsCache_ = function() {

goog.debug.Logger.Level.predefinedLevelsCache_ = {};
for (var a = 0, b;b = goog.debug.Logger.Level.PREDEFINED_LEVELS[a];a++) {
  goog.debug.Logger.Level.predefinedLevelsCache_[b.value] = b, goog.debug.Logger.Level.predefinedLevelsCache_[b.name] = b;
}

}; goog.debug.Logger.Level.getPredefinedLevel = function(a) {

goog.debug.Logger.Level.predefinedLevelsCache_ || goog.debug.Logger.Level.createPredefinedLevelsCache_();
return goog.debug.Logger.Level.predefinedLevelsCache_[a] || null;

}; goog.debug.Logger.Level.getPredefinedLevelByValue = function(a) {

goog.debug.Logger.Level.predefinedLevelsCache_ || goog.debug.Logger.Level.createPredefinedLevelsCache_();
if (a in goog.debug.Logger.Level.predefinedLevelsCache_) {
  return goog.debug.Logger.Level.predefinedLevelsCache_[a];
}
for (var b = 0;b < goog.debug.Logger.Level.PREDEFINED_LEVELS.length;++b) {
  var c = goog.debug.Logger.Level.PREDEFINED_LEVELS[b];
  if (c.value <= a) {
    return c;
  }
}
return null;

}; goog.debug.Logger.getLogger = function(a) {

return goog.debug.LogManager.getLogger(a);

}; goog.debug.Logger.logToProfilers = function(a) {

goog.global.console && (goog.global.console.timeStamp ? goog.global.console.timeStamp(a) : goog.global.console.markTimeline && goog.global.console.markTimeline(a));
goog.global.msWriteProfilerMark && goog.global.msWriteProfilerMark(a);

}; goog.debug.Logger.prototype.getName = function() {

return this.name_;

}; goog.debug.Logger.prototype.addHandler = function(a) {

goog.debug.LOGGING_ENABLED && (goog.debug.Logger.ENABLE_HIERARCHY ? (this.handlers_ || (this.handlers_ = []), this.handlers_.push(a)) : (goog.asserts.assert(!this.name_, "Cannot call addHandler on a non-root logger when goog.debug.Logger.ENABLE_HIERARCHY is false."), goog.debug.Logger.rootHandlers_.push(a)));

}; goog.debug.Logger.prototype.removeHandler = function(a) {

if (goog.debug.LOGGING_ENABLED) {
  var b = goog.debug.Logger.ENABLE_HIERARCHY ? this.handlers_ : goog.debug.Logger.rootHandlers_;
  return!!b && goog.array.remove(b, a);
}
return!1;

}; goog.debug.Logger.prototype.getParent = function() {

return this.parent_;

}; goog.debug.Logger.prototype.getChildren = function() {

this.children_ || (this.children_ = {});
return this.children_;

}; goog.debug.Logger.prototype.setLevel = function(a) {

goog.debug.LOGGING_ENABLED && (goog.debug.Logger.ENABLE_HIERARCHY ? this.level_ = a : (goog.asserts.assert(!this.name_, "Cannot call setLevel() on a non-root logger when goog.debug.Logger.ENABLE_HIERARCHY is false."), goog.debug.Logger.rootLevel_ = a));

}; goog.debug.Logger.prototype.getLevel = function() {

return goog.debug.LOGGING_ENABLED ? this.level_ : goog.debug.Logger.Level.OFF;

}; goog.debug.Logger.prototype.getEffectiveLevel = function() {

if (!goog.debug.LOGGING_ENABLED) {
  return goog.debug.Logger.Level.OFF;
}
if (!goog.debug.Logger.ENABLE_HIERARCHY) {
  return goog.debug.Logger.rootLevel_;
}
if (this.level_) {
  return this.level_;
}
if (this.parent_) {
  return this.parent_.getEffectiveLevel();
}
goog.asserts.fail("Root logger has no level set.");
return null;

}; goog.debug.Logger.prototype.isLoggable = function(a) {

return goog.debug.LOGGING_ENABLED && a.value >= this.getEffectiveLevel().value;

}; goog.debug.Logger.prototype.log = function(a, b, c) {

goog.debug.LOGGING_ENABLED && this.isLoggable(a) && (goog.isFunction(b) && (b = b()), this.doLogRecord_(this.getLogRecord(a, b, c, goog.debug.Logger.prototype.log)));

}; goog.debug.Logger.prototype.getLogRecord = function(a, b, c, d) {

var e = goog.debug.LogBuffer.isBufferingEnabled() ? goog.debug.LogBuffer.getInstance().addRecord(a, b, this.name_) : new goog.debug.LogRecord(a, String(b), this.name_);
if (c) {
  var f;
  f = goog.STRICT_MODE_COMPATIBLE ? d || goog.debug.Logger.prototype.getLogRecord : d || arguments.callee.caller;
  e.setException(c);
  e.setExceptionText(goog.debug.exposeException(c, f));
}
return e;

}; goog.debug.Logger.prototype.shout = function(a, b) {

goog.debug.LOGGING_ENABLED && this.log(goog.debug.Logger.Level.SHOUT, a, b);

}; goog.debug.Logger.prototype.severe = function(a, b) {

goog.debug.LOGGING_ENABLED && this.log(goog.debug.Logger.Level.SEVERE, a, b);

}; goog.debug.Logger.prototype.warning = function(a, b) {

goog.debug.LOGGING_ENABLED && this.log(goog.debug.Logger.Level.WARNING, a, b);

}; goog.debug.Logger.prototype.info = function(a, b) {

goog.debug.LOGGING_ENABLED && this.log(goog.debug.Logger.Level.INFO, a, b);

}; goog.debug.Logger.prototype.config = function(a, b) {

goog.debug.LOGGING_ENABLED && this.log(goog.debug.Logger.Level.CONFIG, a, b);

}; goog.debug.Logger.prototype.fine = function(a, b) {

goog.debug.LOGGING_ENABLED && this.log(goog.debug.Logger.Level.FINE, a, b);

}; goog.debug.Logger.prototype.finer = function(a, b) {

goog.debug.LOGGING_ENABLED && this.log(goog.debug.Logger.Level.FINER, a, b);

}; goog.debug.Logger.prototype.finest = function(a, b) {

goog.debug.LOGGING_ENABLED && this.log(goog.debug.Logger.Level.FINEST, a, b);

}; goog.debug.Logger.prototype.logRecord = function(a) {

goog.debug.LOGGING_ENABLED && this.isLoggable(a.getLevel()) && this.doLogRecord_(a);

}; goog.debug.Logger.prototype.doLogRecord_ = function(a) {

goog.debug.Logger.logToProfilers("log:" + a.getMessage());
if (goog.debug.Logger.ENABLE_HIERARCHY) {
  for (var b = this;b;) {
    b.callPublish_(a), b = b.getParent();
  }
} else {
  for (var b = 0, c;c = goog.debug.Logger.rootHandlers_[b++];) {
    c(a);
  }
}

}; goog.debug.Logger.prototype.callPublish_ = function(a) {

if (this.handlers_) {
  for (var b = 0, c;c = this.handlers_[b];b++) {
    c(a);
  }
}

}; goog.debug.Logger.prototype.setParent_ = function(a) {

this.parent_ = a;

}; goog.debug.Logger.prototype.addChild_ = function(a, b) {

this.getChildren()[a] = b;

}; goog.debug.LogManager = {}; goog.debug.LogManager.loggers_ = {}; goog.debug.LogManager.rootLogger_ = null; goog.debug.LogManager.initialize = function() {

goog.debug.LogManager.rootLogger_ || (goog.debug.LogManager.rootLogger_ = new goog.debug.Logger(goog.debug.Logger.ROOT_LOGGER_NAME), goog.debug.LogManager.loggers_[goog.debug.Logger.ROOT_LOGGER_NAME] = goog.debug.LogManager.rootLogger_, goog.debug.LogManager.rootLogger_.setLevel(goog.debug.Logger.Level.CONFIG));

}; goog.debug.LogManager.getLoggers = function() {

return goog.debug.LogManager.loggers_;

}; goog.debug.LogManager.getRoot = function() {

goog.debug.LogManager.initialize();
return goog.debug.LogManager.rootLogger_;

}; goog.debug.LogManager.getLogger = function(a) {

goog.debug.LogManager.initialize();
return goog.debug.LogManager.loggers_[a] || goog.debug.LogManager.createLogger_(a);

}; goog.debug.LogManager.createFunctionForCatchErrors = function(a) {

return function(b) {
  (a || goog.debug.LogManager.getRoot()).severe("Error: " + b.message + " (" + b.fileName + " @ Line: " + b.line + ")");
};

}; goog.debug.LogManager.createLogger_ = function(a) {

var b = new goog.debug.Logger(a);
if (goog.debug.Logger.ENABLE_HIERARCHY) {
  var c = a.lastIndexOf("."), d = a.substr(0, c), c = a.substr(c + 1), d = goog.debug.LogManager.getLogger(d);
  d.addChild_(c, b);
  b.setParent_(d);
}
return goog.debug.LogManager.loggers_[a] = b;

}; goog.debug.RelativeTimeProvider = function() {

this.relativeTimeStart_ = goog.now();

}; goog.debug.RelativeTimeProvider.defaultInstance_ = new goog.debug.RelativeTimeProvider; goog.debug.RelativeTimeProvider.prototype.set = function(a) {

this.relativeTimeStart_ = a;

}; goog.debug.RelativeTimeProvider.prototype.reset = function() {

this.set(goog.now());

}; goog.debug.RelativeTimeProvider.prototype.get = function() {

return this.relativeTimeStart_;

}; goog.debug.RelativeTimeProvider.getDefaultInstance = function() {

return goog.debug.RelativeTimeProvider.defaultInstance_;

}; goog.dom.tags = {}; goog.dom.tags.VOID_TAGS_ = goog.object.createSet(“area base br col command embed hr img input keygen link meta param source track wbr”.split(“ ”)); goog.dom.tags.isVoidTag = function(a) {

return!0 === goog.dom.tags.VOID_TAGS_[a];

}; goog.string.TypedString = function() { }; goog.string.Const = function() {

this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = "";
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;

}; goog.string.Const.prototype.implementsGoogStringTypedString = !0; goog.string.Const.prototype.getTypedStringValue = function() {

return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;

}; goog.string.Const.prototype.toString = function() {

return "Const{" + this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ + "}";

}; goog.string.Const.unwrap = function(a) {

if (a instanceof goog.string.Const && a.constructor === goog.string.Const && a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ === goog.string.Const.TYPE_MARKER_) {
  return a.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
}
goog.asserts.fail("expected object of type Const, got '" + a + "'");
return "type_error:Const";

}; goog.string.Const.from = function(a) {

return goog.string.Const.create__googStringSecurityPrivate_(a);

}; goog.string.Const.TYPE_MARKER_ = {}; goog.string.Const.create__googStringSecurityPrivate_ = function(a) {

var b = new goog.string.Const;
b.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = a;
return b;

}; goog.html = {}; goog.html.SafeStyle = function() {

this.privateDoNotAccessOrElseSafeStyleWrappedValue_ = "";
this.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_;

}; goog.html.SafeStyle.prototype.implementsGoogStringTypedString = !0; goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = {}; goog.html.SafeStyle.fromConstant = function(a) {

a = goog.string.Const.unwrap(a);
if (0 === a.length) {
  return goog.html.SafeStyle.EMPTY;
}
goog.html.SafeStyle.checkStyle_(a);
goog.asserts.assert(goog.string.endsWith(a, ";"), "Last character of style string is not ';': " + a);
goog.asserts.assert(goog.string.contains(a, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + a);
return goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(a);

}; goog.html.SafeStyle.checkStyle_ = function(a) {

goog.asserts.assert(!/[<>]/.test(a), "Forbidden characters in style string: " + a);

}; goog.html.SafeStyle.prototype.getTypedStringValue = function() {

return this.privateDoNotAccessOrElseSafeStyleWrappedValue_;

}; goog.DEBUG && (goog.html.SafeStyle.prototype.toString = function() {

return "SafeStyle{" + this.privateDoNotAccessOrElseSafeStyleWrappedValue_ + "}";

}); goog.html.SafeStyle.unwrap = function(a) {

if (a instanceof goog.html.SafeStyle && a.constructor === goog.html.SafeStyle && a.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ === goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_) {
  return a.privateDoNotAccessOrElseSafeStyleWrappedValue_;
}
goog.asserts.fail("expected object of type SafeStyle, got '" + a + "'");
return "type_error:SafeStyle";

}; goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse = function(a) {

var b = new goog.html.SafeStyle;
b.privateDoNotAccessOrElseSafeStyleWrappedValue_ = a;
return b;

}; goog.html.SafeStyle.EMPTY = goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(“”); goog.html.SafeStyle.INNOCUOUS_STRING = “zClosurez”; goog.html.SafeStyle.create = function(a) {

var b = "", c;
for (c in a) {
  if (!/^[-_a-zA-Z0-9]+$/.test(c)) {
    throw Error("Name allows only [-_a-zA-Z0-9], got: " + c);
  }
  var d = a[c];
  null != d && (d instanceof goog.string.Const ? (d = goog.string.Const.unwrap(d), goog.asserts.assert(!/[{;}]/.test(d), "Value does not allow [{;}].")) : goog.html.SafeStyle.VALUE_RE_.test(d) || (goog.asserts.fail("String value allows only [-.%_!# a-zA-Z0-9], got: " + d), d = goog.html.SafeStyle.INNOCUOUS_STRING), b += c + ":" + d + ";");
}
if (!b) {
  return goog.html.SafeStyle.EMPTY;
}
goog.html.SafeStyle.checkStyle_(b);
return goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(b);

}; goog.html.SafeStyle.VALUE_RE_ = /^[-.%_!# a-zA-Z0-9]+$/; goog.html.SafeStyle.concat = function(a) {

var b = "", c = function(a) {
  goog.isArray(a) ? goog.array.forEach(a, c) : b += goog.html.SafeStyle.unwrap(a);
};
goog.array.forEach(arguments, c);
return b ? goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(b) : goog.html.SafeStyle.EMPTY;

}; goog.i18n = {}; goog.i18n.bidi = {}; goog.i18n.bidi.FORCE_RTL = !1; goog.i18n.bidi.IS_RTL = goog.i18n.bidi.FORCE_RTL || (“ar” == goog.LOCALE.substring(0, 2).toLowerCase() || “fa” == goog.LOCALE.substring(0, 2).toLowerCase() || “he” == goog.LOCALE.substring(0, 2).toLowerCase() || “iw” == goog.LOCALE.substring(0, 2).toLowerCase() || “ps” == goog.LOCALE.substring(0, 2).toLowerCase() || “sd” == goog.LOCALE.substring(0, 2).toLowerCase() || “ug” == goog.LOCALE.substring(0, 2).toLowerCase() || “ur” == goog.LOCALE.substring(0, 2).toLowerCase() || “yi” == goog.LOCALE.substring(0, 2).toLowerCase()) && (2 == goog.LOCALE.length || “-” == goog.LOCALE.substring(2, 3) || “_” == goog.LOCALE.substring(2, 3)) || 3 <= goog.LOCALE.length && “ckb” == goog.LOCALE.substring(0, 3).toLowerCase() && (3 == goog.LOCALE.length || “-” == goog.LOCALE.substring(3, 4) || “_” == goog.LOCALE.substring(3, 4)); goog.i18n.bidi.Format = {LRE:“u202a”, RLE:“u202b”, PDF:“u202c”, LRM:“u200e”, RLM:“u200f”}; goog.i18n.bidi.Dir = {LTR:1, RTL:-1, NEUTRAL:0}; goog.i18n.bidi.RIGHT = “right”; goog.i18n.bidi.LEFT = “left”; goog.i18n.bidi.I18N_RIGHT = goog.i18n.bidi.IS_RTL ? goog.i18n.bidi.LEFT : goog.i18n.bidi.RIGHT; goog.i18n.bidi.I18N_LEFT = goog.i18n.bidi.IS_RTL ? goog.i18n.bidi.RIGHT : goog.i18n.bidi.LEFT; goog.i18n.bidi.toDir = function(a, b) {

return "number" == typeof a ? 0 < a ? goog.i18n.bidi.Dir.LTR : 0 > a ? goog.i18n.bidi.Dir.RTL : b ? null : goog.i18n.bidi.Dir.NEUTRAL : null == a ? null : a ? goog.i18n.bidi.Dir.RTL : goog.i18n.bidi.Dir.LTR;

}; goog.i18n.bidi.ltrChars_ = “A-Za-zu00c0-u00d6u00d8-u00f6u00f8-u02b8u0300-u0590u0800-u1fffu200eu2c00-ufb1cufe00-ufe6fufefd-uffff”; goog.i18n.bidi.rtlChars_ = “u0591-u07ffu200fufb1d-ufdffufe70-ufefc”; goog.i18n.bidi.htmlSkipReg_ = /<[^>]*>|&[^;]+;/g; goog.i18n.bidi.stripHtmlIfNeeded_ = function(a, b) {

return b ? a.replace(goog.i18n.bidi.htmlSkipReg_, "") : a;

}; goog.i18n.bidi.rtlCharReg_ = new RegExp(“[” + goog.i18n.bidi.rtlChars_ + “]”); goog.i18n.bidi.ltrCharReg_ = new RegExp(“[” + goog.i18n.bidi.ltrChars_ + “]”); goog.i18n.bidi.hasAnyRtl = function(a, b) {

return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a, b));

}; goog.i18n.bidi.hasRtlChar = goog.i18n.bidi.hasAnyRtl; goog.i18n.bidi.hasAnyLtr = function(a, b) {

return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a, b));

}; goog.i18n.bidi.ltrRe_ = new RegExp(“^[” + goog.i18n.bidi.ltrChars_ + “]”); goog.i18n.bidi.rtlRe_ = new RegExp(“^[” + goog.i18n.bidi.rtlChars_ + “]”); goog.i18n.bidi.isRtlChar = function(a) {

return goog.i18n.bidi.rtlRe_.test(a);

}; goog.i18n.bidi.isLtrChar = function(a) {

return goog.i18n.bidi.ltrRe_.test(a);

}; goog.i18n.bidi.isNeutralChar = function(a) {

return!goog.i18n.bidi.isLtrChar(a) && !goog.i18n.bidi.isRtlChar(a);

}; goog.i18n.bidi.ltrDirCheckRe_ = new RegExp(“^[^” + goog.i18n.bidi.rtlChars_ + “]*[” + goog.i18n.bidi.ltrChars_ + “]”); goog.i18n.bidi.rtlDirCheckRe_ = new RegExp(“^[^” + goog.i18n.bidi.ltrChars_ + “]*[” + goog.i18n.bidi.rtlChars_ + “]”); goog.i18n.bidi.startsWithRtl = function(a, b) {

return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a, b));

}; goog.i18n.bidi.isRtlText = goog.i18n.bidi.startsWithRtl; goog.i18n.bidi.startsWithLtr = function(a, b) {

return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a, b));

}; goog.i18n.bidi.isLtrText = goog.i18n.bidi.startsWithLtr; goog.i18n.bidi.isRequiredLtrRe_ = /^http://.*/; goog.i18n.bidi.isNeutralText = function(a, b) {

a = goog.i18n.bidi.stripHtmlIfNeeded_(a, b);
return goog.i18n.bidi.isRequiredLtrRe_.test(a) || !goog.i18n.bidi.hasAnyLtr(a) && !goog.i18n.bidi.hasAnyRtl(a);

}; goog.i18n.bidi.ltrExitDirCheckRe_ = new RegExp(“[” + goog.i18n.bidi.ltrChars_ + “][^” + goog.i18n.bidi.rtlChars_ + “]*$”); goog.i18n.bidi.rtlExitDirCheckRe_ = new RegExp(“[” + goog.i18n.bidi.rtlChars_ + “][^” + goog.i18n.bidi.ltrChars_ + “]*$”); goog.i18n.bidi.endsWithLtr = function(a, b) {

return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a, b));

}; goog.i18n.bidi.isLtrExitText = goog.i18n.bidi.endsWithLtr; goog.i18n.bidi.endsWithRtl = function(a, b) {

return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a, b));

}; goog.i18n.bidi.isRtlExitText = goog.i18n.bidi.endsWithRtl; goog.i18n.bidi.rtlLocalesRe_ = /^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*(Arab|Hebr|Thaa|Nkoo|Tfng))(?!.*(Latn|Cyrl)($|-|_))($|-|_)/i; goog.i18n.bidi.isRtlLanguage = function(a) {

return goog.i18n.bidi.rtlLocalesRe_.test(a);

}; goog.i18n.bidi.bracketGuardHtmlRe_ = /((.*?)+)|([.*?]+)|({.*?}+)|(&lt;.*?(&gt;)+)/g; goog.i18n.bidi.bracketGuardTextRe_ = /((.*?)+)|([.*?]+)|({.*?}+)|(<.*?>+)/g; goog.i18n.bidi.guardBracketInHtml = function(a, b) {

return(void 0 === b ? goog.i18n.bidi.hasAnyRtl(a) : b) ? a.replace(goog.i18n.bidi.bracketGuardHtmlRe_, "<span dir=rtl>$&</span>") : a.replace(goog.i18n.bidi.bracketGuardHtmlRe_, "<span dir=ltr>$&</span>");

}; goog.i18n.bidi.guardBracketInText = function(a, b) {

var c = (void 0 === b ? goog.i18n.bidi.hasAnyRtl(a) : b) ? goog.i18n.bidi.Format.RLM : goog.i18n.bidi.Format.LRM;
return a.replace(goog.i18n.bidi.bracketGuardTextRe_, c + "$&" + c);

}; goog.i18n.bidi.enforceRtlInHtml = function(a) {

return "<" == a.charAt(0) ? a.replace(/<\w+/, "$& dir=rtl") : "\n<span dir=rtl>" + a + "</span>";

}; goog.i18n.bidi.enforceRtlInText = function(a) {

return goog.i18n.bidi.Format.RLE + a + goog.i18n.bidi.Format.PDF;

}; goog.i18n.bidi.enforceLtrInHtml = function(a) {

return "<" == a.charAt(0) ? a.replace(/<\w+/, "$& dir=ltr") : "\n<span dir=ltr>" + a + "</span>";

}; goog.i18n.bidi.enforceLtrInText = function(a) {

return goog.i18n.bidi.Format.LRE + a + goog.i18n.bidi.Format.PDF;

}; goog.i18n.bidi.dimensionsRe_ = /:s*([.w]*)s+([.w]*)s+([.w]*)s+([.w]*)/g; goog.i18n.bidi.leftRe_ = /left/gi; goog.i18n.bidi.rightRe_ = /right/gi; goog.i18n.bidi.tempRe_ = /%%%%/g; goog.i18n.bidi.mirrorCSS = function(a) {

return a.replace(goog.i18n.bidi.dimensionsRe_, ":$1 $4 $3 $2").replace(goog.i18n.bidi.leftRe_, "%%%%").replace(goog.i18n.bidi.rightRe_, goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_, goog.i18n.bidi.RIGHT);

}; goog.i18n.bidi.doubleQuoteSubstituteRe_ = /([u0591-u05f2])“/g; goog.i18n.bidi.singleQuoteSubstituteRe_ = /([u0591-u05f2])'/g; goog.i18n.bidi.normalizeHebrewQuote = function(a) {

return a.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_, "$1\u05f4").replace(goog.i18n.bidi.singleQuoteSubstituteRe_, "$1\u05f3");

}; goog.i18n.bidi.wordSeparatorRe_ = /s+/; goog.i18n.bidi.hasNumeralsRe_ = /d/; goog.i18n.bidi.rtlDetectionThreshold_ = .4; goog.i18n.bidi.estimateDirection = function(a, b) {

for (var c = 0, d = 0, e = !1, f = goog.i18n.bidi.stripHtmlIfNeeded_(a, b).split(goog.i18n.bidi.wordSeparatorRe_), g = 0;g < f.length;g++) {
  var h = f[g];
  goog.i18n.bidi.startsWithRtl(h) ? (c++, d++) : goog.i18n.bidi.isRequiredLtrRe_.test(h) ? e = !0 : goog.i18n.bidi.hasAnyLtr(h) ? d++ : goog.i18n.bidi.hasNumeralsRe_.test(h) && (e = !0);
}
return 0 == d ? e ? goog.i18n.bidi.Dir.LTR : goog.i18n.bidi.Dir.NEUTRAL : c / d > goog.i18n.bidi.rtlDetectionThreshold_ ? goog.i18n.bidi.Dir.RTL : goog.i18n.bidi.Dir.LTR;

}; goog.i18n.bidi.detectRtlDirectionality = function(a, b) {

return goog.i18n.bidi.estimateDirection(a, b) == goog.i18n.bidi.Dir.RTL;

}; goog.i18n.bidi.setElementDirAndAlign = function(a, b) {

a && (b = goog.i18n.bidi.toDir(b)) && (a.style.textAlign = b == goog.i18n.bidi.Dir.RTL ? goog.i18n.bidi.RIGHT : goog.i18n.bidi.LEFT, a.dir = b == goog.i18n.bidi.Dir.RTL ? "rtl" : "ltr");

}; goog.i18n.bidi.DirectionalString = function() { }; goog.html.SafeUrl = function() {

this.privateDoNotAccessOrElseSafeHtmlWrappedValue_ = "";
this.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_;

}; goog.html.SafeUrl.INNOCUOUS_STRING = “about:invalid#zClosurez”; goog.html.SafeUrl.prototype.implementsGoogStringTypedString = !0; goog.html.SafeUrl.prototype.getTypedStringValue = function() {

return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_;

}; goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString = !0; goog.html.SafeUrl.prototype.getDirection = function() {

return goog.i18n.bidi.Dir.LTR;

}; goog.DEBUG && (goog.html.SafeUrl.prototype.toString = function() {

return "SafeUrl{" + this.privateDoNotAccessOrElseSafeHtmlWrappedValue_ + "}";

}); goog.html.SafeUrl.unwrap = function(a) {

if (a instanceof goog.html.SafeUrl && a.constructor === goog.html.SafeUrl && a.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ === goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_) {
  return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;
}
goog.asserts.fail("expected object of type SafeUrl, got '" + a + "'");
return "type_error:SafeUrl";

}; goog.html.SafeUrl.fromConstant = function(a) {

return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(a));

}; goog.html.SAFE_URL_PATTERN_ = /^(?:(?:https?|mailto):|*(?:[/?#]|$))/i; goog.html.SafeUrl.sanitize = function(a) {

if (a instanceof goog.html.SafeUrl) {
  return a;
}
a = a.implementsGoogStringTypedString ? a.getTypedStringValue() : String(a);
a = goog.html.SAFE_URL_PATTERN_.test(a) ? goog.html.SafeUrl.normalize_(a) : goog.html.SafeUrl.INNOCUOUS_STRING;
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(a);

}; goog.html.SafeUrl.normalize_ = function(a) {

try {
  var b = encodeURI(a);
} catch (c) {
  return goog.html.SafeUrl.INNOCUOUS_STRING;
}
return b.replace(goog.html.SafeUrl.NORMALIZE_MATCHER_, function(a) {
  return goog.html.SafeUrl.NORMALIZE_REPLACER_MAP_[a];
});

}; goog.html.SafeUrl.NORMALIZE_MATCHER_ = /[()']|%5B|%5D|%25/g; goog.html.SafeUrl.NORMALIZE_REPLACER_MAP_ = {“'”:“%27”, “(”:“%28”, “)”:“%29”, “%5B”:“[”, “%5D”:“]”, “%25”:“%”}; goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = {}; goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse = function(a) {

var b = new goog.html.SafeUrl;
b.privateDoNotAccessOrElseSafeHtmlWrappedValue_ = a;
return b;

}; goog.html.TrustedResourceUrl = function() {

this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ = "";
this.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_;

}; goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString = !0; goog.html.TrustedResourceUrl.prototype.getTypedStringValue = function() {

return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;

}; goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString = !0; goog.html.TrustedResourceUrl.prototype.getDirection = function() {

return goog.i18n.bidi.Dir.LTR;

}; goog.DEBUG && (goog.html.TrustedResourceUrl.prototype.toString = function() {

return "TrustedResourceUrl{" + this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ + "}";

}); goog.html.TrustedResourceUrl.unwrap = function(a) {

if (a instanceof goog.html.TrustedResourceUrl && a.constructor === goog.html.TrustedResourceUrl && a.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ === goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_) {
  return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;
}
goog.asserts.fail("expected object of type TrustedResourceUrl, got '" + a + "'");
return "type_error:TrustedResourceUrl";

}; goog.html.TrustedResourceUrl.fromConstant = function(a) {

return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(a));

}; goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = {}; goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse = function(a) {

var b = new goog.html.TrustedResourceUrl;
b.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ = a;
return b;

}; goog.html.SafeHtml = function() {

this.privateDoNotAccessOrElseSafeHtmlWrappedValue_ = "";
this.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_;
this.dir_ = null;

}; goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString = !0; goog.html.SafeHtml.prototype.getDirection = function() {

return this.dir_;

}; goog.html.SafeHtml.prototype.implementsGoogStringTypedString = !0; goog.html.SafeHtml.prototype.getTypedStringValue = function() {

return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_;

}; goog.DEBUG && (goog.html.SafeHtml.prototype.toString = function() {

return "SafeHtml{" + this.privateDoNotAccessOrElseSafeHtmlWrappedValue_ + "}";

}); goog.html.SafeHtml.unwrap = function(a) {

if (a instanceof goog.html.SafeHtml && a.constructor === goog.html.SafeHtml && a.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ === goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_) {
  return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;
}
goog.asserts.fail("expected object of type SafeHtml, got '" + a + "'");
return "type_error:SafeHtml";

}; goog.html.SafeHtml.htmlEscape = function(a) {

if (a instanceof goog.html.SafeHtml) {
  return a;
}
var b = null;
a.implementsGoogI18nBidiDirectionalString && (b = a.getDirection());
a = a.implementsGoogStringTypedString ? a.getTypedStringValue() : String(a);
return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.htmlEscape(a), b);

}; goog.html.SafeHtml.htmlEscapePreservingNewlines = function(a) {

if (a instanceof goog.html.SafeHtml) {
  return a;
}
a = goog.html.SafeHtml.htmlEscape(a);
return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.newLineToBr(goog.html.SafeHtml.unwrap(a)), a.getDirection());

}; goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces = function(a) {

if (a instanceof goog.html.SafeHtml) {
  return a;
}
a = goog.html.SafeHtml.htmlEscape(a);
return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.whitespaceEscape(goog.html.SafeHtml.unwrap(a)), a.getDirection());

}; goog.html.SafeHtml.from = goog.html.SafeHtml.htmlEscape; goog.html.SafeHtml.VALID_NAMES_IN_TAG_ = /^[a-zA-Z0-9-]+$/; goog.html.SafeHtml.URL_ATTRIBUTES_ = goog.object.createSet(“action”, “cite”, “data”, “formaction”, “href”, “manifest”, “poster”, “src”); goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_ = goog.object.createSet(“embed”, “iframe”, “link”, “script”, “style”, “template”); goog.html.SafeHtml.create = function(a, b, c) {

if (!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(a)) {
  throw Error("Invalid tag name <" + a + ">.");
}
if (a.toLowerCase() in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_) {
  throw Error("Tag name <" + a + "> is not allowed for SafeHtml.");
}
return goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(a, b, c);

}; goog.html.SafeHtml.getAttrNameAndValue_ = function(a, b, c) {

if (c instanceof goog.string.Const) {
  c = goog.string.Const.unwrap(c);
} else {
  if ("style" == b.toLowerCase()) {
    c = goog.html.SafeHtml.getStyleValue_(c);
  } else {
    if (/^on/i.test(b)) {
      throw Error('Attribute "' + b + '" requires goog.string.Const value, "' + c + '" given.');
    }
    if (b.toLowerCase() in goog.html.SafeHtml.URL_ATTRIBUTES_) {
      if (c instanceof goog.html.TrustedResourceUrl) {
        c = goog.html.TrustedResourceUrl.unwrap(c);
      } else {
        if (c instanceof goog.html.SafeUrl) {
          c = goog.html.SafeUrl.unwrap(c);
        } else {
          throw Error('Attribute "' + b + '" on tag "' + a + '" requires goog.html.SafeUrl or goog.string.Const value, "' + c + '" given.');
        }
      }
    }
  }
}
c.implementsGoogStringTypedString && (c = c.getTypedStringValue());
goog.asserts.assert(goog.isString(c) || goog.isNumber(c), "String or number value expected, got " + typeof c + " with value: " + c);
return b + '="' + goog.string.htmlEscape(String(c)) + '"';

}; goog.html.SafeHtml.getStyleValue_ = function(a) {

if (!goog.isObject(a)) {
  throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, ' + typeof a + " given: " + a);
}
a instanceof goog.html.SafeStyle || (a = goog.html.SafeStyle.create(a));
return goog.html.SafeStyle.unwrap(a);

}; goog.html.SafeHtml.createWithDir = function(a, b, c, d) {

b = goog.html.SafeHtml.create(b, c, d);
b.dir_ = a;
return b;

}; goog.html.SafeHtml.concat = function(a) {

var b = goog.i18n.bidi.Dir.NEUTRAL, c = "", d = function(a) {
  goog.isArray(a) ? goog.array.forEach(a, d) : (a = goog.html.SafeHtml.htmlEscape(a), c += goog.html.SafeHtml.unwrap(a), a = a.getDirection(), b == goog.i18n.bidi.Dir.NEUTRAL ? b = a : a != goog.i18n.bidi.Dir.NEUTRAL && b != a && (b = null));
};
goog.array.forEach(arguments, d);
return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(c, b);

}; goog.html.SafeHtml.concatWithDir = function(a, b) {

var c = goog.html.SafeHtml.concat(goog.array.slice(arguments, 1));
c.dir_ = a;
return c;

}; goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_ = {}; goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse = function(a, b) {

var c = new goog.html.SafeHtml;
c.privateDoNotAccessOrElseSafeHtmlWrappedValue_ = a;
c.dir_ = b;
return c;

}; goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse = function(a, b, c) {

var d = null, e = "<" + a;
if (b) {
  for (var f in b) {
    if (!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(f)) {
      throw Error('Invalid attribute name "' + f + '".');
    }
    var g = b[f];
    goog.isDefAndNotNull(g) && (e += " " + goog.html.SafeHtml.getAttrNameAndValue_(a, f, g));
  }
}
goog.isDef(c) ? goog.isArray(c) || (c = [c]) : c = [];
goog.dom.tags.isVoidTag(a.toLowerCase()) ? (goog.asserts.assert(!c.length, "Void tag <" + a + "> does not allow content."), e += ">") : (d = goog.html.SafeHtml.concat(c), e += ">" + goog.html.SafeHtml.unwrap(d) + "</" + a + ">", d = d.getDirection());
(a = b && b.dir) && (d = /^(ltr|rtl|auto)$/i.test(a) ? goog.i18n.bidi.Dir.NEUTRAL : null);
return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(e, d);

}; goog.html.SafeHtml.EMPTY = goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(“”, goog.i18n.bidi.Dir.NEUTRAL); goog.debug.Formatter = function(a) {

this.prefix_ = a || "";
this.startTimeProvider_ = goog.debug.RelativeTimeProvider.getDefaultInstance();

}; goog.debug.Formatter.prototype.appendNewline = !0; goog.debug.Formatter.prototype.showAbsoluteTime = !0; goog.debug.Formatter.prototype.showRelativeTime = !0; goog.debug.Formatter.prototype.showLoggerName = !0; goog.debug.Formatter.prototype.showExceptionText = !1; goog.debug.Formatter.prototype.showSeverityLevel = !1; goog.debug.Formatter.prototype.setStartTimeProvider = function(a) {

this.startTimeProvider_ = a;

}; goog.debug.Formatter.prototype.getStartTimeProvider = function() {

return this.startTimeProvider_;

}; goog.debug.Formatter.prototype.resetRelativeTimeStart = function() {

this.startTimeProvider_.reset();

}; goog.debug.Formatter.getDateTimeStamp_ = function(a) {

a = new Date(a.getMillis());
return goog.debug.Formatter.getTwoDigitString_(a.getFullYear() - 2E3) + goog.debug.Formatter.getTwoDigitString_(a.getMonth() + 1) + goog.debug.Formatter.getTwoDigitString_(a.getDate()) + " " + goog.debug.Formatter.getTwoDigitString_(a.getHours()) + ":" + goog.debug.Formatter.getTwoDigitString_(a.getMinutes()) + ":" + goog.debug.Formatter.getTwoDigitString_(a.getSeconds()) + "." + goog.debug.Formatter.getTwoDigitString_(Math.floor(a.getMilliseconds() / 10));

}; goog.debug.Formatter.getTwoDigitString_ = function(a) {

return 10 > a ? "0" + a : String(a);

}; goog.debug.Formatter.getRelativeTime_ = function(a, b) {

var c = (a.getMillis() - b) / 1E3, d = c.toFixed(3), e = 0;
if (1 > c) {
  e = 2;
} else {
  for (;100 > c;) {
    e++, c *= 10;
  }
}
for (;0 < e--;) {
  d = " " + d;
}
return d;

}; goog.debug.HtmlFormatter = function(a) {

goog.debug.Formatter.call(this, a);

}; goog.inherits(goog.debug.HtmlFormatter, goog.debug.Formatter); goog.debug.HtmlFormatter.prototype.showExceptionText = !0; goog.debug.HtmlFormatter.prototype.formatRecord = function(a) {

return a ? this.formatRecordAsHtml(a).getTypedStringValue() : "";

}; goog.debug.HtmlFormatter.prototype.formatRecordAsHtml = function(a) {

var b;
switch(a.getLevel().value) {
  case goog.debug.Logger.Level.SHOUT.value:
    b = "dbg-sh";
    break;
  case goog.debug.Logger.Level.SEVERE.value:
    b = "dbg-sev";
    break;
  case goog.debug.Logger.Level.WARNING.value:
    b = "dbg-w";
    break;
  case goog.debug.Logger.Level.INFO.value:
    b = "dbg-i";
    break;
  default:
    b = "dbg-f";
}
var c = [];
c.push(this.prefix_, " ");
this.showAbsoluteTime && c.push("[", goog.debug.Formatter.getDateTimeStamp_(a), "] ");
this.showRelativeTime && c.push("[", goog.debug.Formatter.getRelativeTime_(a, this.startTimeProvider_.get()), "s] ");
this.showLoggerName && c.push("[", a.getLoggerName(), "] ");
this.showSeverityLevel && c.push("[", a.getLevel().name, "] ");
var c = goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces(c.join("")), d = goog.html.SafeHtml.EMPTY;
this.showExceptionText && a.getException() && (d = goog.html.SafeHtml.concat(goog.html.SafeHtml.create("br"), goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces(a.getExceptionText() || "")));
a = goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces(a.getMessage());
b = goog.html.SafeHtml.create("span", {"class":b}, goog.html.SafeHtml.concat(a, d));
return this.appendNewline ? goog.html.SafeHtml.concat(c, b, goog.html.SafeHtml.create("br")) : goog.html.SafeHtml.concat(c, b);

}; goog.debug.TextFormatter = function(a) {

goog.debug.Formatter.call(this, a);

}; goog.inherits(goog.debug.TextFormatter, goog.debug.Formatter); goog.debug.TextFormatter.prototype.formatRecord = function(a) {

var b = [];
b.push(this.prefix_, " ");
this.showAbsoluteTime && b.push("[", goog.debug.Formatter.getDateTimeStamp_(a), "] ");
this.showRelativeTime && b.push("[", goog.debug.Formatter.getRelativeTime_(a, this.startTimeProvider_.get()), "s] ");
this.showLoggerName && b.push("[", a.getLoggerName(), "] ");
this.showSeverityLevel && b.push("[", a.getLevel().name, "] ");
b.push(a.getMessage());
this.showExceptionText && a.getException() && b.push("\n", a.getExceptionText());
this.appendNewline && b.push("\n");
return b.join("");

}; goog.dom.safe = {}; goog.dom.safe.setInnerHtml = function(a, b) {

a.innerHTML = goog.html.SafeHtml.unwrap(b);

}; goog.dom.safe.setOuterHtml = function(a, b) {

a.outerHTML = goog.html.SafeHtml.unwrap(b);

}; goog.dom.safe.documentWrite = function(a, b) {

a.write(goog.html.SafeHtml.unwrap(b));

}; goog.dom.safe.setAnchorHref = function(a, b) {

var c;
c = b instanceof goog.html.SafeUrl ? b : goog.html.SafeUrl.sanitize(b);
a.href = goog.html.SafeUrl.unwrap(c);

}; goog.dom.safe.setLocationHref = function(a, b) {

var c;
c = b instanceof goog.html.SafeUrl ? b : goog.html.SafeUrl.sanitize(b);
a.href = goog.html.SafeUrl.unwrap(c);

}; goog.dom.BrowserFeature = {CAN_ADD_NAME_OR_TYPE_ATTRIBUTES:!goog.userAgent.IE || goog.userAgent.isDocumentModeOrHigher(9), CAN_USE_CHILDREN_ATTRIBUTE:!goog.userAgent.GECKO && !goog.userAgent.IE || goog.userAgent.IE && goog.userAgent.isDocumentModeOrHigher(9) || goog.userAgent.GECKO && goog.userAgent.isVersionOrHigher(“1.9.1”), CAN_USE_INNER_TEXT:goog.userAgent.IE && !goog.userAgent.isVersionOrHigher(“9”), CAN_USE_PARENT_ELEMENT_PROPERTY:goog.userAgent.IE || goog.userAgent.OPERA || goog.userAgent.WEBKIT, INNER_HTML_NEEDS_SCOPED_ELEMENT:goog.userAgent.IE, LEGACY_IE_RANGES:goog.userAgent.IE && !goog.userAgent.isDocumentModeOrHigher(9)}; goog.dom.TagName = {A:“A”, ABBR:“ABBR”, ACRONYM:“ACRONYM”, ADDRESS:“ADDRESS”, APPLET:“APPLET”, AREA:“AREA”, ARTICLE:“ARTICLE”, ASIDE:“ASIDE”, AUDIO:“AUDIO”, B:“B”, BASE:“BASE”, BASEFONT:“BASEFONT”, BDI:“BDI”, BDO:“BDO”, BIG:“BIG”, BLOCKQUOTE:“BLOCKQUOTE”, BODY:“BODY”, BR:“BR”, BUTTON:“BUTTON”, CANVAS:“CANVAS”, CAPTION:“CAPTION”, CENTER:“CENTER”, CITE:“CITE”, CODE:“CODE”, COL:“COL”, COLGROUP:“COLGROUP”, COMMAND:“COMMAND”, DATA:“DATA”, DATALIST:“DATALIST”, DD:“DD”, DEL:“DEL”, DETAILS:“DETAILS”, DFN:“DFN”, DIALOG:“DIALOG”, DIR:“DIR”, DIV:“DIV”, DL:“DL”, DT:“DT”, EM:“EM”, EMBED:“EMBED”, FIELDSET:“FIELDSET”, FIGCAPTION:“FIGCAPTION”, FIGURE:“FIGURE”, FONT:“FONT”, FOOTER:“FOOTER”, FORM:“FORM”, FRAME:“FRAME”, FRAMESET:“FRAMESET”, H1:“H1”, H2:“H2”, H3:“H3”, H4:“H4”, H5:“H5”, H6:“H6”, HEAD:“HEAD”, HEADER:“HEADER”, HGROUP:“HGROUP”, HR:“HR”, HTML:“HTML”, I:“I”, IFRAME:“IFRAME”, IMG:“IMG”, INPUT:“INPUT”, INS:“INS”, ISINDEX:“ISINDEX”, KBD:“KBD”, KEYGEN:“KEYGEN”, LABEL:“LABEL”, LEGEND:“LEGEND”, LI:“LI”, LINK:“LINK”, MAP:“MAP”, MARK:“MARK”, MATH:“MATH”, MENU:“MENU”, META:“META”, METER:“METER”, NAV:“NAV”, NOFRAMES:“NOFRAMES”, NOSCRIPT:“NOSCRIPT”, OBJECT:“OBJECT”, OL:“OL”, OPTGROUP:“OPTGROUP”, OPTION:“OPTION”, OUTPUT:“OUTPUT”, P:“P”, PARAM:“PARAM”, PRE:“PRE”, PROGRESS:“PROGRESS”, Q:“Q”, RP:“RP”, RT:“RT”, RUBY:“RUBY”, S:“S”, SAMP:“SAMP”, SCRIPT:“SCRIPT”, SECTION:“SECTION”, SELECT:“SELECT”, SMALL:“SMALL”, SOURCE:“SOURCE”, SPAN:“SPAN”, STRIKE:“STRIKE”, STRONG:“STRONG”, STYLE:“STYLE”, SUB:“SUB”, SUMMARY:“SUMMARY”, SUP:“SUP”, SVG:“SVG”, TABLE:“TABLE”, TBODY:“TBODY”, TD:“TD”, TEXTAREA:“TEXTAREA”, TFOOT:“TFOOT”, TH:“TH”, THEAD:“THEAD”, TIME:“TIME”, TITLE:“TITLE”, TR:“TR”, TRACK:“TRACK”, TT:“TT”, U:“U”, UL:“UL”, VAR:“VAR”, VIDEO:“VIDEO”, WBR:“WBR”}; goog.math.Coordinate = function(a, b) {

this.x = goog.isDef(a) ? a : 0;
this.y = goog.isDef(b) ? b : 0;

}; goog.math.Coordinate.prototype.clone = function() {

return new goog.math.Coordinate(this.x, this.y);

}; goog.DEBUG && (goog.math.Coordinate.prototype.toString = function() {

return "(" + this.x + ", " + this.y + ")";

}); goog.math.Coordinate.equals = function(a, b) {

return a == b ? !0 : a && b ? a.x == b.x && a.y == b.y : !1;

}; goog.math.Coordinate.distance = function(a, b) {

var c = a.x - b.x, d = a.y - b.y;
return Math.sqrt(c * c + d * d);

}; goog.math.Coordinate.magnitude = function(a) {

return Math.sqrt(a.x * a.x + a.y * a.y);

}; goog.math.Coordinate.azimuth = function(a) {

return goog.math.angle(0, 0, a.x, a.y);

}; goog.math.Coordinate.squaredDistance = function(a, b) {

var c = a.x - b.x, d = a.y - b.y;
return c * c + d * d;

}; goog.math.Coordinate.difference = function(a, b) {

return new goog.math.Coordinate(a.x - b.x, a.y - b.y);

}; goog.math.Coordinate.sum = function(a, b) {

return new goog.math.Coordinate(a.x + b.x, a.y + b.y);

}; goog.math.Coordinate.prototype.ceil = function() {

this.x = Math.ceil(this.x);
this.y = Math.ceil(this.y);
return this;

}; goog.math.Coordinate.prototype.floor = function() {

this.x = Math.floor(this.x);
this.y = Math.floor(this.y);
return this;

}; goog.math.Coordinate.prototype.round = function() {

this.x = Math.round(this.x);
this.y = Math.round(this.y);
return this;

}; goog.math.Coordinate.prototype.translate = function(a, b) {

a instanceof goog.math.Coordinate ? (this.x += a.x, this.y += a.y) : (this.x += a, goog.isNumber(b) && (this.y += b));
return this;

}; goog.math.Coordinate.prototype.scale = function(a, b) {

var c = goog.isNumber(b) ? b : a;
this.x *= a;
this.y *= c;
return this;

}; goog.math.Coordinate.prototype.rotateRadians = function(a, b) {

var c = b || new goog.math.Coordinate(0, 0), d = this.x, e = this.y, f = Math.cos(a), g = Math.sin(a);
this.x = (d - c.x) * f - (e - c.y) * g + c.x;
this.y = (d - c.x) * g + (e - c.y) * f + c.y;

}; goog.math.Coordinate.prototype.rotateDegrees = function(a, b) {

this.rotateRadians(goog.math.toRadians(a), b);

}; goog.math.Size = function(a, b) {

this.width = a;
this.height = b;

}; goog.math.Size.equals = function(a, b) {

return a == b ? !0 : a && b ? a.width == b.width && a.height == b.height : !1;

}; goog.math.Size.prototype.clone = function() {

return new goog.math.Size(this.width, this.height);

}; goog.DEBUG && (goog.math.Size.prototype.toString = function() {

return "(" + this.width + " x " + this.height + ")";

}); goog.math.Size.prototype.getLongest = function() {

return Math.max(this.width, this.height);

}; goog.math.Size.prototype.getShortest = function() {

return Math.min(this.width, this.height);

}; goog.math.Size.prototype.area = function() {

return this.width * this.height;

}; goog.math.Size.prototype.perimeter = function() {

return 2 * (this.width + this.height);

}; goog.math.Size.prototype.aspectRatio = function() {

return this.width / this.height;

}; goog.math.Size.prototype.isEmpty = function() {

return!this.area();

}; goog.math.Size.prototype.ceil = function() {

this.width = Math.ceil(this.width);
this.height = Math.ceil(this.height);
return this;

}; goog.math.Size.prototype.fitsInside = function(a) {

return this.width <= a.width && this.height <= a.height;

}; goog.math.Size.prototype.floor = function() {

this.width = Math.floor(this.width);
this.height = Math.floor(this.height);
return this;

}; goog.math.Size.prototype.round = function() {

this.width = Math.round(this.width);
this.height = Math.round(this.height);
return this;

}; goog.math.Size.prototype.scale = function(a, b) {

var c = goog.isNumber(b) ? b : a;
this.width *= a;
this.height *= c;
return this;

}; goog.math.Size.prototype.scaleToFit = function(a) {

a = this.aspectRatio() > a.aspectRatio() ? a.width / this.width : a.height / this.height;
return this.scale(a);

}; goog.dom.ASSUME_QUIRKS_MODE = !1; goog.dom.ASSUME_STANDARDS_MODE = !1; goog.dom.COMPAT_MODE_KNOWN_ = goog.dom.ASSUME_QUIRKS_MODE || goog.dom.ASSUME_STANDARDS_MODE; goog.dom.getDomHelper = function(a) {

return a ? new goog.dom.DomHelper(goog.dom.getOwnerDocument(a)) : goog.dom.defaultDomHelper_ || (goog.dom.defaultDomHelper_ = new goog.dom.DomHelper);

}; goog.dom.getDocument = function() {

return document;

}; goog.dom.getElement = function(a) {

return goog.dom.getElementHelper_(document, a);

}; goog.dom.getElementHelper_ = function(a, b) {

return goog.isString(b) ? a.getElementById(b) : b;

}; goog.dom.getRequiredElement = function(a) {

return goog.dom.getRequiredElementHelper_(document, a);

}; goog.dom.getRequiredElementHelper_ = function(a, b) {

goog.asserts.assertString(b);
var c = goog.dom.getElementHelper_(a, b);
return c = goog.asserts.assertElement(c, "No element found with id: " + b);

}; goog.dom.$ = goog.dom.getElement; goog.dom.getElementsByTagNameAndClass = function(a, b, c) {

return goog.dom.getElementsByTagNameAndClass_(document, a, b, c);

}; goog.dom.getElementsByClass = function(a, b) {

var c = b || document;
return goog.dom.canUseQuerySelector_(c) ? c.querySelectorAll("." + a) : goog.dom.getElementsByTagNameAndClass_(document, "*", a, b);

}; goog.dom.getElementByClass = function(a, b) {

var c = b || document, d = null;
return(d = goog.dom.canUseQuerySelector_(c) ? c.querySelector("." + a) : goog.dom.getElementsByTagNameAndClass_(document, "*", a, b)[0]) || null;

}; goog.dom.getRequiredElementByClass = function(a, b) {

var c = goog.dom.getElementByClass(a, b);
return goog.asserts.assert(c, "No element found with className: " + a);

}; goog.dom.canUseQuerySelector_ = function(a) {

return!(!a.querySelectorAll || !a.querySelector);

}; goog.dom.getElementsByTagNameAndClass_ = function(a, b, c, d) {

a = d || a;
b = b && "*" != b ? b.toUpperCase() : "";
if (goog.dom.canUseQuerySelector_(a) && (b || c)) {
  return a.querySelectorAll(b + (c ? "." + c : ""));
}
if (c && a.getElementsByClassName) {
  a = a.getElementsByClassName(c);
  if (b) {
    d = {};
    for (var e = 0, f = 0, g;g = a[f];f++) {
      b == g.nodeName && (d[e++] = g);
    }
    d.length = e;
    return d;
  }
  return a;
}
a = a.getElementsByTagName(b || "*");
if (c) {
  d = {};
  for (f = e = 0;g = a[f];f++) {
    b = g.className, "function" == typeof b.split && goog.array.contains(b.split(/\s+/), c) && (d[e++] = g);
  }
  d.length = e;
  return d;
}
return a;

}; goog.dom.$$ = goog.dom.getElementsByTagNameAndClass; goog.dom.setProperties = function(a, b) {

goog.object.forEach(b, function(b, d) {
  "style" == d ? a.style.cssText = b : "class" == d ? a.className = b : "for" == d ? a.htmlFor = b : d in goog.dom.DIRECT_ATTRIBUTE_MAP_ ? a.setAttribute(goog.dom.DIRECT_ATTRIBUTE_MAP_[d], b) : goog.string.startsWith(d, "aria-") || goog.string.startsWith(d, "data-") ? a.setAttribute(d, b) : a[d] = b;
});

}; goog.dom.DIRECT_ATTRIBUTE_MAP_ = {cellpadding:“cellPadding”, cellspacing:“cellSpacing”, colspan:“colSpan”, frameborder:“frameBorder”, height:“height”, maxlength:“maxLength”, role:“role”, rowspan:“rowSpan”, type:“type”, usemap:“useMap”, valign:“vAlign”, width:“width”}; goog.dom.getViewportSize = function(a) {

return goog.dom.getViewportSize_(a || window);

}; goog.dom.getViewportSize_ = function(a) {

a = a.document;
a = goog.dom.isCss1CompatMode_(a) ? a.documentElement : a.body;
return new goog.math.Size(a.clientWidth, a.clientHeight);

}; goog.dom.getDocumentHeight = function() {

return goog.dom.getDocumentHeight_(window);

}; goog.dom.getDocumentHeight_ = function(a) {

var b = a.document, c = 0;
if (b) {
  var c = b.body, d = b.documentElement;
  if (!d || !c) {
    return 0;
  }
  a = goog.dom.getViewportSize_(a).height;
  if (goog.dom.isCss1CompatMode_(b) && d.scrollHeight) {
    c = d.scrollHeight != a ? d.scrollHeight : d.offsetHeight;
  } else {
    var b = d.scrollHeight, e = d.offsetHeight;
    d.clientHeight != e && (b = c.scrollHeight, e = c.offsetHeight);
    c = b > a ? b > e ? b : e : b < e ? b : e;
  }
}
return c;

}; goog.dom.getPageScroll = function(a) {

return goog.dom.getDomHelper((a || goog.global || window).document).getDocumentScroll();

}; goog.dom.getDocumentScroll = function() {

return goog.dom.getDocumentScroll_(document);

}; goog.dom.getDocumentScroll_ = function(a) {

var b = goog.dom.getDocumentScrollElement_(a);
a = goog.dom.getWindow_(a);
return goog.userAgent.IE && goog.userAgent.isVersionOrHigher("10") && a.pageYOffset != b.scrollTop ? new goog.math.Coordinate(b.scrollLeft, b.scrollTop) : new goog.math.Coordinate(a.pageXOffset || b.scrollLeft, a.pageYOffset || b.scrollTop);

}; goog.dom.getDocumentScrollElement = function() {

return goog.dom.getDocumentScrollElement_(document);

}; goog.dom.getDocumentScrollElement_ = function(a) {

return!goog.userAgent.WEBKIT && goog.dom.isCss1CompatMode_(a) ? a.documentElement : a.body || a.documentElement;

}; goog.dom.getWindow = function(a) {

return a ? goog.dom.getWindow_(a) : window;

}; goog.dom.getWindow_ = function(a) {

return a.parentWindow || a.defaultView;

}; goog.dom.createDom = function(a, b, c) {

return goog.dom.createDom_(document, arguments);

}; goog.dom.createDom_ = function(a, b) {

var c = b[0], d = b[1];
if (!goog.dom.BrowserFeature.CAN_ADD_NAME_OR_TYPE_ATTRIBUTES && d && (d.name || d.type)) {
  c = ["<", c];
  d.name && c.push(' name="', goog.string.htmlEscape(d.name), '"');
  if (d.type) {
    c.push(' type="', goog.string.htmlEscape(d.type), '"');
    var e = {};
    goog.object.extend(e, d);
    delete e.type;
    d = e;
  }
  c.push(">");
  c = c.join("");
}
c = a.createElement(c);
d && (goog.isString(d) ? c.className = d : goog.isArray(d) ? c.className = d.join(" ") : goog.dom.setProperties(c, d));
2 < b.length && goog.dom.append_(a, c, b, 2);
return c;

}; goog.dom.append_ = function(a, b, c, d) {

function e(c) {
  c && b.appendChild(goog.isString(c) ? a.createTextNode(c) : c);
}
for (;d < c.length;d++) {
  var f = c[d];
  goog.isArrayLike(f) && !goog.dom.isNodeLike(f) ? goog.array.forEach(goog.dom.isNodeList(f) ? goog.array.toArray(f) : f, e) : e(f);
}

}; goog.dom.$dom = goog.dom.createDom; goog.dom.createElement = function(a) {

return document.createElement(a);

}; goog.dom.createTextNode = function(a) {

return document.createTextNode(String(a));

}; goog.dom.createTable = function(a, b, c) {

return goog.dom.createTable_(document, a, b, !!c);

}; goog.dom.createTable_ = function(a, b, c, d) {

for (var e = ["<tr>"], f = 0;f < c;f++) {
  e.push(d ? "<td>&nbsp;</td>" : "<td></td>");
}
e.push("</tr>");
e = e.join("");
c = ["<table>"];
for (f = 0;f < b;f++) {
  c.push(e);
}
c.push("</table>");
a = a.createElement(goog.dom.TagName.DIV);
a.innerHTML = c.join("");
return a.removeChild(a.firstChild);

}; goog.dom.htmlToDocumentFragment = function(a) {

return goog.dom.htmlToDocumentFragment_(document, a);

}; goog.dom.htmlToDocumentFragment_ = function(a, b) {

var c = a.createElement("div");
goog.dom.BrowserFeature.INNER_HTML_NEEDS_SCOPED_ELEMENT ? (c.innerHTML = "<br>" + b, c.removeChild(c.firstChild)) : c.innerHTML = b;
if (1 == c.childNodes.length) {
  return c.removeChild(c.firstChild);
}
for (var d = a.createDocumentFragment();c.firstChild;) {
  d.appendChild(c.firstChild);
}
return d;

}; goog.dom.isCss1CompatMode = function() {

return goog.dom.isCss1CompatMode_(document);

}; goog.dom.isCss1CompatMode_ = function(a) {

return goog.dom.COMPAT_MODE_KNOWN_ ? goog.dom.ASSUME_STANDARDS_MODE : "CSS1Compat" == a.compatMode;

}; goog.dom.canHaveChildren = function(a) {

if (a.nodeType != goog.dom.NodeType.ELEMENT) {
  return!1;
}
switch(a.tagName) {
  case goog.dom.TagName.APPLET:
  ;
  case goog.dom.TagName.AREA:
  ;
  case goog.dom.TagName.BASE:
  ;
  case goog.dom.TagName.BR:
  ;
  case goog.dom.TagName.COL:
  ;
  case goog.dom.TagName.COMMAND:
  ;
  case goog.dom.TagName.EMBED:
  ;
  case goog.dom.TagName.FRAME:
  ;
  case goog.dom.TagName.HR:
  ;
  case goog.dom.TagName.IMG:
  ;
  case goog.dom.TagName.INPUT:
  ;
  case goog.dom.TagName.IFRAME:
  ;
  case goog.dom.TagName.ISINDEX:
  ;
  case goog.dom.TagName.KEYGEN:
  ;
  case goog.dom.TagName.LINK:
  ;
  case goog.dom.TagName.NOFRAMES:
  ;
  case goog.dom.TagName.NOSCRIPT:
  ;
  case goog.dom.TagName.META:
  ;
  case goog.dom.TagName.OBJECT:
  ;
  case goog.dom.TagName.PARAM:
  ;
  case goog.dom.TagName.SCRIPT:
  ;
  case goog.dom.TagName.SOURCE:
  ;
  case goog.dom.TagName.STYLE:
  ;
  case goog.dom.TagName.TRACK:
  ;
  case goog.dom.TagName.WBR:
    return!1;
}
return!0;

}; goog.dom.appendChild = function(a, b) {

a.appendChild(b);

}; goog.dom.append = function(a, b) {

goog.dom.append_(goog.dom.getOwnerDocument(a), a, arguments, 1);

}; goog.dom.removeChildren = function(a) {

for (var b;b = a.firstChild;) {
  a.removeChild(b);
}

}; goog.dom.insertSiblingBefore = function(a, b) {

b.parentNode && b.parentNode.insertBefore(a, b);

}; goog.dom.insertSiblingAfter = function(a, b) {

b.parentNode && b.parentNode.insertBefore(a, b.nextSibling);

}; goog.dom.insertChildAt = function(a, b, c) {

a.insertBefore(b, a.childNodes[c] || null);

}; goog.dom.removeNode = function(a) {

return a && a.parentNode ? a.parentNode.removeChild(a) : null;

}; goog.dom.replaceNode = function(a, b) {

var c = b.parentNode;
c && c.replaceChild(a, b);

}; goog.dom.flattenElement = function(a) {

var b, c = a.parentNode;
if (c && c.nodeType != goog.dom.NodeType.DOCUMENT_FRAGMENT) {
  if (a.removeNode) {
    return a.removeNode(!1);
  }
  for (;b = a.firstChild;) {
    c.insertBefore(b, a);
  }
  return goog.dom.removeNode(a);
}

}; goog.dom.getChildren = function(a) {

return goog.dom.BrowserFeature.CAN_USE_CHILDREN_ATTRIBUTE && void 0 != a.children ? a.children : goog.array.filter(a.childNodes, function(a) {
  return a.nodeType == goog.dom.NodeType.ELEMENT;
});

}; goog.dom.getFirstElementChild = function(a) {

return void 0 != a.firstElementChild ? a.firstElementChild : goog.dom.getNextElementNode_(a.firstChild, !0);

}; goog.dom.getLastElementChild = function(a) {

return void 0 != a.lastElementChild ? a.lastElementChild : goog.dom.getNextElementNode_(a.lastChild, !1);

}; goog.dom.getNextElementSibling = function(a) {

return void 0 != a.nextElementSibling ? a.nextElementSibling : goog.dom.getNextElementNode_(a.nextSibling, !0);

}; goog.dom.getPreviousElementSibling = function(a) {

return void 0 != a.previousElementSibling ? a.previousElementSibling : goog.dom.getNextElementNode_(a.previousSibling, !1);

}; goog.dom.getNextElementNode_ = function(a, b) {

for (;a && a.nodeType != goog.dom.NodeType.ELEMENT;) {
  a = b ? a.nextSibling : a.previousSibling;
}
return a;

}; goog.dom.getNextNode = function(a) {

if (!a) {
  return null;
}
if (a.firstChild) {
  return a.firstChild;
}
for (;a && !a.nextSibling;) {
  a = a.parentNode;
}
return a ? a.nextSibling : null;

}; goog.dom.getPreviousNode = function(a) {

if (!a) {
  return null;
}
if (!a.previousSibling) {
  return a.parentNode;
}
for (a = a.previousSibling;a && a.lastChild;) {
  a = a.lastChild;
}
return a;

}; goog.dom.isNodeLike = function(a) {

return goog.isObject(a) && 0 < a.nodeType;

}; goog.dom.isElement = function(a) {

return goog.isObject(a) && a.nodeType == goog.dom.NodeType.ELEMENT;

}; goog.dom.isWindow = function(a) {

return goog.isObject(a) && a.window == a;

}; goog.dom.getParentElement = function(a) {

var b;
if (goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY && !(goog.userAgent.IE && goog.userAgent.isVersionOrHigher("9") && !goog.userAgent.isVersionOrHigher("10") && goog.global.SVGElement && a instanceof goog.global.SVGElement) && (b = a.parentElement)) {
  return b;
}
b = a.parentNode;
return goog.dom.isElement(b) ? b : null;

}; goog.dom.contains = function(a, b) {

if (a.contains && b.nodeType == goog.dom.NodeType.ELEMENT) {
  return a == b || a.contains(b);
}
if ("undefined" != typeof a.compareDocumentPosition) {
  return a == b || Boolean(a.compareDocumentPosition(b) & 16);
}
for (;b && a != b;) {
  b = b.parentNode;
}
return b == a;

}; goog.dom.compareNodeOrder = function(a, b) {

if (a == b) {
  return 0;
}
if (a.compareDocumentPosition) {
  return a.compareDocumentPosition(b) & 2 ? 1 : -1;
}
if (goog.userAgent.IE && !goog.userAgent.isDocumentModeOrHigher(9)) {
  if (a.nodeType == goog.dom.NodeType.DOCUMENT) {
    return-1;
  }
  if (b.nodeType == goog.dom.NodeType.DOCUMENT) {
    return 1;
  }
}
if ("sourceIndex" in a || a.parentNode && "sourceIndex" in a.parentNode) {
  var c = a.nodeType == goog.dom.NodeType.ELEMENT, d = b.nodeType == goog.dom.NodeType.ELEMENT;
  if (c && d) {
    return a.sourceIndex - b.sourceIndex;
  }
  var e = a.parentNode, f = b.parentNode;
  return e == f ? goog.dom.compareSiblingOrder_(a, b) : !c && goog.dom.contains(e, b) ? -1 * goog.dom.compareParentsDescendantNodeIe_(a, b) : !d && goog.dom.contains(f, a) ? goog.dom.compareParentsDescendantNodeIe_(b, a) : (c ? a.sourceIndex : e.sourceIndex) - (d ? b.sourceIndex : f.sourceIndex);
}
d = goog.dom.getOwnerDocument(a);
c = d.createRange();
c.selectNode(a);
c.collapse(!0);
d = d.createRange();
d.selectNode(b);
d.collapse(!0);
return c.compareBoundaryPoints(goog.global.Range.START_TO_END, d);

}; goog.dom.compareParentsDescendantNodeIe_ = function(a, b) {

var c = a.parentNode;
if (c == b) {
  return-1;
}
for (var d = b;d.parentNode != c;) {
  d = d.parentNode;
}
return goog.dom.compareSiblingOrder_(d, a);

}; goog.dom.compareSiblingOrder_ = function(a, b) {

for (var c = b;c = c.previousSibling;) {
  if (c == a) {
    return-1;
  }
}
return 1;

}; goog.dom.findCommonAncestor = function(a) {

var b, c = arguments.length;
if (!c) {
  return null;
}
if (1 == c) {
  return arguments[0];
}
var d = [], e = Infinity;
for (b = 0;b < c;b++) {
  for (var f = [], g = arguments[b];g;) {
    f.unshift(g), g = g.parentNode;
  }
  d.push(f);
  e = Math.min(e, f.length);
}
f = null;
for (b = 0;b < e;b++) {
  for (var g = d[0][b], h = 1;h < c;h++) {
    if (g != d[h][b]) {
      return f;
    }
  }
  f = g;
}
return f;

}; goog.dom.getOwnerDocument = function(a) {

goog.asserts.assert(a, "Node cannot be null or undefined.");
return a.nodeType == goog.dom.NodeType.DOCUMENT ? a : a.ownerDocument || a.document;

}; goog.dom.getFrameContentDocument = function(a) {

return a.contentDocument || a.contentWindow.document;

}; goog.dom.getFrameContentWindow = function(a) {

return a.contentWindow || goog.dom.getWindow(goog.dom.getFrameContentDocument(a));

}; goog.dom.setTextContent = function(a, b) {

goog.asserts.assert(null != a, "goog.dom.setTextContent expects a non-null value for node");
if ("textContent" in a) {
  a.textContent = b;
} else {
  if (a.nodeType == goog.dom.NodeType.TEXT) {
    a.data = b;
  } else {
    if (a.firstChild && a.firstChild.nodeType == goog.dom.NodeType.TEXT) {
      for (;a.lastChild != a.firstChild;) {
        a.removeChild(a.lastChild);
      }
      a.firstChild.data = b;
    } else {
      goog.dom.removeChildren(a);
      var c = goog.dom.getOwnerDocument(a);
      a.appendChild(c.createTextNode(String(b)));
    }
  }
}

}; goog.dom.getOuterHtml = function(a) {

if ("outerHTML" in a) {
  return a.outerHTML;
}
var b = goog.dom.getOwnerDocument(a).createElement("div");
b.appendChild(a.cloneNode(!0));
return b.innerHTML;

}; goog.dom.findNode = function(a, b) {

var c = [];
return goog.dom.findNodes_(a, b, c, !0) ? c[0] : void 0;

}; goog.dom.findNodes = function(a, b) {

var c = [];
goog.dom.findNodes_(a, b, c, !1);
return c;

}; goog.dom.findNodes_ = function(a, b, c, d) {

if (null != a) {
  for (a = a.firstChild;a;) {
    if (b(a) && (c.push(a), d) || goog.dom.findNodes_(a, b, c, d)) {
      return!0;
    }
    a = a.nextSibling;
  }
}
return!1;

}; goog.dom.TAGS_TO_IGNORE_ = {SCRIPT:1, STYLE:1, HEAD:1, IFRAME:1, OBJECT:1}; goog.dom.PREDEFINED_TAG_VALUES_ = {IMG:“ ”, BR:“n”}; goog.dom.isFocusableTabIndex = function(a) {

return goog.dom.hasSpecifiedTabIndex_(a) && goog.dom.isTabIndexFocusable_(a);

}; goog.dom.setFocusableTabIndex = function(a, b) {

b ? a.tabIndex = 0 : (a.tabIndex = -1, a.removeAttribute("tabIndex"));

}; goog.dom.isFocusable = function(a) {

var b;
return(b = goog.dom.nativelySupportsFocus_(a) ? !a.disabled && (!goog.dom.hasSpecifiedTabIndex_(a) || goog.dom.isTabIndexFocusable_(a)) : goog.dom.isFocusableTabIndex(a)) && goog.userAgent.IE ? goog.dom.hasNonZeroBoundingRect_(a) : b;

}; goog.dom.hasSpecifiedTabIndex_ = function(a) {

a = a.getAttributeNode("tabindex");
return goog.isDefAndNotNull(a) && a.specified;

}; goog.dom.isTabIndexFocusable_ = function(a) {

a = a.tabIndex;
return goog.isNumber(a) && 0 <= a && 32768 > a;

}; goog.dom.nativelySupportsFocus_ = function(a) {

return a.tagName == goog.dom.TagName.A || a.tagName == goog.dom.TagName.INPUT || a.tagName == goog.dom.TagName.TEXTAREA || a.tagName == goog.dom.TagName.SELECT || a.tagName == goog.dom.TagName.BUTTON;

}; goog.dom.hasNonZeroBoundingRect_ = function(a) {

a = goog.isFunction(a.getBoundingClientRect) ? a.getBoundingClientRect() : {height:a.offsetHeight, width:a.offsetWidth};
return goog.isDefAndNotNull(a) && 0 < a.height && 0 < a.width;

}; goog.dom.getTextContent = function(a) {

if (goog.dom.BrowserFeature.CAN_USE_INNER_TEXT && "innerText" in a) {
  a = goog.string.canonicalizeNewlines(a.innerText);
} else {
  var b = [];
  goog.dom.getTextContent_(a, b, !0);
  a = b.join("");
}
a = a.replace(/ \xAD /g, " ").replace(/\xAD/g, "");
a = a.replace(/\u200B/g, "");
goog.dom.BrowserFeature.CAN_USE_INNER_TEXT || (a = a.replace(/ +/g, " "));
" " != a && (a = a.replace(/^\s*/, ""));
return a;

}; goog.dom.getRawTextContent = function(a) {

var b = [];
goog.dom.getTextContent_(a, b, !1);
return b.join("");

}; goog.dom.getTextContent_ = function(a, b, c) {

if (!(a.nodeName in goog.dom.TAGS_TO_IGNORE_)) {
  if (a.nodeType == goog.dom.NodeType.TEXT) {
    c ? b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g, "")) : b.push(a.nodeValue);
  } else {
    if (a.nodeName in goog.dom.PREDEFINED_TAG_VALUES_) {
      b.push(goog.dom.PREDEFINED_TAG_VALUES_[a.nodeName]);
    } else {
      for (a = a.firstChild;a;) {
        goog.dom.getTextContent_(a, b, c), a = a.nextSibling;
      }
    }
  }
}

}; goog.dom.getNodeTextLength = function(a) {

return goog.dom.getTextContent(a).length;

}; goog.dom.getNodeTextOffset = function(a, b) {

for (var c = b || goog.dom.getOwnerDocument(a).body, d = [];a && a != c;) {
  for (var e = a;e = e.previousSibling;) {
    d.unshift(goog.dom.getTextContent(e));
  }
  a = a.parentNode;
}
return goog.string.trimLeft(d.join("")).replace(/ +/g, " ").length;

}; goog.dom.getNodeAtOffset = function(a, b, c) {

a = [a];
for (var d = 0, e = null;0 < a.length && d < b;) {
  if (e = a.pop(), !(e.nodeName in goog.dom.TAGS_TO_IGNORE_)) {
    if (e.nodeType == goog.dom.NodeType.TEXT) {
      var f = e.nodeValue.replace(/(\r\n|\r|\n)/g, "").replace(/ +/g, " "), d = d + f.length
    } else {
      if (e.nodeName in goog.dom.PREDEFINED_TAG_VALUES_) {
        d += goog.dom.PREDEFINED_TAG_VALUES_[e.nodeName].length;
      } else {
        for (f = e.childNodes.length - 1;0 <= f;f--) {
          a.push(e.childNodes[f]);
        }
      }
    }
  }
}
goog.isObject(c) && (c.remainder = e ? e.nodeValue.length + b - d - 1 : 0, c.node = e);
return e;

}; goog.dom.isNodeList = function(a) {

if (a && "number" == typeof a.length) {
  if (goog.isObject(a)) {
    return "function" == typeof a.item || "string" == typeof a.item;
  }
  if (goog.isFunction(a)) {
    return "function" == typeof a.item;
  }
}
return!1;

}; goog.dom.getAncestorByTagNameAndClass = function(a, b, c, d) {

if (!b && !c) {
  return null;
}
var e = b ? b.toUpperCase() : null;
return goog.dom.getAncestor(a, function(a) {
  return(!e || a.nodeName == e) && (!c || goog.isString(a.className) && goog.array.contains(a.className.split(/\s+/), c));
}, !0, d);

}; goog.dom.getAncestorByClass = function(a, b, c) {

return goog.dom.getAncestorByTagNameAndClass(a, null, b, c);

}; goog.dom.getAncestor = function(a, b, c, d) {

c || (a = a.parentNode);
c = null == d;
for (var e = 0;a && (c || e <= d);) {
  if (b(a)) {
    return a;
  }
  a = a.parentNode;
  e++;
}
return null;

}; goog.dom.getActiveElement = function(a) {

try {
  return a && a.activeElement;
} catch (b) {
}
return null;

}; goog.dom.getPixelRatio = function() {

var a = goog.dom.getWindow(), b = goog.userAgent.GECKO && goog.userAgent.MOBILE;
return goog.isDef(a.devicePixelRatio) && !b ? a.devicePixelRatio : a.matchMedia ? goog.dom.matchesPixelRatio_(.75) || goog.dom.matchesPixelRatio_(1.5) || goog.dom.matchesPixelRatio_(2) || goog.dom.matchesPixelRatio_(3) || 1 : 1;

}; goog.dom.matchesPixelRatio_ = function(a) {

return goog.dom.getWindow().matchMedia("(-webkit-min-device-pixel-ratio: " + a + "),(min--moz-device-pixel-ratio: " + a + "),(min-resolution: " + a + "dppx)").matches ? a : 0;

}; goog.dom.DomHelper = function(a) {

this.document_ = a || goog.global.document || document;

}; goog.dom.DomHelper.prototype.getDomHelper = goog.dom.getDomHelper; goog.dom.DomHelper.prototype.setDocument = function(a) {

this.document_ = a;

}; goog.dom.DomHelper.prototype.getDocument = function() {

return this.document_;

}; goog.dom.DomHelper.prototype.getElement = function(a) {

return goog.dom.getElementHelper_(this.document_, a);

}; goog.dom.DomHelper.prototype.getRequiredElement = function(a) {

return goog.dom.getRequiredElementHelper_(this.document_, a);

}; goog.dom.DomHelper.prototype.$ = goog.dom.DomHelper.prototype.getElement; goog.dom.DomHelper.prototype.getElementsByTagNameAndClass = function(a, b, c) {

return goog.dom.getElementsByTagNameAndClass_(this.document_, a, b, c);

}; goog.dom.DomHelper.prototype.getElementsByClass = function(a, b) {

return goog.dom.getElementsByClass(a, b || this.document_);

}; goog.dom.DomHelper.prototype.getElementByClass = function(a, b) {

return goog.dom.getElementByClass(a, b || this.document_);

}; goog.dom.DomHelper.prototype.getRequiredElementByClass = function(a, b) {

return goog.dom.getRequiredElementByClass(a, b || this.document_);

}; goog.dom.DomHelper.prototype.$$ = goog.dom.DomHelper.prototype.getElementsByTagNameAndClass; goog.dom.DomHelper.prototype.setProperties = goog.dom.setProperties; goog.dom.DomHelper.prototype.getViewportSize = function(a) {

return goog.dom.getViewportSize(a || this.getWindow());

}; goog.dom.DomHelper.prototype.getDocumentHeight = function() {

return goog.dom.getDocumentHeight_(this.getWindow());

}; goog.dom.DomHelper.prototype.createDom = function(a, b, c) {

return goog.dom.createDom_(this.document_, arguments);

}; goog.dom.DomHelper.prototype.$dom = goog.dom.DomHelper.prototype.createDom; goog.dom.DomHelper.prototype.createElement = function(a) {

return this.document_.createElement(a);

}; goog.dom.DomHelper.prototype.createTextNode = function(a) {

return this.document_.createTextNode(String(a));

}; goog.dom.DomHelper.prototype.createTable = function(a, b, c) {

return goog.dom.createTable_(this.document_, a, b, !!c);

}; goog.dom.DomHelper.prototype.htmlToDocumentFragment = function(a) {

return goog.dom.htmlToDocumentFragment_(this.document_, a);

}; goog.dom.DomHelper.prototype.isCss1CompatMode = function() {

return goog.dom.isCss1CompatMode_(this.document_);

}; goog.dom.DomHelper.prototype.getWindow = function() {

return goog.dom.getWindow_(this.document_);

}; goog.dom.DomHelper.prototype.getDocumentScrollElement = function() {

return goog.dom.getDocumentScrollElement_(this.document_);

}; goog.dom.DomHelper.prototype.getDocumentScroll = function() {

return goog.dom.getDocumentScroll_(this.document_);

}; goog.dom.DomHelper.prototype.getActiveElement = function(a) {

return goog.dom.getActiveElement(a || this.document_);

}; goog.dom.DomHelper.prototype.appendChild = goog.dom.appendChild; goog.dom.DomHelper.prototype.append = goog.dom.append; goog.dom.DomHelper.prototype.canHaveChildren = goog.dom.canHaveChildren; goog.dom.DomHelper.prototype.removeChildren = goog.dom.removeChildren; goog.dom.DomHelper.prototype.insertSiblingBefore = goog.dom.insertSiblingBefore; goog.dom.DomHelper.prototype.insertSiblingAfter = goog.dom.insertSiblingAfter; goog.dom.DomHelper.prototype.insertChildAt = goog.dom.insertChildAt; goog.dom.DomHelper.prototype.removeNode = goog.dom.removeNode; goog.dom.DomHelper.prototype.replaceNode = goog.dom.replaceNode; goog.dom.DomHelper.prototype.flattenElement = goog.dom.flattenElement; goog.dom.DomHelper.prototype.getChildren = goog.dom.getChildren; goog.dom.DomHelper.prototype.getFirstElementChild = goog.dom.getFirstElementChild; goog.dom.DomHelper.prototype.getLastElementChild = goog.dom.getLastElementChild; goog.dom.DomHelper.prototype.getNextElementSibling = goog.dom.getNextElementSibling; goog.dom.DomHelper.prototype.getPreviousElementSibling = goog.dom.getPreviousElementSibling; goog.dom.DomHelper.prototype.getNextNode = goog.dom.getNextNode; goog.dom.DomHelper.prototype.getPreviousNode = goog.dom.getPreviousNode; goog.dom.DomHelper.prototype.isNodeLike = goog.dom.isNodeLike; goog.dom.DomHelper.prototype.isElement = goog.dom.isElement; goog.dom.DomHelper.prototype.isWindow = goog.dom.isWindow; goog.dom.DomHelper.prototype.getParentElement = goog.dom.getParentElement; goog.dom.DomHelper.prototype.contains = goog.dom.contains; goog.dom.DomHelper.prototype.compareNodeOrder = goog.dom.compareNodeOrder; goog.dom.DomHelper.prototype.findCommonAncestor = goog.dom.findCommonAncestor; goog.dom.DomHelper.prototype.getOwnerDocument = goog.dom.getOwnerDocument; goog.dom.DomHelper.prototype.getFrameContentDocument = goog.dom.getFrameContentDocument; goog.dom.DomHelper.prototype.getFrameContentWindow = goog.dom.getFrameContentWindow; goog.dom.DomHelper.prototype.setTextContent = goog.dom.setTextContent; goog.dom.DomHelper.prototype.getOuterHtml = goog.dom.getOuterHtml; goog.dom.DomHelper.prototype.findNode = goog.dom.findNode; goog.dom.DomHelper.prototype.findNodes = goog.dom.findNodes; goog.dom.DomHelper.prototype.isFocusableTabIndex = goog.dom.isFocusableTabIndex; goog.dom.DomHelper.prototype.setFocusableTabIndex = goog.dom.setFocusableTabIndex; goog.dom.DomHelper.prototype.isFocusable = goog.dom.isFocusable; goog.dom.DomHelper.prototype.getTextContent = goog.dom.getTextContent; goog.dom.DomHelper.prototype.getNodeTextLength = goog.dom.getNodeTextLength; goog.dom.DomHelper.prototype.getNodeTextOffset = goog.dom.getNodeTextOffset; goog.dom.DomHelper.prototype.getNodeAtOffset = goog.dom.getNodeAtOffset; goog.dom.DomHelper.prototype.isNodeList = goog.dom.isNodeList; goog.dom.DomHelper.prototype.getAncestorByTagNameAndClass = goog.dom.getAncestorByTagNameAndClass; goog.dom.DomHelper.prototype.getAncestorByClass = goog.dom.getAncestorByClass; goog.dom.DomHelper.prototype.getAncestor = goog.dom.getAncestor; goog.dom.vendor = {}; goog.dom.vendor.getVendorJsPrefix = function() {

return goog.userAgent.WEBKIT ? "Webkit" : goog.userAgent.GECKO ? "Moz" : goog.userAgent.IE ? "ms" : goog.userAgent.OPERA ? "O" : null;

}; goog.dom.vendor.getVendorPrefix = function() {

return goog.userAgent.WEBKIT ? "-webkit" : goog.userAgent.GECKO ? "-moz" : goog.userAgent.IE ? "-ms" : goog.userAgent.OPERA ? "-o" : null;

}; goog.dom.vendor.getPrefixedPropertyName = function(a, b) {

if (b && a in b) {
  return a;
}
var c = goog.dom.vendor.getVendorJsPrefix();
return c ? (c = c.toLowerCase(), c += goog.string.toTitleCase(a), !goog.isDef(b) || c in b ? c : null) : null;

}; goog.dom.vendor.getPrefixedEventType = function(a) {

return((goog.dom.vendor.getVendorJsPrefix() || "") + a).toLowerCase();

}; goog.math.Box = function(a, b, c, d) {

this.top = a;
this.right = b;
this.bottom = c;
this.left = d;

}; goog.math.Box.boundingBox = function(a) {

for (var b = new goog.math.Box(arguments[0].y, arguments[0].x, arguments[0].y, arguments[0].x), c = 1;c < arguments.length;c++) {
  var d = arguments[c];
  b.top = Math.min(b.top, d.y);
  b.right = Math.max(b.right, d.x);
  b.bottom = Math.max(b.bottom, d.y);
  b.left = Math.min(b.left, d.x);
}
return b;

}; goog.math.Box.prototype.getWidth = function() {

return this.right - this.left;

}; goog.math.Box.prototype.getHeight = function() {

return this.bottom - this.top;

}; goog.math.Box.prototype.clone = function() {

return new goog.math.Box(this.top, this.right, this.bottom, this.left);

}; goog.DEBUG && (goog.math.Box.prototype.toString = function() {

return "(" + this.top + "t, " + this.right + "r, " + this.bottom + "b, " + this.left + "l)";

}); goog.math.Box.prototype.contains = function(a) {

return goog.math.Box.contains(this, a);

}; goog.math.Box.prototype.expand = function(a, b, c, d) {

goog.isObject(a) ? (this.top -= a.top, this.right += a.right, this.bottom += a.bottom, this.left -= a.left) : (this.top -= a, this.right += b, this.bottom += c, this.left -= d);
return this;

}; goog.math.Box.prototype.expandToInclude = function(a) {

this.left = Math.min(this.left, a.left);
this.top = Math.min(this.top, a.top);
this.right = Math.max(this.right, a.right);
this.bottom = Math.max(this.bottom, a.bottom);

}; goog.math.Box.equals = function(a, b) {

return a == b ? !0 : a && b ? a.top == b.top && a.right == b.right && a.bottom == b.bottom && a.left == b.left : !1;

}; goog.math.Box.contains = function(a, b) {

return a && b ? b instanceof goog.math.Box ? b.left >= a.left && b.right <= a.right && b.top >= a.top && b.bottom <= a.bottom : b.x >= a.left && b.x <= a.right && b.y >= a.top && b.y <= a.bottom : !1;

}; goog.math.Box.relativePositionX = function(a, b) {

return b.x < a.left ? b.x - a.left : b.x > a.right ? b.x - a.right : 0;

}; goog.math.Box.relativePositionY = function(a, b) {

return b.y < a.top ? b.y - a.top : b.y > a.bottom ? b.y - a.bottom : 0;

}; goog.math.Box.distance = function(a, b) {

var c = goog.math.Box.relativePositionX(a, b), d = goog.math.Box.relativePositionY(a, b);
return Math.sqrt(c * c + d * d);

}; goog.math.Box.intersects = function(a, b) {

return a.left <= b.right && b.left <= a.right && a.top <= b.bottom && b.top <= a.bottom;

}; goog.math.Box.intersectsWithPadding = function(a, b, c) {

return a.left <= b.right + c && b.left <= a.right + c && a.top <= b.bottom + c && b.top <= a.bottom + c;

}; goog.math.Box.prototype.ceil = function() {

this.top = Math.ceil(this.top);
this.right = Math.ceil(this.right);
this.bottom = Math.ceil(this.bottom);
this.left = Math.ceil(this.left);
return this;

}; goog.math.Box.prototype.floor = function() {

this.top = Math.floor(this.top);
this.right = Math.floor(this.right);
this.bottom = Math.floor(this.bottom);
this.left = Math.floor(this.left);
return this;

}; goog.math.Box.prototype.round = function() {

this.top = Math.round(this.top);
this.right = Math.round(this.right);
this.bottom = Math.round(this.bottom);
this.left = Math.round(this.left);
return this;

}; goog.math.Box.prototype.translate = function(a, b) {

a instanceof goog.math.Coordinate ? (this.left += a.x, this.right += a.x, this.top += a.y, this.bottom += a.y) : (this.left += a, this.right += a, goog.isNumber(b) && (this.top += b, this.bottom += b));
return this;

}; goog.math.Box.prototype.scale = function(a, b) {

var c = goog.isNumber(b) ? b : a;
this.left *= a;
this.right *= a;
this.top *= c;
this.bottom *= c;
return this;

}; goog.math.Rect = function(a, b, c, d) {

this.left = a;
this.top = b;
this.width = c;
this.height = d;

}; goog.math.Rect.prototype.clone = function() {

return new goog.math.Rect(this.left, this.top, this.width, this.height);

}; goog.math.Rect.prototype.toBox = function() {

return new goog.math.Box(this.top, this.left + this.width, this.top + this.height, this.left);

}; goog.math.Rect.createFromBox = function(a) {

return new goog.math.Rect(a.left, a.top, a.right - a.left, a.bottom - a.top);

}; goog.DEBUG && (goog.math.Rect.prototype.toString = function() {

return "(" + this.left + ", " + this.top + " - " + this.width + "w x " + this.height + "h)";

}); goog.math.Rect.equals = function(a, b) {

return a == b ? !0 : a && b ? a.left == b.left && a.width == b.width && a.top == b.top && a.height == b.height : !1;

}; goog.math.Rect.prototype.intersection = function(a) {

var b = Math.max(this.left, a.left), c = Math.min(this.left + this.width, a.left + a.width);
if (b <= c) {
  var d = Math.max(this.top, a.top);
  a = Math.min(this.top + this.height, a.top + a.height);
  if (d <= a) {
    return this.left = b, this.top = d, this.width = c - b, this.height = a - d, !0;
  }
}
return!1;

}; goog.math.Rect.intersection = function(a, b) {

var c = Math.max(a.left, b.left), d = Math.min(a.left + a.width, b.left + b.width);
if (c <= d) {
  var e = Math.max(a.top, b.top), f = Math.min(a.top + a.height, b.top + b.height);
  if (e <= f) {
    return new goog.math.Rect(c, e, d - c, f - e);
  }
}
return null;

}; goog.math.Rect.intersects = function(a, b) {

return a.left <= b.left + b.width && b.left <= a.left + a.width && a.top <= b.top + b.height && b.top <= a.top + a.height;

}; goog.math.Rect.prototype.intersects = function(a) {

return goog.math.Rect.intersects(this, a);

}; goog.math.Rect.difference = function(a, b) {

var c = goog.math.Rect.intersection(a, b);
if (!c || !c.height || !c.width) {
  return[a.clone()];
}
var c = [], d = a.top, e = a.height, f = a.left + a.width, g = a.top + a.height, h = b.left + b.width, k = b.top + b.height;
b.top > a.top && (c.push(new goog.math.Rect(a.left, a.top, a.width, b.top - a.top)), d = b.top, e -= b.top - a.top);
k < g && (c.push(new goog.math.Rect(a.left, k, a.width, g - k)), e = k - d);
b.left > a.left && c.push(new goog.math.Rect(a.left, d, b.left - a.left, e));
h < f && c.push(new goog.math.Rect(h, d, f - h, e));
return c;

}; goog.math.Rect.prototype.difference = function(a) {

return goog.math.Rect.difference(this, a);

}; goog.math.Rect.prototype.boundingRect = function(a) {

var b = Math.max(this.left + this.width, a.left + a.width), c = Math.max(this.top + this.height, a.top + a.height);
this.left = Math.min(this.left, a.left);
this.top = Math.min(this.top, a.top);
this.width = b - this.left;
this.height = c - this.top;

}; goog.math.Rect.boundingRect = function(a, b) {

if (!a || !b) {
  return null;
}
var c = a.clone();
c.boundingRect(b);
return c;

}; goog.math.Rect.prototype.contains = function(a) {

return a instanceof goog.math.Rect ? this.left <= a.left && this.left + this.width >= a.left + a.width && this.top <= a.top && this.top + this.height >= a.top + a.height : a.x >= this.left && a.x <= this.left + this.width && a.y >= this.top && a.y <= this.top + this.height;

}; goog.math.Rect.prototype.squaredDistance = function(a) {

var b = a.x < this.left ? this.left - a.x : Math.max(a.x - (this.left + this.width), 0);
a = a.y < this.top ? this.top - a.y : Math.max(a.y - (this.top + this.height), 0);
return b * b + a * a;

}; goog.math.Rect.prototype.distance = function(a) {

return Math.sqrt(this.squaredDistance(a));

}; goog.math.Rect.prototype.getSize = function() {

return new goog.math.Size(this.width, this.height);

}; goog.math.Rect.prototype.getTopLeft = function() {

return new goog.math.Coordinate(this.left, this.top);

}; goog.math.Rect.prototype.getCenter = function() {

return new goog.math.Coordinate(this.left + this.width / 2, this.top + this.height / 2);

}; goog.math.Rect.prototype.getBottomRight = function() {

return new goog.math.Coordinate(this.left + this.width, this.top + this.height);

}; goog.math.Rect.prototype.ceil = function() {

this.left = Math.ceil(this.left);
this.top = Math.ceil(this.top);
this.width = Math.ceil(this.width);
this.height = Math.ceil(this.height);
return this;

}; goog.math.Rect.prototype.floor = function() {

this.left = Math.floor(this.left);
this.top = Math.floor(this.top);
this.width = Math.floor(this.width);
this.height = Math.floor(this.height);
return this;

}; goog.math.Rect.prototype.round = function() {

this.left = Math.round(this.left);
this.top = Math.round(this.top);
this.width = Math.round(this.width);
this.height = Math.round(this.height);
return this;

}; goog.math.Rect.prototype.translate = function(a, b) {

a instanceof goog.math.Coordinate ? (this.left += a.x, this.top += a.y) : (this.left += a, goog.isNumber(b) && (this.top += b));
return this;

}; goog.math.Rect.prototype.scale = function(a, b) {

var c = goog.isNumber(b) ? b : a;
this.left *= a;
this.width *= a;
this.top *= c;
this.height *= c;
return this;

}; goog.style = {}; goog.style.GET_BOUNDING_CLIENT_RECT_ALWAYS_EXISTS = !1; goog.style.setStyle = function(a, b, c) {

if (goog.isString(b)) {
  goog.style.setStyle_(a, c, b);
} else {
  for (var d in b) {
    goog.style.setStyle_(a, b[d], d);
  }
}

}; goog.style.setStyle_ = function(a, b, c) {

(c = goog.style.getVendorJsStyleName_(a, c)) && (a.style[c] = b);

}; goog.style.getVendorJsStyleName_ = function(a, b) {

var c = goog.string.toCamelCase(b);
if (void 0 === a.style[c]) {
  var d = goog.dom.vendor.getVendorJsPrefix() + goog.string.toTitleCase(c);
  if (void 0 !== a.style[d]) {
    return d;
  }
}
return c;

}; goog.style.getVendorStyleName_ = function(a, b) {

var c = goog.string.toCamelCase(b);
return void 0 === a.style[c] && (c = goog.dom.vendor.getVendorJsPrefix() + goog.string.toTitleCase(c), void 0 !== a.style[c]) ? goog.dom.vendor.getVendorPrefix() + "-" + b : b;

}; goog.style.getStyle = function(a, b) {

var c = a.style[goog.string.toCamelCase(b)];
return "undefined" !== typeof c ? c : a.style[goog.style.getVendorJsStyleName_(a, b)] || "";

}; goog.style.getComputedStyle = function(a, b) {

var c = goog.dom.getOwnerDocument(a);
return c.defaultView && c.defaultView.getComputedStyle && (c = c.defaultView.getComputedStyle(a, null)) ? c[b] || c.getPropertyValue(b) || "" : "";

}; goog.style.getCascadedStyle = function(a, b) {

return a.currentStyle ? a.currentStyle[b] : null;

}; goog.style.getStyle_ = function(a, b) {

return goog.style.getComputedStyle(a, b) || goog.style.getCascadedStyle(a, b) || a.style && a.style[b];

}; goog.style.getComputedBoxSizing = function(a) {

return goog.style.getStyle_(a, "boxSizing") || goog.style.getStyle_(a, "MozBoxSizing") || goog.style.getStyle_(a, "WebkitBoxSizing") || null;

}; goog.style.getComputedPosition = function(a) {

return goog.style.getStyle_(a, "position");

}; goog.style.getBackgroundColor = function(a) {

return goog.style.getStyle_(a, "backgroundColor");

}; goog.style.getComputedOverflowX = function(a) {

return goog.style.getStyle_(a, "overflowX");

}; goog.style.getComputedOverflowY = function(a) {

return goog.style.getStyle_(a, "overflowY");

}; goog.style.getComputedZIndex = function(a) {

return goog.style.getStyle_(a, "zIndex");

}; goog.style.getComputedTextAlign = function(a) {

return goog.style.getStyle_(a, "textAlign");

}; goog.style.getComputedCursor = function(a) {

return goog.style.getStyle_(a, "cursor");

}; goog.style.getComputedTransform = function(a) {

var b = goog.style.getVendorStyleName_(a, "transform");
return goog.style.getStyle_(a, b) || goog.style.getStyle_(a, "transform");

}; goog.style.setPosition = function(a, b, c) {

var d, e = goog.userAgent.GECKO && (goog.userAgent.MAC || goog.userAgent.X11) && goog.userAgent.isVersionOrHigher("1.9");
b instanceof goog.math.Coordinate ? (d = b.x, b = b.y) : (d = b, b = c);
a.style.left = goog.style.getPixelStyleValue_(d, e);
a.style.top = goog.style.getPixelStyleValue_(b, e);

}; goog.style.getPosition = function(a) {

return new goog.math.Coordinate(a.offsetLeft, a.offsetTop);

}; goog.style.getClientViewportElement = function(a) {

a = a ? goog.dom.getOwnerDocument(a) : goog.dom.getDocument();
return!goog.userAgent.IE || goog.userAgent.isDocumentModeOrHigher(9) || goog.dom.getDomHelper(a).isCss1CompatMode() ? a.documentElement : a.body;

}; goog.style.getViewportPageOffset = function(a) {

var b = a.body;
a = a.documentElement;
return new goog.math.Coordinate(b.scrollLeft || a.scrollLeft, b.scrollTop || a.scrollTop);

}; goog.style.getBoundingClientRect_ = function(a) {

var b;
try {
  b = a.getBoundingClientRect();
} catch (c) {
  return{left:0, top:0, right:0, bottom:0};
}
goog.userAgent.IE && a.ownerDocument.body && (a = a.ownerDocument, b.left -= a.documentElement.clientLeft + a.body.clientLeft, b.top -= a.documentElement.clientTop + a.body.clientTop);
return b;

}; goog.style.getOffsetParent = function(a) {

if (goog.userAgent.IE && !goog.userAgent.isDocumentModeOrHigher(8)) {
  return a.offsetParent;
}
var b = goog.dom.getOwnerDocument(a), c = goog.style.getStyle_(a, "position"), d = "fixed" == c || "absolute" == c;
for (a = a.parentNode;a && a != b;a = a.parentNode) {
  if (c = goog.style.getStyle_(a, "position"), d = d && "static" == c && a != b.documentElement && a != b.body, !d && (a.scrollWidth > a.clientWidth || a.scrollHeight > a.clientHeight || "fixed" == c || "absolute" == c || "relative" == c)) {
    return a;
  }
}
return null;

}; goog.style.getVisibleRectForElement = function(a) {

for (var b = new goog.math.Box(0, Infinity, Infinity, 0), c = goog.dom.getDomHelper(a), d = c.getDocument().body, e = c.getDocument().documentElement, f = c.getDocumentScrollElement();a = goog.style.getOffsetParent(a);) {
  if (!(goog.userAgent.IE && 0 == a.clientWidth || goog.userAgent.WEBKIT && 0 == a.clientHeight && a == d) && a != d && a != e && "visible" != goog.style.getStyle_(a, "overflow")) {
    var g = goog.style.getPageOffset(a), h = goog.style.getClientLeftTop(a);
    g.x += h.x;
    g.y += h.y;
    b.top = Math.max(b.top, g.y);
    b.right = Math.min(b.right, g.x + a.clientWidth);
    b.bottom = Math.min(b.bottom, g.y + a.clientHeight);
    b.left = Math.max(b.left, g.x);
  }
}
d = f.scrollLeft;
f = f.scrollTop;
b.left = Math.max(b.left, d);
b.top = Math.max(b.top, f);
c = c.getViewportSize();
b.right = Math.min(b.right, d + c.width);
b.bottom = Math.min(b.bottom, f + c.height);
return 0 <= b.top && 0 <= b.left && b.bottom > b.top && b.right > b.left ? b : null;

}; goog.style.getContainerOffsetToScrollInto = function(a, b, c) {

var d = goog.style.getPageOffset(a), e = goog.style.getPageOffset(b), f = goog.style.getBorderBox(b), g = d.x - e.x - f.left, d = d.y - e.y - f.top, e = b.clientWidth - a.offsetWidth;
a = b.clientHeight - a.offsetHeight;
f = b.scrollLeft;
b = b.scrollTop;
c ? (f += g - e / 2, b += d - a / 2) : (f += Math.min(g, Math.max(g - e, 0)), b += Math.min(d, Math.max(d - a, 0)));
return new goog.math.Coordinate(f, b);

}; goog.style.scrollIntoContainerView = function(a, b, c) {

a = goog.style.getContainerOffsetToScrollInto(a, b, c);
b.scrollLeft = a.x;
b.scrollTop = a.y;

}; goog.style.getClientLeftTop = function(a) {

if (goog.userAgent.GECKO && !goog.userAgent.isVersionOrHigher("1.9")) {
  var b = parseFloat(goog.style.getComputedStyle(a, "borderLeftWidth"));
  if (goog.style.isRightToLeft(a)) {
    var c = a.offsetWidth - a.clientWidth - b - parseFloat(goog.style.getComputedStyle(a, "borderRightWidth")), b = b + c
  }
  return new goog.math.Coordinate(b, parseFloat(goog.style.getComputedStyle(a, "borderTopWidth")));
}
return new goog.math.Coordinate(a.clientLeft, a.clientTop);

}; goog.style.getPageOffset = function(a) {

var b, c = goog.dom.getOwnerDocument(a), d = goog.style.getStyle_(a, "position");
goog.asserts.assertObject(a, "Parameter is required");
var e = !goog.style.GET_BOUNDING_CLIENT_RECT_ALWAYS_EXISTS && goog.userAgent.GECKO && c.getBoxObjectFor && !a.getBoundingClientRect && "absolute" == d && (b = c.getBoxObjectFor(a)) && (0 > b.screenX || 0 > b.screenY), f = new goog.math.Coordinate(0, 0), g = goog.style.getClientViewportElement(c);
if (a == g) {
  return f;
}
if (goog.style.GET_BOUNDING_CLIENT_RECT_ALWAYS_EXISTS || a.getBoundingClientRect) {
  b = goog.style.getBoundingClientRect_(a), a = goog.dom.getDomHelper(c).getDocumentScroll(), f.x = b.left + a.x, f.y = b.top + a.y;
} else {
  if (c.getBoxObjectFor && !e) {
    b = c.getBoxObjectFor(a), a = c.getBoxObjectFor(g), f.x = b.screenX - a.screenX, f.y = b.screenY - a.screenY;
  } else {
    b = a;
    do {
      f.x += b.offsetLeft;
      f.y += b.offsetTop;
      b != a && (f.x += b.clientLeft || 0, f.y += b.clientTop || 0);
      if (goog.userAgent.WEBKIT && "fixed" == goog.style.getComputedPosition(b)) {
        f.x += c.body.scrollLeft;
        f.y += c.body.scrollTop;
        break;
      }
      b = b.offsetParent;
    } while (b && b != a);
    if (goog.userAgent.OPERA || goog.userAgent.WEBKIT && "absolute" == d) {
      f.y -= c.body.offsetTop;
    }
    for (b = a;(b = goog.style.getOffsetParent(b)) && b != c.body && b != g;) {
      f.x -= b.scrollLeft, goog.userAgent.OPERA && "TR" == b.tagName || (f.y -= b.scrollTop);
    }
  }
}
return f;

}; goog.style.getPageOffsetLeft = function(a) {

return goog.style.getPageOffset(a).x;

}; goog.style.getPageOffsetTop = function(a) {

return goog.style.getPageOffset(a).y;

}; goog.style.getFramedPageOffset = function(a, b) {

var c = new goog.math.Coordinate(0, 0), d = goog.dom.getWindow(goog.dom.getOwnerDocument(a)), e = a;
do {
  var f = d == b ? goog.style.getPageOffset(e) : goog.style.getClientPositionForElement_(goog.asserts.assert(e));
  c.x += f.x;
  c.y += f.y;
} while (d && d != b && (e = d.frameElement) && (d = d.parent));
return c;

}; goog.style.translateRectForAnotherFrame = function(a, b, c) {

if (b.getDocument() != c.getDocument()) {
  var d = b.getDocument().body;
  c = goog.style.getFramedPageOffset(d, c.getWindow());
  c = goog.math.Coordinate.difference(c, goog.style.getPageOffset(d));
  !goog.userAgent.IE || goog.userAgent.isDocumentModeOrHigher(9) || b.isCss1CompatMode() || (c = goog.math.Coordinate.difference(c, b.getDocumentScroll()));
  a.left += c.x;
  a.top += c.y;
}

}; goog.style.getRelativePosition = function(a, b) {

var c = goog.style.getClientPosition(a), d = goog.style.getClientPosition(b);
return new goog.math.Coordinate(c.x - d.x, c.y - d.y);

}; goog.style.getClientPositionForElement_ = function(a) {

var b;
if (goog.style.GET_BOUNDING_CLIENT_RECT_ALWAYS_EXISTS || a.getBoundingClientRect) {
  b = goog.style.getBoundingClientRect_(a), b = new goog.math.Coordinate(b.left, b.top);
} else {
  b = goog.dom.getDomHelper(a).getDocumentScroll();
  var c = goog.style.getPageOffset(a);
  b = new goog.math.Coordinate(c.x - b.x, c.y - b.y);
}
return goog.userAgent.GECKO && !goog.userAgent.isVersionOrHigher(12) ? goog.math.Coordinate.sum(b, goog.style.getCssTranslation(a)) : b;

}; goog.style.getClientPosition = function(a) {

goog.asserts.assert(a);
if (a.nodeType == goog.dom.NodeType.ELEMENT) {
  return goog.style.getClientPositionForElement_(a);
}
var b = goog.isFunction(a.getBrowserEvent), c = a;
a.targetTouches && a.targetTouches.length ? c = a.targetTouches[0] : b && a.getBrowserEvent().targetTouches && a.getBrowserEvent().targetTouches.length && (c = a.getBrowserEvent().targetTouches[0]);
return new goog.math.Coordinate(c.clientX, c.clientY);

}; goog.style.setPageOffset = function(a, b, c) {

var d = goog.style.getPageOffset(a);
b instanceof goog.math.Coordinate && (c = b.y, b = b.x);
goog.style.setPosition(a, a.offsetLeft + (b - d.x), a.offsetTop + (c - d.y));

}; goog.style.setSize = function(a, b, c) {

if (b instanceof goog.math.Size) {
  c = b.height, b = b.width;
} else {
  if (void 0 == c) {
    throw Error("missing height argument");
  }
}
goog.style.setWidth(a, b);
goog.style.setHeight(a, c);

}; goog.style.getPixelStyleValue_ = function(a, b) {

"number" == typeof a && (a = (b ? Math.round(a) : a) + "px");
return a;

}; goog.style.setHeight = function(a, b) {

a.style.height = goog.style.getPixelStyleValue_(b, !0);

}; goog.style.setWidth = function(a, b) {

a.style.width = goog.style.getPixelStyleValue_(b, !0);

}; goog.style.getSize = function(a) {

return goog.style.evaluateWithTemporaryDisplay_(goog.style.getSizeWithDisplay_, a);

}; goog.style.evaluateWithTemporaryDisplay_ = function(a, b) {

if ("none" != goog.style.getStyle_(b, "display")) {
  return a(b);
}
var c = b.style, d = c.display, e = c.visibility, f = c.position;
c.visibility = "hidden";
c.position = "absolute";
c.display = "inline";
var g = a(b);
c.display = d;
c.position = f;
c.visibility = e;
return g;

}; goog.style.getSizeWithDisplay_ = function(a) {

var b = a.offsetWidth, c = a.offsetHeight, d = goog.userAgent.WEBKIT && !b && !c;
return goog.isDef(b) && !d || !a.getBoundingClientRect ? new goog.math.Size(b, c) : (a = goog.style.getBoundingClientRect_(a), new goog.math.Size(a.right - a.left, a.bottom - a.top));

}; goog.style.getTransformedSize = function(a) {

if (!a.getBoundingClientRect) {
  return null;
}
a = goog.style.evaluateWithTemporaryDisplay_(goog.style.getBoundingClientRect_, a);
return new goog.math.Size(a.right - a.left, a.bottom - a.top);

}; goog.style.getBounds = function(a) {

var b = goog.style.getPageOffset(a);
a = goog.style.getSize(a);
return new goog.math.Rect(b.x, b.y, a.width, a.height);

}; goog.style.toCamelCase = function(a) {

return goog.string.toCamelCase(String(a));

}; goog.style.toSelectorCase = function(a) {

return goog.string.toSelectorCase(a);

}; goog.style.getOpacity = function(a) {

var b = a.style;
a = "";
"opacity" in b ? a = b.opacity : "MozOpacity" in b ? a = b.MozOpacity : "filter" in b && (b = b.filter.match(/alpha\(opacity=([\d.]+)\)/)) && (a = String(b[1] / 100));
return "" == a ? a : Number(a);

}; goog.style.setOpacity = function(a, b) {

var c = a.style;
"opacity" in c ? c.opacity = b : "MozOpacity" in c ? c.MozOpacity = b : "filter" in c && (c.filter = "" === b ? "" : "alpha(opacity=" + 100 * b + ")");

}; goog.style.setTransparentBackgroundImage = function(a, b) {

var c = a.style;
goog.userAgent.IE && !goog.userAgent.isVersionOrHigher("8") ? c.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + b + '", sizingMethod="crop")' : (c.backgroundImage = "url(" + b + ")", c.backgroundPosition = "top left", c.backgroundRepeat = "no-repeat");

}; goog.style.clearTransparentBackgroundImage = function(a) {

a = a.style;
"filter" in a ? a.filter = "" : a.backgroundImage = "none";

}; goog.style.showElement = function(a, b) {

goog.style.setElementShown(a, b);

}; goog.style.setElementShown = function(a, b) {

a.style.display = b ? "" : "none";

}; goog.style.isElementShown = function(a) {

return "none" != a.style.display;

}; goog.style.installStyles = function(a, b) {

var c = goog.dom.getDomHelper(b), d = null, e = c.getDocument();
goog.userAgent.IE && e.createStyleSheet ? (d = e.createStyleSheet(), goog.style.setStyles(d, a)) : (e = c.getElementsByTagNameAndClass("head")[0], e || (d = c.getElementsByTagNameAndClass("body")[0], e = c.createDom("head"), d.parentNode.insertBefore(e, d)), d = c.createDom("style"), goog.style.setStyles(d, a), c.appendChild(e, d));
return d;

}; goog.style.uninstallStyles = function(a) {

goog.dom.removeNode(a.ownerNode || a.owningElement || a);

}; goog.style.setStyles = function(a, b) {

goog.userAgent.IE && goog.isDef(a.cssText) ? a.cssText = b : a.innerHTML = b;

}; goog.style.setPreWrap = function(a) {

a = a.style;
goog.userAgent.IE && !goog.userAgent.isVersionOrHigher("8") ? (a.whiteSpace = "pre", a.wordWrap = "break-word") : a.whiteSpace = goog.userAgent.GECKO ? "-moz-pre-wrap" : "pre-wrap";

}; goog.style.setInlineBlock = function(a) {

a = a.style;
a.position = "relative";
goog.userAgent.IE && !goog.userAgent.isVersionOrHigher("8") ? (a.zoom = "1", a.display = "inline") : a.display = goog.userAgent.GECKO ? goog.userAgent.isVersionOrHigher("1.9a") ? "inline-block" : "-moz-inline-box" : "inline-block";

}; goog.style.isRightToLeft = function(a) {

return "rtl" == goog.style.getStyle_(a, "direction");

}; goog.style.unselectableStyle_ = goog.userAgent.GECKO ? “MozUserSelect” : goog.userAgent.WEBKIT ? “WebkitUserSelect” : null; goog.style.isUnselectable = function(a) {

return goog.style.unselectableStyle_ ? "none" == a.style[goog.style.unselectableStyle_].toLowerCase() : goog.userAgent.IE || goog.userAgent.OPERA ? "on" == a.getAttribute("unselectable") : !1;

}; goog.style.setUnselectable = function(a, b, c) {

c = c ? null : a.getElementsByTagName("*");
var d = goog.style.unselectableStyle_;
if (d) {
  if (b = b ? "none" : "", a.style[d] = b, c) {
    a = 0;
    for (var e;e = c[a];a++) {
      e.style[d] = b;
    }
  }
} else {
  if (goog.userAgent.IE || goog.userAgent.OPERA) {
    if (b = b ? "on" : "", a.setAttribute("unselectable", b), c) {
      for (a = 0;e = c[a];a++) {
        e.setAttribute("unselectable", b);
      }
    }
  }
}

}; goog.style.getBorderBoxSize = function(a) {

return new goog.math.Size(a.offsetWidth, a.offsetHeight);

}; goog.style.setBorderBoxSize = function(a, b) {

var c = goog.dom.getOwnerDocument(a), d = goog.dom.getDomHelper(c).isCss1CompatMode();
if (!goog.userAgent.IE || goog.userAgent.isVersionOrHigher("10") || d && goog.userAgent.isVersionOrHigher("8")) {
  goog.style.setBoxSizingSize_(a, b, "border-box");
} else {
  if (c = a.style, d) {
    var d = goog.style.getPaddingBox(a), e = goog.style.getBorderBox(a);
    c.pixelWidth = b.width - e.left - d.left - d.right - e.right;
    c.pixelHeight = b.height - e.top - d.top - d.bottom - e.bottom;
  } else {
    c.pixelWidth = b.width, c.pixelHeight = b.height;
  }
}

}; goog.style.getContentBoxSize = function(a) {

var b = goog.dom.getOwnerDocument(a), c = goog.userAgent.IE && a.currentStyle;
if (c && goog.dom.getDomHelper(b).isCss1CompatMode() && "auto" != c.width && "auto" != c.height && !c.boxSizing) {
  return b = goog.style.getIePixelValue_(a, c.width, "width", "pixelWidth"), a = goog.style.getIePixelValue_(a, c.height, "height", "pixelHeight"), new goog.math.Size(b, a);
}
c = goog.style.getBorderBoxSize(a);
b = goog.style.getPaddingBox(a);
a = goog.style.getBorderBox(a);
return new goog.math.Size(c.width - a.left - b.left - b.right - a.right, c.height - a.top - b.top - b.bottom - a.bottom);

}; goog.style.setContentBoxSize = function(a, b) {

var c = goog.dom.getOwnerDocument(a), d = goog.dom.getDomHelper(c).isCss1CompatMode();
if (!goog.userAgent.IE || goog.userAgent.isVersionOrHigher("10") || d && goog.userAgent.isVersionOrHigher("8")) {
  goog.style.setBoxSizingSize_(a, b, "content-box");
} else {
  if (c = a.style, d) {
    c.pixelWidth = b.width, c.pixelHeight = b.height;
  } else {
    var d = goog.style.getPaddingBox(a), e = goog.style.getBorderBox(a);
    c.pixelWidth = b.width + e.left + d.left + d.right + e.right;
    c.pixelHeight = b.height + e.top + d.top + d.bottom + e.bottom;
  }
}

}; goog.style.setBoxSizingSize_ = function(a, b, c) {

a = a.style;
goog.userAgent.GECKO ? a.MozBoxSizing = c : goog.userAgent.WEBKIT ? a.WebkitBoxSizing = c : a.boxSizing = c;
a.width = Math.max(b.width, 0) + "px";
a.height = Math.max(b.height, 0) + "px";

}; goog.style.getIePixelValue_ = function(a, b, c, d) {

if (/^\d+px?$/.test(b)) {
  return parseInt(b, 10);
}
var e = a.style[c], f = a.runtimeStyle[c];
a.runtimeStyle[c] = a.currentStyle[c];
a.style[c] = b;
b = a.style[d];
a.style[c] = e;
a.runtimeStyle[c] = f;
return b;

}; goog.style.getIePixelDistance_ = function(a, b) {

var c = goog.style.getCascadedStyle(a, b);
return c ? goog.style.getIePixelValue_(a, c, "left", "pixelLeft") : 0;

}; goog.style.getBox_ = function(a, b) {

if (goog.userAgent.IE) {
  var c = goog.style.getIePixelDistance_(a, b + "Left"), d = goog.style.getIePixelDistance_(a, b + "Right"), e = goog.style.getIePixelDistance_(a, b + "Top"), f = goog.style.getIePixelDistance_(a, b + "Bottom");
  return new goog.math.Box(e, d, f, c);
}
c = goog.style.getComputedStyle(a, b + "Left");
d = goog.style.getComputedStyle(a, b + "Right");
e = goog.style.getComputedStyle(a, b + "Top");
f = goog.style.getComputedStyle(a, b + "Bottom");
return new goog.math.Box(parseFloat(e), parseFloat(d), parseFloat(f), parseFloat(c));

}; goog.style.getPaddingBox = function(a) {

return goog.style.getBox_(a, "padding");

}; goog.style.getMarginBox = function(a) {

return goog.style.getBox_(a, "margin");

}; goog.style.ieBorderWidthKeywords_ = {thin:2, medium:4, thick:6}; goog.style.getIePixelBorder_ = function(a, b) {

if ("none" == goog.style.getCascadedStyle(a, b + "Style")) {
  return 0;
}
var c = goog.style.getCascadedStyle(a, b + "Width");
return c in goog.style.ieBorderWidthKeywords_ ? goog.style.ieBorderWidthKeywords_[c] : goog.style.getIePixelValue_(a, c, "left", "pixelLeft");

}; goog.style.getBorderBox = function(a) {

if (goog.userAgent.IE && !goog.userAgent.isDocumentModeOrHigher(9)) {
  var b = goog.style.getIePixelBorder_(a, "borderLeft"), c = goog.style.getIePixelBorder_(a, "borderRight"), d = goog.style.getIePixelBorder_(a, "borderTop");
  a = goog.style.getIePixelBorder_(a, "borderBottom");
  return new goog.math.Box(d, c, a, b);
}
b = goog.style.getComputedStyle(a, "borderLeftWidth");
c = goog.style.getComputedStyle(a, "borderRightWidth");
d = goog.style.getComputedStyle(a, "borderTopWidth");
a = goog.style.getComputedStyle(a, "borderBottomWidth");
return new goog.math.Box(parseFloat(d), parseFloat(c), parseFloat(a), parseFloat(b));

}; goog.style.getFontFamily = function(a) {

var b = goog.dom.getOwnerDocument(a), c = "";
if (b.body.createTextRange && goog.dom.contains(b, a)) {
  b = b.body.createTextRange();
  b.moveToElementText(a);
  try {
    c = b.queryCommandValue("FontName");
  } catch (d) {
    c = "";
  }
}
c || (c = goog.style.getStyle_(a, "fontFamily"));
a = c.split(",");
1 < a.length && (c = a[0]);
return goog.string.stripQuotes(c, "\"'");

}; goog.style.lengthUnitRegex_ = /[^d]+$/; goog.style.getLengthUnits = function(a) {

return(a = a.match(goog.style.lengthUnitRegex_)) && a[0] || null;

}; goog.style.ABSOLUTE_CSS_LENGTH_UNITS_ = {cm:1, “in”:1, mm:1, pc:1, pt:1}; goog.style.CONVERTIBLE_RELATIVE_CSS_UNITS_ = {em:1, ex:1}; goog.style.getFontSize = function(a) {

var b = goog.style.getStyle_(a, "fontSize"), c = goog.style.getLengthUnits(b);
if (b && "px" == c) {
  return parseInt(b, 10);
}
if (goog.userAgent.IE) {
  if (c in goog.style.ABSOLUTE_CSS_LENGTH_UNITS_) {
    return goog.style.getIePixelValue_(a, b, "left", "pixelLeft");
  }
  if (a.parentNode && a.parentNode.nodeType == goog.dom.NodeType.ELEMENT && c in goog.style.CONVERTIBLE_RELATIVE_CSS_UNITS_) {
    return a = a.parentNode, c = goog.style.getStyle_(a, "fontSize"), goog.style.getIePixelValue_(a, b == c ? "1em" : b, "left", "pixelLeft");
  }
}
c = goog.dom.createDom("span", {style:"visibility:hidden;position:absolute;line-height:0;padding:0;margin:0;border:0;height:1em;"});
goog.dom.appendChild(a, c);
b = c.offsetHeight;
goog.dom.removeNode(c);
return b;

}; goog.style.parseStyleAttribute = function(a) {

var b = {};
goog.array.forEach(a.split(/\s*;\s*/), function(a) {
  a = a.split(/\s*:\s*/);
  2 == a.length && (b[goog.string.toCamelCase(a[0].toLowerCase())] = a[1]);
});
return b;

}; goog.style.toStyleAttribute = function(a) {

var b = [];
goog.object.forEach(a, function(a, d) {
  b.push(goog.string.toSelectorCase(d), ":", a, ";");
});
return b.join("");

}; goog.style.setFloat = function(a, b) {

a.style[goog.userAgent.IE ? "styleFloat" : "cssFloat"] = b;

}; goog.style.getFloat = function(a) {

return a.style[goog.userAgent.IE ? "styleFloat" : "cssFloat"] || "";

}; goog.style.getScrollbarWidth = function(a) {

var b = goog.dom.createElement("div");
a && (b.className = a);
b.style.cssText = "overflow:auto;position:absolute;top:0;width:100px;height:100px";
a = goog.dom.createElement("div");
goog.style.setSize(a, "200px", "200px");
b.appendChild(a);
goog.dom.appendChild(goog.dom.getDocument().body, b);
a = b.offsetWidth - b.clientWidth;
goog.dom.removeNode(b);
return a;

}; goog.style.MATRIX_TRANSLATION_REGEX_ = /matrix(+, [0-9.-]+, [0-9.-]+, [0-9.-]+, ([0-9.-]+)p?x?, ([0-9.-]+)p?x?)/; goog.style.getCssTranslation = function(a) {

a = goog.style.getComputedTransform(a);
return a ? (a = a.match(goog.style.MATRIX_TRANSLATION_REGEX_)) ? new goog.math.Coordinate(parseFloat(a[1]), parseFloat(a[2])) : new goog.math.Coordinate(0, 0) : new goog.math.Coordinate(0, 0);

}; goog.debug.DivConsole = function(a) {

this.publishHandler_ = goog.bind(this.addLogRecord, this);
this.formatter_ = new goog.debug.HtmlFormatter;
this.isCapturing_ = this.formatter_.showAbsoluteTime = !1;
this.element_ = a;
this.elementOwnerDocument_ = this.element_.ownerDocument || this.element_.document;
this.installStyles();

}; goog.debug.DivConsole.prototype.installStyles = function() {

goog.style.installStyles(".dbg-sev{color:#F00}.dbg-w{color:#C40}.dbg-sh{font-weight:bold;color:#000}.dbg-i{color:#444}.dbg-f{color:#999}.dbg-ev{color:#0A0}.dbg-m{color:#990}.logmsg{border-bottom:1px solid #CCC;padding:2px}.logsep{background-color: #8C8;}.logdiv{border:1px solid #CCC;background-color:#FCFCFC;font:medium monospace}", this.element_);
this.element_.className += " logdiv";

}; goog.debug.DivConsole.prototype.setCapturing = function(a) {

if (a != this.isCapturing_) {
  var b = goog.debug.LogManager.getRoot();
  a ? b.addHandler(this.publishHandler_) : (b.removeHandler(this.publishHandler_), this.logBuffer = "");
  this.isCapturing_ = a;
}

}; goog.debug.DivConsole.prototype.addLogRecord = function(a) {

if (a) {
  var b = 100 >= this.element_.scrollHeight - this.element_.scrollTop - this.element_.clientHeight, c = this.elementOwnerDocument_.createElement("div");
  c.className = "logmsg";
  goog.dom.safe.setInnerHtml(c, this.formatter_.formatRecordAsHtml(a));
  this.element_.appendChild(c);
  b && (this.element_.scrollTop = this.element_.scrollHeight);
}

}; goog.debug.DivConsole.prototype.getFormatter = function() {

return this.formatter_;

}; goog.debug.DivConsole.prototype.setFormatter = function(a) {

this.formatter_ = a;

}; goog.debug.DivConsole.prototype.addSeparator = function() {

var a = this.elementOwnerDocument_.createElement("div");
a.className = "logmsg logsep";
this.element_.appendChild(a);

}; goog.debug.DivConsole.prototype.clear = function() {

this.element_ && goog.dom.safe.setInnerHtml(this.element_, goog.html.SafeHtml.EMPTY);

}; goog.log = {}; goog.log.ENABLED = goog.debug.LOGGING_ENABLED; goog.log.ROOT_LOGGER_NAME = goog.debug.Logger.ROOT_LOGGER_NAME; goog.log.Logger = goog.debug.Logger; goog.log.Level = goog.debug.Logger.Level; goog.log.LogRecord = goog.debug.LogRecord; goog.log.getLogger = function(a, b) {

if (goog.log.ENABLED) {
  var c = goog.debug.LogManager.getLogger(a);
  b && c && c.setLevel(b);
  return c;
}
return null;

}; goog.log.addHandler = function(a, b) {

goog.log.ENABLED && a && a.addHandler(b);

}; goog.log.removeHandler = function(a, b) {

return goog.log.ENABLED && a ? a.removeHandler(b) : !1;

}; goog.log.log = function(a, b, c, d) {

goog.log.ENABLED && a && a.log(b, c, d);

}; goog.log.error = function(a, b, c) {

goog.log.ENABLED && a && a.severe(b, c);

}; goog.log.warning = function(a, b, c) {

goog.log.ENABLED && a && a.warning(b, c);

}; goog.log.info = function(a, b, c) {

goog.log.ENABLED && a && a.info(b, c);

}; goog.log.fine = function(a, b, c) {

goog.log.ENABLED && a && a.fine(b, c);

}; goog.userAgent.product = {}; goog.userAgent.product.ASSUME_FIREFOX = !1; goog.userAgent.product.ASSUME_CAMINO = !1; goog.userAgent.product.ASSUME_IPHONE = !1; goog.userAgent.product.ASSUME_IPAD = !1; goog.userAgent.product.ASSUME_ANDROID = !1; goog.userAgent.product.ASSUME_CHROME = !1; goog.userAgent.product.ASSUME_SAFARI = !0; goog.userAgent.product.PRODUCT_KNOWN_ = goog.userAgent.ASSUME_IE || goog.userAgent.ASSUME_OPERA || goog.userAgent.product.ASSUME_FIREFOX || goog.userAgent.product.ASSUME_CAMINO || goog.userAgent.product.ASSUME_IPHONE || goog.userAgent.product.ASSUME_IPAD || goog.userAgent.product.ASSUME_ANDROID || goog.userAgent.product.ASSUME_CHROME || goog.userAgent.product.ASSUME_SAFARI; goog.userAgent.product.init_ = function() {

goog.userAgent.product.detectedFirefox_ = !1;
goog.userAgent.product.detectedCamino_ = !1;
goog.userAgent.product.detectedIphone_ = !1;
goog.userAgent.product.detectedIpad_ = !1;
goog.userAgent.product.detectedAndroid_ = !1;
goog.userAgent.product.detectedChrome_ = !1;
goog.userAgent.product.detectedSafari_ = !1;
var a = goog.userAgent.getUserAgentString();
a && (-1 != a.indexOf("Firefox") ? goog.userAgent.product.detectedFirefox_ = !0 : -1 != a.indexOf("Camino") ? goog.userAgent.product.detectedCamino_ = !0 : -1 != a.indexOf("iPad") ? goog.userAgent.product.detectedIpad_ = !0 : -1 != a.indexOf("iPhone") || -1 != a.indexOf("iPod") ? goog.userAgent.product.detectedIphone_ = !0 : -1 != a.indexOf("Chrome") ? goog.userAgent.product.detectedChrome_ = !0 : -1 != a.indexOf("Android") ? goog.userAgent.product.detectedAndroid_ = !0 : -1 != a.indexOf("Safari") && 
(goog.userAgent.product.detectedSafari_ = !0));

}; goog.userAgent.product.PRODUCT_KNOWN_ || goog.userAgent.product.init_(); goog.userAgent.product.OPERA = goog.userAgent.OPERA; goog.userAgent.product.IE = goog.userAgent.IE; goog.userAgent.product.FIREFOX = goog.userAgent.product.PRODUCT_KNOWN_ ? goog.userAgent.product.ASSUME_FIREFOX : goog.userAgent.product.detectedFirefox_; goog.userAgent.product.CAMINO = goog.userAgent.product.PRODUCT_KNOWN_ ? goog.userAgent.product.ASSUME_CAMINO : goog.userAgent.product.detectedCamino_; goog.userAgent.product.IPHONE = goog.userAgent.product.PRODUCT_KNOWN_ ? goog.userAgent.product.ASSUME_IPHONE : goog.userAgent.product.detectedIphone_; goog.userAgent.product.IPAD = goog.userAgent.product.PRODUCT_KNOWN_ ? goog.userAgent.product.ASSUME_IPAD : goog.userAgent.product.detectedIpad_; goog.userAgent.product.ANDROID = goog.userAgent.product.PRODUCT_KNOWN_ ? goog.userAgent.product.ASSUME_ANDROID : goog.userAgent.product.detectedAndroid_; goog.userAgent.product.CHROME = goog.userAgent.product.PRODUCT_KNOWN_ ? goog.userAgent.product.ASSUME_CHROME : goog.userAgent.product.detectedChrome_; goog.userAgent.product.SAFARI = goog.userAgent.product.PRODUCT_KNOWN_ ? goog.userAgent.product.ASSUME_SAFARI : goog.userAgent.product.detectedSafari_; goog.userAgent.product.determineVersion_ = function() {

if (goog.userAgent.product.FIREFOX) {
  return goog.userAgent.product.getFirstRegExpGroup_(/Firefox\/([0-9.]+)/);
}
if (goog.userAgent.product.IE || goog.userAgent.product.OPERA) {
  return goog.userAgent.VERSION;
}
if (goog.userAgent.product.CHROME) {
  return goog.userAgent.product.getFirstRegExpGroup_(/Chrome\/([0-9.]+)/);
}
if (goog.userAgent.product.SAFARI) {
  return goog.userAgent.product.getFirstRegExpGroup_(/Version\/([0-9.]+)/);
}
if (goog.userAgent.product.IPHONE || goog.userAgent.product.IPAD) {
  var a = goog.userAgent.product.execRegExp_(/Version\/(\S+).*Mobile\/(\S+)/);
  if (a) {
    return a[1] + "." + a[2];
  }
} else {
  if (goog.userAgent.product.ANDROID) {
    return(a = goog.userAgent.product.getFirstRegExpGroup_(/Android\s+([0-9.]+)/)) ? a : goog.userAgent.product.getFirstRegExpGroup_(/Version\/([0-9.]+)/);
  }
  if (goog.userAgent.product.CAMINO) {
    return goog.userAgent.product.getFirstRegExpGroup_(/Camino\/([0-9.]+)/);
  }
}
return "";

}; goog.userAgent.product.getFirstRegExpGroup_ = function(a) {

return(a = goog.userAgent.product.execRegExp_(a)) ? a[1] : "";

}; goog.userAgent.product.execRegExp_ = function(a) {

return a.exec(goog.userAgent.getUserAgentString());

}; goog.userAgent.product.VERSION = goog.userAgent.product.determineVersion_(); goog.userAgent.product.isVersion = function(a) {

return 0 <= goog.string.compareVersions(goog.userAgent.product.VERSION, a);

}; var bot = {userAgent:{}}; bot.userAgent.isEngineVersion = function(a) {

return bot.userAgent.FIREFOX_EXTENSION ? bot.userAgent.FIREFOX_EXTENSION_IS_ENGINE_VERSION_(a) : goog.userAgent.IE ? 0 <= goog.string.compareVersions(goog.userAgent.DOCUMENT_MODE, a) : goog.userAgent.isVersionOrHigher(a);

}; bot.userAgent.isProductVersion = function(a) {

return bot.userAgent.FIREFOX_EXTENSION ? bot.userAgent.FIREFOX_EXTENSION_IS_PRODUCT_VERSION_(a) : goog.userAgent.product.ANDROID ? 0 <= goog.string.compareVersions(bot.userAgent.ANDROID_VERSION_, a) : goog.userAgent.product.isVersion(a);

}; bot.userAgent.FIREFOX_EXTENSION = function() {

if (!goog.userAgent.GECKO) {
  return!1;
}
var a = goog.global.Components;
if (!a) {
  return!1;
}
try {
  if (!a.classes) {
    return!1;
  }
} catch (b) {
  return!1;
}
var c = a.classes, a = a.interfaces, d = c["@mozilla.org/xpcom/version-comparator;1"].getService(a.nsIVersionComparator), c = c["@mozilla.org/xre/app-info;1"].getService(a.nsIXULAppInfo), e = c.platformVersion, f = c.version;
bot.userAgent.FIREFOX_EXTENSION_IS_ENGINE_VERSION_ = function(a) {
  return 0 <= d.compare(e, "" + a);
};
bot.userAgent.FIREFOX_EXTENSION_IS_PRODUCT_VERSION_ = function(a) {
  return 0 <= d.compare(f, "" + a);
};
return!0;

}(); bot.userAgent.IOS = goog.userAgent.product.IPAD || goog.userAgent.product.IPHONE; bot.userAgent.MOBILE = bot.userAgent.IOS || goog.userAgent.product.ANDROID; bot.userAgent.ANDROID_VERSION_ = function() {

if (goog.userAgent.product.ANDROID) {
  var a = goog.userAgent.getUserAgentString();
  return(a = /Android\s+([0-9\.]+)/.exec(a)) ? a[1] : "0";
}
return "0";

}(); bot.userAgent.IE_DOC_PRE8 = goog.userAgent.IE && !goog.userAgent.isDocumentModeOrHigher(8); bot.userAgent.IE_DOC_9 = goog.userAgent.isDocumentModeOrHigher(9); bot.userAgent.IE_DOC_PRE9 = goog.userAgent.IE && !goog.userAgent.isDocumentModeOrHigher(9); bot.userAgent.IE_DOC_10 = goog.userAgent.isDocumentModeOrHigher(10); bot.userAgent.IE_DOC_PRE10 = goog.userAgent.IE && !goog.userAgent.isDocumentModeOrHigher(10); bot.userAgent.ANDROID_PRE_GINGERBREAD = goog.userAgent.product.ANDROID && !bot.userAgent.isProductVersion(2.3); bot.userAgent.ANDROID_PRE_ICECREAMSANDWICH = goog.userAgent.product.ANDROID && !bot.userAgent.isProductVersion(4); bot.userAgent.SAFARI_6 = goog.userAgent.product.SAFARI && bot.userAgent.isProductVersion(6); bot.userAgent.WINDOWS_PHONE = goog.userAgent.IE && -1 != goog.userAgent.getUserAgentString().indexOf(“IEMobile”); goog.json = {}; goog.json.USE_NATIVE_JSON = !1; goog.json.isValid = function(a) {

return/^\s*$/.test(a) ? !1 : /^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g, "@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, "]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g, ""));

}; goog.json.parse = goog.json.USE_NATIVE_JSON ? goog.global.JSON.parse : function(a) {

a = String(a);
if (goog.json.isValid(a)) {
  try {
    return eval("(" + a + ")");
  } catch (b) {
  }
}
throw Error("Invalid JSON string: " + a);

}; goog.json.unsafeParse = goog.json.USE_NATIVE_JSON ? goog.global.JSON.parse : function(a) {

return eval("(" + a + ")");

}; goog.json.serialize = goog.json.USE_NATIVE_JSON ? goog.global.JSON.stringify : function(a, b) {

return(new goog.json.Serializer(b)).serialize(a);

}; goog.json.Serializer = function(a) {

this.replacer_ = a;

}; goog.json.Serializer.prototype.serialize = function(a) {

var b = [];
this.serializeInternal(a, b);
return b.join("");

}; goog.json.Serializer.prototype.serializeInternal = function(a, b) {

switch(typeof a) {
  case "string":
    this.serializeString_(a, b);
    break;
  case "number":
    this.serializeNumber_(a, b);
    break;
  case "boolean":
    b.push(a);
    break;
  case "undefined":
    b.push("null");
    break;
  case "object":
    if (null == a) {
      b.push("null");
      break;
    }
    if (goog.isArray(a)) {
      this.serializeArray(a, b);
      break;
    }
    this.serializeObject_(a, b);
    break;
  case "function":
    break;
  default:
    throw Error("Unknown type: " + typeof a);;
}

}; goog.json.Serializer.charToJsonCharCache_ = {'“':'\”', “\”:“\\”, “/”:“\/”, “b”:“\b”, “f”:“\f”, “n”:“\n”, “r”:“\r”, “t”:“\t”, “x0B”:“\u000b”}; goog.json.Serializer.charsToReplace_ = /uffff/.test(“uffff”) ? /[\"x00-x1fx7f-uffff]/g : /[\"x00-x1fx7f-xff]/g; goog.json.Serializer.prototype.serializeString_ = function(a, b) {

b.push('"', a.replace(goog.json.Serializer.charsToReplace_, function(a) {
  if (a in goog.json.Serializer.charToJsonCharCache_) {
    return goog.json.Serializer.charToJsonCharCache_[a];
  }
  var b = a.charCodeAt(0), e = "\\u";
  16 > b ? e += "000" : 256 > b ? e += "00" : 4096 > b && (e += "0");
  return goog.json.Serializer.charToJsonCharCache_[a] = e + b.toString(16);
}), '"');

}; goog.json.Serializer.prototype.serializeNumber_ = function(a, b) {

b.push(isFinite(a) && !isNaN(a) ? a : "null");

}; goog.json.Serializer.prototype.serializeArray = function(a, b) {

var c = a.length;
b.push("[");
for (var d = "", e = 0;e < c;e++) {
  b.push(d), d = a[e], this.serializeInternal(this.replacer_ ? this.replacer_.call(a, String(e), d) : d, b), d = ",";
}
b.push("]");

}; goog.json.Serializer.prototype.serializeObject_ = function(a, b) {

b.push("{");
var c = "", d;
for (d in a) {
  if (Object.prototype.hasOwnProperty.call(a, d)) {
    var e = a[d];
    "function" != typeof e && (b.push(c), this.serializeString_(d, b), b.push(":"), this.serializeInternal(this.replacer_ ? this.replacer_.call(a, d, e) : e, b), c = ",");
  }
}
b.push("}");

}; bot.json = {}; bot.json.NATIVE_JSON = !0; bot.json.SUPPORTS_NATIVE_JSON_ = goog.userAgent.WEBKIT || goog.userAgent.OPERA || goog.userAgent.GECKO && bot.userAgent.isEngineVersion(3.5) || goog.userAgent.IE && bot.userAgent.isEngineVersion(8); bot.json.stringify = bot.json.NATIVE_JSON && bot.json.SUPPORTS_NATIVE_JSON_ ? JSON.stringify : goog.json.serialize; bot.json.parse = bot.json.NATIVE_JSON && bot.json.SUPPORTS_NATIVE_JSON_ ? JSON.parse : goog.json.parse; var safaridriver = {dom:{}}; safaridriver.dom.call = function(a, b, c) {

var d = a.constructor;
if (a.window === a) {
  try {
    var e = a.constructor;
    delete a.constructor;
    d = a.constructor;
    a.constructor = e;
  } catch (f) {
  }
}
return d.prototype[b].apply(a, goog.array.slice(arguments, 2));

}; safaridriver.message = {}; safaridriver.message.ASSUME_DOM_WINDOW = !1; safaridriver.message.ORIGIN = “webdriver”; safaridriver.message.LOG_ = goog.log.getLogger(“safaridriver.message”); safaridriver.message.FORCE_SYNCHRONOUS_PROXY_SEND = !0; safaridriver.message.factoryRegistry_ = {}; safaridriver.message.registerMessageType = function(a, b) {

goog.asserts.assert(!(a in safaridriver.message.factoryRegistry_), "Message type has already been registered: " + a);
safaridriver.message.factoryRegistry_[a] = b;

}; safaridriver.message.throwInvalidMessageError = function(a) {

throw Error("Invalid message: " + bot.json.stringify(a));

}; safaridriver.message.fromEvent = function(a) {

a = a.message || a.data;
goog.isString(a) && (a = bot.json.parse(a));
if (!goog.isObject(a) || !goog.isString(a[safaridriver.message.Message.Field.ORIGIN]) && !goog.isNumber(a[safaridriver.message.Message.Field.ORIGIN]) || !goog.isString(a[safaridriver.message.Message.Field.TYPE])) {
  throw safaridriver.message.throwInvalidMessageError(a);
}
var b = safaridriver.message.factoryRegistry_[a[safaridriver.message.Message.Field.TYPE]];
b || (goog.log.fine(safaridriver.message.LOG_, "Unknown message type; falling back to the default factory: " + bot.json.stringify(a)), b = safaridriver.message.Message.fromData_);
b = b(a);
b.setOrigin(a[safaridriver.message.Message.Field.ORIGIN]);
return b;

}; safaridriver.message.Message = function(a) {

this.data_ = {};
this.data_[safaridriver.message.Message.Field.ORIGIN] = safaridriver.message.ORIGIN;
this.data_[safaridriver.message.Message.Field.TYPE] = a;

}; safaridriver.message.Message.Field = {ORIGIN:“origin”, TYPE:“type”}; safaridriver.message.Message.fromData_ = function(a) {

return new safaridriver.message.Message(a[safaridriver.message.Message.Field.TYPE]);

}; safaridriver.message.Message.prototype.setField = function(a, b) {

goog.asserts.assert(a !== safaridriver.message.Message.Field.TYPE, "The specified field may not be overridden: " + a);
this.data_[a] = b;

}; safaridriver.message.Message.prototype.getField = function(a) {

return this.data_[a];

}; safaridriver.message.Message.prototype.setOrigin = function(a) {

this.setField(safaridriver.message.Message.Field.ORIGIN, a);

}; safaridriver.message.Message.prototype.getOrigin = function() {

return this.getField(safaridriver.message.Message.Field.ORIGIN);

}; safaridriver.message.Message.prototype.isSameOrigin = function() {

return this.getOrigin() === safaridriver.message.ORIGIN;

}; safaridriver.message.Message.prototype.getType = function() {

return this.getField(safaridriver.message.Message.Field.TYPE);

}; safaridriver.message.Message.prototype.isType = function(a) {

return this.getField(safaridriver.message.Message.Field.TYPE) === a;

}; safaridriver.message.Message.prototype.send = function(a) {

this.setOrigin(safaridriver.message.ORIGIN);
if (safaridriver.message.ASSUME_DOM_WINDOW || a.postMessage) {
  if (a === window) {
    this.sendSync(a);
  } else {
    if (!goog.isFunction(a.postMessage)) {
      throw Error("Unable to send message; postMessage function not available on target window");
    }
    a.postMessage(this.data_, "*");
  }
} else {
  if (safaridriver.message.FORCE_SYNCHRONOUS_PROXY_SEND && a.canLoad) {
    return this.sendSync(a);
  }
  a.dispatchMessage(this.getType(), this.data_);
}

}; safaridriver.message.Message.SYNCHRONOUS_DOM_MESSAGE_EVENT_TYPE = “safaridriver.message”; safaridriver.message.Message.SYNCHRONOUS_MESSAGE_RESPONSE_EVENT_TYPE = “safaridriver.message.response”; safaridriver.message.Message.prototype.sendSync = function(a) {

this.setOrigin(safaridriver.message.ORIGIN);
if (safaridriver.message.ASSUME_DOM_WINDOW || a.postMessage) {
  goog.asserts.assert(a === window, "Synchronous messages may only be sent to a window when that window is the same as the current context");
  var b;
  a = function(a) {
    b = a.data;
  };
  safaridriver.dom.call(window, "addEventListener", safaridriver.message.Message.SYNCHRONOUS_MESSAGE_RESPONSE_EVENT_TYPE, a, !1);
  safaridriver.message.Message.sendMessageEvent_(safaridriver.message.Message.SYNCHRONOUS_DOM_MESSAGE_EVENT_TYPE, this.data_);
  safaridriver.dom.call(window, "removeEventListener", safaridriver.message.Message.SYNCHRONOUS_MESSAGE_RESPONSE_EVENT_TYPE, a, !1);
  return b;
}
var c = safaridriver.dom.call(document, "createEvent", "Events");
c.initEvent("beforeload", !1, !1);
return a.canLoad(c, this.data_);

}; safaridriver.message.Message.sendSyncResponse = function(a) {

safaridriver.message.Message.sendMessageEvent_(safaridriver.message.Message.SYNCHRONOUS_MESSAGE_RESPONSE_EVENT_TYPE, a);

}; safaridriver.message.Message.sendMessageEvent_ = function(a, b) {

var c = safaridriver.dom.call(document, "createEvent", "MessageEvent");
c.initMessageEvent(a, !1, !1, b, window.location.origin, "0", window, null);
safaridriver.dom.call(window, "dispatchEvent", c);

}; safaridriver.message.Message.prototype.toJSON = function() {

return this.data_;

}; safaridriver.message.Message.prototype.toString = function() {

return bot.json.stringify(this.toJSON());

}; safaridriver.message.Connect = function(a) {

safaridriver.message.Message.call(this, safaridriver.message.Connect.TYPE);
this.setField(safaridriver.message.Connect.URL_FIELD_, a);

}; goog.inherits(safaridriver.message.Connect, safaridriver.message.Message); safaridriver.message.Connect.TYPE = “connect”; safaridriver.message.Connect.URL_FIELD_ = “url”; safaridriver.message.Connect.fromData_ = function(a) {

var b = a[safaridriver.message.Connect.URL_FIELD_];
if (!goog.isString(b)) {
  throw safaridriver.message.throwInvalidMessageError(a);
}
return new safaridriver.message.Connect(b);

}; safaridriver.message.Connect.prototype.getUrl = function() {

return this.getField(safaridriver.message.Connect.URL_FIELD_);

}; safaridriver.message.registerMessageType(safaridriver.message.Connect.TYPE, safaridriver.message.Connect.fromData_); safaridriver.client = {}; safaridriver.client.init = function() {

function a() {
  e += 1;
  f.sendSync(window) ? (goog.log.info(c, "Connected to extension"), goog.log.info(c, "Requesting extension connect to client at " + d)) : 5 > e ? setTimeout(a, 250 * e) : goog.log.error(c, "Unable to establish a connection with the SafariDriver extension");
}
var b = document.createElement("h2");
b.innerHTML = "SafariDriver Launcher";
document.body.appendChild(b);
b = document.createElement("div");
document.body.appendChild(b);
(new goog.debug.DivConsole(b)).setCapturing(!0);
var c = goog.log.getLogger("safaridriver.client"), d = (new goog.Uri(window.location)).getQueryData().get("url");
if (d) {
  d = new goog.Uri(d);
  goog.log.info(c, "Connecting to SafariDriver browser extension...");
  goog.log.info(c, "This will fail if you have not installed the latest SafariDriver extension from\nhttp://selenium-release.storage.googleapis.com/index.html");
  goog.log.info(c, "Extension logs may be viewed by clicking the Selenium [\u2713] button on the Safari toolbar");
  var e = 0, f = new safaridriver.message.Connect(d.toString());
  a();
} else {
  goog.log.error(c, "No url specified. Please reload this page with the url parameter set");
}

}; goog.exportSymbol(“init”, safaridriver.client.init); ;window.onload = init;