@google/earthengine 0.1.381 → 0.1.382
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 +699 -0
- package/.tmp/METADATA +23 -0
- package/.tmp/VERSION_BUILD +47 -0
- package/build/browser.js +100 -46
- package/build/ee_api_js.js +5 -5
- package/build/ee_api_js_debug.js +92 -38
- package/build/ee_api_js_npm.js +100 -46
- package/build/main.js +100 -46
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/.tmp/METADATA
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Format: google3/devtools/metadata/metadata.proto (go/google3metadata)
|
|
2
|
+
|
|
3
|
+
name: "0.1.382"
|
|
4
|
+
description:
|
|
5
|
+
"Google Earth Engine is a cloud-based platform for planetary-scale "
|
|
6
|
+
"environmental data analysis. The Earth Engine JavaScript API allows "
|
|
7
|
+
"developers to make requests to the Earth Engine servers from their own"
|
|
8
|
+
"applications."
|
|
9
|
+
|
|
10
|
+
third_party {
|
|
11
|
+
version: "v0.1.382"
|
|
12
|
+
last_upgrade_date: {
|
|
13
|
+
year: 2023
|
|
14
|
+
month: 12
|
|
15
|
+
day: 6
|
|
16
|
+
}
|
|
17
|
+
identifier {
|
|
18
|
+
type: "Git"
|
|
19
|
+
value: "https://github.com/google/earthengine-api"
|
|
20
|
+
version: "v0.1.382"
|
|
21
|
+
primary_source: true
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Description:
|
|
2
|
+
# CDN files for Earth Engine JavaScript API.
|
|
3
|
+
# See https://earthengine.google.com
|
|
4
|
+
#
|
|
5
|
+
# WARNING:
|
|
6
|
+
# Do not copy from these files or link these files into google3.
|
|
7
|
+
|
|
8
|
+
load("//tools/build_defs/license:license.bzl", "license")
|
|
9
|
+
load("//tools/build_defs/build_test:build_test.bzl", "build_test")
|
|
10
|
+
|
|
11
|
+
package(
|
|
12
|
+
default_applicable_licenses = ["//third_party/hosted_libraries/libs/earthengine/0.1.382:license"],
|
|
13
|
+
default_visibility = [
|
|
14
|
+
"//third_party/hosted_libraries/libs/earthengine:__pkg__",
|
|
15
|
+
],
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
license(
|
|
19
|
+
name = "license",
|
|
20
|
+
package_name = "0.1.382",
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
licenses(["notice"])
|
|
24
|
+
|
|
25
|
+
exports_files(["LICENSE"])
|
|
26
|
+
|
|
27
|
+
Fileset(
|
|
28
|
+
name = "public",
|
|
29
|
+
out = "public_out",
|
|
30
|
+
entries = [
|
|
31
|
+
FilesetEntry(
|
|
32
|
+
files = glob(
|
|
33
|
+
["**/*"],
|
|
34
|
+
exclude = [
|
|
35
|
+
"**/BUILD",
|
|
36
|
+
"**/METADATA",
|
|
37
|
+
"**/OWNERS",
|
|
38
|
+
],
|
|
39
|
+
),
|
|
40
|
+
),
|
|
41
|
+
],
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
build_test(
|
|
45
|
+
name = "public_test",
|
|
46
|
+
targets = [":public"],
|
|
47
|
+
)
|
package/build/browser.js
CHANGED
|
@@ -14679,37 +14679,6 @@ goog.dom.BrowserFeature.CAN_USE_CHILDREN_ATTRIBUTE = !0;
|
|
|
14679
14679
|
goog.dom.BrowserFeature.CAN_USE_INNER_TEXT = !1;
|
|
14680
14680
|
goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY = goog.userAgent.IE || goog.userAgent.WEBKIT;
|
|
14681
14681
|
goog.dom.BrowserFeature.INNER_HTML_NEEDS_SCOPED_ELEMENT = goog.userAgent.IE;
|
|
14682
|
-
goog.html.uncheckedconversions = {};
|
|
14683
|
-
goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract = function(justification, html) {
|
|
14684
|
-
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14685
|
-
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14686
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(html);
|
|
14687
|
-
};
|
|
14688
|
-
goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract = function(justification, script) {
|
|
14689
|
-
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14690
|
-
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14691
|
-
return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(script);
|
|
14692
|
-
};
|
|
14693
|
-
goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract = function(justification, style) {
|
|
14694
|
-
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14695
|
-
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14696
|
-
return module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(style);
|
|
14697
|
-
};
|
|
14698
|
-
goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract = function(justification, styleSheet) {
|
|
14699
|
-
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14700
|
-
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14701
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
|
|
14702
|
-
};
|
|
14703
|
-
goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract = function(justification, url) {
|
|
14704
|
-
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14705
|
-
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14706
|
-
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
14707
|
-
};
|
|
14708
|
-
goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract = function(justification, url) {
|
|
14709
|
-
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14710
|
-
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14711
|
-
return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
14712
|
-
};
|
|
14713
14682
|
goog.math.Coordinate = function(opt_x, opt_y) {
|
|
14714
14683
|
this.x = void 0 !== opt_x ? opt_x : 0;
|
|
14715
14684
|
this.y = void 0 !== opt_y ? opt_y : 0;
|
|
@@ -15045,7 +15014,7 @@ goog.dom.createTable_ = function(doc, rows, columns, fillWithNbsp) {
|
|
|
15045
15014
|
return table;
|
|
15046
15015
|
};
|
|
15047
15016
|
goog.dom.constHtmlToNode = function(var_args) {
|
|
15048
|
-
var stringArray = Array.prototype.map.call(arguments, goog.string.Const.unwrap), safeHtml =
|
|
15017
|
+
var stringArray = Array.prototype.map.call(arguments, goog.string.Const.unwrap), safeHtml = module$contents$safevalues$restricted$reviewed_htmlSafeByReview(stringArray.join(""), "Constant HTML string, that gets turned into a Node later, so it will be automatically balanced.");
|
|
15049
15018
|
return goog.dom.safeHtmlToNode(safeHtml);
|
|
15050
15019
|
};
|
|
15051
15020
|
goog.dom.safeHtmlToNode = function(html) {
|
|
@@ -17843,8 +17812,9 @@ module$exports$safevalues$builders$html_builders.joinHtmls = module$contents$saf
|
|
|
17843
17812
|
module$exports$safevalues$builders$html_builders.doctypeHtml = function() {
|
|
17844
17813
|
return module$contents$safevalues$internals$html_impl_createHtmlInternal("<!DOCTYPE html>");
|
|
17845
17814
|
};
|
|
17846
|
-
var module$contents$safevalues$builders$
|
|
17847
|
-
module$
|
|
17815
|
+
var module$contents$safevalues$builders$html_builders_TextOrHtml, module$contents$safevalues$builders$html_builders_VALID_TAG_OR_ATTRIBUTE_NAMES = /^[a-z][a-z\d-]*$/i, module$contents$safevalues$builders$html_builders_DISALLOWED_TAG_NAMES = "APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" ");
|
|
17816
|
+
module$exports$safevalues$builders$html_builders.VOID_TAG_NAMES = "AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" ");
|
|
17817
|
+
var module$contents$safevalues$builders$html_builders_URL_ATTRIBUTES = ["action", "formaction", "href"];
|
|
17848
17818
|
function module$contents$safevalues$builders$html_builders_verifyTagName(tagName) {
|
|
17849
17819
|
if (!module$contents$safevalues$builders$html_builders_VALID_TAG_OR_ATTRIBUTE_NAMES.test(tagName)) {
|
|
17850
17820
|
throw Error(goog.DEBUG ? "Invalid tag name <" + tagName + ">." : "");
|
|
@@ -17853,12 +17823,17 @@ function module$contents$safevalues$builders$html_builders_verifyTagName(tagName
|
|
|
17853
17823
|
throw Error(goog.DEBUG ? "Tag name <" + tagName + "> is not allowed for createHtml." : "");
|
|
17854
17824
|
}
|
|
17855
17825
|
}
|
|
17826
|
+
module$exports$safevalues$builders$html_builders.verifyTagName = module$contents$safevalues$builders$html_builders_verifyTagName;
|
|
17827
|
+
function module$contents$safevalues$builders$html_builders_isVoidTag(tagName) {
|
|
17828
|
+
return -1 !== module$exports$safevalues$builders$html_builders.VOID_TAG_NAMES.indexOf(tagName.toUpperCase());
|
|
17829
|
+
}
|
|
17830
|
+
module$exports$safevalues$builders$html_builders.isVoidTag = module$contents$safevalues$builders$html_builders_isVoidTag;
|
|
17856
17831
|
module$exports$safevalues$builders$html_builders.createHtml = function(tagName, attributes, content) {
|
|
17857
17832
|
module$contents$safevalues$builders$html_builders_verifyTagName(tagName);
|
|
17858
17833
|
var result = "<" + tagName;
|
|
17859
17834
|
attributes && (result += module$contents$safevalues$builders$html_builders_stringifyAttributes(tagName, attributes));
|
|
17860
17835
|
Array.isArray(content) || (content = void 0 === content ? [] : [content]);
|
|
17861
|
-
if (
|
|
17836
|
+
if (module$contents$safevalues$builders$html_builders_isVoidTag(tagName)) {
|
|
17862
17837
|
if (goog.DEBUG && 0 < content.length) {
|
|
17863
17838
|
throw Error("Void tag <" + tagName + "> does not allow content.");
|
|
17864
17839
|
}
|
|
@@ -17881,6 +17856,7 @@ function module$contents$safevalues$builders$html_builders_stringifyAttributes(t
|
|
|
17881
17856
|
}
|
|
17882
17857
|
return result;
|
|
17883
17858
|
}
|
|
17859
|
+
module$exports$safevalues$builders$html_builders.stringifyAttributes = module$contents$safevalues$builders$html_builders_stringifyAttributes;
|
|
17884
17860
|
function module$contents$safevalues$builders$html_builders_getAttrNameAndValue(tagName, name, value) {
|
|
17885
17861
|
if (/^on/i.test(name)) {
|
|
17886
17862
|
throw Error(goog.DEBUG ? 'Attribute "' + name + " is forbidden. Inline event handlers can lead to XSS. Please use the 'addEventListener' API instead." : "");
|
|
@@ -17891,6 +17867,82 @@ function module$contents$safevalues$builders$html_builders_getAttrNameAndValue(t
|
|
|
17891
17867
|
}
|
|
17892
17868
|
return name + '="' + module$contents$safevalues$builders$html_builders_htmlEscape(String(value)) + '"';
|
|
17893
17869
|
}
|
|
17870
|
+
;var module$exports$safevalues$builders$html_formatter = {}, module$contents$safevalues$builders$html_formatter_module = module$contents$safevalues$builders$html_formatter_module || {id:"third_party/javascript/safevalues/builders/html_formatter.closure.js"};
|
|
17871
|
+
function module$contents$safevalues$builders$html_formatter_HtmlReplacement() {
|
|
17872
|
+
}
|
|
17873
|
+
function module$contents$safevalues$builders$html_formatter_StartTagReplacement() {
|
|
17874
|
+
}
|
|
17875
|
+
function module$contents$safevalues$builders$html_formatter_EndTagReplacement() {
|
|
17876
|
+
}
|
|
17877
|
+
var module$contents$safevalues$builders$html_formatter_Replacement;
|
|
17878
|
+
module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
17879
|
+
this.replacements = new Map();
|
|
17880
|
+
};
|
|
17881
|
+
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
17882
|
+
var $jscomp$this = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
17883
|
+
return $jscomp$this.replaceFormattingString(openedTags, match);
|
|
17884
|
+
});
|
|
17885
|
+
if (0 !== openedTags.length) {
|
|
17886
|
+
if (goog.DEBUG) {
|
|
17887
|
+
throw Error("Expected no unclosed tags, got <" + openedTags.join(">, <") + ">.");
|
|
17888
|
+
}
|
|
17889
|
+
throw Error();
|
|
17890
|
+
}
|
|
17891
|
+
return module$contents$safevalues$internals$html_impl_createHtmlInternal(html);
|
|
17892
|
+
};
|
|
17893
|
+
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.replaceFormattingString = function(openedTags, match) {
|
|
17894
|
+
var replacement = this.replacements.get(match);
|
|
17895
|
+
if (!replacement) {
|
|
17896
|
+
return match;
|
|
17897
|
+
}
|
|
17898
|
+
var result = "";
|
|
17899
|
+
switch(replacement.type) {
|
|
17900
|
+
case "html":
|
|
17901
|
+
result = replacement.html;
|
|
17902
|
+
break;
|
|
17903
|
+
case "startTag":
|
|
17904
|
+
result = "<" + replacement.tagName + replacement.attributes + ">";
|
|
17905
|
+
goog.DEBUG && ((0,module$exports$safevalues$builders$html_builders.isVoidTag)(replacement.tagName.toLowerCase()) || openedTags.push(replacement.tagName.toLowerCase()));
|
|
17906
|
+
break;
|
|
17907
|
+
case "endTag":
|
|
17908
|
+
result = "</" + replacement.tagName + ">";
|
|
17909
|
+
if (goog.DEBUG) {
|
|
17910
|
+
var lastTag = openedTags.pop();
|
|
17911
|
+
if (lastTag !== replacement.tagName.toLowerCase()) {
|
|
17912
|
+
throw Error("Expected </" + lastTag + ">, got </" + replacement.tagName + ">.");
|
|
17913
|
+
}
|
|
17914
|
+
}
|
|
17915
|
+
break;
|
|
17916
|
+
default:
|
|
17917
|
+
goog.DEBUG && module$contents$safevalues$builders$html_formatter_checkExhaustive(replacement, "type had an unknown value");
|
|
17918
|
+
}
|
|
17919
|
+
return result;
|
|
17920
|
+
};
|
|
17921
|
+
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.startTag = function(tagName, attributes) {
|
|
17922
|
+
(0,module$exports$safevalues$builders$html_builders.verifyTagName)(tagName);
|
|
17923
|
+
return this.storeReplacement({type:"startTag", tagName:tagName, attributes:void 0 !== attributes ? (0,module$exports$safevalues$builders$html_builders.stringifyAttributes)(tagName, attributes) : ""});
|
|
17924
|
+
};
|
|
17925
|
+
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.endTag = function(tagName) {
|
|
17926
|
+
(0,module$exports$safevalues$builders$html_builders.verifyTagName)(tagName);
|
|
17927
|
+
return this.storeReplacement({type:"endTag", tagName:tagName});
|
|
17928
|
+
};
|
|
17929
|
+
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.text = function(text) {
|
|
17930
|
+
return this.storeReplacement({type:"html", html:(0,module$exports$safevalues$builders$html_builders.htmlEscape)(text).toString()});
|
|
17931
|
+
};
|
|
17932
|
+
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.safeHtml = function(safeHtml) {
|
|
17933
|
+
return this.storeReplacement({type:"html", html:module$contents$safevalues$internals$html_impl_unwrapHtml(safeHtml).toString()});
|
|
17934
|
+
};
|
|
17935
|
+
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.storeReplacement = function(replacement) {
|
|
17936
|
+
var marker = "{_safevalues_format_marker_:" + this.replacements.size + "_" + module$contents$safevalues$builders$html_formatter_getRandomString() + "}";
|
|
17937
|
+
this.replacements.set((0,module$exports$safevalues$builders$html_builders.htmlEscape)(marker).toString(), replacement);
|
|
17938
|
+
return marker;
|
|
17939
|
+
};
|
|
17940
|
+
function module$contents$safevalues$builders$html_formatter_getRandomString() {
|
|
17941
|
+
return Math.random().toString(36).slice(2);
|
|
17942
|
+
}
|
|
17943
|
+
function module$contents$safevalues$builders$html_formatter_checkExhaustive(value, msg) {
|
|
17944
|
+
throw Error(void 0 === msg ? "unexpected value " + value + "!" : msg);
|
|
17945
|
+
}
|
|
17894
17946
|
;var module$contents$safevalues$dom$globals$range_module = module$contents$safevalues$dom$globals$range_module || {id:"third_party/javascript/safevalues/dom/globals/range.closure.js"};
|
|
17895
17947
|
function module$contents$safevalues$dom$globals$range_createContextualFragment(range, html) {
|
|
17896
17948
|
return range.createContextualFragment(module$contents$safevalues$internals$html_impl_unwrapHtml(html));
|
|
@@ -18565,6 +18617,7 @@ module$exports$safevalues$index.isUrl = module$contents$safevalues$internals$url
|
|
|
18565
18617
|
module$exports$safevalues$index.SafeUrl = goog.html.SafeUrl;
|
|
18566
18618
|
module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
18567
18619
|
module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
18620
|
+
module$exports$safevalues$index.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
18568
18621
|
module$exports$safevalues$index.createHtml = module$exports$safevalues$builders$html_builders.createHtml;
|
|
18569
18622
|
module$exports$safevalues$index.safeStyleRule = module$exports$safevalues$builders$style_sheet_builders.safeStyleRule;
|
|
18570
18623
|
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
@@ -18629,13 +18682,14 @@ safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
|
18629
18682
|
safevalues.SafeUrl = goog.html.SafeUrl;
|
|
18630
18683
|
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
18631
18684
|
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
18685
|
+
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
18632
18686
|
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
18633
18687
|
safevalues.safeStyleRule = module$exports$safevalues$index.safeStyleRule;
|
|
18634
18688
|
var $jscomp$templatelit$294235699$0 = $jscomp.createTemplateTagFirstArg(["https://apis.google.com/js/client.js?onload=", ""]);
|
|
18635
18689
|
ee.apiclient = {};
|
|
18636
18690
|
var module$contents$ee$apiclient_apiclient = {};
|
|
18637
18691
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
18638
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
18692
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.382";
|
|
18639
18693
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
18640
18694
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
18641
18695
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -18926,8 +18980,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
18926
18980
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
18927
18981
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
18928
18982
|
method = method || "POST";
|
|
18929
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
18930
|
-
"0.1.
|
|
18983
|
+
var headers = {"Content-Type":contentType}, version = "0.1.382";
|
|
18984
|
+
"0.1.382" === version && (version = "latest");
|
|
18931
18985
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
18932
18986
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
18933
18987
|
if (null != authToken) {
|
|
@@ -26484,14 +26538,14 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26484
26538
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26485
26539
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26486
26540
|
(function() {
|
|
26487
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.table.toBigQuery ee.batch.Export.video.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.table.toFeatureView ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.classifier.toAsset ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.limit ee.Collection.prototype.sort ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.data.deleteAsset ee.data.createAssetHome ee.data.getList ee.data.listAssets ee.data.createAsset ee.data.authenticateViaOauth ee.data.
|
|
26541
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.table.toBigQuery ee.batch.Export.video.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.table.toFeatureView ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.classifier.toAsset ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.limit ee.Collection.prototype.sort ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.data.deleteAsset ee.data.createAssetHome ee.data.getList ee.data.listAssets ee.data.createAsset ee.data.authenticateViaOauth ee.data.getTableDownloadId ee.data.getFeatureViewTilesKey ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.getInfo ee.data.getAssetRootQuota ee.data.computeValue ee.data.listFeatures ee.data.setAssetProperties ee.data.getThumbId ee.data.authenticateViaPopup ee.data.getAssetAcl ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.makeThumbUrl ee.data.resetWorkloadTag ee.data.authenticateViaPrivateKey ee.data.getAssetRoots ee.data.listImages ee.data.setAssetAcl ee.data.listBuckets ee.data.cancelOperation ee.data.listOperations ee.data.getTaskList ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.copyAsset ee.data.updateAsset ee.data.getTaskListWithLimit ee.data.getAsset ee.data.renameAsset ee.data.newTaskId ee.data.createFolder ee.data.makeTableDownloadUrl ee.data.getTaskStatus ee.data.authenticate ee.data.getOperation ee.data.getMapId ee.data.startTableIngestion ee.data.setWorkloadTag ee.data.startProcessing ee.data.updateTask ee.data.getTileUrl ee.data.getWorkloadTag ee.data.startIngestion ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.TILE_SIZE ee.reset ee.initialize ee.call ee.Algorithms ee.InitState ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.Filter.lt ee.Filter.and ee.Filter.or ee.Filter.gte ee.Filter.date ee.Filter.inList ee.Filter.prototype.not ee.Filter ee.Filter.metadata ee.Filter.eq ee.Filter.neq ee.Filter.bounds ee.Filter.gt ee.Filter.lte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.LinearRing ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry ee.Geometry.MultiPoint ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Geometry.LineString ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image.prototype.expression ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbURL ee.Image.prototype.clip ee.Image.prototype.select ee.Image.cat ee.Image ee.Image.prototype.getMapId ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.List ee.Number ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toCloudApiJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApiPretty ee.String ee.Terrain".split(" "),
|
|
26488
26542
|
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "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(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),
|
|
26489
26543
|
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices".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_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".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(" "),
|
|
26490
26544
|
"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_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices"], "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "), "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(" "),
|
|
26491
26545
|
"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(" "), ["classifier", "opt_description", "opt_assetId"], ["algorithm", "opt_dropNulls"], ["geometry"], ["filter"], ["start", "opt_end"], ["algorithm", "opt_first"], ["name", "operator", "value"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["legacy"],
|
|
26492
|
-
["callback"], ["func", "var_args"], ["opt_callback"], ["assetId", "opt_callback"], ["requestedId", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["
|
|
26493
|
-
["
|
|
26494
|
-
["
|
|
26546
|
+
["callback"], ["func", "var_args"], ["opt_callback"], ["assetId", "opt_callback"], ["requestedId", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["params", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["id"], ["id", "opt_callback"], ["rootId", "opt_callback"],
|
|
26547
|
+
["obj", "opt_callback"], ["asset", "params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["params", "opt_callback"], ["opt_success", "opt_error"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["id"], ["opt_resetDefault"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["project", "opt_callback"],
|
|
26548
|
+
["operationName", "opt_callback"], ["opt_limit", "opt_callback"], ["opt_callback"], ["taskId", "opt_callback"], ["tag"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["opt_limit", "opt_callback"], ["id", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["opt_count", "opt_callback"], ["path", "opt_force", "opt_callback"], ["id"], ["taskId", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes",
|
|
26495
26549
|
"opt_onImmediateFailed"], ["operationName", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["tag"], ["taskId", "params", "opt_callback"], ["taskId", "action", "opt_callback"], ["id", "x", "y", "z"], [], ["taskId", "request", "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",
|
|
26496
26550
|
"namedArgs"], ["var_args"], [], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_callback"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["name", "value"], ["var_args"], ["var_args"], ["name", "value"], ["start", "opt_end"], ["opt_leftField",
|
|
26497
26551
|
"opt_rightValue", "opt_rightField", "opt_leftValue"], [], ["opt_filter"], ["name", "operator", "value"], ["name", "value"], ["name", "value"], ["geometry", "opt_errorMargin"], ["name", "value"], ["name", "value"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], [], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError",
|
|
@@ -26499,10 +26553,10 @@ ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
|
26499
26553
|
["opt_args"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["selectors", "opt_names"], ["opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["args"], ["params", "opt_callback"], ["params", "opt_callback"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["string"], []];
|
|
26500
26554
|
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.table.toAsset,
|
|
26501
26555
|
module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.classifier.toAsset, ee.Collection.prototype.map, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filter, ee.Collection.prototype.filterDate, ee.Collection.prototype.iterate, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.ComputedObject.prototype.serialize,
|
|
26502
|
-
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.getInfo, ee.data.deleteAsset, ee.data.createAssetHome, ee.data.getList, ee.data.listAssets, ee.data.createAsset, ee.data.authenticateViaOauth, ee.data.
|
|
26503
|
-
ee.data.
|
|
26504
|
-
ee.data.
|
|
26505
|
-
ee.
|
|
26556
|
+
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.getInfo, ee.data.deleteAsset, ee.data.createAssetHome, ee.data.getList, ee.data.listAssets, ee.data.createAsset, ee.data.authenticateViaOauth, ee.data.getTableDownloadId, ee.data.getFeatureViewTilesKey, ee.data.getDownloadId, ee.data.makeDownloadUrl, ee.data.getInfo, ee.data.getAssetRootQuota, ee.data.computeValue, ee.data.listFeatures, ee.data.setAssetProperties, ee.data.getThumbId, ee.data.authenticateViaPopup,
|
|
26557
|
+
ee.data.getAssetAcl, ee.data.getVideoThumbId, ee.data.getFilmstripThumbId, ee.data.makeThumbUrl, ee.data.resetWorkloadTag, ee.data.authenticateViaPrivateKey, ee.data.getAssetRoots, ee.data.listImages, ee.data.setAssetAcl, ee.data.listBuckets, ee.data.cancelOperation, ee.data.listOperations, ee.data.getTaskList, ee.data.cancelTask, ee.data.setDefaultWorkloadTag, ee.data.copyAsset, ee.data.updateAsset, ee.data.getTaskListWithLimit, ee.data.getAsset, ee.data.renameAsset, ee.data.newTaskId, ee.data.createFolder,
|
|
26558
|
+
ee.data.makeTableDownloadUrl, ee.data.getTaskStatus, ee.data.authenticate, ee.data.getOperation, ee.data.getMapId, ee.data.startTableIngestion, ee.data.setWorkloadTag, ee.data.startProcessing, ee.data.updateTask, ee.data.getTileUrl, ee.data.getWorkloadTag, ee.data.startIngestion, ee.Date, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Dictionary, ee.TILE_SIZE, ee.reset, ee.initialize, ee.call, ee.Algorithms, ee.InitState, ee.apply,
|
|
26559
|
+
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.Filter.lt, ee.Filter.and, ee.Filter.or, ee.Filter.gte, ee.Filter.date, ee.Filter.inList, ee.Filter.prototype.not,
|
|
26506
26560
|
ee.Filter, ee.Filter.metadata, ee.Filter.eq, ee.Filter.neq, ee.Filter.bounds, ee.Filter.gt, ee.Filter.lte, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSON, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.BBox, ee.Geometry.LinearRing, ee.Geometry.Point, ee.Geometry.prototype.serialize, ee.Geometry.MultiPolygon, ee.Geometry, ee.Geometry.MultiPoint, ee.Geometry.MultiLineString, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Image.prototype.getMap,
|
|
26507
26561
|
ee.Image.prototype.rename, ee.Image.prototype.getInfo, ee.Image.prototype.expression, ee.Image.prototype.getThumbId, ee.Image.rgb, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getThumbURL, ee.Image.prototype.clip, ee.Image.prototype.select, ee.Image.cat, ee.Image, ee.Image.prototype.getMapId, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.linkCollection,
|
|
26508
26562
|
ee.ImageCollection.prototype.first, ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.List, ee.Number, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.encodeCloudApiPretty, ee.String, ee.Terrain].forEach(function(fn, i) {
|
package/build/ee_api_js.js
CHANGED
|
@@ -448,7 +448,7 @@ Wc(p,f[m]))});return b?b(l):l};return this.callback?(Gj(d,null,function(f,l){ret
|
|
|
448
448
|
Hj.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=Jj();null!=d&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
|
|
449
449
|
var Kj=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"))}},Ej=function(){var a=Lj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},Nj=function(a,b,c){var d=[];a&&(d=d.concat(Mj));
|
|
450
450
|
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 g=a[c++],f=t(g)?"o"+Ca(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(e,f)||(e[f]=!0,a[b++]=g)}a.length=b;return d},Tj=function(a,b,c){Oj&&Pj&&Oj({client_id:String(Pj),immediate:!0,scope:Qj.join(" "),plugin_name:"earthengine"},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{Rj(function(){try{r.gapi.client.setToken(d),Sj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Sj(a,
|
|
451
|
-
b,d)})},Jj=function(){Uj&&0<=Date.now()-Uj&&Vj();return Wj},Vj=function(){Uj=Wj=null},Bj=function(a,b,c,d){null!=a?Lj=a:Xj||(Lj="https://earthengine.googleapis.com/api");null!=b?Yj=b:Xj||(Yj="https://earthengine.googleapis.com");void 0!==c&&(Zj=c);Aj=null!=d?d:Aj||"earthengine-legacy";Xj=!0},Gj=function(a,b,c,d,e,g,f){Bj();var l=ak,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="0.1.
|
|
451
|
+
b,d)})},Jj=function(){Uj&&0<=Date.now()-Uj&&Vj();return Wj},Vj=function(){Uj=Wj=null},Bj=function(a,b,c,d){null!=a?Lj=a:Xj||(Lj="https://earthengine.googleapis.com/api");null!=b?Yj=b:Xj||(Yj="https://earthengine.googleapis.com");void 0!==c&&(Zj=c);Aj=null!=d?d:Aj||"earthengine-legacy";Xj=!0},Gj=function(a,b,c,d,e,g,f){Bj();var l=ak,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="0.1.382";"0.1.382"===
|
|
452
452
|
p&&(p="latest");m["x-goog-api-client"]="ee-js/"+p;p=Jj();if(null!=p)m.Authorization=p;else if(c&&Oj&&Pj)return Tj(function(){bk(l,function(){Gj(a,b,c,d)})}),null;b=b?b.clone():new Ed;null!=ck&&b.add("key",ck);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");Aj&&"earthengine-legacy"!==Aj&&(m["X-Goog-User-Project"]=Aj);b=dk(b,a);null!=Zj&&(m["X-XSRF-Token"]=Zj);null!=ek&&(m["X-Earth-Engine-App-ID-Token"]=ek);p=e||null;var v=b?b.toString():"";"POST"===d&&void 0===e?p=v:/^[\s\xa0]*$/.test(v)||(a+=-1!=
|
|
453
453
|
a.indexOf("?")?"&":"?",a+=v);e=a.startsWith("/")?Lj+a:a;if(c)return fk.push(gk(e,c,d,p,m,g,f)),hk.pf(),null;v=function(Q,oa){this.setRequestHeader&&this.setRequestHeader(oa,Q)};var z=0;for(g=null!=g?g:5;;){var C=Vi(Ti);C.open(d,e,!1);Fb(m,v,C);C.send(p);if(429!=C.status||z>g)break;z++}return ik(C.status,function(Q){try{return C.getResponseHeader(Q)}catch(oa){return null}},C.responseText,l,void 0,e,d,f)},gk=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},p=ak,v=null!=g?g:10;
|
|
454
454
|
m.callback=function(z){z=z.target;if(429==z.getStatus()&&l<v)return l++,setTimeout(function(){fk.push(m);hk.pf()},Math.min(12E4,1E3*Math.pow(2,l))),null;var C=ik,Q=z.getStatus(),oa=u(z.getResponseHeader,z);try{var S=z.o?z.o.responseText:""}catch(Aa){Oi(z.ba,"Can not get responseText: "+Aa.message),S=""}return C(Q,oa,S,p,b,a,c,f)};return m},bk=function(a,b){var c=ak;try{ak=a,b.call(void 0)}finally{ak=c}},ik=function(a,b,c,d,e,g,f,l){var m=d?b("X-Earth-Engine-Computation-Profile"):"";m&&d&&d(m);var p=
|
|
@@ -699,18 +699,18 @@ h.Dl=function(){if(!this.kc){var a=u(function(d){this.kc||(xq(this.ga,this.fa,d)
|
|
|
699
699
|
h.Ri=null;h.Ja=null;h.ri=null;var Wq=["load","abort","error"],Xq=function(){y.call(this);this.Ea=!1};q(Xq,y);Xq.prototype.setActive=function(a){this.Ea=a};Xq.prototype.isActive=function(){return this.Ea};var Sq=function(a,b){Nq.call(this,a,b)};q(Sq,Nq);Sq.prototype.af=function(){return new Xq};Sq.prototype.Bd=function(a){a.Ra()};Sq.prototype.Rf=function(a){return!a.Sa&&!a.isActive()};var Yq=function(a,b,c,d,e){Nc.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.xg=new Ic;this.Sf=1;this.ua=e||null};q(Yq,Nc);h=Yq.prototype;h.Ne=function(a){return bc(this,"tileevent",a)};h.cg=function(a){jc(a)};
|
|
700
700
|
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=Oc(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ua&&this.ua.isEnabled()&&(a+="&profiling=1");b=[b,this.yb,this.token].join("/");this.yb+=1;c=kh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Ab.push(b);Ml(Tq).send(b,a,d,u(this.dl,this,c,b));Vp(this);return c};h.Kc=function(){return this.Ab.length};
|
|
701
701
|
h.releaseTile=function(a){Ml(Tq).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.xg.remove(b);""!==a.id&&(this.wg.remove(a.id),this.ua&&this.ua.ul(a.id))};h.setOpacity=function(a){this.Sf=a;var b=this.xg.Da();uc(b,function(c){fq(c,a)})};
|
|
702
|
-
h.dl=function(a,b,c,d){"error"==c.type?(ab(this.Ab,b),this.wg.add(b),this.dispatchEvent(c)):(ab(this.Ab,b),c.target&&"load"==c.type&&(c=c.target,this.xg.add(c),1!=this.Sf&&fq(c,this.Sf),a.appendChild(c)),Vp(this));this.ua&&null!==d&&this.ua.Rk(b,d)};w("ee.MapLayerOverlay",Yq);Yq.prototype.removeTileCallback=Yq.prototype.cg;Yq.prototype.addTileCallback=Yq.prototype.Ne;Yq.prototype.getTile=Yq.prototype.getTile;Yq.prototype.setOpacity=Yq.prototype.setOpacity;Yq.prototype.releaseTile=Yq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.table.toBigQuery ee.batch.Export.video.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.table.toFeatureView ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.classifier.toAsset ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.limit ee.Collection.prototype.sort ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.data.deleteAsset ee.data.createAssetHome ee.data.getList ee.data.listAssets ee.data.createAsset ee.data.authenticateViaOauth ee.data.getTableDownloadId ee.data.getFeatureViewTilesKey ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.getInfo ee.data.getAssetRootQuota ee.data.computeValue ee.data.listFeatures ee.data.setAssetProperties ee.data.getThumbId ee.data.authenticateViaPopup ee.data.getAssetAcl ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.makeThumbUrl ee.data.resetWorkloadTag ee.data.authenticateViaPrivateKey ee.data.getAssetRoots ee.data.listImages ee.data.setAssetAcl ee.data.listBuckets ee.data.cancelOperation ee.data.listOperations ee.data.getTaskList ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.copyAsset ee.data.updateAsset ee.data.getTaskListWithLimit ee.data.getAsset ee.data.renameAsset ee.data.newTaskId ee.data.
|
|
702
|
+
h.dl=function(a,b,c,d){"error"==c.type?(ab(this.Ab,b),this.wg.add(b),this.dispatchEvent(c)):(ab(this.Ab,b),c.target&&"load"==c.type&&(c=c.target,this.xg.add(c),1!=this.Sf&&fq(c,this.Sf),a.appendChild(c)),Vp(this));this.ua&&null!==d&&this.ua.Rk(b,d)};w("ee.MapLayerOverlay",Yq);Yq.prototype.removeTileCallback=Yq.prototype.cg;Yq.prototype.addTileCallback=Yq.prototype.Ne;Yq.prototype.getTile=Yq.prototype.getTile;Yq.prototype.setOpacity=Yq.prototype.setOpacity;Yq.prototype.releaseTile=Yq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.table.toBigQuery ee.batch.Export.video.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.table.toFeatureView ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.classifier.toAsset ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.limit ee.Collection.prototype.sort ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.data.deleteAsset ee.data.createAssetHome ee.data.getList ee.data.listAssets ee.data.createAsset ee.data.authenticateViaOauth ee.data.getTableDownloadId ee.data.getFeatureViewTilesKey ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.getInfo ee.data.getAssetRootQuota ee.data.computeValue ee.data.listFeatures ee.data.setAssetProperties ee.data.getThumbId ee.data.authenticateViaPopup ee.data.getAssetAcl ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.makeThumbUrl ee.data.resetWorkloadTag ee.data.authenticateViaPrivateKey ee.data.getAssetRoots ee.data.listImages ee.data.setAssetAcl ee.data.listBuckets ee.data.cancelOperation ee.data.listOperations ee.data.getTaskStatus ee.data.getTaskList ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.copyAsset ee.data.updateAsset ee.data.getTaskListWithLimit ee.data.getAsset ee.data.renameAsset ee.data.newTaskId ee.data.createFolder ee.data.makeTableDownloadUrl ee.data.authenticate ee.data.getOperation ee.data.getMapId ee.data.startTableIngestion ee.data.setWorkloadTag ee.data.startProcessing ee.data.updateTask ee.data.getTileUrl ee.data.getWorkloadTag ee.data.startIngestion ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.TILE_SIZE ee.reset ee.initialize ee.call ee.Algorithms ee.InitState ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.Filter.lt ee.Filter.and ee.Filter.or ee.Filter.gte ee.Filter.date ee.Filter.inList ee.Filter.prototype.not ee.Filter ee.Filter.metadata ee.Filter.eq ee.Filter.neq ee.Filter.bounds ee.Filter.gt ee.Filter.lte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.LinearRing ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry ee.Geometry.MultiPoint ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Geometry.LineString ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image.prototype.expression ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbURL ee.Image.prototype.clip ee.Image.prototype.select ee.Image.cat ee.Image ee.Image.prototype.getMapId ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.List ee.Number ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toCloudApiJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApiPretty ee.String ee.Terrain".split(" "),
|
|
703
703
|
c=[["name"],["name","namedArgs"],["name","var_args"],"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(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),
|
|
704
704
|
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices".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_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".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(" "),
|
|
705
705
|
"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_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),["collection","opt_description","opt_assetId","opt_maxVertices"],"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "),"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(" "),
|
|
706
706
|
"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(" "),["classifier","opt_description","opt_assetId"],["algorithm","opt_dropNulls"],["geometry"],["filter"],["start","opt_end"],["algorithm","opt_first"],["name","operator","value"],["max","opt_property","opt_ascending"],["property","opt_ascending"],["legacy"],["callback"],["func","var_args"],
|
|
707
707
|
["opt_callback"],["assetId","opt_callback"],["requestedId","opt_callback"],["params","opt_callback"],["parent","opt_params","opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["params","opt_callback"],["params","opt_callback"],["params","opt_callback"],["id"],["id","opt_callback"],["rootId","opt_callback"],["obj","opt_callback"],["asset","params","opt_callback"],["assetId",
|
|
708
|
-
"properties","opt_callback"],["params","opt_callback"],["opt_success","opt_error"],["assetId","opt_callback"],["params","opt_callback"],["params","opt_callback"],["id"],["opt_resetDefault"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["opt_callback"],["parent","opt_params","opt_callback"],["assetId","aclUpdate","opt_callback"],["project","opt_callback"],["operationName","opt_callback"],["opt_limit","opt_callback"],["opt_callback"],["
|
|
709
|
-
["tag"],["sourceId","destinationId","opt_overwrite","opt_callback"],["assetId","asset","updateFields","opt_callback"],["opt_limit","opt_callback"],["id","opt_callback"],["sourceId","destinationId","opt_callback"],["opt_count","opt_callback"],["
|
|
708
|
+
"properties","opt_callback"],["params","opt_callback"],["opt_success","opt_error"],["assetId","opt_callback"],["params","opt_callback"],["params","opt_callback"],["id"],["opt_resetDefault"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["opt_callback"],["parent","opt_params","opt_callback"],["assetId","aclUpdate","opt_callback"],["project","opt_callback"],["operationName","opt_callback"],["opt_limit","opt_callback"],["taskId","opt_callback"],["opt_callback"],
|
|
709
|
+
["taskId","opt_callback"],["tag"],["sourceId","destinationId","opt_overwrite","opt_callback"],["assetId","asset","updateFields","opt_callback"],["opt_limit","opt_callback"],["id","opt_callback"],["sourceId","destinationId","opt_callback"],["opt_count","opt_callback"],["path","opt_force","opt_callback"],["id"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["operationName","opt_callback"],["params","opt_callback"],["taskId","request","opt_callback"],["tag"],["taskId",
|
|
710
710
|
"params","opt_callback"],["taskId","action","opt_callback"],["id","x","y","z"],[],["taskId","request","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"],[],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],["opt_visParams","opt_callback"],
|
|
711
711
|
["opt_format","opt_selectors","opt_filename","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["opt_callback"],["args","opt_column"],["opt_visParams","opt_callback"],["name","value"],["var_args"],["var_args"],["name","value"],["start","opt_end"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],[],["opt_filter"],["name","operator","value"],["name","value"],["name","value"],["geometry","opt_errorMargin"],["name","value"],["name","value"],["namedArgs"],
|
|
712
712
|
["var_args"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],[],[],["west","south","east","north"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj"],["legacy"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["opt_visParams",
|
|
713
713
|
"opt_callback"],["var_args"],["opt_callback"],["expression","opt_map"],["params","opt_callback"],["r","g","b"],["params","opt_callback"],["params","opt_callback"],["geometry"],["var_args"],["var_args"],["opt_args"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["selectors","opt_names"],["opt_callback"],["imageCollection","opt_linkedBands","opt_linkedProperties","opt_matchPropertyName"],[],["args"],["params","opt_callback"],["params","opt_callback"],
|
|
714
|
-
["list"],["number"],["obj"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["string"],[]];[pn,qn,P,$o,Uo,Xo,Yo,Zo,Qo,Oo,To,Vo,Wo,So,Ro,ap,W.prototype.map,W.prototype.yh,W.prototype.filter,W.prototype.mf,W.prototype.Nh,W.prototype.nf,W.prototype.limit,W.prototype.sort,N.prototype.va,N.prototype.evaluate,N.prototype.Hg,N.prototype.V,Sm,Nm,Im,Jm,Om,Ol,gm,Xl,em,fm,Gm,Xm,Zl,Yl,Wm,$l,Nl,Tm,am,bm,cm,an,Ql,Mm,Km,Vm,Lm,pm,om,nm,sm,$m,Rm,Um,mm,Gm,Qm,im,
|
|
714
|
+
["list"],["number"],["obj"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["string"],[]];[pn,qn,P,$o,Uo,Xo,Yo,Zo,Qo,Oo,To,Vo,Wo,So,Ro,ap,W.prototype.map,W.prototype.yh,W.prototype.filter,W.prototype.mf,W.prototype.Nh,W.prototype.nf,W.prototype.limit,W.prototype.sort,N.prototype.va,N.prototype.evaluate,N.prototype.Hg,N.prototype.V,Sm,Nm,Im,Jm,Om,Ol,gm,Xl,em,fm,Gm,Xm,Zl,Yl,Wm,$l,Nl,Tm,am,bm,cm,an,Ql,Mm,Km,Vm,Lm,pm,om,lm,nm,sm,$m,Rm,Um,mm,Gm,Qm,im,Pm,hm,Pl,qm,Vl,Fm,Zm,zm,rm,Wl,Tl,
|
|
715
715
|
Dm,rp,Ap,wp,up,vp,Bp,256,Np,Kp,Pp,Mp,Op,Qp,T.prototype.set,lk,X,X.prototype.S,X.prototype.getMap,X.prototype.V,Y.prototype.S,Y.prototype.sb,Y.prototype.select,Y.prototype.V,Y,Y.prototype.getMap,fo,jo,ko,go,lo,mo,V.prototype.sc,V,oo,co,eo,no,ho,io,kn.prototype.apply,kn.prototype.call,Un,U.prototype.me,U.prototype.zg,On,Sn,Jn,U.prototype.va,Vn,U,Mn,Tn,Nn,Rn,M.prototype.getMap,M.prototype.wi,M.prototype.V,M.prototype.l,M.prototype.Jd,Bo,M.prototype.sb,M.prototype.wf,M.prototype.clip,M.prototype.select,
|
|
716
716
|
Co,M,M.prototype.S,Z.prototype.S,Z.prototype.getMap,Z.prototype.select,Z.prototype.V,Z.prototype.Gf,Z.prototype.first,Z,Z.prototype.uf,Z.prototype.xf,Do,hp,ml,jl,rl,sl,gl,hl,ql,kp,Ep].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|