@google/earthengine 1.4.3 → 1.4.4
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 +163 -199
- package/build/ee_api_js.js +15 -15
- package/build/ee_api_js_debug.js +143 -179
- package/build/ee_api_js_npm.js +163 -199
- package/build/main.js +163 -199
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/data.js +0 -36
- package/src/geometry.js +1 -6
package/build/ee_api_js_debug.js
CHANGED
|
@@ -2169,9 +2169,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2169
2169
|
};
|
|
2170
2170
|
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;
|
|
2171
2171
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2172
|
-
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$
|
|
2173
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2174
|
-
var key = $jscomp$key$
|
|
2172
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$44 = {}; !$jscomp$key$m1892927425$40$key.done; $jscomp$loop$m1892927425$44 =
|
|
2173
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2174
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2175
2175
|
if (value != null) {
|
|
2176
2176
|
var copy = void 0;
|
|
2177
2177
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2182,11 +2182,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2182
2182
|
} else if (objects.hasOwnProperty(key)) {
|
|
2183
2183
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2184
2184
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2185
|
-
$jscomp$loop$
|
|
2185
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2186
2186
|
return function(v) {
|
|
2187
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2187
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2188
2188
|
};
|
|
2189
|
-
}($jscomp$loop$
|
|
2189
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2190
2190
|
} else if (Array.isArray(value)) {
|
|
2191
2191
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2192
2192
|
continue;
|
|
@@ -2201,8 +2201,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2201
2201
|
return target;
|
|
2202
2202
|
}
|
|
2203
2203
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2204
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2205
|
-
var mapKey = $jscomp$key$
|
|
2204
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m1892927425$41$mapKey.done; $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next()) {
|
|
2205
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2206
2206
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2207
2207
|
}
|
|
2208
2208
|
return objMap;
|
|
@@ -2232,39 +2232,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2232
2232
|
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))) {
|
|
2233
2233
|
return !1;
|
|
2234
2234
|
}
|
|
2235
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2236
|
-
var key = $jscomp$key$
|
|
2235
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$45 = {}; !$jscomp$key$m1892927425$42$key.done; $jscomp$loop$m1892927425$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next()) {
|
|
2236
|
+
var key = $jscomp$key$m1892927425$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2237
2237
|
if (has1 !== has2) {
|
|
2238
2238
|
return !1;
|
|
2239
2239
|
}
|
|
2240
2240
|
if (has1) {
|
|
2241
2241
|
var value1 = serializable1.Serializable$get(key);
|
|
2242
|
-
$jscomp$loop$
|
|
2242
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2243
2243
|
if (arrays1.hasOwnProperty(key)) {
|
|
2244
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2244
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2245
2245
|
return !1;
|
|
2246
2246
|
}
|
|
2247
2247
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2248
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2248
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2249
2249
|
return !1;
|
|
2250
2250
|
}
|
|
2251
2251
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2252
|
-
if ($jscomp$loop$
|
|
2253
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2252
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2253
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2254
2254
|
return function(v1, i) {
|
|
2255
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2255
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2256
2256
|
};
|
|
2257
|
-
}($jscomp$loop$
|
|
2257
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2258
2258
|
return !1;
|
|
2259
2259
|
}
|
|
2260
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2260
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2261
2261
|
return !1;
|
|
2262
2262
|
}
|
|
2263
2263
|
} else if (Array.isArray(value1)) {
|
|
2264
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2264
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2265
2265
|
return !1;
|
|
2266
2266
|
}
|
|
2267
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2267
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2268
2268
|
return !1;
|
|
2269
2269
|
}
|
|
2270
2270
|
}
|
|
@@ -2286,8 +2286,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2286
2286
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2287
2287
|
return !1;
|
|
2288
2288
|
}
|
|
2289
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2290
|
-
var mapKey = $jscomp$key$
|
|
2289
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m1892927425$43$mapKey.done; $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next()) {
|
|
2290
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2291
2291
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2292
2292
|
return !1;
|
|
2293
2293
|
}
|
|
@@ -2368,15 +2368,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2368
2368
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2369
2369
|
};
|
|
2370
2370
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2371
|
-
var $jscomp$this$
|
|
2371
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2372
2372
|
payload += this._metadataPayload;
|
|
2373
2373
|
return Promise.all(this.files.map(function(f) {
|
|
2374
|
-
return $jscomp$this$
|
|
2374
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2375
2375
|
})).then(function(filePayloads) {
|
|
2376
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2377
|
-
payload += $jscomp$key$
|
|
2376
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m133342051$9$filePayload.done; $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next()) {
|
|
2377
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2378
2378
|
}
|
|
2379
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2379
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2380
2380
|
});
|
|
2381
2381
|
};
|
|
2382
2382
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2816,8 +2816,8 @@ function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token)
|
|
|
2816
2816
|
}
|
|
2817
2817
|
}
|
|
2818
2818
|
module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
|
|
2819
|
-
var module$exports$safevalues$internals$trusted_types = {}, module$contents$safevalues$internals$trusted_types_module = module$contents$safevalues$internals$trusted_types_module || {id:"third_party/javascript/safevalues/internals/trusted_types.closure.js"}, module$contents$safevalues$internals$trusted_types_configuredPolicyName =
|
|
2820
|
-
"#html" : "", module$contents$safevalues$internals$trusted_types_policyName = module$contents$safevalues$internals$trusted_types_configuredPolicyName;
|
|
2819
|
+
var module$exports$safevalues$internals$trusted_types = {}, module$contents$safevalues$internals$trusted_types_module = module$contents$safevalues$internals$trusted_types_module || {id:"third_party/javascript/safevalues/internals/trusted_types.closure.js"}, module$contents$safevalues$internals$trusted_types_ExposeTrustedTypes, module$contents$safevalues$internals$trusted_types_configuredPolicyName =
|
|
2820
|
+
goog.TRUSTED_TYPES_POLICY_NAME ? goog.TRUSTED_TYPES_POLICY_NAME + "#html" : "", module$contents$safevalues$internals$trusted_types_policyName = module$contents$safevalues$internals$trusted_types_configuredPolicyName;
|
|
2821
2821
|
module$exports$safevalues$internals$trusted_types.trustedTypes = globalThis.trustedTypes;
|
|
2822
2822
|
var module$contents$safevalues$internals$trusted_types_trustedTypesInternal = module$exports$safevalues$internals$trusted_types.trustedTypes, module$contents$safevalues$internals$trusted_types_policy;
|
|
2823
2823
|
function module$contents$safevalues$internals$trusted_types_createPolicy() {
|
|
@@ -2881,8 +2881,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2881
2881
|
throw Error(message);
|
|
2882
2882
|
}
|
|
2883
2883
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2884
|
-
var $jscomp$templatelit$
|
|
2885
|
-
["\\0"]), $jscomp$templatelit$
|
|
2884
|
+
var $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
2885
|
+
["\\0"]), $jscomp$templatelit$m425881384$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
2886
2886
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2887
2887
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2888
2888
|
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 ##############################");
|
|
@@ -2896,14 +2896,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2896
2896
|
return fn.toString().indexOf("`") === -1;
|
|
2897
2897
|
}
|
|
2898
2898
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2899
|
-
return tag($jscomp$templatelit$
|
|
2899
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
2900
2900
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2901
|
-
return tag($jscomp$templatelit$
|
|
2901
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
2902
2902
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2903
|
-
return tag($jscomp$templatelit$
|
|
2903
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
2904
2904
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2905
|
-
return tag($jscomp$templatelit$
|
|
2906
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2905
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
2906
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$12);
|
|
2907
2907
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2908
2908
|
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)) ?
|
|
2909
2909
|
!0 : !1;
|
|
@@ -3139,12 +3139,12 @@ function module$contents$safevalues$dom$elements$area_setHref(area, url) {
|
|
|
3139
3139
|
function module$contents$safevalues$dom$elements$base_setHref(baseEl, url) {
|
|
3140
3140
|
baseEl.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
3141
3141
|
}
|
|
3142
|
-
;var module$
|
|
3143
|
-
module$
|
|
3142
|
+
;var module$contents$safevalues$dom$elements$button_module = module$contents$safevalues$dom$elements$button_module || {id:"third_party/javascript/safevalues/dom/elements/button.closure.js"};
|
|
3143
|
+
function module$contents$safevalues$dom$elements$button_setFormaction(button, url) {
|
|
3144
3144
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3145
3145
|
sanitizedUrl !== void 0 && (button.formAction = sanitizedUrl);
|
|
3146
|
-
}
|
|
3147
|
-
var module$exports$safevalues$internals$attribute_impl = {}, module$contents$safevalues$internals$attribute_impl_module = module$contents$safevalues$internals$attribute_impl_module || {id:"third_party/javascript/safevalues/internals/attribute_impl.closure.js"};
|
|
3146
|
+
}
|
|
3147
|
+
;var module$exports$safevalues$internals$attribute_impl = {}, module$contents$safevalues$internals$attribute_impl_module = module$contents$safevalues$internals$attribute_impl_module || {id:"third_party/javascript/safevalues/internals/attribute_impl.closure.js"};
|
|
3148
3148
|
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix = function(token, value) {
|
|
3149
3149
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3150
3150
|
this.privateDoNotAccessOrElseWrappedAttributePrefix = value;
|
|
@@ -3294,9 +3294,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3294
3294
|
}
|
|
3295
3295
|
}
|
|
3296
3296
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
3297
|
-
var $jscomp$tmp$error$
|
|
3298
|
-
this.message = $jscomp$tmp$error$
|
|
3299
|
-
"stack" in $jscomp$tmp$error$
|
|
3297
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
3298
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
3299
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
3300
3300
|
this.type = type;
|
|
3301
3301
|
this.intent = intent;
|
|
3302
3302
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -3365,12 +3365,12 @@ module$exports$safevalues$dom$elements$iframe.setSrcdocWithIntent = function(ele
|
|
|
3365
3365
|
module$contents$check_checkExhaustive(intent);
|
|
3366
3366
|
}
|
|
3367
3367
|
};
|
|
3368
|
-
var module$
|
|
3369
|
-
module$
|
|
3368
|
+
var module$contents$safevalues$dom$elements$input_module = module$contents$safevalues$dom$elements$input_module || {id:"third_party/javascript/safevalues/dom/elements/input.closure.js"};
|
|
3369
|
+
function module$contents$safevalues$dom$elements$input_setFormaction(input, url) {
|
|
3370
3370
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3371
3371
|
sanitizedUrl !== void 0 && (input.formAction = sanitizedUrl);
|
|
3372
|
-
}
|
|
3373
|
-
var module$exports$safevalues$dom$elements$link = {}, module$contents$safevalues$dom$elements$link_module = module$contents$safevalues$dom$elements$link_module || {id:"third_party/javascript/safevalues/dom/elements/link.closure.js"}, module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES = "alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");
|
|
3372
|
+
}
|
|
3373
|
+
;var module$exports$safevalues$dom$elements$link = {}, module$contents$safevalues$dom$elements$link_module = module$contents$safevalues$dom$elements$link_module || {id:"third_party/javascript/safevalues/dom/elements/link.closure.js"}, module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES = "alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");
|
|
3374
3374
|
module$exports$safevalues$dom$elements$link.setHrefAndRel = function(link, url, rel) {
|
|
3375
3375
|
if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(url)) {
|
|
3376
3376
|
module$contents$safevalues$dom$elements$link_setHrefAndRelWithTrustedResourceUrl(link, url, rel);
|
|
@@ -3404,7 +3404,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(documentOr
|
|
|
3404
3404
|
};
|
|
3405
3405
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, documentOrWindow) {
|
|
3406
3406
|
documentOrWindow = documentOrWindow === void 0 ? document : documentOrWindow;
|
|
3407
|
-
var $jscomp$optchain$
|
|
3407
|
+
var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = "document" in documentOrWindow ? documentOrWindow.document : documentOrWindow).querySelector) == null ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
|
|
3408
3408
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3409
3409
|
}
|
|
3410
3410
|
;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"};
|
|
@@ -4690,9 +4690,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
4690
4690
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
4691
4691
|
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"};
|
|
4692
4692
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4693
|
-
var $jscomp$tmp$error$
|
|
4694
|
-
this.message = $jscomp$tmp$error$
|
|
4695
|
-
"stack" in $jscomp$tmp$error$
|
|
4693
|
+
var $jscomp$tmp$error$1153895636$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
4694
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
4695
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
4696
4696
|
this.url = url;
|
|
4697
4697
|
this.typeName = typeName;
|
|
4698
4698
|
this.contentType = contentType;
|
|
@@ -4704,48 +4704,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4704
4704
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4705
4705
|
}
|
|
4706
4706
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4707
|
-
var response, $jscomp$optchain$
|
|
4708
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4709
|
-
if ($jscomp$generator$context$
|
|
4710
|
-
return $jscomp$generator$context$
|
|
4711
|
-
}
|
|
4712
|
-
response = $jscomp$generator$context$
|
|
4713
|
-
mimeType = ($jscomp$optchain$
|
|
4714
|
-
return $jscomp$generator$context$
|
|
4707
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
4708
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
4709
|
+
if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
|
|
4710
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4711
|
+
}
|
|
4712
|
+
response = $jscomp$generator$context$1153895636$29.yieldResult;
|
|
4713
|
+
mimeType = ($jscomp$optchain$tmp1153895636$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmp1153895636$1 = $jscomp$optchain$tmp1153895636$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmp1153895636$2 = $jscomp$optchain$tmp1153895636$1[0]) == null ? void 0 : $jscomp$optchain$tmp1153895636$2.toLowerCase();
|
|
4714
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
4715
4715
|
var text;
|
|
4716
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4717
|
-
if ($jscomp$generator$context$
|
|
4716
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
4717
|
+
if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
|
|
4718
4718
|
if (mimeType !== "text/html") {
|
|
4719
4719
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4720
4720
|
}
|
|
4721
|
-
return $jscomp$generator$context$
|
|
4721
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
4722
4722
|
}
|
|
4723
|
-
text = $jscomp$generator$context$
|
|
4724
|
-
return $jscomp$generator$context$
|
|
4723
|
+
text = $jscomp$generator$context$1153895636$26.yieldResult;
|
|
4724
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4725
4725
|
});
|
|
4726
4726
|
}, script:function() {
|
|
4727
4727
|
var text;
|
|
4728
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4729
|
-
if ($jscomp$generator$context$
|
|
4728
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
4729
|
+
if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
|
|
4730
4730
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4731
4731
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4732
4732
|
}
|
|
4733
|
-
return $jscomp$generator$context$
|
|
4733
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
4734
4734
|
}
|
|
4735
|
-
text = $jscomp$generator$context$
|
|
4736
|
-
return $jscomp$generator$context$
|
|
4735
|
+
text = $jscomp$generator$context$1153895636$27.yieldResult;
|
|
4736
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4737
4737
|
});
|
|
4738
4738
|
}, styleSheet:function() {
|
|
4739
4739
|
var text;
|
|
4740
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4741
|
-
if ($jscomp$generator$context$
|
|
4740
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
4741
|
+
if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
|
|
4742
4742
|
if (mimeType !== "text/css") {
|
|
4743
4743
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4744
4744
|
}
|
|
4745
|
-
return $jscomp$generator$context$
|
|
4745
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
4746
4746
|
}
|
|
4747
|
-
text = $jscomp$generator$context$
|
|
4748
|
-
return $jscomp$generator$context$
|
|
4747
|
+
text = $jscomp$generator$context$1153895636$28.yieldResult;
|
|
4748
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4749
4749
|
});
|
|
4750
4750
|
}});
|
|
4751
4751
|
});
|
|
@@ -4787,11 +4787,11 @@ function module$contents$safevalues$dom$globals$range_createContextualFragment(r
|
|
|
4787
4787
|
function module$contents$safevalues$dom$globals$service_worker_container_register(container, scriptURL, options) {
|
|
4788
4788
|
return container.register(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(scriptURL), options);
|
|
4789
4789
|
}
|
|
4790
|
-
;var module$
|
|
4791
|
-
module$
|
|
4790
|
+
;var module$contents$safevalues$dom$globals$url_module = module$contents$safevalues$dom$globals$url_module || {id:"third_party/javascript/safevalues/dom/globals/url.closure.js"};
|
|
4791
|
+
function module$contents$safevalues$dom$globals$url_objectUrlFromSafeSource(source) {
|
|
4792
4792
|
return module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource(source).toString();
|
|
4793
|
-
}
|
|
4794
|
-
var module$exports$safevalues$dom$globals$worker = {}, module$contents$safevalues$dom$globals$worker_module = module$contents$safevalues$dom$globals$worker_module || {id:"third_party/javascript/safevalues/dom/globals/worker.closure.js"};
|
|
4793
|
+
}
|
|
4794
|
+
;var module$exports$safevalues$dom$globals$worker = {}, module$contents$safevalues$dom$globals$worker_module = module$contents$safevalues$dom$globals$worker_module || {id:"third_party/javascript/safevalues/dom/globals/worker.closure.js"};
|
|
4795
4795
|
module$exports$safevalues$dom$globals$worker.ScopeWithImportScripts = function() {
|
|
4796
4796
|
};
|
|
4797
4797
|
module$exports$safevalues$dom$globals$worker.create = function(url, options) {
|
|
@@ -4807,16 +4807,13 @@ module$exports$safevalues$dom$globals$worker.importScripts = function(scope) {
|
|
|
4807
4807
|
};
|
|
4808
4808
|
var module$exports$safevalues$dom$index = {}, module$contents$safevalues$dom$index_module = module$contents$safevalues$dom$index_module || {id:"third_party/javascript/safevalues/dom/index.closure.js"};
|
|
4809
4809
|
module$exports$safevalues$dom$index.safeAnchorEl = module$exports$safevalues$dom$elements$anchor;
|
|
4810
|
-
module$exports$safevalues$dom$index.safeButtonEl = module$exports$safevalues$dom$elements$button;
|
|
4811
4810
|
module$exports$safevalues$dom$index.safeElement = module$exports$safevalues$dom$elements$element;
|
|
4812
4811
|
module$exports$safevalues$dom$index.safeFormEl = module$exports$safevalues$dom$elements$form;
|
|
4813
|
-
module$exports$safevalues$dom$index.safeInputEl = module$exports$safevalues$dom$elements$input;
|
|
4814
4812
|
module$exports$safevalues$dom$index.safeLinkEl = module$exports$safevalues$dom$elements$link;
|
|
4815
4813
|
module$exports$safevalues$dom$index.safeScriptEl = module$exports$safevalues$dom$elements$script;
|
|
4816
4814
|
module$exports$safevalues$dom$index.safeStyleEl = module$exports$safevalues$dom$elements$style;
|
|
4817
4815
|
module$exports$safevalues$dom$index.safeDomParser = module$exports$safevalues$dom$globals$dom_parser;
|
|
4818
4816
|
module$exports$safevalues$dom$index.safeLocation = module$exports$safevalues$dom$globals$location;
|
|
4819
|
-
module$exports$safevalues$dom$index.safeUrl = module$exports$safevalues$dom$globals$url;
|
|
4820
4817
|
module$exports$safevalues$dom$index.safeWindow = module$exports$safevalues$dom$globals$window;
|
|
4821
4818
|
module$exports$safevalues$dom$index.safeWorker = module$exports$safevalues$dom$globals$worker;
|
|
4822
4819
|
module$exports$safevalues$dom$index.safeIframeEl = {setSrc:module$exports$safevalues$dom$elements$iframe.setSrc, setSrcdoc:module$exports$safevalues$dom$elements$iframe.setSrcdoc, Intent:module$exports$safevalues$dom$elements$iframe.Intent, TypeCannotBeUsedWithIntentError:module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError,
|
|
@@ -4825,7 +4822,7 @@ module$exports$safevalues$dom$index.setAnchorHref = module$exports$safevalues$do
|
|
|
4825
4822
|
module$exports$safevalues$dom$index.setAnchorHrefLite = module$exports$safevalues$dom$elements$anchor.setHrefLite;
|
|
4826
4823
|
module$exports$safevalues$dom$index.setAreaHref = module$contents$safevalues$dom$elements$area_setHref;
|
|
4827
4824
|
module$exports$safevalues$dom$index.setBaseHref = module$contents$safevalues$dom$elements$base_setHref;
|
|
4828
|
-
module$exports$safevalues$dom$index.setButtonFormaction = module$
|
|
4825
|
+
module$exports$safevalues$dom$index.setButtonFormaction = module$contents$safevalues$dom$elements$button_setFormaction;
|
|
4829
4826
|
module$exports$safevalues$dom$index.buildPrefixedAttributeSetter = module$exports$safevalues$dom$elements$element.buildPrefixedAttributeSetter;
|
|
4830
4827
|
module$exports$safevalues$dom$index.elementInsertAdjacentHtml = module$exports$safevalues$dom$elements$element.insertAdjacentHtml;
|
|
4831
4828
|
module$exports$safevalues$dom$index.setElementInnerHtml = module$exports$safevalues$dom$elements$element.setInnerHtml;
|
|
@@ -4840,7 +4837,7 @@ module$exports$safevalues$dom$index.setIframeSrc = module$exports$safevalues$dom
|
|
|
4840
4837
|
module$exports$safevalues$dom$index.setIframeSrcWithIntent = module$exports$safevalues$dom$elements$iframe.setSrcWithIntent;
|
|
4841
4838
|
module$exports$safevalues$dom$index.setIframeSrcdoc = module$exports$safevalues$dom$elements$iframe.setSrcdoc;
|
|
4842
4839
|
module$exports$safevalues$dom$index.setIframeSrcdocWithIntent = module$exports$safevalues$dom$elements$iframe.setSrcdocWithIntent;
|
|
4843
|
-
module$exports$safevalues$dom$index.setInputFormaction = module$
|
|
4840
|
+
module$exports$safevalues$dom$index.setInputFormaction = module$contents$safevalues$dom$elements$input_setFormaction;
|
|
4844
4841
|
module$exports$safevalues$dom$index.setLinkHrefAndRel = module$exports$safevalues$dom$elements$link.setHrefAndRel;
|
|
4845
4842
|
module$exports$safevalues$dom$index.setLinkWithResourceUrlHrefAndRel = module$exports$safevalues$dom$elements$link.setHrefAndRelWithTrustedResourceUrl;
|
|
4846
4843
|
module$exports$safevalues$dom$index.setObjectData = module$contents$safevalues$dom$elements$object_setData;
|
|
@@ -4862,7 +4859,7 @@ module$exports$safevalues$dom$index.locationReplace = module$exports$safevalues$
|
|
|
4862
4859
|
module$exports$safevalues$dom$index.setLocationHref = module$exports$safevalues$dom$globals$location.setHref;
|
|
4863
4860
|
module$exports$safevalues$dom$index.rangeCreateContextualFragment = module$contents$safevalues$dom$globals$range_createContextualFragment;
|
|
4864
4861
|
module$exports$safevalues$dom$index.serviceWorkerContainerRegister = module$contents$safevalues$dom$globals$service_worker_container_register;
|
|
4865
|
-
module$exports$safevalues$dom$index.objectUrlFromSafeSource = module$
|
|
4862
|
+
module$exports$safevalues$dom$index.objectUrlFromSafeSource = module$contents$safevalues$dom$globals$url_objectUrlFromSafeSource;
|
|
4866
4863
|
module$exports$safevalues$dom$index.getScriptNonce = module$exports$safevalues$dom$globals$window.getScriptNonce;
|
|
4867
4864
|
module$exports$safevalues$dom$index.getStyleNonce = module$exports$safevalues$dom$globals$window.getStyleNonce;
|
|
4868
4865
|
module$exports$safevalues$dom$index.windowOpen = module$exports$safevalues$dom$globals$window.open;
|
|
@@ -4871,16 +4868,13 @@ module$exports$safevalues$dom$index.createSharedWorker = module$exports$safevalu
|
|
|
4871
4868
|
module$exports$safevalues$dom$index.workerGlobalScopeImportScripts = module$exports$safevalues$dom$globals$worker.importScripts;
|
|
4872
4869
|
var safevalues = {dom:{}};
|
|
4873
4870
|
safevalues.dom.safeAnchorEl = module$exports$safevalues$dom$elements$anchor;
|
|
4874
|
-
safevalues.dom.safeButtonEl = module$exports$safevalues$dom$elements$button;
|
|
4875
4871
|
safevalues.dom.safeElement = module$exports$safevalues$dom$elements$element;
|
|
4876
4872
|
safevalues.dom.safeFormEl = module$exports$safevalues$dom$elements$form;
|
|
4877
|
-
safevalues.dom.safeInputEl = module$exports$safevalues$dom$elements$input;
|
|
4878
4873
|
safevalues.dom.safeLinkEl = module$exports$safevalues$dom$elements$link;
|
|
4879
4874
|
safevalues.dom.safeScriptEl = module$exports$safevalues$dom$elements$script;
|
|
4880
4875
|
safevalues.dom.safeStyleEl = module$exports$safevalues$dom$elements$style;
|
|
4881
4876
|
safevalues.dom.safeDomParser = module$exports$safevalues$dom$globals$dom_parser;
|
|
4882
4877
|
safevalues.dom.safeLocation = module$exports$safevalues$dom$globals$location;
|
|
4883
|
-
safevalues.dom.safeUrl = module$exports$safevalues$dom$globals$url;
|
|
4884
4878
|
safevalues.dom.safeWindow = module$exports$safevalues$dom$globals$window;
|
|
4885
4879
|
safevalues.dom.safeWorker = module$exports$safevalues$dom$globals$worker;
|
|
4886
4880
|
safevalues.dom.safeIframeEl = module$exports$safevalues$dom$index.safeIframeEl;
|
|
@@ -4888,7 +4882,7 @@ safevalues.dom.setAnchorHref = module$exports$safevalues$dom$index.setAnchorHref
|
|
|
4888
4882
|
safevalues.dom.setAnchorHrefLite = module$exports$safevalues$dom$index.setAnchorHrefLite;
|
|
4889
4883
|
safevalues.dom.setAreaHref = module$contents$safevalues$dom$elements$area_setHref;
|
|
4890
4884
|
safevalues.dom.setBaseHref = module$contents$safevalues$dom$elements$base_setHref;
|
|
4891
|
-
safevalues.dom.setButtonFormaction = module$
|
|
4885
|
+
safevalues.dom.setButtonFormaction = module$contents$safevalues$dom$elements$button_setFormaction;
|
|
4892
4886
|
safevalues.dom.buildPrefixedAttributeSetter = module$exports$safevalues$dom$index.buildPrefixedAttributeSetter;
|
|
4893
4887
|
safevalues.dom.elementInsertAdjacentHtml = module$exports$safevalues$dom$index.elementInsertAdjacentHtml;
|
|
4894
4888
|
safevalues.dom.setElementInnerHtml = module$exports$safevalues$dom$index.setElementInnerHtml;
|
|
@@ -4903,7 +4897,7 @@ safevalues.dom.setIframeSrc = module$exports$safevalues$dom$index.setIframeSrc;
|
|
|
4903
4897
|
safevalues.dom.setIframeSrcWithIntent = module$exports$safevalues$dom$index.setIframeSrcWithIntent;
|
|
4904
4898
|
safevalues.dom.setIframeSrcdoc = module$exports$safevalues$dom$index.setIframeSrcdoc;
|
|
4905
4899
|
safevalues.dom.setIframeSrcdocWithIntent = module$exports$safevalues$dom$index.setIframeSrcdocWithIntent;
|
|
4906
|
-
safevalues.dom.setInputFormaction = module$
|
|
4900
|
+
safevalues.dom.setInputFormaction = module$contents$safevalues$dom$elements$input_setFormaction;
|
|
4907
4901
|
safevalues.dom.setLinkHrefAndRel = module$exports$safevalues$dom$index.setLinkHrefAndRel;
|
|
4908
4902
|
safevalues.dom.setLinkWithResourceUrlHrefAndRel = module$exports$safevalues$dom$index.setLinkWithResourceUrlHrefAndRel;
|
|
4909
4903
|
safevalues.dom.setObjectData = module$contents$safevalues$dom$elements$object_setData;
|
|
@@ -4925,26 +4919,14 @@ safevalues.dom.locationReplace = module$exports$safevalues$dom$index.locationRep
|
|
|
4925
4919
|
safevalues.dom.setLocationHref = module$exports$safevalues$dom$index.setLocationHref;
|
|
4926
4920
|
safevalues.dom.rangeCreateContextualFragment = module$contents$safevalues$dom$globals$range_createContextualFragment;
|
|
4927
4921
|
safevalues.dom.serviceWorkerContainerRegister = module$contents$safevalues$dom$globals$service_worker_container_register;
|
|
4928
|
-
safevalues.dom.objectUrlFromSafeSource = module$
|
|
4922
|
+
safevalues.dom.objectUrlFromSafeSource = module$contents$safevalues$dom$globals$url_objectUrlFromSafeSource;
|
|
4929
4923
|
safevalues.dom.getScriptNonce = module$exports$safevalues$dom$index.getScriptNonce;
|
|
4930
4924
|
safevalues.dom.getStyleNonce = module$exports$safevalues$dom$index.getStyleNonce;
|
|
4931
4925
|
safevalues.dom.windowOpen = module$exports$safevalues$dom$index.windowOpen;
|
|
4932
4926
|
safevalues.dom.createWorker = module$exports$safevalues$dom$index.createWorker;
|
|
4933
4927
|
safevalues.dom.createSharedWorker = module$exports$safevalues$dom$index.createSharedWorker;
|
|
4934
4928
|
safevalues.dom.workerGlobalScopeImportScripts = module$exports$safevalues$dom$index.workerGlobalScopeImportScripts;
|
|
4935
|
-
|
|
4936
|
-
function module$contents$safevalues$internals$style_impl_createStyleInternal(value) {
|
|
4937
|
-
return value;
|
|
4938
|
-
}
|
|
4939
|
-
module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
4940
|
-
function module$contents$safevalues$internals$style_impl_isStyle(value) {
|
|
4941
|
-
return typeof value === "string";
|
|
4942
|
-
}
|
|
4943
|
-
module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
4944
|
-
function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
|
|
4945
|
-
return value;
|
|
4946
|
-
}
|
|
4947
|
-
module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
4929
|
+
safevalues.dom.WorkerGlobalScopeWithImportScripts = module$exports$safevalues$dom$index.WorkerGlobalScopeWithImportScripts;
|
|
4948
4930
|
var module$exports$safevalues$restricted$reviewed = {}, module$contents$safevalues$restricted$reviewed_module = module$contents$safevalues$restricted$reviewed_module || {id:"third_party/javascript/safevalues/restricted/reviewed.closure.js"};
|
|
4949
4931
|
function module$contents$safevalues$restricted$reviewed_assertValidJustification(justification) {
|
|
4950
4932
|
if (typeof justification !== "string" || justification.trim() === "") {
|
|
@@ -4977,11 +4959,6 @@ function module$contents$safevalues$restricted$reviewed_urlSafeByReview(url, opt
|
|
|
4977
4959
|
return module$contents$safevalues$internals$url_impl_createUrlInternal(url);
|
|
4978
4960
|
}
|
|
4979
4961
|
module$exports$safevalues$restricted$reviewed.urlSafeByReview = module$contents$safevalues$restricted$reviewed_urlSafeByReview;
|
|
4980
|
-
function module$contents$safevalues$restricted$reviewed_styleSafeByReview(style, options) {
|
|
4981
|
-
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(options.justification);
|
|
4982
|
-
return module$contents$safevalues$internals$style_impl_createStyleInternal(style);
|
|
4983
|
-
}
|
|
4984
|
-
module$exports$safevalues$restricted$reviewed.styleSafeByReview = module$contents$safevalues$restricted$reviewed_styleSafeByReview;
|
|
4985
4962
|
safevalues.restricted = {};
|
|
4986
4963
|
safevalues.restricted.reviewed = {};
|
|
4987
4964
|
safevalues.restricted.reviewed.htmlSafeByReview = module$contents$safevalues$restricted$reviewed_htmlSafeByReview;
|
|
@@ -4989,7 +4966,6 @@ safevalues.restricted.reviewed.scriptSafeByReview = module$contents$safevalues$r
|
|
|
4989
4966
|
safevalues.restricted.reviewed.resourceUrlSafeByReview = module$contents$safevalues$restricted$reviewed_resourceUrlSafeByReview;
|
|
4990
4967
|
safevalues.restricted.reviewed.styleSheetSafeByReview = module$contents$safevalues$restricted$reviewed_styleSheetSafeByReview;
|
|
4991
4968
|
safevalues.restricted.reviewed.urlSafeByReview = module$contents$safevalues$restricted$reviewed_urlSafeByReview;
|
|
4992
|
-
safevalues.restricted.reviewed.styleSafeByReview = module$contents$safevalues$restricted$reviewed_styleSafeByReview;
|
|
4993
4969
|
goog.string.DETECT_DOUBLE_ESCAPING = !1;
|
|
4994
4970
|
goog.string.FORCE_NON_DOM_HTML_UNESCAPING = !1;
|
|
4995
4971
|
goog.string.Unicode = {NBSP:"\u00a0", ZERO_WIDTH_SPACE:"\u200b"};
|
|
@@ -5547,7 +5523,6 @@ goog.structs.every = function(col, f, opt_obj) {
|
|
|
5547
5523
|
goog.uri = {};
|
|
5548
5524
|
goog.uri.utils = {};
|
|
5549
5525
|
goog.uri.utils.QueryArray = {};
|
|
5550
|
-
goog.uri.utils.QueryValue = {};
|
|
5551
5526
|
goog.uri.utils.CharCode_ = {AMPERSAND:38, EQUAL:61, HASH:35, QUESTION:63};
|
|
5552
5527
|
goog.uri.utils.buildFromEncodedParts = function(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_queryData, opt_fragment) {
|
|
5553
5528
|
var out = "";
|
|
@@ -6267,8 +6242,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6267
6242
|
}
|
|
6268
6243
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6269
6244
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6270
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6271
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6245
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$m125199259$0$ = $jscomp$iter$29.next(); !$jscomp$key$m125199259$0$.done; $jscomp$key$m125199259$0$ = $jscomp$iter$29.next()) {
|
|
6246
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
6272
6247
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6273
6248
|
}
|
|
6274
6249
|
return urlQueryParams;
|
|
@@ -6279,8 +6254,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6279
6254
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6280
6255
|
if (params.headers) {
|
|
6281
6256
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6282
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6283
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6257
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$m125199259$1$ = $jscomp$iter$30.next(); !$jscomp$key$m125199259$1$.done; $jscomp$key$m125199259$1$ = $jscomp$iter$30.next()) {
|
|
6258
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6284
6259
|
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);
|
|
6285
6260
|
}
|
|
6286
6261
|
}
|
|
@@ -6320,9 +6295,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6320
6295
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6321
6296
|
};
|
|
6322
6297
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6323
|
-
var $jscomp$this$
|
|
6298
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6324
6299
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6325
|
-
return $jscomp$this$
|
|
6300
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
6326
6301
|
}));
|
|
6327
6302
|
};
|
|
6328
6303
|
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"};
|
|
@@ -14738,7 +14713,7 @@ goog.async.nextTick = function(callback, opt_context) {
|
|
|
14738
14713
|
var cb = callback;
|
|
14739
14714
|
opt_context && (cb = goog.bind(callback, opt_context));
|
|
14740
14715
|
cb = goog.async.nextTick.wrapCallback_(cb);
|
|
14741
|
-
goog.async.nextTick.USE_SET_TIMEOUT ? setTimeout(cb, 0) : goog.DEBUG && typeof goog.global.setImmediate === "function" && goog.async.nextTick.useSetImmediate_() ? goog.global.setImmediate(cb) : (goog.async.nextTick.nextTickImpl || (goog.async.nextTick.nextTickImpl = goog.async.nextTick.getNextTickImpl_()), goog.async.nextTick.nextTickImpl(cb));
|
|
14716
|
+
goog.async.nextTick.USE_SET_TIMEOUT ? setTimeout(cb, 0) : (cb = module$exports$common$async$context$propagate.propagateAsyncContext(cb), goog.DEBUG && typeof goog.global.setImmediate === "function" && goog.async.nextTick.useSetImmediate_() ? goog.global.setImmediate(cb) : (goog.async.nextTick.nextTickImpl || (goog.async.nextTick.nextTickImpl = goog.async.nextTick.getNextTickImpl_()), goog.async.nextTick.nextTickImpl(cb)));
|
|
14742
14717
|
};
|
|
14743
14718
|
goog.async.nextTick.USE_SET_TIMEOUT = !1;
|
|
14744
14719
|
goog.async.nextTick.useSetImmediate_ = function() {
|
|
@@ -16036,7 +16011,7 @@ function module$contents$safevalues$builders$html_builders_getAttrNameAndValue(t
|
|
|
16036
16011
|
throw Error(goog.DEBUG ? 'Attribute "' + name + " is forbidden. Inline event handlers can lead to XSS. Please use the 'addEventListener' API instead." : "");
|
|
16037
16012
|
}
|
|
16038
16013
|
module$contents$safevalues$builders$html_builders_URL_ATTRIBUTES.indexOf(name.toLowerCase()) !== -1 && (value = module$contents$safevalues$internals$url_impl_isUrl(value) ? value.toString() : module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl(String(value)) || "about:invalid#zClosurez");
|
|
16039
|
-
if (goog.DEBUG && !module$contents$safevalues$internals$url_impl_isUrl(value) && !(0,module$exports$safevalues$internals$html_impl.isHtml)(value) &&
|
|
16014
|
+
if (goog.DEBUG && !module$contents$safevalues$internals$url_impl_isUrl(value) && !(0,module$exports$safevalues$internals$html_impl.isHtml)(value) && typeof value !== "string" && typeof value !== "number") {
|
|
16040
16015
|
throw Error("String or number value expected, got " + typeof value + " with value '" + value + "' given.");
|
|
16041
16016
|
}
|
|
16042
16017
|
return name + '="' + module$contents$safevalues$builders$html_builders_htmlEscape(String(value)) + '"';
|
|
@@ -16053,8 +16028,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16053
16028
|
this.replacements = new Map();
|
|
16054
16029
|
};
|
|
16055
16030
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16056
|
-
var $jscomp$this$
|
|
16057
|
-
return $jscomp$this$
|
|
16031
|
+
var $jscomp$this$1018007701$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
16032
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
16058
16033
|
});
|
|
16059
16034
|
if (openedTags.length !== 0) {
|
|
16060
16035
|
if (goog.DEBUG) {
|
|
@@ -16272,8 +16247,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16272
16247
|
if (Array.isArray(token)) {
|
|
16273
16248
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16274
16249
|
} else {
|
|
16275
|
-
var $jscomp$optchain$
|
|
16276
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16250
|
+
var $jscomp$optchain$tmpm282935782$0 = void 0;
|
|
16251
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm282935782$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm282935782$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
16277
16252
|
tokens.push(token);
|
|
16278
16253
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16279
16254
|
return tokens;
|
|
@@ -16519,9 +16494,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16519
16494
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16520
16495
|
};
|
|
16521
16496
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16522
|
-
var $jscomp$this$
|
|
16497
|
+
var $jscomp$this$m282935782$26 = this;
|
|
16523
16498
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16524
|
-
return $jscomp$this$
|
|
16499
|
+
return $jscomp$this$m282935782$26.isWhitespace(c);
|
|
16525
16500
|
});
|
|
16526
16501
|
};
|
|
16527
16502
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16593,11 +16568,11 @@ function(propertyAllowlist, functionAllowlist, resourceUrlPolicy, allowKeyframes
|
|
|
16593
16568
|
this.inertDocument = document.implementation.createHTMLDocument();
|
|
16594
16569
|
};
|
|
16595
16570
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.getStyleSheet = function(cssText) {
|
|
16596
|
-
var
|
|
16597
|
-
(0,module$exports$safevalues$dom$elements$style.setTextContent)(
|
|
16598
|
-
this.inertDocument.head.appendChild(
|
|
16599
|
-
var sheet =
|
|
16600
|
-
|
|
16571
|
+
var styleEl = this.inertDocument.createElement("style"), safeStyleSheet = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(cssText);
|
|
16572
|
+
(0,module$exports$safevalues$dom$elements$style.setTextContent)(styleEl, safeStyleSheet);
|
|
16573
|
+
this.inertDocument.head.appendChild(styleEl);
|
|
16574
|
+
var sheet = styleEl.sheet;
|
|
16575
|
+
styleEl.remove();
|
|
16601
16576
|
return sheet;
|
|
16602
16577
|
};
|
|
16603
16578
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.getStyleDeclaration = function(cssText) {
|
|
@@ -16628,8 +16603,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16628
16603
|
return null;
|
|
16629
16604
|
}
|
|
16630
16605
|
if (token.lowercaseName === "url") {
|
|
16631
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16632
|
-
if ((($jscomp$optchain$
|
|
16606
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
|
|
16607
|
+
if ((($jscomp$optchain$tmpm1577590584$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1577590584$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16633
16608
|
return null;
|
|
16634
16609
|
}
|
|
16635
16610
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16652,8 +16627,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16652
16627
|
if (!this.allowKeyframes) {
|
|
16653
16628
|
return null;
|
|
16654
16629
|
}
|
|
16655
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16656
|
-
var rule = $jscomp$key$
|
|
16630
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1577590584$1$rule.done; $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next()) {
|
|
16631
|
+
var rule = $jscomp$key$m1577590584$1$rule.value;
|
|
16657
16632
|
if (rule instanceof CSSKeyframeRule) {
|
|
16658
16633
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16659
16634
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16665,8 +16640,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16665
16640
|
if (!this.propertyAllowlist.has(name)) {
|
|
16666
16641
|
return !1;
|
|
16667
16642
|
}
|
|
16668
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16669
|
-
var discarder = $jscomp$key$
|
|
16643
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1577590584$2$discarder.done; $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next()) {
|
|
16644
|
+
var discarder = $jscomp$key$m1577590584$2$discarder.value;
|
|
16670
16645
|
if (discarder(name)) {
|
|
16671
16646
|
return !1;
|
|
16672
16647
|
}
|
|
@@ -16681,8 +16656,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16681
16656
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16682
16657
|
};
|
|
16683
16658
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16684
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16685
|
-
var name = $jscomp$key$
|
|
16659
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1577590584$3$name.done; $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next()) {
|
|
16660
|
+
var name = $jscomp$key$m1577590584$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16686
16661
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16687
16662
|
}
|
|
16688
16663
|
return sanitizedProperties;
|
|
@@ -16696,8 +16671,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16696
16671
|
return selector + " { " + sanitizedProperties + " }";
|
|
16697
16672
|
};
|
|
16698
16673
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16699
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16700
|
-
var rule = $jscomp$key$
|
|
16674
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1577590584$4$rule.done; $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next()) {
|
|
16675
|
+
var rule = $jscomp$key$m1577590584$4$rule.value;
|
|
16701
16676
|
if (rule instanceof CSSStyleRule) {
|
|
16702
16677
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16703
16678
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16858,8 +16833,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16858
16833
|
return fragment;
|
|
16859
16834
|
};
|
|
16860
16835
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16861
|
-
for (var $jscomp$this$
|
|
16862
|
-
return $jscomp$this$
|
|
16836
|
+
for (var $jscomp$this$m1085474118$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
16837
|
+
return $jscomp$this$m1085474118$13.nodeFilter(n);
|
|
16863
16838
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16864
16839
|
var sanitizedNode = void 0;
|
|
16865
16840
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16894,8 +16869,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16894
16869
|
return this.createTextNode(textNode.data);
|
|
16895
16870
|
};
|
|
16896
16871
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16897
|
-
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$
|
|
16898
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
16872
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1085474118$34$.done; $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next()) {
|
|
16873
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1085474118$34$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
16899
16874
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16900
16875
|
switch(policy.policyAction) {
|
|
16901
16876
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16927,9 +16902,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16927
16902
|
break;
|
|
16928
16903
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16929
16904
|
if (this.resourceUrlPolicy) {
|
|
16930
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.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$
|
|
16905
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1085474118$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1085474118$33$part.done; $jscomp$key$m1085474118$33$part =
|
|
16931
16906
|
$jscomp$iter$35.next()) {
|
|
16932
|
-
var part = $jscomp$key$
|
|
16907
|
+
var part = $jscomp$key$m1085474118$33$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
16933
16908
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16934
16909
|
}
|
|
16935
16910
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16973,8 +16948,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16973
16948
|
if (!conditions) {
|
|
16974
16949
|
return !0;
|
|
16975
16950
|
}
|
|
16976
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
16977
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16951
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1085474118$35$.done; $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next()) {
|
|
16952
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
16978
16953
|
if (value && !expectedValues.has(value)) {
|
|
16979
16954
|
return !1;
|
|
16980
16955
|
}
|
|
@@ -16989,8 +16964,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
16989
16964
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
16990
16965
|
};
|
|
16991
16966
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16992
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
16993
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16967
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1085474118$36$part.done; $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next()) {
|
|
16968
|
+
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$36$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var34.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var34.next().value;
|
|
16994
16969
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
16995
16970
|
}
|
|
16996
16971
|
return {parts:parts};
|
|
@@ -17047,8 +17022,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17047
17022
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17048
17023
|
};
|
|
17049
17024
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17050
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17051
|
-
var element = $jscomp$key$
|
|
17025
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$435282654$21$element = $jscomp$iter$39.next(); !$jscomp$key$435282654$21$element.done; $jscomp$key$435282654$21$element = $jscomp$iter$39.next()) {
|
|
17026
|
+
var element = $jscomp$key$435282654$21$element.value;
|
|
17052
17027
|
element = element.toUpperCase();
|
|
17053
17028
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17054
17029
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17066,8 +17041,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17066
17041
|
throw Error("Element: " + element + " is not a custom element");
|
|
17067
17042
|
}
|
|
17068
17043
|
if (allowedAttributes) {
|
|
17069
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17070
|
-
elementPolicy.set($jscomp$key$
|
|
17044
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$435282654$22$attribute = $jscomp$iter$40.next(); !$jscomp$key$435282654$22$attribute.done; $jscomp$key$435282654$22$attribute = $jscomp$iter$40.next()) {
|
|
17045
|
+
elementPolicy.set($jscomp$key$435282654$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17071
17046
|
}
|
|
17072
17047
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17073
17048
|
} else {
|
|
@@ -17077,15 +17052,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17077
17052
|
return this;
|
|
17078
17053
|
};
|
|
17079
17054
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17080
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17081
|
-
var attribute = $jscomp$key$
|
|
17055
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$435282654$23$attribute = $jscomp$iter$41.next(); !$jscomp$key$435282654$23$attribute.done; $jscomp$key$435282654$23$attribute = $jscomp$iter$41.next()) {
|
|
17056
|
+
var attribute = $jscomp$key$435282654$23$attribute.value;
|
|
17082
17057
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17083
17058
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17084
17059
|
}
|
|
17085
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17086
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17060
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$25$ = $jscomp$iter$43.next(); !$jscomp$key$435282654$25$.done; $jscomp$key$435282654$25$ = $jscomp$iter$43.next()) {
|
|
17061
|
+
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$435282654$25$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var37.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var37.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$24$ = $jscomp$iter$42.next(); !$jscomp$key$435282654$24$.done; $jscomp$key$435282654$24$ =
|
|
17087
17062
|
$jscomp$iter$42.next()) {
|
|
17088
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17063
|
+
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$435282654$24$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var39.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var39.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
17089
17064
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17090
17065
|
}
|
|
17091
17066
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17094,8 +17069,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17094
17069
|
return this;
|
|
17095
17070
|
};
|
|
17096
17071
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
17097
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17098
|
-
var attribute = $jscomp$key$
|
|
17072
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$435282654$26$attribute = $jscomp$iter$44.next(); !$jscomp$key$435282654$26$attribute.done; $jscomp$key$435282654$26$attribute = $jscomp$iter$44.next()) {
|
|
17073
|
+
var attribute = $jscomp$key$435282654$26$attribute.value;
|
|
17099
17074
|
if (attribute.indexOf("data-") !== 0) {
|
|
17100
17075
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17101
17076
|
}
|
|
@@ -17157,7 +17132,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17157
17132
|
return this;
|
|
17158
17133
|
};
|
|
17159
17134
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17160
|
-
var $jscomp$this$
|
|
17135
|
+
var $jscomp$this$435282654$17 = this;
|
|
17161
17136
|
this.extendSanitizerTableForCss();
|
|
17162
17137
|
var propertyDiscarders = [];
|
|
17163
17138
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17167,9 +17142,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17167
17142
|
return /^transition(-|$)/.test(property);
|
|
17168
17143
|
});
|
|
17169
17144
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17170
|
-
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$
|
|
17145
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$17.resourceUrlPolicy, $jscomp$this$435282654$17.animationsAllowed, propertyDiscarders);
|
|
17171
17146
|
}, function(cssText) {
|
|
17172
|
-
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$
|
|
17147
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$17.resourceUrlPolicy, propertyDiscarders);
|
|
17173
17148
|
}, this.resourceUrlPolicy);
|
|
17174
17149
|
};
|
|
17175
17150
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17387,12 +17362,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17387
17362
|
}
|
|
17388
17363
|
try {
|
|
17389
17364
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17390
|
-
} catch ($jscomp$unused$catch$
|
|
17365
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
17391
17366
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17392
17367
|
}
|
|
17393
17368
|
try {
|
|
17394
17369
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17395
|
-
} catch ($jscomp$unused$catch$
|
|
17370
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
17396
17371
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17397
17372
|
}
|
|
17398
17373
|
return !1;
|
|
@@ -17473,8 +17448,6 @@ module$exports$safevalues$index.EMPTY_SCRIPT = module$exports$safevalues$interna
|
|
|
17473
17448
|
module$exports$safevalues$index.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
17474
17449
|
module$exports$safevalues$index.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
17475
17450
|
module$exports$safevalues$index.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
17476
|
-
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
17477
|
-
module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
17478
17451
|
module$exports$safevalues$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
17479
17452
|
module$exports$safevalues$index.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
17480
17453
|
module$exports$safevalues$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
@@ -17547,9 +17520,6 @@ safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_
|
|
|
17547
17520
|
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
17548
17521
|
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
17549
17522
|
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
17550
|
-
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
17551
|
-
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
17552
|
-
safevalues.SafeStyle = module$exports$safevalues$index.SafeStyle;
|
|
17553
17523
|
safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
17554
17524
|
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
17555
17525
|
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
@@ -17559,7 +17529,6 @@ safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
|
17559
17529
|
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
17560
17530
|
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
17561
17531
|
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
17562
|
-
goog.dom.Appendable = {};
|
|
17563
17532
|
goog.dom.ASSUME_QUIRKS_MODE = !1;
|
|
17564
17533
|
goog.dom.ASSUME_STANDARDS_MODE = !1;
|
|
17565
17534
|
goog.dom.COMPAT_MODE_KNOWN_ = goog.dom.ASSUME_QUIRKS_MODE || goog.dom.ASSUME_STANDARDS_MODE;
|
|
@@ -19238,7 +19207,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19238
19207
|
ee.apiclient = {};
|
|
19239
19208
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19240
19209
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19241
|
-
ee.apiclient.API_CLIENT_VERSION = "1.4.
|
|
19210
|
+
ee.apiclient.API_CLIENT_VERSION = "1.4.4";
|
|
19242
19211
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19243
19212
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19244
19213
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19536,8 +19505,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19536
19505
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19537
19506
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19538
19507
|
method = method || "POST";
|
|
19539
|
-
var headers = {"Content-Type":contentType}, version = "1.4.
|
|
19540
|
-
version === "1.4.
|
|
19508
|
+
var headers = {"Content-Type":contentType}, version = "1.4.4";
|
|
19509
|
+
version === "1.4.4" && (version = "latest");
|
|
19541
19510
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19542
19511
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19543
19512
|
if (authToken != null) {
|
|
@@ -21186,15 +21155,10 @@ goog.singleton.getInstance = function(ctor) {
|
|
|
21186
21155
|
goog.singleton.instantiatedSingletons = module$contents$goog$singleton_instantiatedSingletons;
|
|
21187
21156
|
ee.data = {};
|
|
21188
21157
|
ee.data.AbstractTaskConfig = {};
|
|
21189
|
-
ee.data.AlgorithmsRegistry = {};
|
|
21190
|
-
ee.data.AssetList = {};
|
|
21191
|
-
ee.data.BigQueryTaskConfig = {};
|
|
21192
21158
|
ee.data.ClassifierTaskConfig = {};
|
|
21193
|
-
ee.data.FeatureViewTaskConfig = {};
|
|
21194
21159
|
ee.data.ImageTaskConfig = {};
|
|
21195
21160
|
ee.data.MapTaskConfig = {};
|
|
21196
21161
|
ee.data.TableTaskConfig = {};
|
|
21197
|
-
ee.data.VideoMapTaskConfig = {};
|
|
21198
21162
|
ee.data.VideoTaskConfig = {};
|
|
21199
21163
|
ee.data.authenticateViaOauth = function(clientId, success, opt_error, opt_extraScopes, opt_onImmediateFailed, opt_suppressDefaultScopes) {
|
|
21200
21164
|
var scopes = module$contents$ee$apiclient_apiclient.mergeAuthScopes_(!opt_suppressDefaultScopes, !1, opt_extraScopes || []);
|