@google/earthengine 0.1.337 → 0.1.338
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 +4 -0
- package/.tmp/METADATA +3 -3
- package/build/browser.js +66 -25
- package/build/ee_api_js.js +15 -15
- package/build/ee_api_js_debug.js +44 -3
- package/build/ee_api_js_npm.js +66 -25
- package/build/main.js +66 -25
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/examples/Arrays/LinearRegression.js +1 -2
- package/src/examples/Arrays/QualityMosaic.js +1 -2
- package/src/examples/Arrays/SpectralUnmixing.js +1 -1
- package/src/examples/Charts/DoySeries.js +5 -4
- package/src/examples/Charts/ElevationAndTemperature.js +1 -1
- package/src/examples/Charts/ImageSpectra.js +2 -2
- package/src/examples/Charts/ImageTimeSeries.js +2 -2
- package/src/examples/Charts/ImageTimeSeriesByRegion.js +1 -1
- package/src/examples/CloudMasking/Landsat8TOAReflectanceQABand.js +5 -5
- package/src/examples/CodeEditor/MapCenterObject.js +1 -1
- package/src/examples/Demos/Classification.js +472 -472
- package/src/examples/Demos/EgyptClassification.js +30 -21
- package/src/examples/Demos/Landsat8HarmonicModeling.js +1 -1
- package/src/examples/Image/CannyEdgeDetector.js +1 -1
- package/src/examples/Image/CenterPivotIrrigationDetector.js +1 -1
- package/src/examples/Image/HSVPanSharpening.js +1 -1
- package/src/examples/Image/HoughTransform.js +1 -1
- package/src/examples/ImageCollection/ClippedComposite.js +1 -1
- package/src/examples/ImageCollection/ExpressionMap.js +1 -1
- package/src/examples/ImageCollection/FilteredComposite.js +1 -1
- package/src/examples/ImageCollection/LandsatSimpleComposite.js +2 -2
- package/src/examples/ImageCollection/SimpleCloudScore.js +1 -1
- package/src/examples/UserInterface/AirstripThumbnails.js +13 -13
- package/src/examples/UserInterface/AsyncInspector.js +2 -2
- package/src/examples/UserInterface/LandsatExplorer.js +4 -4
- package/src/examples/UserInterface/MosaicEditor.js +11 -11
- package/src/examples/UserInterface/TwoChartInspector.js +1 -1
package/.tmp/BUILD
CHANGED
|
@@ -416,6 +416,10 @@ Fileset(
|
|
|
416
416
|
srcdir = "//third_party/hosted_libraries/libs/earthengine/0.1.337:public",
|
|
417
417
|
destdir = "0.1.337",
|
|
418
418
|
),
|
|
419
|
+
FilesetEntry(
|
|
420
|
+
srcdir = "//third_party/hosted_libraries/libs/earthengine/0.1.338:public",
|
|
421
|
+
destdir = "0.1.338",
|
|
422
|
+
),
|
|
419
423
|
# NEXT RELEASE GOES HERE. DO NOT REMOVE OR CHANGE THIS LINE.
|
|
420
424
|
],
|
|
421
425
|
)
|
package/.tmp/METADATA
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Format: google3/devtools/metadata/metadata.proto (go/google3metadata)
|
|
2
2
|
|
|
3
|
-
name: "0.1.
|
|
3
|
+
name: "0.1.338"
|
|
4
4
|
description:
|
|
5
5
|
"Google Earth Engine is a cloud-based platform for planetary-scale "
|
|
6
6
|
"environmental data analysis. The Earth Engine JavaScript API allows "
|
|
@@ -12,10 +12,10 @@ third_party {
|
|
|
12
12
|
type: GIT
|
|
13
13
|
value: "https://github.com/google/earthengine-api.git"
|
|
14
14
|
}
|
|
15
|
-
version: "v0.1.
|
|
15
|
+
version: "v0.1.338"
|
|
16
16
|
last_upgrade_date: {
|
|
17
17
|
year: 2023
|
|
18
18
|
month: 1
|
|
19
|
-
day:
|
|
19
|
+
day: 25
|
|
20
20
|
}
|
|
21
21
|
}
|
package/build/browser.js
CHANGED
|
@@ -6843,6 +6843,47 @@ goog.html.SafeUrl.sanitizeAssertUnchanged = function(url, opt_allowDataUrl) {
|
|
|
6843
6843
|
goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(url), "%s does not match the safe URL pattern", url) || (url = goog.html.SafeUrl.INNOCUOUS_STRING);
|
|
6844
6844
|
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
6845
6845
|
};
|
|
6846
|
+
goog.html.SafeUrl.ASSUME_IMPLEMENTS_URL_API_GOOG = 2020 <= goog.FEATURESET_YEAR;
|
|
6847
|
+
goog.html.SafeUrl.supportsURLAPI = function() {
|
|
6848
|
+
if (goog.html.SafeUrl.ASSUME_IMPLEMENTS_URL_API_GOOG) {
|
|
6849
|
+
return !0;
|
|
6850
|
+
}
|
|
6851
|
+
try {
|
|
6852
|
+
return new URL("s://g"), !0;
|
|
6853
|
+
} catch (e) {
|
|
6854
|
+
return !1;
|
|
6855
|
+
}
|
|
6856
|
+
}();
|
|
6857
|
+
goog.html.SafeUrl.legacyExtractScheme = function(url) {
|
|
6858
|
+
var aTag = document.createElement("a");
|
|
6859
|
+
try {
|
|
6860
|
+
aTag.href = url;
|
|
6861
|
+
} catch (e) {
|
|
6862
|
+
return;
|
|
6863
|
+
}
|
|
6864
|
+
var protocol = aTag.protocol;
|
|
6865
|
+
return ":" === protocol || "" === protocol ? "https:" : protocol;
|
|
6866
|
+
};
|
|
6867
|
+
goog.html.SafeUrl.extractScheme = function(url) {
|
|
6868
|
+
if (!goog.html.SafeUrl.supportsURLAPI) {
|
|
6869
|
+
return goog.html.SafeUrl.legacyExtractScheme(url);
|
|
6870
|
+
}
|
|
6871
|
+
try {
|
|
6872
|
+
var parsedUrl = new URL(url);
|
|
6873
|
+
} catch (e) {
|
|
6874
|
+
return "https:";
|
|
6875
|
+
}
|
|
6876
|
+
return parsedUrl.protocol;
|
|
6877
|
+
};
|
|
6878
|
+
goog.html.SafeUrl.sanitizeJavascriptUrlAssertUnchanged = function(url) {
|
|
6879
|
+
if (url instanceof goog.html.SafeUrl) {
|
|
6880
|
+
return url;
|
|
6881
|
+
}
|
|
6882
|
+
url = "object" == typeof url && url.implementsGoogStringTypedString ? url.getTypedStringValue() : String(url);
|
|
6883
|
+
var parsedScheme = goog.html.SafeUrl.extractScheme(url);
|
|
6884
|
+
goog.asserts.assert("javascript:" !== parsedScheme, "%s is a javascript: URL", url) || (url = goog.html.SafeUrl.INNOCUOUS_STRING);
|
|
6885
|
+
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
6886
|
+
};
|
|
6846
6887
|
goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
6847
6888
|
goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse = function(url) {
|
|
6848
6889
|
return new goog.html.SafeUrl(url, goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_);
|
|
@@ -17500,7 +17541,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
17500
17541
|
ee.apiclient = {};
|
|
17501
17542
|
var module$contents$ee$apiclient_apiclient = {};
|
|
17502
17543
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1ALPHA;
|
|
17503
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
17544
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.338";
|
|
17504
17545
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
17505
17546
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
17506
17547
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -17781,8 +17822,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
17781
17822
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
17782
17823
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
17783
17824
|
method = method || "POST";
|
|
17784
|
-
var headers = {"Content-Type":contentType,}, version = "0.1.
|
|
17785
|
-
"0.1.
|
|
17825
|
+
var headers = {"Content-Type":contentType,}, version = "0.1.338";
|
|
17826
|
+
"0.1.338" === version && (version = "latest");
|
|
17786
17827
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
17787
17828
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
17788
17829
|
if (null != authToken) {
|
|
@@ -25247,28 +25288,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
25247
25288
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
25248
25289
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
25249
25290
|
(function() {
|
|
25250
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.
|
|
25251
|
-
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "
|
|
25252
|
-
["
|
|
25253
|
-
"collection opt_description opt_folder opt_fileNamePrefix
|
|
25254
|
-
"image opt_description
|
|
25255
|
-
["
|
|
25256
|
-
["
|
|
25257
|
-
["
|
|
25258
|
-
"
|
|
25259
|
-
["var_args"], ["
|
|
25260
|
-
"
|
|
25261
|
-
["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "
|
|
25262
|
-
["opt_callback"], ["selectors", "opt_names"], [], ["args"], ["
|
|
25263
|
-
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.
|
|
25264
|
-
module$contents$ee$batch_Export.
|
|
25265
|
-
ee.ComputedObject.prototype.getInfo, ee.data.
|
|
25266
|
-
ee.data.
|
|
25267
|
-
ee.data.
|
|
25268
|
-
ee.Feature.prototype.getInfo, ee.
|
|
25269
|
-
ee.Geometry.prototype.toGeoJSON, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.Point, ee.Geometry.BBox, ee.Geometry.LinearRing, ee.Geometry, ee.Geometry.
|
|
25270
|
-
ee.Image.prototype.
|
|
25271
|
-
ee.Serializer.
|
|
25291
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.image.toDrive ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.video.toDrive ee.batch.Export.image.toAsset ee.batch.Export.table.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toCloudStorage ee.Collection.prototype.filterMetadata ee.Collection.prototype.filter ee.Collection.prototype.sort ee.Collection.prototype.filterDate ee.Collection.prototype.limit ee.Collection.prototype.filterBounds ee.Collection.prototype.map ee.Collection.prototype.iterate ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.getInfo ee.data.updateAsset ee.data.updateTask ee.data.getList ee.data.startProcessing ee.data.setAssetAcl ee.data.listAssets ee.data.getTaskList ee.data.setAssetProperties ee.data.getTaskListWithLimit ee.data.listImages ee.data.getAssetRootQuota ee.data.listOperations ee.data.cancelOperation ee.data.listBuckets ee.data.getVideoThumbId ee.data.getWorkloadTag ee.data.getAssetRoots ee.data.getOperation ee.data.createAssetHome ee.data.setWorkloadTag ee.data.setDefaultWorkloadTag ee.data.authenticateViaOauth ee.data.createAsset ee.data.cancelTask ee.data.getMapId ee.data.getFilmstripThumbId ee.data.resetWorkloadTag ee.data.makeThumbUrl ee.data.startIngestion ee.data.getTileUrl ee.data.authenticate ee.data.createFolder ee.data.renameAsset ee.data.authenticateViaPopup ee.data.getDownloadId ee.data.copyAsset ee.data.getFeatureViewTilesKey ee.data.authenticateViaPrivateKey ee.data.makeDownloadUrl ee.data.startTableIngestion ee.data.listFeatures ee.data.getTableDownloadId ee.data.deleteAsset ee.data.getAsset ee.data.getAssetAcl ee.data.computeValue ee.data.makeTableDownloadUrl ee.data.getInfo ee.data.newTaskId ee.data.getThumbId ee.data.getTaskStatus ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Dictionary ee.reset ee.InitState ee.Algorithms ee.initialize ee.call ee.apply ee.TILE_SIZE ee.Element.prototype.set ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.Feature ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.Filter.gte ee.Filter.or ee.Filter.date ee.Filter ee.Filter.prototype.not ee.Filter.inList ee.Filter.metadata ee.Filter.eq ee.Filter.neq ee.Filter.gt ee.Filter.bounds ee.Filter.lte ee.Filter.lt ee.Filter.and ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.Point ee.Geometry.BBox ee.Geometry.LinearRing ee.Geometry ee.Geometry.MultiPoint ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.Polygon ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.rgb ee.Image.prototype.getInfo ee.Image.prototype.getThumbURL ee.Image.prototype.getThumbId ee.Image.prototype.clip ee.Image.prototype.select ee.Image.prototype.expression ee.Image.cat ee.Image.prototype.rename ee.Image ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.List ee.Number ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
25292
|
+
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "),
|
|
25293
|
+
["classifier", "opt_description", "opt_assetId"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris".split(" "),
|
|
25294
|
+
"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize".split(" "), ["collection", "opt_description", "opt_assetId",
|
|
25295
|
+
"opt_maxVertices"], "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "), ["name", "operator", "value"], ["filter"], ["property", "opt_ascending"],
|
|
25296
|
+
["start", "opt_end"], ["max", "opt_property", "opt_ascending"], ["geometry"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["callback"], ["func", "var_args"], ["legacy"], ["opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["taskId", "params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["opt_callback"], ["assetId", "properties", "opt_callback"],
|
|
25297
|
+
["opt_limit", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["rootId", "opt_callback"], ["opt_limit", "opt_callback"], ["operationName", "opt_callback"], ["project", "opt_callback"], ["params", "opt_callback"], [], ["opt_callback"], ["operationName", "opt_callback"], ["requestedId", "opt_callback"], ["tag"], ["tag"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"],
|
|
25298
|
+
["taskId", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_resetDefault"], ["id"], ["taskId", "request", "opt_callback"], ["id", "x", "y", "z"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["path", "opt_force", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["opt_success", "opt_error"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["params", "opt_callback"], ["privateKey",
|
|
25299
|
+
"opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["id"], ["taskId", "request", "opt_callback"], ["asset", "params", "opt_callback"], ["params", "opt_callback"], ["assetId", "opt_callback"], ["id", "opt_callback"], ["assetId", "opt_callback"], ["obj", "opt_callback"], ["id"], ["id", "opt_callback"], ["opt_count", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], [], [],
|
|
25300
|
+
"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], ["func", "namedArgs"], [], ["var_args"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["geometry", "opt_properties"], ["args", "opt_column"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["name", "value"], ["var_args"], ["start",
|
|
25301
|
+
"opt_end"], ["opt_filter"], [], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "operator", "value"], ["name", "value"], ["name", "value"], ["name", "value"], ["geometry", "opt_errorMargin"], ["name", "value"], ["name", "value"], ["var_args"], ["namedArgs"], ["var_args"], [], [], ["coords", "opt_proj"], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"],
|
|
25302
|
+
["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["r", "g", "b"], ["opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["geometry"], ["var_args"],
|
|
25303
|
+
["expression", "opt_map"], ["var_args"], ["var_args"], ["opt_args"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], [], ["args"], ["params", "opt_callback"], ["params", "opt_callback"], ["list"], ["number"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
25304
|
+
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.image.toAsset,
|
|
25305
|
+
module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.image.toCloudStorage, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filter, ee.Collection.prototype.sort, ee.Collection.prototype.filterDate, ee.Collection.prototype.limit, ee.Collection.prototype.filterBounds, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.serialize,
|
|
25306
|
+
ee.ComputedObject.prototype.getInfo, ee.data.updateAsset, ee.data.updateTask, ee.data.getList, ee.data.startProcessing, ee.data.setAssetAcl, ee.data.listAssets, ee.data.getTaskList, ee.data.setAssetProperties, ee.data.getTaskListWithLimit, ee.data.listImages, ee.data.getAssetRootQuota, ee.data.listOperations, ee.data.cancelOperation, ee.data.listBuckets, ee.data.getVideoThumbId, ee.data.getWorkloadTag, ee.data.getAssetRoots, ee.data.getOperation, ee.data.createAssetHome, ee.data.setWorkloadTag,
|
|
25307
|
+
ee.data.setDefaultWorkloadTag, ee.data.authenticateViaOauth, ee.data.createAsset, ee.data.cancelTask, ee.data.getMapId, ee.data.getFilmstripThumbId, ee.data.resetWorkloadTag, ee.data.makeThumbUrl, ee.data.startIngestion, ee.data.getTileUrl, ee.data.authenticate, ee.data.createFolder, ee.data.renameAsset, ee.data.authenticateViaPopup, ee.data.getDownloadId, ee.data.copyAsset, ee.data.getFeatureViewTilesKey, ee.data.authenticateViaPrivateKey, ee.data.makeDownloadUrl, ee.data.startTableIngestion,
|
|
25308
|
+
ee.data.listFeatures, ee.data.getTableDownloadId, ee.data.deleteAsset, ee.data.getAsset, ee.data.getAssetAcl, ee.data.computeValue, ee.data.makeTableDownloadUrl, ee.data.getInfo, ee.data.newTaskId, ee.data.getThumbId, ee.data.getTaskStatus, ee.Date, ee.Deserializer.decodeCloudApi, ee.Deserializer.decode, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.fromJSON, ee.Dictionary, ee.reset, ee.InitState, ee.Algorithms, ee.initialize, ee.call, ee.apply, ee.TILE_SIZE, ee.Element.prototype.set, ee.Feature.prototype.getMap,
|
|
25309
|
+
ee.Feature.prototype.getInfo, ee.Feature, ee.FeatureCollection, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.select, ee.Filter.gte, ee.Filter.or, ee.Filter.date, ee.Filter, ee.Filter.prototype.not, ee.Filter.inList, ee.Filter.metadata, ee.Filter.eq, ee.Filter.neq, ee.Filter.gt, ee.Filter.bounds, ee.Filter.lte, ee.Filter.lt, ee.Filter.and, ee.Function.prototype.apply, ee.Function.prototype.call,
|
|
25310
|
+
ee.Geometry.prototype.toGeoJSON, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.Point, ee.Geometry.BBox, ee.Geometry.LinearRing, ee.Geometry, ee.Geometry.MultiPoint, ee.Geometry.prototype.serialize, ee.Geometry.MultiPolygon, ee.Geometry.MultiLineString, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry.Polygon, ee.Image.prototype.getMap, ee.Image.prototype.getDownloadURL, ee.Image.rgb, ee.Image.prototype.getInfo, ee.Image.prototype.getThumbURL, ee.Image.prototype.getThumbId, ee.Image.prototype.clip,
|
|
25311
|
+
ee.Image.prototype.select, ee.Image.prototype.expression, ee.Image.cat, ee.Image.prototype.rename, ee.Image, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.first, ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.toReadableJSON, ee.Serializer.encodeCloudApi,
|
|
25312
|
+
ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
25272
25313
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
25273
25314
|
});
|
|
25274
25315
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/build/ee_api_js.js
CHANGED
|
@@ -451,7 +451,7 @@ Lc(q,g[m]))});return b?b(l):l};return this.callback?(hj(d,null,function(g,l){ret
|
|
|
451
451
|
ij.prototype.send=function(a,b){var c=[a.B+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=kj();null!=d&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
|
|
452
452
|
var lj=function(a,b,c){a=n(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(3>b.length)){var d=b[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1],e=Number(b[1].match(/^HTTP\S*\s(\d+)\s/)[1]);c(d,e,b.slice(2).join("\r\n\r\n"))}},fj=function(){var a=nj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},pj=function(a,b,c){var d=[];a&&(d=d.concat(oj));
|
|
453
453
|
b&&d.push("https://www.googleapis.com/auth/devstorage.read_write");a=d=d.concat(c);c=b=0;for(var e={};c<a.length;){var f=a[c++],g=t(f)?"o"+ya(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,g)||(e[g]=!0,a[b++]=f)}a.length=b;return d},vj=function(a,b,c){qj&&rj&&qj({client_id:String(rj),immediate:!0,scope:sj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{tj(function(){try{r.gapi.auth.setToken(d),uj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else uj(a,
|
|
454
|
-
b,d)})},kj=function(){wj&&0<=Date.now()-wj&&xj();return yj},xj=function(){wj=yj=null},cj=function(a,b,c,d){null!=a?nj=a:zj||(nj="https://earthengine.googleapis.com/api");null!=b?Aj=b:zj||(Aj="https://earthengine.googleapis.com");void 0!==c&&(Bj=c);bj=null!=d?d:bj||"earthengine-legacy";zj=!0},hj=function(a,b,c,d,e,f){cj();var g=Cj,l="application/x-www-form-urlencoded";e&&(l="application/json",d&&d.startsWith("multipart")&&(l=d,d="POST"));d=d||"POST";l={"Content-Type":l};var m="0.1.
|
|
454
|
+
b,d)})},kj=function(){wj&&0<=Date.now()-wj&&xj();return yj},xj=function(){wj=yj=null},cj=function(a,b,c,d){null!=a?nj=a:zj||(nj="https://earthengine.googleapis.com/api");null!=b?Aj=b:zj||(Aj="https://earthengine.googleapis.com");void 0!==c&&(Bj=c);bj=null!=d?d:bj||"earthengine-legacy";zj=!0},hj=function(a,b,c,d,e,f){cj();var g=Cj,l="application/x-www-form-urlencoded";e&&(l="application/json",d&&d.startsWith("multipart")&&(l=d,d="POST"));d=d||"POST";l={"Content-Type":l};var m="0.1.338";"0.1.338"===
|
|
455
455
|
m&&(m="latest");l["x-goog-api-client"]="ee-js/"+m;m=kj();if(null!=m)l.Authorization=m;else if(c&&qj&&rj)return vj(function(){Dj(g,function(){hj(a,b,c,d)})}),null;b=b?b.clone():new wd;null!=Ej&&b.add("key",Ej);g&&(l["X-Earth-Engine-Computation-Profiling"]="1");bj&&"earthengine-legacy"!==bj&&(l["X-Goog-User-Project"]=bj);b=Fj(b,a);null!=Bj&&(l["X-XSRF-Token"]=Bj);null!=Gj&&(l["X-Earth-Engine-App-ID-Token"]=Gj);m=e||null;var q=b?b.toString():"";"POST"===d&&void 0===e?m=q:/^[\s\xa0]*$/.test(q)||(a+=-1!=
|
|
456
456
|
a.indexOf("?")?"&":"?",a+=q);e=a.startsWith("/")?nj+a:a;if(c)return Hj.push(Ij(e,c,d,m,l,f)),Jj.kf(),null;q=function(D,R){this.setRequestHeader&&this.setRequestHeader(R,D)};var v=0;for(f=null!=f?f:5;;){var B=Oi(Mi);B.open(d,e,!1);ub(l,q,B);B.send(m);if(429!=B.status||v>f)break;v++}return Kj(B.status,function(D){try{return B.getResponseHeader(D)}catch(R){return null}},B.responseText,g,void 0,e,d)},Ij=function(a,b,c,d,e,f){var g=0,l={url:a,method:c,content:d,headers:e},m=Cj,q=null!=f?f:10;l.callback=
|
|
457
457
|
function(v){v=v.target;if(429==v.getStatus()&&g<q)return g++,setTimeout(function(){Hj.push(l);Jj.kf()},Math.min(12E4,1E3*Math.pow(2,g))),null;var B=Kj,D=v.getStatus(),R=u(v.getResponseHeader,v);try{var Z=v.s?v.s.responseText:""}catch(U){Hi(v.ia,"Can not get responseText: "+U.message),Z=""}return B(D,R,Z,m,b,a,c)};return l},Dj=function(a,b){var c=Cj;try{Cj=a,b.call(void 0)}finally{Cj=c}},Kj=function(a,b,c,d,e,f,g){var l=d?b("X-Earth-Engine-Computation-Profile"):"";l&&d&&d(l);var m=function(Z){try{var U=
|
|
@@ -696,17 +696,17 @@ h.zl=function(){if(!this.mc){var a=u(function(d){this.mc||(Vp(this.ga,this.fa,d)
|
|
|
696
696
|
h.ga=null;h.Ri=null;h.La=null;h.mi=null;var tq=["load","abort","error"],uq=function(){Ea.call(this);this.Ga=!1};p(uq,Ea);uq.prototype.setActive=function(a){this.Ga=a};uq.prototype.isActive=function(){return this.Ga};var pq=function(a,b){kq.call(this,a,b)};p(pq,kq);pq.prototype.We=function(){return new uq};pq.prototype.zd=function(a){a.Ta()};pq.prototype.Nf=function(a){return!a.Ua&&!a.isActive()};var vq=function(a,b,c,d,e){Cc.call(this,a,b,c,d,e);this.minZoom=d.minZoom||0;this.maxZoom=d.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=d.tileSize||new google.maps.Size(256,256);this.name=d.name;this.ug=new xc;this.Of=1;this.wa=e||null};p(vq,Cc);h=vq.prototype;h.Me=function(a){return Rb(this,"tileevent",a)};h.Yf=function(a){Zb(a)};
|
|
697
697
|
h.getTile=function(a,b,c){if(b<this.minZoom||0>a.y||a.y>=1<<b)return a=c.createElement("IMG"),a.style.width="0px",a.style.height="0px",a;b=Dc(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.wa&&this.wa.isEnabled()&&(a+="&profiling=1");b=[b,this.Ab,this.token].join("/");this.Ab+=1;c=eh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Cb.push(b);ll(qq).send(b,a,d,u(this.Zk,this,c,b));sp(this);return c};h.Qc=function(){return this.Cb.length};
|
|
698
698
|
h.releaseTile=function(a){ll(qq).abort(a.id);if(void 0!==a.firstElementChild)var b=a.firstElementChild;else for(b=a.firstChild;b&&1!=b.nodeType;)b=b.nextSibling;this.ug.remove(b);""!==a.id&&(this.tg.remove(a.id),this.wa&&this.wa.rl(a.id))};h.setOpacity=function(a){this.Of=a;var b=this.ug.Fa();jc(b,function(c){Dp(c,a)})};
|
|
699
|
-
h.Zk=function(a,b,c,d){"error"==c.type?(Za(this.Cb,b),this.tg.add(b),this.dispatchEvent(c)):(Za(this.Cb,b),c.target&&"load"==c.type&&(c=c.target,this.ug.add(c),1!=this.Of&&Dp(c,this.Of),a.appendChild(c)),sp(this));this.wa&&null!==d&&this.wa.Nk(b,d)};w("ee.MapLayerOverlay",vq);vq.prototype.removeTileCallback=vq.prototype.Yf;vq.prototype.addTileCallback=vq.prototype.Me;vq.prototype.getTile=vq.prototype.getTile;vq.prototype.setOpacity=vq.prototype.setOpacity;vq.prototype.releaseTile=vq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.
|
|
700
|
-
c=[["name"],["name","namedArgs"],["name"
|
|
701
|
-
["
|
|
702
|
-
"collection opt_description opt_folder opt_fileNamePrefix
|
|
703
|
-
"image opt_description
|
|
704
|
-
["
|
|
705
|
-
["params","opt_callback"],["
|
|
706
|
-
|
|
707
|
-
"opt_callback"],["tag"],["params","opt_callback"],["tag"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],[],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),["func","var_args"],["func","namedArgs"],[],["var_args"],["
|
|
708
|
-
["opt_format","opt_selectors","opt_filename","opt_callback"],["
|
|
709
|
-
["coords","opt_proj","opt_geodesic","opt_maxError"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["
|
|
710
|
-
"
|
|
711
|
-
M.prototype.evaluate,M.prototype.Eg,M.prototype.xa,M.prototype.U,
|
|
712
|
-
gn,mn,qn,S,S.prototype.xa,
|
|
699
|
+
h.Zk=function(a,b,c,d){"error"==c.type?(Za(this.Cb,b),this.tg.add(b),this.dispatchEvent(c)):(Za(this.Cb,b),c.target&&"load"==c.type&&(c=c.target,this.ug.add(c),1!=this.Of&&Dp(c,this.Of),a.appendChild(c)),sp(this));this.wa&&null!==d&&this.wa.Nk(b,d)};w("ee.MapLayerOverlay",vq);vq.prototype.removeTileCallback=vq.prototype.Yf;vq.prototype.addTileCallback=vq.prototype.Me;vq.prototype.getTile=vq.prototype.getTile;vq.prototype.setOpacity=vq.prototype.setOpacity;vq.prototype.releaseTile=vq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._call ee.ApiFunction._apply ee.ApiFunction.lookup ee.batch.Export.image.toDrive ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.video.toDrive ee.batch.Export.image.toAsset ee.batch.Export.table.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toCloudStorage ee.Collection.prototype.filterMetadata ee.Collection.prototype.sort ee.Collection.prototype.filter ee.Collection.prototype.iterate ee.Collection.prototype.filterDate ee.Collection.prototype.limit ee.Collection.prototype.filterBounds ee.Collection.prototype.map ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.getInfo ee.data.resetWorkloadTag ee.data.updateTask ee.data.createFolder ee.data.startProcessing ee.data.renameAsset ee.data.copyAsset ee.data.deleteAsset ee.data.getAssetAcl ee.data.getVideoThumbId ee.data.cancelTask ee.data.authenticateViaOauth ee.data.getMapId ee.data.getFilmstripThumbId ee.data.makeThumbUrl ee.data.updateAsset ee.data.startIngestion ee.data.getTileUrl ee.data.authenticate ee.data.getList ee.data.setAssetAcl ee.data.listAssets ee.data.getTaskList ee.data.authenticateViaPopup ee.data.getDownloadId ee.data.setAssetProperties ee.data.getTaskListWithLimit ee.data.getFeatureViewTilesKey ee.data.listImages ee.data.authenticateViaPrivateKey ee.data.makeDownloadUrl ee.data.startTableIngestion ee.data.getAssetRootQuota ee.data.listFeatures ee.data.getTableDownloadId ee.data.listOperations ee.data.cancelOperation ee.data.listBuckets ee.data.getAsset ee.data.computeValue ee.data.makeTableDownloadUrl ee.data.getAssetRoots ee.data.getWorkloadTag ee.data.getInfo ee.data.newTaskId ee.data.getOperation ee.data.createAssetHome ee.data.setWorkloadTag ee.data.getThumbId ee.data.setDefaultWorkloadTag ee.data.createAsset ee.data.getTaskStatus ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Dictionary ee.reset ee.InitState ee.Algorithms ee.initialize ee.call ee.apply ee.TILE_SIZE ee.Element.prototype.set ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.Feature ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.Filter.gte ee.Filter.or ee.Filter.date ee.Filter ee.Filter.prototype.not ee.Filter.inList ee.Filter.metadata ee.Filter.eq ee.Filter.neq ee.Filter.gt ee.Filter.bounds ee.Filter.lte ee.Filter.lt ee.Filter.and ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.Point ee.Geometry.BBox ee.Geometry.LinearRing ee.Geometry ee.Geometry.MultiPoint ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.Polygon ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.rgb ee.Image.prototype.getInfo ee.Image.prototype.getThumbURL ee.Image.prototype.getThumbId ee.Image.prototype.clip ee.Image.prototype.select ee.Image.prototype.expression ee.Image.cat ee.Image ee.Image.prototype.rename ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.List ee.Number ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
700
|
+
c=[["name","var_args"],["name","namedArgs"],["name"],"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "),
|
|
701
|
+
["classifier","opt_description","opt_assetId"],"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris".split(" "),
|
|
702
|
+
"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize".split(" "),["collection","opt_description","opt_assetId","opt_maxVertices"],
|
|
703
|
+
"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris".split(" "),"image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),["name","operator","value"],["property","opt_ascending"],["filter"],["algorithm","opt_first"],
|
|
704
|
+
["start","opt_end"],["max","opt_property","opt_ascending"],["geometry"],["algorithm","opt_dropNulls"],["callback"],["func","var_args"],["legacy"],["opt_callback"],["opt_resetDefault"],["taskId","action","opt_callback"],["path","opt_force","opt_callback"],["taskId","params","opt_callback"],["sourceId","destinationId","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["assetId","opt_callback"],["assetId","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),
|
|
705
|
+
["params","opt_callback"],["params","opt_callback"],["id"],["assetId","asset","updateFields","opt_callback"],["taskId","request","opt_callback"],["id","x","y","z"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["params","opt_callback"],["assetId","aclUpdate","opt_callback"],["parent","opt_params","opt_callback"],["opt_callback"],["opt_success","opt_error"],["params","opt_callback"],["assetId","properties","opt_callback"],["opt_limit","opt_callback"],["params","opt_callback"],
|
|
706
|
+
["parent","opt_params","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["id"],["taskId","request","opt_callback"],["rootId","opt_callback"],["asset","params","opt_callback"],["params","opt_callback"],["opt_limit","opt_callback"],["operationName","opt_callback"],["project","opt_callback"],["id","opt_callback"],["obj","opt_callback"],["id"],["opt_callback"],[],["id","opt_callback"],["opt_count","opt_callback"],["operationName","opt_callback"],["requestedId",
|
|
707
|
+
"opt_callback"],["tag"],["params","opt_callback"],["tag"],["value","opt_path","opt_force","opt_properties","opt_callback"],["taskId","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],[],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),["func","var_args"],["func","namedArgs"],[],["var_args"],["opt_visParams","opt_callback"],["opt_callback"],["geometry","opt_properties"],["args","opt_column"],["opt_callback"],
|
|
708
|
+
["opt_visParams","opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["name","value"],["var_args"],["start","opt_end"],["opt_filter"],[],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["name","operator","value"],["name","value"],["name","value"],["name","value"],["geometry","opt_errorMargin"],["name","value"],["name","value"],["var_args"],["namedArgs"],["var_args"],[],[],["coords","opt_proj"],
|
|
709
|
+
["west","south","east","north"],["coords","opt_proj","opt_geodesic","opt_maxError"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],["legacy"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["opt_visParams","opt_callback"],["params","opt_callback"],
|
|
710
|
+
["r","g","b"],["opt_callback"],["params","opt_callback"],["params","opt_callback"],["geometry"],["var_args"],["expression","opt_map"],["var_args"],["opt_args"],["var_args"],["opt_visParams","opt_callback"],["opt_callback"],["selectors","opt_names"],[],["args"],["params","opt_callback"],["params","opt_callback"],["list"],["number"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj"],["string"],[]];[O,Om,Nm,po,vo,uo,yo,ro,xo,so,wo,mo,to,qo,oo,V.prototype.jf,V.prototype.sort,V.prototype.filter,
|
|
711
|
+
V.prototype.Mh,V.prototype.hf,V.prototype.limit,V.prototype.xh,V.prototype.map,M.prototype.evaluate,M.prototype.Eg,M.prototype.xa,M.prototype.U,zm,Ql,nm,Yl,om,pm,qm,rm,Al,Rl,nl,ul,Bl,Cl,sm,bm,vl,ol,gm,tm,hm,Ml,ml,El,um,Ll,wl,im,pl,Fl,dm,vm,xl,Gl,Nl,Ol,jm,em,yl,Hl,km,sl,em,Il,Pl,lm,xm,zl,ym,mm,Kl,Po,Uo,So,Yo,To,Zo,kp,lp,jp,hp,mp,np,256,Q.prototype.set,W.prototype.getMap,W.prototype.U,W,X,X.prototype.U,X.prototype.getMap,X.prototype.ub,X.prototype.select,En,In,Jn,T,T.prototype.wc,Kn,Mn,Bn,Cn,Fn,Ln,
|
|
712
|
+
Gn,Dn,Hn,Im.prototype.apply,Im.prototype.call,S.prototype.je,S.prototype.wg,gn,mn,qn,S,kn,S.prototype.xa,tn,rn,ln,pn,sn,L.prototype.getMap,L.prototype.ub,Zn,L.prototype.U,L.prototype.rf,L.prototype.Hd,L.prototype.clip,L.prototype.select,L.prototype.l,$n,L,L.prototype.si,Y.prototype.getMap,Y.prototype.U,Y.prototype.select,Y.prototype.first,Y,Y.prototype.pf,Y.prototype.uf,ao,Fo,Ik,Jk,Lk,Ok,Sk,Qk,Rk,Io,bp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|
package/build/ee_api_js_debug.js
CHANGED
|
@@ -6843,6 +6843,47 @@ goog.html.SafeUrl.sanitizeAssertUnchanged = function(url, opt_allowDataUrl) {
|
|
|
6843
6843
|
goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(url), "%s does not match the safe URL pattern", url) || (url = goog.html.SafeUrl.INNOCUOUS_STRING);
|
|
6844
6844
|
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
6845
6845
|
};
|
|
6846
|
+
goog.html.SafeUrl.ASSUME_IMPLEMENTS_URL_API_GOOG = 2020 <= goog.FEATURESET_YEAR;
|
|
6847
|
+
goog.html.SafeUrl.supportsURLAPI = function() {
|
|
6848
|
+
if (goog.html.SafeUrl.ASSUME_IMPLEMENTS_URL_API_GOOG) {
|
|
6849
|
+
return !0;
|
|
6850
|
+
}
|
|
6851
|
+
try {
|
|
6852
|
+
return new URL("s://g"), !0;
|
|
6853
|
+
} catch (e) {
|
|
6854
|
+
return !1;
|
|
6855
|
+
}
|
|
6856
|
+
}();
|
|
6857
|
+
goog.html.SafeUrl.legacyExtractScheme = function(url) {
|
|
6858
|
+
var aTag = document.createElement("a");
|
|
6859
|
+
try {
|
|
6860
|
+
aTag.href = url;
|
|
6861
|
+
} catch (e) {
|
|
6862
|
+
return;
|
|
6863
|
+
}
|
|
6864
|
+
var protocol = aTag.protocol;
|
|
6865
|
+
return ":" === protocol || "" === protocol ? "https:" : protocol;
|
|
6866
|
+
};
|
|
6867
|
+
goog.html.SafeUrl.extractScheme = function(url) {
|
|
6868
|
+
if (!goog.html.SafeUrl.supportsURLAPI) {
|
|
6869
|
+
return goog.html.SafeUrl.legacyExtractScheme(url);
|
|
6870
|
+
}
|
|
6871
|
+
try {
|
|
6872
|
+
var parsedUrl = new URL(url);
|
|
6873
|
+
} catch (e) {
|
|
6874
|
+
return "https:";
|
|
6875
|
+
}
|
|
6876
|
+
return parsedUrl.protocol;
|
|
6877
|
+
};
|
|
6878
|
+
goog.html.SafeUrl.sanitizeJavascriptUrlAssertUnchanged = function(url) {
|
|
6879
|
+
if (url instanceof goog.html.SafeUrl) {
|
|
6880
|
+
return url;
|
|
6881
|
+
}
|
|
6882
|
+
url = "object" == typeof url && url.implementsGoogStringTypedString ? url.getTypedStringValue() : String(url);
|
|
6883
|
+
var parsedScheme = goog.html.SafeUrl.extractScheme(url);
|
|
6884
|
+
goog.asserts.assert("javascript:" !== parsedScheme, "%s is a javascript: URL", url) || (url = goog.html.SafeUrl.INNOCUOUS_STRING);
|
|
6885
|
+
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
6886
|
+
};
|
|
6846
6887
|
goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
6847
6888
|
goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse = function(url) {
|
|
6848
6889
|
return new goog.html.SafeUrl(url, goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_);
|
|
@@ -17500,7 +17541,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
17500
17541
|
ee.apiclient = {};
|
|
17501
17542
|
var module$contents$ee$apiclient_apiclient = {};
|
|
17502
17543
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1ALPHA;
|
|
17503
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
17544
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.338";
|
|
17504
17545
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
17505
17546
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
17506
17547
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -17781,8 +17822,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
17781
17822
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
17782
17823
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
17783
17824
|
method = method || "POST";
|
|
17784
|
-
var headers = {"Content-Type":contentType,}, version = "0.1.
|
|
17785
|
-
"0.1.
|
|
17825
|
+
var headers = {"Content-Type":contentType,}, version = "0.1.338";
|
|
17826
|
+
"0.1.338" === version && (version = "latest");
|
|
17786
17827
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
17787
17828
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
17788
17829
|
if (null != authToken) {
|