@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/main.js
CHANGED
|
@@ -1315,8 +1315,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1315
1315
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1316
1316
|
};
|
|
1317
1317
|
}, "es8", "es3");
|
|
1318
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__enable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__enable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1,
|
|
1319
|
-
GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1318
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__enable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__enable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1, GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__enable:!1,
|
|
1319
|
+
GoogFlags__jspb_use_constant_default_pivot__enable:!1, GoogFlags__optimize_get_ei_from_ved__enable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1320
1320
|
/*
|
|
1321
1321
|
|
|
1322
1322
|
Copyright The Closure Library Authors.
|
|
@@ -2209,9 +2209,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2209
2209
|
};
|
|
2210
2210
|
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;
|
|
2211
2211
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2212
|
-
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$
|
|
2213
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2214
|
-
var key = $jscomp$key$
|
|
2212
|
+
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 =
|
|
2213
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2214
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2215
2215
|
if (value != null) {
|
|
2216
2216
|
var copy = void 0;
|
|
2217
2217
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2222,11 +2222,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2222
2222
|
} else if (objects.hasOwnProperty(key)) {
|
|
2223
2223
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2224
2224
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2225
|
-
$jscomp$loop$
|
|
2225
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2226
2226
|
return function(v) {
|
|
2227
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2227
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2228
2228
|
};
|
|
2229
|
-
}($jscomp$loop$
|
|
2229
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2230
2230
|
} else if (Array.isArray(value)) {
|
|
2231
2231
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2232
2232
|
continue;
|
|
@@ -2241,8 +2241,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2241
2241
|
return target;
|
|
2242
2242
|
}
|
|
2243
2243
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2244
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2245
|
-
var mapKey = $jscomp$key$
|
|
2244
|
+
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()) {
|
|
2245
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2246
2246
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2247
2247
|
}
|
|
2248
2248
|
return objMap;
|
|
@@ -2272,39 +2272,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2272
2272
|
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))) {
|
|
2273
2273
|
return !1;
|
|
2274
2274
|
}
|
|
2275
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2276
|
-
var key = $jscomp$key$
|
|
2275
|
+
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()) {
|
|
2276
|
+
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);
|
|
2277
2277
|
if (has1 !== has2) {
|
|
2278
2278
|
return !1;
|
|
2279
2279
|
}
|
|
2280
2280
|
if (has1) {
|
|
2281
2281
|
var value1 = serializable1.Serializable$get(key);
|
|
2282
|
-
$jscomp$loop$
|
|
2282
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2283
2283
|
if (arrays1.hasOwnProperty(key)) {
|
|
2284
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2284
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2285
2285
|
return !1;
|
|
2286
2286
|
}
|
|
2287
2287
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2288
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2288
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2289
2289
|
return !1;
|
|
2290
2290
|
}
|
|
2291
2291
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2292
|
-
if ($jscomp$loop$
|
|
2293
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2292
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2293
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2294
2294
|
return function(v1, i) {
|
|
2295
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2295
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2296
2296
|
};
|
|
2297
|
-
}($jscomp$loop$
|
|
2297
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2298
2298
|
return !1;
|
|
2299
2299
|
}
|
|
2300
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2300
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2301
2301
|
return !1;
|
|
2302
2302
|
}
|
|
2303
2303
|
} else if (Array.isArray(value1)) {
|
|
2304
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2304
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2305
2305
|
return !1;
|
|
2306
2306
|
}
|
|
2307
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2307
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2308
2308
|
return !1;
|
|
2309
2309
|
}
|
|
2310
2310
|
}
|
|
@@ -2326,8 +2326,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2326
2326
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2327
2327
|
return !1;
|
|
2328
2328
|
}
|
|
2329
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2330
|
-
var mapKey = $jscomp$key$
|
|
2329
|
+
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()) {
|
|
2330
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2331
2331
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2332
2332
|
return !1;
|
|
2333
2333
|
}
|
|
@@ -2408,15 +2408,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2408
2408
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2409
2409
|
};
|
|
2410
2410
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2411
|
-
var $jscomp$this$
|
|
2411
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2412
2412
|
payload += this._metadataPayload;
|
|
2413
2413
|
return Promise.all(this.files.map(function(f) {
|
|
2414
|
-
return $jscomp$this$
|
|
2414
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2415
2415
|
})).then(function(filePayloads) {
|
|
2416
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2417
|
-
payload += $jscomp$key$
|
|
2416
|
+
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()) {
|
|
2417
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2418
2418
|
}
|
|
2419
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2419
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2420
2420
|
});
|
|
2421
2421
|
};
|
|
2422
2422
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2928,8 +2928,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2928
2928
|
throw Error(message);
|
|
2929
2929
|
}
|
|
2930
2930
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2931
|
-
var $jscomp$templatelit$
|
|
2932
|
-
["\\0"]), $jscomp$templatelit$
|
|
2931
|
+
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"],
|
|
2932
|
+
["\\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"};
|
|
2933
2933
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2934
2934
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2935
2935
|
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 ##############################");
|
|
@@ -2943,14 +2943,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2943
2943
|
return fn.toString().indexOf("`") === -1;
|
|
2944
2944
|
}
|
|
2945
2945
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2946
|
-
return tag($jscomp$templatelit$
|
|
2946
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
2947
2947
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2948
|
-
return tag($jscomp$templatelit$
|
|
2948
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
2949
2949
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2950
|
-
return tag($jscomp$templatelit$
|
|
2950
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
2951
2951
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2952
|
-
return tag($jscomp$templatelit$
|
|
2953
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2952
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
2953
|
+
}), 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);
|
|
2954
2954
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2955
2955
|
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)) ?
|
|
2956
2956
|
!0 : !1;
|
|
@@ -3027,7 +3027,7 @@ module$exports$safevalues$builders$url_builders.SanitizableUrlScheme = {TEL:modu
|
|
|
3027
3027
|
}), 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"),
|
|
3028
3028
|
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) {
|
|
3029
3029
|
return url.indexOf("sip:") === 0 || url.indexOf("sips:") === 0;
|
|
3030
|
-
}), 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")};
|
|
3030
|
+
}), 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")};
|
|
3031
3031
|
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,
|
|
3032
3032
|
module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.FTP, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.RELATIVE];
|
|
3033
3033
|
function module$contents$safevalues$builders$url_builders_trySanitizeUrl(url, allowedSchemes) {
|
|
@@ -3276,9 +3276,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3276
3276
|
}
|
|
3277
3277
|
}
|
|
3278
3278
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3279
|
-
var $jscomp$tmp$error$
|
|
3280
|
-
this.message = $jscomp$tmp$error$
|
|
3281
|
-
"stack" in $jscomp$tmp$error$
|
|
3279
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3280
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
3281
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
3282
3282
|
this.type = type;
|
|
3283
3283
|
this.intent = intent;
|
|
3284
3284
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3374,7 +3374,7 @@ function module$contents$safevalues$dom$globals$window_getStyleNonce(doc) {
|
|
|
3374
3374
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3375
3375
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, doc) {
|
|
3376
3376
|
doc = doc === void 0 ? document : doc;
|
|
3377
|
-
var $jscomp$optchain$
|
|
3377
|
+
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]");
|
|
3378
3378
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3379
3379
|
}
|
|
3380
3380
|
;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"};
|
|
@@ -4806,9 +4806,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4806
4806
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4807
4807
|
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"};
|
|
4808
4808
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4809
|
-
var $jscomp$tmp$error$
|
|
4810
|
-
this.message = $jscomp$tmp$error$
|
|
4811
|
-
"stack" in $jscomp$tmp$error$
|
|
4809
|
+
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.");
|
|
4810
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
4811
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
4812
4812
|
this.url = url;
|
|
4813
4813
|
this.typeName = typeName;
|
|
4814
4814
|
this.contentType = contentType;
|
|
@@ -4820,48 +4820,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4820
4820
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4821
4821
|
}
|
|
4822
4822
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4823
|
-
var response, $jscomp$optchain$
|
|
4824
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4825
|
-
if ($jscomp$generator$context$
|
|
4826
|
-
return $jscomp$generator$context$
|
|
4827
|
-
}
|
|
4828
|
-
response = $jscomp$generator$context$
|
|
4829
|
-
mimeType = ($jscomp$optchain$
|
|
4830
|
-
return $jscomp$generator$context$
|
|
4823
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
4824
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
4825
|
+
if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
|
|
4826
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4827
|
+
}
|
|
4828
|
+
response = $jscomp$generator$context$1153895636$29.yieldResult;
|
|
4829
|
+
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();
|
|
4830
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
4831
4831
|
var text;
|
|
4832
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4833
|
-
if ($jscomp$generator$context$
|
|
4832
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
4833
|
+
if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
|
|
4834
4834
|
if (mimeType !== "text/html") {
|
|
4835
4835
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4836
4836
|
}
|
|
4837
|
-
return $jscomp$generator$context$
|
|
4837
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
4838
4838
|
}
|
|
4839
|
-
text = $jscomp$generator$context$
|
|
4840
|
-
return $jscomp$generator$context$
|
|
4839
|
+
text = $jscomp$generator$context$1153895636$26.yieldResult;
|
|
4840
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4841
4841
|
});
|
|
4842
4842
|
}, script:function() {
|
|
4843
4843
|
var text;
|
|
4844
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4845
|
-
if ($jscomp$generator$context$
|
|
4844
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
4845
|
+
if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
|
|
4846
4846
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4847
4847
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4848
4848
|
}
|
|
4849
|
-
return $jscomp$generator$context$
|
|
4849
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
4850
4850
|
}
|
|
4851
|
-
text = $jscomp$generator$context$
|
|
4852
|
-
return $jscomp$generator$context$
|
|
4851
|
+
text = $jscomp$generator$context$1153895636$27.yieldResult;
|
|
4852
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4853
4853
|
});
|
|
4854
4854
|
}, styleSheet:function() {
|
|
4855
4855
|
var text;
|
|
4856
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4857
|
-
if ($jscomp$generator$context$
|
|
4856
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
4857
|
+
if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
|
|
4858
4858
|
if (mimeType !== "text/css") {
|
|
4859
4859
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4860
4860
|
}
|
|
4861
|
-
return $jscomp$generator$context$
|
|
4861
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
4862
4862
|
}
|
|
4863
|
-
text = $jscomp$generator$context$
|
|
4864
|
-
return $jscomp$generator$context$
|
|
4863
|
+
text = $jscomp$generator$context$1153895636$28.yieldResult;
|
|
4864
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4865
4865
|
});
|
|
4866
4866
|
}});
|
|
4867
4867
|
});
|
|
@@ -6283,8 +6283,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6283
6283
|
}
|
|
6284
6284
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6285
6285
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6286
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6287
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6286
|
+
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()) {
|
|
6287
|
+
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;
|
|
6288
6288
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6289
6289
|
}
|
|
6290
6290
|
return urlQueryParams;
|
|
@@ -6295,8 +6295,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6295
6295
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6296
6296
|
if (params.headers) {
|
|
6297
6297
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6298
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6299
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6298
|
+
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()) {
|
|
6299
|
+
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;
|
|
6300
6300
|
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);
|
|
6301
6301
|
}
|
|
6302
6302
|
}
|
|
@@ -6336,9 +6336,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6336
6336
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6337
6337
|
};
|
|
6338
6338
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6339
|
-
var $jscomp$this$
|
|
6339
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6340
6340
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6341
|
-
return $jscomp$this$
|
|
6341
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
6342
6342
|
}));
|
|
6343
6343
|
};
|
|
6344
6344
|
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"};
|
|
@@ -6519,6 +6519,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native
|
|
|
6519
6519
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable = !1;
|
|
6520
6520
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_use_constant_default_pivot__enable = !1;
|
|
6521
6521
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable = !1;
|
|
6522
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__enable = !1;
|
|
6522
6523
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable = !1;
|
|
6523
6524
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
6524
6525
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
@@ -6536,6 +6537,7 @@ goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etogg
|
|
|
6536
6537
|
goog.flags.JSPB_DISALLOW_MESSAGE_TOJSON = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable : goog.readFlagInternalDoNotUseOrElse(722764542, goog.DEBUG);
|
|
6537
6538
|
goog.flags.JSPB_USE_CONSTANT_DEFAULT_PIVOT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_use_constant_default_pivot__enable : goog.readFlagInternalDoNotUseOrElse(748402145, goog.DEBUG);
|
|
6538
6539
|
goog.flags.JSPB_SERIALIZE_WITH_DYNAMIC_PIVOT_SELECTOR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable : goog.readFlagInternalDoNotUseOrElse(748402146, goog.DEBUG);
|
|
6540
|
+
goog.flags.JSPB_THROW_IN_ARRAY_CONSTRUCTOR_IF_ARRAY_IS_ALREADY_CONSTRUCTED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__enable : goog.readFlagInternalDoNotUseOrElse(748402147, goog.DEBUG);
|
|
6539
6541
|
goog.flags.OPTIMIZE_GET_EI_FROM_VED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable : goog.readFlagInternalDoNotUseOrElse(333098724, !1);
|
|
6540
6542
|
goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
|
|
6541
6543
|
goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
|
|
@@ -16209,8 +16211,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16209
16211
|
this.replacements = new Map();
|
|
16210
16212
|
};
|
|
16211
16213
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16212
|
-
var $jscomp$this$
|
|
16213
|
-
return $jscomp$this$
|
|
16214
|
+
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) {
|
|
16215
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
16214
16216
|
});
|
|
16215
16217
|
if (openedTags.length !== 0) {
|
|
16216
16218
|
if (goog.DEBUG) {
|
|
@@ -16428,8 +16430,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16428
16430
|
if (Array.isArray(token)) {
|
|
16429
16431
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16430
16432
|
} else {
|
|
16431
|
-
var $jscomp$optchain$
|
|
16432
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16433
|
+
var $jscomp$optchain$tmpm282935782$0 = void 0;
|
|
16434
|
+
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) {
|
|
16433
16435
|
tokens.push(token);
|
|
16434
16436
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16435
16437
|
return tokens;
|
|
@@ -16675,9 +16677,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16675
16677
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16676
16678
|
};
|
|
16677
16679
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16678
|
-
var $jscomp$this$
|
|
16680
|
+
var $jscomp$this$m282935782$26 = this;
|
|
16679
16681
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16680
|
-
return $jscomp$this$
|
|
16682
|
+
return $jscomp$this$m282935782$26.isWhitespace(c);
|
|
16681
16683
|
});
|
|
16682
16684
|
};
|
|
16683
16685
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16722,23 +16724,23 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16722
16724
|
function module$contents$safevalues$builders$html_sanitizer$css$tokenizer_tokenizeCss(css) {
|
|
16723
16725
|
return (new module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer(css)).tokenize();
|
|
16724
16726
|
}
|
|
16725
|
-
;var module$exports$safevalues$builders$html_sanitizer$
|
|
16726
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16727
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16728
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16729
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16730
|
-
function module$contents$safevalues$builders$html_sanitizer$
|
|
16727
|
+
;var module$exports$safevalues$builders$html_sanitizer$url_policy = {}, module$contents$safevalues$builders$html_sanitizer$url_policy_module = module$contents$safevalues$builders$html_sanitizer$url_policy_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/url_policy.closure.js"};
|
|
16728
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType = {STYLE_ELEMENT:0, STYLE_ATTRIBUTE:1, HTML_ATTRIBUTE:2};
|
|
16729
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.STYLE_ELEMENT] = "STYLE_ELEMENT";
|
|
16730
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.STYLE_ATTRIBUTE] = "STYLE_ATTRIBUTE";
|
|
16731
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE] = "HTML_ATTRIBUTE";
|
|
16732
|
+
function module$contents$safevalues$builders$html_sanitizer$url_policy_StyleElementOrAttributeUrlPolicyHints() {
|
|
16731
16733
|
}
|
|
16732
|
-
function module$contents$safevalues$builders$html_sanitizer$
|
|
16734
|
+
function module$contents$safevalues$builders$html_sanitizer$url_policy_HtmlAttributeUrlPolicyHints() {
|
|
16733
16735
|
}
|
|
16734
|
-
function module$contents$safevalues$builders$html_sanitizer$
|
|
16736
|
+
function module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(value) {
|
|
16735
16737
|
try {
|
|
16736
16738
|
return new URL(value, window.document.baseURI);
|
|
16737
16739
|
} catch (e) {
|
|
16738
16740
|
return new URL("about:invalid");
|
|
16739
16741
|
}
|
|
16740
16742
|
}
|
|
16741
|
-
module$exports$safevalues$builders$html_sanitizer$
|
|
16743
|
+
module$exports$safevalues$builders$html_sanitizer$url_policy.parseUrl = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl;
|
|
16742
16744
|
var module$exports$safevalues$builders$html_sanitizer$css$sanitizer = {}, module$contents$safevalues$builders$html_sanitizer$css$sanitizer_module = module$contents$safevalues$builders$html_sanitizer$css$sanitizer_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/sanitizer.closure.js"}, module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer =
|
|
16743
16745
|
function(propertyAllowlist, functionAllowlist, resourceUrlPolicy, allowKeyframes, propertyDiscarders) {
|
|
16744
16746
|
this.propertyAllowlist = propertyAllowlist;
|
|
@@ -16784,12 +16786,12 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16784
16786
|
return null;
|
|
16785
16787
|
}
|
|
16786
16788
|
if (token.lowercaseName === "url") {
|
|
16787
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16788
|
-
if ((($jscomp$optchain$
|
|
16789
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
|
|
16790
|
+
if ((($jscomp$optchain$tmpm1577590584$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1577590584$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16789
16791
|
return null;
|
|
16790
16792
|
}
|
|
16791
|
-
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$
|
|
16792
|
-
this.resourceUrlPolicy && (parsedUrl = this.resourceUrlPolicy(parsedUrl, {type:calledFromStyleElement ? module$exports$safevalues$builders$html_sanitizer$
|
|
16793
|
+
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(nextToken.value);
|
|
16794
|
+
this.resourceUrlPolicy && (parsedUrl = this.resourceUrlPolicy(parsedUrl, {type:calledFromStyleElement ? module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.STYLE_ELEMENT : module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.STYLE_ATTRIBUTE, propertyName:propertyName}));
|
|
16793
16795
|
if (!parsedUrl) {
|
|
16794
16796
|
return null;
|
|
16795
16797
|
}
|
|
@@ -16808,8 +16810,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16808
16810
|
if (!this.allowKeyframes) {
|
|
16809
16811
|
return null;
|
|
16810
16812
|
}
|
|
16811
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16812
|
-
var rule = $jscomp$key$
|
|
16813
|
+
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()) {
|
|
16814
|
+
var rule = $jscomp$key$m1577590584$1$rule.value;
|
|
16813
16815
|
if (rule instanceof CSSKeyframeRule) {
|
|
16814
16816
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16815
16817
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16821,8 +16823,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16821
16823
|
if (!this.propertyAllowlist.has(name)) {
|
|
16822
16824
|
return !1;
|
|
16823
16825
|
}
|
|
16824
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16825
|
-
var discarder = $jscomp$key$
|
|
16826
|
+
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()) {
|
|
16827
|
+
var discarder = $jscomp$key$m1577590584$2$discarder.value;
|
|
16826
16828
|
if (discarder(name)) {
|
|
16827
16829
|
return !1;
|
|
16828
16830
|
}
|
|
@@ -16837,8 +16839,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16837
16839
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16838
16840
|
};
|
|
16839
16841
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16840
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16841
|
-
var name = $jscomp$key$
|
|
16842
|
+
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()) {
|
|
16843
|
+
var name = $jscomp$key$m1577590584$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16842
16844
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16843
16845
|
}
|
|
16844
16846
|
return sanitizedProperties;
|
|
@@ -16852,8 +16854,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16852
16854
|
return selector + " { " + sanitizedProperties + " }";
|
|
16853
16855
|
};
|
|
16854
16856
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16855
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16856
|
-
var rule = $jscomp$key$
|
|
16857
|
+
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()) {
|
|
16858
|
+
var rule = $jscomp$key$m1577590584$4$rule.value;
|
|
16857
16859
|
if (rule instanceof CSSStyleRule) {
|
|
16858
16860
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16859
16861
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16928,7 +16930,7 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tabl
|
|
|
16928
16930
|
return attributeName.indexOf(prefix) === 0;
|
|
16929
16931
|
}) ? {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP} : {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP};
|
|
16930
16932
|
};
|
|
16931
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction = {DROP:0, KEEP:1, KEEP_AND_SANITIZE_URL:2, KEEP_AND_NORMALIZE:3, KEEP_AND_SANITIZE_STYLE:4, KEEP_AND_USE_RESOURCE_URL_POLICY:5, KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:6};
|
|
16933
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction = {DROP:0, KEEP:1, KEEP_AND_SANITIZE_URL:2, KEEP_AND_NORMALIZE:3, KEEP_AND_SANITIZE_STYLE:4, KEEP_AND_USE_RESOURCE_URL_POLICY:5, KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:6, KEEP_AND_USE_NAVIGATION_URL_POLICY:7};
|
|
16932
16934
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP] = "DROP";
|
|
16933
16935
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP] = "KEEP";
|
|
16934
16936
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL] = "KEEP_AND_SANITIZE_URL";
|
|
@@ -16936,6 +16938,7 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_tabl
|
|
|
16936
16938
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE] = "KEEP_AND_SANITIZE_STYLE";
|
|
16937
16939
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY] = "KEEP_AND_USE_RESOURCE_URL_POLICY";
|
|
16938
16940
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET] = "KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET";
|
|
16941
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction[module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_NAVIGATION_URL_POLICY] = "KEEP_AND_USE_NAVIGATION_URL_POLICY";
|
|
16939
16942
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicy = function() {
|
|
16940
16943
|
};
|
|
16941
16944
|
var module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_FORBIDDEN_CUSTOM_ELEMENT_NAMES = new Set("ANNOTATION-XML COLOR-PROFILE FONT-FACE FONT-FACE-SRC FONT-FACE-URI FONT-FACE-FORMAT FONT-FACE-NAME MISSING-GLYPH".split(" "));
|
|
@@ -16945,7 +16948,7 @@ function module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sani
|
|
|
16945
16948
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.isCustomElement = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_isCustomElement;
|
|
16946
16949
|
var module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table = {}, module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/sanitizer_table/default_sanitizer_table.closure.js"},
|
|
16947
16950
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS = "ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR NOBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "),
|
|
16948
|
-
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES = [["A", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.
|
|
16951
|
+
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES = [["A", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_NAVIGATION_URL_POLICY}]])], ["AREA", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_NAVIGATION_URL_POLICY}]])],
|
|
16949
16952
|
["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY, conditions:new Map([["rel", new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])], ["SOURCE", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}],
|
|
16950
16953
|
["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])], ["IMG", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}], ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])],
|
|
16951
16954
|
["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])], ["AUDIO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])]], module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES =
|
|
@@ -16979,11 +16982,12 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizer =
|
|
|
16979
16982
|
};
|
|
16980
16983
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.CssSanitizer = function() {
|
|
16981
16984
|
};
|
|
16982
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy, openShadow) {
|
|
16985
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy, navigationUrlPolicy, openShadow) {
|
|
16983
16986
|
this.sanitizerTable = sanitizerTable;
|
|
16984
16987
|
this.styleElementSanitizer = styleElementSanitizer;
|
|
16985
16988
|
this.styleAttributeSanitizer = styleAttributeSanitizer;
|
|
16986
16989
|
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16990
|
+
this.navigationUrlPolicy = navigationUrlPolicy;
|
|
16987
16991
|
this.openShadow = openShadow;
|
|
16988
16992
|
this.changes = [];
|
|
16989
16993
|
module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
@@ -17015,8 +17019,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17015
17019
|
return fragment;
|
|
17016
17020
|
};
|
|
17017
17021
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
17018
|
-
for (var $jscomp$this$
|
|
17019
|
-
return $jscomp$this$
|
|
17022
|
+
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) {
|
|
17023
|
+
return $jscomp$this$m1085474118$13.nodeFilter(n);
|
|
17020
17024
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
17021
17025
|
var sanitizedNode = void 0;
|
|
17022
17026
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -17051,18 +17055,18 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17051
17055
|
return this.createTextNode(textNode.data);
|
|
17052
17056
|
};
|
|
17053
17057
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
17054
|
-
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$
|
|
17055
|
-
var $jscomp$destructuring$var30 = $jscomp$key$
|
|
17058
|
+
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()) {
|
|
17059
|
+
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);
|
|
17056
17060
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
17057
17061
|
switch(policy.policyAction) {
|
|
17058
17062
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
17059
17063
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
17060
17064
|
break;
|
|
17061
17065
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL:
|
|
17062
|
-
|
|
17063
|
-
|
|
17064
|
-
|
|
17065
|
-
|
|
17066
|
+
if (goog.DEBUG) {
|
|
17067
|
+
throw Error("All KEEP_AND_SANITIZE_URL cases in the safevalues sanitizer should go through the navigation or resource url policy cases. Got " + name + " on element " + elementName + ".");
|
|
17068
|
+
}
|
|
17069
|
+
throw Error();
|
|
17066
17070
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE:
|
|
17067
17071
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value.toLowerCase());
|
|
17068
17072
|
break;
|
|
@@ -17076,7 +17080,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17076
17080
|
break;
|
|
17077
17081
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY:
|
|
17078
17082
|
if (this.resourceUrlPolicy) {
|
|
17079
|
-
var hints = {type:module$exports$safevalues$builders$html_sanitizer$
|
|
17083
|
+
var hints = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, url = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(value), sanitizedUrl = this.resourceUrlPolicy(url, hints);
|
|
17080
17084
|
sanitizedUrl && module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, sanitizedUrl.toString());
|
|
17081
17085
|
} else {
|
|
17082
17086
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
@@ -17084,9 +17088,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17084
17088
|
break;
|
|
17085
17089
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
17086
17090
|
if (this.resourceUrlPolicy) {
|
|
17087
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$
|
|
17091
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1085474118$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1085474118$33$part.done; $jscomp$key$m1085474118$33$part =
|
|
17088
17092
|
$jscomp$iter$35.next()) {
|
|
17089
|
-
var part = $jscomp$key$
|
|
17093
|
+
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);
|
|
17090
17094
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
17091
17095
|
}
|
|
17092
17096
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -17094,6 +17098,20 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17094
17098
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, value);
|
|
17095
17099
|
}
|
|
17096
17100
|
break;
|
|
17101
|
+
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_NAVIGATION_URL_POLICY:
|
|
17102
|
+
var attrUrl = value;
|
|
17103
|
+
if (this.navigationUrlPolicy) {
|
|
17104
|
+
var hints$jscomp$1 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, url$jscomp$1 = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(value), policyUrl = this.navigationUrlPolicy(url$jscomp$1, hints$jscomp$1);
|
|
17105
|
+
if (policyUrl === null) {
|
|
17106
|
+
this.recordChange("Url in attribute " + name + ' was blocked during sanitization. Original url:"' + value + '"');
|
|
17107
|
+
break;
|
|
17108
|
+
}
|
|
17109
|
+
attrUrl = policyUrl.toString();
|
|
17110
|
+
}
|
|
17111
|
+
attrUrl = module$contents$safevalues$builders$url_builders_restrictivelySanitizeUrl(attrUrl);
|
|
17112
|
+
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, attrUrl);
|
|
17113
|
+
attrUrl !== value && this.recordChange("Url in attribute " + name + ' was modified during sanitization. Original url:"' + value + '" was sanitized to: "' + attrUrl + '"');
|
|
17114
|
+
break;
|
|
17097
17115
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.DROP:
|
|
17098
17116
|
this.recordChange("Attribute: " + name + " was dropped");
|
|
17099
17117
|
break;
|
|
@@ -17130,8 +17148,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17130
17148
|
if (!conditions) {
|
|
17131
17149
|
return !0;
|
|
17132
17150
|
}
|
|
17133
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
17134
|
-
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17151
|
+
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()) {
|
|
17152
|
+
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;
|
|
17135
17153
|
if (value && !expectedValues.has(value)) {
|
|
17136
17154
|
return !1;
|
|
17137
17155
|
}
|
|
@@ -17146,8 +17164,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
17146
17164
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
17147
17165
|
};
|
|
17148
17166
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
17149
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
17150
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17167
|
+
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()) {
|
|
17168
|
+
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;
|
|
17151
17169
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
17152
17170
|
}
|
|
17153
17171
|
return {parts:parts};
|
|
@@ -17204,8 +17222,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17204
17222
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17205
17223
|
};
|
|
17206
17224
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17207
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17208
|
-
var element = $jscomp$key$
|
|
17225
|
+
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()) {
|
|
17226
|
+
var element = $jscomp$key$435282654$23$element.value;
|
|
17209
17227
|
element = element.toUpperCase();
|
|
17210
17228
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17211
17229
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17223,8 +17241,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17223
17241
|
throw Error("Element: " + element + " is not a custom element");
|
|
17224
17242
|
}
|
|
17225
17243
|
if (allowedAttributes) {
|
|
17226
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17227
|
-
elementPolicy.set($jscomp$key$
|
|
17244
|
+
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()) {
|
|
17245
|
+
elementPolicy.set($jscomp$key$435282654$24$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17228
17246
|
}
|
|
17229
17247
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17230
17248
|
} else {
|
|
@@ -17234,15 +17252,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17234
17252
|
return this;
|
|
17235
17253
|
};
|
|
17236
17254
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17237
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17238
|
-
var attribute = $jscomp$key$
|
|
17255
|
+
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()) {
|
|
17256
|
+
var attribute = $jscomp$key$435282654$25$attribute.value;
|
|
17239
17257
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17240
17258
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17241
17259
|
}
|
|
17242
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17243
|
-
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17260
|
+
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()) {
|
|
17261
|
+
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$ =
|
|
17244
17262
|
$jscomp$iter$42.next()) {
|
|
17245
|
-
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17263
|
+
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;
|
|
17246
17264
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17247
17265
|
}
|
|
17248
17266
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17257,8 +17275,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17257
17275
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies, globallyAllowedAttributePrefixes);
|
|
17258
17276
|
return this;
|
|
17259
17277
|
}
|
|
17260
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17261
|
-
var attribute = $jscomp$key$
|
|
17278
|
+
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()) {
|
|
17279
|
+
var attribute = $jscomp$key$435282654$28$attribute.value;
|
|
17262
17280
|
if (attribute.indexOf("data-") !== 0) {
|
|
17263
17281
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17264
17282
|
}
|
|
@@ -17295,6 +17313,10 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17295
17313
|
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
17296
17314
|
return this;
|
|
17297
17315
|
};
|
|
17316
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.withNavigationUrlPolicy = function(navigationUrlPolicy) {
|
|
17317
|
+
this.navigationUrlPolicy = navigationUrlPolicy;
|
|
17318
|
+
return this;
|
|
17319
|
+
};
|
|
17298
17320
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder = function() {
|
|
17299
17321
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.apply(this, arguments);
|
|
17300
17322
|
};
|
|
@@ -17304,7 +17326,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
17304
17326
|
throw Error("this sanitizer has already called build");
|
|
17305
17327
|
}
|
|
17306
17328
|
this.calledBuild = !0;
|
|
17307
|
-
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, void 0, void 0, this.resourceUrlPolicy);
|
|
17329
|
+
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, void 0, void 0, this.resourceUrlPolicy, this.navigationUrlPolicy);
|
|
17308
17330
|
};
|
|
17309
17331
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder = function() {
|
|
17310
17332
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.apply(this, arguments);
|
|
@@ -17324,7 +17346,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17324
17346
|
return this;
|
|
17325
17347
|
};
|
|
17326
17348
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17327
|
-
var $jscomp$this$
|
|
17349
|
+
var $jscomp$this$435282654$19 = this;
|
|
17328
17350
|
this.extendSanitizerTableForCss();
|
|
17329
17351
|
var propertyDiscarders = [];
|
|
17330
17352
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17334,10 +17356,10 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17334
17356
|
return /^transition(-|$)/.test(property);
|
|
17335
17357
|
});
|
|
17336
17358
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17337
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
17359
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$19.resourceUrlPolicy, $jscomp$this$435282654$19.animationsAllowed, propertyDiscarders);
|
|
17338
17360
|
}, function(cssText) {
|
|
17339
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
17340
|
-
}, this.resourceUrlPolicy, this.openShadow);
|
|
17361
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$19.resourceUrlPolicy, propertyDiscarders);
|
|
17362
|
+
}, this.resourceUrlPolicy, this.navigationUrlPolicy, this.openShadow);
|
|
17341
17363
|
};
|
|
17342
17364
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
17343
17365
|
var allowedElements = new Set(this.sanitizerTable.allowedElements), allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), globalAttributePolicies = new Map(this.sanitizerTable.globalAttributePolicies);
|
|
@@ -17556,12 +17578,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17556
17578
|
}
|
|
17557
17579
|
try {
|
|
17558
17580
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17559
|
-
} catch ($jscomp$unused$catch$
|
|
17581
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
17560
17582
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17561
17583
|
}
|
|
17562
17584
|
try {
|
|
17563
17585
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17564
|
-
} catch ($jscomp$unused$catch$
|
|
17586
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
17565
17587
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17566
17588
|
}
|
|
17567
17589
|
return !1;
|
|
@@ -17605,7 +17627,8 @@ module$exports$safevalues$index.sanitizeHtmlAssertUnchanged = module$contents$sa
|
|
|
17605
17627
|
module$exports$safevalues$index.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
17606
17628
|
module$exports$safevalues$index.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
17607
17629
|
module$exports$safevalues$index.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
17608
|
-
module$exports$safevalues$index.
|
|
17630
|
+
module$exports$safevalues$index.UrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType;
|
|
17631
|
+
module$exports$safevalues$index.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType;
|
|
17609
17632
|
module$exports$safevalues$index.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
17610
17633
|
module$exports$safevalues$index.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
17611
17634
|
module$exports$safevalues$index.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
@@ -17674,7 +17697,10 @@ safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
|
17674
17697
|
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
17675
17698
|
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
17676
17699
|
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
17677
|
-
safevalues.
|
|
17700
|
+
safevalues.UrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType;
|
|
17701
|
+
safevalues.UrlPolicy = module$exports$safevalues$index.UrlPolicy;
|
|
17702
|
+
safevalues.UrlPolicyHints = module$exports$safevalues$index.UrlPolicyHints;
|
|
17703
|
+
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType;
|
|
17678
17704
|
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
17679
17705
|
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
17680
17706
|
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
@@ -19428,7 +19454,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19428
19454
|
ee.apiclient = {};
|
|
19429
19455
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19430
19456
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19431
|
-
ee.apiclient.API_CLIENT_VERSION = "1.
|
|
19457
|
+
ee.apiclient.API_CLIENT_VERSION = "1.6.0";
|
|
19432
19458
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19433
19459
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19434
19460
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19726,8 +19752,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19726
19752
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19727
19753
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19728
19754
|
method = method || "POST";
|
|
19729
|
-
var headers = {"Content-Type":contentType}, version = "1.
|
|
19730
|
-
version === "1.
|
|
19755
|
+
var headers = {"Content-Type":contentType}, version = "1.6.0";
|
|
19756
|
+
version === "1.6.0" && (version = "latest");
|
|
19731
19757
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19732
19758
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19733
19759
|
if (authToken != null) {
|
|
@@ -27250,29 +27276,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27250
27276
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27251
27277
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27252
27278
|
(function() {
|
|
27253
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27254
|
-
orderedParamLists = [["name", "
|
|
27255
|
-
"
|
|
27256
|
-
"
|
|
27257
|
-
"
|
|
27258
|
-
"
|
|
27259
|
-
["
|
|
27260
|
-
["
|
|
27261
|
-
"
|
|
27262
|
-
|
|
27263
|
-
["
|
|
27264
|
-
|
|
27265
|
-
"
|
|
27266
|
-
|
|
27267
|
-
|
|
27268
|
-
|
|
27269
|
-
ee.
|
|
27270
|
-
ee.data.authenticateViaOauth, ee.data.
|
|
27271
|
-
ee.
|
|
27272
|
-
ee.
|
|
27273
|
-
ee.
|
|
27274
|
-
ee.
|
|
27275
|
-
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) {
|
|
27279
|
+
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(" "),
|
|
27280
|
+
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(" "),
|
|
27281
|
+
"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(" "),
|
|
27282
|
+
"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(" "),
|
|
27283
|
+
"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"],
|
|
27284
|
+
["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"],
|
|
27285
|
+
["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"],
|
|
27286
|
+
["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",
|
|
27287
|
+
"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",
|
|
27288
|
+
"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"],
|
|
27289
|
+
["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",
|
|
27290
|
+
"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",
|
|
27291
|
+
"opt_callback"], ["selectors", "opt_names"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["string"], []];
|
|
27292
|
+
[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,
|
|
27293
|
+
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,
|
|
27294
|
+
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,
|
|
27295
|
+
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,
|
|
27296
|
+
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,
|
|
27297
|
+
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,
|
|
27298
|
+
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,
|
|
27299
|
+
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,
|
|
27300
|
+
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) {
|
|
27276
27301
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27277
27302
|
});
|
|
27278
27303
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|