@google/earthengine 0.1.403 → 0.1.404
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 +117 -120
- package/build/ee_api_js.js +16 -16
- package/build/ee_api_js_debug.js +95 -98
- package/build/ee_api_js_npm.js +117 -120
- package/build/main.js +117 -120
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/ee_api_js_debug.js
CHANGED
|
@@ -2030,9 +2030,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2030
2030
|
};
|
|
2031
2031
|
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;
|
|
2032
2032
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2033
|
-
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 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$
|
|
2034
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2035
|
-
var key = $jscomp$key$
|
|
2033
|
+
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 = $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 =
|
|
2034
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2035
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2036
2036
|
if (null != value) {
|
|
2037
2037
|
var copy = void 0;
|
|
2038
2038
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2043,11 +2043,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2043
2043
|
} else if (objects.hasOwnProperty(key)) {
|
|
2044
2044
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2045
2045
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2046
|
-
$jscomp$loop$
|
|
2046
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2047
2047
|
return function(v) {
|
|
2048
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2048
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2049
2049
|
};
|
|
2050
|
-
}($jscomp$loop$
|
|
2050
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2051
2051
|
} else if (Array.isArray(value)) {
|
|
2052
2052
|
if (metadata.emptyArrayIsUnset && 0 === value.length) {
|
|
2053
2053
|
continue;
|
|
@@ -2062,8 +2062,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2062
2062
|
return target;
|
|
2063
2063
|
}
|
|
2064
2064
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2065
|
-
for (var objMap = {}, $jscomp$iter$20 = $jscomp.makeIterator(Object.keys(value)), $jscomp$key$
|
|
2066
|
-
var mapKey = $jscomp$key$
|
|
2065
|
+
for (var objMap = {}, $jscomp$iter$20 = $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()) {
|
|
2066
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2067
2067
|
null != mapValue && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2068
2068
|
}
|
|
2069
2069
|
return objMap;
|
|
@@ -2093,39 +2093,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2093
2093
|
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))) {
|
|
2094
2094
|
return !1;
|
|
2095
2095
|
}
|
|
2096
|
-
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$
|
|
2097
|
-
var key = $jscomp$key$
|
|
2096
|
+
for (var $jscomp$iter$21 = $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()) {
|
|
2097
|
+
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);
|
|
2098
2098
|
if (has1 !== has2) {
|
|
2099
2099
|
return !1;
|
|
2100
2100
|
}
|
|
2101
2101
|
if (has1) {
|
|
2102
2102
|
var value1 = serializable1.Serializable$get(key);
|
|
2103
|
-
$jscomp$loop$
|
|
2103
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2104
2104
|
if (arrays1.hasOwnProperty(key)) {
|
|
2105
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2105
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2106
2106
|
return !1;
|
|
2107
2107
|
}
|
|
2108
2108
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2109
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2109
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2110
2110
|
return !1;
|
|
2111
2111
|
}
|
|
2112
2112
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2113
|
-
if ($jscomp$loop$
|
|
2114
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2113
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2114
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2115
2115
|
return function(v1, i) {
|
|
2116
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2116
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2117
2117
|
};
|
|
2118
|
-
}($jscomp$loop$
|
|
2118
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2119
2119
|
return !1;
|
|
2120
2120
|
}
|
|
2121
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2121
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2122
2122
|
return !1;
|
|
2123
2123
|
}
|
|
2124
2124
|
} else if (Array.isArray(value1)) {
|
|
2125
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2125
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2126
2126
|
return !1;
|
|
2127
2127
|
}
|
|
2128
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2128
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2129
2129
|
return !1;
|
|
2130
2130
|
}
|
|
2131
2131
|
}
|
|
@@ -2147,8 +2147,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2147
2147
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2148
2148
|
return !1;
|
|
2149
2149
|
}
|
|
2150
|
-
for (var $jscomp$iter$22 = $jscomp.makeIterator(Object.keys(value1)), $jscomp$key$
|
|
2151
|
-
var mapKey = $jscomp$key$
|
|
2150
|
+
for (var $jscomp$iter$22 = $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()) {
|
|
2151
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2152
2152
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2153
2153
|
return !1;
|
|
2154
2154
|
}
|
|
@@ -2229,15 +2229,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2229
2229
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2230
2230
|
};
|
|
2231
2231
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2232
|
-
var $jscomp$this$
|
|
2232
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2233
2233
|
payload += this._metadataPayload;
|
|
2234
2234
|
return Promise.all(this.files.map(function(f) {
|
|
2235
|
-
return $jscomp$this$
|
|
2235
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2236
2236
|
})).then(function(filePayloads) {
|
|
2237
|
-
for (var $jscomp$iter$23 = $jscomp.makeIterator(filePayloads), $jscomp$key$
|
|
2238
|
-
payload += $jscomp$key$
|
|
2237
|
+
for (var $jscomp$iter$23 = $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()) {
|
|
2238
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2239
2239
|
}
|
|
2240
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2240
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2241
2241
|
});
|
|
2242
2242
|
};
|
|
2243
2243
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2887,8 +2887,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2887
2887
|
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
2888
2888
|
}
|
|
2889
2889
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2890
|
-
var $jscomp$templatelit$
|
|
2891
|
-
["\\0"]), $jscomp$templatelit$
|
|
2890
|
+
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"],
|
|
2891
|
+
["\\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"};
|
|
2892
2892
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2893
2893
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2894
2894
|
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 ##############################");
|
|
@@ -2902,14 +2902,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2902
2902
|
return -1 === fn.toString().indexOf("`");
|
|
2903
2903
|
}
|
|
2904
2904
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2905
|
-
return tag($jscomp$templatelit$
|
|
2905
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
2906
2906
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2907
|
-
return tag($jscomp$templatelit$
|
|
2907
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
2908
2908
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2909
|
-
return tag($jscomp$templatelit$
|
|
2909
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
2910
2910
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2911
|
-
return tag($jscomp$templatelit$
|
|
2912
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2911
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
2912
|
+
}), 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);
|
|
2913
2913
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2914
2914
|
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)) ?
|
|
2915
2915
|
!0 : !1;
|
|
@@ -4319,9 +4319,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
4319
4319
|
}
|
|
4320
4320
|
}
|
|
4321
4321
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
4322
|
-
var $jscomp$tmp$error$
|
|
4323
|
-
this.message = $jscomp$tmp$error$
|
|
4324
|
-
"stack" in $jscomp$tmp$error$
|
|
4322
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
4323
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
4324
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
4325
4325
|
this.type = type;
|
|
4326
4326
|
this.intent = intent;
|
|
4327
4327
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -4427,7 +4427,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
4427
4427
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
4428
4428
|
};
|
|
4429
4429
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
4430
|
-
var $jscomp$optchain$
|
|
4430
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = null == ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = win.document).querySelector) ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
4431
4431
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
4432
4432
|
}
|
|
4433
4433
|
;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"}, module$contents$safevalues$internals$script_impl_trustedTypes = goog.global.trustedTypes;
|
|
@@ -5094,9 +5094,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
5094
5094
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
5095
5095
|
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"};
|
|
5096
5096
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
5097
|
-
var $jscomp$tmp$error$
|
|
5098
|
-
this.message = $jscomp$tmp$error$
|
|
5099
|
-
"stack" in $jscomp$tmp$error$
|
|
5097
|
+
var $jscomp$tmp$error$m991617773$4 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
5098
|
+
this.message = $jscomp$tmp$error$m991617773$4.message;
|
|
5099
|
+
"stack" in $jscomp$tmp$error$m991617773$4 && (this.stack = $jscomp$tmp$error$m991617773$4.stack);
|
|
5100
5100
|
this.url = url;
|
|
5101
5101
|
this.typeName = typeName;
|
|
5102
5102
|
this.contentType = contentType;
|
|
@@ -5108,48 +5108,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
5108
5108
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
5109
5109
|
}
|
|
5110
5110
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
5111
|
-
var response, $jscomp$optchain$
|
|
5112
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
5113
|
-
if (1 == $jscomp$generator$context$
|
|
5114
|
-
return $jscomp$generator$context$
|
|
5115
|
-
}
|
|
5116
|
-
response = $jscomp$generator$context$
|
|
5117
|
-
mimeType = null == ($jscomp$optchain$
|
|
5118
|
-
return $jscomp$generator$context$
|
|
5111
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
5112
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$8) {
|
|
5113
|
+
if (1 == $jscomp$generator$context$m991617773$8.nextAddress) {
|
|
5114
|
+
return $jscomp$generator$context$m991617773$8.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
5115
|
+
}
|
|
5116
|
+
response = $jscomp$generator$context$m991617773$8.yieldResult;
|
|
5117
|
+
mimeType = null == ($jscomp$optchain$tmpm991617773$0 = response.headers.get("Content-Type")) ? void 0 : null == ($jscomp$optchain$tmpm991617773$1 = $jscomp$optchain$tmpm991617773$0.split(";", 2)) ? void 0 : null == ($jscomp$optchain$tmpm991617773$2 = $jscomp$optchain$tmpm991617773$1[0]) ? void 0 : $jscomp$optchain$tmpm991617773$2.toLowerCase();
|
|
5118
|
+
return $jscomp$generator$context$m991617773$8.return({html:function() {
|
|
5119
5119
|
var text;
|
|
5120
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
5121
|
-
if (1 == $jscomp$generator$context$
|
|
5120
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$5) {
|
|
5121
|
+
if (1 == $jscomp$generator$context$m991617773$5.nextAddress) {
|
|
5122
5122
|
if ("text/html" !== mimeType) {
|
|
5123
5123
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
5124
5124
|
}
|
|
5125
|
-
return $jscomp$generator$context$
|
|
5125
|
+
return $jscomp$generator$context$m991617773$5.yield(response.text(), 2);
|
|
5126
5126
|
}
|
|
5127
|
-
text = $jscomp$generator$context$
|
|
5128
|
-
return $jscomp$generator$context$
|
|
5127
|
+
text = $jscomp$generator$context$m991617773$5.yieldResult;
|
|
5128
|
+
return $jscomp$generator$context$m991617773$5.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
5129
5129
|
});
|
|
5130
5130
|
}, script:function() {
|
|
5131
5131
|
var text;
|
|
5132
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
5133
|
-
if (1 == $jscomp$generator$context$
|
|
5132
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$6) {
|
|
5133
|
+
if (1 == $jscomp$generator$context$m991617773$6.nextAddress) {
|
|
5134
5134
|
if ("text/javascript" !== mimeType && "application/javascript" !== mimeType) {
|
|
5135
5135
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
5136
5136
|
}
|
|
5137
|
-
return $jscomp$generator$context$
|
|
5137
|
+
return $jscomp$generator$context$m991617773$6.yield(response.text(), 2);
|
|
5138
5138
|
}
|
|
5139
|
-
text = $jscomp$generator$context$
|
|
5140
|
-
return $jscomp$generator$context$
|
|
5139
|
+
text = $jscomp$generator$context$m991617773$6.yieldResult;
|
|
5140
|
+
return $jscomp$generator$context$m991617773$6.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
5141
5141
|
});
|
|
5142
5142
|
}, styleSheet:function() {
|
|
5143
5143
|
var text;
|
|
5144
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
5145
|
-
if (1 == $jscomp$generator$context$
|
|
5144
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$7) {
|
|
5145
|
+
if (1 == $jscomp$generator$context$m991617773$7.nextAddress) {
|
|
5146
5146
|
if ("text/css" !== mimeType) {
|
|
5147
5147
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
5148
5148
|
}
|
|
5149
|
-
return $jscomp$generator$context$
|
|
5149
|
+
return $jscomp$generator$context$m991617773$7.yield(response.text(), 2);
|
|
5150
5150
|
}
|
|
5151
|
-
text = $jscomp$generator$context$
|
|
5152
|
-
return $jscomp$generator$context$
|
|
5151
|
+
text = $jscomp$generator$context$m991617773$7.yieldResult;
|
|
5152
|
+
return $jscomp$generator$context$m991617773$7.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
5153
5153
|
});
|
|
5154
5154
|
}});
|
|
5155
5155
|
});
|
|
@@ -6571,8 +6571,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6571
6571
|
}
|
|
6572
6572
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6573
6573
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6574
|
-
for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$29 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$
|
|
6575
|
-
var $jscomp$destructuring$var3 = $jscomp.makeIterator($jscomp$key$
|
|
6574
|
+
for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$29 = $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()) {
|
|
6575
|
+
var $jscomp$destructuring$var3 = $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;
|
|
6576
6576
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6577
6577
|
}
|
|
6578
6578
|
return urlQueryParams;
|
|
@@ -6583,8 +6583,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6583
6583
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
6584
6584
|
if (params.headers) {
|
|
6585
6585
|
hasContentType = null != params.headers["Content-Type"];
|
|
6586
|
-
for (var $jscomp$iter$30 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$
|
|
6587
|
-
var $jscomp$destructuring$var5 = $jscomp.makeIterator($jscomp$key$
|
|
6586
|
+
for (var $jscomp$iter$30 = $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()) {
|
|
6587
|
+
var $jscomp$destructuring$var5 = $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;
|
|
6588
6588
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6589
6589
|
}
|
|
6590
6590
|
}
|
|
@@ -6624,9 +6624,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6624
6624
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6625
6625
|
};
|
|
6626
6626
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6627
|
-
var $jscomp$this$
|
|
6627
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6628
6628
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6629
|
-
return $jscomp$this$
|
|
6629
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6630
6630
|
}));
|
|
6631
6631
|
};
|
|
6632
6632
|
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"};
|
|
@@ -7370,9 +7370,7 @@ module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.load = fu
|
|
|
7370
7370
|
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m1628565157$0) {
|
|
7371
7371
|
if (1 == $jscomp$generator$context$m1628565157$0.nextAddress) {
|
|
7372
7372
|
if (!module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(!0)) {
|
|
7373
|
-
$jscomp$async$this.preUachHasLoaded_ = !0;
|
|
7374
|
-
return $jscomp$generator$context$m1628565157$0.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion()));
|
|
7375
|
-
return $jscomp$generator$context$m1628565157$0.jumpTo(0);
|
|
7373
|
+
return $jscomp$async$this.preUachHasLoaded_ = !0, $jscomp$generator$context$m1628565157$0.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion()));
|
|
7376
7374
|
}
|
|
7377
7375
|
JSCompiler_temp_const = module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version;
|
|
7378
7376
|
return $jscomp$generator$context$m1628565157$0.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.load(), 3);
|
|
@@ -15457,8 +15455,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15457
15455
|
this.replacements = new Map();
|
|
15458
15456
|
};
|
|
15459
15457
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15460
|
-
var $jscomp$this$
|
|
15461
|
-
return $jscomp$this$
|
|
15458
|
+
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) {
|
|
15459
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
15462
15460
|
});
|
|
15463
15461
|
if (0 !== openedTags.length) {
|
|
15464
15462
|
if (goog.DEBUG) {
|
|
@@ -15639,8 +15637,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15639
15637
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
15640
15638
|
};
|
|
15641
15639
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15642
|
-
for (var $jscomp$this$
|
|
15643
|
-
return $jscomp$this$
|
|
15640
|
+
for (var $jscomp$this$m1803429925$10 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
15641
|
+
return $jscomp$this$m1803429925$10.nodeFilter(n);
|
|
15644
15642
|
}, !1), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; null !== currentNode;) {
|
|
15645
15643
|
var sanitizedNode = void 0;
|
|
15646
15644
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15667,8 +15665,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15667
15665
|
return document.createTextNode(textNode.data);
|
|
15668
15666
|
};
|
|
15669
15667
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15670
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$31 = $jscomp.makeIterator(dirtyAttributes), $jscomp$key$
|
|
15671
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
15668
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$31 = $jscomp.makeIterator(dirtyAttributes), $jscomp$key$m1803429925$25$ = $jscomp$iter$31.next(); !$jscomp$key$m1803429925$25$.done; $jscomp$key$m1803429925$25$ = $jscomp$iter$31.next()) {
|
|
15669
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1803429925$25$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
15672
15670
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15673
15671
|
switch(policy.policyAction) {
|
|
15674
15672
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15721,8 +15719,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15721
15719
|
if (!conditions) {
|
|
15722
15720
|
return !0;
|
|
15723
15721
|
}
|
|
15724
|
-
for (var $jscomp$iter$32 = $jscomp.makeIterator(conditions), $jscomp$key$
|
|
15725
|
-
var $jscomp$destructuring$var33 = $jscomp.makeIterator($jscomp$key$
|
|
15722
|
+
for (var $jscomp$iter$32 = $jscomp.makeIterator(conditions), $jscomp$key$m1803429925$26$ = $jscomp$iter$32.next(); !$jscomp$key$m1803429925$26$.done; $jscomp$key$m1803429925$26$ = $jscomp$iter$32.next()) {
|
|
15723
|
+
var $jscomp$destructuring$var33 = $jscomp.makeIterator($jscomp$key$m1803429925$26$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1803429925$0 = void 0, value = null == ($jscomp$optchain$tmpm1803429925$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) ? void 0 : $jscomp$optchain$tmpm1803429925$0.value;
|
|
15726
15724
|
if (value && !expectedValues.has(value)) {
|
|
15727
15725
|
return !1;
|
|
15728
15726
|
}
|
|
@@ -15776,8 +15774,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15776
15774
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.defaultSanitizerTable;
|
|
15777
15775
|
};
|
|
15778
15776
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
15779
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$33 = $jscomp.makeIterator(elementSet), $jscomp$key$
|
|
15780
|
-
var element = $jscomp$key$
|
|
15777
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$33 = $jscomp.makeIterator(elementSet), $jscomp$key$m1412690177$0$element = $jscomp$iter$33.next(); !$jscomp$key$m1412690177$0$element.done; $jscomp$key$m1412690177$0$element = $jscomp$iter$33.next()) {
|
|
15778
|
+
var element = $jscomp$key$m1412690177$0$element.value;
|
|
15781
15779
|
element = element.toUpperCase();
|
|
15782
15780
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15783
15781
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15795,8 +15793,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15795
15793
|
throw Error("Element: " + element + " is not a custom element");
|
|
15796
15794
|
}
|
|
15797
15795
|
if (allowedAttributes) {
|
|
15798
|
-
for (var elementPolicy = new Map(), $jscomp$iter$34 = $jscomp.makeIterator(allowedAttributes), $jscomp$key$
|
|
15799
|
-
elementPolicy.set($jscomp$key$
|
|
15796
|
+
for (var elementPolicy = new Map(), $jscomp$iter$34 = $jscomp.makeIterator(allowedAttributes), $jscomp$key$m1412690177$1$attribute = $jscomp$iter$34.next(); !$jscomp$key$m1412690177$1$attribute.done; $jscomp$key$m1412690177$1$attribute = $jscomp$iter$34.next()) {
|
|
15797
|
+
elementPolicy.set($jscomp$key$m1412690177$1$attribute.value, {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
15800
15798
|
}
|
|
15801
15799
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15802
15800
|
} else {
|
|
@@ -15806,15 +15804,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15806
15804
|
return this;
|
|
15807
15805
|
};
|
|
15808
15806
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
15809
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$35 = $jscomp.makeIterator(attributeSet), $jscomp$key$
|
|
15810
|
-
var attribute = $jscomp$key$
|
|
15807
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$35 = $jscomp.makeIterator(attributeSet), $jscomp$key$m1412690177$2$attribute = $jscomp$iter$35.next(); !$jscomp$key$m1412690177$2$attribute.done; $jscomp$key$m1412690177$2$attribute = $jscomp$iter$35.next()) {
|
|
15808
|
+
var attribute = $jscomp$key$m1412690177$2$attribute.value;
|
|
15811
15809
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15812
15810
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15813
15811
|
}
|
|
15814
|
-
for (var $jscomp$iter$37 = $jscomp.makeIterator(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
15815
|
-
for (var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$
|
|
15812
|
+
for (var $jscomp$iter$37 = $jscomp.makeIterator(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$4$ = $jscomp$iter$37.next(); !$jscomp$key$m1412690177$4$.done; $jscomp$key$m1412690177$4$ = $jscomp$iter$37.next()) {
|
|
15813
|
+
for (var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$m1412690177$4$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var35.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var35.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$36 = $jscomp.makeIterator(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$m1412690177$3$ = $jscomp$iter$36.next(); !$jscomp$key$m1412690177$3$.done; $jscomp$key$m1412690177$3$ =
|
|
15816
15814
|
$jscomp$iter$36.next()) {
|
|
15817
|
-
var $jscomp$destructuring$var37 = $jscomp.makeIterator($jscomp$key$
|
|
15815
|
+
var $jscomp$destructuring$var37 = $jscomp.makeIterator($jscomp$key$m1412690177$3$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var37.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var37.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
15818
15816
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15819
15817
|
}
|
|
15820
15818
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -15823,8 +15821,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15823
15821
|
return this;
|
|
15824
15822
|
};
|
|
15825
15823
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
15826
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$38 = $jscomp.makeIterator(attributes), $jscomp$key$
|
|
15827
|
-
var attribute = $jscomp$key$
|
|
15824
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$38 = $jscomp.makeIterator(attributes), $jscomp$key$m1412690177$5$attribute = $jscomp$iter$38.next(); !$jscomp$key$m1412690177$5$attribute.done; $jscomp$key$m1412690177$5$attribute = $jscomp$iter$38.next()) {
|
|
15825
|
+
var attribute = $jscomp$key$m1412690177$5$attribute.value;
|
|
15828
15826
|
if (0 !== attribute.indexOf("data-")) {
|
|
15829
15827
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
15830
15828
|
}
|
|
@@ -16075,12 +16073,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16075
16073
|
}
|
|
16076
16074
|
try {
|
|
16077
16075
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16078
|
-
} catch ($jscomp$unused$catch$
|
|
16076
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
16079
16077
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16080
16078
|
}
|
|
16081
16079
|
try {
|
|
16082
16080
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16083
|
-
} catch ($jscomp$unused$catch$
|
|
16081
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
16084
16082
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16085
16083
|
}
|
|
16086
16084
|
return !1;
|
|
@@ -17461,7 +17459,6 @@ module$contents$goog$Thenable_Thenable.isImplementedBy = function(object) {
|
|
|
17461
17459
|
}
|
|
17462
17460
|
try {
|
|
17463
17461
|
return !!object[module$contents$goog$Thenable_Thenable.IMPLEMENTED_BY_PROP];
|
|
17464
|
-
return !!object.$goog_Thenable;
|
|
17465
17462
|
} catch (e) {
|
|
17466
17463
|
return !1;
|
|
17467
17464
|
}
|
|
@@ -18966,7 +18963,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
18966
18963
|
ee.apiclient = {};
|
|
18967
18964
|
var module$contents$ee$apiclient_apiclient = {};
|
|
18968
18965
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
18969
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
18966
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.404";
|
|
18970
18967
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
18971
18968
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
18972
18969
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19256,8 +19253,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19256
19253
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19257
19254
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19258
19255
|
method = method || "POST";
|
|
19259
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19260
|
-
"0.1.
|
|
19256
|
+
var headers = {"Content-Type":contentType}, version = "0.1.404";
|
|
19257
|
+
"0.1.404" === version && (version = "latest");
|
|
19261
19258
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19262
19259
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19263
19260
|
if (null != authToken) {
|