@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/ee_api_js_debug.js
CHANGED
|
@@ -2282,9 +2282,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2282
2282
|
};
|
|
2283
2283
|
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;
|
|
2284
2284
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2285
|
-
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$
|
|
2286
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2287
|
-
var key = $jscomp$key$
|
|
2285
|
+
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 =
|
|
2286
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2287
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2288
2288
|
if (value != null) {
|
|
2289
2289
|
var copy = void 0;
|
|
2290
2290
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2295,11 +2295,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2295
2295
|
} else if (objects.hasOwnProperty(key)) {
|
|
2296
2296
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2297
2297
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2298
|
-
$jscomp$loop$
|
|
2298
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2299
2299
|
return function(v) {
|
|
2300
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2300
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2301
2301
|
};
|
|
2302
|
-
}($jscomp$loop$
|
|
2302
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2303
2303
|
} else if (Array.isArray(value)) {
|
|
2304
2304
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2305
2305
|
continue;
|
|
@@ -2314,8 +2314,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2314
2314
|
return target;
|
|
2315
2315
|
}
|
|
2316
2316
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2317
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2318
|
-
var mapKey = $jscomp$key$
|
|
2317
|
+
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()) {
|
|
2318
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2319
2319
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2320
2320
|
}
|
|
2321
2321
|
return objMap;
|
|
@@ -2345,39 +2345,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2345
2345
|
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))) {
|
|
2346
2346
|
return !1;
|
|
2347
2347
|
}
|
|
2348
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2349
|
-
var key = $jscomp$key$
|
|
2348
|
+
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()) {
|
|
2349
|
+
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);
|
|
2350
2350
|
if (has1 !== has2) {
|
|
2351
2351
|
return !1;
|
|
2352
2352
|
}
|
|
2353
2353
|
if (has1) {
|
|
2354
2354
|
var value1 = serializable1.Serializable$get(key);
|
|
2355
|
-
$jscomp$loop$
|
|
2355
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2356
2356
|
if (arrays1.hasOwnProperty(key)) {
|
|
2357
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2357
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2358
2358
|
return !1;
|
|
2359
2359
|
}
|
|
2360
2360
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2361
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2361
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2362
2362
|
return !1;
|
|
2363
2363
|
}
|
|
2364
2364
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2365
|
-
if ($jscomp$loop$
|
|
2366
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2365
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2366
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2367
2367
|
return function(v1, i) {
|
|
2368
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2368
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2369
2369
|
};
|
|
2370
|
-
}($jscomp$loop$
|
|
2370
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2371
2371
|
return !1;
|
|
2372
2372
|
}
|
|
2373
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2373
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2374
2374
|
return !1;
|
|
2375
2375
|
}
|
|
2376
2376
|
} else if (Array.isArray(value1)) {
|
|
2377
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2377
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2378
2378
|
return !1;
|
|
2379
2379
|
}
|
|
2380
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2380
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2381
2381
|
return !1;
|
|
2382
2382
|
}
|
|
2383
2383
|
}
|
|
@@ -2399,8 +2399,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2399
2399
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2400
2400
|
return !1;
|
|
2401
2401
|
}
|
|
2402
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2403
|
-
var mapKey = $jscomp$key$
|
|
2402
|
+
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()) {
|
|
2403
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2404
2404
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2405
2405
|
return !1;
|
|
2406
2406
|
}
|
|
@@ -2481,15 +2481,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2481
2481
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2482
2482
|
};
|
|
2483
2483
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2484
|
-
var $jscomp$this$
|
|
2484
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2485
2485
|
payload += this._metadataPayload;
|
|
2486
2486
|
return Promise.all(this.files.map(function(f) {
|
|
2487
|
-
return $jscomp$this$
|
|
2487
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2488
2488
|
})).then(function(filePayloads) {
|
|
2489
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2490
|
-
payload += $jscomp$key$
|
|
2489
|
+
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()) {
|
|
2490
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2491
2491
|
}
|
|
2492
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2492
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2493
2493
|
});
|
|
2494
2494
|
};
|
|
2495
2495
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -3001,8 +3001,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
3001
3001
|
throw Error(message);
|
|
3002
3002
|
}
|
|
3003
3003
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
3004
|
-
var $jscomp$templatelit$
|
|
3005
|
-
["\\0"]), $jscomp$templatelit$
|
|
3004
|
+
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"],
|
|
3005
|
+
["\\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"};
|
|
3006
3006
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
3007
3007
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
3008
3008
|
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 ##############################");
|
|
@@ -3016,14 +3016,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
3016
3016
|
return fn.toString().indexOf("`") === -1;
|
|
3017
3017
|
}
|
|
3018
3018
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3019
|
-
return tag($jscomp$templatelit$
|
|
3019
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
3020
3020
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3021
|
-
return tag($jscomp$templatelit$
|
|
3021
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
3022
3022
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3023
|
-
return tag($jscomp$templatelit$
|
|
3023
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
3024
3024
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3025
|
-
return tag($jscomp$templatelit$
|
|
3026
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
3025
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
3026
|
+
}), 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);
|
|
3027
3027
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
3028
3028
|
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)) ?
|
|
3029
3029
|
!0 : !1;
|
|
@@ -3349,9 +3349,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3349
3349
|
}
|
|
3350
3350
|
}
|
|
3351
3351
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3352
|
-
var $jscomp$tmp$error$
|
|
3353
|
-
this.message = $jscomp$tmp$error$
|
|
3354
|
-
"stack" in $jscomp$tmp$error$
|
|
3352
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3353
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
3354
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
3355
3355
|
this.type = type;
|
|
3356
3356
|
this.intent = intent;
|
|
3357
3357
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3447,7 +3447,7 @@ function module$contents$safevalues$dom$globals$window_getStyleNonce(doc) {
|
|
|
3447
3447
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3448
3448
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, doc) {
|
|
3449
3449
|
doc = doc === void 0 ? document : doc;
|
|
3450
|
-
var $jscomp$optchain$
|
|
3450
|
+
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]");
|
|
3451
3451
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3452
3452
|
}
|
|
3453
3453
|
;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"};
|
|
@@ -4880,9 +4880,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4880
4880
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4881
4881
|
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"};
|
|
4882
4882
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4883
|
-
var $jscomp$tmp$error$
|
|
4884
|
-
this.message = $jscomp$tmp$error$
|
|
4885
|
-
"stack" in $jscomp$tmp$error$
|
|
4883
|
+
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.");
|
|
4884
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
4885
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
4886
4886
|
this.url = url;
|
|
4887
4887
|
this.typeName = typeName;
|
|
4888
4888
|
this.contentType = contentType;
|
|
@@ -4894,48 +4894,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4894
4894
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4895
4895
|
}
|
|
4896
4896
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4897
|
-
var response, $jscomp$optchain$
|
|
4898
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4899
|
-
if ($jscomp$generator$context$
|
|
4900
|
-
return $jscomp$generator$context$
|
|
4901
|
-
}
|
|
4902
|
-
response = $jscomp$generator$context$
|
|
4903
|
-
mimeType = ($jscomp$optchain$
|
|
4904
|
-
return $jscomp$generator$context$
|
|
4897
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
4898
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
4899
|
+
if ($jscomp$generator$context$m991617773$29.getNextAddressJsc() == 1) {
|
|
4900
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4901
|
+
}
|
|
4902
|
+
response = $jscomp$generator$context$m991617773$29.getYieldResultJsc();
|
|
4903
|
+
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();
|
|
4904
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
4905
4905
|
var text;
|
|
4906
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4907
|
-
if ($jscomp$generator$context$
|
|
4906
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
4907
|
+
if ($jscomp$generator$context$m991617773$26.getNextAddressJsc() == 1) {
|
|
4908
4908
|
if (mimeType !== "text/html") {
|
|
4909
4909
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4910
4910
|
}
|
|
4911
|
-
return $jscomp$generator$context$
|
|
4911
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
4912
4912
|
}
|
|
4913
|
-
text = $jscomp$generator$context$
|
|
4914
|
-
return $jscomp$generator$context$
|
|
4913
|
+
text = $jscomp$generator$context$m991617773$26.getYieldResultJsc();
|
|
4914
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4915
4915
|
});
|
|
4916
4916
|
}, script:function() {
|
|
4917
4917
|
var text;
|
|
4918
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4919
|
-
if ($jscomp$generator$context$
|
|
4918
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
4919
|
+
if ($jscomp$generator$context$m991617773$27.getNextAddressJsc() == 1) {
|
|
4920
4920
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4921
4921
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4922
4922
|
}
|
|
4923
|
-
return $jscomp$generator$context$
|
|
4923
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
4924
4924
|
}
|
|
4925
|
-
text = $jscomp$generator$context$
|
|
4926
|
-
return $jscomp$generator$context$
|
|
4925
|
+
text = $jscomp$generator$context$m991617773$27.getYieldResultJsc();
|
|
4926
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4927
4927
|
});
|
|
4928
4928
|
}, styleSheet:function() {
|
|
4929
4929
|
var text;
|
|
4930
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4931
|
-
if ($jscomp$generator$context$
|
|
4930
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
4931
|
+
if ($jscomp$generator$context$m991617773$28.getNextAddressJsc() == 1) {
|
|
4932
4932
|
if (mimeType !== "text/css") {
|
|
4933
4933
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4934
4934
|
}
|
|
4935
|
-
return $jscomp$generator$context$
|
|
4935
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
4936
4936
|
}
|
|
4937
|
-
text = $jscomp$generator$context$
|
|
4938
|
-
return $jscomp$generator$context$
|
|
4937
|
+
text = $jscomp$generator$context$m991617773$28.getYieldResultJsc();
|
|
4938
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4939
4939
|
});
|
|
4940
4940
|
}});
|
|
4941
4941
|
});
|
|
@@ -6373,8 +6373,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6373
6373
|
}
|
|
6374
6374
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6375
6375
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6376
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6377
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6376
|
+
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()) {
|
|
6377
|
+
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;
|
|
6378
6378
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6379
6379
|
}
|
|
6380
6380
|
return urlQueryParams;
|
|
@@ -6386,8 +6386,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params,
|
|
|
6386
6386
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6387
6387
|
if (params.headers) {
|
|
6388
6388
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6389
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6390
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6389
|
+
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()) {
|
|
6390
|
+
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;
|
|
6391
6391
|
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);
|
|
6392
6392
|
}
|
|
6393
6393
|
}
|
|
@@ -6422,8 +6422,8 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$addHoo
|
|
|
6422
6422
|
}, function(error) {
|
|
6423
6423
|
throw error;
|
|
6424
6424
|
}).finally(function() {
|
|
6425
|
-
var $jscomp$optchain$
|
|
6426
|
-
($jscomp$optchain$
|
|
6425
|
+
var $jscomp$optchain$tmp1237977804$1;
|
|
6426
|
+
($jscomp$optchain$tmp1237977804$1 = hook.onFinalize) == null || $jscomp$optchain$tmp1237977804$1.call(hook);
|
|
6427
6427
|
});
|
|
6428
6428
|
};
|
|
6429
6429
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$request = function(requestParams) {
|
|
@@ -6431,9 +6431,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6431
6431
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6432
6432
|
};
|
|
6433
6433
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6434
|
-
var $jscomp$this$
|
|
6434
|
+
var $jscomp$this$1237977804$6 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6435
6435
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6436
|
-
return $jscomp$this$
|
|
6436
|
+
return $jscomp$this$1237977804$6.requestService.send(params, responseCtor);
|
|
6437
6437
|
}));
|
|
6438
6438
|
};
|
|
6439
6439
|
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"};
|
|
@@ -9555,6 +9555,25 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
9555
9555
|
}, set:function(value) {
|
|
9556
9556
|
this.Serializable$set("translateY", value);
|
|
9557
9557
|
}}});
|
|
9558
|
+
module$exports$eeapiclient$ee_api_client.AgentMetadataParameters = function() {
|
|
9559
|
+
};
|
|
9560
|
+
module$exports$eeapiclient$ee_api_client.AgentMetadata = function(parameters) {
|
|
9561
|
+
parameters = parameters === void 0 ? {} : parameters;
|
|
9562
|
+
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
9563
|
+
this.Serializable$set("agentName", parameters.agentName == null ? null : parameters.agentName);
|
|
9564
|
+
};
|
|
9565
|
+
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.AgentMetadata, module$exports$eeapiclient$domain_object.Serializable);
|
|
9566
|
+
module$exports$eeapiclient$ee_api_client.AgentMetadata.prototype.getConstructor = function() {
|
|
9567
|
+
return module$exports$eeapiclient$ee_api_client.AgentMetadata;
|
|
9568
|
+
};
|
|
9569
|
+
module$exports$eeapiclient$ee_api_client.AgentMetadata.prototype.getPartialClassMetadata = function() {
|
|
9570
|
+
return {keys:["agentName"]};
|
|
9571
|
+
};
|
|
9572
|
+
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.AgentMetadata.prototype, {agentName:{configurable:!0, enumerable:!0, get:function() {
|
|
9573
|
+
return this.Serializable$has("agentName") ? this.Serializable$get("agentName") : null;
|
|
9574
|
+
}, set:function(value) {
|
|
9575
|
+
this.Serializable$set("agentName", value);
|
|
9576
|
+
}}});
|
|
9558
9577
|
module$exports$eeapiclient$ee_api_client.AlgorithmParameters = function() {
|
|
9559
9578
|
};
|
|
9560
9579
|
module$exports$eeapiclient$ee_api_client.Algorithm = function(parameters) {
|
|
@@ -9941,15 +9960,20 @@ module$exports$eeapiclient$ee_api_client.CloudAuditOptions = function(parameters
|
|
|
9941
9960
|
this.Serializable$set("logName", parameters.logName == null ? null : parameters.logName);
|
|
9942
9961
|
this.Serializable$set("authorizationLoggingOptions", parameters.authorizationLoggingOptions == null ? null : parameters.authorizationLoggingOptions);
|
|
9943
9962
|
this.Serializable$set("permissionType", parameters.permissionType == null ? null : parameters.permissionType);
|
|
9963
|
+
this.Serializable$set("agentMetadata", parameters.agentMetadata == null ? null : parameters.agentMetadata);
|
|
9944
9964
|
};
|
|
9945
9965
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.CloudAuditOptions, module$exports$eeapiclient$domain_object.Serializable);
|
|
9946
9966
|
module$exports$eeapiclient$ee_api_client.CloudAuditOptions.prototype.getConstructor = function() {
|
|
9947
9967
|
return module$exports$eeapiclient$ee_api_client.CloudAuditOptions;
|
|
9948
9968
|
};
|
|
9949
9969
|
module$exports$eeapiclient$ee_api_client.CloudAuditOptions.prototype.getPartialClassMetadata = function() {
|
|
9950
|
-
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}};
|
|
9970
|
+
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}};
|
|
9951
9971
|
};
|
|
9952
|
-
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.CloudAuditOptions.prototype, {
|
|
9972
|
+
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.CloudAuditOptions.prototype, {agentMetadata:{configurable:!0, enumerable:!0, get:function() {
|
|
9973
|
+
return this.Serializable$has("agentMetadata") ? this.Serializable$get("agentMetadata") : null;
|
|
9974
|
+
}, set:function(value) {
|
|
9975
|
+
this.Serializable$set("agentMetadata", value);
|
|
9976
|
+
}}, authorizationLoggingOptions:{configurable:!0, enumerable:!0, get:function() {
|
|
9953
9977
|
return this.Serializable$has("authorizationLoggingOptions") ? this.Serializable$get("authorizationLoggingOptions") : null;
|
|
9954
9978
|
}, set:function(value) {
|
|
9955
9979
|
this.Serializable$set("authorizationLoggingOptions", value);
|
|
@@ -16376,8 +16400,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16376
16400
|
this.replacements = new Map();
|
|
16377
16401
|
};
|
|
16378
16402
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16379
|
-
var $jscomp$this$
|
|
16380
|
-
return $jscomp$this$
|
|
16403
|
+
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) {
|
|
16404
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
16381
16405
|
});
|
|
16382
16406
|
if (openedTags.length !== 0) {
|
|
16383
16407
|
if (goog.DEBUG) {
|
|
@@ -16595,8 +16619,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16595
16619
|
if (Array.isArray(token)) {
|
|
16596
16620
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16597
16621
|
} else {
|
|
16598
|
-
var $jscomp$optchain$
|
|
16599
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16622
|
+
var $jscomp$optchain$tmpm583190311$0 = void 0;
|
|
16623
|
+
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) {
|
|
16600
16624
|
tokens.push(token);
|
|
16601
16625
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16602
16626
|
return tokens;
|
|
@@ -16842,9 +16866,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16842
16866
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16843
16867
|
};
|
|
16844
16868
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16845
|
-
var $jscomp$this$
|
|
16869
|
+
var $jscomp$this$m583190311$26 = this;
|
|
16846
16870
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16847
|
-
return $jscomp$this$
|
|
16871
|
+
return $jscomp$this$m583190311$26.isWhitespace(c);
|
|
16848
16872
|
});
|
|
16849
16873
|
};
|
|
16850
16874
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16951,8 +16975,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16951
16975
|
return null;
|
|
16952
16976
|
}
|
|
16953
16977
|
if (token.lowercaseName === "url") {
|
|
16954
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16955
|
-
if ((($jscomp$optchain$
|
|
16978
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
|
|
16979
|
+
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16956
16980
|
return null;
|
|
16957
16981
|
}
|
|
16958
16982
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(nextToken.value);
|
|
@@ -16975,8 +16999,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16975
16999
|
if (!this.allowKeyframes) {
|
|
16976
17000
|
return null;
|
|
16977
17001
|
}
|
|
16978
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16979
|
-
var rule = $jscomp$key$
|
|
17002
|
+
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()) {
|
|
17003
|
+
var rule = $jscomp$key$m1877845113$1$rule.value;
|
|
16980
17004
|
if (rule instanceof CSSKeyframeRule) {
|
|
16981
17005
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16982
17006
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16988,8 +17012,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16988
17012
|
if (!this.propertyAllowlist.has(name)) {
|
|
16989
17013
|
return !1;
|
|
16990
17014
|
}
|
|
16991
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16992
|
-
var discarder = $jscomp$key$
|
|
17015
|
+
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()) {
|
|
17016
|
+
var discarder = $jscomp$key$m1877845113$2$discarder.value;
|
|
16993
17017
|
if (discarder(name)) {
|
|
16994
17018
|
return !1;
|
|
16995
17019
|
}
|
|
@@ -17004,8 +17028,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
17004
17028
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
17005
17029
|
};
|
|
17006
17030
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
17007
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
17008
|
-
var name = $jscomp$key$
|
|
17031
|
+
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()) {
|
|
17032
|
+
var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
17009
17033
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
17010
17034
|
}
|
|
17011
17035
|
return sanitizedProperties;
|
|
@@ -17019,8 +17043,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
17019
17043
|
return selector + " { " + sanitizedProperties + " }";
|
|
17020
17044
|
};
|
|
17021
17045
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
17022
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
17023
|
-
var rule = $jscomp$key$
|
|
17046
|
+
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()) {
|
|
17047
|
+
var rule = $jscomp$key$m1877845113$4$rule.value;
|
|
17024
17048
|
if (rule instanceof CSSStyleRule) {
|
|
17025
17049
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
17026
17050
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -17184,8 +17208,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17184
17208
|
return fragment;
|
|
17185
17209
|
};
|
|
17186
17210
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
17187
|
-
for (var $jscomp$this$
|
|
17188
|
-
return $jscomp$this$
|
|
17211
|
+
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) {
|
|
17212
|
+
return $jscomp$this$m1803429925$13.nodeFilter(n);
|
|
17189
17213
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
17190
17214
|
var sanitizedNode = void 0;
|
|
17191
17215
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -17220,8 +17244,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17220
17244
|
return this.createTextNode(textNode.data);
|
|
17221
17245
|
};
|
|
17222
17246
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
17223
|
-
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$
|
|
17224
|
-
var $jscomp$destructuring$var30 = $jscomp$key$
|
|
17247
|
+
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()) {
|
|
17248
|
+
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);
|
|
17225
17249
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
17226
17250
|
switch(policy.policyAction) {
|
|
17227
17251
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -17253,9 +17277,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17253
17277
|
break;
|
|
17254
17278
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
17255
17279
|
if (this.resourceUrlPolicy) {
|
|
17256
|
-
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$
|
|
17280
|
+
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 =
|
|
17257
17281
|
$jscomp$iter$35.next()) {
|
|
17258
|
-
var part = $jscomp$key$
|
|
17282
|
+
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);
|
|
17259
17283
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
17260
17284
|
}
|
|
17261
17285
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -17313,8 +17337,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17313
17337
|
if (!conditions) {
|
|
17314
17338
|
return !0;
|
|
17315
17339
|
}
|
|
17316
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
17317
|
-
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17340
|
+
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()) {
|
|
17341
|
+
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;
|
|
17318
17342
|
if (value && !expectedValues.has(value)) {
|
|
17319
17343
|
return !1;
|
|
17320
17344
|
}
|
|
@@ -17329,8 +17353,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
17329
17353
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
17330
17354
|
};
|
|
17331
17355
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
17332
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
17333
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17356
|
+
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()) {
|
|
17357
|
+
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;
|
|
17334
17358
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
17335
17359
|
}
|
|
17336
17360
|
return {parts:parts};
|
|
@@ -17387,8 +17411,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17387
17411
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17388
17412
|
};
|
|
17389
17413
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17390
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17391
|
-
var element = $jscomp$key$
|
|
17414
|
+
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()) {
|
|
17415
|
+
var element = $jscomp$key$m1412690177$23$element.value;
|
|
17392
17416
|
element = element.toUpperCase();
|
|
17393
17417
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17394
17418
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17406,8 +17430,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17406
17430
|
throw Error("Element: " + element + " is not a custom element");
|
|
17407
17431
|
}
|
|
17408
17432
|
if (allowedAttributes) {
|
|
17409
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17410
|
-
elementPolicy.set($jscomp$key$
|
|
17433
|
+
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()) {
|
|
17434
|
+
elementPolicy.set($jscomp$key$m1412690177$24$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17411
17435
|
}
|
|
17412
17436
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17413
17437
|
} else {
|
|
@@ -17417,15 +17441,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17417
17441
|
return this;
|
|
17418
17442
|
};
|
|
17419
17443
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17420
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17421
|
-
var attribute = $jscomp$key$
|
|
17444
|
+
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()) {
|
|
17445
|
+
var attribute = $jscomp$key$m1412690177$25$attribute.value;
|
|
17422
17446
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17423
17447
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17424
17448
|
}
|
|
17425
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17426
|
-
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17449
|
+
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()) {
|
|
17450
|
+
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$ =
|
|
17427
17451
|
$jscomp$iter$42.next()) {
|
|
17428
|
-
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17452
|
+
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;
|
|
17429
17453
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17430
17454
|
}
|
|
17431
17455
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17440,8 +17464,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17440
17464
|
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);
|
|
17441
17465
|
return this;
|
|
17442
17466
|
}
|
|
17443
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17444
|
-
var attribute = $jscomp$key$
|
|
17467
|
+
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()) {
|
|
17468
|
+
var attribute = $jscomp$key$m1412690177$28$attribute.value;
|
|
17445
17469
|
if (attribute.indexOf("data-") !== 0) {
|
|
17446
17470
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17447
17471
|
}
|
|
@@ -17511,7 +17535,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17511
17535
|
return this;
|
|
17512
17536
|
};
|
|
17513
17537
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17514
|
-
var $jscomp$this$
|
|
17538
|
+
var $jscomp$this$m1412690177$19 = this;
|
|
17515
17539
|
this.extendSanitizerTableForCss();
|
|
17516
17540
|
var propertyDiscarders = [];
|
|
17517
17541
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17521,9 +17545,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17521
17545
|
return /^transition(-|$)/.test(property);
|
|
17522
17546
|
});
|
|
17523
17547
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17524
|
-
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$
|
|
17548
|
+
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);
|
|
17525
17549
|
}, function(cssText) {
|
|
17526
|
-
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$
|
|
17550
|
+
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);
|
|
17527
17551
|
}, this.resourceUrlPolicy, this.navigationUrlPolicy, this.openShadow);
|
|
17528
17552
|
};
|
|
17529
17553
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17743,12 +17767,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17743
17767
|
}
|
|
17744
17768
|
try {
|
|
17745
17769
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17746
|
-
} catch ($jscomp$unused$catch$
|
|
17770
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
17747
17771
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17748
17772
|
}
|
|
17749
17773
|
try {
|
|
17750
17774
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17751
|
-
} catch ($jscomp$unused$catch$
|
|
17775
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
17752
17776
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17753
17777
|
}
|
|
17754
17778
|
return !1;
|
|
@@ -19631,7 +19655,7 @@ var $jscomp$templatelit$m1153655765$102 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19631
19655
|
ee.apiclient = {};
|
|
19632
19656
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19633
19657
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19634
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19658
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.22";
|
|
19635
19659
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19636
19660
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19637
19661
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19936,8 +19960,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19936
19960
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19937
19961
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19938
19962
|
method = method || "POST";
|
|
19939
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19940
|
-
version === "1.7.
|
|
19963
|
+
var headers = {"Content-Type":contentType}, version = "1.7.22";
|
|
19964
|
+
version === "1.7.22" && (version = "latest");
|
|
19941
19965
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19942
19966
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19943
19967
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|