@google/earthengine 1.7.12 → 1.7.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -254,14 +254,18 @@ $jscomp.generator.Context.prototype.throw_ = function(e) {
254
254
  this.abruptCompletion_ = {exception:e, isException:!0};
255
255
  this.jumpToErrorHandler_();
256
256
  };
257
- $jscomp.generator.Context.prototype.getNextAddress = function() {
257
+ $jscomp.generator.Context.prototype.getNextAddressJsc = function() {
258
258
  return this.nextAddress;
259
259
  };
260
- $jscomp.generator.Context.prototype.getNextAddress = $jscomp.generator.Context.prototype.getNextAddress;
261
- $jscomp.generator.Context.prototype.getYieldResult = function() {
260
+ $jscomp.generator.Context.prototype.getNextAddressJsc = function() {
261
+ return this.nextAddress;
262
+ };
263
+ $jscomp.generator.Context.prototype.getYieldResultJsc = function() {
264
+ return this.yieldResult;
265
+ };
266
+ $jscomp.generator.Context.prototype.getYieldResultJsc = function() {
262
267
  return this.yieldResult;
263
268
  };
264
- $jscomp.generator.Context.prototype.getYieldResult = $jscomp.generator.Context.prototype.getYieldResult;
265
269
  $jscomp.generator.Context.prototype.return = function(value) {
266
270
  this.abruptCompletion_ = {return:value};
267
271
  this.nextAddress = this.finallyAddress_;
@@ -1038,6 +1042,19 @@ $jscomp.polyfill("Map", function(NativeMap) {
1038
1042
  };
1039
1043
  return PolyfillMap;
1040
1044
  }, "es6", "es3");
1045
+ $jscomp.polyfill("Map.groupBy", function(orig) {
1046
+ return orig ? orig : function(items, callbackFn) {
1047
+ if (typeof callbackFn !== "function") {
1048
+ throw new TypeError("callbackFn must be a function");
1049
+ }
1050
+ for (var result = new Map(), index = 0, iter = $jscomp.makeIterator(items), entry = iter.next(); !entry.done; entry = iter.next()) {
1051
+ var item = entry.value, key = callbackFn(item, index++), group = result.get(key);
1052
+ group || (group = [], result.set(key, group));
1053
+ group.push(item);
1054
+ }
1055
+ return result;
1056
+ };
1057
+ }, "es_next", "es3");
1041
1058
  $jscomp.polyfill("Set", function(NativeSet) {
1042
1059
  function isConformant() {
1043
1060
  if ($jscomp.ASSUME_NO_NATIVE_SET || !NativeSet || typeof NativeSet != "function" || !NativeSet.prototype.entries || typeof Object.seal != "function") {
@@ -1366,9 +1383,9 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
1366
1383
  return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
1367
1384
  };
1368
1385
  }, "es8", "es3");
1369
- var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__disable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__disable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1,
1370
- GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable:!1, GoogFlags__jspb_use_constant_default_pivot__enable:!1, GoogFlags__jspb_write_back_bigint__disable:!1, GoogFlags__optimize_get_ei_from_ved__enable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1,
1371
- GoogFlags__wiz_enable_native_promise__enable:!1};
1386
+ var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__batch_fc_data_fetches_in_microtask__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__disable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__disable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1,
1387
+ GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable:!1, GoogFlags__jspb_use_constant_default_pivot__enable:!1, GoogFlags__jspb_write_back_bigint__disable:!1, GoogFlags__optimize_get_ei_from_ved__enable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_unobfuscated_rpc_method_names__enable:!1,
1388
+ GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
1372
1389
  /*
1373
1390
 
1374
1391
  Copyright The Closure Library Authors.
@@ -4879,45 +4896,45 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
4879
4896
  function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
4880
4897
  var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
4881
4898
  return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
4882
- if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
4899
+ if ($jscomp$generator$context$1153895636$29.getNextAddressJsc() == 1) {
4883
4900
  return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
4884
4901
  }
4885
- response = $jscomp$generator$context$1153895636$29.yieldResult;
4902
+ response = $jscomp$generator$context$1153895636$29.getYieldResultJsc();
4886
4903
  mimeType = ($jscomp$optchain$tmp1153895636$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmp1153895636$1 = $jscomp$optchain$tmp1153895636$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmp1153895636$2 = $jscomp$optchain$tmp1153895636$1[0]) == null ? void 0 : $jscomp$optchain$tmp1153895636$2.toLowerCase();
4887
4904
  return $jscomp$generator$context$1153895636$29.return({html:function() {
4888
4905
  var text;
4889
4906
  return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
4890
- if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
4907
+ if ($jscomp$generator$context$1153895636$26.getNextAddressJsc() == 1) {
4891
4908
  if (mimeType !== "text/html") {
4892
4909
  throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
4893
4910
  }
4894
4911
  return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
4895
4912
  }
4896
- text = $jscomp$generator$context$1153895636$26.yieldResult;
4913
+ text = $jscomp$generator$context$1153895636$26.getYieldResultJsc();
4897
4914
  return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
4898
4915
  });
4899
4916
  }, script:function() {
4900
4917
  var text;
4901
4918
  return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
4902
- if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
4919
+ if ($jscomp$generator$context$1153895636$27.getNextAddressJsc() == 1) {
4903
4920
  if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
4904
4921
  throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
4905
4922
  }
4906
4923
  return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
4907
4924
  }
4908
- text = $jscomp$generator$context$1153895636$27.yieldResult;
4925
+ text = $jscomp$generator$context$1153895636$27.getYieldResultJsc();
4909
4926
  return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
4910
4927
  });
4911
4928
  }, styleSheet:function() {
4912
4929
  var text;
4913
4930
  return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
4914
- if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
4931
+ if ($jscomp$generator$context$1153895636$28.getNextAddressJsc() == 1) {
4915
4932
  if (mimeType !== "text/css") {
4916
4933
  throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
4917
4934
  }
4918
4935
  return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
4919
4936
  }
4920
- text = $jscomp$generator$context$1153895636$28.yieldResult;
4937
+ text = $jscomp$generator$context$1153895636$28.getYieldResultJsc();
4921
4938
  return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
4922
4939
  });
4923
4940
  }});
@@ -6601,6 +6618,8 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_arr
6601
6618
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable = !1;
6602
6619
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_write_back_bigint__disable = !1;
6603
6620
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable = !1;
6621
+ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__batch_fc_data_fetches_in_microtask__enable = !1;
6622
+ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_unobfuscated_rpc_method_names__enable = !1;
6604
6623
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
6605
6624
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
6606
6625
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable = !1;
@@ -6623,6 +6642,8 @@ goog.flags.JSPB_THROW_IN_ARRAY_CONSTRUCTOR_IF_ARRAY_IS_ALREADY_CONSTRUCTED = mod
6623
6642
  goog.flags.JSPB_DESERIALIZE_BINARY_INT64S_AS_GBIGINT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable : goog.readFlagInternalDoNotUseOrElse(824648567, !0);
6624
6643
  goog.flags.JSPB_WRITE_BACK_BIGINT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_write_back_bigint__disable) : goog.readFlagInternalDoNotUseOrElse(824656860, module$contents$goog$flags_STAGING);
6625
6644
  goog.flags.OPTIMIZE_GET_EI_FROM_VED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable : goog.readFlagInternalDoNotUseOrElse(333098724, !1);
6645
+ goog.flags.BATCH_FC_DATA_FETCHES_IN_MICROTASK = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__batch_fc_data_fetches_in_microtask__enable : goog.readFlagInternalDoNotUseOrElse(861377723, goog.DEBUG);
6646
+ goog.flags.USE_UNOBFUSCATED_RPC_METHOD_NAMES = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_unobfuscated_rpc_method_names__enable : goog.readFlagInternalDoNotUseOrElse(861377724, goog.DEBUG);
6626
6647
  goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
6627
6648
  goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
6628
6649
  goog.flags.TESTONLY_STAGING_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable) : goog.readFlagInternalDoNotUseOrElse(2147483646, module$contents$goog$flags_STAGING);
@@ -6723,7 +6744,7 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
6723
6744
  module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.load = function() {
6724
6745
  var $jscomp$async$this$m2110036436$9 = this, userAgentData;
6725
6746
  return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m2110036436$35) {
6726
- if ($jscomp$generator$context$m2110036436$35.nextAddress == 1) {
6747
+ if ($jscomp$generator$context$m2110036436$35.getNextAddressJsc() == 1) {
6727
6748
  userAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData();
6728
6749
  if (!userAgentData) {
6729
6750
  return $jscomp$generator$context$m2110036436$35.return(void 0);
@@ -6731,11 +6752,11 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
6731
6752
  $jscomp$async$this$m2110036436$9.promise_ || ($jscomp$async$this$m2110036436$9.pending_ = !0, $jscomp$async$this$m2110036436$9.promise_ = function() {
6732
6753
  var dataValues;
6733
6754
  return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m2110036436$34) {
6734
- if ($jscomp$generator$context$m2110036436$34.nextAddress == 1) {
6755
+ if ($jscomp$generator$context$m2110036436$34.getNextAddressJsc() == 1) {
6735
6756
  return $jscomp$generator$context$m2110036436$34.setFinallyBlock(2), $jscomp$generator$context$m2110036436$34.yield(userAgentData.getHighEntropyValues([$jscomp$async$this$m2110036436$9.key_]), 4);
6736
6757
  }
6737
- if ($jscomp$generator$context$m2110036436$34.nextAddress != 2) {
6738
- return dataValues = $jscomp$generator$context$m2110036436$34.yieldResult, $jscomp$async$this$m2110036436$9.value_ = dataValues[$jscomp$async$this$m2110036436$9.key_], $jscomp$generator$context$m2110036436$34.return($jscomp$async$this$m2110036436$9.value_);
6758
+ if ($jscomp$generator$context$m2110036436$34.getNextAddressJsc() != 2) {
6759
+ return dataValues = $jscomp$generator$context$m2110036436$34.getYieldResultJsc(), $jscomp$async$this$m2110036436$9.value_ = dataValues[$jscomp$async$this$m2110036436$9.key_], $jscomp$generator$context$m2110036436$34.return($jscomp$async$this$m2110036436$9.value_);
6739
6760
  }
6740
6761
  $jscomp$generator$context$m2110036436$34.enterFinallyBlock();
6741
6762
  $jscomp$async$this$m2110036436$9.pending_ = !1;
@@ -6744,7 +6765,7 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
6744
6765
  }());
6745
6766
  return $jscomp$generator$context$m2110036436$35.yield($jscomp$async$this$m2110036436$9.promise_, 2);
6746
6767
  }
6747
- return $jscomp$generator$context$m2110036436$35.return($jscomp$generator$context$m2110036436$35.yieldResult);
6768
+ return $jscomp$generator$context$m2110036436$35.return($jscomp$generator$context$m2110036436$35.getYieldResultJsc());
6748
6769
  });
6749
6770
  };
6750
6771
  module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.resetForTesting = function() {
@@ -6994,10 +7015,10 @@ module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.ge
6994
7015
  module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.load = function() {
6995
7016
  var $jscomp$async$this$1683157560$59 = this, loadedVersionList, matchingBrand;
6996
7017
  return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1683157560$106) {
6997
- if ($jscomp$generator$context$1683157560$106.nextAddress == 1) {
7018
+ if ($jscomp$generator$context$1683157560$106.getNextAddressJsc() == 1) {
6998
7019
  return $jscomp$async$this$1683157560$59.useUach_ ? $jscomp$generator$context$1683157560$106.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(), 5) : $jscomp$generator$context$1683157560$106.yield(0, 3);
6999
7020
  }
7000
- if ($jscomp$generator$context$1683157560$106.nextAddress != 3 && (loadedVersionList = $jscomp$generator$context$1683157560$106.yieldResult, loadedVersionList !== void 0)) {
7021
+ if ($jscomp$generator$context$1683157560$106.getNextAddressJsc() != 3 && (loadedVersionList = $jscomp$generator$context$1683157560$106.getYieldResultJsc(), loadedVersionList !== void 0)) {
7001
7022
  return matchingBrand = loadedVersionList.find(function($jscomp$destructuring$var11) {
7002
7023
  return $jscomp$async$this$1683157560$59.brand_ === $jscomp$destructuring$var11.brand;
7003
7024
  }), (0,goog.asserts.assertExists)(matchingBrand), $jscomp$generator$context$1683157560$106.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(matchingBrand.version));
@@ -7009,7 +7030,7 @@ module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.lo
7009
7030
  var module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !1;
7010
7031
  goog.labs.userAgent.browser.loadFullVersions = function() {
7011
7032
  return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1683157560$107) {
7012
- if ($jscomp$generator$context$1683157560$107.nextAddress == 1) {
7033
+ if ($jscomp$generator$context$1683157560$107.getNextAddressJsc() == 1) {
7013
7034
  return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0) ? $jscomp$generator$context$1683157560$107.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(), 2) : $jscomp$generator$context$1683157560$107.jumpTo(2);
7014
7035
  }
7015
7036
  module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !0;
@@ -7194,14 +7215,14 @@ module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.getIfLoad
7194
7215
  module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.load = function() {
7195
7216
  var $jscomp$async$this$m1628565157$33 = this, JSCompiler_temp_const;
7196
7217
  return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m1628565157$37) {
7197
- if ($jscomp$generator$context$m1628565157$37.nextAddress == 1) {
7218
+ if ($jscomp$generator$context$m1628565157$37.getNextAddressJsc() == 1) {
7198
7219
  if (!module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(!0)) {
7199
7220
  return $jscomp$async$this$m1628565157$33.preUachHasLoaded_ = !0, $jscomp$generator$context$m1628565157$37.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion()));
7200
7221
  }
7201
7222
  JSCompiler_temp_const = module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version;
7202
7223
  return $jscomp$generator$context$m1628565157$37.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.load(), 3);
7203
7224
  }
7204
- return $jscomp$generator$context$m1628565157$37.return(new JSCompiler_temp_const($jscomp$generator$context$m1628565157$37.yieldResult));
7225
+ return $jscomp$generator$context$m1628565157$37.return(new JSCompiler_temp_const($jscomp$generator$context$m1628565157$37.getYieldResultJsc()));
7205
7226
  });
7206
7227
  };
7207
7228
  module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.resetForTesting = function() {
@@ -7366,15 +7387,16 @@ goog.events.eventTypeHelpers.getPointerFallbackEventName = function(pointerEvent
7366
7387
  return goog.events.BrowserFeature.POINTER_EVENTS ? pointerEventName : fallbackEventName;
7367
7388
  };
7368
7389
  goog.events.eventTypeHelpers.getVendorPrefixedName = module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName;
7369
- goog.events.EventType = {CLICK:"click", RIGHTCLICK:"rightclick", DBLCLICK:"dblclick", AUXCLICK:"auxclick", MOUSEDOWN:"mousedown", MOUSEUP:"mouseup", MOUSEOVER:"mouseover", MOUSEOUT:"mouseout", MOUSEMOVE:"mousemove", MOUSEENTER:"mouseenter", MOUSELEAVE:"mouseleave", MOUSECANCEL:"mousecancel", SELECTIONCHANGE:"selectionchange", SELECTSTART:"selectstart", WHEEL:"wheel", KEYPRESS:"keypress", KEYDOWN:"keydown", KEYUP:"keyup", BLUR:"blur", FOCUS:"focus", DEACTIVATE:"deactivate", FOCUSIN:"focusin", FOCUSOUT:"focusout",
7370
- CHANGE:"change", RESET:"reset", SELECT:"select", SUBMIT:"submit", INPUT:"input", PROPERTYCHANGE:"propertychange", DRAGSTART:"dragstart", DRAG:"drag", DRAGENTER:"dragenter", DRAGOVER:"dragover", DRAGLEAVE:"dragleave", DROP:"drop", DRAGEND:"dragend", TOUCHSTART:"touchstart", TOUCHMOVE:"touchmove", TOUCHEND:"touchend", TOUCHCANCEL:"touchcancel", BEFOREUNLOAD:"beforeunload", CONSOLEMESSAGE:"consolemessage", CONTEXTMENU:"contextmenu", DEVICECHANGE:"devicechange", DEVICEMOTION:"devicemotion", DEVICEORIENTATION:"deviceorientation",
7371
- DOMCONTENTLOADED:"DOMContentLoaded", ERROR:"error", HELP:"help", LOAD:"load", LOSECAPTURE:"losecapture", ORIENTATIONCHANGE:"orientationchange", READYSTATECHANGE:"readystatechange", RESIZE:"resize", SCROLL:"scroll", UNLOAD:"unload", CANPLAY:"canplay", CANPLAYTHROUGH:"canplaythrough", DURATIONCHANGE:"durationchange", EMPTIED:"emptied", ENDED:"ended", LOADEDDATA:"loadeddata", LOADEDMETADATA:"loadedmetadata", PAUSE:"pause", PLAY:"play", PLAYING:"playing", PROGRESS:"progress", RATECHANGE:"ratechange",
7372
- SEEKED:"seeked", SEEKING:"seeking", STALLED:"stalled", SUSPEND:"suspend", TIMEUPDATE:"timeupdate", VOLUMECHANGE:"volumechange", WAITING:"waiting", SOURCEOPEN:"sourceopen", SOURCEENDED:"sourceended", SOURCECLOSED:"sourceclosed", ABORT:"abort", UPDATE:"update", UPDATESTART:"updatestart", UPDATEEND:"updateend", HASHCHANGE:"hashchange", PAGEHIDE:"pagehide", PAGESHOW:"pageshow", POPSTATE:"popstate", COPY:"copy", PASTE:"paste", CUT:"cut", BEFORECOPY:"beforecopy", BEFORECUT:"beforecut", BEFOREPASTE:"beforepaste",
7373
- ONLINE:"online", OFFLINE:"offline", MESSAGE:"message", CONNECT:"connect", INSTALL:"install", ACTIVATE:"activate", FETCH:"fetch", FOREIGNFETCH:"foreignfetch", MESSAGEERROR:"messageerror", STATECHANGE:"statechange", UPDATEFOUND:"updatefound", CONTROLLERCHANGE:"controllerchange", ANIMATIONSTART:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationStart"), ANIMATIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationEnd"), ANIMATIONITERATION:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationIteration"),
7374
- TRANSITIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("TransitionEnd"), POINTERDOWN:"pointerdown", POINTERUP:"pointerup", POINTERCANCEL:"pointercancel", POINTERMOVE:"pointermove", POINTEROVER:"pointerover", POINTEROUT:"pointerout", POINTERENTER:"pointerenter", POINTERLEAVE:"pointerleave", GOTPOINTERCAPTURE:"gotpointercapture", LOSTPOINTERCAPTURE:"lostpointercapture", MSGESTURECHANGE:"MSGestureChange", MSGESTUREEND:"MSGestureEnd", MSGESTUREHOLD:"MSGestureHold", MSGESTURESTART:"MSGestureStart",
7375
- MSGESTURETAP:"MSGestureTap", MSGOTPOINTERCAPTURE:"MSGotPointerCapture", MSINERTIASTART:"MSInertiaStart", MSLOSTPOINTERCAPTURE:"MSLostPointerCapture", MSPOINTERCANCEL:"MSPointerCancel", MSPOINTERDOWN:"MSPointerDown", MSPOINTERENTER:"MSPointerEnter", MSPOINTERHOVER:"MSPointerHover", MSPOINTERLEAVE:"MSPointerLeave", MSPOINTERMOVE:"MSPointerMove", MSPOINTEROUT:"MSPointerOut", MSPOINTEROVER:"MSPointerOver", MSPOINTERUP:"MSPointerUp", TEXT:"text", TEXTINPUT:"textInput", COMPOSITIONSTART:"compositionstart",
7376
- COMPOSITIONUPDATE:"compositionupdate", COMPOSITIONEND:"compositionend", BEFOREINPUT:"beforeinput", FULLSCREENCHANGE:"fullscreenchange", WEBKITBEGINFULLSCREEN:"webkitbeginfullscreen", WEBKITENDFULLSCREEN:"webkitendfullscreen", EXIT:"exit", LOADABORT:"loadabort", LOADCOMMIT:"loadcommit", LOADREDIRECT:"loadredirect", LOADSTART:"loadstart", LOADSTOP:"loadstop", RESPONSIVE:"responsive", SIZECHANGED:"sizechanged", UNRESPONSIVE:"unresponsive", VISIBILITYCHANGE:"visibilitychange", STORAGE:"storage", BEFOREPRINT:"beforeprint",
7377
- AFTERPRINT:"afterprint", BEFOREINSTALLPROMPT:"beforeinstallprompt", APPINSTALLED:"appinstalled", CANCEL:"cancel", FINISH:"finish", REMOVE:"remove"};
7390
+ var module$contents$goog$events$EventType_EventType = {CLICK:"click", RIGHTCLICK:"rightclick", DBLCLICK:"dblclick", AUXCLICK:"auxclick", MOUSEDOWN:"mousedown", MOUSEUP:"mouseup", MOUSEOVER:"mouseover", MOUSEOUT:"mouseout", MOUSEMOVE:"mousemove", MOUSEENTER:"mouseenter", MOUSELEAVE:"mouseleave", MOUSECANCEL:"mousecancel", SELECTIONCHANGE:"selectionchange", SELECTSTART:"selectstart", WHEEL:"wheel", KEYPRESS:"keypress", KEYDOWN:"keydown", KEYUP:"keyup", BLUR:"blur", FOCUS:"focus", DEACTIVATE:"deactivate",
7391
+ FOCUSIN:"focusin", FOCUSOUT:"focusout", CHANGE:"change", RESET:"reset", SELECT:"select", SUBMIT:"submit", INPUT:"input", PROPERTYCHANGE:"propertychange", DRAGSTART:"dragstart", DRAG:"drag", DRAGENTER:"dragenter", DRAGOVER:"dragover", DRAGLEAVE:"dragleave", DROP:"drop", DRAGEND:"dragend", TOUCHSTART:"touchstart", TOUCHMOVE:"touchmove", TOUCHEND:"touchend", TOUCHCANCEL:"touchcancel", BEFOREUNLOAD:"beforeunload", CONSOLEMESSAGE:"consolemessage", CONTEXTMENU:"contextmenu", DEVICECHANGE:"devicechange",
7392
+ DEVICEMOTION:"devicemotion", DEVICEORIENTATION:"deviceorientation", DOMCONTENTLOADED:"DOMContentLoaded", ERROR:"error", HELP:"help", LOAD:"load", LOSECAPTURE:"losecapture", ORIENTATIONCHANGE:"orientationchange", READYSTATECHANGE:"readystatechange", RESIZE:"resize", SCROLL:"scroll", UNLOAD:"unload", CANPLAY:"canplay", CANPLAYTHROUGH:"canplaythrough", DURATIONCHANGE:"durationchange", EMPTIED:"emptied", ENDED:"ended", LOADEDDATA:"loadeddata", LOADEDMETADATA:"loadedmetadata", PAUSE:"pause", PLAY:"play",
7393
+ PLAYING:"playing", PROGRESS:"progress", RATECHANGE:"ratechange", SEEKED:"seeked", SEEKING:"seeking", STALLED:"stalled", SUSPEND:"suspend", TIMEUPDATE:"timeupdate", VOLUMECHANGE:"volumechange", WAITING:"waiting", SOURCEOPEN:"sourceopen", SOURCEENDED:"sourceended", SOURCECLOSED:"sourceclosed", ABORT:"abort", UPDATE:"update", UPDATESTART:"updatestart", UPDATEEND:"updateend", HASHCHANGE:"hashchange", PAGEHIDE:"pagehide", PAGESHOW:"pageshow", POPSTATE:"popstate", COPY:"copy", PASTE:"paste", CUT:"cut",
7394
+ BEFORECOPY:"beforecopy", BEFORECUT:"beforecut", BEFOREPASTE:"beforepaste", ONLINE:"online", OFFLINE:"offline", MESSAGE:"message", CONNECT:"connect", INSTALL:"install", ACTIVATE:"activate", FETCH:"fetch", FOREIGNFETCH:"foreignfetch", MESSAGEERROR:"messageerror", STATECHANGE:"statechange", UPDATEFOUND:"updatefound", CONTROLLERCHANGE:"controllerchange", ANIMATIONSTART:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationStart"), ANIMATIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationEnd"),
7395
+ ANIMATIONITERATION:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationIteration"), TRANSITIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("TransitionEnd"), POINTERDOWN:"pointerdown", POINTERUP:"pointerup", POINTERCANCEL:"pointercancel", POINTERMOVE:"pointermove", POINTEROVER:"pointerover", POINTEROUT:"pointerout", POINTERENTER:"pointerenter", POINTERLEAVE:"pointerleave", GOTPOINTERCAPTURE:"gotpointercapture", LOSTPOINTERCAPTURE:"lostpointercapture",
7396
+ MSGESTURECHANGE:"MSGestureChange", MSGESTUREEND:"MSGestureEnd", MSGESTUREHOLD:"MSGestureHold", MSGESTURESTART:"MSGestureStart", MSGESTURETAP:"MSGestureTap", MSGOTPOINTERCAPTURE:"MSGotPointerCapture", MSINERTIASTART:"MSInertiaStart", MSLOSTPOINTERCAPTURE:"MSLostPointerCapture", MSPOINTERCANCEL:"MSPointerCancel", MSPOINTERDOWN:"MSPointerDown", MSPOINTERENTER:"MSPointerEnter", MSPOINTERHOVER:"MSPointerHover", MSPOINTERLEAVE:"MSPointerLeave", MSPOINTERMOVE:"MSPointerMove", MSPOINTEROUT:"MSPointerOut",
7397
+ MSPOINTEROVER:"MSPointerOver", MSPOINTERUP:"MSPointerUp", TEXT:"text", TEXTINPUT:"textInput", COMPOSITIONSTART:"compositionstart", COMPOSITIONUPDATE:"compositionupdate", COMPOSITIONEND:"compositionend", BEFOREINPUT:"beforeinput", FULLSCREENCHANGE:"fullscreenchange", WEBKITBEGINFULLSCREEN:"webkitbeginfullscreen", WEBKITENDFULLSCREEN:"webkitendfullscreen", EXIT:"exit", LOADABORT:"loadabort", LOADCOMMIT:"loadcommit", LOADREDIRECT:"loadredirect", LOADSTART:"loadstart", LOADSTOP:"loadstop", RESPONSIVE:"responsive",
7398
+ SIZECHANGED:"sizechanged", UNRESPONSIVE:"unresponsive", VISIBILITYCHANGE:"visibilitychange", STORAGE:"storage", BEFOREPRINT:"beforeprint", AFTERPRINT:"afterprint", BEFOREINSTALLPROMPT:"beforeinstallprompt", APPINSTALLED:"appinstalled", CANCEL:"cancel", FINISH:"finish", REMOVE:"remove"};
7399
+ goog.events.EventType = module$contents$goog$events$EventType_EventType;
7378
7400
  function module$contents$goog$events$BrowserEvent_BrowserEvent(opt_e, opt_currentTarget) {
7379
7401
  goog.events.Event.call(this, opt_e ? opt_e.type : "");
7380
7402
  this.relatedTarget = this.currentTarget = this.target = null;
@@ -7399,7 +7421,7 @@ module$contents$goog$events$BrowserEvent_BrowserEvent.prototype.init = function(
7399
7421
  this.target = e.target || e.srcElement;
7400
7422
  this.currentTarget = opt_currentTarget;
7401
7423
  var relatedTarget = e.relatedTarget;
7402
- relatedTarget || (type == goog.events.EventType.MOUSEOVER ? relatedTarget = e.fromElement : type == goog.events.EventType.MOUSEOUT && (relatedTarget = e.toElement));
7424
+ relatedTarget || (type == module$contents$goog$events$EventType_EventType.MOUSEOVER ? relatedTarget = e.fromElement : type == module$contents$goog$events$EventType_EventType.MOUSEOUT && (relatedTarget = e.toElement));
7403
7425
  this.relatedTarget = relatedTarget;
7404
7426
  relevantTouch ? (this.clientX = relevantTouch.clientX !== void 0 ? relevantTouch.clientX : relevantTouch.pageX, this.clientY = relevantTouch.clientY !== void 0 ? relevantTouch.clientY : relevantTouch.pageY, this.screenX = relevantTouch.screenX || 0, this.screenY = relevantTouch.screenY || 0) : (module$contents$goog$events$BrowserEvent_BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY ? (this.offsetX = e.layerX !== void 0 ? e.layerX : e.offsetX, this.offsetY = e.layerY !== void 0 ? e.layerY : e.offsetY) :
7405
7427
  (this.offsetX = goog.userAgent.WEBKIT || e.offsetX !== void 0 ? e.offsetX : e.layerX, this.offsetY = goog.userAgent.WEBKIT || e.offsetY !== void 0 ? e.offsetY : e.layerY), this.clientX = e.clientX !== void 0 ? e.clientX : e.pageX, this.clientY = e.clientY !== void 0 ? e.clientY : e.pageY, this.screenX = e.screenX || 0, this.screenY = e.screenY || 0);
@@ -19185,7 +19207,8 @@ var module$contents$goog$net$ErrorCode_ErrorCode = {NO_ERROR:0, ACCESS_DENIED:1,
19185
19207
  }
19186
19208
  }};
19187
19209
  goog.net.ErrorCode = module$contents$goog$net$ErrorCode_ErrorCode;
19188
- goog.net.EventType = {COMPLETE:"complete", SUCCESS:"success", ERROR:"error", ABORT:"abort", READY:"ready", READY_STATE_CHANGE:"readystatechange", TIMEOUT:"timeout", INCREMENTAL_DATA:"incrementaldata", PROGRESS:"progress", DOWNLOAD_PROGRESS:"downloadprogress", UPLOAD_PROGRESS:"uploadprogress"};
19210
+ var module$contents$goog$net$EventType_EventType = {COMPLETE:"complete", SUCCESS:"success", ERROR:"error", ABORT:"abort", READY:"ready", READY_STATE_CHANGE:"readystatechange", TIMEOUT:"timeout", INCREMENTAL_DATA:"incrementaldata", PROGRESS:"progress", DOWNLOAD_PROGRESS:"downloadprogress", UPLOAD_PROGRESS:"uploadprogress"};
19211
+ goog.net.EventType = module$contents$goog$net$EventType_EventType;
19189
19212
  var module$contents$goog$net$HttpStatus_HttpStatus = {CONTINUE:100, SWITCHING_PROTOCOLS:101, OK:200, CREATED:201, ACCEPTED:202, NON_AUTHORITATIVE_INFORMATION:203, NO_CONTENT:204, RESET_CONTENT:205, PARTIAL_CONTENT:206, MULTI_STATUS:207, MULTIPLE_CHOICES:300, MOVED_PERMANENTLY:301, FOUND:302, SEE_OTHER:303, NOT_MODIFIED:304, USE_PROXY:305, TEMPORARY_REDIRECT:307, PERMANENT_REDIRECT:308, BAD_REQUEST:400, UNAUTHORIZED:401, PAYMENT_REQUIRED:402, FORBIDDEN:403, NOT_FOUND:404, METHOD_NOT_ALLOWED:405, NOT_ACCEPTABLE:406,
19190
19213
  PROXY_AUTHENTICATION_REQUIRED:407, REQUEST_TIMEOUT:408, CONFLICT:409, GONE:410, LENGTH_REQUIRED:411, PRECONDITION_FAILED:412, REQUEST_ENTITY_TOO_LARGE:413, REQUEST_URI_TOO_LONG:414, UNSUPPORTED_MEDIA_TYPE:415, REQUEST_RANGE_NOT_SATISFIABLE:416, EXPECTATION_FAILED:417, UNPROCESSABLE_ENTITY:422, LOCKED:423, FAILED_DEPENDENCY:424, PRECONDITION_REQUIRED:428, TOO_MANY_REQUESTS:429, REQUEST_HEADER_FIELDS_TOO_LARGE:431, CLIENT_CLOSED_REQUEST:499, INTERNAL_SERVER_ERROR:500, NOT_IMPLEMENTED:501, BAD_GATEWAY:502,
19191
19214
  SERVICE_UNAVAILABLE:503, GATEWAY_TIMEOUT:504, HTTP_VERSION_NOT_SUPPORTED:505, INSUFFICIENT_STORAGE:507, NETWORK_AUTHENTICATION_REQUIRED:511, QUIRK_IE_NO_CONTENT:1223, isSuccess:function(status) {
@@ -19266,8 +19289,8 @@ goog.net.XhrIo.sendInstances_ = [];
19266
19289
  goog.net.XhrIo.send = function(url, opt_callback, opt_method, opt_content, opt_headers, opt_timeoutInterval, opt_withCredentials) {
19267
19290
  var x = new goog.net.XhrIo();
19268
19291
  goog.net.XhrIo.sendInstances_.push(x);
19269
- opt_callback && x.listen(goog.net.EventType.COMPLETE, opt_callback);
19270
- x.listenOnce(goog.net.EventType.READY, x.cleanupSend_);
19292
+ opt_callback && x.listen(module$contents$goog$net$EventType_EventType.COMPLETE, opt_callback);
19293
+ x.listenOnce(module$contents$goog$net$EventType_EventType.READY, x.cleanupSend_);
19271
19294
  opt_timeoutInterval && x.setTimeoutInterval(opt_timeoutInterval);
19272
19295
  opt_withCredentials && x.setWithCredentials(opt_withCredentials);
19273
19296
  x.send(url, opt_method, opt_content, opt_headers);
@@ -19394,7 +19417,7 @@ goog.net.XhrIo.prototype.createXhr = function() {
19394
19417
  return this.xmlHttpFactory_ ? this.xmlHttpFactory_.createInstance() : goog.net.XmlHttp();
19395
19418
  };
19396
19419
  goog.net.XhrIo.prototype.timeout_ = function() {
19397
- typeof goog != "undefined" && this.xhr_ && (this.lastError_ = "Timed out after " + this.timeoutInterval_ + "ms, aborting", this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT, goog.log.fine(this.logger_, this.formatMsg_(this.lastError_)), this.dispatchEvent(goog.net.EventType.TIMEOUT), this.abort(module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT));
19420
+ typeof goog != "undefined" && this.xhr_ && (this.lastError_ = "Timed out after " + this.timeoutInterval_ + "ms, aborting", this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT, goog.log.fine(this.logger_, this.formatMsg_(this.lastError_)), this.dispatchEvent(module$contents$goog$net$EventType_EventType.TIMEOUT), this.abort(module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT));
19398
19421
  };
19399
19422
  goog.net.XhrIo.prototype.error_ = function(errorCode, err) {
19400
19423
  this.active_ = !1;
@@ -19405,10 +19428,10 @@ goog.net.XhrIo.prototype.error_ = function(errorCode, err) {
19405
19428
  this.cleanUpXhr_();
19406
19429
  };
19407
19430
  goog.net.XhrIo.prototype.dispatchErrors_ = function() {
19408
- this.errorDispatched_ || (this.errorDispatched_ = !0, this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.ERROR));
19431
+ this.errorDispatched_ || (this.errorDispatched_ = !0, this.dispatchEvent(module$contents$goog$net$EventType_EventType.COMPLETE), this.dispatchEvent(module$contents$goog$net$EventType_EventType.ERROR));
19409
19432
  };
19410
19433
  goog.net.XhrIo.prototype.abort = function(opt_failureCode) {
19411
- this.xhr_ && this.active_ && (goog.log.fine(this.logger_, this.formatMsg_("Aborting")), this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1, this.lastErrorCode_ = opt_failureCode || module$contents$goog$net$ErrorCode_ErrorCode.ABORT, this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.ABORT), this.cleanUpXhr_());
19434
+ this.xhr_ && this.active_ && (goog.log.fine(this.logger_, this.formatMsg_("Aborting")), this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1, this.lastErrorCode_ = opt_failureCode || module$contents$goog$net$ErrorCode_ErrorCode.ABORT, this.dispatchEvent(module$contents$goog$net$EventType_EventType.COMPLETE), this.dispatchEvent(module$contents$goog$net$EventType_EventType.ABORT), this.cleanUpXhr_());
19412
19435
  };
19413
19436
  goog.net.XhrIo.prototype.disposeInternal = function() {
19414
19437
  this.xhr_ && (this.active_ && (this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1), this.cleanUpXhr_(!0));
@@ -19431,11 +19454,11 @@ goog.net.XhrIo.prototype.onReadyStateChangeHelper_ = function() {
19431
19454
  if (this.inSend_ && this.getReadyState() == goog.net.XmlHttp.ReadyState.COMPLETE) {
19432
19455
  setTimeout(this.onReadyStateChange_.bind(this), 0);
19433
19456
  } else {
19434
- if (this.dispatchEvent(goog.net.EventType.READY_STATE_CHANGE), this.isComplete()) {
19457
+ if (this.dispatchEvent(module$contents$goog$net$EventType_EventType.READY_STATE_CHANGE), this.isComplete()) {
19435
19458
  goog.log.fine(this.logger_, this.formatMsg_("Request complete"));
19436
19459
  this.active_ = !1;
19437
19460
  try {
19438
- this.isSuccess() ? (this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.SUCCESS)) : (this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.HTTP_ERROR, this.lastError_ = this.getStatusText() + " [" + this.getStatus() + "]", this.dispatchErrors_());
19461
+ this.isSuccess() ? (this.dispatchEvent(module$contents$goog$net$EventType_EventType.COMPLETE), this.dispatchEvent(module$contents$goog$net$EventType_EventType.SUCCESS)) : (this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.HTTP_ERROR, this.lastError_ = this.getStatusText() + " [" + this.getStatus() + "]", this.dispatchErrors_());
19439
19462
  } finally {
19440
19463
  this.cleanUpXhr_();
19441
19464
  }
@@ -19444,9 +19467,9 @@ goog.net.XhrIo.prototype.onReadyStateChangeHelper_ = function() {
19444
19467
  }
19445
19468
  };
19446
19469
  goog.net.XhrIo.prototype.onProgressHandler_ = function(e, opt_isDownload) {
19447
- goog.asserts.assert(e.type === goog.net.EventType.PROGRESS, "goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");
19448
- this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(e, goog.net.EventType.PROGRESS));
19449
- this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(e, opt_isDownload ? goog.net.EventType.DOWNLOAD_PROGRESS : goog.net.EventType.UPLOAD_PROGRESS));
19470
+ goog.asserts.assert(e.type === module$contents$goog$net$EventType_EventType.PROGRESS, "goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");
19471
+ this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(e, module$contents$goog$net$EventType_EventType.PROGRESS));
19472
+ this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(e, opt_isDownload ? module$contents$goog$net$EventType_EventType.DOWNLOAD_PROGRESS : module$contents$goog$net$EventType_EventType.UPLOAD_PROGRESS));
19450
19473
  };
19451
19474
  goog.net.XhrIo.buildProgressEvent_ = function(e, eventType) {
19452
19475
  return {type:eventType, lengthComputable:e.lengthComputable, loaded:e.loaded, total:e.total};
@@ -19456,7 +19479,7 @@ goog.net.XhrIo.prototype.cleanUpXhr_ = function(opt_fromDispose) {
19456
19479
  this.cleanUpTimeoutTimer_();
19457
19480
  var xhr = this.xhr_;
19458
19481
  this.xhr_ = null;
19459
- opt_fromDispose || this.dispatchEvent(goog.net.EventType.READY);
19482
+ opt_fromDispose || this.dispatchEvent(module$contents$goog$net$EventType_EventType.READY);
19460
19483
  try {
19461
19484
  xhr.onreadystatechange = null;
19462
19485
  } catch (e) {
@@ -19602,7 +19625,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
19602
19625
  ee.apiclient = {};
19603
19626
  var module$contents$ee$apiclient_apiclient = {};
19604
19627
  ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
19605
- ee.apiclient.API_CLIENT_VERSION = "1.7.12";
19628
+ ee.apiclient.API_CLIENT_VERSION = "1.7.13";
19606
19629
  ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
19607
19630
  ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
19608
19631
  ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
@@ -19907,8 +19930,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
19907
19930
  var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
19908
19931
  body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
19909
19932
  method = method || "POST";
19910
- var headers = {"Content-Type":contentType}, version = "1.7.12";
19911
- version === "1.7.12" && (version = "latest");
19933
+ var headers = {"Content-Type":contentType}, version = "1.7.13";
19934
+ version === "1.7.13" && (version = "latest");
19912
19935
  headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
19913
19936
  module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
19914
19937
  var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
@@ -26326,7 +26349,7 @@ ee.layers.AbstractTile.prototype.startLoad = function() {
26326
26349
  this.loadingStartTs_ = (new Date()).getTime();
26327
26350
  this.xhrIo_ = new goog.net.XhrIo();
26328
26351
  this.xhrIo_.setResponseType(goog.net.XhrIo.ResponseType.BLOB);
26329
- this.xhrIo_.listen(goog.net.EventType.COMPLETE, function(event) {
26352
+ this.xhrIo_.listen(module$contents$goog$net$EventType_EventType.COMPLETE, function(event) {
26330
26353
  var blob = $jscomp$this$800656669$27.xhrIo_.getResponse(), status = $jscomp$this$800656669$27.xhrIo_.getStatus();
26331
26354
  status == module$contents$goog$net$HttpStatus_HttpStatus.TOO_MANY_REQUESTS && $jscomp$this$800656669$27.setStatus(ee.layers.AbstractTile.Status.THROTTLED);
26332
26355
  if (module$contents$goog$net$HttpStatus_HttpStatus.isSuccess(status)) {
@@ -26347,7 +26370,7 @@ ee.layers.AbstractTile.prototype.startLoad = function() {
26347
26370
  $jscomp$this$800656669$27.retryLoad("Failed to load tile.");
26348
26371
  }
26349
26372
  }, !1);
26350
- this.xhrIo_.listenOnce(goog.net.EventType.READY, goog.partial(module$contents$goog$dispose_dispose, this.xhrIo_));
26373
+ this.xhrIo_.listenOnce(module$contents$goog$net$EventType_EventType.READY, goog.partial(module$contents$goog$dispose_dispose, this.xhrIo_));
26351
26374
  this.sourceUrl && this.sourceUrl.endsWith("&profiling=1") && (this.sourceUrl = this.sourceUrl.replace("&profiling=1", ""), this.xhrIo_.headers.set(module$contents$ee$apiclient_apiclient.PROFILE_REQUEST_HEADER, "1"));
26352
26375
  this.xhrIo_.send(this.sourceUrl, "GET");
26353
26376
  };
@@ -26476,21 +26499,21 @@ module$contents$goog$net$ImageLoader_ImageLoader.prototype.loadImage_ = function
26476
26499
  module$contents$goog$net$ImageLoader_ImageLoader.prototype.onNetworkEvent_ = function(evt) {
26477
26500
  var image = evt.currentTarget;
26478
26501
  if (image) {
26479
- if (evt.type == goog.net.EventType.READY_STATE_CHANGE) {
26480
- if (image.readyState == goog.net.EventType.COMPLETE) {
26481
- evt.type = goog.events.EventType.LOAD;
26502
+ if (evt.type == module$contents$goog$net$EventType_EventType.READY_STATE_CHANGE) {
26503
+ if (image.readyState == module$contents$goog$net$EventType_EventType.COMPLETE) {
26504
+ evt.type = module$contents$goog$events$EventType_EventType.LOAD;
26482
26505
  } else {
26483
26506
  return;
26484
26507
  }
26485
26508
  }
26486
- typeof image.naturalWidth == "undefined" && (evt.type == goog.events.EventType.LOAD ? (image.naturalWidth = image.width, image.naturalHeight = image.height) : (image.naturalWidth = 0, image.naturalHeight = 0));
26509
+ typeof image.naturalWidth == "undefined" && (evt.type == module$contents$goog$events$EventType_EventType.LOAD ? (image.naturalWidth = image.width, image.naturalHeight = image.height) : (image.naturalWidth = 0, image.naturalHeight = 0));
26487
26510
  this.removeImage(image.id);
26488
26511
  this.dispatchEvent({type:evt.type, target:image});
26489
26512
  this.isDisposed() || this.maybeFireCompletionEvent_();
26490
26513
  }
26491
26514
  };
26492
26515
  module$contents$goog$net$ImageLoader_ImageLoader.prototype.maybeFireCompletionEvent_ = function() {
26493
- module$contents$goog$object_isEmpty(this.imageIdToImageMap_) && module$contents$goog$object_isEmpty(this.imageIdToRequestMap_) && !this.completionFired_ && (this.completionFired_ = !0, this.dispatchEvent(goog.net.EventType.COMPLETE));
26516
+ module$contents$goog$object_isEmpty(this.imageIdToImageMap_) && module$contents$goog$object_isEmpty(this.imageIdToRequestMap_) && !this.completionFired_ && (this.completionFired_ = !0, this.dispatchEvent(module$contents$goog$net$EventType_EventType.COMPLETE));
26494
26517
  };
26495
26518
  module$contents$goog$net$ImageLoader_ImageLoader.prototype.disposeInternal = function() {
26496
26519
  delete this.imageIdToRequestMap_;
@@ -26500,7 +26523,7 @@ module$contents$goog$net$ImageLoader_ImageLoader.prototype.disposeInternal = fun
26500
26523
  };
26501
26524
  module$contents$goog$net$ImageLoader_ImageLoader.CorsRequestType = {ANONYMOUS:"anonymous", USE_CREDENTIALS:"use-credentials"};
26502
26525
  var module$contents$goog$net$ImageLoader_ImageRequest;
26503
- module$contents$goog$net$ImageLoader_ImageLoader.IMAGE_LOAD_EVENTS_ = [goog.events.EventType.LOAD, goog.net.EventType.ABORT, goog.net.EventType.ERROR];
26526
+ module$contents$goog$net$ImageLoader_ImageLoader.IMAGE_LOAD_EVENTS_ = [module$contents$goog$events$EventType_EventType.LOAD, module$contents$goog$net$EventType_EventType.ABORT, module$contents$goog$net$EventType_EventType.ERROR];
26504
26527
  goog.net.ImageLoader = module$contents$goog$net$ImageLoader_ImageLoader;
26505
26528
  ee_root.third_party.earthengine_api.javascript.layers.imageoverlay = {};
26506
26529
  ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageOverlay = function(tileSource, opt_options) {
@@ -26529,7 +26552,7 @@ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.pro
26529
26552
  this.imageLoader_ = new module$contents$goog$net$ImageLoader_ImageLoader();
26530
26553
  this.imageLoader_.addImage(this.div.id + "-image", imageUrl);
26531
26554
  this.imageLoaderListenerKey_ = goog.events.listenOnce(this.imageLoader_, ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.IMAGE_LOADER_EVENTS_, function(event) {
26532
- event.type == goog.events.EventType.LOAD ? (this.imageEl = event.target, ee.layers.AbstractTile.prototype.finishLoad.call(this)) : this.retryLoad();
26555
+ event.type == module$contents$goog$events$EventType_EventType.LOAD ? (this.imageEl = event.target, ee.layers.AbstractTile.prototype.finishLoad.call(this)) : this.retryLoad();
26533
26556
  }, void 0, this);
26534
26557
  this.imageLoader_.start();
26535
26558
  };
@@ -26544,7 +26567,7 @@ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.pro
26544
26567
  ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.defaultRenderer_ = function(tile) {
26545
26568
  tile.div.appendChild(tile.imageEl);
26546
26569
  };
26547
- ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.IMAGE_LOADER_EVENTS_ = [goog.events.EventType.LOAD, goog.net.EventType.ABORT, goog.net.EventType.ERROR];
26570
+ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.IMAGE_LOADER_EVENTS_ = [module$contents$goog$events$EventType_EventType.LOAD, module$contents$goog$net$EventType_EventType.ABORT, module$contents$goog$net$EventType_EventType.ERROR];
26548
26571
  goog.string.path = {};
26549
26572
  function module$contents$goog$string$path_baseName(path) {
26550
26573
  var i = path.lastIndexOf("/") + 1;
@@ -27131,7 +27154,7 @@ ee.MapTileManager.Request_.prototype.hasReachedMaxRetries = function() {
27131
27154
  return this.attemptCount_ > this.maxRetries_;
27132
27155
  };
27133
27156
  ee.MapTileManager.Request_.prototype.setAborted = function(aborted) {
27134
- aborted && !this.aborted_ && (this.aborted_ = aborted, this.event_ = new goog.events.Event(goog.net.EventType.ABORT));
27157
+ aborted && !this.aborted_ && (this.aborted_ = aborted, this.event_ = new goog.events.Event(module$contents$goog$net$EventType_EventType.ABORT));
27135
27158
  };
27136
27159
  ee.MapTileManager.Request_.prototype.getAborted = function() {
27137
27160
  return this.aborted_;
@@ -27141,12 +27164,12 @@ ee.MapTileManager.Request_.prototype.handleImageEvent_ = function(e) {
27141
27164
  this.markCompleted_();
27142
27165
  } else {
27143
27166
  switch(e.type) {
27144
- case goog.events.EventType.LOAD:
27167
+ case module$contents$goog$events$EventType_EventType.LOAD:
27145
27168
  this.handleSuccess_(e);
27146
27169
  this.markCompleted_();
27147
27170
  break;
27148
- case goog.net.EventType.ERROR:
27149
- case goog.net.EventType.ABORT:
27171
+ case module$contents$goog$net$EventType_EventType.ERROR:
27172
+ case module$contents$goog$net$EventType_EventType.ABORT:
27150
27173
  this.handleError_(e);
27151
27174
  }
27152
27175
  }
@@ -27182,7 +27205,7 @@ ee.MapTileManager.Request_.prototype.start_ = function() {
27182
27205
  if (module$contents$goog$Uri_Uri.parse(sourceUrl).getQueryData().containsKey("profiling")) {
27183
27206
  var xhrIo = new goog.net.XhrIo();
27184
27207
  xhrIo.setResponseType(goog.net.XhrIo.ResponseType.BLOB);
27185
- xhrIo.listen(goog.net.EventType.COMPLETE, goog.bind(function(event) {
27208
+ xhrIo.listen(module$contents$goog$net$EventType_EventType.COMPLETE, goog.bind(function(event) {
27186
27209
  this.profileId_ = xhrIo.getResponseHeader(module$contents$ee$apiclient_apiclient.PROFILE_HEADER) || null;
27187
27210
  if (xhrIo.getStatus() >= 200 && xhrIo.getStatus() < 300) {
27188
27211
  try {
@@ -27193,7 +27216,7 @@ ee.MapTileManager.Request_.prototype.start_ = function() {
27193
27216
  }
27194
27217
  actuallyLoadImage(ok ? objectUrl : sourceUrl);
27195
27218
  }, this));
27196
- xhrIo.listenOnce(goog.net.EventType.READY, goog.bind(xhrIo.dispose, xhrIo));
27219
+ xhrIo.listenOnce(module$contents$goog$net$EventType_EventType.READY, goog.bind(xhrIo.dispose, xhrIo));
27197
27220
  xhrIo.send(sourceUrl, "GET");
27198
27221
  } else {
27199
27222
  actuallyLoadImage(sourceUrl);
@@ -27206,7 +27229,7 @@ ee.MapTileManager.Request_.prototype.imageLoader_ = null;
27206
27229
  ee.MapTileManager.Request_.prototype.token_ = null;
27207
27230
  ee.MapTileManager.Request_.prototype.event_ = null;
27208
27231
  ee.MapTileManager.Request_.prototype.profileId_ = null;
27209
- ee.MapTileManager.Request_.IMAGE_LOADER_EVENT_TYPES_ = [goog.events.EventType.LOAD, goog.net.EventType.ABORT, goog.net.EventType.ERROR];
27232
+ ee.MapTileManager.Request_.IMAGE_LOADER_EVENT_TYPES_ = [module$contents$goog$events$EventType_EventType.LOAD, module$contents$goog$net$EventType_EventType.ABORT, module$contents$goog$net$EventType_EventType.ERROR];
27210
27233
  ee.MapTileManager.Token_ = function() {
27211
27234
  goog.Disposable.call(this);
27212
27235
  this.active_ = !1;
@@ -27293,11 +27316,11 @@ ee.MapLayerOverlay.prototype.setOpacity = function(opacity) {
27293
27316
  });
27294
27317
  };
27295
27318
  ee.MapLayerOverlay.prototype.handleImageCompleted_ = function(div, tileId, e, profileId) {
27296
- if (e.type == goog.net.EventType.ERROR) {
27319
+ if (e.type == module$contents$goog$net$EventType_EventType.ERROR) {
27297
27320
  module$contents$goog$array_remove(this.tilesLoading, tileId), this.tilesFailed.add(tileId), this.dispatchEvent(e);
27298
27321
  } else {
27299
27322
  module$contents$goog$array_remove(this.tilesLoading, tileId);
27300
- if (e.target && e.type == goog.events.EventType.LOAD) {
27323
+ if (e.target && e.type == module$contents$goog$events$EventType_EventType.LOAD) {
27301
27324
  var tile = e.target;
27302
27325
  this.tiles_.add(tile);
27303
27326
  this.opacity_ != 1 && goog.style.setOpacity(tile, this.opacity_);