@google/earthengine 0.1.371 → 0.1.374
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.
- package/.tmp/BUILD +46 -2
- package/.tmp/METADATA +10 -8
- package/.tmp/VERSION_BUILD +2 -2
- package/build/browser.js +72 -43
- package/build/ee_api_js.js +609 -607
- package/build/ee_api_js_debug.js +72 -43
- package/build/ee_api_js_npm.js +72 -43
- package/build/main.js +72 -43
- package/package.json +1 -1
- package/src/apiclient.js +8 -7
- package/src/data.js +1 -1
- package/src/imagecollection.js +21 -15
- package/src/terrain.js +0 -0
package/build/ee_api_js_debug.js
CHANGED
|
@@ -1299,6 +1299,8 @@ goog.setImportHandlerInternalDoNotCallOrElse = function(fn) {
|
|
|
1299
1299
|
goog.setUncompiledChunkIdHandlerInternalDoNotCallOrElse = function(fn) {
|
|
1300
1300
|
goog.uncompiledChunkIdHandler_ = fn;
|
|
1301
1301
|
};
|
|
1302
|
+
goog.maybeRequireFrameworkInternalOnlyDoNotCallOrElse = function(namespace) {
|
|
1303
|
+
};
|
|
1302
1304
|
goog.ModuleType = {ES6:"es6", GOOG:"goog"};
|
|
1303
1305
|
goog.moduleLoaderState_ = null;
|
|
1304
1306
|
goog.isInModuleLoader_ = function() {
|
|
@@ -6061,7 +6063,7 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
6061
6063
|
};
|
|
6062
6064
|
var module$contents$eeapiclient$domain_object_CopyValueGetter, module$contents$eeapiclient$domain_object_CopyValueSetter, module$contents$eeapiclient$domain_object_CopyConstructor, module$contents$eeapiclient$domain_object_CopyInstanciator;
|
|
6063
6065
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
6064
|
-
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$key = $jscomp$iter$19.next(), $jscomp$loop$
|
|
6066
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$0 = {}; !$jscomp$key$key.done; $jscomp$loop$m192531680$0 = {mapMetadata:$jscomp$loop$m192531680$0.mapMetadata},
|
|
6065
6067
|
$jscomp$key$key = $jscomp$iter$19.next()) {
|
|
6066
6068
|
var key = $jscomp$key$key.value, value = valueGetter(key, source);
|
|
6067
6069
|
if (null != value) {
|
|
@@ -6074,11 +6076,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6074
6076
|
} else if (objects.hasOwnProperty(key)) {
|
|
6075
6077
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
6076
6078
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
6077
|
-
$jscomp$loop$
|
|
6079
|
+
$jscomp$loop$m192531680$0.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$0.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$0) {
|
|
6078
6080
|
return function(v) {
|
|
6079
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
6081
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$0.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6080
6082
|
};
|
|
6081
|
-
}($jscomp$loop$
|
|
6083
|
+
}($jscomp$loop$m192531680$0)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$0.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6082
6084
|
} else if (Array.isArray(value)) {
|
|
6083
6085
|
if (metadata.emptyArrayIsUnset && 0 === value.length) {
|
|
6084
6086
|
continue;
|
|
@@ -6124,39 +6126,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
6124
6126
|
if (!(module$contents$eeapiclient$domain_object_sameKeys(keys1, metadata2.keys || []) && module$contents$eeapiclient$domain_object_sameKeys(arrays1, arrays2) && module$contents$eeapiclient$domain_object_sameKeys(objects1, objects2) && module$contents$eeapiclient$domain_object_sameKeys(objectMaps1, objectMaps2))) {
|
|
6125
6127
|
return !1;
|
|
6126
6128
|
}
|
|
6127
|
-
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$key = $jscomp$iter$21.next(), $jscomp$loop$
|
|
6129
|
+
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$1 = {}; !$jscomp$key$key.done; $jscomp$loop$m192531680$1 = {value2$jscomp$7:$jscomp$loop$m192531680$1.value2$jscomp$7, mapMetadata$jscomp$2:$jscomp$loop$m192531680$1.mapMetadata$jscomp$2}, $jscomp$key$key = $jscomp$iter$21.next()) {
|
|
6128
6130
|
var key = $jscomp$key$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
6129
6131
|
if (has1 !== has2) {
|
|
6130
6132
|
return !1;
|
|
6131
6133
|
}
|
|
6132
6134
|
if (has1) {
|
|
6133
6135
|
var value1 = serializable1.Serializable$get(key);
|
|
6134
|
-
$jscomp$loop$
|
|
6136
|
+
$jscomp$loop$m192531680$1.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
6135
6137
|
if (arrays1.hasOwnProperty(key)) {
|
|
6136
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6138
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, !0, !0)) {
|
|
6137
6139
|
return !1;
|
|
6138
6140
|
}
|
|
6139
6141
|
} else if (objects1.hasOwnProperty(key)) {
|
|
6140
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6142
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, !1, !0)) {
|
|
6141
6143
|
return !1;
|
|
6142
6144
|
}
|
|
6143
6145
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
6144
|
-
if ($jscomp$loop$
|
|
6145
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
6146
|
+
if ($jscomp$loop$m192531680$1.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$1.mapMetadata$jscomp$2.isPropertyArray) {
|
|
6147
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$1.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$1) {
|
|
6146
6148
|
return function(v1, i) {
|
|
6147
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
6149
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$1.value2$jscomp$7[i], $jscomp$loop$m192531680$1.mapMetadata$jscomp$2);
|
|
6148
6150
|
};
|
|
6149
|
-
}($jscomp$loop$
|
|
6151
|
+
}($jscomp$loop$m192531680$1))) {
|
|
6150
6152
|
return !1;
|
|
6151
6153
|
}
|
|
6152
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
6154
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, $jscomp$loop$m192531680$1.mapMetadata$jscomp$2)) {
|
|
6153
6155
|
return !1;
|
|
6154
6156
|
}
|
|
6155
6157
|
} else if (Array.isArray(value1)) {
|
|
6156
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6158
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, !0, !1)) {
|
|
6157
6159
|
return !1;
|
|
6158
6160
|
}
|
|
6159
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6161
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, !1, !1)) {
|
|
6160
6162
|
return !1;
|
|
6161
6163
|
}
|
|
6162
6164
|
}
|
|
@@ -6874,7 +6876,6 @@ goog.html.SafeUrl.fromTrustedResourceUrl = function(trustedResourceUrl) {
|
|
|
6874
6876
|
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(trustedResourceUrl));
|
|
6875
6877
|
};
|
|
6876
6878
|
goog.html.SAFE_URL_PATTERN_ = /^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;
|
|
6877
|
-
goog.html.SafeUrl.SAFE_URL_PATTERN = goog.html.SAFE_URL_PATTERN_;
|
|
6878
6879
|
goog.html.SafeUrl.trySanitize = function(url) {
|
|
6879
6880
|
if (url instanceof goog.html.SafeUrl) {
|
|
6880
6881
|
return url;
|
|
@@ -9032,6 +9033,11 @@ module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum = {MA
|
|
|
9032
9033
|
return [module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum.PYRAMIDING_POLICY_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum.MEAN, module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum.SAMPLE, module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum.MIN, module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum.MAX,
|
|
9033
9034
|
module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum.MODE, module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum.MEDIAN];
|
|
9034
9035
|
}};
|
|
9036
|
+
module$exports$eeapiclient$ee_api_client.IImportImageRequestModeEnum = function() {
|
|
9037
|
+
};
|
|
9038
|
+
module$exports$eeapiclient$ee_api_client.ImportImageRequestModeEnum = {IMPORT_MODE_UNSPECIFIED:"IMPORT_MODE_UNSPECIFIED", INGEST:"INGEST", VIRTUAL:"VIRTUAL", values:function() {
|
|
9039
|
+
return [module$exports$eeapiclient$ee_api_client.ImportImageRequestModeEnum.IMPORT_MODE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ImportImageRequestModeEnum.INGEST, module$exports$eeapiclient$ee_api_client.ImportImageRequestModeEnum.VIRTUAL];
|
|
9040
|
+
}};
|
|
9035
9041
|
module$exports$eeapiclient$ee_api_client.IOperationMetadataStateEnum = function() {
|
|
9036
9042
|
};
|
|
9037
9043
|
module$exports$eeapiclient$ee_api_client.OperationMetadataStateEnum = {CANCELLED:"CANCELLED", CANCELLING:"CANCELLING", FAILED:"FAILED", PENDING:"PENDING", RUNNING:"RUNNING", STATE_UNSPECIFIED:"STATE_UNSPECIFIED", SUCCEEDED:"SUCCEEDED", values:function() {
|
|
@@ -10122,15 +10128,16 @@ module$exports$eeapiclient$ee_api_client.EarthEngineAsset = function(parameters)
|
|
|
10122
10128
|
this.Serializable$set("featureCount", null == parameters.featureCount ? null : parameters.featureCount);
|
|
10123
10129
|
this.Serializable$set("quota", null == parameters.quota ? null : parameters.quota);
|
|
10124
10130
|
this.Serializable$set("expression", null == parameters.expression ? null : parameters.expression);
|
|
10131
|
+
this.Serializable$set("tilesets", null == parameters.tilesets ? null : parameters.tilesets);
|
|
10125
10132
|
};
|
|
10126
10133
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.EarthEngineAsset, module$exports$eeapiclient$domain_object.Serializable);
|
|
10127
10134
|
module$exports$eeapiclient$ee_api_client.EarthEngineAsset.prototype.getConstructor = function() {
|
|
10128
10135
|
return module$exports$eeapiclient$ee_api_client.EarthEngineAsset;
|
|
10129
10136
|
};
|
|
10130
10137
|
module$exports$eeapiclient$ee_api_client.EarthEngineAsset.prototype.getPartialClassMetadata = function() {
|
|
10131
|
-
return {arrays:{bands:module$exports$eeapiclient$ee_api_client.ImageBand}, enums:{type:module$exports$eeapiclient$ee_api_client.EarthEngineAssetTypeEnum}, keys:"bands cloudStorageLocation endTime expression featureCount featureViewAssetLocation geometry id name properties quota sizeBytes startTime tableLocation tilestoreLocation type updateTime".split(" "),
|
|
10132
|
-
properties:{ctor:null, isPropertyArray:!1, isSerializable:!1, isValueArray:!1}}, objects:{cloudStorageLocation:module$exports$eeapiclient$ee_api_client.CloudStorageLocation, expression:module$exports$eeapiclient$ee_api_client.Expression, featureViewAssetLocation:module$exports$eeapiclient$ee_api_client.FeatureViewLocation,
|
|
10133
|
-
tableLocation:module$exports$eeapiclient$ee_api_client.TableLocation, tilestoreLocation:module$exports$eeapiclient$ee_api_client.TilestoreLocation}};
|
|
10138
|
+
return {arrays:{bands:module$exports$eeapiclient$ee_api_client.ImageBand, tilesets:module$exports$eeapiclient$ee_api_client.Tileset}, enums:{type:module$exports$eeapiclient$ee_api_client.EarthEngineAssetTypeEnum}, keys:"bands cloudStorageLocation endTime expression featureCount featureViewAssetLocation geometry id name properties quota sizeBytes startTime tableLocation tilesets tilestoreLocation type updateTime".split(" "),
|
|
10139
|
+
objectMaps:{geometry:{ctor:null, isPropertyArray:!1, isSerializable:!1, isValueArray:!1}, properties:{ctor:null, isPropertyArray:!1, isSerializable:!1, isValueArray:!1}}, objects:{cloudStorageLocation:module$exports$eeapiclient$ee_api_client.CloudStorageLocation, expression:module$exports$eeapiclient$ee_api_client.Expression, featureViewAssetLocation:module$exports$eeapiclient$ee_api_client.FeatureViewLocation,
|
|
10140
|
+
quota:module$exports$eeapiclient$ee_api_client.FolderQuota, tableLocation:module$exports$eeapiclient$ee_api_client.TableLocation, tilestoreLocation:module$exports$eeapiclient$ee_api_client.TilestoreLocation}};
|
|
10134
10141
|
};
|
|
10135
10142
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.EarthEngineAsset.prototype, {bands:{configurable:!0, enumerable:!0, get:function() {
|
|
10136
10143
|
return this.Serializable$has("bands") ? this.Serializable$get("bands") : null;
|
|
@@ -10188,6 +10195,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10188
10195
|
return this.Serializable$has("tableLocation") ? this.Serializable$get("tableLocation") : null;
|
|
10189
10196
|
}, set:function(value) {
|
|
10190
10197
|
this.Serializable$set("tableLocation", value);
|
|
10198
|
+
}}, tilesets:{configurable:!0, enumerable:!0, get:function() {
|
|
10199
|
+
return this.Serializable$has("tilesets") ? this.Serializable$get("tilesets") : null;
|
|
10200
|
+
}, set:function(value) {
|
|
10201
|
+
this.Serializable$set("tilesets", value);
|
|
10191
10202
|
}}, tilestoreLocation:{configurable:!0, enumerable:!0, get:function() {
|
|
10192
10203
|
return this.Serializable$has("tilestoreLocation") ? this.Serializable$get("tilestoreLocation") : null;
|
|
10193
10204
|
}, set:function(value) {
|
|
@@ -11299,13 +11310,15 @@ module$exports$eeapiclient$ee_api_client.ImageBand = function(parameters) {
|
|
|
11299
11310
|
this.Serializable$set("pyramidingPolicy", null == parameters.pyramidingPolicy ? null : parameters.pyramidingPolicy);
|
|
11300
11311
|
this.Serializable$set("tilesets", null == parameters.tilesets ? null : parameters.tilesets);
|
|
11301
11312
|
this.Serializable$set("missingData", null == parameters.missingData ? null : parameters.missingData);
|
|
11313
|
+
this.Serializable$set("tilesetId", null == parameters.tilesetId ? null : parameters.tilesetId);
|
|
11314
|
+
this.Serializable$set("tilesetBandIndex", null == parameters.tilesetBandIndex ? null : parameters.tilesetBandIndex);
|
|
11302
11315
|
};
|
|
11303
11316
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImageBand, module$exports$eeapiclient$domain_object.Serializable);
|
|
11304
11317
|
module$exports$eeapiclient$ee_api_client.ImageBand.prototype.getConstructor = function() {
|
|
11305
11318
|
return module$exports$eeapiclient$ee_api_client.ImageBand;
|
|
11306
11319
|
};
|
|
11307
11320
|
module$exports$eeapiclient$ee_api_client.ImageBand.prototype.getPartialClassMetadata = function() {
|
|
11308
|
-
return {arrays:{tilesets:module$exports$eeapiclient$ee_api_client.TilestoreTileset}, enums:{pyramidingPolicy:module$exports$eeapiclient$ee_api_client.ImageBandPyramidingPolicyEnum}, keys:"dataType grid id missingData pyramidingPolicy tilesets".split(" "), objects:{dataType:module$exports$eeapiclient$ee_api_client.PixelDataType, grid:module$exports$eeapiclient$ee_api_client.PixelGrid,
|
|
11321
|
+
return {arrays:{tilesets:module$exports$eeapiclient$ee_api_client.TilestoreTileset}, enums:{pyramidingPolicy:module$exports$eeapiclient$ee_api_client.ImageBandPyramidingPolicyEnum}, keys:"dataType grid id missingData pyramidingPolicy tilesetBandIndex tilesetId tilesets".split(" "), objects:{dataType:module$exports$eeapiclient$ee_api_client.PixelDataType, grid:module$exports$eeapiclient$ee_api_client.PixelGrid,
|
|
11309
11322
|
missingData:module$exports$eeapiclient$ee_api_client.MissingData}};
|
|
11310
11323
|
};
|
|
11311
11324
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImageBand.prototype, {dataType:{configurable:!0, enumerable:!0, get:function() {
|
|
@@ -11328,6 +11341,14 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
11328
11341
|
return this.Serializable$has("pyramidingPolicy") ? this.Serializable$get("pyramidingPolicy") : null;
|
|
11329
11342
|
}, set:function(value) {
|
|
11330
11343
|
this.Serializable$set("pyramidingPolicy", value);
|
|
11344
|
+
}}, tilesetBandIndex:{configurable:!0, enumerable:!0, get:function() {
|
|
11345
|
+
return this.Serializable$has("tilesetBandIndex") ? this.Serializable$get("tilesetBandIndex") : null;
|
|
11346
|
+
}, set:function(value) {
|
|
11347
|
+
this.Serializable$set("tilesetBandIndex", value);
|
|
11348
|
+
}}, tilesetId:{configurable:!0, enumerable:!0, get:function() {
|
|
11349
|
+
return this.Serializable$has("tilesetId") ? this.Serializable$get("tilesetId") : null;
|
|
11350
|
+
}, set:function(value) {
|
|
11351
|
+
this.Serializable$set("tilesetId", value);
|
|
11331
11352
|
}}, tilesets:{configurable:!0, enumerable:!0, get:function() {
|
|
11332
11353
|
return this.Serializable$has("tilesets") ? this.Serializable$get("tilesets") : null;
|
|
11333
11354
|
}, set:function(value) {
|
|
@@ -11500,13 +11521,14 @@ module$exports$eeapiclient$ee_api_client.ImportImageRequest = function(parameter
|
|
|
11500
11521
|
this.Serializable$set("description", null == parameters.description ? null : parameters.description);
|
|
11501
11522
|
this.Serializable$set("overwrite", null == parameters.overwrite ? null : parameters.overwrite);
|
|
11502
11523
|
this.Serializable$set("requestId", null == parameters.requestId ? null : parameters.requestId);
|
|
11524
|
+
this.Serializable$set("mode", null == parameters.mode ? null : parameters.mode);
|
|
11503
11525
|
};
|
|
11504
11526
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImportImageRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
11505
11527
|
module$exports$eeapiclient$ee_api_client.ImportImageRequest.prototype.getConstructor = function() {
|
|
11506
11528
|
return module$exports$eeapiclient$ee_api_client.ImportImageRequest;
|
|
11507
11529
|
};
|
|
11508
11530
|
module$exports$eeapiclient$ee_api_client.ImportImageRequest.prototype.getPartialClassMetadata = function() {
|
|
11509
|
-
return {keys:["description", "imageManifest", "overwrite", "requestId"], objects:{imageManifest:module$exports$eeapiclient$ee_api_client.ImageManifest}};
|
|
11531
|
+
return {enums:{mode:module$exports$eeapiclient$ee_api_client.ImportImageRequestModeEnum}, keys:["description", "imageManifest", "mode", "overwrite", "requestId"], objects:{imageManifest:module$exports$eeapiclient$ee_api_client.ImageManifest}};
|
|
11510
11532
|
};
|
|
11511
11533
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImportImageRequest.prototype, {description:{configurable:!0, enumerable:!0, get:function() {
|
|
11512
11534
|
return this.Serializable$has("description") ? this.Serializable$get("description") : null;
|
|
@@ -11516,6 +11538,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
11516
11538
|
return this.Serializable$has("imageManifest") ? this.Serializable$get("imageManifest") : null;
|
|
11517
11539
|
}, set:function(value) {
|
|
11518
11540
|
this.Serializable$set("imageManifest", value);
|
|
11541
|
+
}}, mode:{configurable:!0, enumerable:!0, get:function() {
|
|
11542
|
+
return this.Serializable$has("mode") ? this.Serializable$get("mode") : null;
|
|
11543
|
+
}, set:function(value) {
|
|
11544
|
+
this.Serializable$set("mode", value);
|
|
11519
11545
|
}}, overwrite:{configurable:!0, enumerable:!0, get:function() {
|
|
11520
11546
|
return this.Serializable$has("overwrite") ? this.Serializable$get("overwrite") : null;
|
|
11521
11547
|
}, set:function(value) {
|
|
@@ -11525,6 +11551,9 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
11525
11551
|
}, set:function(value) {
|
|
11526
11552
|
this.Serializable$set("requestId", value);
|
|
11527
11553
|
}}});
|
|
11554
|
+
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImportImageRequest, {Mode:{configurable:!0, enumerable:!0, get:function() {
|
|
11555
|
+
return module$exports$eeapiclient$ee_api_client.ImportImageRequestModeEnum;
|
|
11556
|
+
}}});
|
|
11528
11557
|
module$exports$eeapiclient$ee_api_client.ImportTableRequestParameters = function() {
|
|
11529
11558
|
};
|
|
11530
11559
|
module$exports$eeapiclient$ee_api_client.ImportTableRequest = function(parameters) {
|
|
@@ -17378,7 +17407,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
17378
17407
|
ee.apiclient = {};
|
|
17379
17408
|
var module$contents$ee$apiclient_apiclient = {};
|
|
17380
17409
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
17381
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
17410
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.374";
|
|
17382
17411
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
17383
17412
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
17384
17413
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -17579,13 +17608,13 @@ module$contents$ee$apiclient_apiclient.setAuthToken = function(clientId, tokenTy
|
|
|
17579
17608
|
var tokenObject = {token_type:tokenType, access_token:accessToken, state:scopes.join(" "), expires_in:expiresIn};
|
|
17580
17609
|
module$contents$ee$apiclient_apiclient.handleAuthResult_(void 0, void 0, tokenObject);
|
|
17581
17610
|
!1 === updateAuthLibrary ? callback && callback() : module$contents$ee$apiclient_apiclient.ensureAuthLibLoaded_(function() {
|
|
17582
|
-
goog.global.gapi.
|
|
17611
|
+
goog.global.gapi.client.setToken(tokenObject);
|
|
17583
17612
|
callback && callback();
|
|
17584
17613
|
});
|
|
17585
17614
|
};
|
|
17586
17615
|
module$contents$ee$apiclient_apiclient.refreshAuthToken = function(success, error, onImmediateFailed) {
|
|
17587
17616
|
if (module$contents$ee$apiclient_apiclient.isAuthTokenRefreshingEnabled_()) {
|
|
17588
|
-
var authArgs = {client_id:String(module$contents$ee$apiclient_apiclient.authClientId_), immediate:!0, scope:module$contents$ee$apiclient_apiclient.authScopes_.join(" ")};
|
|
17617
|
+
var authArgs = {client_id:String(module$contents$ee$apiclient_apiclient.authClientId_), immediate:!0, scope:module$contents$ee$apiclient_apiclient.authScopes_.join(" "), plugin_name:"earthengine"};
|
|
17589
17618
|
module$contents$ee$apiclient_apiclient.authTokenRefresher_(authArgs, function(result) {
|
|
17590
17619
|
if ("immediate_failed" == result.error && onImmediateFailed) {
|
|
17591
17620
|
onImmediateFailed();
|
|
@@ -17594,7 +17623,7 @@ module$contents$ee$apiclient_apiclient.refreshAuthToken = function(success, erro
|
|
|
17594
17623
|
try {
|
|
17595
17624
|
module$contents$ee$apiclient_apiclient.ensureAuthLibLoaded_(function() {
|
|
17596
17625
|
try {
|
|
17597
|
-
goog.global.gapi.
|
|
17626
|
+
goog.global.gapi.client.setToken(result), module$contents$ee$apiclient_apiclient.handleAuthResult_(success, error, result);
|
|
17598
17627
|
} catch (e) {
|
|
17599
17628
|
error(e.toString());
|
|
17600
17629
|
}
|
|
@@ -17669,8 +17698,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
17669
17698
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
17670
17699
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
17671
17700
|
method = method || "POST";
|
|
17672
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
17673
|
-
"0.1.
|
|
17701
|
+
var headers = {"Content-Type":contentType}, version = "0.1.374";
|
|
17702
|
+
"0.1.374" === version && (version = "latest");
|
|
17674
17703
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
17675
17704
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
17676
17705
|
if (null != authToken) {
|
|
@@ -17780,10 +17809,10 @@ module$contents$ee$apiclient_apiclient.handleResponse_ = function(status, getRes
|
|
|
17780
17809
|
module$contents$ee$apiclient_apiclient.ensureAuthLibLoaded_ = function(callback) {
|
|
17781
17810
|
var done = function() {
|
|
17782
17811
|
goog.global.gapi.config.update("client/cors", !0);
|
|
17783
|
-
module$contents$ee$apiclient_apiclient.authTokenRefresher_ || module$contents$ee$apiclient_apiclient.setAuthTokenRefresher(goog.global.gapi.
|
|
17812
|
+
module$contents$ee$apiclient_apiclient.authTokenRefresher_ || module$contents$ee$apiclient_apiclient.setAuthTokenRefresher(goog.global.gapi.auth2.authorize);
|
|
17784
17813
|
callback();
|
|
17785
17814
|
};
|
|
17786
|
-
if (goog.isObject(goog.global.gapi) && goog.isObject(goog.global.gapi.
|
|
17815
|
+
if (goog.isObject(goog.global.gapi) && goog.isObject(goog.global.gapi.auth2) && "function" === typeof goog.global.gapi.auth2.authorize) {
|
|
17787
17816
|
done();
|
|
17788
17817
|
} else {
|
|
17789
17818
|
for (var callbackName = Date.now().toString(36); callbackName in goog.global;) {
|
|
@@ -19353,7 +19382,7 @@ ee.data.authenticate = function(clientId, success, opt_error, opt_extraScopes, o
|
|
|
19353
19382
|
};
|
|
19354
19383
|
goog.exportSymbol("ee.data.authenticate", ee.data.authenticate);
|
|
19355
19384
|
ee.data.authenticateViaPopup = function(opt_success, opt_error) {
|
|
19356
|
-
goog.global.gapi.
|
|
19385
|
+
goog.global.gapi.auth2.authorize({client_id:module$contents$ee$apiclient_apiclient.getAuthClientId(), immediate:!1, scope:module$contents$ee$apiclient_apiclient.getAuthScopes().join(" ")}, goog.partial(module$contents$ee$apiclient_apiclient.handleAuthResult_, opt_success, opt_error));
|
|
19357
19386
|
};
|
|
19358
19387
|
goog.exportSymbol("ee.data.authenticateViaPopup", ee.data.authenticateViaPopup);
|
|
19359
19388
|
ee.data.authenticateViaPrivateKey = function(privateKey, opt_success, opt_error, opt_extraScopes, opt_suppressDefaultScopes) {
|
|
@@ -21770,9 +21799,9 @@ ee.ImageCollection.prototype.select = function(selectors, opt_names) {
|
|
|
21770
21799
|
};
|
|
21771
21800
|
goog.exportProperty(ee.ImageCollection.prototype, "select", ee.ImageCollection.prototype.select);
|
|
21772
21801
|
ee.ImageCollection.prototype.linkCollection = function(imageCollection, opt_linkedBands, opt_linkedProperties, opt_matchPropertyName) {
|
|
21773
|
-
var
|
|
21802
|
+
var args = ee.arguments.extractFromFunction(ee.ImageCollection.prototype.linkCollection, arguments);
|
|
21774
21803
|
return this.map(function(obj) {
|
|
21775
|
-
return ee.ApiFunction._call
|
|
21804
|
+
return ee.ApiFunction._call("Image.linkCollection", obj, args.imageCollection, args.linkedBands, args.linkedProperties, args.matchPropertyName);
|
|
21776
21805
|
});
|
|
21777
21806
|
};
|
|
21778
21807
|
goog.exportProperty(ee.ImageCollection.prototype, "linkCollection", ee.ImageCollection.prototype.linkCollection);
|
|
@@ -24305,8 +24334,8 @@ function module$contents$safevalues$internals$attribute_impl_unwrapAttributePref
|
|
|
24305
24334
|
throw Error(message);
|
|
24306
24335
|
}
|
|
24307
24336
|
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
24308
|
-
var $jscomp$templatelit$
|
|
24309
|
-
["\\0"]), $jscomp$templatelit$
|
|
24337
|
+
var $jscomp$templatelit$1274514361$0 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$1 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$1274514361$2 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$3 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$1274514361$4 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$5 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
24338
|
+
["\\0"]), $jscomp$templatelit$1274514361$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
24310
24339
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
24311
24340
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
24312
24341
|
throw new TypeError("\n ############################## ERROR ##############################\n\n It looks like you are trying to call a template tag function (fn`...`)\n using the normal function syntax (fn(...)), which is not supported.\n\n The functions in the safevalues library are not designed to be called\n like normal functions, and doing so invalidates the security guarantees\n that safevalues provides.\n\n If you are stuck and not sure how to proceed, please reach out to us\n instead through:\n - go/ise-hardening-yaqs (preferred) // LINE-INTERNAL\n - g/ise-hardening // LINE-INTERNAL\n - https://github.com/google/safevalues/issues\n\n ############################## ERROR ##############################");
|
|
@@ -24320,14 +24349,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
24320
24349
|
return -1 === fn.toString().indexOf("`");
|
|
24321
24350
|
}
|
|
24322
24351
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
24323
|
-
return tag($jscomp$templatelit$
|
|
24352
|
+
return tag($jscomp$templatelit$1274514361$0);
|
|
24324
24353
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
24325
|
-
return tag($jscomp$templatelit$
|
|
24354
|
+
return tag($jscomp$templatelit$1274514361$1);
|
|
24326
24355
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
24327
|
-
return tag($jscomp$templatelit$
|
|
24356
|
+
return tag($jscomp$templatelit$1274514361$2);
|
|
24328
24357
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
24329
|
-
return tag($jscomp$templatelit$
|
|
24330
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
24358
|
+
return tag($jscomp$templatelit$1274514361$3);
|
|
24359
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$4) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$5) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$6) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$7);
|
|
24331
24360
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
24332
24361
|
return Array.isArray(templateObj) && Array.isArray(templateObj.raw) && templateObj.length === templateObj.raw.length && (module$contents$safevalues$internals$string_literal_isTranspiled || templateObj !== templateObj.raw) && (module$contents$safevalues$internals$string_literal_isTranspiled && !module$contents$safevalues$internals$string_literal_frozenTSA || module$contents$safevalues$internals$string_literal_checkFrozen(templateObj)) ?
|
|
24333
24362
|
!0 : !1;
|
|
@@ -24652,7 +24681,7 @@ function module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sani
|
|
|
24652
24681
|
}
|
|
24653
24682
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.isCustomElement = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_isCustomElement;
|
|
24654
24683
|
var module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table = {}, module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/sanitizer_table/default_sanitizer_table.closure.js"},
|
|
24655
|
-
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS = "ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER".split(" "),
|
|
24684
|
+
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS = "ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "),
|
|
24656
24685
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES = [["A", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])], ["AREA", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])],
|
|
24657
24686
|
["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL, 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}]])],
|
|
24658
24687
|
["IMG", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}]])], ["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}]])], ["AUDIO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}]])]],
|
|
@@ -24790,7 +24819,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
24790
24819
|
return !0;
|
|
24791
24820
|
}
|
|
24792
24821
|
for (var $jscomp$iter$44 = $jscomp.makeIterator(conditions), $jscomp$key$ = $jscomp$iter$44.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$44.next()) {
|
|
24793
|
-
var $jscomp$destructuring$var54 = $jscomp.makeIterator($jscomp$key$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var54.next().value, expectedValues = $jscomp$destructuring$var54.next().value, $jscomp$optchain$
|
|
24822
|
+
var $jscomp$destructuring$var54 = $jscomp.makeIterator($jscomp$key$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var54.next().value, expectedValues = $jscomp$destructuring$var54.next().value, $jscomp$optchain$tmpm1803429925$0 = void 0, value = null == ($jscomp$optchain$tmpm1803429925$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) ? void 0 : $jscomp$optchain$tmpm1803429925$0.value;
|
|
24794
24823
|
if (value && !expectedValues.has(value)) {
|
|
24795
24824
|
return !1;
|
|
24796
24825
|
}
|
|
@@ -25282,12 +25311,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
25282
25311
|
}
|
|
25283
25312
|
try {
|
|
25284
25313
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
25285
|
-
} catch ($jscomp$unused$catch$
|
|
25314
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
25286
25315
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
25287
25316
|
}
|
|
25288
25317
|
try {
|
|
25289
25318
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
25290
|
-
} catch ($jscomp$unused$catch$
|
|
25319
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
25291
25320
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
25292
25321
|
}
|
|
25293
25322
|
return !1;
|