@google/earthengine 0.1.412 → 0.1.413
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 +237 -187
- package/build/ee_api_js.js +45 -45
- package/build/ee_api_js_debug.js +214 -164
- package/build/ee_api_js_npm.js +237 -187
- package/build/main.js +237 -187
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/test/ee_test.js +1 -1
package/build/ee_api_js_npm.js
CHANGED
|
@@ -2113,9 +2113,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2113
2113
|
};
|
|
2114
2114
|
var module$contents$eeapiclient$domain_object_CopyValueGetter, module$contents$eeapiclient$domain_object_CopyValueSetter, module$contents$eeapiclient$domain_object_CopyConstructor, module$contents$eeapiclient$domain_object_CopyInstanciator;
|
|
2115
2115
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2116
|
-
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$
|
|
2117
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2118
|
-
var key = $jscomp$key$
|
|
2116
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$m192531680$40$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$44 = {}; !$jscomp$key$m192531680$40$key.done; $jscomp$loop$m192531680$44 =
|
|
2117
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2118
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2119
2119
|
if (value != null) {
|
|
2120
2120
|
var copy = void 0;
|
|
2121
2121
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2126,11 +2126,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2126
2126
|
} else if (objects.hasOwnProperty(key)) {
|
|
2127
2127
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2128
2128
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2129
|
-
$jscomp$loop$
|
|
2129
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2130
2130
|
return function(v) {
|
|
2131
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2131
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2132
2132
|
};
|
|
2133
|
-
}($jscomp$loop$
|
|
2133
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2134
2134
|
} else if (Array.isArray(value)) {
|
|
2135
2135
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2136
2136
|
continue;
|
|
@@ -2145,8 +2145,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2145
2145
|
return target;
|
|
2146
2146
|
}
|
|
2147
2147
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2148
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2149
|
-
var mapKey = $jscomp$key$
|
|
2148
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m192531680$41$mapKey.done; $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next()) {
|
|
2149
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2150
2150
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2151
2151
|
}
|
|
2152
2152
|
return objMap;
|
|
@@ -2176,39 +2176,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2176
2176
|
if (!(module$contents$eeapiclient$domain_object_sameKeys(keys1, metadata2.keys || []) && module$contents$eeapiclient$domain_object_sameKeys(arrays1, arrays2) && module$contents$eeapiclient$domain_object_sameKeys(objects1, objects2) && module$contents$eeapiclient$domain_object_sameKeys(objectMaps1, objectMaps2))) {
|
|
2177
2177
|
return !1;
|
|
2178
2178
|
}
|
|
2179
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2180
|
-
var key = $jscomp$key$
|
|
2179
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m192531680$42$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$45 = {}; !$jscomp$key$m192531680$42$key.done; $jscomp$loop$m192531680$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m192531680$42$key = $jscomp$iter$21.next()) {
|
|
2180
|
+
var key = $jscomp$key$m192531680$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2181
2181
|
if (has1 !== has2) {
|
|
2182
2182
|
return !1;
|
|
2183
2183
|
}
|
|
2184
2184
|
if (has1) {
|
|
2185
2185
|
var value1 = serializable1.Serializable$get(key);
|
|
2186
|
-
$jscomp$loop$
|
|
2186
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2187
2187
|
if (arrays1.hasOwnProperty(key)) {
|
|
2188
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2188
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2189
2189
|
return !1;
|
|
2190
2190
|
}
|
|
2191
2191
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2192
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2192
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2193
2193
|
return !1;
|
|
2194
2194
|
}
|
|
2195
2195
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2196
|
-
if ($jscomp$loop$
|
|
2197
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2196
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2197
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2198
2198
|
return function(v1, i) {
|
|
2199
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2199
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2200
2200
|
};
|
|
2201
|
-
}($jscomp$loop$
|
|
2201
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2202
2202
|
return !1;
|
|
2203
2203
|
}
|
|
2204
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2204
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2205
2205
|
return !1;
|
|
2206
2206
|
}
|
|
2207
2207
|
} else if (Array.isArray(value1)) {
|
|
2208
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2208
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2209
2209
|
return !1;
|
|
2210
2210
|
}
|
|
2211
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2211
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2212
2212
|
return !1;
|
|
2213
2213
|
}
|
|
2214
2214
|
}
|
|
@@ -2230,8 +2230,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2230
2230
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2231
2231
|
return !1;
|
|
2232
2232
|
}
|
|
2233
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2234
|
-
var mapKey = $jscomp$key$
|
|
2233
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m192531680$43$mapKey.done; $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next()) {
|
|
2234
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2235
2235
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2236
2236
|
return !1;
|
|
2237
2237
|
}
|
|
@@ -2312,15 +2312,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2312
2312
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2313
2313
|
};
|
|
2314
2314
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2315
|
-
var $jscomp$this$
|
|
2315
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2316
2316
|
payload += this._metadataPayload;
|
|
2317
2317
|
return Promise.all(this.files.map(function(f) {
|
|
2318
|
-
return $jscomp$this$
|
|
2318
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2319
2319
|
})).then(function(filePayloads) {
|
|
2320
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2321
|
-
payload += $jscomp$key$
|
|
2320
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m667091202$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m667091202$9$filePayload.done; $jscomp$key$m667091202$9$filePayload = $jscomp$iter$23.next()) {
|
|
2321
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2322
2322
|
}
|
|
2323
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2323
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2324
2324
|
});
|
|
2325
2325
|
};
|
|
2326
2326
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2970,8 +2970,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2970
2970
|
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
2971
2971
|
}
|
|
2972
2972
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2973
|
-
var $jscomp$templatelit$
|
|
2974
|
-
["\\0"]), $jscomp$templatelit$
|
|
2973
|
+
var $jscomp$templatelit$1274514361$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$1274514361$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$1274514361$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
2974
|
+
["\\0"]), $jscomp$templatelit$1274514361$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
2975
2975
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2976
2976
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2977
2977
|
throw new TypeError("\n ############################## ERROR ##############################\n\n It looks like you are trying to call a template tag function (fn`...`)\n using the normal function syntax (fn(...)), which is not supported.\n\n The functions in the safevalues library are not designed to be called\n like normal functions, and doing so invalidates the security guarantees\n that safevalues provides.\n\n If you are stuck and not sure how to proceed, please reach out to us\n instead through:\n - go/ise-hardening-yaqs (preferred) // LINE-INTERNAL\n - g/ise-hardening // LINE-INTERNAL\n - https://github.com/google/safevalues/issues\n\n ############################## ERROR ##############################");
|
|
@@ -2985,14 +2985,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2985
2985
|
return fn.toString().indexOf("`") === -1;
|
|
2986
2986
|
}
|
|
2987
2987
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2988
|
-
return tag($jscomp$templatelit$
|
|
2988
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
2989
2989
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2990
|
-
return tag($jscomp$templatelit$
|
|
2990
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
2991
2991
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2992
|
-
return tag($jscomp$templatelit$
|
|
2992
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
2993
2993
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2994
|
-
return tag($jscomp$templatelit$
|
|
2995
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2994
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
2995
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$12);
|
|
2996
2996
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2997
2997
|
return Array.isArray(templateObj) && Array.isArray(templateObj.raw) && templateObj.length === templateObj.raw.length && (module$contents$safevalues$internals$string_literal_isTranspiled || templateObj !== templateObj.raw) && (module$contents$safevalues$internals$string_literal_isTranspiled && !module$contents$safevalues$internals$string_literal_frozenTSA || module$contents$safevalues$internals$string_literal_checkFrozen(templateObj)) ?
|
|
2998
2998
|
!0 : !1;
|
|
@@ -4402,9 +4402,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
4402
4402
|
}
|
|
4403
4403
|
}
|
|
4404
4404
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
4405
|
-
var $jscomp$tmp$error$
|
|
4406
|
-
this.message = $jscomp$tmp$error$
|
|
4407
|
-
"stack" in $jscomp$tmp$error$
|
|
4405
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
4406
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
4407
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
4408
4408
|
this.type = type;
|
|
4409
4409
|
this.intent = intent;
|
|
4410
4410
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -4481,19 +4481,20 @@ module$exports$safevalues$dom$elements$input.setFormaction = function(input, url
|
|
|
4481
4481
|
var module$exports$safevalues$dom$elements$link = {}, module$contents$safevalues$dom$elements$link_module = module$contents$safevalues$dom$elements$link_module || {id:"third_party/javascript/safevalues/dom/elements/link.closure.js"}, module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES = "alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");
|
|
4482
4482
|
module$exports$safevalues$dom$elements$link.setHrefAndRel = function(link, url, rel) {
|
|
4483
4483
|
if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(url)) {
|
|
4484
|
-
|
|
4484
|
+
module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel);
|
|
4485
4485
|
} else {
|
|
4486
4486
|
if (module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES.indexOf(rel) === -1) {
|
|
4487
4487
|
throw Error('TrustedResourceUrl href attribute required with rel="' + rel + '"');
|
|
4488
4488
|
}
|
|
4489
4489
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
4490
|
-
|
|
4491
|
-
return;
|
|
4492
|
-
}
|
|
4493
|
-
link.href = sanitizedUrl;
|
|
4490
|
+
sanitizedUrl !== void 0 && (link.href = sanitizedUrl, link.rel = rel);
|
|
4494
4491
|
}
|
|
4495
|
-
link.rel = rel;
|
|
4496
4492
|
};
|
|
4493
|
+
function module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel) {
|
|
4494
|
+
link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
4495
|
+
link.rel = rel;
|
|
4496
|
+
}
|
|
4497
|
+
module$exports$safevalues$dom$elements$link.setHrefAndRelWithTrustedResourceUrl = module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl;
|
|
4497
4498
|
var module$exports$safevalues$dom$elements$object = {}, module$contents$safevalues$dom$elements$object_module = module$contents$safevalues$dom$elements$object_module || {id:"third_party/javascript/safevalues/dom/elements/object.closure.js"};
|
|
4498
4499
|
module$exports$safevalues$dom$elements$object.setData = function(obj, v) {
|
|
4499
4500
|
obj.data = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
@@ -4510,7 +4511,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
4510
4511
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
4511
4512
|
};
|
|
4512
4513
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
4513
|
-
var $jscomp$optchain$
|
|
4514
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = win.document).querySelector) == null ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
4514
4515
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
4515
4516
|
}
|
|
4516
4517
|
;var module$exports$safevalues$internals$script_impl = {}, module$contents$safevalues$internals$script_impl_module = module$contents$safevalues$internals$script_impl_module || {id:"third_party/javascript/safevalues/internals/script_impl.closure.js"}, module$contents$safevalues$internals$script_impl_trustedTypes = goog.global.trustedTypes;
|
|
@@ -5177,9 +5178,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
5177
5178
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
5178
5179
|
var module$exports$safevalues$dom$globals$fetch = {}, module$contents$safevalues$dom$globals$fetch_module = module$contents$safevalues$dom$globals$fetch_module || {id:"third_party/javascript/safevalues/dom/globals/fetch.closure.js"};
|
|
5179
5180
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
5180
|
-
var $jscomp$tmp$error$
|
|
5181
|
-
this.message = $jscomp$tmp$error$
|
|
5182
|
-
"stack" in $jscomp$tmp$error$
|
|
5181
|
+
var $jscomp$tmp$error$m991617773$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
5182
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
5183
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
5183
5184
|
this.url = url;
|
|
5184
5185
|
this.typeName = typeName;
|
|
5185
5186
|
this.contentType = contentType;
|
|
@@ -5191,48 +5192,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
5191
5192
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
5192
5193
|
}
|
|
5193
5194
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
5194
|
-
var response, $jscomp$optchain$
|
|
5195
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5196
|
-
if ($jscomp$generator$context$
|
|
5197
|
-
return $jscomp$generator$context$
|
|
5198
|
-
}
|
|
5199
|
-
response = $jscomp$generator$context$
|
|
5200
|
-
mimeType = ($jscomp$optchain$
|
|
5201
|
-
return $jscomp$generator$context$
|
|
5195
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
5196
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
5197
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
5198
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
5199
|
+
}
|
|
5200
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
5201
|
+
mimeType = ($jscomp$optchain$tmpm991617773$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmpm991617773$1 = $jscomp$optchain$tmpm991617773$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmpm991617773$2 = $jscomp$optchain$tmpm991617773$1[0]) == null ? void 0 : $jscomp$optchain$tmpm991617773$2.toLowerCase();
|
|
5202
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
5202
5203
|
var text;
|
|
5203
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5204
|
-
if ($jscomp$generator$context$
|
|
5204
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
5205
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
5205
5206
|
if (mimeType !== "text/html") {
|
|
5206
5207
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
5207
5208
|
}
|
|
5208
|
-
return $jscomp$generator$context$
|
|
5209
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
5209
5210
|
}
|
|
5210
|
-
text = $jscomp$generator$context$
|
|
5211
|
-
return $jscomp$generator$context$
|
|
5211
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
5212
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
5212
5213
|
});
|
|
5213
5214
|
}, script:function() {
|
|
5214
5215
|
var text;
|
|
5215
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5216
|
-
if ($jscomp$generator$context$
|
|
5216
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
5217
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
5217
5218
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
5218
5219
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
5219
5220
|
}
|
|
5220
|
-
return $jscomp$generator$context$
|
|
5221
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
5221
5222
|
}
|
|
5222
|
-
text = $jscomp$generator$context$
|
|
5223
|
-
return $jscomp$generator$context$
|
|
5223
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
5224
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
5224
5225
|
});
|
|
5225
5226
|
}, styleSheet:function() {
|
|
5226
5227
|
var text;
|
|
5227
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5228
|
-
if ($jscomp$generator$context$
|
|
5228
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
5229
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
5229
5230
|
if (mimeType !== "text/css") {
|
|
5230
5231
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
5231
5232
|
}
|
|
5232
|
-
return $jscomp$generator$context$
|
|
5233
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
5233
5234
|
}
|
|
5234
|
-
text = $jscomp$generator$context$
|
|
5235
|
-
return $jscomp$generator$context$
|
|
5235
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
5236
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
5236
5237
|
});
|
|
5237
5238
|
}});
|
|
5238
5239
|
});
|
|
@@ -6654,8 +6655,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6654
6655
|
}
|
|
6655
6656
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6656
6657
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6657
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6658
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6658
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$1047461284$0$ = $jscomp$iter$29.next(); !$jscomp$key$1047461284$0$.done; $jscomp$key$1047461284$0$ = $jscomp$iter$29.next()) {
|
|
6659
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
6659
6660
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6660
6661
|
}
|
|
6661
6662
|
return urlQueryParams;
|
|
@@ -6666,8 +6667,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6666
6667
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
6667
6668
|
if (params.headers) {
|
|
6668
6669
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6669
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6670
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6670
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$1047461284$1$ = $jscomp$iter$30.next(); !$jscomp$key$1047461284$1$.done; $jscomp$key$1047461284$1$ = $jscomp$iter$30.next()) {
|
|
6671
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6671
6672
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6672
6673
|
}
|
|
6673
6674
|
}
|
|
@@ -6707,9 +6708,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6707
6708
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6708
6709
|
};
|
|
6709
6710
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6710
|
-
var $jscomp$this$
|
|
6711
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6711
6712
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6712
|
-
return $jscomp$this$
|
|
6713
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6713
6714
|
}));
|
|
6714
6715
|
};
|
|
6715
6716
|
var module$exports$eeapiclient$promise_request_service = {}, module$contents$eeapiclient$promise_request_service_module = module$contents$eeapiclient$promise_request_service_module || {id:"javascript/typescript/contrib/apiclient/request_service/promise_request_service.closure.js"};
|
|
@@ -6771,6 +6772,9 @@ goog.Disposable.prototype.dispose = function() {
|
|
|
6771
6772
|
delete goog.Disposable.instances_[uid];
|
|
6772
6773
|
}
|
|
6773
6774
|
};
|
|
6775
|
+
goog.Disposable.prototype[Symbol.dispose] = function() {
|
|
6776
|
+
this.dispose();
|
|
6777
|
+
};
|
|
6774
6778
|
goog.Disposable.prototype.registerDisposable = function(disposable) {
|
|
6775
6779
|
this.addOnDisposeCallback(goog.partial(module$contents$goog$dispose_dispose, disposable));
|
|
6776
6780
|
};
|
|
@@ -15541,8 +15545,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15541
15545
|
this.replacements = new Map();
|
|
15542
15546
|
};
|
|
15543
15547
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15544
|
-
var $jscomp$this$
|
|
15545
|
-
return $jscomp$this$
|
|
15548
|
+
var $jscomp$this$380122516$5 = 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) {
|
|
15549
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
15546
15550
|
});
|
|
15547
15551
|
if (openedTags.length !== 0) {
|
|
15548
15552
|
if (goog.DEBUG) {
|
|
@@ -15639,7 +15643,15 @@ function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_
|
|
|
15639
15643
|
}
|
|
15640
15644
|
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_HtmlAttributeResourceUrlPolicyHints() {
|
|
15641
15645
|
}
|
|
15642
|
-
|
|
15646
|
+
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(value) {
|
|
15647
|
+
try {
|
|
15648
|
+
return new URL(value, window.document.baseURI);
|
|
15649
|
+
} catch (e) {
|
|
15650
|
+
return new URL("about:invalid");
|
|
15651
|
+
}
|
|
15652
|
+
}
|
|
15653
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.parseUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl;
|
|
15654
|
+
var module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table = {}, module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_module = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/sanitizer_table/sanitizer_table.closure.js"};
|
|
15643
15655
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable = function(allowedElements, elementPolicies, allowedGlobalAttributes, globalAttributePolicies, globallyAllowedAttributePrefixes) {
|
|
15644
15656
|
this.allowedElements = allowedElements;
|
|
15645
15657
|
this.elementPolicies = elementPolicies;
|
|
@@ -15663,13 +15675,14 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tabl
|
|
|
15663
15675
|
return attributeName.indexOf(prefix) === 0;
|
|
15664
15676
|
}) ? {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};
|
|
15665
15677
|
};
|
|
15666
|
-
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};
|
|
15678
|
+
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};
|
|
15667
15679
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP] = "DROP";
|
|
15668
15680
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP] = "KEEP";
|
|
15669
15681
|
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";
|
|
15670
15682
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE] = "KEEP_AND_NORMALIZE";
|
|
15671
15683
|
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";
|
|
15672
15684
|
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";
|
|
15685
|
+
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";
|
|
15673
15686
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicy = function() {
|
|
15674
15687
|
};
|
|
15675
15688
|
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(" "));
|
|
@@ -15680,9 +15693,9 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tabl
|
|
|
15680
15693
|
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"},
|
|
15681
15694
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS = "ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "),
|
|
15682
15695
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES = [["A", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])], ["AREA", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])],
|
|
15683
|
-
["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.
|
|
15684
|
-
["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.
|
|
15685
|
-
["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.
|
|
15696
|
+
["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}],
|
|
15697
|
+
["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}]])],
|
|
15698
|
+
["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 =
|
|
15686
15699
|
"title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked color cols colspan controls datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
|
|
15687
15700
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES = [["dir", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
15688
15701
|
return new Map([["dir", new Set(["auto", "ltr", "rtl"])]]);
|
|
@@ -15693,15 +15706,22 @@ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanit
|
|
|
15693
15706
|
})}], ["poster", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}], ["target", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
15694
15707
|
return new Map([["target", new Set(["_self", "_blank"])]]);
|
|
15695
15708
|
})}]];
|
|
15696
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15709
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
|
|
15697
15710
|
new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES));
|
|
15698
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15711
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.CSS_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15712
|
+
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat(["STYLE"]);
|
|
15713
|
+
})), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES), new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15714
|
+
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["id", "name", "class"]);
|
|
15715
|
+
})), new Map(module$contents$safevalues$internals$pure_pure(function() {
|
|
15716
|
+
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES.concat([["style", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE}]]);
|
|
15717
|
+
})));
|
|
15718
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.LENIENT_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat(["BUTTON", "INPUT"])), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
|
|
15699
15719
|
new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15700
15720
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "name"]);
|
|
15701
15721
|
})), new Map(module$contents$safevalues$internals$pure_pure(function() {
|
|
15702
15722
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES.concat([["style", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP}]]);
|
|
15703
15723
|
})));
|
|
15704
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15724
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.SUPER_LENIENT_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15705
15725
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat("STYLE TITLE INPUT TEXTAREA BUTTON LABEL".split(" "));
|
|
15706
15726
|
})), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES), new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15707
15727
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "tabindex", "contenteditable", "name"]);
|
|
@@ -15736,8 +15756,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15736
15756
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
15737
15757
|
};
|
|
15738
15758
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15739
|
-
for (var $jscomp$this$
|
|
15740
|
-
return $jscomp$this$
|
|
15759
|
+
for (var $jscomp$this$m1803429925$10 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
15760
|
+
return $jscomp$this$m1803429925$10.nodeFilter(n);
|
|
15741
15761
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
15742
15762
|
var sanitizedNode = void 0;
|
|
15743
15763
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15772,8 +15792,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15772
15792
|
return this.createTextNode(textNode.data);
|
|
15773
15793
|
};
|
|
15774
15794
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15775
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$
|
|
15776
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
15795
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$32 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1803429925$31$ = $jscomp$iter$32.next(); !$jscomp$key$m1803429925$31$.done; $jscomp$key$m1803429925$31$ = $jscomp$iter$32.next()) {
|
|
15796
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1803429925$31$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
15777
15797
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15778
15798
|
switch(policy.policyAction) {
|
|
15779
15799
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15797,12 +15817,24 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15797
15817
|
break;
|
|
15798
15818
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY:
|
|
15799
15819
|
if (this.resourceUrlPolicy) {
|
|
15800
|
-
var hints = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, tagName:elementName}, url = module$contents$safevalues$builders$html_sanitizer$
|
|
15820
|
+
var hints = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, tagName:elementName}, url = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(value), sanitizedUrl = this.resourceUrlPolicy(url, hints);
|
|
15801
15821
|
sanitizedUrl && module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, sanitizedUrl.toString());
|
|
15802
15822
|
} else {
|
|
15803
15823
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
15804
15824
|
}
|
|
15805
15825
|
break;
|
|
15826
|
+
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
15827
|
+
if (this.resourceUrlPolicy) {
|
|
15828
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, tagName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$31 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1803429925$30$part = $jscomp$iter$31.next(); !$jscomp$key$m1803429925$30$part.done; $jscomp$key$m1803429925$30$part =
|
|
15829
|
+
$jscomp$iter$31.next()) {
|
|
15830
|
+
var part = $jscomp$key$m1803429925$30$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
15831
|
+
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
15832
|
+
}
|
|
15833
|
+
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
15834
|
+
} else {
|
|
15835
|
+
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
15836
|
+
}
|
|
15837
|
+
break;
|
|
15806
15838
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP:
|
|
15807
15839
|
this.recordChange("Attribute: " + name + " was dropped");
|
|
15808
15840
|
break;
|
|
@@ -15839,26 +15871,38 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15839
15871
|
if (!conditions) {
|
|
15840
15872
|
return !0;
|
|
15841
15873
|
}
|
|
15842
|
-
for (var $jscomp$iter$
|
|
15843
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
15874
|
+
for (var $jscomp$iter$33 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1803429925$32$ = $jscomp$iter$33.next(); !$jscomp$key$m1803429925$32$.done; $jscomp$key$m1803429925$32$ = $jscomp$iter$33.next()) {
|
|
15875
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$32$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1803429925$0 = void 0, value = ($jscomp$optchain$tmpm1803429925$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1803429925$0.value;
|
|
15844
15876
|
if (value && !expectedValues.has(value)) {
|
|
15845
15877
|
return !1;
|
|
15846
15878
|
}
|
|
15847
15879
|
}
|
|
15848
15880
|
return !0;
|
|
15849
15881
|
};
|
|
15850
|
-
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseUrl(value) {
|
|
15851
|
-
try {
|
|
15852
|
-
return new URL(value, window.document.baseURI);
|
|
15853
|
-
} catch (e) {
|
|
15854
|
-
return new URL("about:invalid");
|
|
15855
|
-
}
|
|
15856
|
-
}
|
|
15857
15882
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(el, name, value) {
|
|
15858
15883
|
el.setAttribute(name, value);
|
|
15859
15884
|
}
|
|
15885
|
+
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_SrcsetPart() {
|
|
15886
|
+
}
|
|
15887
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
15888
|
+
};
|
|
15889
|
+
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
15890
|
+
for (var parts = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1803429925$33$part = $jscomp$iter$34.next(); !$jscomp$key$m1803429925$33$part.done; $jscomp$key$m1803429925$33$part = $jscomp$iter$34.next()) {
|
|
15891
|
+
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$33$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var34.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var34.next().value;
|
|
15892
|
+
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
15893
|
+
}
|
|
15894
|
+
return {parts:parts};
|
|
15895
|
+
}
|
|
15896
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.parseSrcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset;
|
|
15897
|
+
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(srcset) {
|
|
15898
|
+
return srcset.parts.map(function(part) {
|
|
15899
|
+
var descriptor = part.descriptor;
|
|
15900
|
+
return "" + part.url + (descriptor ? " " + descriptor : "");
|
|
15901
|
+
}).join(" , ");
|
|
15902
|
+
}
|
|
15903
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.serializeSrcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset;
|
|
15860
15904
|
var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
|
|
15861
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15905
|
+
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE, module$exports$safevalues$internals$secrets.secretToken);
|
|
15862
15906
|
});
|
|
15863
15907
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml(html) {
|
|
15864
15908
|
return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer.sanitize(html);
|
|
@@ -15873,7 +15917,7 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanit
|
|
|
15873
15917
|
}
|
|
15874
15918
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
15875
15919
|
var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
|
|
15876
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15920
|
+
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.LENIENT_SANITIZER_TABLE, module$exports$safevalues$internals$secrets.secretToken);
|
|
15877
15921
|
});
|
|
15878
15922
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.lenientlySanitizeHtml = function(html) {
|
|
15879
15923
|
return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientHtmlSanitizer.sanitize(html);
|
|
@@ -15883,7 +15927,7 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenie
|
|
|
15883
15927
|
}
|
|
15884
15928
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.lenientlySanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged;
|
|
15885
15929
|
var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
|
|
15886
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15930
|
+
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.SUPER_LENIENT_SANITIZER_TABLE, module$exports$safevalues$internals$secrets.secretToken);
|
|
15887
15931
|
});
|
|
15888
15932
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.superLenientlySanitizeHtml = function(html) {
|
|
15889
15933
|
return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientHtmlSanitizer.sanitize(html);
|
|
@@ -15898,11 +15942,11 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_check
|
|
|
15898
15942
|
;var module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder = {}, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_builder_module = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_builder_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/html_sanitizer_builder.closure.js"};
|
|
15899
15943
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder = function() {
|
|
15900
15944
|
this.calledBuild = !1;
|
|
15901
|
-
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15945
|
+
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
15902
15946
|
};
|
|
15903
15947
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
15904
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$
|
|
15905
|
-
var element = $jscomp$key$
|
|
15948
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$35 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$m1412690177$0$element = $jscomp$iter$35.next(); !$jscomp$key$m1412690177$0$element.done; $jscomp$key$m1412690177$0$element = $jscomp$iter$35.next()) {
|
|
15949
|
+
var element = $jscomp$key$m1412690177$0$element.value;
|
|
15906
15950
|
element = element.toUpperCase();
|
|
15907
15951
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15908
15952
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15920,8 +15964,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15920
15964
|
throw Error("Element: " + element + " is not a custom element");
|
|
15921
15965
|
}
|
|
15922
15966
|
if (allowedAttributes) {
|
|
15923
|
-
for (var elementPolicy = new Map(), $jscomp$iter$
|
|
15924
|
-
elementPolicy.set($jscomp$key$
|
|
15967
|
+
for (var elementPolicy = new Map(), $jscomp$iter$36 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$m1412690177$1$attribute = $jscomp$iter$36.next(); !$jscomp$key$m1412690177$1$attribute.done; $jscomp$key$m1412690177$1$attribute = $jscomp$iter$36.next()) {
|
|
15968
|
+
elementPolicy.set($jscomp$key$m1412690177$1$attribute.value, {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
15925
15969
|
}
|
|
15926
15970
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15927
15971
|
} else {
|
|
@@ -15931,15 +15975,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15931
15975
|
return this;
|
|
15932
15976
|
};
|
|
15933
15977
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
15934
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$
|
|
15935
|
-
var attribute = $jscomp$key$
|
|
15978
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$37 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$m1412690177$2$attribute = $jscomp$iter$37.next(); !$jscomp$key$m1412690177$2$attribute.done; $jscomp$key$m1412690177$2$attribute = $jscomp$iter$37.next()) {
|
|
15979
|
+
var attribute = $jscomp$key$m1412690177$2$attribute.value;
|
|
15936
15980
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15937
15981
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15938
15982
|
}
|
|
15939
|
-
for (var $jscomp$iter$
|
|
15940
|
-
for (var $jscomp$destructuring$
|
|
15941
|
-
$jscomp$iter$
|
|
15942
|
-
var $jscomp$destructuring$
|
|
15983
|
+
for (var $jscomp$iter$39 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$4$ = $jscomp$iter$39.next(); !$jscomp$key$m1412690177$4$.done; $jscomp$key$m1412690177$4$ = $jscomp$iter$39.next()) {
|
|
15984
|
+
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$4$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var37.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var37.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$38 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$m1412690177$3$ = $jscomp$iter$38.next(); !$jscomp$key$m1412690177$3$.done; $jscomp$key$m1412690177$3$ =
|
|
15985
|
+
$jscomp$iter$38.next()) {
|
|
15986
|
+
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$3$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var39.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var39.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
15943
15987
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15944
15988
|
}
|
|
15945
15989
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -15948,8 +15992,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15948
15992
|
return this;
|
|
15949
15993
|
};
|
|
15950
15994
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
15951
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$
|
|
15952
|
-
var attribute = $jscomp$key$
|
|
15995
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$40 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$m1412690177$5$attribute = $jscomp$iter$40.next(); !$jscomp$key$m1412690177$5$attribute.done; $jscomp$key$m1412690177$5$attribute = $jscomp$iter$40.next()) {
|
|
15996
|
+
var attribute = $jscomp$key$m1412690177$5$attribute.value;
|
|
15953
15997
|
if (attribute.indexOf("data-") !== 0) {
|
|
15954
15998
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
15955
15999
|
}
|
|
@@ -15982,12 +16026,16 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15982
16026
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
15983
16027
|
return this;
|
|
15984
16028
|
};
|
|
16029
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.withResourceUrlPolicy = function(resourceUrlPolicy) {
|
|
16030
|
+
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16031
|
+
return this;
|
|
16032
|
+
};
|
|
15985
16033
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.build = function() {
|
|
15986
16034
|
if (this.calledBuild) {
|
|
15987
16035
|
throw Error("this sanitizer has already called build");
|
|
15988
16036
|
}
|
|
15989
16037
|
this.calledBuild = !0;
|
|
15990
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken);
|
|
16038
|
+
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);
|
|
15991
16039
|
};
|
|
15992
16040
|
var module$exports$safevalues$builders$resource_url_builders = {}, module$contents$safevalues$builders$resource_url_builders_module = module$contents$safevalues$builders$resource_url_builders_module || {id:"third_party/javascript/safevalues/builders/resource_url_builders.closure.js"}, module$contents$safevalues$builders$resource_url_builders_Primitive;
|
|
15993
16041
|
function module$contents$safevalues$builders$resource_url_builders_hasValidOrigin(base) {
|
|
@@ -16200,12 +16248,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16200
16248
|
}
|
|
16201
16249
|
try {
|
|
16202
16250
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16203
|
-
} catch ($jscomp$unused$catch$
|
|
16251
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
16204
16252
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16205
16253
|
}
|
|
16206
16254
|
try {
|
|
16207
16255
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16208
|
-
} catch ($jscomp$unused$catch$
|
|
16256
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
16209
16257
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16210
16258
|
}
|
|
16211
16259
|
return !1;
|
|
@@ -18765,7 +18813,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
18765
18813
|
headers.set(key, opt_headers[key]);
|
|
18766
18814
|
}
|
|
18767
18815
|
} else if (typeof opt_headers.keys === "function" && typeof opt_headers.get === "function") {
|
|
18768
|
-
for (var $jscomp$iter$
|
|
18816
|
+
for (var $jscomp$iter$41 = (0,$jscomp.makeIterator)(opt_headers.keys()), $jscomp$key$m71669834$54$key = $jscomp$iter$41.next(); !$jscomp$key$m71669834$54$key.done; $jscomp$key$m71669834$54$key = $jscomp$iter$41.next()) {
|
|
18769
18817
|
var key$jscomp$0 = $jscomp$key$m71669834$54$key.value;
|
|
18770
18818
|
headers.set(key$jscomp$0, opt_headers.get(key$jscomp$0));
|
|
18771
18819
|
}
|
|
@@ -18777,8 +18825,8 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
18777
18825
|
return goog.string.caseInsensitiveEquals(goog.net.XhrIo.CONTENT_TYPE_HEADER, header);
|
|
18778
18826
|
}), contentIsFormData = goog.global.FormData && content instanceof goog.global.FormData;
|
|
18779
18827
|
!module$contents$goog$array_contains(goog.net.XhrIo.METHODS_WITH_FORM_DATA, method) || contentTypeKey || contentIsFormData || headers.set(goog.net.XhrIo.CONTENT_TYPE_HEADER, goog.net.XhrIo.FORM_CONTENT_TYPE);
|
|
18780
|
-
for (var $jscomp$iter$
|
|
18781
|
-
var $jscomp$destructuring$
|
|
18828
|
+
for (var $jscomp$iter$42 = (0,$jscomp.makeIterator)(headers), $jscomp$key$m71669834$55$ = $jscomp$iter$42.next(); !$jscomp$key$m71669834$55$.done; $jscomp$key$m71669834$55$ = $jscomp$iter$42.next()) {
|
|
18829
|
+
var $jscomp$destructuring$var41 = (0,$jscomp.makeIterator)($jscomp$key$m71669834$55$.value), key$jscomp$1 = $jscomp$destructuring$var41.next().value, value = $jscomp$destructuring$var41.next().value;
|
|
18782
18830
|
this.xhr_.setRequestHeader(key$jscomp$1, value);
|
|
18783
18831
|
}
|
|
18784
18832
|
this.responseType_ && (this.xhr_.responseType = this.responseType_);
|
|
@@ -19090,7 +19138,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19090
19138
|
ee.apiclient = {};
|
|
19091
19139
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19092
19140
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19093
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19141
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.412";
|
|
19094
19142
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19095
19143
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19096
19144
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19222,21 +19270,21 @@ module$contents$ee$apiclient_BatchCall.prototype.withDetectPartialError = functi
|
|
|
19222
19270
|
return this;
|
|
19223
19271
|
};
|
|
19224
19272
|
module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getResponse) {
|
|
19225
|
-
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$
|
|
19226
|
-
var $jscomp$destructuring$
|
|
19227
|
-
var id = $jscomp$destructuring$
|
|
19228
|
-
var $jscomp$destructuring$
|
|
19229
|
-
var partBody = $jscomp$destructuring$
|
|
19230
|
-
$jscomp$destructuring$
|
|
19273
|
+
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var42) {
|
|
19274
|
+
var $jscomp$destructuring$var43 = (0,$jscomp.makeIterator)($jscomp$destructuring$var42);
|
|
19275
|
+
var id = $jscomp$destructuring$var43.next().value;
|
|
19276
|
+
var $jscomp$destructuring$var44 = (0,$jscomp.makeIterator)($jscomp$destructuring$var43.next().value);
|
|
19277
|
+
var partBody = $jscomp$destructuring$var44.next().value;
|
|
19278
|
+
$jscomp$destructuring$var44.next();
|
|
19231
19279
|
return "--batch_EARTHENGINE_batch\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nMIME-Version: 1.0\r\nContent-ID: <" + id + ">\r\n\r\n" + partBody + "\r\n";
|
|
19232
19280
|
}).join("") + "--batch_EARTHENGINE_batch--\r\n", deserializeResponses = function(response) {
|
|
19233
19281
|
var result = {};
|
|
19234
|
-
parts.forEach(function($jscomp$destructuring$
|
|
19235
|
-
var $jscomp$destructuring$
|
|
19236
|
-
var id = $jscomp$destructuring$
|
|
19237
|
-
var $jscomp$destructuring$
|
|
19238
|
-
$jscomp$destructuring$
|
|
19239
|
-
var ctor = $jscomp$destructuring$
|
|
19282
|
+
parts.forEach(function($jscomp$destructuring$var45) {
|
|
19283
|
+
var $jscomp$destructuring$var46 = (0,$jscomp.makeIterator)($jscomp$destructuring$var45);
|
|
19284
|
+
var id = $jscomp$destructuring$var46.next().value;
|
|
19285
|
+
var $jscomp$destructuring$var47 = (0,$jscomp.makeIterator)($jscomp$destructuring$var46.next().value);
|
|
19286
|
+
$jscomp$destructuring$var47.next();
|
|
19287
|
+
var ctor = $jscomp$destructuring$var47.next().value;
|
|
19240
19288
|
response[id] != null && (result[id] = module$contents$eeapiclient$domain_object_deserialize(ctor, response[id]));
|
|
19241
19289
|
});
|
|
19242
19290
|
return getResponse ? getResponse(result) : result;
|
|
@@ -19259,7 +19307,7 @@ module$contents$ee$apiclient_BatchRequestService.prototype.send = function(param
|
|
|
19259
19307
|
module$contents$ee$apiclient_BatchRequestService.prototype.makeRequest = function(params) {
|
|
19260
19308
|
};
|
|
19261
19309
|
module$contents$ee$apiclient_apiclient.parseBatchReply = function(contentType, responseText, handle) {
|
|
19262
|
-
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$
|
|
19310
|
+
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$43 = (0,$jscomp.makeIterator)(responseText.split("--" + boundary)), $jscomp$key$m1153655765$100$part = $jscomp$iter$43.next(); !$jscomp$key$m1153655765$100$part.done; $jscomp$key$m1153655765$100$part = $jscomp$iter$43.next()) {
|
|
19263
19311
|
var groups = $jscomp$key$m1153655765$100$part.value.split("\r\n\r\n");
|
|
19264
19312
|
if (!(groups.length < 3)) {
|
|
19265
19313
|
var id = groups[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1], status = Number(groups[1].match(/^HTTP\S*\s(\d+)\s/)[1]), text = groups.slice(2).join("\r\n\r\n");
|
|
@@ -19388,8 +19436,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19388
19436
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19389
19437
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19390
19438
|
method = method || "POST";
|
|
19391
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19392
|
-
version === "0.1.
|
|
19439
|
+
var headers = {"Content-Type":contentType}, version = "0.1.412";
|
|
19440
|
+
version === "0.1.412" && (version = "latest");
|
|
19393
19441
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19394
19442
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19395
19443
|
if (authToken != null) {
|
|
@@ -19522,8 +19570,8 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
19522
19570
|
}
|
|
19523
19571
|
};
|
|
19524
19572
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
19525
|
-
for (var request = new goog.Uri.QueryData(), $jscomp$iter$
|
|
19526
|
-
var $jscomp$destructuring$
|
|
19573
|
+
for (var request = new goog.Uri.QueryData(), $jscomp$iter$44 = (0,$jscomp.makeIterator)(Object.entries(params)), $jscomp$key$m1153655765$101$ = $jscomp$iter$44.next(); !$jscomp$key$m1153655765$101$.done; $jscomp$key$m1153655765$101$ = $jscomp$iter$44.next()) {
|
|
19574
|
+
var $jscomp$destructuring$var49 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$101$.value), name = $jscomp$destructuring$var49.next().value, item = $jscomp$destructuring$var49.next().value;
|
|
19527
19575
|
request.set(name, item);
|
|
19528
19576
|
}
|
|
19529
19577
|
return request;
|
|
@@ -19877,7 +19925,7 @@ ee.rpc_convert.algorithms = function(result) {
|
|
|
19877
19925
|
algorithm.deprecated && (internalAlgorithm.deprecated = algorithm.deprecationReason);
|
|
19878
19926
|
algorithm.sourceCodeUri && (internalAlgorithm.sourceCodeUri = algorithm.sourceCodeUri);
|
|
19879
19927
|
return internalAlgorithm;
|
|
19880
|
-
}, internalAlgorithms = {}, $jscomp$iter$
|
|
19928
|
+
}, internalAlgorithms = {}, $jscomp$iter$45 = (0,$jscomp.makeIterator)(result.algorithms || []), $jscomp$key$m29782521$48$algorithm = $jscomp$iter$45.next(); !$jscomp$key$m29782521$48$algorithm.done; $jscomp$key$m29782521$48$algorithm = $jscomp$iter$45.next()) {
|
|
19881
19929
|
var algorithm = $jscomp$key$m29782521$48$algorithm.value, name = algorithm.name.replace(/^algorithms\//, "");
|
|
19882
19930
|
internalAlgorithms[name] = convertAlgorithm(algorithm);
|
|
19883
19931
|
}
|
|
@@ -20002,10 +20050,10 @@ ee.rpc_convert.legacyPropertiesToAssetUpdate = function(legacyProperties) {
|
|
|
20002
20050
|
typeof value !== "string" && value !== null || properties.title != null || (properties.title = asNull(value) || value);
|
|
20003
20051
|
extractValue("system:description");
|
|
20004
20052
|
typeof value !== "string" && value !== null || properties.description != null || (properties.description = asNull(value) || value);
|
|
20005
|
-
Object.entries(properties).forEach(function($jscomp$destructuring$
|
|
20006
|
-
var $jscomp$destructuring$
|
|
20007
|
-
var key = $jscomp$destructuring$
|
|
20008
|
-
var value = $jscomp$destructuring$
|
|
20053
|
+
Object.entries(properties).forEach(function($jscomp$destructuring$var50) {
|
|
20054
|
+
var $jscomp$destructuring$var51 = (0,$jscomp.makeIterator)($jscomp$destructuring$var50);
|
|
20055
|
+
var key = $jscomp$destructuring$var51.next().value;
|
|
20056
|
+
var value = $jscomp$destructuring$var51.next().value;
|
|
20009
20057
|
properties[key] = asNull(value) || value;
|
|
20010
20058
|
});
|
|
20011
20059
|
asset.properties = properties;
|
|
@@ -20027,9 +20075,9 @@ ee.rpc_convert.getListToListAssets = function(param) {
|
|
|
20027
20075
|
param.bbox && (assetsRequest.region = ee.rpc_convert.boundingBoxToGeoJson(param.bbox));
|
|
20028
20076
|
param.region && (assetsRequest.region = param.region);
|
|
20029
20077
|
param.bbox && param.region && console.warn("Multiple request parameters converted to region");
|
|
20030
|
-
for (var allKeys = "id num starttime endtime bbox region".split(" "), $jscomp$iter$
|
|
20078
|
+
for (var allKeys = "id num starttime endtime bbox region".split(" "), $jscomp$iter$46 = (0,$jscomp.makeIterator)(Object.keys(param).filter(function(k) {
|
|
20031
20079
|
return !allKeys.includes(k);
|
|
20032
|
-
})), $jscomp$key$m29782521$49$key = $jscomp$iter$
|
|
20080
|
+
})), $jscomp$key$m29782521$49$key = $jscomp$iter$46.next(); !$jscomp$key$m29782521$49$key.done; $jscomp$key$m29782521$49$key = $jscomp$iter$46.next()) {
|
|
20033
20081
|
console.warn("Unrecognized key " + $jscomp$key$m29782521$49$key.value + " ignored");
|
|
20034
20082
|
}
|
|
20035
20083
|
return ee.rpc_convert.processListImagesParams(assetsRequest);
|
|
@@ -20253,7 +20301,7 @@ ee.rpc_convert.parseFilterParamsFromListImages_ = function(params) {
|
|
|
20253
20301
|
})) {
|
|
20254
20302
|
throw Error('Filter parameter "properties" must be an array of strings');
|
|
20255
20303
|
}
|
|
20256
|
-
for (var $jscomp$iter$
|
|
20304
|
+
for (var $jscomp$iter$47 = (0,$jscomp.makeIterator)(params.properties), $jscomp$key$m29782521$50$propertyQuery = $jscomp$iter$47.next(); !$jscomp$key$m29782521$50$propertyQuery.done; $jscomp$key$m29782521$50$propertyQuery = $jscomp$iter$47.next()) {
|
|
20257
20305
|
queryStrings.push($jscomp$key$m29782521$50$propertyQuery.value.trim().replace(/^(properties\.)?/, "properties."));
|
|
20258
20306
|
}
|
|
20259
20307
|
delete params.properties;
|
|
@@ -20590,8 +20638,8 @@ ee.Serializer.encodeCloudApiPretty = function(obj) {
|
|
|
20590
20638
|
if (!goog.isObject(object)) {
|
|
20591
20639
|
return object;
|
|
20592
20640
|
}
|
|
20593
|
-
for (var ret = Array.isArray(object) ? [] : {}, isNode = object instanceof Object.getPrototypeOf(module$exports$eeapiclient$ee_api_client.ValueNode), $jscomp$iter$
|
|
20594
|
-
var $jscomp$destructuring$
|
|
20641
|
+
for (var ret = Array.isArray(object) ? [] : {}, isNode = object instanceof Object.getPrototypeOf(module$exports$eeapiclient$ee_api_client.ValueNode), $jscomp$iter$48 = (0,$jscomp.makeIterator)(Object.entries(isNode ? object.Serializable$values : object)), $jscomp$key$m759255156$28$ = $jscomp$iter$48.next(); !$jscomp$key$m759255156$28$.done; $jscomp$key$m759255156$28$ = $jscomp$iter$48.next()) {
|
|
20642
|
+
var $jscomp$destructuring$var53 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$28$.value), key = $jscomp$destructuring$var53.next().value, val = $jscomp$destructuring$var53.next().value;
|
|
20595
20643
|
isNode ? val !== null && (ret[key] = key === "functionDefinitionValue" && val.body != null ? {argumentNames:val.argumentNames, body:walkObject(values[val.body])} : key === "functionInvocationValue" && val.functionReference != null ? {arguments:module$contents$goog$object_map(val.arguments, walkObject), functionReference:walkObject(values[val.functionReference])} : key === "constantValue" ? val === module$exports$eeapiclient$domain_object.NULL_VALUE ?
|
|
20596
20644
|
null : val : walkObject(val)) : ret[key] = walkObject(val);
|
|
20597
20645
|
}
|
|
@@ -20714,8 +20762,8 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20714
20762
|
return storeInSourceMap(value, optimized$jscomp$1);
|
|
20715
20763
|
}
|
|
20716
20764
|
if (value.dictionaryValue != null) {
|
|
20717
|
-
for (var values = {}, constantValues = {}, $jscomp$iter$
|
|
20718
|
-
var $jscomp$destructuring$
|
|
20765
|
+
for (var values = {}, constantValues = {}, $jscomp$iter$49 = (0,$jscomp.makeIterator)(Object.entries(value.dictionaryValue.values || {})), $jscomp$key$m759255156$29$ = $jscomp$iter$49.next(); !$jscomp$key$m759255156$29$.done; $jscomp$key$m759255156$29$ = $jscomp$iter$49.next()) {
|
|
20766
|
+
var $jscomp$destructuring$var55 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$29$.value), k = $jscomp$destructuring$var55.next().value, v = $jscomp$destructuring$var55.next().value;
|
|
20719
20767
|
values[k] = this.optimizeValue(v, depth + 3);
|
|
20720
20768
|
constantValues !== null && isConst(values[k]) ? constantValues[k] = serializeConst(values[k].constantValue) : constantValues = null;
|
|
20721
20769
|
}
|
|
@@ -20726,7 +20774,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20726
20774
|
return storeInSourceMap(value, optimized$jscomp$2);
|
|
20727
20775
|
}
|
|
20728
20776
|
if (value.functionInvocationValue != null) {
|
|
20729
|
-
for (var inv = value.functionInvocationValue, args = {}, $jscomp$iter$
|
|
20777
|
+
for (var inv = value.functionInvocationValue, args = {}, $jscomp$iter$50 = (0,$jscomp.makeIterator)(Object.keys(inv.arguments || {})), $jscomp$key$m759255156$30$k = $jscomp$iter$50.next(); !$jscomp$key$m759255156$30$k.done; $jscomp$key$m759255156$30$k = $jscomp$iter$50.next()) {
|
|
20730
20778
|
var k$jscomp$0 = $jscomp$key$m759255156$30$k.value;
|
|
20731
20779
|
args[k$jscomp$0] = this.optimizeValue(inv.arguments[k$jscomp$0], depth + 3);
|
|
20732
20780
|
}
|
|
@@ -21002,9 +21050,9 @@ ee.rpc_convert_batch.buildRankByOneThingRule_ = function(ruleString) {
|
|
|
21002
21050
|
if (matches == null) {
|
|
21003
21051
|
throw Error("Ranking rule format is invalid. Each rule should be defined by a rule type and a direction (ASC or DESC), separated by a space. Valid rule types are: .geometryType, .minZoomLevel, or a feature property name.");
|
|
21004
21052
|
}
|
|
21005
|
-
var $jscomp$destructuring$
|
|
21006
|
-
$jscomp$destructuring$
|
|
21007
|
-
var ruleType = $jscomp$destructuring$
|
|
21053
|
+
var $jscomp$destructuring$var56 = (0,$jscomp.makeIterator)(matches);
|
|
21054
|
+
$jscomp$destructuring$var56.next();
|
|
21055
|
+
var ruleType = $jscomp$destructuring$var56.next().value, direction = $jscomp$destructuring$var56.next().value;
|
|
21008
21056
|
switch(direction.toUpperCase()) {
|
|
21009
21057
|
case "ASC":
|
|
21010
21058
|
rankByOneThingRule.direction = "ASCENDING";
|
|
@@ -21265,8 +21313,8 @@ ee.data.getDownloadId = function(params, opt_callback) {
|
|
|
21265
21313
|
}) && (params.bands = params.bands.map(function(band) {
|
|
21266
21314
|
return {id:band};
|
|
21267
21315
|
}));
|
|
21268
|
-
if (params.bands && params.bands.some(function($jscomp$destructuring$
|
|
21269
|
-
return $jscomp$destructuring$
|
|
21316
|
+
if (params.bands && params.bands.some(function($jscomp$destructuring$var57) {
|
|
21317
|
+
return $jscomp$destructuring$var57.id == null;
|
|
21270
21318
|
})) {
|
|
21271
21319
|
throw Error("Each band dictionary must have an id.");
|
|
21272
21320
|
}
|
|
@@ -21624,7 +21672,7 @@ ee.data.createAsset = function(value, opt_path, opt_force, opt_properties, opt_c
|
|
|
21624
21672
|
value.gcsLocation && !value.cloudStorageLocation && (value.cloudStorageLocation = value.gcsLocation, delete value.gcsLocation);
|
|
21625
21673
|
value.cloudStorageLocation && (value.cloudStorageLocation = new module$exports$eeapiclient$ee_api_client.CloudStorageLocation(value.cloudStorageLocation));
|
|
21626
21674
|
opt_properties && !value.properties && (value.properties = Object.assign({}, opt_properties));
|
|
21627
|
-
for (var $jscomp$iter$
|
|
21675
|
+
for (var $jscomp$iter$51 = (0,$jscomp.makeIterator)(["title", "description"]), $jscomp$key$m1075644492$123$prop = $jscomp$iter$51.next(); !$jscomp$key$m1075644492$123$prop.done; $jscomp$key$m1075644492$123$prop = $jscomp$iter$51.next()) {
|
|
21628
21676
|
var prop = $jscomp$key$m1075644492$123$prop.value;
|
|
21629
21677
|
if (value[prop]) {
|
|
21630
21678
|
var $jscomp$compprop17 = {};
|
|
@@ -23897,8 +23945,8 @@ module$contents$ee$batch_Export.prefixImageFormatOptions_ = function(taskConfig,
|
|
|
23897
23945
|
})) {
|
|
23898
23946
|
throw Error("Parameter specified at least twice: once in config, and once in config format options.");
|
|
23899
23947
|
}
|
|
23900
|
-
for (var prefix = module$contents$ee$batch_FORMAT_PREFIX_MAP[imageFormat], validOptionKeys = module$contents$ee$batch_FORMAT_OPTIONS_MAP[imageFormat], prefixedOptions = {}, $jscomp$iter$
|
|
23901
|
-
var $jscomp$destructuring$
|
|
23948
|
+
for (var prefix = module$contents$ee$batch_FORMAT_PREFIX_MAP[imageFormat], validOptionKeys = module$contents$ee$batch_FORMAT_OPTIONS_MAP[imageFormat], prefixedOptions = {}, $jscomp$iter$52 = (0,$jscomp.makeIterator)(Object.entries(formatOptions)), $jscomp$key$1827622838$35$ = $jscomp$iter$52.next(); !$jscomp$key$1827622838$35$.done; $jscomp$key$1827622838$35$ = $jscomp$iter$52.next()) {
|
|
23949
|
+
var $jscomp$destructuring$var60 = (0,$jscomp.makeIterator)($jscomp$key$1827622838$35$.value), key = $jscomp$destructuring$var60.next().value, value = $jscomp$destructuring$var60.next().value;
|
|
23902
23950
|
if (!module$contents$goog$array_contains(validOptionKeys, key)) {
|
|
23903
23951
|
var validKeysMsg = validOptionKeys.join(", ");
|
|
23904
23952
|
throw Error('"' + key + '" is not a valid option, the image format "' + imageFormat + '""may have the following options: ' + (validKeysMsg + '".'));
|
|
@@ -26413,11 +26461,10 @@ goog.structs.PriorityPool.prototype.disposeInternal = function() {
|
|
|
26413
26461
|
this.requestQueue_.clear();
|
|
26414
26462
|
this.requestQueue_ = null;
|
|
26415
26463
|
};
|
|
26416
|
-
var module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource = function(mapId, opt_profiler
|
|
26464
|
+
var module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource = function(mapId, opt_profiler) {
|
|
26417
26465
|
module$exports$ee$layers$AbstractTileSource.call(this);
|
|
26418
26466
|
this.mapId_ = mapId;
|
|
26419
26467
|
this.profiler_ = opt_profiler || null;
|
|
26420
|
-
this.token_count_ = opt_parallelism || module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.DEFAULT_TOKEN_COUNT_;
|
|
26421
26468
|
};
|
|
26422
26469
|
$jscomp.inherits(module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource, module$exports$ee$layers$AbstractTileSource);
|
|
26423
26470
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.loadTile = function(tile, opt_priority) {
|
|
@@ -26440,6 +26487,9 @@ module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.
|
|
|
26440
26487
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.getUniqueId = function() {
|
|
26441
26488
|
return this.mapId_.mapid + "-" + this.mapId_.token;
|
|
26442
26489
|
};
|
|
26490
|
+
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.setGlobalParallelism = function(parallelism) {
|
|
26491
|
+
this.getGlobalTokenPool_().setMaximumCount(parallelism);
|
|
26492
|
+
};
|
|
26443
26493
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.handleAvailableToken_ = function(tile, token) {
|
|
26444
26494
|
var tokenPool = this.getGlobalTokenPool_();
|
|
26445
26495
|
if (tile.isDisposed() || tile.getStatus() == ee.layers.AbstractTile.Status.ABORTED) {
|
|
@@ -26456,7 +26506,7 @@ module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.
|
|
|
26456
26506
|
return this.profiler_ && this.profiler_.isEnabled() ? url + "&profiling=1" : url;
|
|
26457
26507
|
};
|
|
26458
26508
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.getGlobalTokenPool_ = function() {
|
|
26459
|
-
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ || (module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ = new goog.structs.PriorityPool(0,
|
|
26509
|
+
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ || (module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ = new goog.structs.PriorityPool(0, module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.DEFAULT_TOKEN_COUNT_));
|
|
26460
26510
|
return module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_;
|
|
26461
26511
|
};
|
|
26462
26512
|
goog.exportSymbol("ee.layers.EarthEngineTileSource", module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource);
|
|
@@ -26916,29 +26966,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26916
26966
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26917
26967
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26918
26968
|
(function() {
|
|
26919
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
26920
|
-
orderedParamLists = [["name"
|
|
26921
|
-
"image opt_description
|
|
26922
|
-
"collection opt_description
|
|
26923
|
-
|
|
26924
|
-
["
|
|
26925
|
-
|
|
26926
|
-
["
|
|
26927
|
-
|
|
26928
|
-
["
|
|
26929
|
-
"opt_callback"], ["
|
|
26930
|
-
"
|
|
26931
|
-
|
|
26932
|
-
|
|
26933
|
-
[ee.ApiFunction.
|
|
26934
|
-
module$contents$ee$batch_Export.
|
|
26935
|
-
ee.ComputedObject.prototype.
|
|
26936
|
-
ee.data.
|
|
26937
|
-
ee.data.
|
|
26938
|
-
ee.
|
|
26939
|
-
ee.Filter.lte, ee.Filter
|
|
26940
|
-
ee.Image.prototype.
|
|
26941
|
-
ee.ImageCollection
|
|
26969
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.image.toDrive ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.video.toCloudStorage ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.filter ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.data.authenticateViaPopup ee.data.makeDownloadUrl ee.data.getFeatureViewTilesKey ee.data.listImages ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.getDownloadId ee.data.listFeatures ee.data.getAssetRoots ee.data.getAsset ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.createAssetHome ee.data.newTaskId ee.data.createAsset ee.data.computeValue ee.data.setWorkloadTag ee.data.getInfo ee.data.getThumbId ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.getVideoThumbId ee.data.resetWorkloadTag ee.data.getTaskStatus ee.data.updateAsset ee.data.updateTask ee.data.getFilmstripThumbId ee.data.getList ee.data.startIngestion ee.data.createFolder ee.data.startProcessing ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.setAssetAcl ee.data.getMapId ee.data.renameAsset ee.data.listAssets ee.data.authenticate ee.data.getTaskList ee.data.getTableDownloadId ee.data.setAssetProperties ee.data.copyAsset ee.data.getTileUrl ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.deleteAsset ee.data.startTableIngestion ee.data.getAssetRootQuota ee.data.cancelOperation ee.data.listOperations ee.Date ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Dictionary ee.call ee.initialize ee.reset ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getMapId ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.Filter.and ee.Filter.prototype.not ee.Filter.neq ee.Filter.lt ee.Filter.gt ee.Filter.inList ee.Filter.or ee.Filter.gte ee.Filter.lte ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPoint ee.Geometry.LineString ee.Geometry.MultiPolygon ee.Geometry.Rectangle ee.Geometry ee.Geometry.BBox ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.Polygon ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getDownloadURL ee.Image.prototype.getMap ee.Image.prototype.getThumbId ee.Image.prototype.select ee.Image.prototype.clip ee.Image ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.prototype.getThumbURL ee.Image.rgb ee.Image.cat ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getMapId ee.ImageCollection ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getFilmstripThumbURL ee.List ee.Number ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
26970
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "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(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
26971
|
+
"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize 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(" "), "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(" "),
|
|
26972
|
+
"collection opt_description opt_table opt_overwrite opt_append 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(" "), "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(" "),
|
|
26973
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "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(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["algorithm", "opt_dropNulls"],
|
|
26974
|
+
["algorithm", "opt_first"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["name", "operator", "value"], ["geometry"], ["start", "opt_end"], ["filter"], ["opt_callback"], ["legacy"], ["func", "var_args"], ["callback"], ["opt_success", "opt_error"], ["id"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "opt_callback"], [], ["params", "opt_callback"], ["asset", "params", "opt_callback"], ["opt_callback"], ["id", "opt_callback"], ["privateKey",
|
|
26975
|
+
"opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["operationName", "opt_callback"], ["requestedId", "opt_callback"], ["opt_count", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["obj", "opt_callback"], ["tag"], ["id", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["tag"], ["params", "opt_callback"], ["opt_resetDefault"], ["taskId", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"],
|
|
26976
|
+
["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["path", "opt_force", "opt_callback"], ["taskId", "params", "opt_callback"], ["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["assetId", "aclUpdate", "opt_callback"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["clientId", "success",
|
|
26977
|
+
"opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["opt_callback"], ["params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["id", "x", "y", "z"], ["project", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], ["taskId", "request", "opt_callback"], ["rootId", "opt_callback"], ["operationName", "opt_callback"], ["opt_limit", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"],
|
|
26978
|
+
["json"], ["json"], ["opt_dict"], ["func", "var_args"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], [], [], ["func", "namedArgs"], [], ["var_args"], [], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename",
|
|
26979
|
+
"opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["var_args"], [], ["name", "value"], ["name", "value"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["var_args"], ["name", "value"], ["name", "value"], ["opt_filter"], ["name", "value"], ["start", "opt_end"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj",
|
|
26980
|
+
"opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["west", "south", "east", "north"], ["coords", "opt_proj"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["params",
|
|
26981
|
+
"opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["var_args"], ["geometry"], ["opt_args"], ["expression", "opt_map"], ["var_args"], ["params", "opt_callback"], ["r", "g", "b"], ["var_args"], ["opt_callback"], ["selectors", "opt_names"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["opt_visParams", "opt_callback"], ["args"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["list"],
|
|
26982
|
+
["number"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
26983
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.video.toCloudStorage,
|
|
26984
|
+
module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterDate, ee.Collection.prototype.filter, ee.ComputedObject.prototype.getInfo,
|
|
26985
|
+
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.data.authenticateViaPopup, ee.data.makeDownloadUrl, ee.data.getFeatureViewTilesKey, ee.data.listImages, ee.data.getAssetAcl, ee.data.getWorkloadTag, ee.data.getDownloadId, ee.data.listFeatures, ee.data.getAssetRoots, ee.data.getAsset, ee.data.authenticateViaPrivateKey, ee.data.getOperation, ee.data.createAssetHome, ee.data.newTaskId, ee.data.createAsset, ee.data.computeValue, ee.data.setWorkloadTag,
|
|
26986
|
+
ee.data.getInfo, ee.data.getThumbId, ee.data.cancelTask, ee.data.setDefaultWorkloadTag, ee.data.getVideoThumbId, ee.data.resetWorkloadTag, ee.data.getTaskStatus, ee.data.updateAsset, ee.data.updateTask, ee.data.getFilmstripThumbId, ee.data.getList, ee.data.startIngestion, ee.data.createFolder, ee.data.startProcessing, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.setAssetAcl, ee.data.getMapId, ee.data.renameAsset, ee.data.listAssets, ee.data.authenticate, ee.data.getTaskList, ee.data.getTableDownloadId,
|
|
26987
|
+
ee.data.setAssetProperties, ee.data.copyAsset, ee.data.getTileUrl, ee.data.listBuckets, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.deleteAsset, ee.data.startTableIngestion, ee.data.getAssetRootQuota, ee.data.cancelOperation, ee.data.listOperations, ee.Date, ee.Deserializer.decode, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.fromJSON, ee.Dictionary, ee.call, ee.initialize, ee.reset, ee.Algorithms, ee.InitState, ee.apply, ee.TILE_SIZE,
|
|
26988
|
+
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMap, ee.Feature, ee.Feature.prototype.getMapId, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.Filter.and, ee.Filter.prototype.not, ee.Filter.neq, ee.Filter.lt, ee.Filter.gt, ee.Filter.inList, ee.Filter.or, ee.Filter.gte,
|
|
26989
|
+
ee.Filter.lte, ee.Filter, ee.Filter.eq, ee.Filter.date, ee.Filter.metadata, ee.Filter.bounds, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.MultiLineString, ee.Geometry.prototype.toGeoJSON, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.MultiPoint, ee.Geometry.LineString, ee.Geometry.MultiPolygon, ee.Geometry.Rectangle, ee.Geometry, ee.Geometry.BBox, ee.Geometry.Point, ee.Geometry.prototype.serialize, ee.Geometry.Polygon, ee.Image.prototype.getInfo,
|
|
26990
|
+
ee.Image.prototype.getMapId, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getMap, ee.Image.prototype.getThumbId, ee.Image.prototype.select, ee.Image.prototype.clip, ee.Image, ee.Image.prototype.expression, ee.Image.prototype.rename, ee.Image.prototype.getThumbURL, ee.Image.rgb, ee.Image.cat, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getMapId, ee.ImageCollection,
|
|
26991
|
+
ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.List, ee.Number, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26942
26992
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
26943
26993
|
});
|
|
26944
26994
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|