@google/earthengine 1.5.9 → 1.5.12

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.
@@ -1257,8 +1257,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
1257
1257
  return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
1258
1258
  };
1259
1259
  }, "es8", "es3");
1260
- 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_sink_defer_tsx_execution__enable:!1, GoogFlags__client_only_wiz_ve_logging__enable:!1, GoogFlags__jspb_disallow_message_tojson__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,
1261
- GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
1260
+ 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_sink_lazy_tsx_execution__enable:!1, GoogFlags__client_only_wiz_ve_logging__enable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_disallow_message_tojson__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,
1261
+ GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__web_storage_is_available_cache_once__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
1262
1262
  /*
1263
1263
 
1264
1264
  Copyright The Closure Library Authors.
@@ -1306,6 +1306,11 @@ goog.readToggleInternalDoNotCallDirectly = function(name) {
1306
1306
  };
1307
1307
  goog.TOGGLE_VAR_ = "_F_toggles";
1308
1308
  goog.TOGGLES_ = goog.global[goog.TOGGLE_VAR_] || [];
1309
+ goog.GENDERED_MESSAGES_ENABLED = !0;
1310
+ goog.GrammaticalGender_ = {OTHER:0, MASCULINE:1, FEMININE:2, NEUTER:3};
1311
+ goog.GRAMMATICAL_GENDER_MAP_ = {FEMININE:goog.GrammaticalGender_.FEMININE, MASCULINE:goog.GrammaticalGender_.MASCULINE, NEUTER:goog.GrammaticalGender_.NEUTER};
1312
+ goog.viewerGrammaticalGender_ = goog.GRAMMATICAL_GENDER_MAP_[goog.GENDERED_MESSAGES_ENABLED && goog.global._F_VIEWER_GRAMMATICAL_GENDER] || goog.GrammaticalGender_.OTHER;
1313
+ goog.msgKind = {MASCULINE:goog.viewerGrammaticalGender_ === goog.GrammaticalGender_.MASCULINE, FEMININE:goog.viewerGrammaticalGender_ === goog.GrammaticalGender_.FEMININE, NEUTER:goog.viewerGrammaticalGender_ === goog.GrammaticalGender_.NEUTER};
1309
1314
  goog.LEGACY_NAMESPACE_OBJECT_ = goog.global;
1310
1315
  goog.provide = function(name) {
1311
1316
  if (goog.isInModuleLoader_()) {
@@ -2989,7 +2994,8 @@ function module$contents$safevalues$builders$url_builders_sanitizeUrl(url, allow
2989
2994
  }
2990
2995
  module$exports$safevalues$builders$url_builders.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
2991
2996
  function module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource(source) {
2992
- if (typeof MediaSource !== "undefined" && source instanceof MediaSource) {
2997
+ var windowAsAny = window;
2998
+ if (typeof MediaSource !== "undefined" && source instanceof MediaSource || typeof windowAsAny.ManagedMediaSource !== "undefined" && source instanceof windowAsAny.ManagedMediaSource) {
2993
2999
  return module$contents$safevalues$internals$url_impl_createUrlInternal(URL.createObjectURL(source));
2994
3000
  }
2995
3001
  if (!module$contents$safevalues$builders$url_builders_isSafeMimeType(source.type)) {
@@ -6365,6 +6371,10 @@ goog.disposeAll = module$contents$goog$disposeAll_disposeAll;
6365
6371
  goog.disposable = {};
6366
6372
  goog.disposable.IDisposable = function() {
6367
6373
  };
6374
+ goog.disposable.IDisposable.prototype.dispose = function() {
6375
+ };
6376
+ goog.disposable.IDisposable.prototype.isDisposed = function() {
6377
+ };
6368
6378
  goog.Disposable = function() {
6369
6379
  goog.Disposable.MONITORING_MODE != goog.Disposable.MonitoringMode.OFF && (goog.Disposable.INCLUDE_STACK_ON_CREATION && (this.creationStack = Error().stack), goog.Disposable.instances_[goog.getUid(this)] = this);
6370
6380
  this.disposed_ = this.disposed_;
@@ -6510,9 +6520,11 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_cl
6510
6520
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
6511
6521
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ve_logging__enable = !1;
6512
6522
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_context_per_component__enable = !1;
6513
- module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sink_defer_tsx_execution__enable = !1;
6523
+ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sink_lazy_tsx_execution__enable = !1;
6524
+ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__fixed_noopener_behavior__enable = !1;
6514
6525
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
6515
6526
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable = !1;
6527
+ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__web_storage_is_available_cache_once__enable = !1;
6516
6528
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
6517
6529
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
6518
6530
  module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable = !1;
@@ -6523,9 +6535,11 @@ goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2eto
6523
6535
  goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
6524
6536
  goog.flags.CLIENT_ONLY_WIZ_VE_LOGGING = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ve_logging__enable : goog.readFlagInternalDoNotUseOrElse(725719775, !1);
6525
6537
  goog.flags.CLIENT_ONLY_WIZ_CONTEXT_PER_COMPONENT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_context_per_component__enable : goog.readFlagInternalDoNotUseOrElse(513659523, goog.DEBUG);
6526
- goog.flags.CLIENT_ONLY_WIZ_SINK_DEFER_TSX_EXECUTION = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sink_defer_tsx_execution__enable : goog.readFlagInternalDoNotUseOrElse(568333945, !1);
6538
+ goog.flags.CLIENT_ONLY_WIZ_SINK_LAZY_TSX_EXECUTION = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sink_lazy_tsx_execution__enable : goog.readFlagInternalDoNotUseOrElse(568333945, !1);
6539
+ goog.flags.FIXED_NOOPENER_BEHAVIOR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__fixed_noopener_behavior__enable : goog.readFlagInternalDoNotUseOrElse(1331761403, !1);
6527
6540
  goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable : goog.readFlagInternalDoNotUseOrElse(651175828, goog.DEBUG);
6528
6541
  goog.flags.JSPB_DISALLOW_MESSAGE_TOJSON = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable : goog.readFlagInternalDoNotUseOrElse(722764542, goog.DEBUG);
6542
+ goog.flags.WEB_STORAGE_IS_AVAILABLE_CACHE_ONCE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__web_storage_is_available_cache_once__enable : goog.readFlagInternalDoNotUseOrElse(1981196515, !1);
6529
6543
  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);
6530
6544
  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);
6531
6545
  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);
@@ -9023,7 +9037,11 @@ goog.structs.Set.prototype[Symbol.iterator] = function() {
9023
9037
  goog.structs.Set.prototype.setSizeInternal_ = function(newSize) {
9024
9038
  this.size = newSize;
9025
9039
  };
9026
- var ee = {AbstractOverlay:function(url, mapId, token, opt_init, opt_profiler) {
9040
+ var ee = {}, ee_root = {third_party:{}};
9041
+ ee_root.third_party.earthengine_api = {};
9042
+ ee_root.third_party.earthengine_api.javascript = {};
9043
+ ee_root.third_party.earthengine_api.javascript.abstractoverlay = {};
9044
+ ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay = function(url, mapId, token, opt_init, opt_profiler) {
9027
9045
  goog.events.EventTarget.call(this);
9028
9046
  this.mapId = mapId;
9029
9047
  this.token = token;
@@ -9031,26 +9049,28 @@ var ee = {AbstractOverlay:function(url, mapId, token, opt_init, opt_profiler) {
9031
9049
  this.tilesFailed = new goog.structs.Set();
9032
9050
  this.tileCounter = 0;
9033
9051
  this.url = url;
9034
- }};
9035
- goog.inherits(ee.AbstractOverlay, goog.events.EventTarget);
9036
- goog.exportSymbol("ee.AbstractOverlay", ee.AbstractOverlay);
9037
- ee.AbstractOverlay.EventType = {TILE_LOADED:"tileevent"};
9038
- ee.AbstractOverlay.prototype.getTileId = function(coord, zoom) {
9052
+ };
9053
+ goog.inherits(ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay, goog.events.EventTarget);
9054
+ goog.exportSymbol("ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay", ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay);
9055
+ ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay.EventType = {TILE_LOADED:"tileevent"};
9056
+ ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay.prototype.getTileId = function(coord, zoom) {
9039
9057
  var maxCoord = 1 << zoom, x = coord.x % maxCoord;
9040
9058
  x < 0 && (x += maxCoord);
9041
9059
  return [this.mapId, zoom, x, coord.y].join("/");
9042
9060
  };
9043
- ee.AbstractOverlay.prototype.getLoadingTilesCount = function() {
9061
+ ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay.prototype.getLoadingTilesCount = function() {
9044
9062
  return this.tilesLoading.length;
9045
9063
  };
9046
- ee.AbstractOverlay.prototype.getFailedTilesCount = function() {
9064
+ ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay.prototype.getFailedTilesCount = function() {
9047
9065
  return this.tilesFailed.getCount();
9048
9066
  };
9049
- ee.TileEvent = function(count) {
9050
- goog.events.Event.call(this, ee.AbstractOverlay.EventType.TILE_LOADED);
9067
+ ee_root.third_party.earthengine_api.javascript.abstractoverlay.TileEvent = function(count) {
9068
+ goog.events.Event.call(this, ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay.EventType.TILE_LOADED);
9051
9069
  this.count = count;
9052
9070
  };
9053
- goog.inherits(ee.TileEvent, goog.events.Event);
9071
+ goog.inherits(ee_root.third_party.earthengine_api.javascript.abstractoverlay.TileEvent, goog.events.Event);
9072
+ ee.AbstractOverlay = ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay;
9073
+ ee.TileEvent = ee_root.third_party.earthengine_api.javascript.abstractoverlay.TileEvent;
9054
9074
  var module$exports$eeapiclient$ee_api_client = {}, module$contents$eeapiclient$ee_api_client_module = module$contents$eeapiclient$ee_api_client_module || {id:"third_party/earthengine_api/javascript/v1/ee_api_client.closure.js"};
9055
9075
  module$exports$eeapiclient$ee_api_client.IAuditLogConfigLogTypeEnum = function() {
9056
9076
  };
@@ -16829,7 +16849,7 @@ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanit
16829
16849
  ["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY, conditions:new Map([["rel", new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])], ["SOURCE", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}],
16830
16850
  ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])], ["IMG", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}], ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])],
16831
16851
  ["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])], ["AUDIO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])]], module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES =
16832
- "title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked cite color cols colspan controls controlslist datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder poster preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
16852
+ "title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked cite color cols colspan controls controlslist crossorigin datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder poster preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
16833
16853
  module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES = [["dir", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
16834
16854
  return new Map([["dir", new Set(["auto", "ltr", "rtl"])]]);
16835
16855
  })}], ["async", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
@@ -19298,7 +19318,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
19298
19318
  ee.apiclient = {};
19299
19319
  var module$contents$ee$apiclient_apiclient = {};
19300
19320
  ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
19301
- ee.apiclient.API_CLIENT_VERSION = "1.5.9";
19321
+ ee.apiclient.API_CLIENT_VERSION = "1.5.12";
19302
19322
  ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
19303
19323
  ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
19304
19324
  ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
@@ -19596,8 +19616,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
19596
19616
  var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
19597
19617
  body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
19598
19618
  method = method || "POST";
19599
- var headers = {"Content-Type":contentType}, version = "1.5.9";
19600
- version === "1.5.9" && (version = "latest");
19619
+ var headers = {"Content-Type":contentType}, version = "1.5.12";
19620
+ version === "1.5.12" && (version = "latest");
19601
19621
  headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
19602
19622
  var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
19603
19623
  if (authToken != null) {
@@ -19824,7 +19844,8 @@ module$contents$ee$apiclient_apiclient.authTokenRefresher_ = null;
19824
19844
  module$contents$ee$apiclient_apiclient.AUTH_SCOPE_ = "https://www.googleapis.com/auth/earthengine";
19825
19845
  module$contents$ee$apiclient_apiclient.READ_ONLY_AUTH_SCOPE_ = "https://www.googleapis.com/auth/earthengine.readonly";
19826
19846
  module$contents$ee$apiclient_apiclient.CLOUD_PLATFORM_SCOPE_ = "https://www.googleapis.com/auth/cloud-platform";
19827
- module$contents$ee$apiclient_apiclient.DEFAULT_AUTH_SCOPES_ = [module$contents$ee$apiclient_apiclient.AUTH_SCOPE_, module$contents$ee$apiclient_apiclient.CLOUD_PLATFORM_SCOPE_];
19847
+ module$contents$ee$apiclient_apiclient.GOOGLE_DRIVE_SCOPE_ = "https://www.googleapis.com/auth/drive";
19848
+ module$contents$ee$apiclient_apiclient.DEFAULT_AUTH_SCOPES_ = [module$contents$ee$apiclient_apiclient.AUTH_SCOPE_, module$contents$ee$apiclient_apiclient.CLOUD_PLATFORM_SCOPE_, module$contents$ee$apiclient_apiclient.GOOGLE_DRIVE_SCOPE_];
19828
19849
  module$contents$ee$apiclient_apiclient.STORAGE_SCOPE_ = "https://www.googleapis.com/auth/devstorage.read_write";
19829
19850
  module$contents$ee$apiclient_apiclient.cloudApiKey_ = null;
19830
19851
  module$contents$ee$apiclient_apiclient.initialized_ = !1;
@@ -19861,6 +19882,7 @@ ee.apiclient.send = module$contents$ee$apiclient_apiclient.send;
19861
19882
  ee.apiclient.AUTH_SCOPE = module$contents$ee$apiclient_apiclient.AUTH_SCOPE_;
19862
19883
  ee.apiclient.READ_ONLY_AUTH_SCOPE = module$contents$ee$apiclient_apiclient.READ_ONLY_AUTH_SCOPE_;
19863
19884
  ee.apiclient.CLOUD_PLATFORM_SCOPE = module$contents$ee$apiclient_apiclient.CLOUD_PLATFORM_SCOPE_;
19885
+ ee.apiclient.GOOGLE_DRIVE_SCOPE = module$contents$ee$apiclient_apiclient.GOOGLE_DRIVE_SCOPE_;
19864
19886
  ee.apiclient.STORAGE_SCOPE = module$contents$ee$apiclient_apiclient.STORAGE_SCOPE_;
19865
19887
  ee.apiclient.DEFAULT_AUTH_SCOPES = module$contents$ee$apiclient_apiclient.DEFAULT_AUTH_SCOPES_;
19866
19888
  ee.apiclient.makeRequest = module$contents$ee$apiclient_apiclient.makeRequest_;
@@ -24093,7 +24115,7 @@ module$contents$ee$batch_Export.prefixImageFormatOptions_ = function(taskConfig,
24093
24115
  var $jscomp$destructuring$var59 = (0,$jscomp.makeIterator)($jscomp$key$1827622838$35$.value), key = $jscomp$destructuring$var59.next().value, value = $jscomp$destructuring$var59.next().value;
24094
24116
  if (!module$contents$goog$array_contains(validOptionKeys, key)) {
24095
24117
  var validKeysMsg = validOptionKeys.join(", ");
24096
- throw Error('"' + key + '" is not a valid option, the image format "' + imageFormat + '""may have the following options: ' + (validKeysMsg + '".'));
24118
+ throw Error('"' + key + '" is not a valid option, the image format "' + imageFormat + '" "may have the following options: ' + (validKeysMsg + '".'));
24097
24119
  }
24098
24120
  var prefixedKey = prefix + key[0].toUpperCase() + key.substring(1);
24099
24121
  Array.isArray(value) ? prefixedOptions[prefixedKey] = value.join() : prefixedOptions[prefixedKey] = value;
@@ -24752,12 +24774,12 @@ ee.makeClass_ = function(name) {
24752
24774
  };
24753
24775
  ee.Function.registerPromoter(ee.promote_);
24754
24776
  ee.FloatTileOverlay = function(url, mapId, token) {
24755
- ee.AbstractOverlay.call(this, url, mapId, token);
24777
+ ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay.call(this, url, mapId, token);
24756
24778
  this.tileSize = new google.maps.Size(ee.FloatTileOverlay.TILE_EDGE_LENGTH, ee.FloatTileOverlay.TILE_EDGE_LENGTH);
24757
24779
  this.floatTiles_ = new goog.structs.Map();
24758
24780
  this.floatTileDivs_ = new goog.structs.Map();
24759
24781
  };
24760
- $jscomp.inherits(ee.FloatTileOverlay, ee.AbstractOverlay);
24782
+ $jscomp.inherits(ee.FloatTileOverlay, ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay);
24761
24783
  ee.FloatTileOverlay.prototype.getTile = function(coord, zoom, ownerDocument) {
24762
24784
  var tileId = this.getTileId(coord, zoom), src = [this.url, tileId].join("/") + "?token=" + this.token, uniqueTileId = [tileId, this.tileCounter, this.token].join("/");
24763
24785
  this.tilesLoading.push(uniqueTileId);
@@ -24799,11 +24821,11 @@ ee.FloatTileOverlay.prototype.getLoadedFloatTilesCount = function() {
24799
24821
  return this.floatTiles_.getCount();
24800
24822
  };
24801
24823
  ee.FloatTileOverlay.prototype.dispatchTileEvent_ = function() {
24802
- this.dispatchEvent(new ee.TileEvent(this.tilesLoading.length));
24824
+ this.dispatchEvent(new ee_root.third_party.earthengine_api.javascript.abstractoverlay.TileEvent(this.tilesLoading.length));
24803
24825
  };
24804
24826
  ee.FloatTileOverlay.prototype.disposeInternal = function() {
24805
24827
  this.floatTileDivs_ = this.floatTiles_ = null;
24806
- ee.AbstractOverlay.prototype.disposeInternal.call(this);
24828
+ ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay.prototype.disposeInternal.call(this);
24807
24829
  };
24808
24830
  goog.exportSymbol("ee.FloatTileOverlay", ee.FloatTileOverlay);
24809
24831
  ee.FloatTileOverlay.TILE_EDGE_LENGTH = 256;
@@ -26059,35 +26081,37 @@ var module$exports$ee$layers$AbstractTileSource = function() {
26059
26081
  goog.Disposable.call(this);
26060
26082
  };
26061
26083
  $jscomp.inherits(module$exports$ee$layers$AbstractTileSource, goog.Disposable);
26062
- ee.layers.BinaryOverlay = function(tileSource, opt_options) {
26084
+ ee_root.third_party.earthengine_api.javascript.layers = {};
26085
+ ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay = {};
26086
+ ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay = function(tileSource, opt_options) {
26063
26087
  ee.layers.AbstractOverlay.call(this, tileSource, opt_options);
26064
26088
  this.buffersByCoord_ = new goog.structs.Map();
26065
26089
  this.divsByCoord_ = new goog.structs.Map();
26066
26090
  };
26067
- $jscomp.inherits(ee.layers.BinaryOverlay, ee.layers.AbstractOverlay);
26068
- ee.layers.BinaryOverlay.prototype.createTile = function(coord, zoom, ownerDocument, uniqueId) {
26069
- var tile = new ee.layers.BinaryTile(coord, zoom, ownerDocument, uniqueId);
26091
+ $jscomp.inherits(ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay, ee.layers.AbstractOverlay);
26092
+ ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay.prototype.createTile = function(coord, zoom, ownerDocument, uniqueId) {
26093
+ var tile = new ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryTile(coord, zoom, ownerDocument, uniqueId);
26070
26094
  this.handler.listen(tile, ee.layers.AbstractTile.EventType.STATUS_CHANGED, function() {
26071
26095
  tile.getStatus() == ee.layers.AbstractTile.Status.LOADED && (this.buffersByCoord_.set(coord, new Float32Array(tile.buffer_)), this.divsByCoord_.set(coord, tile.div));
26072
26096
  });
26073
26097
  return tile;
26074
26098
  };
26075
- ee.layers.BinaryOverlay.prototype.getBuffersByCoord = function() {
26099
+ ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay.prototype.getBuffersByCoord = function() {
26076
26100
  return this.buffersByCoord_;
26077
26101
  };
26078
- ee.layers.BinaryOverlay.prototype.getDivsByCoord = function() {
26102
+ ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay.prototype.getDivsByCoord = function() {
26079
26103
  return this.divsByCoord_;
26080
26104
  };
26081
- ee.layers.BinaryOverlay.prototype.disposeInternal = function() {
26105
+ ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay.prototype.disposeInternal = function() {
26082
26106
  ee.layers.AbstractOverlay.prototype.disposeInternal.call(this);
26083
26107
  this.divsByCoord_ = this.buffersByCoord_ = null;
26084
26108
  };
26085
- goog.exportSymbol("ee.layers.BinaryOverlay", ee.layers.BinaryOverlay);
26086
- ee.layers.BinaryTile = function(coord, zoom, ownerDocument, uniqueId) {
26109
+ goog.exportSymbol("ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay", ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay);
26110
+ ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryTile = function(coord, zoom, ownerDocument, uniqueId) {
26087
26111
  ee.layers.AbstractTile.call(this, coord, zoom, ownerDocument, uniqueId);
26088
26112
  };
26089
- $jscomp.inherits(ee.layers.BinaryTile, ee.layers.AbstractTile);
26090
- ee.layers.BinaryTile.prototype.finishLoad = function() {
26113
+ $jscomp.inherits(ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryTile, ee.layers.AbstractTile);
26114
+ ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryTile.prototype.finishLoad = function() {
26091
26115
  var reader = new goog.fs.FileReader();
26092
26116
  reader.listen(goog.fs.FileReader.EventType.LOAD_END, function() {
26093
26117
  this.buffer_ = reader.getResult();
@@ -26095,6 +26119,8 @@ ee.layers.BinaryTile.prototype.finishLoad = function() {
26095
26119
  }, void 0, this);
26096
26120
  reader.readAsArrayBuffer(this.sourceData);
26097
26121
  };
26122
+ ee.layers.BinaryOverlay = ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay;
26123
+ ee.layers.BinaryTile = ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryTile;
26098
26124
  goog.net.ImageLoader = function(opt_parent) {
26099
26125
  goog.events.EventTarget.call(this);
26100
26126
  this.imageIdToRequestMap_ = {};
@@ -26157,22 +26183,23 @@ goog.net.ImageLoader.prototype.disposeInternal = function() {
26157
26183
  module$contents$goog$dispose_dispose(this.handler_);
26158
26184
  goog.net.ImageLoader.superClass_.disposeInternal.call(this);
26159
26185
  };
26160
- ee.layers.ImageOverlay = function(tileSource, opt_options) {
26186
+ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay = {};
26187
+ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageOverlay = function(tileSource, opt_options) {
26161
26188
  ee.layers.AbstractOverlay.call(this, tileSource, opt_options);
26162
26189
  };
26163
- $jscomp.inherits(ee.layers.ImageOverlay, ee.layers.AbstractOverlay);
26164
- ee.layers.ImageOverlay.prototype.createTile = function(coord, zoom, ownerDocument, uniqueId) {
26165
- return new ee.layers.ImageTile(coord, zoom, ownerDocument, uniqueId);
26190
+ $jscomp.inherits(ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageOverlay, ee.layers.AbstractOverlay);
26191
+ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageOverlay.prototype.createTile = function(coord, zoom, ownerDocument, uniqueId) {
26192
+ return new ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile(coord, zoom, ownerDocument, uniqueId);
26166
26193
  };
26167
- goog.exportSymbol("ee.layers.ImageOverlay", ee.layers.ImageOverlay);
26168
- ee.layers.ImageTile = function(coord, zoom, ownerDocument, uniqueId) {
26194
+ goog.exportSymbol("ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageOverlay", ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageOverlay);
26195
+ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile = function(coord, zoom, ownerDocument, uniqueId) {
26169
26196
  ee.layers.AbstractTile.call(this, coord, zoom, ownerDocument, uniqueId);
26170
- this.renderer = ee.layers.ImageTile.defaultRenderer_;
26197
+ this.renderer = ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.defaultRenderer_;
26171
26198
  this.imageLoaderListenerKey_ = this.imageLoader_ = this.imageEl = null;
26172
26199
  this.objectUrl_ = "";
26173
26200
  };
26174
- $jscomp.inherits(ee.layers.ImageTile, ee.layers.AbstractTile);
26175
- ee.layers.ImageTile.prototype.finishLoad = function() {
26201
+ $jscomp.inherits(ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile, ee.layers.AbstractTile);
26202
+ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.prototype.finishLoad = function() {
26176
26203
  try {
26177
26204
  var safeUrl = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource(this.sourceData);
26178
26205
  this.objectUrl_ = module$contents$safevalues$internals$url_impl_unwrapUrl(safeUrl);
@@ -26182,23 +26209,25 @@ ee.layers.ImageTile.prototype.finishLoad = function() {
26182
26209
  }
26183
26210
  this.imageLoader_ = new goog.net.ImageLoader();
26184
26211
  this.imageLoader_.addImage(this.div.id + "-image", imageUrl);
26185
- this.imageLoaderListenerKey_ = goog.events.listenOnce(this.imageLoader_, ee.layers.ImageTile.IMAGE_LOADER_EVENTS_, function(event) {
26212
+ this.imageLoaderListenerKey_ = goog.events.listenOnce(this.imageLoader_, ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.IMAGE_LOADER_EVENTS_, function(event) {
26186
26213
  event.type == goog.events.EventType.LOAD ? (this.imageEl = event.target, ee.layers.AbstractTile.prototype.finishLoad.call(this)) : this.retryLoad();
26187
26214
  }, void 0, this);
26188
26215
  this.imageLoader_.start();
26189
26216
  };
26190
- ee.layers.ImageTile.prototype.cancelLoad = function() {
26217
+ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.prototype.cancelLoad = function() {
26191
26218
  ee.layers.AbstractTile.prototype.cancelLoad.call(this);
26192
26219
  this.imageLoader_ && (goog.events.unlistenByKey(this.imageLoaderListenerKey_), module$contents$goog$dispose_dispose(this.imageLoader_));
26193
26220
  };
26194
- ee.layers.ImageTile.prototype.disposeInternal = function() {
26221
+ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.prototype.disposeInternal = function() {
26195
26222
  ee.layers.AbstractTile.prototype.disposeInternal.call(this);
26196
26223
  this.objectUrl_ && URL.revokeObjectURL(this.objectUrl_);
26197
26224
  };
26198
- ee.layers.ImageTile.defaultRenderer_ = function(tile) {
26225
+ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.defaultRenderer_ = function(tile) {
26199
26226
  tile.div.appendChild(tile.imageEl);
26200
26227
  };
26201
- ee.layers.ImageTile.IMAGE_LOADER_EVENTS_ = [goog.events.EventType.LOAD, goog.net.EventType.ABORT, goog.net.EventType.ERROR];
26228
+ 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];
26229
+ ee.layers.ImageOverlay = ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageOverlay;
26230
+ ee.layers.ImageTile = ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile;
26202
26231
  goog.string.path = {};
26203
26232
  goog.string.path.baseName = function(path) {
26204
26233
  var i = path.lastIndexOf("/") + 1;
@@ -26883,7 +26912,7 @@ ee.MapTileManager.TokenPool_.prototype.objectCanBeReused = function(obj) {
26883
26912
  return !obj.isDisposed() && !obj.isActive();
26884
26913
  };
26885
26914
  ee.MapLayerOverlay = function(url, mapId, token, init, opt_profiler) {
26886
- ee.AbstractOverlay.call(this, url, mapId, token, init, opt_profiler);
26915
+ ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay.call(this, url, mapId, token, init, opt_profiler);
26887
26916
  this.minZoom = init.minZoom || 0;
26888
26917
  this.maxZoom = init.maxZoom || 20;
26889
26918
  if (!window.google || !window.google.maps) {
@@ -26897,15 +26926,15 @@ ee.MapLayerOverlay = function(url, mapId, token, init, opt_profiler) {
26897
26926
  this.visible_ = !0;
26898
26927
  this.profiler_ = opt_profiler || null;
26899
26928
  };
26900
- $jscomp.inherits(ee.MapLayerOverlay, ee.AbstractOverlay);
26929
+ $jscomp.inherits(ee.MapLayerOverlay, ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay);
26901
26930
  ee.MapLayerOverlay.prototype.addTileCallback = function(callback) {
26902
- return goog.events.listen(this, ee.AbstractOverlay.EventType.TILE_LOADED, callback);
26931
+ return goog.events.listen(this, ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay.EventType.TILE_LOADED, callback);
26903
26932
  };
26904
26933
  ee.MapLayerOverlay.prototype.removeTileCallback = function(callbackId) {
26905
26934
  goog.events.unlistenByKey(callbackId);
26906
26935
  };
26907
26936
  ee.MapLayerOverlay.prototype.dispatchTileEvent_ = function() {
26908
- this.dispatchEvent(new ee.TileEvent(this.tilesLoading.length));
26937
+ this.dispatchEvent(new ee_root.third_party.earthengine_api.javascript.abstractoverlay.TileEvent(this.tilesLoading.length));
26909
26938
  };
26910
26939
  ee.MapLayerOverlay.prototype.getTile = function(coord, zoom, ownerDocument) {
26911
26940
  var maxCoord;