@google/earthengine 1.1.4 → 1.2.0
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 +151 -165
- package/build/ee_api_js.js +528 -528
- package/build/ee_api_js_debug.js +129 -143
- package/build/ee_api_js_npm.js +151 -165
- package/build/main.js +151 -165
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/main.js
CHANGED
|
@@ -1255,8 +1255,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1255
1255
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1256
1256
|
};
|
|
1257
1257
|
}, "es8", "es3");
|
|
1258
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1,
|
|
1259
|
-
|
|
1258
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_on_init_within_reaction_throws_error__enable:!1, GoogFlags__jspb_ignore_implicit_extension_deps__disable:!1, GoogFlags__jspb_readonly_repeated_fields__disable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1,
|
|
1259
|
+
GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1260
1260
|
/*
|
|
1261
1261
|
|
|
1262
1262
|
Copyright The Closure Library Authors.
|
|
@@ -2154,9 +2154,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2154
2154
|
};
|
|
2155
2155
|
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;
|
|
2156
2156
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2157
|
-
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$
|
|
2158
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2159
|
-
var key = $jscomp$key$
|
|
2157
|
+
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 =
|
|
2158
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2159
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2160
2160
|
if (value != null) {
|
|
2161
2161
|
var copy = void 0;
|
|
2162
2162
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2167,11 +2167,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2167
2167
|
} else if (objects.hasOwnProperty(key)) {
|
|
2168
2168
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2169
2169
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2170
|
-
$jscomp$loop$
|
|
2170
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2171
2171
|
return function(v) {
|
|
2172
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2172
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2173
2173
|
};
|
|
2174
|
-
}($jscomp$loop$
|
|
2174
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2175
2175
|
} else if (Array.isArray(value)) {
|
|
2176
2176
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2177
2177
|
continue;
|
|
@@ -2186,8 +2186,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2186
2186
|
return target;
|
|
2187
2187
|
}
|
|
2188
2188
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2189
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2190
|
-
var mapKey = $jscomp$key$
|
|
2189
|
+
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()) {
|
|
2190
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2191
2191
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2192
2192
|
}
|
|
2193
2193
|
return objMap;
|
|
@@ -2217,39 +2217,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2217
2217
|
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))) {
|
|
2218
2218
|
return !1;
|
|
2219
2219
|
}
|
|
2220
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2221
|
-
var key = $jscomp$key$
|
|
2220
|
+
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()) {
|
|
2221
|
+
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);
|
|
2222
2222
|
if (has1 !== has2) {
|
|
2223
2223
|
return !1;
|
|
2224
2224
|
}
|
|
2225
2225
|
if (has1) {
|
|
2226
2226
|
var value1 = serializable1.Serializable$get(key);
|
|
2227
|
-
$jscomp$loop$
|
|
2227
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2228
2228
|
if (arrays1.hasOwnProperty(key)) {
|
|
2229
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2229
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2230
2230
|
return !1;
|
|
2231
2231
|
}
|
|
2232
2232
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2233
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2233
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2234
2234
|
return !1;
|
|
2235
2235
|
}
|
|
2236
2236
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2237
|
-
if ($jscomp$loop$
|
|
2238
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2237
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2238
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2239
2239
|
return function(v1, i) {
|
|
2240
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2240
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2241
2241
|
};
|
|
2242
|
-
}($jscomp$loop$
|
|
2242
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2243
2243
|
return !1;
|
|
2244
2244
|
}
|
|
2245
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2245
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2246
2246
|
return !1;
|
|
2247
2247
|
}
|
|
2248
2248
|
} else if (Array.isArray(value1)) {
|
|
2249
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2249
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2250
2250
|
return !1;
|
|
2251
2251
|
}
|
|
2252
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2252
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2253
2253
|
return !1;
|
|
2254
2254
|
}
|
|
2255
2255
|
}
|
|
@@ -2271,8 +2271,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2271
2271
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2272
2272
|
return !1;
|
|
2273
2273
|
}
|
|
2274
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2275
|
-
var mapKey = $jscomp$key$
|
|
2274
|
+
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()) {
|
|
2275
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2276
2276
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2277
2277
|
return !1;
|
|
2278
2278
|
}
|
|
@@ -2353,15 +2353,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2353
2353
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2354
2354
|
};
|
|
2355
2355
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2356
|
-
var $jscomp$this$
|
|
2356
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2357
2357
|
payload += this._metadataPayload;
|
|
2358
2358
|
return Promise.all(this.files.map(function(f) {
|
|
2359
|
-
return $jscomp$this$
|
|
2359
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2360
2360
|
})).then(function(filePayloads) {
|
|
2361
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2362
|
-
payload += $jscomp$key$
|
|
2361
|
+
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()) {
|
|
2362
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2363
2363
|
}
|
|
2364
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2364
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2365
2365
|
});
|
|
2366
2366
|
};
|
|
2367
2367
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2866,8 +2866,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2866
2866
|
throw Error(message);
|
|
2867
2867
|
}
|
|
2868
2868
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2869
|
-
var $jscomp$templatelit$
|
|
2870
|
-
["\\0"]), $jscomp$templatelit$
|
|
2869
|
+
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"],
|
|
2870
|
+
["\\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"};
|
|
2871
2871
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2872
2872
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2873
2873
|
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 ##############################");
|
|
@@ -2881,14 +2881,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2881
2881
|
return fn.toString().indexOf("`") === -1;
|
|
2882
2882
|
}
|
|
2883
2883
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2884
|
-
return tag($jscomp$templatelit$
|
|
2884
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
2885
2885
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2886
|
-
return tag($jscomp$templatelit$
|
|
2886
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
2887
2887
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2888
|
-
return tag($jscomp$templatelit$
|
|
2888
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
2889
2889
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2890
|
-
return tag($jscomp$templatelit$
|
|
2891
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2890
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
2891
|
+
}), 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);
|
|
2892
2892
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2893
2893
|
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)) ?
|
|
2894
2894
|
!0 : !1;
|
|
@@ -3290,9 +3290,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3290
3290
|
}
|
|
3291
3291
|
}
|
|
3292
3292
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
3293
|
-
var $jscomp$tmp$error$
|
|
3294
|
-
this.message = $jscomp$tmp$error$
|
|
3295
|
-
"stack" in $jscomp$tmp$error$
|
|
3293
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
3294
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
3295
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
3296
3296
|
this.type = type;
|
|
3297
3297
|
this.intent = intent;
|
|
3298
3298
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -3400,7 +3400,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(documentOr
|
|
|
3400
3400
|
};
|
|
3401
3401
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, documentOrWindow) {
|
|
3402
3402
|
documentOrWindow = documentOrWindow === void 0 ? document : documentOrWindow;
|
|
3403
|
-
var $jscomp$optchain$
|
|
3403
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = "document" in documentOrWindow ? documentOrWindow.document : documentOrWindow).querySelector) == null ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
3404
3404
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3405
3405
|
}
|
|
3406
3406
|
;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"};
|
|
@@ -4682,9 +4682,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
4682
4682
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
4683
4683
|
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"};
|
|
4684
4684
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4685
|
-
var $jscomp$tmp$error$
|
|
4686
|
-
this.message = $jscomp$tmp$error$
|
|
4687
|
-
"stack" in $jscomp$tmp$error$
|
|
4685
|
+
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.");
|
|
4686
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
4687
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
4688
4688
|
this.url = url;
|
|
4689
4689
|
this.typeName = typeName;
|
|
4690
4690
|
this.contentType = contentType;
|
|
@@ -4696,48 +4696,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4696
4696
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4697
4697
|
}
|
|
4698
4698
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4699
|
-
var response, $jscomp$optchain$
|
|
4700
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4701
|
-
if ($jscomp$generator$context$
|
|
4702
|
-
return $jscomp$generator$context$
|
|
4703
|
-
}
|
|
4704
|
-
response = $jscomp$generator$context$
|
|
4705
|
-
mimeType = ($jscomp$optchain$
|
|
4706
|
-
return $jscomp$generator$context$
|
|
4699
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
4700
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
4701
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
4702
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4703
|
+
}
|
|
4704
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
4705
|
+
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();
|
|
4706
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
4707
4707
|
var text;
|
|
4708
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4709
|
-
if ($jscomp$generator$context$
|
|
4708
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
4709
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
4710
4710
|
if (mimeType !== "text/html") {
|
|
4711
4711
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4712
4712
|
}
|
|
4713
|
-
return $jscomp$generator$context$
|
|
4713
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
4714
4714
|
}
|
|
4715
|
-
text = $jscomp$generator$context$
|
|
4716
|
-
return $jscomp$generator$context$
|
|
4715
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
4716
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4717
4717
|
});
|
|
4718
4718
|
}, script:function() {
|
|
4719
4719
|
var text;
|
|
4720
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4721
|
-
if ($jscomp$generator$context$
|
|
4720
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
4721
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
4722
4722
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4723
4723
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4724
4724
|
}
|
|
4725
|
-
return $jscomp$generator$context$
|
|
4725
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
4726
4726
|
}
|
|
4727
|
-
text = $jscomp$generator$context$
|
|
4728
|
-
return $jscomp$generator$context$
|
|
4727
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
4728
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4729
4729
|
});
|
|
4730
4730
|
}, styleSheet:function() {
|
|
4731
4731
|
var text;
|
|
4732
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4733
|
-
if ($jscomp$generator$context$
|
|
4732
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
4733
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
4734
4734
|
if (mimeType !== "text/css") {
|
|
4735
4735
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4736
4736
|
}
|
|
4737
|
-
return $jscomp$generator$context$
|
|
4737
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
4738
4738
|
}
|
|
4739
|
-
text = $jscomp$generator$context$
|
|
4740
|
-
return $jscomp$generator$context$
|
|
4739
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
4740
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4741
4741
|
});
|
|
4742
4742
|
}});
|
|
4743
4743
|
});
|
|
@@ -5110,7 +5110,7 @@ goog.string.unescapeEntitiesUsingDom_ = function(str, opt_document) {
|
|
|
5110
5110
|
var n = Number("0" + entity.slice(1));
|
|
5111
5111
|
isNaN(n) || (value = String.fromCharCode(n));
|
|
5112
5112
|
}
|
|
5113
|
-
value || (module$exports$safevalues$dom$
|
|
5113
|
+
value || (module$exports$safevalues$dom$index.setElementInnerHtml(div, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(s + " ", {justification:"Single HTML entity."})), value = div.firstChild.nodeValue.slice(0, -1));
|
|
5114
5114
|
return seen[s] = value;
|
|
5115
5115
|
});
|
|
5116
5116
|
};
|
|
@@ -6255,8 +6255,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6255
6255
|
}
|
|
6256
6256
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6257
6257
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6258
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6259
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6258
|
+
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()) {
|
|
6259
|
+
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;
|
|
6260
6260
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6261
6261
|
}
|
|
6262
6262
|
return urlQueryParams;
|
|
@@ -6267,8 +6267,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6267
6267
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6268
6268
|
if (params.headers) {
|
|
6269
6269
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6270
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6271
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6270
|
+
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()) {
|
|
6271
|
+
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;
|
|
6272
6272
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : key === "Content-Type" && module$contents$eeapiclient$request_params_simpleCorsAllowedContentTypes.includes(value) ? (safeHeaders[key] = value, hasSafeContentType = !0) : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6273
6273
|
}
|
|
6274
6274
|
}
|
|
@@ -6308,9 +6308,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6308
6308
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6309
6309
|
};
|
|
6310
6310
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6311
|
-
var $jscomp$this$
|
|
6311
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6312
6312
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6313
|
-
return $jscomp$this$
|
|
6313
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6314
6314
|
}));
|
|
6315
6315
|
};
|
|
6316
6316
|
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"};
|
|
@@ -6480,10 +6480,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_
|
|
|
6480
6480
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
6481
6481
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
6482
6482
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable = !1;
|
|
6483
|
-
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable = !1;
|
|
6484
6483
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_on_init_within_reaction_throws_error__enable = !1;
|
|
6485
|
-
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable = !1;
|
|
6486
|
-
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable = !1;
|
|
6487
6484
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6488
6485
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
|
|
6489
6486
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__disable = !1;
|
|
@@ -6496,11 +6493,7 @@ var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1,
|
|
|
6496
6493
|
goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable : goog.readFlagInternalDoNotUseOrElse(610401301, !1);
|
|
6497
6494
|
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
|
|
6498
6495
|
goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable : goog.readFlagInternalDoNotUseOrElse(188588736, !0);
|
|
6499
|
-
goog.flags.
|
|
6500
|
-
goog.flags.CLIENT_ONLY_WIZ_ON_INIT_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_on_init_within_reaction_throws_error__enable : goog.readFlagInternalDoNotUseOrElse(676937399, !1);
|
|
6501
|
-
goog.flags.CLIENT_ONLY_WIZ_ORDERED_REACTION_EXECUTION = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable : goog.readFlagInternalDoNotUseOrElse(1822726157, !0);
|
|
6502
|
-
goog.flags.CLIENT_ONLY_WIZ_SYNC_REACTION_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__disable : goog.readFlagInternalDoNotUseOrElse(661449076,
|
|
6503
|
-
!0);
|
|
6496
|
+
goog.flags.CLIENT_ONLY_WIZ_ON_INIT_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_on_init_within_reaction_throws_error__enable : goog.readFlagInternalDoNotUseOrElse(676937399, goog.DEBUG);
|
|
6504
6497
|
goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable : goog.readFlagInternalDoNotUseOrElse(651175828, goog.DEBUG);
|
|
6505
6498
|
goog.flags.JSPB_READONLY_REPEATED_FIELDS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable) : goog.readFlagInternalDoNotUseOrElse(653718497, module$contents$goog$flags_STAGING);
|
|
6506
6499
|
goog.flags.JSPB_IGNORE_IMPLICIT_EXTENSION_DEPS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__disable) : goog.readFlagInternalDoNotUseOrElse(660014094, module$contents$goog$flags_STAGING);
|
|
@@ -7465,7 +7458,6 @@ goog.events.LISTENER_MAP_PROP_ = "closure_lm_" + (Math.random() * 1E6 | 0);
|
|
|
7465
7458
|
goog.events.onString_ = "on";
|
|
7466
7459
|
goog.events.onStringMap_ = {};
|
|
7467
7460
|
goog.events.CaptureSimulationMode = {OFF_AND_FAIL:0, OFF_AND_SILENT:1, ON:2};
|
|
7468
|
-
goog.events.CAPTURE_SIMULATION_MODE = 2;
|
|
7469
7461
|
goog.events.listenerCountEstimate_ = 0;
|
|
7470
7462
|
goog.events.listen = function(src, type, listener, opt_options, opt_handler) {
|
|
7471
7463
|
if (opt_options && opt_options.once) {
|
|
@@ -14849,22 +14841,16 @@ goog.debug.asyncStackTag.getTestNameProvider = function() {
|
|
|
14849
14841
|
}
|
|
14850
14842
|
return module$contents$goog$debug$asyncStackTag_testNameProvider;
|
|
14851
14843
|
};
|
|
14852
|
-
var module$contents$goog$async$
|
|
14844
|
+
var module$contents$goog$async$run_schedule, module$contents$goog$async$run_workQueueScheduled = !1, module$contents$goog$async$run_workQueue = new module$contents$goog$async$WorkQueue_WorkQueue(), module$contents$goog$async$run_run = function(callback, context) {
|
|
14853
14845
|
callback = module$contents$goog$debug$asyncStackTag_wrap(callback, "goog.async.run");
|
|
14854
14846
|
module$contents$goog$async$run_schedule || module$contents$goog$async$run_initializeRunner();
|
|
14855
14847
|
module$contents$goog$async$run_workQueueScheduled || (module$contents$goog$async$run_schedule(), module$contents$goog$async$run_workQueueScheduled = !0);
|
|
14856
14848
|
module$contents$goog$async$run_workQueue.add(callback, context);
|
|
14857
14849
|
}, module$contents$goog$async$run_initializeRunner = function() {
|
|
14858
|
-
|
|
14859
|
-
|
|
14860
|
-
module$contents$goog$async$
|
|
14861
|
-
|
|
14862
|
-
};
|
|
14863
|
-
} else {
|
|
14864
|
-
module$contents$goog$async$run_schedule = function() {
|
|
14865
|
-
(0,goog.async.nextTick)(module$contents$goog$async$run_processWorkQueueInternal);
|
|
14866
|
-
};
|
|
14867
|
-
}
|
|
14850
|
+
var promise = Promise.resolve(void 0);
|
|
14851
|
+
module$contents$goog$async$run_schedule = function() {
|
|
14852
|
+
promise.then(module$contents$goog$async$run_processWorkQueueInternal);
|
|
14853
|
+
};
|
|
14868
14854
|
};
|
|
14869
14855
|
module$contents$goog$async$run_run.forceNextTick = function(realSetTimeout) {
|
|
14870
14856
|
if (goog.DISALLOW_TEST_ONLY_CODE) {
|
|
@@ -16050,8 +16036,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16050
16036
|
this.replacements = new Map();
|
|
16051
16037
|
};
|
|
16052
16038
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16053
|
-
var $jscomp$this$
|
|
16054
|
-
return $jscomp$this$
|
|
16039
|
+
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) {
|
|
16040
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
16055
16041
|
});
|
|
16056
16042
|
if (openedTags.length !== 0) {
|
|
16057
16043
|
if (goog.DEBUG) {
|
|
@@ -16269,8 +16255,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16269
16255
|
if (Array.isArray(token)) {
|
|
16270
16256
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16271
16257
|
} else {
|
|
16272
|
-
var $jscomp$optchain$
|
|
16273
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16258
|
+
var $jscomp$optchain$tmpm583190311$0 = void 0;
|
|
16259
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm583190311$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm583190311$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
16274
16260
|
tokens.push(token);
|
|
16275
16261
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16276
16262
|
return tokens;
|
|
@@ -16516,9 +16502,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16516
16502
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16517
16503
|
};
|
|
16518
16504
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16519
|
-
var $jscomp$this$
|
|
16505
|
+
var $jscomp$this$m583190311$26 = this;
|
|
16520
16506
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16521
|
-
return $jscomp$this$
|
|
16507
|
+
return $jscomp$this$m583190311$26.isWhitespace(c);
|
|
16522
16508
|
});
|
|
16523
16509
|
};
|
|
16524
16510
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16625,8 +16611,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16625
16611
|
return null;
|
|
16626
16612
|
}
|
|
16627
16613
|
if (token.lowercaseName === "url") {
|
|
16628
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16629
|
-
if ((($jscomp$optchain$
|
|
16614
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
|
|
16615
|
+
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16630
16616
|
return null;
|
|
16631
16617
|
}
|
|
16632
16618
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16649,8 +16635,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16649
16635
|
if (!this.allowKeyframes) {
|
|
16650
16636
|
return null;
|
|
16651
16637
|
}
|
|
16652
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16653
|
-
var rule = $jscomp$key$
|
|
16638
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1877845113$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1877845113$1$rule.done; $jscomp$key$m1877845113$1$rule = $jscomp$iter$31.next()) {
|
|
16639
|
+
var rule = $jscomp$key$m1877845113$1$rule.value;
|
|
16654
16640
|
if (rule instanceof CSSKeyframeRule) {
|
|
16655
16641
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16656
16642
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16662,8 +16648,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16662
16648
|
if (!this.propertyAllowlist.has(name)) {
|
|
16663
16649
|
return !1;
|
|
16664
16650
|
}
|
|
16665
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16666
|
-
var discarder = $jscomp$key$
|
|
16651
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1877845113$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1877845113$2$discarder.done; $jscomp$key$m1877845113$2$discarder = $jscomp$iter$32.next()) {
|
|
16652
|
+
var discarder = $jscomp$key$m1877845113$2$discarder.value;
|
|
16667
16653
|
if (discarder(name)) {
|
|
16668
16654
|
return !1;
|
|
16669
16655
|
}
|
|
@@ -16678,8 +16664,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16678
16664
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16679
16665
|
};
|
|
16680
16666
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16681
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16682
|
-
var name = $jscomp$key$
|
|
16667
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1877845113$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1877845113$3$name.done; $jscomp$key$m1877845113$3$name = $jscomp$iter$33.next()) {
|
|
16668
|
+
var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16683
16669
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16684
16670
|
}
|
|
16685
16671
|
return sanitizedProperties;
|
|
@@ -16693,8 +16679,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16693
16679
|
return selector + " { " + sanitizedProperties + " }";
|
|
16694
16680
|
};
|
|
16695
16681
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16696
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16697
|
-
var rule = $jscomp$key$
|
|
16682
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1877845113$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1877845113$4$rule.done; $jscomp$key$m1877845113$4$rule = $jscomp$iter$34.next()) {
|
|
16683
|
+
var rule = $jscomp$key$m1877845113$4$rule.value;
|
|
16698
16684
|
if (rule instanceof CSSStyleRule) {
|
|
16699
16685
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16700
16686
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16855,8 +16841,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16855
16841
|
return fragment;
|
|
16856
16842
|
};
|
|
16857
16843
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16858
|
-
for (var $jscomp$this$
|
|
16859
|
-
return $jscomp$this$
|
|
16844
|
+
for (var $jscomp$this$m1803429925$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
16845
|
+
return $jscomp$this$m1803429925$13.nodeFilter(n);
|
|
16860
16846
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16861
16847
|
var sanitizedNode = void 0;
|
|
16862
16848
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16891,8 +16877,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16891
16877
|
return this.createTextNode(textNode.data);
|
|
16892
16878
|
};
|
|
16893
16879
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16894
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$
|
|
16895
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
16880
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1803429925$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1803429925$34$.done; $jscomp$key$m1803429925$34$ = $jscomp$iter$36.next()) {
|
|
16881
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1803429925$34$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
16896
16882
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16897
16883
|
switch(policy.policyAction) {
|
|
16898
16884
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16924,9 +16910,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16924
16910
|
break;
|
|
16925
16911
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16926
16912
|
if (this.resourceUrlPolicy) {
|
|
16927
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$
|
|
16913
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1803429925$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1803429925$33$part.done; $jscomp$key$m1803429925$33$part =
|
|
16928
16914
|
$jscomp$iter$35.next()) {
|
|
16929
|
-
var part = $jscomp$key$
|
|
16915
|
+
var part = $jscomp$key$m1803429925$33$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);
|
|
16930
16916
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16931
16917
|
}
|
|
16932
16918
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16970,8 +16956,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16970
16956
|
if (!conditions) {
|
|
16971
16957
|
return !0;
|
|
16972
16958
|
}
|
|
16973
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
16974
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16959
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1803429925$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1803429925$35$.done; $jscomp$key$m1803429925$35$ = $jscomp$iter$37.next()) {
|
|
16960
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$35$.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;
|
|
16975
16961
|
if (value && !expectedValues.has(value)) {
|
|
16976
16962
|
return !1;
|
|
16977
16963
|
}
|
|
@@ -16986,8 +16972,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
16986
16972
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
16987
16973
|
};
|
|
16988
16974
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16989
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
16990
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16975
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1803429925$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1803429925$36$part.done; $jscomp$key$m1803429925$36$part = $jscomp$iter$38.next()) {
|
|
16976
|
+
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$36$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var34.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var34.next().value;
|
|
16991
16977
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
16992
16978
|
}
|
|
16993
16979
|
return {parts:parts};
|
|
@@ -17044,8 +17030,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17044
17030
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17045
17031
|
};
|
|
17046
17032
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17047
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17048
|
-
var element = $jscomp$key$
|
|
17033
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$m1412690177$21$element = $jscomp$iter$39.next(); !$jscomp$key$m1412690177$21$element.done; $jscomp$key$m1412690177$21$element = $jscomp$iter$39.next()) {
|
|
17034
|
+
var element = $jscomp$key$m1412690177$21$element.value;
|
|
17049
17035
|
element = element.toUpperCase();
|
|
17050
17036
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17051
17037
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17063,8 +17049,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17063
17049
|
throw Error("Element: " + element + " is not a custom element");
|
|
17064
17050
|
}
|
|
17065
17051
|
if (allowedAttributes) {
|
|
17066
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17067
|
-
elementPolicy.set($jscomp$key$
|
|
17052
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$m1412690177$22$attribute = $jscomp$iter$40.next(); !$jscomp$key$m1412690177$22$attribute.done; $jscomp$key$m1412690177$22$attribute = $jscomp$iter$40.next()) {
|
|
17053
|
+
elementPolicy.set($jscomp$key$m1412690177$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17068
17054
|
}
|
|
17069
17055
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17070
17056
|
} else {
|
|
@@ -17074,15 +17060,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17074
17060
|
return this;
|
|
17075
17061
|
};
|
|
17076
17062
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17077
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17078
|
-
var attribute = $jscomp$key$
|
|
17063
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$m1412690177$23$attribute = $jscomp$iter$41.next(); !$jscomp$key$m1412690177$23$attribute.done; $jscomp$key$m1412690177$23$attribute = $jscomp$iter$41.next()) {
|
|
17064
|
+
var attribute = $jscomp$key$m1412690177$23$attribute.value;
|
|
17079
17065
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17080
17066
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17081
17067
|
}
|
|
17082
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17083
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17068
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$25$ = $jscomp$iter$43.next(); !$jscomp$key$m1412690177$25$.done; $jscomp$key$m1412690177$25$ = $jscomp$iter$43.next()) {
|
|
17069
|
+
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$25$.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$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$m1412690177$24$ = $jscomp$iter$42.next(); !$jscomp$key$m1412690177$24$.done; $jscomp$key$m1412690177$24$ =
|
|
17084
17070
|
$jscomp$iter$42.next()) {
|
|
17085
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17071
|
+
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$24$.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;
|
|
17086
17072
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17087
17073
|
}
|
|
17088
17074
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17091,8 +17077,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17091
17077
|
return this;
|
|
17092
17078
|
};
|
|
17093
17079
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
17094
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17095
|
-
var attribute = $jscomp$key$
|
|
17080
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$m1412690177$26$attribute = $jscomp$iter$44.next(); !$jscomp$key$m1412690177$26$attribute.done; $jscomp$key$m1412690177$26$attribute = $jscomp$iter$44.next()) {
|
|
17081
|
+
var attribute = $jscomp$key$m1412690177$26$attribute.value;
|
|
17096
17082
|
if (attribute.indexOf("data-") !== 0) {
|
|
17097
17083
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17098
17084
|
}
|
|
@@ -17154,7 +17140,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17154
17140
|
return this;
|
|
17155
17141
|
};
|
|
17156
17142
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17157
|
-
var $jscomp$this$
|
|
17143
|
+
var $jscomp$this$m1412690177$17 = this;
|
|
17158
17144
|
this.extendSanitizerTableForCss();
|
|
17159
17145
|
var propertyDiscarders = [];
|
|
17160
17146
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17164,9 +17150,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17164
17150
|
return /^transition(-|$)/.test(property);
|
|
17165
17151
|
});
|
|
17166
17152
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17167
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
17153
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$17.resourceUrlPolicy, $jscomp$this$m1412690177$17.animationsAllowed, propertyDiscarders);
|
|
17168
17154
|
}, function(cssText) {
|
|
17169
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
17155
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$17.resourceUrlPolicy, propertyDiscarders);
|
|
17170
17156
|
}, this.resourceUrlPolicy);
|
|
17171
17157
|
};
|
|
17172
17158
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17416,12 +17402,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17416
17402
|
}
|
|
17417
17403
|
try {
|
|
17418
17404
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17419
|
-
} catch ($jscomp$unused$catch$
|
|
17405
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
17420
17406
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17421
17407
|
}
|
|
17422
17408
|
try {
|
|
17423
17409
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17424
|
-
} catch ($jscomp$unused$catch$
|
|
17410
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
17425
17411
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17426
17412
|
}
|
|
17427
17413
|
return !1;
|
|
@@ -19134,7 +19120,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19134
19120
|
}
|
|
19135
19121
|
}
|
|
19136
19122
|
try {
|
|
19137
|
-
this.cleanUpTimeoutTimer_(), this.timeoutInterval_ > 0 && (goog.log.fine(this.logger_, this.formatMsg_("Will abort after " + this.timeoutInterval_ + "ms if incomplete")), this.timeoutId_ =
|
|
19123
|
+
this.cleanUpTimeoutTimer_(), this.timeoutInterval_ > 0 && (goog.log.fine(this.logger_, this.formatMsg_("Will abort after " + this.timeoutInterval_ + "ms if incomplete")), this.timeoutId_ = setTimeout(this.timeout_.bind(this), this.timeoutInterval_)), goog.log.fine(this.logger_, this.formatMsg_("Sending request")), this.inSend_ = !0, this.xhr_.send(content), this.inSend_ = !1;
|
|
19138
19124
|
} catch (err) {
|
|
19139
19125
|
goog.log.fine(this.logger_, this.formatMsg_("Send error: " + err.message)), this.error_(goog.net.ErrorCode.EXCEPTION, err);
|
|
19140
19126
|
}
|
|
@@ -19181,7 +19167,7 @@ goog.net.XhrIo.prototype.onReadyStateChangeHelper_ = function() {
|
|
|
19181
19167
|
goog.log.fine(this.logger_, this.formatMsg_("Local request error detected and ignored"));
|
|
19182
19168
|
} else {
|
|
19183
19169
|
if (this.inSend_ && this.getReadyState() == goog.net.XmlHttp.ReadyState.COMPLETE) {
|
|
19184
|
-
|
|
19170
|
+
setTimeout(this.onReadyStateChange_.bind(this), 0);
|
|
19185
19171
|
} else {
|
|
19186
19172
|
if (this.dispatchEvent(goog.net.EventType.READY_STATE_CHANGE), this.isComplete()) {
|
|
19187
19173
|
goog.log.fine(this.logger_, this.formatMsg_("Request complete"));
|
|
@@ -19219,7 +19205,7 @@ goog.net.XhrIo.prototype.cleanUpXhr_ = function(opt_fromDispose) {
|
|
|
19219
19205
|
}
|
|
19220
19206
|
};
|
|
19221
19207
|
goog.net.XhrIo.prototype.cleanUpTimeoutTimer_ = function() {
|
|
19222
|
-
this.timeoutId_ && (
|
|
19208
|
+
this.timeoutId_ && (clearTimeout(this.timeoutId_), this.timeoutId_ = null);
|
|
19223
19209
|
};
|
|
19224
19210
|
goog.net.XhrIo.prototype.isActive = function() {
|
|
19225
19211
|
return !!this.xhr_;
|
|
@@ -19356,7 +19342,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19356
19342
|
ee.apiclient = {};
|
|
19357
19343
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19358
19344
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19359
|
-
ee.apiclient.API_CLIENT_VERSION = "1.
|
|
19345
|
+
ee.apiclient.API_CLIENT_VERSION = "1.2.0";
|
|
19360
19346
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19361
19347
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19362
19348
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19654,8 +19640,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19654
19640
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19655
19641
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19656
19642
|
method = method || "POST";
|
|
19657
|
-
var headers = {"Content-Type":contentType}, version = "1.
|
|
19658
|
-
version === "1.
|
|
19643
|
+
var headers = {"Content-Type":contentType}, version = "1.2.0";
|
|
19644
|
+
version === "1.2.0" && (version = "latest");
|
|
19659
19645
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19660
19646
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19661
19647
|
if (authToken != null) {
|
|
@@ -19772,7 +19758,7 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
19772
19758
|
if (result.access_token) {
|
|
19773
19759
|
var token = result.token_type + " " + result.access_token;
|
|
19774
19760
|
if (result.expires_in || result.expires_in === 0) {
|
|
19775
|
-
var expiresInMs = result.expires_in *
|
|
19761
|
+
var expiresInMs = result.expires_in * 1E3 * .9, timeout = setTimeout(module$contents$ee$apiclient_apiclient.refreshAuthToken, expiresInMs * .9);
|
|
19776
19762
|
timeout.unref !== void 0 && timeout.unref();
|
|
19777
19763
|
module$contents$ee$apiclient_apiclient.authTokenExpiration_ = Date.now() + expiresInMs;
|
|
19778
19764
|
}
|
|
@@ -25711,7 +25697,7 @@ goog.style.installSafeStyleSheet = function(safeStyleSheet, opt_node) {
|
|
|
25711
25697
|
head = dh.createDom(goog.dom.TagName.HEAD);
|
|
25712
25698
|
body.parentNode.insertBefore(head, body);
|
|
25713
25699
|
}
|
|
25714
|
-
var el = dh.createDom(goog.dom.TagName.STYLE), nonce = module$exports$safevalues$dom$
|
|
25700
|
+
var el = dh.createDom(goog.dom.TagName.STYLE), nonce = module$exports$safevalues$dom$index.getStyleNonce(window);
|
|
25715
25701
|
nonce && el.setAttribute("nonce", nonce);
|
|
25716
25702
|
goog.style.setSafeStyleSheet(el, safeStyleSheet);
|
|
25717
25703
|
dh.appendChild(head, el);
|
|
@@ -27179,29 +27165,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27179
27165
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27180
27166
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27181
27167
|
(function() {
|
|
27182
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.
|
|
27183
|
-
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "
|
|
27184
|
-
"
|
|
27185
|
-
|
|
27186
|
-
"collection opt_description opt_bucket opt_fileNamePrefix
|
|
27187
|
-
"
|
|
27188
|
-
"
|
|
27189
|
-
["
|
|
27190
|
-
["
|
|
27191
|
-
["json"], ["json"], ["json"], ["opt_dict"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], [], ["func", "namedArgs"], ["var_args"], [], ["opt_visParams", "opt_callback"], ["
|
|
27192
|
-
|
|
27193
|
-
"opt_proj", "opt_geodesic", "opt_maxError"], ["
|
|
27194
|
-
["
|
|
27168
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.Collection.prototype.filterBounds ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.filter ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.data.resetWorkloadTag ee.data.getFilmstripThumbId ee.data.getTaskStatus ee.data.updateAsset ee.data.updateTask ee.data.getList ee.data.makeThumbUrl ee.data.startIngestion ee.data.startProcessing ee.data.createFolder ee.data.authenticateViaOauth ee.data.setAssetAcl ee.data.getMapId ee.data.listAssets ee.data.renameAsset ee.data.getTaskList ee.data.setAssetProperties ee.data.authenticate ee.data.getTileUrl ee.data.getTableDownloadId ee.data.copyAsset ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.getAssetRootQuota ee.data.getWorkloadTag ee.data.cancelOperation ee.data.startTableIngestion ee.data.deleteAsset ee.data.listOperations ee.data.getDownloadId ee.data.authenticateViaPopup ee.data.makeDownloadUrl ee.data.getFeatureViewTilesKey ee.data.getAssetAcl ee.data.listImages ee.data.listFeatures ee.data.getAsset ee.data.getAssetRoots ee.data.authenticateViaPrivateKey ee.data.setWorkloadTag ee.data.getOperation ee.data.createAssetHome ee.data.newTaskId ee.data.computeValue ee.data.getInfo ee.data.getThumbId ee.data.createAsset ee.data.setDefaultWorkloadTag ee.data.cancelTask ee.data.getVideoThumbId ee.Date ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.InitState ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.Filter.and ee.Filter.inList ee.Filter.gt ee.Filter.lt ee.Filter.or ee.Filter.neq ee.Filter ee.Filter.lte ee.Filter.gte ee.Filter.prototype.not ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Filter.eq ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.BBox ee.Geometry.LinearRing ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Geometry ee.Geometry.prototype.toGeoJSONString ee.Geometry.LineString ee.Geometry.Polygon ee.Geometry.Point ee.Geometry.MultiPolygon ee.Geometry.MultiLineString ee.Geometry.prototype.serialize ee.Geometry.prototype.toGeoJSON ee.Image.prototype.select ee.Image.prototype.rename ee.Image.cat ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getThumbURL ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.prototype.clip ee.Image ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.prototype.expression ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMap ee.List ee.Number ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
|
|
27169
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
27170
|
+
"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(" "), "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(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),
|
|
27171
|
+
"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(" "), "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(" "),
|
|
27172
|
+
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["classifier", "opt_description", "opt_assetId", "opt_priority"], "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(" "),
|
|
27173
|
+
["geometry"], ["property", "opt_ascending"], ["name", "operator", "value"], ["start", "opt_end"], ["filter"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["max", "opt_property", "opt_ascending"], ["opt_callback"], ["legacy"], ["callback"], ["func", "var_args"], ["opt_resetDefault"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["id"], ["taskId", "request",
|
|
27174
|
+
"opt_callback"], ["taskId", "params", "opt_callback"], ["path", "opt_force", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["assetId", "aclUpdate", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["opt_callback"], ["assetId", "properties", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"],
|
|
27175
|
+
["id", "x", "y", "z"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["project", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["rootId", "opt_callback"], [], ["operationName", "opt_callback"], ["taskId", "request", "opt_callback"], ["assetId", "opt_callback"], ["opt_limit", "opt_callback"], ["params", "opt_callback"], ["opt_success", "opt_error"], ["id"], ["params", "opt_callback"], ["assetId", "opt_callback"], ["parent", "opt_params", "opt_callback"],
|
|
27176
|
+
["asset", "params", "opt_callback"], ["id", "opt_callback"], ["opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["tag"], ["operationName", "opt_callback"], ["requestedId", "opt_callback"], ["opt_count", "opt_callback"], ["obj", "opt_callback"], ["id", "opt_callback"], ["params", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["tag"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["date",
|
|
27177
|
+
"opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], [], ["func", "namedArgs"], ["var_args"], [], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"],
|
|
27178
|
+
["args", "opt_column"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["var_args"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["name", "value"], ["var_args"], ["name", "value"], ["opt_filter"], ["name", "value"], ["name", "value"], [], ["start", "opt_end"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], ["name", "value"], ["var_args"], ["namedArgs"], ["west", "south", "east", "north"], ["coords",
|
|
27179
|
+
"opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["legacy"], [], ["var_args"], ["var_args"],
|
|
27180
|
+
["var_args"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["geometry"], ["opt_args"], ["params", "opt_callback"], ["r", "g", "b"], ["expression", "opt_map"], ["selectors", "opt_names"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["args"], ["params", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], [], ["params", "opt_callback"], ["opt_visParams",
|
|
27195
27181
|
"opt_callback"], ["list"], ["number"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27196
|
-
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.
|
|
27197
|
-
module$contents$ee$batch_Export.
|
|
27198
|
-
ee.ComputedObject.prototype.
|
|
27199
|
-
ee.data.
|
|
27200
|
-
ee.data.
|
|
27201
|
-
ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.
|
|
27202
|
-
ee.Filter.
|
|
27203
|
-
ee.Image.
|
|
27204
|
-
ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.
|
|
27182
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toAsset,
|
|
27183
|
+
module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, ee.Collection.prototype.filterBounds, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterDate, ee.Collection.prototype.filter, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.limit, ee.ComputedObject.prototype.getInfo,
|
|
27184
|
+
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.aside, ee.data.resetWorkloadTag, ee.data.getFilmstripThumbId, ee.data.getTaskStatus, ee.data.updateAsset, ee.data.updateTask, ee.data.getList, ee.data.makeThumbUrl, ee.data.startIngestion, ee.data.startProcessing, ee.data.createFolder, ee.data.authenticateViaOauth, ee.data.setAssetAcl, ee.data.getMapId, ee.data.listAssets, ee.data.renameAsset, ee.data.getTaskList, ee.data.setAssetProperties,
|
|
27185
|
+
ee.data.authenticate, ee.data.getTileUrl, ee.data.getTableDownloadId, ee.data.copyAsset, ee.data.listBuckets, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.getAssetRootQuota, ee.data.getWorkloadTag, ee.data.cancelOperation, ee.data.startTableIngestion, ee.data.deleteAsset, ee.data.listOperations, ee.data.getDownloadId, ee.data.authenticateViaPopup, ee.data.makeDownloadUrl, ee.data.getFeatureViewTilesKey, ee.data.getAssetAcl, ee.data.listImages, ee.data.listFeatures, ee.data.getAsset,
|
|
27186
|
+
ee.data.getAssetRoots, ee.data.authenticateViaPrivateKey, ee.data.setWorkloadTag, ee.data.getOperation, ee.data.createAssetHome, ee.data.newTaskId, ee.data.computeValue, ee.data.getInfo, ee.data.getThumbId, ee.data.createAsset, ee.data.setDefaultWorkloadTag, ee.data.cancelTask, ee.data.getVideoThumbId, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Dictionary, ee.TILE_SIZE, ee.initialize, ee.call, ee.reset, ee.Algorithms,
|
|
27187
|
+
ee.InitState, ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.Filter.and, ee.Filter.inList, ee.Filter.gt, ee.Filter.lt, ee.Filter.or, ee.Filter.neq, ee.Filter,
|
|
27188
|
+
ee.Filter.lte, ee.Filter.gte, ee.Filter.prototype.not, ee.Filter.date, ee.Filter.metadata, ee.Filter.bounds, ee.Filter.eq, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry.BBox, ee.Geometry.LinearRing, ee.Geometry.MultiPoint, ee.Geometry.Rectangle, ee.Geometry, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.LineString, ee.Geometry.Polygon, ee.Geometry.Point, ee.Geometry.MultiPolygon, ee.Geometry.MultiLineString, ee.Geometry.prototype.serialize, ee.Geometry.prototype.toGeoJSON,
|
|
27189
|
+
ee.Image.prototype.select, ee.Image.prototype.rename, ee.Image.cat, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.getThumbURL, ee.Image.prototype.getMap, ee.Image.prototype.getDownloadURL, ee.Image.prototype.clip, ee.Image, ee.Image.prototype.getThumbId, ee.Image.rgb, ee.Image.prototype.expression, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getInfo,
|
|
27190
|
+
ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMap, ee.List, ee.Number, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27205
27191
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27206
27192
|
});
|
|
27207
27193
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|