@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/main.js
CHANGED
|
@@ -2115,9 +2115,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2115
2115
|
};
|
|
2116
2116
|
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;
|
|
2117
2117
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2118
|
-
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$
|
|
2119
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2120
|
-
var key = $jscomp$key$
|
|
2118
|
+
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 =
|
|
2119
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2120
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2121
2121
|
if (value != null) {
|
|
2122
2122
|
var copy = void 0;
|
|
2123
2123
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2128,11 +2128,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2128
2128
|
} else if (objects.hasOwnProperty(key)) {
|
|
2129
2129
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2130
2130
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2131
|
-
$jscomp$loop$
|
|
2131
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2132
2132
|
return function(v) {
|
|
2133
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2133
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2134
2134
|
};
|
|
2135
|
-
}($jscomp$loop$
|
|
2135
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2136
2136
|
} else if (Array.isArray(value)) {
|
|
2137
2137
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2138
2138
|
continue;
|
|
@@ -2147,8 +2147,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2147
2147
|
return target;
|
|
2148
2148
|
}
|
|
2149
2149
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2150
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2151
|
-
var mapKey = $jscomp$key$
|
|
2150
|
+
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()) {
|
|
2151
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2152
2152
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2153
2153
|
}
|
|
2154
2154
|
return objMap;
|
|
@@ -2178,39 +2178,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2178
2178
|
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))) {
|
|
2179
2179
|
return !1;
|
|
2180
2180
|
}
|
|
2181
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2182
|
-
var key = $jscomp$key$
|
|
2181
|
+
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()) {
|
|
2182
|
+
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);
|
|
2183
2183
|
if (has1 !== has2) {
|
|
2184
2184
|
return !1;
|
|
2185
2185
|
}
|
|
2186
2186
|
if (has1) {
|
|
2187
2187
|
var value1 = serializable1.Serializable$get(key);
|
|
2188
|
-
$jscomp$loop$
|
|
2188
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2189
2189
|
if (arrays1.hasOwnProperty(key)) {
|
|
2190
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2190
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2191
2191
|
return !1;
|
|
2192
2192
|
}
|
|
2193
2193
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2194
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2194
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2195
2195
|
return !1;
|
|
2196
2196
|
}
|
|
2197
2197
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2198
|
-
if ($jscomp$loop$
|
|
2199
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2198
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2199
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2200
2200
|
return function(v1, i) {
|
|
2201
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2201
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2202
2202
|
};
|
|
2203
|
-
}($jscomp$loop$
|
|
2203
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2204
2204
|
return !1;
|
|
2205
2205
|
}
|
|
2206
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2206
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2207
2207
|
return !1;
|
|
2208
2208
|
}
|
|
2209
2209
|
} else if (Array.isArray(value1)) {
|
|
2210
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2210
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2211
2211
|
return !1;
|
|
2212
2212
|
}
|
|
2213
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2213
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2214
2214
|
return !1;
|
|
2215
2215
|
}
|
|
2216
2216
|
}
|
|
@@ -2232,8 +2232,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2232
2232
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2233
2233
|
return !1;
|
|
2234
2234
|
}
|
|
2235
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2236
|
-
var mapKey = $jscomp$key$
|
|
2235
|
+
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()) {
|
|
2236
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2237
2237
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2238
2238
|
return !1;
|
|
2239
2239
|
}
|
|
@@ -2314,15 +2314,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2314
2314
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2315
2315
|
};
|
|
2316
2316
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2317
|
-
var $jscomp$this$
|
|
2317
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2318
2318
|
payload += this._metadataPayload;
|
|
2319
2319
|
return Promise.all(this.files.map(function(f) {
|
|
2320
|
-
return $jscomp$this$
|
|
2320
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2321
2321
|
})).then(function(filePayloads) {
|
|
2322
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2323
|
-
payload += $jscomp$key$
|
|
2322
|
+
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()) {
|
|
2323
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2324
2324
|
}
|
|
2325
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2325
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2326
2326
|
});
|
|
2327
2327
|
};
|
|
2328
2328
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2972,8 +2972,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2972
2972
|
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
2973
2973
|
}
|
|
2974
2974
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2975
|
-
var $jscomp$templatelit$
|
|
2976
|
-
["\\0"]), $jscomp$templatelit$
|
|
2975
|
+
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"],
|
|
2976
|
+
["\\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"};
|
|
2977
2977
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2978
2978
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2979
2979
|
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 ##############################");
|
|
@@ -2987,14 +2987,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2987
2987
|
return fn.toString().indexOf("`") === -1;
|
|
2988
2988
|
}
|
|
2989
2989
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2990
|
-
return tag($jscomp$templatelit$
|
|
2990
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
2991
2991
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2992
|
-
return tag($jscomp$templatelit$
|
|
2992
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
2993
2993
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2994
|
-
return tag($jscomp$templatelit$
|
|
2994
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
2995
2995
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2996
|
-
return tag($jscomp$templatelit$
|
|
2997
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2996
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
2997
|
+
}), 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);
|
|
2998
2998
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2999
2999
|
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)) ?
|
|
3000
3000
|
!0 : !1;
|
|
@@ -4404,9 +4404,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
4404
4404
|
}
|
|
4405
4405
|
}
|
|
4406
4406
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
4407
|
-
var $jscomp$tmp$error$
|
|
4408
|
-
this.message = $jscomp$tmp$error$
|
|
4409
|
-
"stack" in $jscomp$tmp$error$
|
|
4407
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
4408
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
4409
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
4410
4410
|
this.type = type;
|
|
4411
4411
|
this.intent = intent;
|
|
4412
4412
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -4483,19 +4483,20 @@ module$exports$safevalues$dom$elements$input.setFormaction = function(input, url
|
|
|
4483
4483
|
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(" ");
|
|
4484
4484
|
module$exports$safevalues$dom$elements$link.setHrefAndRel = function(link, url, rel) {
|
|
4485
4485
|
if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(url)) {
|
|
4486
|
-
|
|
4486
|
+
module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel);
|
|
4487
4487
|
} else {
|
|
4488
4488
|
if (module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES.indexOf(rel) === -1) {
|
|
4489
4489
|
throw Error('TrustedResourceUrl href attribute required with rel="' + rel + '"');
|
|
4490
4490
|
}
|
|
4491
4491
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
4492
|
-
|
|
4493
|
-
return;
|
|
4494
|
-
}
|
|
4495
|
-
link.href = sanitizedUrl;
|
|
4492
|
+
sanitizedUrl !== void 0 && (link.href = sanitizedUrl, link.rel = rel);
|
|
4496
4493
|
}
|
|
4497
|
-
link.rel = rel;
|
|
4498
4494
|
};
|
|
4495
|
+
function module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel) {
|
|
4496
|
+
link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
4497
|
+
link.rel = rel;
|
|
4498
|
+
}
|
|
4499
|
+
module$exports$safevalues$dom$elements$link.setHrefAndRelWithTrustedResourceUrl = module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl;
|
|
4499
4500
|
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"};
|
|
4500
4501
|
module$exports$safevalues$dom$elements$object.setData = function(obj, v) {
|
|
4501
4502
|
obj.data = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
@@ -4512,7 +4513,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
4512
4513
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
4513
4514
|
};
|
|
4514
4515
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
4515
|
-
var $jscomp$optchain$
|
|
4516
|
+
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]");
|
|
4516
4517
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
4517
4518
|
}
|
|
4518
4519
|
;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;
|
|
@@ -5179,9 +5180,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
5179
5180
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
5180
5181
|
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"};
|
|
5181
5182
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
5182
|
-
var $jscomp$tmp$error$
|
|
5183
|
-
this.message = $jscomp$tmp$error$
|
|
5184
|
-
"stack" in $jscomp$tmp$error$
|
|
5183
|
+
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.");
|
|
5184
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
5185
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
5185
5186
|
this.url = url;
|
|
5186
5187
|
this.typeName = typeName;
|
|
5187
5188
|
this.contentType = contentType;
|
|
@@ -5193,48 +5194,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
5193
5194
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
5194
5195
|
}
|
|
5195
5196
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
5196
|
-
var response, $jscomp$optchain$
|
|
5197
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5198
|
-
if ($jscomp$generator$context$
|
|
5199
|
-
return $jscomp$generator$context$
|
|
5200
|
-
}
|
|
5201
|
-
response = $jscomp$generator$context$
|
|
5202
|
-
mimeType = ($jscomp$optchain$
|
|
5203
|
-
return $jscomp$generator$context$
|
|
5197
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
5198
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
5199
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
5200
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
5201
|
+
}
|
|
5202
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
5203
|
+
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();
|
|
5204
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
5204
5205
|
var text;
|
|
5205
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5206
|
-
if ($jscomp$generator$context$
|
|
5206
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
5207
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
5207
5208
|
if (mimeType !== "text/html") {
|
|
5208
5209
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
5209
5210
|
}
|
|
5210
|
-
return $jscomp$generator$context$
|
|
5211
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
5211
5212
|
}
|
|
5212
|
-
text = $jscomp$generator$context$
|
|
5213
|
-
return $jscomp$generator$context$
|
|
5213
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
5214
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
5214
5215
|
});
|
|
5215
5216
|
}, script:function() {
|
|
5216
5217
|
var text;
|
|
5217
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5218
|
-
if ($jscomp$generator$context$
|
|
5218
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
5219
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
5219
5220
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
5220
5221
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
5221
5222
|
}
|
|
5222
|
-
return $jscomp$generator$context$
|
|
5223
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
5223
5224
|
}
|
|
5224
|
-
text = $jscomp$generator$context$
|
|
5225
|
-
return $jscomp$generator$context$
|
|
5225
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
5226
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
5226
5227
|
});
|
|
5227
5228
|
}, styleSheet:function() {
|
|
5228
5229
|
var text;
|
|
5229
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5230
|
-
if ($jscomp$generator$context$
|
|
5230
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
5231
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
5231
5232
|
if (mimeType !== "text/css") {
|
|
5232
5233
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
5233
5234
|
}
|
|
5234
|
-
return $jscomp$generator$context$
|
|
5235
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
5235
5236
|
}
|
|
5236
|
-
text = $jscomp$generator$context$
|
|
5237
|
-
return $jscomp$generator$context$
|
|
5237
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
5238
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
5238
5239
|
});
|
|
5239
5240
|
}});
|
|
5240
5241
|
});
|
|
@@ -6656,8 +6657,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6656
6657
|
}
|
|
6657
6658
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6658
6659
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6659
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6660
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6660
|
+
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()) {
|
|
6661
|
+
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;
|
|
6661
6662
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6662
6663
|
}
|
|
6663
6664
|
return urlQueryParams;
|
|
@@ -6668,8 +6669,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6668
6669
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
6669
6670
|
if (params.headers) {
|
|
6670
6671
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6671
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6672
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6672
|
+
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()) {
|
|
6673
|
+
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;
|
|
6673
6674
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6674
6675
|
}
|
|
6675
6676
|
}
|
|
@@ -6709,9 +6710,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6709
6710
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6710
6711
|
};
|
|
6711
6712
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6712
|
-
var $jscomp$this$
|
|
6713
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6713
6714
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6714
|
-
return $jscomp$this$
|
|
6715
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6715
6716
|
}));
|
|
6716
6717
|
};
|
|
6717
6718
|
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"};
|
|
@@ -6773,6 +6774,9 @@ goog.Disposable.prototype.dispose = function() {
|
|
|
6773
6774
|
delete goog.Disposable.instances_[uid];
|
|
6774
6775
|
}
|
|
6775
6776
|
};
|
|
6777
|
+
goog.Disposable.prototype[Symbol.dispose] = function() {
|
|
6778
|
+
this.dispose();
|
|
6779
|
+
};
|
|
6776
6780
|
goog.Disposable.prototype.registerDisposable = function(disposable) {
|
|
6777
6781
|
this.addOnDisposeCallback(goog.partial(module$contents$goog$dispose_dispose, disposable));
|
|
6778
6782
|
};
|
|
@@ -15543,8 +15547,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15543
15547
|
this.replacements = new Map();
|
|
15544
15548
|
};
|
|
15545
15549
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15546
|
-
var $jscomp$this$
|
|
15547
|
-
return $jscomp$this$
|
|
15550
|
+
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) {
|
|
15551
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
15548
15552
|
});
|
|
15549
15553
|
if (openedTags.length !== 0) {
|
|
15550
15554
|
if (goog.DEBUG) {
|
|
@@ -15641,7 +15645,15 @@ function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_
|
|
|
15641
15645
|
}
|
|
15642
15646
|
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_HtmlAttributeResourceUrlPolicyHints() {
|
|
15643
15647
|
}
|
|
15644
|
-
|
|
15648
|
+
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(value) {
|
|
15649
|
+
try {
|
|
15650
|
+
return new URL(value, window.document.baseURI);
|
|
15651
|
+
} catch (e) {
|
|
15652
|
+
return new URL("about:invalid");
|
|
15653
|
+
}
|
|
15654
|
+
}
|
|
15655
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.parseUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl;
|
|
15656
|
+
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"};
|
|
15645
15657
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable = function(allowedElements, elementPolicies, allowedGlobalAttributes, globalAttributePolicies, globallyAllowedAttributePrefixes) {
|
|
15646
15658
|
this.allowedElements = allowedElements;
|
|
15647
15659
|
this.elementPolicies = elementPolicies;
|
|
@@ -15665,13 +15677,14 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tabl
|
|
|
15665
15677
|
return attributeName.indexOf(prefix) === 0;
|
|
15666
15678
|
}) ? {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};
|
|
15667
15679
|
};
|
|
15668
|
-
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};
|
|
15680
|
+
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};
|
|
15669
15681
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP] = "DROP";
|
|
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] = "KEEP";
|
|
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_URL] = "KEEP_AND_SANITIZE_URL";
|
|
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_NORMALIZE] = "KEEP_AND_NORMALIZE";
|
|
15673
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_SANITIZE_STYLE] = "KEEP_AND_SANITIZE_STYLE";
|
|
15674
15686
|
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";
|
|
15687
|
+
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";
|
|
15675
15688
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicy = function() {
|
|
15676
15689
|
};
|
|
15677
15690
|
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(" "));
|
|
@@ -15682,9 +15695,9 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tabl
|
|
|
15682
15695
|
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"},
|
|
15683
15696
|
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(" "),
|
|
15684
15697
|
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}]])],
|
|
15685
|
-
["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.
|
|
15686
|
-
["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.
|
|
15687
|
-
["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.
|
|
15698
|
+
["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}],
|
|
15699
|
+
["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}]])],
|
|
15700
|
+
["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 =
|
|
15688
15701
|
"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(" "),
|
|
15689
15702
|
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() {
|
|
15690
15703
|
return new Map([["dir", new Set(["auto", "ltr", "rtl"])]]);
|
|
@@ -15695,15 +15708,22 @@ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanit
|
|
|
15695
15708
|
})}], ["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() {
|
|
15696
15709
|
return new Map([["target", new Set(["_self", "_blank"])]]);
|
|
15697
15710
|
})}]];
|
|
15698
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15711
|
+
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),
|
|
15699
15712
|
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));
|
|
15700
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15713
|
+
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() {
|
|
15714
|
+
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat(["STYLE"]);
|
|
15715
|
+
})), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES), new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15716
|
+
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["id", "name", "class"]);
|
|
15717
|
+
})), new Map(module$contents$safevalues$internals$pure_pure(function() {
|
|
15718
|
+
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}]]);
|
|
15719
|
+
})));
|
|
15720
|
+
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),
|
|
15701
15721
|
new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15702
15722
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "name"]);
|
|
15703
15723
|
})), new Map(module$contents$safevalues$internals$pure_pure(function() {
|
|
15704
15724
|
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}]]);
|
|
15705
15725
|
})));
|
|
15706
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15726
|
+
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() {
|
|
15707
15727
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat("STYLE TITLE INPUT TEXTAREA BUTTON LABEL".split(" "));
|
|
15708
15728
|
})), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES), new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15709
15729
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "tabindex", "contenteditable", "name"]);
|
|
@@ -15738,8 +15758,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15738
15758
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
15739
15759
|
};
|
|
15740
15760
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15741
|
-
for (var $jscomp$this$
|
|
15742
|
-
return $jscomp$this$
|
|
15761
|
+
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) {
|
|
15762
|
+
return $jscomp$this$m1803429925$10.nodeFilter(n);
|
|
15743
15763
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
15744
15764
|
var sanitizedNode = void 0;
|
|
15745
15765
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15774,8 +15794,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15774
15794
|
return this.createTextNode(textNode.data);
|
|
15775
15795
|
};
|
|
15776
15796
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15777
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$
|
|
15778
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
15797
|
+
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()) {
|
|
15798
|
+
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);
|
|
15779
15799
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15780
15800
|
switch(policy.policyAction) {
|
|
15781
15801
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15799,12 +15819,24 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15799
15819
|
break;
|
|
15800
15820
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY:
|
|
15801
15821
|
if (this.resourceUrlPolicy) {
|
|
15802
|
-
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$
|
|
15822
|
+
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);
|
|
15803
15823
|
sanitizedUrl && module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, sanitizedUrl.toString());
|
|
15804
15824
|
} else {
|
|
15805
15825
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
15806
15826
|
}
|
|
15807
15827
|
break;
|
|
15828
|
+
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
15829
|
+
if (this.resourceUrlPolicy) {
|
|
15830
|
+
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 =
|
|
15831
|
+
$jscomp$iter$31.next()) {
|
|
15832
|
+
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);
|
|
15833
|
+
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
15834
|
+
}
|
|
15835
|
+
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
15836
|
+
} else {
|
|
15837
|
+
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
15838
|
+
}
|
|
15839
|
+
break;
|
|
15808
15840
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP:
|
|
15809
15841
|
this.recordChange("Attribute: " + name + " was dropped");
|
|
15810
15842
|
break;
|
|
@@ -15841,26 +15873,38 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15841
15873
|
if (!conditions) {
|
|
15842
15874
|
return !0;
|
|
15843
15875
|
}
|
|
15844
|
-
for (var $jscomp$iter$
|
|
15845
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
15876
|
+
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()) {
|
|
15877
|
+
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;
|
|
15846
15878
|
if (value && !expectedValues.has(value)) {
|
|
15847
15879
|
return !1;
|
|
15848
15880
|
}
|
|
15849
15881
|
}
|
|
15850
15882
|
return !0;
|
|
15851
15883
|
};
|
|
15852
|
-
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseUrl(value) {
|
|
15853
|
-
try {
|
|
15854
|
-
return new URL(value, window.document.baseURI);
|
|
15855
|
-
} catch (e) {
|
|
15856
|
-
return new URL("about:invalid");
|
|
15857
|
-
}
|
|
15858
|
-
}
|
|
15859
15884
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(el, name, value) {
|
|
15860
15885
|
el.setAttribute(name, value);
|
|
15861
15886
|
}
|
|
15887
|
+
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_SrcsetPart() {
|
|
15888
|
+
}
|
|
15889
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
15890
|
+
};
|
|
15891
|
+
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
15892
|
+
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()) {
|
|
15893
|
+
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;
|
|
15894
|
+
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
15895
|
+
}
|
|
15896
|
+
return {parts:parts};
|
|
15897
|
+
}
|
|
15898
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.parseSrcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset;
|
|
15899
|
+
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(srcset) {
|
|
15900
|
+
return srcset.parts.map(function(part) {
|
|
15901
|
+
var descriptor = part.descriptor;
|
|
15902
|
+
return "" + part.url + (descriptor ? " " + descriptor : "");
|
|
15903
|
+
}).join(" , ");
|
|
15904
|
+
}
|
|
15905
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.serializeSrcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset;
|
|
15862
15906
|
var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
|
|
15863
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15907
|
+
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);
|
|
15864
15908
|
});
|
|
15865
15909
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml(html) {
|
|
15866
15910
|
return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_defaultHtmlSanitizer.sanitize(html);
|
|
@@ -15875,7 +15919,7 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanit
|
|
|
15875
15919
|
}
|
|
15876
15920
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
15877
15921
|
var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
|
|
15878
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15922
|
+
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);
|
|
15879
15923
|
});
|
|
15880
15924
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.lenientlySanitizeHtml = function(html) {
|
|
15881
15925
|
return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientHtmlSanitizer.sanitize(html);
|
|
@@ -15885,7 +15929,7 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenie
|
|
|
15885
15929
|
}
|
|
15886
15930
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.lenientlySanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged;
|
|
15887
15931
|
var module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientHtmlSanitizer = module$contents$safevalues$internals$pure_pure(function() {
|
|
15888
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15932
|
+
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);
|
|
15889
15933
|
});
|
|
15890
15934
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.superLenientlySanitizeHtml = function(html) {
|
|
15891
15935
|
return module$contents$safevalues$builders$html_sanitizer$html_sanitizer_superLenientHtmlSanitizer.sanitize(html);
|
|
@@ -15900,11 +15944,11 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_check
|
|
|
15900
15944
|
;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"};
|
|
15901
15945
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder = function() {
|
|
15902
15946
|
this.calledBuild = !1;
|
|
15903
|
-
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.
|
|
15947
|
+
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
15904
15948
|
};
|
|
15905
15949
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
15906
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$
|
|
15907
|
-
var element = $jscomp$key$
|
|
15950
|
+
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()) {
|
|
15951
|
+
var element = $jscomp$key$m1412690177$0$element.value;
|
|
15908
15952
|
element = element.toUpperCase();
|
|
15909
15953
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15910
15954
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15922,8 +15966,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15922
15966
|
throw Error("Element: " + element + " is not a custom element");
|
|
15923
15967
|
}
|
|
15924
15968
|
if (allowedAttributes) {
|
|
15925
|
-
for (var elementPolicy = new Map(), $jscomp$iter$
|
|
15926
|
-
elementPolicy.set($jscomp$key$
|
|
15969
|
+
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()) {
|
|
15970
|
+
elementPolicy.set($jscomp$key$m1412690177$1$attribute.value, {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
15927
15971
|
}
|
|
15928
15972
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15929
15973
|
} else {
|
|
@@ -15933,15 +15977,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15933
15977
|
return this;
|
|
15934
15978
|
};
|
|
15935
15979
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
15936
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$
|
|
15937
|
-
var attribute = $jscomp$key$
|
|
15980
|
+
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()) {
|
|
15981
|
+
var attribute = $jscomp$key$m1412690177$2$attribute.value;
|
|
15938
15982
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15939
15983
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15940
15984
|
}
|
|
15941
|
-
for (var $jscomp$iter$
|
|
15942
|
-
for (var $jscomp$destructuring$
|
|
15943
|
-
$jscomp$iter$
|
|
15944
|
-
var $jscomp$destructuring$
|
|
15985
|
+
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()) {
|
|
15986
|
+
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$ =
|
|
15987
|
+
$jscomp$iter$38.next()) {
|
|
15988
|
+
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;
|
|
15945
15989
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15946
15990
|
}
|
|
15947
15991
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -15950,8 +15994,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15950
15994
|
return this;
|
|
15951
15995
|
};
|
|
15952
15996
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
15953
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$
|
|
15954
|
-
var attribute = $jscomp$key$
|
|
15997
|
+
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()) {
|
|
15998
|
+
var attribute = $jscomp$key$m1412690177$5$attribute.value;
|
|
15955
15999
|
if (attribute.indexOf("data-") !== 0) {
|
|
15956
16000
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
15957
16001
|
}
|
|
@@ -15984,12 +16028,16 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15984
16028
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
15985
16029
|
return this;
|
|
15986
16030
|
};
|
|
16031
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.withResourceUrlPolicy = function(resourceUrlPolicy) {
|
|
16032
|
+
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16033
|
+
return this;
|
|
16034
|
+
};
|
|
15987
16035
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.build = function() {
|
|
15988
16036
|
if (this.calledBuild) {
|
|
15989
16037
|
throw Error("this sanitizer has already called build");
|
|
15990
16038
|
}
|
|
15991
16039
|
this.calledBuild = !0;
|
|
15992
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken);
|
|
16040
|
+
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);
|
|
15993
16041
|
};
|
|
15994
16042
|
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;
|
|
15995
16043
|
function module$contents$safevalues$builders$resource_url_builders_hasValidOrigin(base) {
|
|
@@ -16202,12 +16250,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16202
16250
|
}
|
|
16203
16251
|
try {
|
|
16204
16252
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16205
|
-
} catch ($jscomp$unused$catch$
|
|
16253
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
16206
16254
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16207
16255
|
}
|
|
16208
16256
|
try {
|
|
16209
16257
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16210
|
-
} catch ($jscomp$unused$catch$
|
|
16258
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
16211
16259
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16212
16260
|
}
|
|
16213
16261
|
return !1;
|
|
@@ -18767,7 +18815,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
18767
18815
|
headers.set(key, opt_headers[key]);
|
|
18768
18816
|
}
|
|
18769
18817
|
} else if (typeof opt_headers.keys === "function" && typeof opt_headers.get === "function") {
|
|
18770
|
-
for (var $jscomp$iter$
|
|
18818
|
+
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()) {
|
|
18771
18819
|
var key$jscomp$0 = $jscomp$key$m71669834$54$key.value;
|
|
18772
18820
|
headers.set(key$jscomp$0, opt_headers.get(key$jscomp$0));
|
|
18773
18821
|
}
|
|
@@ -18779,8 +18827,8 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
18779
18827
|
return goog.string.caseInsensitiveEquals(goog.net.XhrIo.CONTENT_TYPE_HEADER, header);
|
|
18780
18828
|
}), contentIsFormData = goog.global.FormData && content instanceof goog.global.FormData;
|
|
18781
18829
|
!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);
|
|
18782
|
-
for (var $jscomp$iter$
|
|
18783
|
-
var $jscomp$destructuring$
|
|
18830
|
+
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()) {
|
|
18831
|
+
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;
|
|
18784
18832
|
this.xhr_.setRequestHeader(key$jscomp$1, value);
|
|
18785
18833
|
}
|
|
18786
18834
|
this.responseType_ && (this.xhr_.responseType = this.responseType_);
|
|
@@ -19092,7 +19140,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19092
19140
|
ee.apiclient = {};
|
|
19093
19141
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19094
19142
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19095
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19143
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.412";
|
|
19096
19144
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19097
19145
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19098
19146
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19224,21 +19272,21 @@ module$contents$ee$apiclient_BatchCall.prototype.withDetectPartialError = functi
|
|
|
19224
19272
|
return this;
|
|
19225
19273
|
};
|
|
19226
19274
|
module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getResponse) {
|
|
19227
|
-
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$
|
|
19228
|
-
var $jscomp$destructuring$
|
|
19229
|
-
var id = $jscomp$destructuring$
|
|
19230
|
-
var $jscomp$destructuring$
|
|
19231
|
-
var partBody = $jscomp$destructuring$
|
|
19232
|
-
$jscomp$destructuring$
|
|
19275
|
+
var $jscomp$this$m1153655765$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var42) {
|
|
19276
|
+
var $jscomp$destructuring$var43 = (0,$jscomp.makeIterator)($jscomp$destructuring$var42);
|
|
19277
|
+
var id = $jscomp$destructuring$var43.next().value;
|
|
19278
|
+
var $jscomp$destructuring$var44 = (0,$jscomp.makeIterator)($jscomp$destructuring$var43.next().value);
|
|
19279
|
+
var partBody = $jscomp$destructuring$var44.next().value;
|
|
19280
|
+
$jscomp$destructuring$var44.next();
|
|
19233
19281
|
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";
|
|
19234
19282
|
}).join("") + "--batch_EARTHENGINE_batch--\r\n", deserializeResponses = function(response) {
|
|
19235
19283
|
var result = {};
|
|
19236
|
-
parts.forEach(function($jscomp$destructuring$
|
|
19237
|
-
var $jscomp$destructuring$
|
|
19238
|
-
var id = $jscomp$destructuring$
|
|
19239
|
-
var $jscomp$destructuring$
|
|
19240
|
-
$jscomp$destructuring$
|
|
19241
|
-
var ctor = $jscomp$destructuring$
|
|
19284
|
+
parts.forEach(function($jscomp$destructuring$var45) {
|
|
19285
|
+
var $jscomp$destructuring$var46 = (0,$jscomp.makeIterator)($jscomp$destructuring$var45);
|
|
19286
|
+
var id = $jscomp$destructuring$var46.next().value;
|
|
19287
|
+
var $jscomp$destructuring$var47 = (0,$jscomp.makeIterator)($jscomp$destructuring$var46.next().value);
|
|
19288
|
+
$jscomp$destructuring$var47.next();
|
|
19289
|
+
var ctor = $jscomp$destructuring$var47.next().value;
|
|
19242
19290
|
response[id] != null && (result[id] = module$contents$eeapiclient$domain_object_deserialize(ctor, response[id]));
|
|
19243
19291
|
});
|
|
19244
19292
|
return getResponse ? getResponse(result) : result;
|
|
@@ -19261,7 +19309,7 @@ module$contents$ee$apiclient_BatchRequestService.prototype.send = function(param
|
|
|
19261
19309
|
module$contents$ee$apiclient_BatchRequestService.prototype.makeRequest = function(params) {
|
|
19262
19310
|
};
|
|
19263
19311
|
module$contents$ee$apiclient_apiclient.parseBatchReply = function(contentType, responseText, handle) {
|
|
19264
|
-
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$
|
|
19312
|
+
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()) {
|
|
19265
19313
|
var groups = $jscomp$key$m1153655765$100$part.value.split("\r\n\r\n");
|
|
19266
19314
|
if (!(groups.length < 3)) {
|
|
19267
19315
|
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");
|
|
@@ -19390,8 +19438,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19390
19438
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19391
19439
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19392
19440
|
method = method || "POST";
|
|
19393
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19394
|
-
version === "0.1.
|
|
19441
|
+
var headers = {"Content-Type":contentType}, version = "0.1.412";
|
|
19442
|
+
version === "0.1.412" && (version = "latest");
|
|
19395
19443
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19396
19444
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19397
19445
|
if (authToken != null) {
|
|
@@ -19524,8 +19572,8 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
19524
19572
|
}
|
|
19525
19573
|
};
|
|
19526
19574
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
19527
|
-
for (var request = new goog.Uri.QueryData(), $jscomp$iter$
|
|
19528
|
-
var $jscomp$destructuring$
|
|
19575
|
+
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()) {
|
|
19576
|
+
var $jscomp$destructuring$var49 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$101$.value), name = $jscomp$destructuring$var49.next().value, item = $jscomp$destructuring$var49.next().value;
|
|
19529
19577
|
request.set(name, item);
|
|
19530
19578
|
}
|
|
19531
19579
|
return request;
|
|
@@ -19879,7 +19927,7 @@ ee.rpc_convert.algorithms = function(result) {
|
|
|
19879
19927
|
algorithm.deprecated && (internalAlgorithm.deprecated = algorithm.deprecationReason);
|
|
19880
19928
|
algorithm.sourceCodeUri && (internalAlgorithm.sourceCodeUri = algorithm.sourceCodeUri);
|
|
19881
19929
|
return internalAlgorithm;
|
|
19882
|
-
}, internalAlgorithms = {}, $jscomp$iter$
|
|
19930
|
+
}, 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()) {
|
|
19883
19931
|
var algorithm = $jscomp$key$m29782521$48$algorithm.value, name = algorithm.name.replace(/^algorithms\//, "");
|
|
19884
19932
|
internalAlgorithms[name] = convertAlgorithm(algorithm);
|
|
19885
19933
|
}
|
|
@@ -20004,10 +20052,10 @@ ee.rpc_convert.legacyPropertiesToAssetUpdate = function(legacyProperties) {
|
|
|
20004
20052
|
typeof value !== "string" && value !== null || properties.title != null || (properties.title = asNull(value) || value);
|
|
20005
20053
|
extractValue("system:description");
|
|
20006
20054
|
typeof value !== "string" && value !== null || properties.description != null || (properties.description = asNull(value) || value);
|
|
20007
|
-
Object.entries(properties).forEach(function($jscomp$destructuring$
|
|
20008
|
-
var $jscomp$destructuring$
|
|
20009
|
-
var key = $jscomp$destructuring$
|
|
20010
|
-
var value = $jscomp$destructuring$
|
|
20055
|
+
Object.entries(properties).forEach(function($jscomp$destructuring$var50) {
|
|
20056
|
+
var $jscomp$destructuring$var51 = (0,$jscomp.makeIterator)($jscomp$destructuring$var50);
|
|
20057
|
+
var key = $jscomp$destructuring$var51.next().value;
|
|
20058
|
+
var value = $jscomp$destructuring$var51.next().value;
|
|
20011
20059
|
properties[key] = asNull(value) || value;
|
|
20012
20060
|
});
|
|
20013
20061
|
asset.properties = properties;
|
|
@@ -20029,9 +20077,9 @@ ee.rpc_convert.getListToListAssets = function(param) {
|
|
|
20029
20077
|
param.bbox && (assetsRequest.region = ee.rpc_convert.boundingBoxToGeoJson(param.bbox));
|
|
20030
20078
|
param.region && (assetsRequest.region = param.region);
|
|
20031
20079
|
param.bbox && param.region && console.warn("Multiple request parameters converted to region");
|
|
20032
|
-
for (var allKeys = "id num starttime endtime bbox region".split(" "), $jscomp$iter$
|
|
20080
|
+
for (var allKeys = "id num starttime endtime bbox region".split(" "), $jscomp$iter$46 = (0,$jscomp.makeIterator)(Object.keys(param).filter(function(k) {
|
|
20033
20081
|
return !allKeys.includes(k);
|
|
20034
|
-
})), $jscomp$key$m29782521$49$key = $jscomp$iter$
|
|
20082
|
+
})), $jscomp$key$m29782521$49$key = $jscomp$iter$46.next(); !$jscomp$key$m29782521$49$key.done; $jscomp$key$m29782521$49$key = $jscomp$iter$46.next()) {
|
|
20035
20083
|
console.warn("Unrecognized key " + $jscomp$key$m29782521$49$key.value + " ignored");
|
|
20036
20084
|
}
|
|
20037
20085
|
return ee.rpc_convert.processListImagesParams(assetsRequest);
|
|
@@ -20255,7 +20303,7 @@ ee.rpc_convert.parseFilterParamsFromListImages_ = function(params) {
|
|
|
20255
20303
|
})) {
|
|
20256
20304
|
throw Error('Filter parameter "properties" must be an array of strings');
|
|
20257
20305
|
}
|
|
20258
|
-
for (var $jscomp$iter$
|
|
20306
|
+
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()) {
|
|
20259
20307
|
queryStrings.push($jscomp$key$m29782521$50$propertyQuery.value.trim().replace(/^(properties\.)?/, "properties."));
|
|
20260
20308
|
}
|
|
20261
20309
|
delete params.properties;
|
|
@@ -20592,8 +20640,8 @@ ee.Serializer.encodeCloudApiPretty = function(obj) {
|
|
|
20592
20640
|
if (!goog.isObject(object)) {
|
|
20593
20641
|
return object;
|
|
20594
20642
|
}
|
|
20595
|
-
for (var ret = Array.isArray(object) ? [] : {}, isNode = object instanceof Object.getPrototypeOf(module$exports$eeapiclient$ee_api_client.ValueNode), $jscomp$iter$
|
|
20596
|
-
var $jscomp$destructuring$
|
|
20643
|
+
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()) {
|
|
20644
|
+
var $jscomp$destructuring$var53 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$28$.value), key = $jscomp$destructuring$var53.next().value, val = $jscomp$destructuring$var53.next().value;
|
|
20597
20645
|
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 ?
|
|
20598
20646
|
null : val : walkObject(val)) : ret[key] = walkObject(val);
|
|
20599
20647
|
}
|
|
@@ -20716,8 +20764,8 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20716
20764
|
return storeInSourceMap(value, optimized$jscomp$1);
|
|
20717
20765
|
}
|
|
20718
20766
|
if (value.dictionaryValue != null) {
|
|
20719
|
-
for (var values = {}, constantValues = {}, $jscomp$iter$
|
|
20720
|
-
var $jscomp$destructuring$
|
|
20767
|
+
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()) {
|
|
20768
|
+
var $jscomp$destructuring$var55 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$29$.value), k = $jscomp$destructuring$var55.next().value, v = $jscomp$destructuring$var55.next().value;
|
|
20721
20769
|
values[k] = this.optimizeValue(v, depth + 3);
|
|
20722
20770
|
constantValues !== null && isConst(values[k]) ? constantValues[k] = serializeConst(values[k].constantValue) : constantValues = null;
|
|
20723
20771
|
}
|
|
@@ -20728,7 +20776,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20728
20776
|
return storeInSourceMap(value, optimized$jscomp$2);
|
|
20729
20777
|
}
|
|
20730
20778
|
if (value.functionInvocationValue != null) {
|
|
20731
|
-
for (var inv = value.functionInvocationValue, args = {}, $jscomp$iter$
|
|
20779
|
+
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()) {
|
|
20732
20780
|
var k$jscomp$0 = $jscomp$key$m759255156$30$k.value;
|
|
20733
20781
|
args[k$jscomp$0] = this.optimizeValue(inv.arguments[k$jscomp$0], depth + 3);
|
|
20734
20782
|
}
|
|
@@ -21004,9 +21052,9 @@ ee.rpc_convert_batch.buildRankByOneThingRule_ = function(ruleString) {
|
|
|
21004
21052
|
if (matches == null) {
|
|
21005
21053
|
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.");
|
|
21006
21054
|
}
|
|
21007
|
-
var $jscomp$destructuring$
|
|
21008
|
-
$jscomp$destructuring$
|
|
21009
|
-
var ruleType = $jscomp$destructuring$
|
|
21055
|
+
var $jscomp$destructuring$var56 = (0,$jscomp.makeIterator)(matches);
|
|
21056
|
+
$jscomp$destructuring$var56.next();
|
|
21057
|
+
var ruleType = $jscomp$destructuring$var56.next().value, direction = $jscomp$destructuring$var56.next().value;
|
|
21010
21058
|
switch(direction.toUpperCase()) {
|
|
21011
21059
|
case "ASC":
|
|
21012
21060
|
rankByOneThingRule.direction = "ASCENDING";
|
|
@@ -21267,8 +21315,8 @@ ee.data.getDownloadId = function(params, opt_callback) {
|
|
|
21267
21315
|
}) && (params.bands = params.bands.map(function(band) {
|
|
21268
21316
|
return {id:band};
|
|
21269
21317
|
}));
|
|
21270
|
-
if (params.bands && params.bands.some(function($jscomp$destructuring$
|
|
21271
|
-
return $jscomp$destructuring$
|
|
21318
|
+
if (params.bands && params.bands.some(function($jscomp$destructuring$var57) {
|
|
21319
|
+
return $jscomp$destructuring$var57.id == null;
|
|
21272
21320
|
})) {
|
|
21273
21321
|
throw Error("Each band dictionary must have an id.");
|
|
21274
21322
|
}
|
|
@@ -21626,7 +21674,7 @@ ee.data.createAsset = function(value, opt_path, opt_force, opt_properties, opt_c
|
|
|
21626
21674
|
value.gcsLocation && !value.cloudStorageLocation && (value.cloudStorageLocation = value.gcsLocation, delete value.gcsLocation);
|
|
21627
21675
|
value.cloudStorageLocation && (value.cloudStorageLocation = new module$exports$eeapiclient$ee_api_client.CloudStorageLocation(value.cloudStorageLocation));
|
|
21628
21676
|
opt_properties && !value.properties && (value.properties = Object.assign({}, opt_properties));
|
|
21629
|
-
for (var $jscomp$iter$
|
|
21677
|
+
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()) {
|
|
21630
21678
|
var prop = $jscomp$key$m1075644492$123$prop.value;
|
|
21631
21679
|
if (value[prop]) {
|
|
21632
21680
|
var $jscomp$compprop17 = {};
|
|
@@ -23899,8 +23947,8 @@ module$contents$ee$batch_Export.prefixImageFormatOptions_ = function(taskConfig,
|
|
|
23899
23947
|
})) {
|
|
23900
23948
|
throw Error("Parameter specified at least twice: once in config, and once in config format options.");
|
|
23901
23949
|
}
|
|
23902
|
-
for (var prefix = module$contents$ee$batch_FORMAT_PREFIX_MAP[imageFormat], validOptionKeys = module$contents$ee$batch_FORMAT_OPTIONS_MAP[imageFormat], prefixedOptions = {}, $jscomp$iter$
|
|
23903
|
-
var $jscomp$destructuring$
|
|
23950
|
+
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()) {
|
|
23951
|
+
var $jscomp$destructuring$var60 = (0,$jscomp.makeIterator)($jscomp$key$1827622838$35$.value), key = $jscomp$destructuring$var60.next().value, value = $jscomp$destructuring$var60.next().value;
|
|
23904
23952
|
if (!module$contents$goog$array_contains(validOptionKeys, key)) {
|
|
23905
23953
|
var validKeysMsg = validOptionKeys.join(", ");
|
|
23906
23954
|
throw Error('"' + key + '" is not a valid option, the image format "' + imageFormat + '""may have the following options: ' + (validKeysMsg + '".'));
|
|
@@ -26415,11 +26463,10 @@ goog.structs.PriorityPool.prototype.disposeInternal = function() {
|
|
|
26415
26463
|
this.requestQueue_.clear();
|
|
26416
26464
|
this.requestQueue_ = null;
|
|
26417
26465
|
};
|
|
26418
|
-
var module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource = function(mapId, opt_profiler
|
|
26466
|
+
var module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource = function(mapId, opt_profiler) {
|
|
26419
26467
|
module$exports$ee$layers$AbstractTileSource.call(this);
|
|
26420
26468
|
this.mapId_ = mapId;
|
|
26421
26469
|
this.profiler_ = opt_profiler || null;
|
|
26422
|
-
this.token_count_ = opt_parallelism || module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.DEFAULT_TOKEN_COUNT_;
|
|
26423
26470
|
};
|
|
26424
26471
|
$jscomp.inherits(module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource, module$exports$ee$layers$AbstractTileSource);
|
|
26425
26472
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.loadTile = function(tile, opt_priority) {
|
|
@@ -26442,6 +26489,9 @@ module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.
|
|
|
26442
26489
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.getUniqueId = function() {
|
|
26443
26490
|
return this.mapId_.mapid + "-" + this.mapId_.token;
|
|
26444
26491
|
};
|
|
26492
|
+
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.setGlobalParallelism = function(parallelism) {
|
|
26493
|
+
this.getGlobalTokenPool_().setMaximumCount(parallelism);
|
|
26494
|
+
};
|
|
26445
26495
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.handleAvailableToken_ = function(tile, token) {
|
|
26446
26496
|
var tokenPool = this.getGlobalTokenPool_();
|
|
26447
26497
|
if (tile.isDisposed() || tile.getStatus() == ee.layers.AbstractTile.Status.ABORTED) {
|
|
@@ -26458,7 +26508,7 @@ module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.
|
|
|
26458
26508
|
return this.profiler_ && this.profiler_.isEnabled() ? url + "&profiling=1" : url;
|
|
26459
26509
|
};
|
|
26460
26510
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.getGlobalTokenPool_ = function() {
|
|
26461
|
-
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ || (module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ = new goog.structs.PriorityPool(0,
|
|
26511
|
+
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_));
|
|
26462
26512
|
return module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_;
|
|
26463
26513
|
};
|
|
26464
26514
|
goog.exportSymbol("ee.layers.EarthEngineTileSource", module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource);
|
|
@@ -26918,29 +26968,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26918
26968
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26919
26969
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26920
26970
|
(function() {
|
|
26921
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
26922
|
-
orderedParamLists = [["name"
|
|
26923
|
-
"image opt_description
|
|
26924
|
-
"collection opt_description
|
|
26925
|
-
|
|
26926
|
-
["
|
|
26927
|
-
|
|
26928
|
-
["
|
|
26929
|
-
|
|
26930
|
-
["
|
|
26931
|
-
"opt_callback"], ["
|
|
26932
|
-
"
|
|
26933
|
-
|
|
26934
|
-
|
|
26935
|
-
[ee.ApiFunction.
|
|
26936
|
-
module$contents$ee$batch_Export.
|
|
26937
|
-
ee.ComputedObject.prototype.
|
|
26938
|
-
ee.data.
|
|
26939
|
-
ee.data.
|
|
26940
|
-
ee.
|
|
26941
|
-
ee.Filter.lte, ee.Filter
|
|
26942
|
-
ee.Image.prototype.
|
|
26943
|
-
ee.ImageCollection
|
|
26971
|
+
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(" "),
|
|
26972
|
+
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(" "),
|
|
26973
|
+
"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(" "),
|
|
26974
|
+
"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(" "),
|
|
26975
|
+
"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"],
|
|
26976
|
+
["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",
|
|
26977
|
+
"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"],
|
|
26978
|
+
["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",
|
|
26979
|
+
"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"],
|
|
26980
|
+
["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",
|
|
26981
|
+
"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",
|
|
26982
|
+
"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",
|
|
26983
|
+
"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"],
|
|
26984
|
+
["number"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
26985
|
+
[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,
|
|
26986
|
+
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,
|
|
26987
|
+
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,
|
|
26988
|
+
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,
|
|
26989
|
+
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,
|
|
26990
|
+
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,
|
|
26991
|
+
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,
|
|
26992
|
+
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,
|
|
26993
|
+
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) {
|
|
26944
26994
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
26945
26995
|
});
|
|
26946
26996
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|