@google/earthengine 1.5.23 → 1.6.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 +189 -164
- package/build/ee_api_js.js +16 -16
- package/build/ee_api_js_debug.js +167 -141
- package/build/ee_api_js_npm.js +189 -164
- package/build/main.js +189 -164
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/browser.js
CHANGED
|
@@ -1313,8 +1313,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1313
1313
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1314
1314
|
};
|
|
1315
1315
|
}, "es8", "es3");
|
|
1316
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__enable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__enable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1,
|
|
1317
|
-
GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1316
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__enable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__enable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1, GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__enable:!1,
|
|
1317
|
+
GoogFlags__jspb_use_constant_default_pivot__enable:!1, GoogFlags__optimize_get_ei_from_ved__enable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1318
1318
|
/*
|
|
1319
1319
|
|
|
1320
1320
|
Copyright The Closure Library Authors.
|
|
@@ -2207,9 +2207,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2207
2207
|
};
|
|
2208
2208
|
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;
|
|
2209
2209
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2210
|
-
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$
|
|
2211
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2212
|
-
var key = $jscomp$key$
|
|
2210
|
+
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$m1892927425$40$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$44 = {}; !$jscomp$key$m1892927425$40$key.done; $jscomp$loop$m1892927425$44 =
|
|
2211
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2212
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2213
2213
|
if (value != null) {
|
|
2214
2214
|
var copy = void 0;
|
|
2215
2215
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2220,11 +2220,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2220
2220
|
} else if (objects.hasOwnProperty(key)) {
|
|
2221
2221
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2222
2222
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2223
|
-
$jscomp$loop$
|
|
2223
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2224
2224
|
return function(v) {
|
|
2225
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2225
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2226
2226
|
};
|
|
2227
|
-
}($jscomp$loop$
|
|
2227
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2228
2228
|
} else if (Array.isArray(value)) {
|
|
2229
2229
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2230
2230
|
continue;
|
|
@@ -2239,8 +2239,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2239
2239
|
return target;
|
|
2240
2240
|
}
|
|
2241
2241
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2242
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2243
|
-
var mapKey = $jscomp$key$
|
|
2242
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m1892927425$41$mapKey.done; $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next()) {
|
|
2243
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2244
2244
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2245
2245
|
}
|
|
2246
2246
|
return objMap;
|
|
@@ -2270,39 +2270,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2270
2270
|
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))) {
|
|
2271
2271
|
return !1;
|
|
2272
2272
|
}
|
|
2273
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2274
|
-
var key = $jscomp$key$
|
|
2273
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$45 = {}; !$jscomp$key$m1892927425$42$key.done; $jscomp$loop$m1892927425$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next()) {
|
|
2274
|
+
var key = $jscomp$key$m1892927425$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2275
2275
|
if (has1 !== has2) {
|
|
2276
2276
|
return !1;
|
|
2277
2277
|
}
|
|
2278
2278
|
if (has1) {
|
|
2279
2279
|
var value1 = serializable1.Serializable$get(key);
|
|
2280
|
-
$jscomp$loop$
|
|
2280
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2281
2281
|
if (arrays1.hasOwnProperty(key)) {
|
|
2282
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2282
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2283
2283
|
return !1;
|
|
2284
2284
|
}
|
|
2285
2285
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2286
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2286
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2287
2287
|
return !1;
|
|
2288
2288
|
}
|
|
2289
2289
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2290
|
-
if ($jscomp$loop$
|
|
2291
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2290
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2291
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2292
2292
|
return function(v1, i) {
|
|
2293
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2293
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2294
2294
|
};
|
|
2295
|
-
}($jscomp$loop$
|
|
2295
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2296
2296
|
return !1;
|
|
2297
2297
|
}
|
|
2298
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2298
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2299
2299
|
return !1;
|
|
2300
2300
|
}
|
|
2301
2301
|
} else if (Array.isArray(value1)) {
|
|
2302
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2302
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2303
2303
|
return !1;
|
|
2304
2304
|
}
|
|
2305
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2305
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2306
2306
|
return !1;
|
|
2307
2307
|
}
|
|
2308
2308
|
}
|
|
@@ -2324,8 +2324,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2324
2324
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2325
2325
|
return !1;
|
|
2326
2326
|
}
|
|
2327
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2328
|
-
var mapKey = $jscomp$key$
|
|
2327
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m1892927425$43$mapKey.done; $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next()) {
|
|
2328
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2329
2329
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2330
2330
|
return !1;
|
|
2331
2331
|
}
|
|
@@ -2406,15 +2406,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2406
2406
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2407
2407
|
};
|
|
2408
2408
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2409
|
-
var $jscomp$this$
|
|
2409
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2410
2410
|
payload += this._metadataPayload;
|
|
2411
2411
|
return Promise.all(this.files.map(function(f) {
|
|
2412
|
-
return $jscomp$this$
|
|
2412
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2413
2413
|
})).then(function(filePayloads) {
|
|
2414
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2415
|
-
payload += $jscomp$key$
|
|
2414
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m133342051$9$filePayload.done; $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next()) {
|
|
2415
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2416
2416
|
}
|
|
2417
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2417
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2418
2418
|
});
|
|
2419
2419
|
};
|
|
2420
2420
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2926,8 +2926,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2926
2926
|
throw Error(message);
|
|
2927
2927
|
}
|
|
2928
2928
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2929
|
-
var $jscomp$templatelit$
|
|
2930
|
-
["\\0"]), $jscomp$templatelit$
|
|
2929
|
+
var $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
2930
|
+
["\\0"]), $jscomp$templatelit$m425881384$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$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"};
|
|
2931
2931
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2932
2932
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2933
2933
|
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 ##############################");
|
|
@@ -2941,14 +2941,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2941
2941
|
return fn.toString().indexOf("`") === -1;
|
|
2942
2942
|
}
|
|
2943
2943
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2944
|
-
return tag($jscomp$templatelit$
|
|
2944
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
2945
2945
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2946
|
-
return tag($jscomp$templatelit$
|
|
2946
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
2947
2947
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2948
|
-
return tag($jscomp$templatelit$
|
|
2948
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
2949
2949
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2950
|
-
return tag($jscomp$templatelit$
|
|
2951
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2950
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
2951
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$12);
|
|
2952
2952
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2953
2953
|
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)) ?
|
|
2954
2954
|
!0 : !1;
|
|
@@ -3025,7 +3025,7 @@ module$exports$safevalues$builders$url_builders.SanitizableUrlScheme = {TEL:modu
|
|
|
3025
3025
|
}), MAILTO:module$contents$safevalues$builders$url_builders_simpleScheme("mailto"), INTENT:module$contents$safevalues$builders$url_builders_simpleScheme("intent"), MARKET:module$contents$safevalues$builders$url_builders_simpleScheme("market"), ITMS:module$contents$safevalues$builders$url_builders_simpleScheme("itms"), ITMS_APPSS:module$contents$safevalues$builders$url_builders_simpleScheme("itms-appss"),
|
|
3026
3026
|
ITMS_SERVICES:module$contents$safevalues$builders$url_builders_simpleScheme("itms-services"), FACEBOOK_MESSENGER:module$contents$safevalues$builders$url_builders_simpleScheme("fb-messenger"), WHATSAPP:module$contents$safevalues$builders$url_builders_simpleScheme("whatsapp"), SIP:new module$contents$safevalues$builders$url_builders_SchemeImpl(function(url) {
|
|
3027
3027
|
return url.indexOf("sip:") === 0 || url.indexOf("sips:") === 0;
|
|
3028
|
-
}), SMS:module$contents$safevalues$builders$url_builders_simpleScheme("sms"), VND_YOUTUBE:module$contents$safevalues$builders$url_builders_simpleScheme("vnd.youtube"), GOOGLEHOME:module$contents$safevalues$builders$url_builders_simpleScheme("googlehome"), GOOGLEHOMESDK:module$contents$safevalues$builders$url_builders_simpleScheme("googlehomesdk")};
|
|
3028
|
+
}), SMS:module$contents$safevalues$builders$url_builders_simpleScheme("sms"), VND_YOUTUBE:module$contents$safevalues$builders$url_builders_simpleScheme("vnd.youtube"), GOOGLEHOME:module$contents$safevalues$builders$url_builders_simpleScheme("googlehome"), GOOGLEHOMESDK:module$contents$safevalues$builders$url_builders_simpleScheme("googlehomesdk"), LINE:module$contents$safevalues$builders$url_builders_simpleScheme("line")};
|
|
3029
3029
|
var module$contents$safevalues$builders$url_builders_DEFAULT_SCHEMES = [module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.DATA, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.HTTP, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.HTTPS, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.MAILTO,
|
|
3030
3030
|
module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.FTP, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.RELATIVE];
|
|
3031
3031
|
function module$contents$safevalues$builders$url_builders_trySanitizeUrl(url, allowedSchemes) {
|
|
@@ -3274,9 +3274,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3274
3274
|
}
|
|
3275
3275
|
}
|
|
3276
3276
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3277
|
-
var $jscomp$tmp$error$
|
|
3278
|
-
this.message = $jscomp$tmp$error$
|
|
3279
|
-
"stack" in $jscomp$tmp$error$
|
|
3277
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3278
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
3279
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
3280
3280
|
this.type = type;
|
|
3281
3281
|
this.intent = intent;
|
|
3282
3282
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3372,7 +3372,7 @@ function module$contents$safevalues$dom$globals$window_getStyleNonce(doc) {
|
|
|
3372
3372
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3373
3373
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, doc) {
|
|
3374
3374
|
doc = doc === void 0 ? document : doc;
|
|
3375
|
-
var $jscomp$optchain$
|
|
3375
|
+
var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = doc).querySelector) == null ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
|
|
3376
3376
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3377
3377
|
}
|
|
3378
3378
|
;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"};
|
|
@@ -4804,9 +4804,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4804
4804
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4805
4805
|
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"};
|
|
4806
4806
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4807
|
-
var $jscomp$tmp$error$
|
|
4808
|
-
this.message = $jscomp$tmp$error$
|
|
4809
|
-
"stack" in $jscomp$tmp$error$
|
|
4807
|
+
var $jscomp$tmp$error$1153895636$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
4808
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
4809
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
4810
4810
|
this.url = url;
|
|
4811
4811
|
this.typeName = typeName;
|
|
4812
4812
|
this.contentType = contentType;
|
|
@@ -4818,48 +4818,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4818
4818
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4819
4819
|
}
|
|
4820
4820
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4821
|
-
var response, $jscomp$optchain$
|
|
4822
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4823
|
-
if ($jscomp$generator$context$
|
|
4824
|
-
return $jscomp$generator$context$
|
|
4825
|
-
}
|
|
4826
|
-
response = $jscomp$generator$context$
|
|
4827
|
-
mimeType = ($jscomp$optchain$
|
|
4828
|
-
return $jscomp$generator$context$
|
|
4821
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
4822
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
4823
|
+
if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
|
|
4824
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4825
|
+
}
|
|
4826
|
+
response = $jscomp$generator$context$1153895636$29.yieldResult;
|
|
4827
|
+
mimeType = ($jscomp$optchain$tmp1153895636$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmp1153895636$1 = $jscomp$optchain$tmp1153895636$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmp1153895636$2 = $jscomp$optchain$tmp1153895636$1[0]) == null ? void 0 : $jscomp$optchain$tmp1153895636$2.toLowerCase();
|
|
4828
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
4829
4829
|
var text;
|
|
4830
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4831
|
-
if ($jscomp$generator$context$
|
|
4830
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
4831
|
+
if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
|
|
4832
4832
|
if (mimeType !== "text/html") {
|
|
4833
4833
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4834
4834
|
}
|
|
4835
|
-
return $jscomp$generator$context$
|
|
4835
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
4836
4836
|
}
|
|
4837
|
-
text = $jscomp$generator$context$
|
|
4838
|
-
return $jscomp$generator$context$
|
|
4837
|
+
text = $jscomp$generator$context$1153895636$26.yieldResult;
|
|
4838
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4839
4839
|
});
|
|
4840
4840
|
}, script:function() {
|
|
4841
4841
|
var text;
|
|
4842
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4843
|
-
if ($jscomp$generator$context$
|
|
4842
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
4843
|
+
if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
|
|
4844
4844
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4845
4845
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4846
4846
|
}
|
|
4847
|
-
return $jscomp$generator$context$
|
|
4847
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
4848
4848
|
}
|
|
4849
|
-
text = $jscomp$generator$context$
|
|
4850
|
-
return $jscomp$generator$context$
|
|
4849
|
+
text = $jscomp$generator$context$1153895636$27.yieldResult;
|
|
4850
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4851
4851
|
});
|
|
4852
4852
|
}, styleSheet:function() {
|
|
4853
4853
|
var text;
|
|
4854
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4855
|
-
if ($jscomp$generator$context$
|
|
4854
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
4855
|
+
if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
|
|
4856
4856
|
if (mimeType !== "text/css") {
|
|
4857
4857
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4858
4858
|
}
|
|
4859
|
-
return $jscomp$generator$context$
|
|
4859
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
4860
4860
|
}
|
|
4861
|
-
text = $jscomp$generator$context$
|
|
4862
|
-
return $jscomp$generator$context$
|
|
4861
|
+
text = $jscomp$generator$context$1153895636$28.yieldResult;
|
|
4862
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4863
4863
|
});
|
|
4864
4864
|
}});
|
|
4865
4865
|
});
|
|
@@ -6281,8 +6281,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6281
6281
|
}
|
|
6282
6282
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6283
6283
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6284
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6285
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6284
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$m125199259$0$ = $jscomp$iter$29.next(); !$jscomp$key$m125199259$0$.done; $jscomp$key$m125199259$0$ = $jscomp$iter$29.next()) {
|
|
6285
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$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;
|
|
6286
6286
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6287
6287
|
}
|
|
6288
6288
|
return urlQueryParams;
|
|
@@ -6293,8 +6293,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6293
6293
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6294
6294
|
if (params.headers) {
|
|
6295
6295
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6296
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6297
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6296
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$m125199259$1$ = $jscomp$iter$30.next(); !$jscomp$key$m125199259$1$.done; $jscomp$key$m125199259$1$ = $jscomp$iter$30.next()) {
|
|
6297
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$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;
|
|
6298
6298
|
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);
|
|
6299
6299
|
}
|
|
6300
6300
|
}
|
|
@@ -6334,9 +6334,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6334
6334
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6335
6335
|
};
|
|
6336
6336
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6337
|
-
var $jscomp$this$
|
|
6337
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6338
6338
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6339
|
-
return $jscomp$this$
|
|
6339
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
6340
6340
|
}));
|
|
6341
6341
|
};
|
|
6342
6342
|
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"};
|
|
@@ -6517,6 +6517,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native
|
|
|
6517
6517
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable = !1;
|
|
6518
6518
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_use_constant_default_pivot__enable = !1;
|
|
6519
6519
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable = !1;
|
|
6520
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__enable = !1;
|
|
6520
6521
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable = !1;
|
|
6521
6522
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
6522
6523
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
@@ -6534,6 +6535,7 @@ goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etogg
|
|
|
6534
6535
|
goog.flags.JSPB_DISALLOW_MESSAGE_TOJSON = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable : goog.readFlagInternalDoNotUseOrElse(722764542, goog.DEBUG);
|
|
6535
6536
|
goog.flags.JSPB_USE_CONSTANT_DEFAULT_PIVOT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_use_constant_default_pivot__enable : goog.readFlagInternalDoNotUseOrElse(748402145, goog.DEBUG);
|
|
6536
6537
|
goog.flags.JSPB_SERIALIZE_WITH_DYNAMIC_PIVOT_SELECTOR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable : goog.readFlagInternalDoNotUseOrElse(748402146, goog.DEBUG);
|
|
6538
|
+
goog.flags.JSPB_THROW_IN_ARRAY_CONSTRUCTOR_IF_ARRAY_IS_ALREADY_CONSTRUCTED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__enable : goog.readFlagInternalDoNotUseOrElse(748402147, goog.DEBUG);
|
|
6537
6539
|
goog.flags.OPTIMIZE_GET_EI_FROM_VED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable : goog.readFlagInternalDoNotUseOrElse(333098724, !1);
|
|
6538
6540
|
goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
|
|
6539
6541
|
goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
|
|
@@ -16207,8 +16209,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16207
16209
|
this.replacements = new Map();
|
|
16208
16210
|
};
|
|
16209
16211
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16210
|
-
var $jscomp$this$
|
|
16211
|
-
return $jscomp$this$
|
|
16212
|
+
var $jscomp$this$1018007701$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) {
|
|
16213
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
16212
16214
|
});
|
|
16213
16215
|
if (openedTags.length !== 0) {
|
|
16214
16216
|
if (goog.DEBUG) {
|
|
@@ -16426,8 +16428,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16426
16428
|
if (Array.isArray(token)) {
|
|
16427
16429
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16428
16430
|
} else {
|
|
16429
|
-
var $jscomp$optchain$
|
|
16430
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16431
|
+
var $jscomp$optchain$tmpm282935782$0 = void 0;
|
|
16432
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm282935782$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm282935782$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
16431
16433
|
tokens.push(token);
|
|
16432
16434
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16433
16435
|
return tokens;
|
|
@@ -16673,9 +16675,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16673
16675
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16674
16676
|
};
|
|
16675
16677
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16676
|
-
var $jscomp$this$
|
|
16678
|
+
var $jscomp$this$m282935782$26 = this;
|
|
16677
16679
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16678
|
-
return $jscomp$this$
|
|
16680
|
+
return $jscomp$this$m282935782$26.isWhitespace(c);
|
|
16679
16681
|
});
|
|
16680
16682
|
};
|
|
16681
16683
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16720,23 +16722,23 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16720
16722
|
function module$contents$safevalues$builders$html_sanitizer$css$tokenizer_tokenizeCss(css) {
|
|
16721
16723
|
return (new module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer(css)).tokenize();
|
|
16722
16724
|
}
|
|
16723
|
-
;var module$exports$safevalues$builders$html_sanitizer$
|
|
16724
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16725
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16726
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16727
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16728
|
-
function module$contents$safevalues$builders$html_sanitizer$
|
|
16725
|
+
;var module$exports$safevalues$builders$html_sanitizer$url_policy = {}, module$contents$safevalues$builders$html_sanitizer$url_policy_module = module$contents$safevalues$builders$html_sanitizer$url_policy_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/url_policy.closure.js"};
|
|
16726
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType = {STYLE_ELEMENT:0, STYLE_ATTRIBUTE:1, HTML_ATTRIBUTE:2};
|
|
16727
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.STYLE_ELEMENT] = "STYLE_ELEMENT";
|
|
16728
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.STYLE_ATTRIBUTE] = "STYLE_ATTRIBUTE";
|
|
16729
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE] = "HTML_ATTRIBUTE";
|
|
16730
|
+
function module$contents$safevalues$builders$html_sanitizer$url_policy_StyleElementOrAttributeUrlPolicyHints() {
|
|
16729
16731
|
}
|
|
16730
|
-
function module$contents$safevalues$builders$html_sanitizer$
|
|
16732
|
+
function module$contents$safevalues$builders$html_sanitizer$url_policy_HtmlAttributeUrlPolicyHints() {
|
|
16731
16733
|
}
|
|
16732
|
-
function module$contents$safevalues$builders$html_sanitizer$
|
|
16734
|
+
function module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(value) {
|
|
16733
16735
|
try {
|
|
16734
16736
|
return new URL(value, window.document.baseURI);
|
|
16735
16737
|
} catch (e) {
|
|
16736
16738
|
return new URL("about:invalid");
|
|
16737
16739
|
}
|
|
16738
16740
|
}
|
|
16739
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16741
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.parseUrl = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl;
|
|
16740
16742
|
var module$exports$safevalues$builders$html_sanitizer$css$sanitizer = {}, module$contents$safevalues$builders$html_sanitizer$css$sanitizer_module = module$contents$safevalues$builders$html_sanitizer$css$sanitizer_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/sanitizer.closure.js"}, module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer =
|
|
16741
16743
|
function(propertyAllowlist, functionAllowlist, resourceUrlPolicy, allowKeyframes, propertyDiscarders) {
|
|
16742
16744
|
this.propertyAllowlist = propertyAllowlist;
|
|
@@ -16782,12 +16784,12 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16782
16784
|
return null;
|
|
16783
16785
|
}
|
|
16784
16786
|
if (token.lowercaseName === "url") {
|
|
16785
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16786
|
-
if ((($jscomp$optchain$
|
|
16787
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
|
|
16788
|
+
if ((($jscomp$optchain$tmpm1577590584$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1577590584$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16787
16789
|
return null;
|
|
16788
16790
|
}
|
|
16789
|
-
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$
|
|
16790
|
-
this.resourceUrlPolicy && (parsedUrl = this.resourceUrlPolicy(parsedUrl, {type:calledFromStyleElement ? module$exports$safevalues$builders$html_sanitizer$
|
|
16791
|
+
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(nextToken.value);
|
|
16792
|
+
this.resourceUrlPolicy && (parsedUrl = this.resourceUrlPolicy(parsedUrl, {type:calledFromStyleElement ? module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.STYLE_ELEMENT : module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.STYLE_ATTRIBUTE, propertyName:propertyName}));
|
|
16791
16793
|
if (!parsedUrl) {
|
|
16792
16794
|
return null;
|
|
16793
16795
|
}
|
|
@@ -16806,8 +16808,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16806
16808
|
if (!this.allowKeyframes) {
|
|
16807
16809
|
return null;
|
|
16808
16810
|
}
|
|
16809
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16810
|
-
var rule = $jscomp$key$
|
|
16811
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1577590584$1$rule.done; $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next()) {
|
|
16812
|
+
var rule = $jscomp$key$m1577590584$1$rule.value;
|
|
16811
16813
|
if (rule instanceof CSSKeyframeRule) {
|
|
16812
16814
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16813
16815
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16819,8 +16821,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16819
16821
|
if (!this.propertyAllowlist.has(name)) {
|
|
16820
16822
|
return !1;
|
|
16821
16823
|
}
|
|
16822
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16823
|
-
var discarder = $jscomp$key$
|
|
16824
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1577590584$2$discarder.done; $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next()) {
|
|
16825
|
+
var discarder = $jscomp$key$m1577590584$2$discarder.value;
|
|
16824
16826
|
if (discarder(name)) {
|
|
16825
16827
|
return !1;
|
|
16826
16828
|
}
|
|
@@ -16835,8 +16837,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16835
16837
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16836
16838
|
};
|
|
16837
16839
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16838
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16839
|
-
var name = $jscomp$key$
|
|
16840
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1577590584$3$name.done; $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next()) {
|
|
16841
|
+
var name = $jscomp$key$m1577590584$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16840
16842
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16841
16843
|
}
|
|
16842
16844
|
return sanitizedProperties;
|
|
@@ -16850,8 +16852,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16850
16852
|
return selector + " { " + sanitizedProperties + " }";
|
|
16851
16853
|
};
|
|
16852
16854
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16853
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16854
|
-
var rule = $jscomp$key$
|
|
16855
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1577590584$4$rule.done; $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next()) {
|
|
16856
|
+
var rule = $jscomp$key$m1577590584$4$rule.value;
|
|
16855
16857
|
if (rule instanceof CSSStyleRule) {
|
|
16856
16858
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16857
16859
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16926,7 +16928,7 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tabl
|
|
|
16926
16928
|
return attributeName.indexOf(prefix) === 0;
|
|
16927
16929
|
}) ? {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};
|
|
16928
16930
|
};
|
|
16929
|
-
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};
|
|
16931
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction = {DROP:0, KEEP:1, KEEP_AND_SANITIZE_URL:2, KEEP_AND_NORMALIZE:3, KEEP_AND_SANITIZE_STYLE:4, KEEP_AND_USE_RESOURCE_URL_POLICY:5, KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:6, KEEP_AND_USE_NAVIGATION_URL_POLICY:7};
|
|
16930
16932
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP] = "DROP";
|
|
16931
16933
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP] = "KEEP";
|
|
16932
16934
|
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";
|
|
@@ -16934,6 +16936,7 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tabl
|
|
|
16934
16936
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE] = "KEEP_AND_SANITIZE_STYLE";
|
|
16935
16937
|
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";
|
|
16936
16938
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET] = "KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET";
|
|
16939
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_NAVIGATION_URL_POLICY] = "KEEP_AND_USE_NAVIGATION_URL_POLICY";
|
|
16937
16940
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicy = function() {
|
|
16938
16941
|
};
|
|
16939
16942
|
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(" "));
|
|
@@ -16943,7 +16946,7 @@ function module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sani
|
|
|
16943
16946
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.isCustomElement = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_isCustomElement;
|
|
16944
16947
|
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"},
|
|
16945
16948
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS = "ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR NOBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "),
|
|
16946
|
-
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.
|
|
16949
|
+
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES = [["A", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_NAVIGATION_URL_POLICY}]])], ["AREA", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_NAVIGATION_URL_POLICY}]])],
|
|
16947
16950
|
["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}],
|
|
16948
16951
|
["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}]])],
|
|
16949
16952
|
["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 =
|
|
@@ -16977,11 +16980,12 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizer =
|
|
|
16977
16980
|
};
|
|
16978
16981
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.CssSanitizer = function() {
|
|
16979
16982
|
};
|
|
16980
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy, openShadow) {
|
|
16983
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy, navigationUrlPolicy, openShadow) {
|
|
16981
16984
|
this.sanitizerTable = sanitizerTable;
|
|
16982
16985
|
this.styleElementSanitizer = styleElementSanitizer;
|
|
16983
16986
|
this.styleAttributeSanitizer = styleAttributeSanitizer;
|
|
16984
16987
|
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16988
|
+
this.navigationUrlPolicy = navigationUrlPolicy;
|
|
16985
16989
|
this.openShadow = openShadow;
|
|
16986
16990
|
this.changes = [];
|
|
16987
16991
|
module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
@@ -17013,8 +17017,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17013
17017
|
return fragment;
|
|
17014
17018
|
};
|
|
17015
17019
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
17016
|
-
for (var $jscomp$this$
|
|
17017
|
-
return $jscomp$this$
|
|
17020
|
+
for (var $jscomp$this$m1085474118$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
17021
|
+
return $jscomp$this$m1085474118$13.nodeFilter(n);
|
|
17018
17022
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
17019
17023
|
var sanitizedNode = void 0;
|
|
17020
17024
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -17049,18 +17053,18 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17049
17053
|
return this.createTextNode(textNode.data);
|
|
17050
17054
|
};
|
|
17051
17055
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
17052
|
-
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$
|
|
17053
|
-
var $jscomp$destructuring$var30 = $jscomp$key$
|
|
17056
|
+
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$m1085474118$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1085474118$34$.done; $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next()) {
|
|
17057
|
+
var $jscomp$destructuring$var30 = $jscomp$key$m1085474118$34$.value, name = $jscomp$destructuring$var30.name, value = $jscomp$destructuring$var30.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
17054
17058
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
17055
17059
|
switch(policy.policyAction) {
|
|
17056
17060
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
17057
17061
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
17058
17062
|
break;
|
|
17059
17063
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL:
|
|
17060
|
-
|
|
17061
|
-
|
|
17062
|
-
|
|
17063
|
-
|
|
17064
|
+
if (goog.DEBUG) {
|
|
17065
|
+
throw Error("All KEEP_AND_SANITIZE_URL cases in the safevalues sanitizer should go through the navigation or resource url policy cases. Got " + name + " on element " + elementName + ".");
|
|
17066
|
+
}
|
|
17067
|
+
throw Error();
|
|
17064
17068
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE:
|
|
17065
17069
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value.toLowerCase());
|
|
17066
17070
|
break;
|
|
@@ -17074,7 +17078,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17074
17078
|
break;
|
|
17075
17079
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY:
|
|
17076
17080
|
if (this.resourceUrlPolicy) {
|
|
17077
|
-
var hints = {type:module$exports$safevalues$builders$html_sanitizer$
|
|
17081
|
+
var hints = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, url = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(value), sanitizedUrl = this.resourceUrlPolicy(url, hints);
|
|
17078
17082
|
sanitizedUrl && module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, sanitizedUrl.toString());
|
|
17079
17083
|
} else {
|
|
17080
17084
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
@@ -17082,9 +17086,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17082
17086
|
break;
|
|
17083
17087
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
17084
17088
|
if (this.resourceUrlPolicy) {
|
|
17085
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$
|
|
17089
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1085474118$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1085474118$33$part.done; $jscomp$key$m1085474118$33$part =
|
|
17086
17090
|
$jscomp$iter$35.next()) {
|
|
17087
|
-
var part = $jscomp$key$
|
|
17091
|
+
var part = $jscomp$key$m1085474118$33$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
17088
17092
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
17089
17093
|
}
|
|
17090
17094
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -17092,6 +17096,20 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17092
17096
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
17093
17097
|
}
|
|
17094
17098
|
break;
|
|
17099
|
+
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_NAVIGATION_URL_POLICY:
|
|
17100
|
+
var attrUrl = value;
|
|
17101
|
+
if (this.navigationUrlPolicy) {
|
|
17102
|
+
var hints$jscomp$1 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, url$jscomp$1 = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(value), policyUrl = this.navigationUrlPolicy(url$jscomp$1, hints$jscomp$1);
|
|
17103
|
+
if (policyUrl === null) {
|
|
17104
|
+
this.recordChange("Url in attribute " + name + ' was blocked during sanitization. Original url:"' + value + '"');
|
|
17105
|
+
break;
|
|
17106
|
+
}
|
|
17107
|
+
attrUrl = policyUrl.toString();
|
|
17108
|
+
}
|
|
17109
|
+
attrUrl = module$contents$safevalues$builders$url_builders_restrictivelySanitizeUrl(attrUrl);
|
|
17110
|
+
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, attrUrl);
|
|
17111
|
+
attrUrl !== value && this.recordChange("Url in attribute " + name + ' was modified during sanitization. Original url:"' + value + '" was sanitized to: "' + attrUrl + '"');
|
|
17112
|
+
break;
|
|
17095
17113
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP:
|
|
17096
17114
|
this.recordChange("Attribute: " + name + " was dropped");
|
|
17097
17115
|
break;
|
|
@@ -17128,8 +17146,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17128
17146
|
if (!conditions) {
|
|
17129
17147
|
return !0;
|
|
17130
17148
|
}
|
|
17131
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
17132
|
-
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17149
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1085474118$35$.done; $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next()) {
|
|
17150
|
+
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var32.next().value, expectedValues = $jscomp$destructuring$var32.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
17133
17151
|
if (value && !expectedValues.has(value)) {
|
|
17134
17152
|
return !1;
|
|
17135
17153
|
}
|
|
@@ -17144,8 +17162,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
17144
17162
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
17145
17163
|
};
|
|
17146
17164
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
17147
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
17148
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17165
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1085474118$36$part.done; $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next()) {
|
|
17166
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$36$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var33.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var33.next().value;
|
|
17149
17167
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
17150
17168
|
}
|
|
17151
17169
|
return {parts:parts};
|
|
@@ -17202,8 +17220,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17202
17220
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17203
17221
|
};
|
|
17204
17222
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17205
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17206
|
-
var element = $jscomp$key$
|
|
17223
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$435282654$23$element = $jscomp$iter$39.next(); !$jscomp$key$435282654$23$element.done; $jscomp$key$435282654$23$element = $jscomp$iter$39.next()) {
|
|
17224
|
+
var element = $jscomp$key$435282654$23$element.value;
|
|
17207
17225
|
element = element.toUpperCase();
|
|
17208
17226
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17209
17227
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17221,8 +17239,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17221
17239
|
throw Error("Element: " + element + " is not a custom element");
|
|
17222
17240
|
}
|
|
17223
17241
|
if (allowedAttributes) {
|
|
17224
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17225
|
-
elementPolicy.set($jscomp$key$
|
|
17242
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$435282654$24$attribute = $jscomp$iter$40.next(); !$jscomp$key$435282654$24$attribute.done; $jscomp$key$435282654$24$attribute = $jscomp$iter$40.next()) {
|
|
17243
|
+
elementPolicy.set($jscomp$key$435282654$24$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17226
17244
|
}
|
|
17227
17245
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17228
17246
|
} else {
|
|
@@ -17232,15 +17250,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17232
17250
|
return this;
|
|
17233
17251
|
};
|
|
17234
17252
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17235
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17236
|
-
var attribute = $jscomp$key$
|
|
17253
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$435282654$25$attribute = $jscomp$iter$41.next(); !$jscomp$key$435282654$25$attribute.done; $jscomp$key$435282654$25$attribute = $jscomp$iter$41.next()) {
|
|
17254
|
+
var attribute = $jscomp$key$435282654$25$attribute.value;
|
|
17237
17255
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17238
17256
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17239
17257
|
}
|
|
17240
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17241
|
-
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17258
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$27$ = $jscomp$iter$43.next(); !$jscomp$key$435282654$27$.done; $jscomp$key$435282654$27$ = $jscomp$iter$43.next()) {
|
|
17259
|
+
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$435282654$27$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var36.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var36.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$26$ = $jscomp$iter$42.next(); !$jscomp$key$435282654$26$.done; $jscomp$key$435282654$26$ =
|
|
17242
17260
|
$jscomp$iter$42.next()) {
|
|
17243
|
-
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17261
|
+
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$435282654$26$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var38.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var38.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
17244
17262
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17245
17263
|
}
|
|
17246
17264
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17255,8 +17273,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17255
17273
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies, globallyAllowedAttributePrefixes);
|
|
17256
17274
|
return this;
|
|
17257
17275
|
}
|
|
17258
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17259
|
-
var attribute = $jscomp$key$
|
|
17276
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$435282654$28$attribute = $jscomp$iter$44.next(); !$jscomp$key$435282654$28$attribute.done; $jscomp$key$435282654$28$attribute = $jscomp$iter$44.next()) {
|
|
17277
|
+
var attribute = $jscomp$key$435282654$28$attribute.value;
|
|
17260
17278
|
if (attribute.indexOf("data-") !== 0) {
|
|
17261
17279
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17262
17280
|
}
|
|
@@ -17293,6 +17311,10 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17293
17311
|
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
17294
17312
|
return this;
|
|
17295
17313
|
};
|
|
17314
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.withNavigationUrlPolicy = function(navigationUrlPolicy) {
|
|
17315
|
+
this.navigationUrlPolicy = navigationUrlPolicy;
|
|
17316
|
+
return this;
|
|
17317
|
+
};
|
|
17296
17318
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder = function() {
|
|
17297
17319
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.apply(this, arguments);
|
|
17298
17320
|
};
|
|
@@ -17302,7 +17324,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
17302
17324
|
throw Error("this sanitizer has already called build");
|
|
17303
17325
|
}
|
|
17304
17326
|
this.calledBuild = !0;
|
|
17305
|
-
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);
|
|
17327
|
+
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, void 0, void 0, this.resourceUrlPolicy, this.navigationUrlPolicy);
|
|
17306
17328
|
};
|
|
17307
17329
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder = function() {
|
|
17308
17330
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.apply(this, arguments);
|
|
@@ -17322,7 +17344,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17322
17344
|
return this;
|
|
17323
17345
|
};
|
|
17324
17346
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17325
|
-
var $jscomp$this$
|
|
17347
|
+
var $jscomp$this$435282654$19 = this;
|
|
17326
17348
|
this.extendSanitizerTableForCss();
|
|
17327
17349
|
var propertyDiscarders = [];
|
|
17328
17350
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17332,10 +17354,10 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17332
17354
|
return /^transition(-|$)/.test(property);
|
|
17333
17355
|
});
|
|
17334
17356
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17335
|
-
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$
|
|
17357
|
+
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$435282654$19.resourceUrlPolicy, $jscomp$this$435282654$19.animationsAllowed, propertyDiscarders);
|
|
17336
17358
|
}, function(cssText) {
|
|
17337
|
-
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$
|
|
17338
|
-
}, this.resourceUrlPolicy, this.openShadow);
|
|
17359
|
+
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$435282654$19.resourceUrlPolicy, propertyDiscarders);
|
|
17360
|
+
}, this.resourceUrlPolicy, this.navigationUrlPolicy, this.openShadow);
|
|
17339
17361
|
};
|
|
17340
17362
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
17341
17363
|
var allowedElements = new Set(this.sanitizerTable.allowedElements), allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), globalAttributePolicies = new Map(this.sanitizerTable.globalAttributePolicies);
|
|
@@ -17554,12 +17576,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17554
17576
|
}
|
|
17555
17577
|
try {
|
|
17556
17578
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17557
|
-
} catch ($jscomp$unused$catch$
|
|
17579
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
17558
17580
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17559
17581
|
}
|
|
17560
17582
|
try {
|
|
17561
17583
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17562
|
-
} catch ($jscomp$unused$catch$
|
|
17584
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
17563
17585
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17564
17586
|
}
|
|
17565
17587
|
return !1;
|
|
@@ -17603,7 +17625,8 @@ module$exports$safevalues$index.sanitizeHtmlAssertUnchanged = module$contents$sa
|
|
|
17603
17625
|
module$exports$safevalues$index.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
17604
17626
|
module$exports$safevalues$index.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
17605
17627
|
module$exports$safevalues$index.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
17606
|
-
module$exports$safevalues$index.
|
|
17628
|
+
module$exports$safevalues$index.UrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType;
|
|
17629
|
+
module$exports$safevalues$index.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType;
|
|
17607
17630
|
module$exports$safevalues$index.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
17608
17631
|
module$exports$safevalues$index.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
17609
17632
|
module$exports$safevalues$index.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
@@ -17672,7 +17695,10 @@ safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
|
17672
17695
|
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
17673
17696
|
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
17674
17697
|
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
17675
|
-
safevalues.
|
|
17698
|
+
safevalues.UrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType;
|
|
17699
|
+
safevalues.UrlPolicy = module$exports$safevalues$index.UrlPolicy;
|
|
17700
|
+
safevalues.UrlPolicyHints = module$exports$safevalues$index.UrlPolicyHints;
|
|
17701
|
+
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType;
|
|
17676
17702
|
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
17677
17703
|
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
17678
17704
|
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
@@ -19426,7 +19452,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19426
19452
|
ee.apiclient = {};
|
|
19427
19453
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19428
19454
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19429
|
-
ee.apiclient.API_CLIENT_VERSION = "1.
|
|
19455
|
+
ee.apiclient.API_CLIENT_VERSION = "1.6.0";
|
|
19430
19456
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19431
19457
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19432
19458
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19724,8 +19750,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19724
19750
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19725
19751
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19726
19752
|
method = method || "POST";
|
|
19727
|
-
var headers = {"Content-Type":contentType}, version = "1.
|
|
19728
|
-
version === "1.
|
|
19753
|
+
var headers = {"Content-Type":contentType}, version = "1.6.0";
|
|
19754
|
+
version === "1.6.0" && (version = "latest");
|
|
19729
19755
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19730
19756
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19731
19757
|
if (authToken != null) {
|
|
@@ -27248,29 +27274,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27248
27274
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27249
27275
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27250
27276
|
(function() {
|
|
27251
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27252
|
-
orderedParamLists = [["name", "
|
|
27253
|
-
"
|
|
27254
|
-
"
|
|
27255
|
-
"
|
|
27256
|
-
"
|
|
27257
|
-
["
|
|
27258
|
-
["
|
|
27259
|
-
"
|
|
27260
|
-
|
|
27261
|
-
["
|
|
27262
|
-
|
|
27263
|
-
"
|
|
27264
|
-
|
|
27265
|
-
|
|
27266
|
-
|
|
27267
|
-
ee.
|
|
27268
|
-
ee.data.authenticateViaOauth, ee.data.
|
|
27269
|
-
ee.
|
|
27270
|
-
ee.
|
|
27271
|
-
ee.
|
|
27272
|
-
ee.
|
|
27273
|
-
ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.linkCollection, ee.List, ee.Number, ee.Serializer.toCloudApiJSON, ee.Serializer.encode, ee.Serializer.encodeCloudApi, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27277
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._call ee.ApiFunction._apply ee.batch.Export.table.toBigQuery ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.video.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toFeatureView ee.batch.Export.table.toDrive ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.Collection.prototype.map ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.filter ee.Collection.prototype.filterMetadata ee.Collection.prototype.sort ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.data.updateTask ee.data.authenticateViaPopup ee.data.getList ee.data.makeDownloadUrl ee.data.startProcessing ee.data.listAssets ee.data.authenticateViaPrivateKey ee.data.getTableDownloadId ee.data.makeTableDownloadUrl ee.data.updateAsset ee.data.newTaskId ee.data.listImages ee.data.setAssetAcl ee.data.getMapId ee.data.getTileUrl ee.data.listBuckets ee.data.setAssetProperties ee.data.getTaskStatus ee.data.getAssetRoots ee.data.getAssetRootQuota ee.data.createAssetHome ee.data.startIngestion ee.data.getTaskList ee.data.getFeatureViewTilesKey ee.data.makeThumbUrl ee.data.createAsset ee.data.setWorkloadTag ee.data.getTaskListWithLimit ee.data.createFolder ee.data.listOperations ee.data.setDefaultWorkloadTag ee.data.listFeatures ee.data.resetWorkloadTag ee.data.getWorkloadTag ee.data.cancelOperation ee.data.computeValue ee.data.renameAsset ee.data.startTableIngestion ee.data.authenticateViaOauth ee.data.getVideoThumbId ee.data.getThumbId ee.data.copyAsset ee.data.getAssetAcl ee.data.getOperation ee.data.getAsset ee.data.deleteAsset ee.data.getFilmstripThumbId ee.data.cancelTask ee.data.authenticate ee.data.getInfo ee.data.getDownloadId ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.call ee.apply ee.TILE_SIZE ee.initialize ee.Algorithms ee.reset ee.InitState ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getMapId ee.Filter.eq ee.Filter.date ee.Filter.neq ee.Filter.metadata ee.Filter.inList ee.Filter.lte ee.Filter.lt ee.Filter.prototype.not ee.Filter.and ee.Filter.gte ee.Filter ee.Filter.bounds ee.Filter.or ee.Filter.gt ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry ee.Geometry.MultiPolygon ee.Geometry.MultiPoint ee.Geometry.BBox ee.Geometry.MultiLineString ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSONString ee.Geometry.prototype.serialize ee.Geometry.Point ee.Image.rgb ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.cat ee.Image.prototype.select ee.Image.prototype.expression ee.Image ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.Image.prototype.rename ee.Image.prototype.getDownloadURL ee.Image.prototype.getMap ee.Image.prototype.clip ee.ImageCollection ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.toCloudApiJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.toJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.encodeCloudApi ee.String ee.Terrain".split(" "),
|
|
27278
|
+
orderedParamLists = [["name"], ["name", "var_args"], ["name", "namedArgs"], "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27279
|
+
"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(" "), ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
27280
|
+
"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
27281
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["algorithm", "opt_dropNulls"], ["start", "opt_end"], ["algorithm", "opt_first"], ["geometry"], ["max", "opt_property", "opt_ascending"], ["filter"], ["name", "operator", "value"], ["property", "opt_ascending"], ["callback"], ["legacy"], ["func", "var_args"], ["opt_callback"], ["taskId", "action", "opt_callback"], ["opt_success", "opt_error"], ["params", "opt_callback"],
|
|
27282
|
+
["id"], ["taskId", "params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["params", "opt_callback"], ["id"], ["assetId", "asset", "updateFields", "opt_callback"], ["opt_count", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["params", "opt_callback"], ["id", "x", "y", "z"], ["project", "opt_callback"], ["assetId", "properties", "opt_callback"],
|
|
27283
|
+
["taskId", "opt_callback"], ["opt_callback"], ["rootId", "opt_callback"], ["requestedId", "opt_callback"], ["taskId", "request", "opt_callback"], ["opt_callback"], ["params", "opt_callback"], ["id"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["tag"], ["opt_limit", "opt_callback"], ["path", "opt_force", "opt_callback"], ["opt_limit", "opt_callback"], ["tag"], ["asset", "params", "opt_callback"], ["opt_resetDefault"], [], ["operationName", "opt_callback"], ["obj", "opt_callback"],
|
|
27284
|
+
["sourceId", "destinationId", "opt_callback"], ["taskId", "request", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["params", "opt_callback"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["assetId", "opt_callback"], ["operationName", "opt_callback"], ["id", "opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["clientId", "success",
|
|
27285
|
+
"opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["id", "opt_callback"], ["params", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], ["func", "var_args"], ["func", "namedArgs"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], [], [], ["var_args"], [], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_callback"], ["opt_format",
|
|
27286
|
+
"opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["name", "value"], ["start", "opt_end"], ["name", "value"], ["name", "operator", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["name", "value"], [], ["var_args"], ["name", "value"], ["opt_filter"], ["geometry", "opt_errorMargin"],
|
|
27287
|
+
["var_args"], ["name", "value"], ["var_args"], ["namedArgs"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj"], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords",
|
|
27288
|
+
"opt_proj", "opt_geodesic", "opt_maxError"], [], ["legacy"], ["coords", "opt_proj"], ["r", "g", "b"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["var_args"], ["var_args"], ["expression", "opt_map"], ["opt_args"], ["params", "opt_callback"], ["params", "opt_callback"], ["var_args"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry"], ["args"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["opt_visParams",
|
|
27289
|
+
"opt_callback"], ["selectors", "opt_names"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["string"], []];
|
|
27290
|
+
[ee.ApiFunction.lookup, ee.ApiFunction._call, ee.ApiFunction._apply, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.image.toAsset,
|
|
27291
|
+
module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, ee.Collection.prototype.map, ee.Collection.prototype.filterDate, ee.Collection.prototype.iterate, ee.Collection.prototype.filterBounds, ee.Collection.prototype.limit, ee.Collection.prototype.filter, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.sort, ee.ComputedObject.prototype.evaluate,
|
|
27292
|
+
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.getInfo, ee.data.updateTask, ee.data.authenticateViaPopup, ee.data.getList, ee.data.makeDownloadUrl, ee.data.startProcessing, ee.data.listAssets, ee.data.authenticateViaPrivateKey, ee.data.getTableDownloadId, ee.data.makeTableDownloadUrl, ee.data.updateAsset, ee.data.newTaskId, ee.data.listImages, ee.data.setAssetAcl, ee.data.getMapId, ee.data.getTileUrl, ee.data.listBuckets, ee.data.setAssetProperties,
|
|
27293
|
+
ee.data.getTaskStatus, ee.data.getAssetRoots, ee.data.getAssetRootQuota, ee.data.createAssetHome, ee.data.startIngestion, ee.data.getTaskList, ee.data.getFeatureViewTilesKey, ee.data.makeThumbUrl, ee.data.createAsset, ee.data.setWorkloadTag, ee.data.getTaskListWithLimit, ee.data.createFolder, ee.data.listOperations, ee.data.setDefaultWorkloadTag, ee.data.listFeatures, ee.data.resetWorkloadTag, ee.data.getWorkloadTag, ee.data.cancelOperation, ee.data.computeValue, ee.data.renameAsset, ee.data.startTableIngestion,
|
|
27294
|
+
ee.data.authenticateViaOauth, ee.data.getVideoThumbId, ee.data.getThumbId, ee.data.copyAsset, ee.data.getAssetAcl, ee.data.getOperation, ee.data.getAsset, ee.data.deleteAsset, ee.data.getFilmstripThumbId, ee.data.cancelTask, ee.data.authenticate, ee.data.getInfo, ee.data.getDownloadId, ee.Date, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Dictionary, ee.call, ee.apply, ee.TILE_SIZE, ee.initialize, ee.Algorithms, ee.reset,
|
|
27295
|
+
ee.InitState, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.FeatureCollection.prototype.getMapId, ee.Filter.eq, ee.Filter.date, ee.Filter.neq, ee.Filter.metadata, ee.Filter.inList, ee.Filter.lte, ee.Filter.lt,
|
|
27296
|
+
ee.Filter.prototype.not, ee.Filter.and, ee.Filter.gte, ee.Filter, ee.Filter.bounds, ee.Filter.or, ee.Filter.gt, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry, ee.Geometry.MultiPolygon, ee.Geometry.MultiPoint, ee.Geometry.BBox, ee.Geometry.MultiLineString, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSON, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.prototype.serialize, ee.Geometry.Point, ee.Image.rgb,
|
|
27297
|
+
ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.cat, ee.Image.prototype.select, ee.Image.prototype.expression, ee.Image, ee.Image.prototype.getThumbId, ee.Image.prototype.getThumbURL, ee.Image.prototype.rename, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getMap, ee.Image.prototype.clip, ee.ImageCollection, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getInfo,
|
|
27298
|
+
ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.List, ee.Number, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.toJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.encodeCloudApi, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27274
27299
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27275
27300
|
});
|
|
27276
27301
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|