@google/earthengine 1.5.24 → 1.6.1
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/build/browser.js +92 -70
- package/build/ee_api_js.js +16 -17
- package/build/ee_api_js_debug.js +69 -47
- package/build/ee_api_js_npm.js +92 -70
- package/build/main.js +92 -70
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/eeapiclient/domain_object.ts +1 -3
package/build/main.js
CHANGED
|
@@ -1315,8 +1315,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1315
1315
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1316
1316
|
};
|
|
1317
1317
|
}, "es8", "es3");
|
|
1318
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__enable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__enable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1,
|
|
1319
|
-
GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1318
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__enable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__enable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1, GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__enable:!1,
|
|
1319
|
+
GoogFlags__jspb_use_constant_default_pivot__enable:!1, GoogFlags__optimize_get_ei_from_ved__enable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1320
1320
|
/*
|
|
1321
1321
|
|
|
1322
1322
|
Copyright The Closure Library Authors.
|
|
@@ -6519,6 +6519,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native
|
|
|
6519
6519
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable = !1;
|
|
6520
6520
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_use_constant_default_pivot__enable = !1;
|
|
6521
6521
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable = !1;
|
|
6522
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__enable = !1;
|
|
6522
6523
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable = !1;
|
|
6523
6524
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
6524
6525
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
@@ -6530,12 +6531,13 @@ goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2eto
|
|
|
6530
6531
|
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
|
|
6531
6532
|
goog.flags.CLIENT_ONLY_WIZ_QUEUE_EFFECT_AND_ON_INIT_INITIAL_RUNS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__enable : goog.readFlagInternalDoNotUseOrElse(772657768, !1);
|
|
6532
6533
|
goog.flags.CLIENT_ONLY_WIZ_CONTEXT_PER_COMPONENT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_context_per_component__enable : goog.readFlagInternalDoNotUseOrElse(513659523, goog.DEBUG);
|
|
6533
|
-
goog.flags.CLIENT_ONLY_WIZ_LAZY_TSX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_lazy_tsx__enable : goog.readFlagInternalDoNotUseOrElse(568333945,
|
|
6534
|
+
goog.flags.CLIENT_ONLY_WIZ_LAZY_TSX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_lazy_tsx__enable : goog.readFlagInternalDoNotUseOrElse(568333945, goog.DEBUG);
|
|
6534
6535
|
goog.flags.FIXED_NOOPENER_BEHAVIOR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__fixed_noopener_behavior__enable : goog.readFlagInternalDoNotUseOrElse(1331761403, !1);
|
|
6535
6536
|
goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable : goog.readFlagInternalDoNotUseOrElse(651175828, goog.DEBUG);
|
|
6536
6537
|
goog.flags.JSPB_DISALLOW_MESSAGE_TOJSON = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable : goog.readFlagInternalDoNotUseOrElse(722764542, goog.DEBUG);
|
|
6537
6538
|
goog.flags.JSPB_USE_CONSTANT_DEFAULT_PIVOT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_use_constant_default_pivot__enable : goog.readFlagInternalDoNotUseOrElse(748402145, goog.DEBUG);
|
|
6538
6539
|
goog.flags.JSPB_SERIALIZE_WITH_DYNAMIC_PIVOT_SELECTOR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable : goog.readFlagInternalDoNotUseOrElse(748402146, goog.DEBUG);
|
|
6540
|
+
goog.flags.JSPB_THROW_IN_ARRAY_CONSTRUCTOR_IF_ARRAY_IS_ALREADY_CONSTRUCTED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__enable : goog.readFlagInternalDoNotUseOrElse(748402147, goog.DEBUG);
|
|
6539
6541
|
goog.flags.OPTIMIZE_GET_EI_FROM_VED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable : goog.readFlagInternalDoNotUseOrElse(333098724, !1);
|
|
6540
6542
|
goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
|
|
6541
6543
|
goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
|
|
@@ -16722,23 +16724,23 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16722
16724
|
function module$contents$safevalues$builders$html_sanitizer$css$tokenizer_tokenizeCss(css) {
|
|
16723
16725
|
return (new module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer(css)).tokenize();
|
|
16724
16726
|
}
|
|
16725
|
-
;var module$exports$safevalues$builders$html_sanitizer$
|
|
16726
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16727
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16728
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16729
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16730
|
-
function module$contents$safevalues$builders$html_sanitizer$
|
|
16727
|
+
;var module$exports$safevalues$builders$html_sanitizer$url_policy = {}, module$contents$safevalues$builders$html_sanitizer$url_policy_module = module$contents$safevalues$builders$html_sanitizer$url_policy_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/url_policy.closure.js"};
|
|
16728
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType = {STYLE_ELEMENT:0, STYLE_ATTRIBUTE:1, HTML_ATTRIBUTE:2};
|
|
16729
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.STYLE_ELEMENT] = "STYLE_ELEMENT";
|
|
16730
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.STYLE_ATTRIBUTE] = "STYLE_ATTRIBUTE";
|
|
16731
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE] = "HTML_ATTRIBUTE";
|
|
16732
|
+
function module$contents$safevalues$builders$html_sanitizer$url_policy_StyleElementOrAttributeUrlPolicyHints() {
|
|
16731
16733
|
}
|
|
16732
|
-
function module$contents$safevalues$builders$html_sanitizer$
|
|
16734
|
+
function module$contents$safevalues$builders$html_sanitizer$url_policy_HtmlAttributeUrlPolicyHints() {
|
|
16733
16735
|
}
|
|
16734
|
-
function module$contents$safevalues$builders$html_sanitizer$
|
|
16736
|
+
function module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(value) {
|
|
16735
16737
|
try {
|
|
16736
16738
|
return new URL(value, window.document.baseURI);
|
|
16737
16739
|
} catch (e) {
|
|
16738
16740
|
return new URL("about:invalid");
|
|
16739
16741
|
}
|
|
16740
16742
|
}
|
|
16741
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16743
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.parseUrl = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl;
|
|
16742
16744
|
var module$exports$safevalues$builders$html_sanitizer$css$sanitizer = {}, module$contents$safevalues$builders$html_sanitizer$css$sanitizer_module = module$contents$safevalues$builders$html_sanitizer$css$sanitizer_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/sanitizer.closure.js"}, module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer =
|
|
16743
16745
|
function(propertyAllowlist, functionAllowlist, resourceUrlPolicy, allowKeyframes, propertyDiscarders) {
|
|
16744
16746
|
this.propertyAllowlist = propertyAllowlist;
|
|
@@ -16788,8 +16790,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16788
16790
|
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16789
16791
|
return null;
|
|
16790
16792
|
}
|
|
16791
|
-
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$
|
|
16792
|
-
this.resourceUrlPolicy && (parsedUrl = this.resourceUrlPolicy(parsedUrl, {type:calledFromStyleElement ? module$exports$safevalues$builders$html_sanitizer$
|
|
16793
|
+
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(nextToken.value);
|
|
16794
|
+
this.resourceUrlPolicy && (parsedUrl = this.resourceUrlPolicy(parsedUrl, {type:calledFromStyleElement ? module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.STYLE_ELEMENT : module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.STYLE_ATTRIBUTE, propertyName:propertyName}));
|
|
16793
16795
|
if (!parsedUrl) {
|
|
16794
16796
|
return null;
|
|
16795
16797
|
}
|
|
@@ -16928,7 +16930,7 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tabl
|
|
|
16928
16930
|
return attributeName.indexOf(prefix) === 0;
|
|
16929
16931
|
}) ? {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP} : {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP};
|
|
16930
16932
|
};
|
|
16931
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction = {DROP:0, KEEP:1, KEEP_AND_SANITIZE_URL:2, KEEP_AND_NORMALIZE:3, KEEP_AND_SANITIZE_STYLE:4, KEEP_AND_USE_RESOURCE_URL_POLICY:5, KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:6};
|
|
16933
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction = {DROP:0, KEEP:1, KEEP_AND_SANITIZE_URL:2, KEEP_AND_NORMALIZE:3, KEEP_AND_SANITIZE_STYLE:4, KEEP_AND_USE_RESOURCE_URL_POLICY:5, KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:6, KEEP_AND_USE_NAVIGATION_URL_POLICY:7};
|
|
16932
16934
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP] = "DROP";
|
|
16933
16935
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP] = "KEEP";
|
|
16934
16936
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL] = "KEEP_AND_SANITIZE_URL";
|
|
@@ -16936,6 +16938,7 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tabl
|
|
|
16936
16938
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE] = "KEEP_AND_SANITIZE_STYLE";
|
|
16937
16939
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY] = "KEEP_AND_USE_RESOURCE_URL_POLICY";
|
|
16938
16940
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET] = "KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET";
|
|
16941
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_NAVIGATION_URL_POLICY] = "KEEP_AND_USE_NAVIGATION_URL_POLICY";
|
|
16939
16942
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicy = function() {
|
|
16940
16943
|
};
|
|
16941
16944
|
var module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_FORBIDDEN_CUSTOM_ELEMENT_NAMES = new Set("ANNOTATION-XML COLOR-PROFILE FONT-FACE FONT-FACE-SRC FONT-FACE-URI FONT-FACE-FORMAT FONT-FACE-NAME MISSING-GLYPH".split(" "));
|
|
@@ -16945,7 +16948,7 @@ function module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sani
|
|
|
16945
16948
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.isCustomElement = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_isCustomElement;
|
|
16946
16949
|
var module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table = {}, module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/sanitizer_table/default_sanitizer_table.closure.js"},
|
|
16947
16950
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS = "ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR NOBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "),
|
|
16948
|
-
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES = [["A", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.
|
|
16951
|
+
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES = [["A", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_NAVIGATION_URL_POLICY}]])], ["AREA", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_NAVIGATION_URL_POLICY}]])],
|
|
16949
16952
|
["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY, conditions:new Map([["rel", new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])], ["SOURCE", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}],
|
|
16950
16953
|
["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])], ["IMG", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}], ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])],
|
|
16951
16954
|
["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])], ["AUDIO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])]], module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES =
|
|
@@ -16979,11 +16982,12 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizer =
|
|
|
16979
16982
|
};
|
|
16980
16983
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.CssSanitizer = function() {
|
|
16981
16984
|
};
|
|
16982
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy, openShadow) {
|
|
16985
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy, navigationUrlPolicy, openShadow) {
|
|
16983
16986
|
this.sanitizerTable = sanitizerTable;
|
|
16984
16987
|
this.styleElementSanitizer = styleElementSanitizer;
|
|
16985
16988
|
this.styleAttributeSanitizer = styleAttributeSanitizer;
|
|
16986
16989
|
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16990
|
+
this.navigationUrlPolicy = navigationUrlPolicy;
|
|
16987
16991
|
this.openShadow = openShadow;
|
|
16988
16992
|
this.changes = [];
|
|
16989
16993
|
module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
@@ -17059,10 +17063,10 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17059
17063
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
17060
17064
|
break;
|
|
17061
17065
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL:
|
|
17062
|
-
|
|
17063
|
-
|
|
17064
|
-
|
|
17065
|
-
|
|
17066
|
+
if (goog.DEBUG) {
|
|
17067
|
+
throw Error("All KEEP_AND_SANITIZE_URL cases in the safevalues sanitizer should go through the navigation or resource url policy cases. Got " + name + " on element " + elementName + ".");
|
|
17068
|
+
}
|
|
17069
|
+
throw Error();
|
|
17066
17070
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE:
|
|
17067
17071
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value.toLowerCase());
|
|
17068
17072
|
break;
|
|
@@ -17076,7 +17080,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17076
17080
|
break;
|
|
17077
17081
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY:
|
|
17078
17082
|
if (this.resourceUrlPolicy) {
|
|
17079
|
-
var hints = {type:module$exports$safevalues$builders$html_sanitizer$
|
|
17083
|
+
var hints = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, url = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(value), sanitizedUrl = this.resourceUrlPolicy(url, hints);
|
|
17080
17084
|
sanitizedUrl && module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, sanitizedUrl.toString());
|
|
17081
17085
|
} else {
|
|
17082
17086
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
@@ -17084,9 +17088,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17084
17088
|
break;
|
|
17085
17089
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
17086
17090
|
if (this.resourceUrlPolicy) {
|
|
17087
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$
|
|
17091
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1803429925$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1803429925$33$part.done; $jscomp$key$m1803429925$33$part =
|
|
17088
17092
|
$jscomp$iter$35.next()) {
|
|
17089
|
-
var part = $jscomp$key$m1803429925$33$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$
|
|
17093
|
+
var part = $jscomp$key$m1803429925$33$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
17090
17094
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
17091
17095
|
}
|
|
17092
17096
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -17094,6 +17098,20 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17094
17098
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
17095
17099
|
}
|
|
17096
17100
|
break;
|
|
17101
|
+
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_NAVIGATION_URL_POLICY:
|
|
17102
|
+
var attrUrl = value;
|
|
17103
|
+
if (this.navigationUrlPolicy) {
|
|
17104
|
+
var hints$jscomp$1 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, url$jscomp$1 = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(value), policyUrl = this.navigationUrlPolicy(url$jscomp$1, hints$jscomp$1);
|
|
17105
|
+
if (policyUrl === null) {
|
|
17106
|
+
this.recordChange("Url in attribute " + name + ' was blocked during sanitization. Original url:"' + value + '"');
|
|
17107
|
+
break;
|
|
17108
|
+
}
|
|
17109
|
+
attrUrl = policyUrl.toString();
|
|
17110
|
+
}
|
|
17111
|
+
attrUrl = module$contents$safevalues$builders$url_builders_restrictivelySanitizeUrl(attrUrl);
|
|
17112
|
+
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, attrUrl);
|
|
17113
|
+
attrUrl !== value && this.recordChange("Url in attribute " + name + ' was modified during sanitization. Original url:"' + value + '" was sanitized to: "' + attrUrl + '"');
|
|
17114
|
+
break;
|
|
17097
17115
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP:
|
|
17098
17116
|
this.recordChange("Attribute: " + name + " was dropped");
|
|
17099
17117
|
break;
|
|
@@ -17204,8 +17222,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17204
17222
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17205
17223
|
};
|
|
17206
17224
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17207
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$m1412690177$
|
|
17208
|
-
var element = $jscomp$key$m1412690177$
|
|
17225
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$m1412690177$23$element = $jscomp$iter$39.next(); !$jscomp$key$m1412690177$23$element.done; $jscomp$key$m1412690177$23$element = $jscomp$iter$39.next()) {
|
|
17226
|
+
var element = $jscomp$key$m1412690177$23$element.value;
|
|
17209
17227
|
element = element.toUpperCase();
|
|
17210
17228
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17211
17229
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17223,8 +17241,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17223
17241
|
throw Error("Element: " + element + " is not a custom element");
|
|
17224
17242
|
}
|
|
17225
17243
|
if (allowedAttributes) {
|
|
17226
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$m1412690177$
|
|
17227
|
-
elementPolicy.set($jscomp$key$m1412690177$
|
|
17244
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$m1412690177$24$attribute = $jscomp$iter$40.next(); !$jscomp$key$m1412690177$24$attribute.done; $jscomp$key$m1412690177$24$attribute = $jscomp$iter$40.next()) {
|
|
17245
|
+
elementPolicy.set($jscomp$key$m1412690177$24$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17228
17246
|
}
|
|
17229
17247
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17230
17248
|
} else {
|
|
@@ -17234,15 +17252,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17234
17252
|
return this;
|
|
17235
17253
|
};
|
|
17236
17254
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17237
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$m1412690177$
|
|
17238
|
-
var attribute = $jscomp$key$m1412690177$
|
|
17255
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$m1412690177$25$attribute = $jscomp$iter$41.next(); !$jscomp$key$m1412690177$25$attribute.done; $jscomp$key$m1412690177$25$attribute = $jscomp$iter$41.next()) {
|
|
17256
|
+
var attribute = $jscomp$key$m1412690177$25$attribute.value;
|
|
17239
17257
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17240
17258
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17241
17259
|
}
|
|
17242
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$
|
|
17243
|
-
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$
|
|
17260
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$27$ = $jscomp$iter$43.next(); !$jscomp$key$m1412690177$27$.done; $jscomp$key$m1412690177$27$ = $jscomp$iter$43.next()) {
|
|
17261
|
+
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$27$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var36.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var36.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$m1412690177$26$ = $jscomp$iter$42.next(); !$jscomp$key$m1412690177$26$.done; $jscomp$key$m1412690177$26$ =
|
|
17244
17262
|
$jscomp$iter$42.next()) {
|
|
17245
|
-
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$
|
|
17263
|
+
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$26$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var38.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var38.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
17246
17264
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17247
17265
|
}
|
|
17248
17266
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17257,8 +17275,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17257
17275
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies, globallyAllowedAttributePrefixes);
|
|
17258
17276
|
return this;
|
|
17259
17277
|
}
|
|
17260
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$m1412690177$
|
|
17261
|
-
var attribute = $jscomp$key$m1412690177$
|
|
17278
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$m1412690177$28$attribute = $jscomp$iter$44.next(); !$jscomp$key$m1412690177$28$attribute.done; $jscomp$key$m1412690177$28$attribute = $jscomp$iter$44.next()) {
|
|
17279
|
+
var attribute = $jscomp$key$m1412690177$28$attribute.value;
|
|
17262
17280
|
if (attribute.indexOf("data-") !== 0) {
|
|
17263
17281
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17264
17282
|
}
|
|
@@ -17295,6 +17313,10 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17295
17313
|
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
17296
17314
|
return this;
|
|
17297
17315
|
};
|
|
17316
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.withNavigationUrlPolicy = function(navigationUrlPolicy) {
|
|
17317
|
+
this.navigationUrlPolicy = navigationUrlPolicy;
|
|
17318
|
+
return this;
|
|
17319
|
+
};
|
|
17298
17320
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder = function() {
|
|
17299
17321
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.apply(this, arguments);
|
|
17300
17322
|
};
|
|
@@ -17304,7 +17326,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
17304
17326
|
throw Error("this sanitizer has already called build");
|
|
17305
17327
|
}
|
|
17306
17328
|
this.calledBuild = !0;
|
|
17307
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, void 0, void 0, this.resourceUrlPolicy);
|
|
17329
|
+
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, void 0, void 0, this.resourceUrlPolicy, this.navigationUrlPolicy);
|
|
17308
17330
|
};
|
|
17309
17331
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder = function() {
|
|
17310
17332
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.apply(this, arguments);
|
|
@@ -17324,7 +17346,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17324
17346
|
return this;
|
|
17325
17347
|
};
|
|
17326
17348
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17327
|
-
var $jscomp$this$m1412690177$
|
|
17349
|
+
var $jscomp$this$m1412690177$19 = this;
|
|
17328
17350
|
this.extendSanitizerTableForCss();
|
|
17329
17351
|
var propertyDiscarders = [];
|
|
17330
17352
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17334,10 +17356,10 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17334
17356
|
return /^transition(-|$)/.test(property);
|
|
17335
17357
|
});
|
|
17336
17358
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17337
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$
|
|
17359
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$19.resourceUrlPolicy, $jscomp$this$m1412690177$19.animationsAllowed, propertyDiscarders);
|
|
17338
17360
|
}, function(cssText) {
|
|
17339
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$
|
|
17340
|
-
}, this.resourceUrlPolicy, this.openShadow);
|
|
17361
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$19.resourceUrlPolicy, propertyDiscarders);
|
|
17362
|
+
}, this.resourceUrlPolicy, this.navigationUrlPolicy, this.openShadow);
|
|
17341
17363
|
};
|
|
17342
17364
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
17343
17365
|
var allowedElements = new Set(this.sanitizerTable.allowedElements), allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), globalAttributePolicies = new Map(this.sanitizerTable.globalAttributePolicies);
|
|
@@ -17605,7 +17627,7 @@ module$exports$safevalues$index.sanitizeHtmlAssertUnchanged = module$contents$sa
|
|
|
17605
17627
|
module$exports$safevalues$index.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
17606
17628
|
module$exports$safevalues$index.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
17607
17629
|
module$exports$safevalues$index.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
17608
|
-
module$exports$safevalues$index.
|
|
17630
|
+
module$exports$safevalues$index.UrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType;
|
|
17609
17631
|
module$exports$safevalues$index.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
17610
17632
|
module$exports$safevalues$index.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
17611
17633
|
module$exports$safevalues$index.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
@@ -17674,9 +17696,9 @@ safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
|
17674
17696
|
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
17675
17697
|
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
17676
17698
|
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
17677
|
-
safevalues.
|
|
17678
|
-
safevalues.
|
|
17679
|
-
safevalues.
|
|
17699
|
+
safevalues.UrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType;
|
|
17700
|
+
safevalues.UrlPolicy = module$exports$safevalues$index.UrlPolicy;
|
|
17701
|
+
safevalues.UrlPolicyHints = module$exports$safevalues$index.UrlPolicyHints;
|
|
17680
17702
|
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
17681
17703
|
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
17682
17704
|
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
@@ -19428,7 +19450,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19428
19450
|
ee.apiclient = {};
|
|
19429
19451
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19430
19452
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19431
|
-
ee.apiclient.API_CLIENT_VERSION = "1.
|
|
19453
|
+
ee.apiclient.API_CLIENT_VERSION = "1.6.1";
|
|
19432
19454
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19433
19455
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19434
19456
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19726,8 +19748,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19726
19748
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19727
19749
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19728
19750
|
method = method || "POST";
|
|
19729
|
-
var headers = {"Content-Type":contentType}, version = "1.
|
|
19730
|
-
version === "1.
|
|
19751
|
+
var headers = {"Content-Type":contentType}, version = "1.6.1";
|
|
19752
|
+
version === "1.6.1" && (version = "latest");
|
|
19731
19753
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19732
19754
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19733
19755
|
if (authToken != null) {
|
|
@@ -27250,29 +27272,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27250
27272
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27251
27273
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27252
27274
|
(function() {
|
|
27253
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.table.
|
|
27254
|
-
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"],
|
|
27255
|
-
["
|
|
27256
|
-
"
|
|
27257
|
-
"
|
|
27258
|
-
"
|
|
27259
|
-
|
|
27260
|
-
"
|
|
27261
|
-
"
|
|
27262
|
-
["
|
|
27263
|
-
"opt_callback"], ["
|
|
27264
|
-
|
|
27265
|
-
"
|
|
27266
|
-
|
|
27267
|
-
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.table.
|
|
27268
|
-
module$contents$ee$batch_Export.image.
|
|
27269
|
-
ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.
|
|
27270
|
-
ee.data.
|
|
27271
|
-
ee.data.
|
|
27272
|
-
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature
|
|
27273
|
-
ee.Filter.
|
|
27274
|
-
ee.Image.prototype.
|
|
27275
|
-
ee.ImageCollection.prototype.
|
|
27275
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.video.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toFeatureView ee.batch.Export.table.toDrive ee.batch.Export.video.toCloudStorage ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.filter ee.Collection.prototype.map ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.data.getAssetRootQuota ee.data.listBuckets ee.data.getAssetRoots ee.data.getTaskStatus ee.data.getMapId ee.data.getWorkloadTag ee.data.createAssetHome ee.data.createAsset ee.data.setWorkloadTag ee.data.getTileUrl ee.data.startIngestion ee.data.setDefaultWorkloadTag ee.data.getTaskList ee.data.resetWorkloadTag ee.data.getFeatureViewTilesKey ee.data.getTaskListWithLimit ee.data.createFolder ee.data.renameAsset ee.data.listOperations ee.data.startTableIngestion ee.data.listFeatures ee.data.getFilmstripThumbId ee.data.cancelOperation ee.data.copyAsset ee.data.computeValue ee.data.getAssetAcl ee.data.deleteAsset ee.data.getVideoThumbId ee.data.getOperation ee.data.getAsset ee.data.cancelTask ee.data.authenticateViaOauth ee.data.getInfo ee.data.makeThumbUrl ee.data.updateTask ee.data.getThumbId ee.data.authenticate ee.data.updateAsset ee.data.getList ee.data.authenticateViaPrivateKey ee.data.getDownloadId ee.data.authenticateViaPopup ee.data.listAssets ee.data.startProcessing ee.data.makeDownloadUrl ee.data.getTableDownloadId ee.data.listImages ee.data.setAssetAcl ee.data.makeTableDownloadUrl ee.data.setAssetProperties ee.data.newTaskId ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromJSON ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.reset ee.Algorithms ee.InitState ee.initialize ee.call ee.TILE_SIZE ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getMapId ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.Filter.lte ee.Filter.lt ee.Filter.prototype.not ee.Filter.and ee.Filter.or ee.Filter ee.Filter.gte ee.Filter.eq ee.Filter.date ee.Filter.bounds ee.Filter.gt ee.Filter.metadata ee.Filter.inList ee.Filter.neq ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.MultiPolygon ee.Geometry.MultiPoint ee.Geometry.BBox ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.MultiLineString ee.Geometry ee.Geometry.Polygon ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.prototype.toGeoJSONString ee.Geometry.prototype.serialize ee.Geometry.Point ee.Image.prototype.getMap ee.Image ee.Image.prototype.getDownloadURL ee.Image.prototype.select ee.Image.prototype.getInfo ee.Image.cat ee.Image.prototype.getMapId ee.Image.rgb ee.Image.prototype.expression ee.Image.prototype.clip ee.Image.prototype.rename ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.linkCollection ee.List ee.Number ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toCloudApiJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.String ee.Terrain".split(" "),
|
|
27276
|
+
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".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 opt_priority".split(" "),
|
|
27277
|
+
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], "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 opt_priority".split(" "), "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 opt_priority".split(" "),
|
|
27278
|
+
["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".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 opt_priority".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),
|
|
27279
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), ["geometry"], ["max", "opt_property",
|
|
27280
|
+
"opt_ascending"], ["filter"], ["algorithm", "opt_dropNulls"], ["property", "opt_ascending"], ["name", "operator", "value"], ["start", "opt_end"], ["algorithm", "opt_first"], ["legacy"], ["func", "var_args"], ["callback"], ["opt_callback"], ["rootId", "opt_callback"], ["project", "opt_callback"], ["opt_callback"], ["taskId", "opt_callback"], ["params", "opt_callback"], [], ["requestedId", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["tag"], ["id", "x",
|
|
27281
|
+
"y", "z"], ["taskId", "request", "opt_callback"], ["tag"], ["opt_callback"], ["opt_resetDefault"], ["params", "opt_callback"], ["opt_limit", "opt_callback"], ["path", "opt_force", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["asset", "params", "opt_callback"], ["params", "opt_callback"], ["operationName", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["obj", "opt_callback"],
|
|
27282
|
+
["assetId", "opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["operationName", "opt_callback"], ["id", "opt_callback"], ["taskId", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["id", "opt_callback"], ["id"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["assetId", "asset", "updateFields", "opt_callback"],
|
|
27283
|
+
["params", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["params", "opt_callback"], ["opt_success", "opt_error"], ["parent", "opt_params", "opt_callback"], ["taskId", "params", "opt_callback"], ["id"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["id"], ["assetId", "properties", "opt_callback"], ["opt_count", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"],
|
|
27284
|
+
["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_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["args", "opt_column"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_callback"], ["opt_format", "opt_selectors",
|
|
27285
|
+
"opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["name", "value"], ["name", "value"], [], ["var_args"], ["var_args"], ["opt_filter"], ["name", "value"], ["name", "value"], ["start", "opt_end"], ["geometry", "opt_errorMargin"], ["name", "value"], ["name", "operator", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords",
|
|
27286
|
+
"opt_proj"], ["west", "south", "east", "north"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["legacy"], ["coords", "opt_proj"], ["opt_visParams", "opt_callback"], ["opt_args"], ["params",
|
|
27287
|
+
"opt_callback"], ["var_args"], ["opt_callback"], ["var_args"], ["opt_visParams", "opt_callback"], ["r", "g", "b"], ["expression", "opt_map"], ["geometry"], ["var_args"], ["params", "opt_callback"], ["params", "opt_callback"], ["selectors", "opt_names"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], [], ["params", "opt_callback"], ["params", "opt_callback"], ["args"], ["opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"],
|
|
27288
|
+
["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["string"], []];
|
|
27289
|
+
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.image.toCloudStorage,
|
|
27290
|
+
module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.video.toCloudStorage, ee.Collection.prototype.filterBounds, ee.Collection.prototype.limit, ee.Collection.prototype.filter, ee.Collection.prototype.map, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterDate, ee.Collection.prototype.iterate, ee.ComputedObject.prototype.serialize,
|
|
27291
|
+
ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.data.getAssetRootQuota, ee.data.listBuckets, ee.data.getAssetRoots, ee.data.getTaskStatus, ee.data.getMapId, ee.data.getWorkloadTag, ee.data.createAssetHome, ee.data.createAsset, ee.data.setWorkloadTag, ee.data.getTileUrl, ee.data.startIngestion, ee.data.setDefaultWorkloadTag, ee.data.getTaskList, ee.data.resetWorkloadTag, ee.data.getFeatureViewTilesKey, ee.data.getTaskListWithLimit,
|
|
27292
|
+
ee.data.createFolder, ee.data.renameAsset, ee.data.listOperations, ee.data.startTableIngestion, ee.data.listFeatures, ee.data.getFilmstripThumbId, ee.data.cancelOperation, ee.data.copyAsset, ee.data.computeValue, ee.data.getAssetAcl, ee.data.deleteAsset, ee.data.getVideoThumbId, ee.data.getOperation, ee.data.getAsset, ee.data.cancelTask, ee.data.authenticateViaOauth, ee.data.getInfo, ee.data.makeThumbUrl, ee.data.updateTask, ee.data.getThumbId, ee.data.authenticate, ee.data.updateAsset, ee.data.getList,
|
|
27293
|
+
ee.data.authenticateViaPrivateKey, ee.data.getDownloadId, ee.data.authenticateViaPopup, ee.data.listAssets, ee.data.startProcessing, ee.data.makeDownloadUrl, ee.data.getTableDownloadId, ee.data.listImages, ee.data.setAssetAcl, ee.data.makeTableDownloadUrl, ee.data.setAssetProperties, ee.data.newTaskId, ee.Date, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromJSON, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Dictionary, ee.reset, ee.Algorithms, ee.InitState, ee.initialize, ee.call,
|
|
27294
|
+
ee.TILE_SIZE, ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature, ee.Feature.prototype.getMap, ee.Feature.prototype.getMapId, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.Filter.lte, ee.Filter.lt, ee.Filter.prototype.not, ee.Filter.and, ee.Filter.or, ee.Filter,
|
|
27295
|
+
ee.Filter.gte, ee.Filter.eq, ee.Filter.date, ee.Filter.bounds, ee.Filter.gt, ee.Filter.metadata, ee.Filter.inList, ee.Filter.neq, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.MultiPolygon, ee.Geometry.MultiPoint, ee.Geometry.BBox, ee.Geometry.prototype.toGeoJSON, ee.Geometry.LinearRing, ee.Geometry.MultiLineString, ee.Geometry, ee.Geometry.Polygon, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.prototype.serialize, ee.Geometry.Point,
|
|
27296
|
+
ee.Image.prototype.getMap, ee.Image, ee.Image.prototype.getDownloadURL, ee.Image.prototype.select, ee.Image.prototype.getInfo, ee.Image.cat, ee.Image.prototype.getMapId, ee.Image.rgb, ee.Image.prototype.expression, ee.Image.prototype.clip, ee.Image.prototype.rename, ee.Image.prototype.getThumbId, ee.Image.prototype.getThumbURL, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getFilmstripThumbURL,
|
|
27297
|
+
ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.linkCollection, ee.List, ee.Number, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27276
27298
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27277
27299
|
});
|
|
27278
27300
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/package.json
CHANGED
package/src/apiclient.js
CHANGED
|
@@ -24,7 +24,7 @@ const {trustedResourceUrl} = goog.require('safevalues.index');
|
|
|
24
24
|
/** @namespace */
|
|
25
25
|
const apiclient = {};
|
|
26
26
|
|
|
27
|
-
const API_CLIENT_VERSION = '1.
|
|
27
|
+
const API_CLIENT_VERSION = '1.6.1';
|
|
28
28
|
|
|
29
29
|
exports.VERSION = apiVersion.VERSION;
|
|
30
30
|
exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
|
|
@@ -426,9 +426,7 @@ function deepCopyValue<T extends {}>(
|
|
|
426
426
|
} else if (value instanceof NullClass) {
|
|
427
427
|
deserialized = null as unknown as {};
|
|
428
428
|
} else if (typeof value === 'object') {
|
|
429
|
-
|
|
430
|
-
// tslint:disable-next-line:ban-types no-unnecessary-type-assertion
|
|
431
|
-
deserialized = JSON.parse(JSON.stringify(value)) as AnyDuringMigration;
|
|
429
|
+
deserialized = JSON.parse(JSON.stringify(value)) as object;
|
|
432
430
|
} else {
|
|
433
431
|
deserialized = value;
|
|
434
432
|
}
|