@google/earthengine 1.7.21 → 1.7.22
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 +143 -119
- package/build/ee_api_js.js +579 -578
- package/build/ee_api_js_debug.js +143 -119
- package/build/ee_api_js_npm.js +143 -119
- package/build/main.js +143 -119
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/main.js
CHANGED
|
@@ -2284,9 +2284,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2284
2284
|
};
|
|
2285
2285
|
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;
|
|
2286
2286
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2287
|
-
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$
|
|
2288
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2289
|
-
var key = $jscomp$key$
|
|
2287
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$m192531680$40$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$44 = {}; !$jscomp$key$m192531680$40$key.done; $jscomp$loop$m192531680$44 =
|
|
2288
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2289
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2290
2290
|
if (value != null) {
|
|
2291
2291
|
var copy = void 0;
|
|
2292
2292
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2297,11 +2297,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2297
2297
|
} else if (objects.hasOwnProperty(key)) {
|
|
2298
2298
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2299
2299
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2300
|
-
$jscomp$loop$
|
|
2300
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2301
2301
|
return function(v) {
|
|
2302
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2302
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2303
2303
|
};
|
|
2304
|
-
}($jscomp$loop$
|
|
2304
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2305
2305
|
} else if (Array.isArray(value)) {
|
|
2306
2306
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2307
2307
|
continue;
|
|
@@ -2316,8 +2316,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2316
2316
|
return target;
|
|
2317
2317
|
}
|
|
2318
2318
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2319
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2320
|
-
var mapKey = $jscomp$key$
|
|
2319
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m192531680$41$mapKey.done; $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next()) {
|
|
2320
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2321
2321
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2322
2322
|
}
|
|
2323
2323
|
return objMap;
|
|
@@ -2347,39 +2347,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2347
2347
|
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))) {
|
|
2348
2348
|
return !1;
|
|
2349
2349
|
}
|
|
2350
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2351
|
-
var key = $jscomp$key$
|
|
2350
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m192531680$42$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$45 = {}; !$jscomp$key$m192531680$42$key.done; $jscomp$loop$m192531680$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m192531680$42$key = $jscomp$iter$21.next()) {
|
|
2351
|
+
var key = $jscomp$key$m192531680$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2352
2352
|
if (has1 !== has2) {
|
|
2353
2353
|
return !1;
|
|
2354
2354
|
}
|
|
2355
2355
|
if (has1) {
|
|
2356
2356
|
var value1 = serializable1.Serializable$get(key);
|
|
2357
|
-
$jscomp$loop$
|
|
2357
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2358
2358
|
if (arrays1.hasOwnProperty(key)) {
|
|
2359
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2359
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2360
2360
|
return !1;
|
|
2361
2361
|
}
|
|
2362
2362
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2363
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2363
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2364
2364
|
return !1;
|
|
2365
2365
|
}
|
|
2366
2366
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2367
|
-
if ($jscomp$loop$
|
|
2368
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2367
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2368
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2369
2369
|
return function(v1, i) {
|
|
2370
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2370
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2371
2371
|
};
|
|
2372
|
-
}($jscomp$loop$
|
|
2372
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2373
2373
|
return !1;
|
|
2374
2374
|
}
|
|
2375
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2375
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2376
2376
|
return !1;
|
|
2377
2377
|
}
|
|
2378
2378
|
} else if (Array.isArray(value1)) {
|
|
2379
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2379
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2380
2380
|
return !1;
|
|
2381
2381
|
}
|
|
2382
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2382
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2383
2383
|
return !1;
|
|
2384
2384
|
}
|
|
2385
2385
|
}
|
|
@@ -2401,8 +2401,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2401
2401
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2402
2402
|
return !1;
|
|
2403
2403
|
}
|
|
2404
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2405
|
-
var mapKey = $jscomp$key$
|
|
2404
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m192531680$43$mapKey.done; $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next()) {
|
|
2405
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2406
2406
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2407
2407
|
return !1;
|
|
2408
2408
|
}
|
|
@@ -2483,15 +2483,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2483
2483
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2484
2484
|
};
|
|
2485
2485
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2486
|
-
var $jscomp$this$
|
|
2486
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2487
2487
|
payload += this._metadataPayload;
|
|
2488
2488
|
return Promise.all(this.files.map(function(f) {
|
|
2489
|
-
return $jscomp$this$
|
|
2489
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2490
2490
|
})).then(function(filePayloads) {
|
|
2491
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2492
|
-
payload += $jscomp$key$
|
|
2491
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m667091202$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m667091202$9$filePayload.done; $jscomp$key$m667091202$9$filePayload = $jscomp$iter$23.next()) {
|
|
2492
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2493
2493
|
}
|
|
2494
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2494
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2495
2495
|
});
|
|
2496
2496
|
};
|
|
2497
2497
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -3003,8 +3003,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
3003
3003
|
throw Error(message);
|
|
3004
3004
|
}
|
|
3005
3005
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
3006
|
-
var $jscomp$templatelit$
|
|
3007
|
-
["\\0"]), $jscomp$templatelit$
|
|
3006
|
+
var $jscomp$templatelit$1274514361$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$1274514361$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$1274514361$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
3007
|
+
["\\0"]), $jscomp$templatelit$1274514361$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
3008
3008
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
3009
3009
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
3010
3010
|
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 ##############################");
|
|
@@ -3018,14 +3018,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
3018
3018
|
return fn.toString().indexOf("`") === -1;
|
|
3019
3019
|
}
|
|
3020
3020
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3021
|
-
return tag($jscomp$templatelit$
|
|
3021
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
3022
3022
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3023
|
-
return tag($jscomp$templatelit$
|
|
3023
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
3024
3024
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3025
|
-
return tag($jscomp$templatelit$
|
|
3025
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
3026
3026
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3027
|
-
return tag($jscomp$templatelit$
|
|
3028
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
3027
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
3028
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$12);
|
|
3029
3029
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
3030
3030
|
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)) ?
|
|
3031
3031
|
!0 : !1;
|
|
@@ -3351,9 +3351,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3351
3351
|
}
|
|
3352
3352
|
}
|
|
3353
3353
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3354
|
-
var $jscomp$tmp$error$
|
|
3355
|
-
this.message = $jscomp$tmp$error$
|
|
3356
|
-
"stack" in $jscomp$tmp$error$
|
|
3354
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3355
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
3356
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
3357
3357
|
this.type = type;
|
|
3358
3358
|
this.intent = intent;
|
|
3359
3359
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3449,7 +3449,7 @@ function module$contents$safevalues$dom$globals$window_getStyleNonce(doc) {
|
|
|
3449
3449
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3450
3450
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, doc) {
|
|
3451
3451
|
doc = doc === void 0 ? document : doc;
|
|
3452
|
-
var $jscomp$optchain$
|
|
3452
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = doc).querySelector) == null ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
3453
3453
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3454
3454
|
}
|
|
3455
3455
|
;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"};
|
|
@@ -4882,9 +4882,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4882
4882
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4883
4883
|
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"};
|
|
4884
4884
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4885
|
-
var $jscomp$tmp$error$
|
|
4886
|
-
this.message = $jscomp$tmp$error$
|
|
4887
|
-
"stack" in $jscomp$tmp$error$
|
|
4885
|
+
var $jscomp$tmp$error$m991617773$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
4886
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
4887
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
4888
4888
|
this.url = url;
|
|
4889
4889
|
this.typeName = typeName;
|
|
4890
4890
|
this.contentType = contentType;
|
|
@@ -4896,48 +4896,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4896
4896
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4897
4897
|
}
|
|
4898
4898
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4899
|
-
var response, $jscomp$optchain$
|
|
4900
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4901
|
-
if ($jscomp$generator$context$
|
|
4902
|
-
return $jscomp$generator$context$
|
|
4903
|
-
}
|
|
4904
|
-
response = $jscomp$generator$context$
|
|
4905
|
-
mimeType = ($jscomp$optchain$
|
|
4906
|
-
return $jscomp$generator$context$
|
|
4899
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
4900
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
4901
|
+
if ($jscomp$generator$context$m991617773$29.getNextAddressJsc() == 1) {
|
|
4902
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4903
|
+
}
|
|
4904
|
+
response = $jscomp$generator$context$m991617773$29.getYieldResultJsc();
|
|
4905
|
+
mimeType = ($jscomp$optchain$tmpm991617773$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmpm991617773$1 = $jscomp$optchain$tmpm991617773$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmpm991617773$2 = $jscomp$optchain$tmpm991617773$1[0]) == null ? void 0 : $jscomp$optchain$tmpm991617773$2.toLowerCase();
|
|
4906
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
4907
4907
|
var text;
|
|
4908
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4909
|
-
if ($jscomp$generator$context$
|
|
4908
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
4909
|
+
if ($jscomp$generator$context$m991617773$26.getNextAddressJsc() == 1) {
|
|
4910
4910
|
if (mimeType !== "text/html") {
|
|
4911
4911
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4912
4912
|
}
|
|
4913
|
-
return $jscomp$generator$context$
|
|
4913
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
4914
4914
|
}
|
|
4915
|
-
text = $jscomp$generator$context$
|
|
4916
|
-
return $jscomp$generator$context$
|
|
4915
|
+
text = $jscomp$generator$context$m991617773$26.getYieldResultJsc();
|
|
4916
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4917
4917
|
});
|
|
4918
4918
|
}, script:function() {
|
|
4919
4919
|
var text;
|
|
4920
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4921
|
-
if ($jscomp$generator$context$
|
|
4920
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
4921
|
+
if ($jscomp$generator$context$m991617773$27.getNextAddressJsc() == 1) {
|
|
4922
4922
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4923
4923
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4924
4924
|
}
|
|
4925
|
-
return $jscomp$generator$context$
|
|
4925
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
4926
4926
|
}
|
|
4927
|
-
text = $jscomp$generator$context$
|
|
4928
|
-
return $jscomp$generator$context$
|
|
4927
|
+
text = $jscomp$generator$context$m991617773$27.getYieldResultJsc();
|
|
4928
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4929
4929
|
});
|
|
4930
4930
|
}, styleSheet:function() {
|
|
4931
4931
|
var text;
|
|
4932
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4933
|
-
if ($jscomp$generator$context$
|
|
4932
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
4933
|
+
if ($jscomp$generator$context$m991617773$28.getNextAddressJsc() == 1) {
|
|
4934
4934
|
if (mimeType !== "text/css") {
|
|
4935
4935
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4936
4936
|
}
|
|
4937
|
-
return $jscomp$generator$context$
|
|
4937
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
4938
4938
|
}
|
|
4939
|
-
text = $jscomp$generator$context$
|
|
4940
|
-
return $jscomp$generator$context$
|
|
4939
|
+
text = $jscomp$generator$context$m991617773$28.getYieldResultJsc();
|
|
4940
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4941
4941
|
});
|
|
4942
4942
|
}});
|
|
4943
4943
|
});
|
|
@@ -6375,8 +6375,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6375
6375
|
}
|
|
6376
6376
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6377
6377
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6378
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6379
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6378
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$1047461284$0$ = $jscomp$iter$29.next(); !$jscomp$key$1047461284$0$.done; $jscomp$key$1047461284$0$ = $jscomp$iter$29.next()) {
|
|
6379
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
6380
6380
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6381
6381
|
}
|
|
6382
6382
|
return urlQueryParams;
|
|
@@ -6388,8 +6388,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params,
|
|
|
6388
6388
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6389
6389
|
if (params.headers) {
|
|
6390
6390
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6391
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6392
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6391
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$1047461284$1$ = $jscomp$iter$30.next(); !$jscomp$key$1047461284$1$.done; $jscomp$key$1047461284$1$ = $jscomp$iter$30.next()) {
|
|
6392
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6393
6393
|
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);
|
|
6394
6394
|
}
|
|
6395
6395
|
}
|
|
@@ -6424,8 +6424,8 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$addHoo
|
|
|
6424
6424
|
}, function(error) {
|
|
6425
6425
|
throw error;
|
|
6426
6426
|
}).finally(function() {
|
|
6427
|
-
var $jscomp$optchain$
|
|
6428
|
-
($jscomp$optchain$
|
|
6427
|
+
var $jscomp$optchain$tmp1237977804$1;
|
|
6428
|
+
($jscomp$optchain$tmp1237977804$1 = hook.onFinalize) == null || $jscomp$optchain$tmp1237977804$1.call(hook);
|
|
6429
6429
|
});
|
|
6430
6430
|
};
|
|
6431
6431
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$request = function(requestParams) {
|
|
@@ -6433,9 +6433,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6433
6433
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6434
6434
|
};
|
|
6435
6435
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6436
|
-
var $jscomp$this$
|
|
6436
|
+
var $jscomp$this$1237977804$6 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6437
6437
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6438
|
-
return $jscomp$this$
|
|
6438
|
+
return $jscomp$this$1237977804$6.requestService.send(params, responseCtor);
|
|
6439
6439
|
}));
|
|
6440
6440
|
};
|
|
6441
6441
|
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"};
|
|
@@ -9557,6 +9557,25 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
9557
9557
|
}, set:function(value) {
|
|
9558
9558
|
this.Serializable$set("translateY", value);
|
|
9559
9559
|
}}});
|
|
9560
|
+
module$exports$eeapiclient$ee_api_client.AgentMetadataParameters = function() {
|
|
9561
|
+
};
|
|
9562
|
+
module$exports$eeapiclient$ee_api_client.AgentMetadata = function(parameters) {
|
|
9563
|
+
parameters = parameters === void 0 ? {} : parameters;
|
|
9564
|
+
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
9565
|
+
this.Serializable$set("agentName", parameters.agentName == null ? null : parameters.agentName);
|
|
9566
|
+
};
|
|
9567
|
+
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.AgentMetadata, module$exports$eeapiclient$domain_object.Serializable);
|
|
9568
|
+
module$exports$eeapiclient$ee_api_client.AgentMetadata.prototype.getConstructor = function() {
|
|
9569
|
+
return module$exports$eeapiclient$ee_api_client.AgentMetadata;
|
|
9570
|
+
};
|
|
9571
|
+
module$exports$eeapiclient$ee_api_client.AgentMetadata.prototype.getPartialClassMetadata = function() {
|
|
9572
|
+
return {keys:["agentName"]};
|
|
9573
|
+
};
|
|
9574
|
+
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.AgentMetadata.prototype, {agentName:{configurable:!0, enumerable:!0, get:function() {
|
|
9575
|
+
return this.Serializable$has("agentName") ? this.Serializable$get("agentName") : null;
|
|
9576
|
+
}, set:function(value) {
|
|
9577
|
+
this.Serializable$set("agentName", value);
|
|
9578
|
+
}}});
|
|
9560
9579
|
module$exports$eeapiclient$ee_api_client.AlgorithmParameters = function() {
|
|
9561
9580
|
};
|
|
9562
9581
|
module$exports$eeapiclient$ee_api_client.Algorithm = function(parameters) {
|
|
@@ -9943,15 +9962,20 @@ module$exports$eeapiclient$ee_api_client.CloudAuditOptions = function(parameters
|
|
|
9943
9962
|
this.Serializable$set("logName", parameters.logName == null ? null : parameters.logName);
|
|
9944
9963
|
this.Serializable$set("authorizationLoggingOptions", parameters.authorizationLoggingOptions == null ? null : parameters.authorizationLoggingOptions);
|
|
9945
9964
|
this.Serializable$set("permissionType", parameters.permissionType == null ? null : parameters.permissionType);
|
|
9965
|
+
this.Serializable$set("agentMetadata", parameters.agentMetadata == null ? null : parameters.agentMetadata);
|
|
9946
9966
|
};
|
|
9947
9967
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.CloudAuditOptions, module$exports$eeapiclient$domain_object.Serializable);
|
|
9948
9968
|
module$exports$eeapiclient$ee_api_client.CloudAuditOptions.prototype.getConstructor = function() {
|
|
9949
9969
|
return module$exports$eeapiclient$ee_api_client.CloudAuditOptions;
|
|
9950
9970
|
};
|
|
9951
9971
|
module$exports$eeapiclient$ee_api_client.CloudAuditOptions.prototype.getPartialClassMetadata = function() {
|
|
9952
|
-
return {enums:{logName:module$exports$eeapiclient$ee_api_client.CloudAuditOptionsLogNameEnum, permissionType:module$exports$eeapiclient$ee_api_client.CloudAuditOptionsPermissionTypeEnum}, keys:["authorizationLoggingOptions", "logName", "permissionType"], objects:{authorizationLoggingOptions:module$exports$eeapiclient$ee_api_client.AuthorizationLoggingOptions}};
|
|
9972
|
+
return {enums:{logName:module$exports$eeapiclient$ee_api_client.CloudAuditOptionsLogNameEnum, permissionType:module$exports$eeapiclient$ee_api_client.CloudAuditOptionsPermissionTypeEnum}, keys:["agentMetadata", "authorizationLoggingOptions", "logName", "permissionType"], objects:{agentMetadata:module$exports$eeapiclient$ee_api_client.AgentMetadata, authorizationLoggingOptions:module$exports$eeapiclient$ee_api_client.AuthorizationLoggingOptions}};
|
|
9953
9973
|
};
|
|
9954
|
-
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.CloudAuditOptions.prototype, {
|
|
9974
|
+
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.CloudAuditOptions.prototype, {agentMetadata:{configurable:!0, enumerable:!0, get:function() {
|
|
9975
|
+
return this.Serializable$has("agentMetadata") ? this.Serializable$get("agentMetadata") : null;
|
|
9976
|
+
}, set:function(value) {
|
|
9977
|
+
this.Serializable$set("agentMetadata", value);
|
|
9978
|
+
}}, authorizationLoggingOptions:{configurable:!0, enumerable:!0, get:function() {
|
|
9955
9979
|
return this.Serializable$has("authorizationLoggingOptions") ? this.Serializable$get("authorizationLoggingOptions") : null;
|
|
9956
9980
|
}, set:function(value) {
|
|
9957
9981
|
this.Serializable$set("authorizationLoggingOptions", value);
|
|
@@ -16378,8 +16402,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16378
16402
|
this.replacements = new Map();
|
|
16379
16403
|
};
|
|
16380
16404
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16381
|
-
var $jscomp$this$
|
|
16382
|
-
return $jscomp$this$
|
|
16405
|
+
var $jscomp$this$380122516$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
16406
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
16383
16407
|
});
|
|
16384
16408
|
if (openedTags.length !== 0) {
|
|
16385
16409
|
if (goog.DEBUG) {
|
|
@@ -16597,8 +16621,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16597
16621
|
if (Array.isArray(token)) {
|
|
16598
16622
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16599
16623
|
} else {
|
|
16600
|
-
var $jscomp$optchain$
|
|
16601
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16624
|
+
var $jscomp$optchain$tmpm583190311$0 = void 0;
|
|
16625
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm583190311$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm583190311$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
16602
16626
|
tokens.push(token);
|
|
16603
16627
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16604
16628
|
return tokens;
|
|
@@ -16844,9 +16868,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16844
16868
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16845
16869
|
};
|
|
16846
16870
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16847
|
-
var $jscomp$this$
|
|
16871
|
+
var $jscomp$this$m583190311$26 = this;
|
|
16848
16872
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16849
|
-
return $jscomp$this$
|
|
16873
|
+
return $jscomp$this$m583190311$26.isWhitespace(c);
|
|
16850
16874
|
});
|
|
16851
16875
|
};
|
|
16852
16876
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16953,8 +16977,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16953
16977
|
return null;
|
|
16954
16978
|
}
|
|
16955
16979
|
if (token.lowercaseName === "url") {
|
|
16956
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16957
|
-
if ((($jscomp$optchain$
|
|
16980
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
|
|
16981
|
+
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16958
16982
|
return null;
|
|
16959
16983
|
}
|
|
16960
16984
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(nextToken.value);
|
|
@@ -16977,8 +17001,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16977
17001
|
if (!this.allowKeyframes) {
|
|
16978
17002
|
return null;
|
|
16979
17003
|
}
|
|
16980
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16981
|
-
var rule = $jscomp$key$
|
|
17004
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1877845113$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1877845113$1$rule.done; $jscomp$key$m1877845113$1$rule = $jscomp$iter$31.next()) {
|
|
17005
|
+
var rule = $jscomp$key$m1877845113$1$rule.value;
|
|
16982
17006
|
if (rule instanceof CSSKeyframeRule) {
|
|
16983
17007
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16984
17008
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16990,8 +17014,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16990
17014
|
if (!this.propertyAllowlist.has(name)) {
|
|
16991
17015
|
return !1;
|
|
16992
17016
|
}
|
|
16993
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16994
|
-
var discarder = $jscomp$key$
|
|
17017
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1877845113$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1877845113$2$discarder.done; $jscomp$key$m1877845113$2$discarder = $jscomp$iter$32.next()) {
|
|
17018
|
+
var discarder = $jscomp$key$m1877845113$2$discarder.value;
|
|
16995
17019
|
if (discarder(name)) {
|
|
16996
17020
|
return !1;
|
|
16997
17021
|
}
|
|
@@ -17006,8 +17030,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
17006
17030
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
17007
17031
|
};
|
|
17008
17032
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
17009
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
17010
|
-
var name = $jscomp$key$
|
|
17033
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1877845113$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1877845113$3$name.done; $jscomp$key$m1877845113$3$name = $jscomp$iter$33.next()) {
|
|
17034
|
+
var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
17011
17035
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
17012
17036
|
}
|
|
17013
17037
|
return sanitizedProperties;
|
|
@@ -17021,8 +17045,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
17021
17045
|
return selector + " { " + sanitizedProperties + " }";
|
|
17022
17046
|
};
|
|
17023
17047
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
17024
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
17025
|
-
var rule = $jscomp$key$
|
|
17048
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1877845113$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1877845113$4$rule.done; $jscomp$key$m1877845113$4$rule = $jscomp$iter$34.next()) {
|
|
17049
|
+
var rule = $jscomp$key$m1877845113$4$rule.value;
|
|
17026
17050
|
if (rule instanceof CSSStyleRule) {
|
|
17027
17051
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
17028
17052
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -17186,8 +17210,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17186
17210
|
return fragment;
|
|
17187
17211
|
};
|
|
17188
17212
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
17189
|
-
for (var $jscomp$this$
|
|
17190
|
-
return $jscomp$this$
|
|
17213
|
+
for (var $jscomp$this$m1803429925$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
17214
|
+
return $jscomp$this$m1803429925$13.nodeFilter(n);
|
|
17191
17215
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
17192
17216
|
var sanitizedNode = void 0;
|
|
17193
17217
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -17222,8 +17246,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17222
17246
|
return this.createTextNode(textNode.data);
|
|
17223
17247
|
};
|
|
17224
17248
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
17225
|
-
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$
|
|
17226
|
-
var $jscomp$destructuring$var30 = $jscomp$key$
|
|
17249
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1803429925$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1803429925$34$.done; $jscomp$key$m1803429925$34$ = $jscomp$iter$36.next()) {
|
|
17250
|
+
var $jscomp$destructuring$var30 = $jscomp$key$m1803429925$34$.value, name = $jscomp$destructuring$var30.name, value = $jscomp$destructuring$var30.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
17227
17251
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
17228
17252
|
switch(policy.policyAction) {
|
|
17229
17253
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -17255,9 +17279,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17255
17279
|
break;
|
|
17256
17280
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
17257
17281
|
if (this.resourceUrlPolicy) {
|
|
17258
|
-
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$
|
|
17282
|
+
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$m1803429925$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1803429925$33$part.done; $jscomp$key$m1803429925$33$part =
|
|
17259
17283
|
$jscomp$iter$35.next()) {
|
|
17260
|
-
var part = $jscomp$key$
|
|
17284
|
+
var part = $jscomp$key$m1803429925$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);
|
|
17261
17285
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
17262
17286
|
}
|
|
17263
17287
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -17315,8 +17339,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17315
17339
|
if (!conditions) {
|
|
17316
17340
|
return !0;
|
|
17317
17341
|
}
|
|
17318
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
17319
|
-
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17342
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1803429925$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1803429925$35$.done; $jscomp$key$m1803429925$35$ = $jscomp$iter$37.next()) {
|
|
17343
|
+
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var32.next().value, expectedValues = $jscomp$destructuring$var32.next().value, $jscomp$optchain$tmpm1803429925$0 = void 0, value = ($jscomp$optchain$tmpm1803429925$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1803429925$0.value;
|
|
17320
17344
|
if (value && !expectedValues.has(value)) {
|
|
17321
17345
|
return !1;
|
|
17322
17346
|
}
|
|
@@ -17331,8 +17355,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
17331
17355
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
17332
17356
|
};
|
|
17333
17357
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
17334
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
17335
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17358
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1803429925$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1803429925$36$part.done; $jscomp$key$m1803429925$36$part = $jscomp$iter$38.next()) {
|
|
17359
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$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;
|
|
17336
17360
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
17337
17361
|
}
|
|
17338
17362
|
return {parts:parts};
|
|
@@ -17389,8 +17413,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17389
17413
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17390
17414
|
};
|
|
17391
17415
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17392
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17393
|
-
var element = $jscomp$key$
|
|
17416
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$m1412690177$23$element = $jscomp$iter$39.next(); !$jscomp$key$m1412690177$23$element.done; $jscomp$key$m1412690177$23$element = $jscomp$iter$39.next()) {
|
|
17417
|
+
var element = $jscomp$key$m1412690177$23$element.value;
|
|
17394
17418
|
element = element.toUpperCase();
|
|
17395
17419
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17396
17420
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17408,8 +17432,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17408
17432
|
throw Error("Element: " + element + " is not a custom element");
|
|
17409
17433
|
}
|
|
17410
17434
|
if (allowedAttributes) {
|
|
17411
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17412
|
-
elementPolicy.set($jscomp$key$
|
|
17435
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$m1412690177$24$attribute = $jscomp$iter$40.next(); !$jscomp$key$m1412690177$24$attribute.done; $jscomp$key$m1412690177$24$attribute = $jscomp$iter$40.next()) {
|
|
17436
|
+
elementPolicy.set($jscomp$key$m1412690177$24$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17413
17437
|
}
|
|
17414
17438
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17415
17439
|
} else {
|
|
@@ -17419,15 +17443,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17419
17443
|
return this;
|
|
17420
17444
|
};
|
|
17421
17445
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17422
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17423
|
-
var attribute = $jscomp$key$
|
|
17446
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$m1412690177$25$attribute = $jscomp$iter$41.next(); !$jscomp$key$m1412690177$25$attribute.done; $jscomp$key$m1412690177$25$attribute = $jscomp$iter$41.next()) {
|
|
17447
|
+
var attribute = $jscomp$key$m1412690177$25$attribute.value;
|
|
17424
17448
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17425
17449
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17426
17450
|
}
|
|
17427
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17428
|
-
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17451
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$27$ = $jscomp$iter$43.next(); !$jscomp$key$m1412690177$27$.done; $jscomp$key$m1412690177$27$ = $jscomp$iter$43.next()) {
|
|
17452
|
+
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$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$m1412690177$26$ = $jscomp$iter$42.next(); !$jscomp$key$m1412690177$26$.done; $jscomp$key$m1412690177$26$ =
|
|
17429
17453
|
$jscomp$iter$42.next()) {
|
|
17430
|
-
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17454
|
+
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$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;
|
|
17431
17455
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17432
17456
|
}
|
|
17433
17457
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17442,8 +17466,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17442
17466
|
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);
|
|
17443
17467
|
return this;
|
|
17444
17468
|
}
|
|
17445
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17446
|
-
var attribute = $jscomp$key$
|
|
17469
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$m1412690177$28$attribute = $jscomp$iter$44.next(); !$jscomp$key$m1412690177$28$attribute.done; $jscomp$key$m1412690177$28$attribute = $jscomp$iter$44.next()) {
|
|
17470
|
+
var attribute = $jscomp$key$m1412690177$28$attribute.value;
|
|
17447
17471
|
if (attribute.indexOf("data-") !== 0) {
|
|
17448
17472
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17449
17473
|
}
|
|
@@ -17513,7 +17537,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17513
17537
|
return this;
|
|
17514
17538
|
};
|
|
17515
17539
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17516
|
-
var $jscomp$this$
|
|
17540
|
+
var $jscomp$this$m1412690177$19 = this;
|
|
17517
17541
|
this.extendSanitizerTableForCss();
|
|
17518
17542
|
var propertyDiscarders = [];
|
|
17519
17543
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17523,9 +17547,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17523
17547
|
return /^transition(-|$)/.test(property);
|
|
17524
17548
|
});
|
|
17525
17549
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17526
|
-
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$
|
|
17550
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$19.resourceUrlPolicy, $jscomp$this$m1412690177$19.animationsAllowed, propertyDiscarders);
|
|
17527
17551
|
}, function(cssText) {
|
|
17528
|
-
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$
|
|
17552
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$19.resourceUrlPolicy, propertyDiscarders);
|
|
17529
17553
|
}, this.resourceUrlPolicy, this.navigationUrlPolicy, this.openShadow);
|
|
17530
17554
|
};
|
|
17531
17555
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17745,12 +17769,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17745
17769
|
}
|
|
17746
17770
|
try {
|
|
17747
17771
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17748
|
-
} catch ($jscomp$unused$catch$
|
|
17772
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
17749
17773
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17750
17774
|
}
|
|
17751
17775
|
try {
|
|
17752
17776
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17753
|
-
} catch ($jscomp$unused$catch$
|
|
17777
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
17754
17778
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17755
17779
|
}
|
|
17756
17780
|
return !1;
|
|
@@ -19633,7 +19657,7 @@ var $jscomp$templatelit$m1153655765$102 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19633
19657
|
ee.apiclient = {};
|
|
19634
19658
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19635
19659
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19636
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19660
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.22";
|
|
19637
19661
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19638
19662
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19639
19663
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19938,8 +19962,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19938
19962
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19939
19963
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19940
19964
|
method = method || "POST";
|
|
19941
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19942
|
-
version === "1.7.
|
|
19965
|
+
var headers = {"Content-Type":contentType}, version = "1.7.22";
|
|
19966
|
+
version === "1.7.22" && (version = "latest");
|
|
19943
19967
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19944
19968
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19945
19969
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|