@google/earthengine 1.4.6 → 1.5.1
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/README.md +7 -0
- package/build/browser.js +397 -336
- package/build/ee_api_js.js +34 -34
- package/build/ee_api_js_debug.js +376 -315
- package/build/ee_api_js_npm.js +397 -336
- package/build/main.js +397 -336
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/batch.js +26 -28
- package/src/data.js +0 -7
- package/src/ee.js +0 -2
package/build/browser.js
CHANGED
|
@@ -11,6 +11,7 @@ $jscomp.arrayIterator = function(array) {
|
|
|
11
11
|
};
|
|
12
12
|
$jscomp.ASSUME_ES5 = !1;
|
|
13
13
|
$jscomp.ASSUME_ES6 = !1;
|
|
14
|
+
$jscomp.ASSUME_ES2020 = !1;
|
|
14
15
|
$jscomp.ASSUME_NO_NATIVE_MAP = !1;
|
|
15
16
|
$jscomp.ASSUME_NO_NATIVE_SET = !1;
|
|
16
17
|
$jscomp.ISOLATE_POLYFILLS = !1;
|
|
@@ -35,7 +36,7 @@ $jscomp.getGlobal = function(passedInThis) {
|
|
|
35
36
|
throw Error("Cannot find global object");
|
|
36
37
|
}();
|
|
37
38
|
};
|
|
38
|
-
$jscomp.global = $jscomp.getGlobal(this);
|
|
39
|
+
$jscomp.global = $jscomp.ASSUME_ES2020 ? globalThis : $jscomp.getGlobal(this);
|
|
39
40
|
$jscomp.IS_SYMBOL_NATIVE = typeof Symbol === "function" && typeof Symbol("x") === "symbol";
|
|
40
41
|
$jscomp.TRUST_ES6_POLYFILLS = !$jscomp.ISOLATE_POLYFILLS || $jscomp.IS_SYMBOL_NATIVE;
|
|
41
42
|
$jscomp.polyfills = {};
|
|
@@ -467,6 +468,9 @@ $jscomp.getRestArguments = function() {
|
|
|
467
468
|
}
|
|
468
469
|
return restArgs;
|
|
469
470
|
};
|
|
471
|
+
$jscomp.polyfill("globalThis", function(orig) {
|
|
472
|
+
return orig || $jscomp.global;
|
|
473
|
+
}, "es_2020", "es3");
|
|
470
474
|
$jscomp.polyfill("Reflect", function(orig) {
|
|
471
475
|
return orig ? orig : {};
|
|
472
476
|
}, "es6", "es3");
|
|
@@ -768,9 +772,6 @@ $jscomp.polyfill("Array.prototype.keys", function(orig) {
|
|
|
768
772
|
});
|
|
769
773
|
};
|
|
770
774
|
}, "es6", "es3");
|
|
771
|
-
$jscomp.polyfill("globalThis", function(orig) {
|
|
772
|
-
return orig || $jscomp.global;
|
|
773
|
-
}, "es_2020", "es3");
|
|
774
775
|
$jscomp.checkEs6ConformanceViaProxy = function() {
|
|
775
776
|
try {
|
|
776
777
|
var proxied = {}, proxy = Object.create(new $jscomp.global.Proxy(proxied, {get:function(target, key, receiver) {
|
|
@@ -2185,9 +2186,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2185
2186
|
};
|
|
2186
2187
|
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;
|
|
2187
2188
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2188
|
-
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$
|
|
2189
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2190
|
-
var key = $jscomp$key$
|
|
2189
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$m192531680$40$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$44 = {}; !$jscomp$key$m192531680$40$key.done; $jscomp$loop$m192531680$44 =
|
|
2190
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2191
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2191
2192
|
if (value != null) {
|
|
2192
2193
|
var copy = void 0;
|
|
2193
2194
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2198,11 +2199,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2198
2199
|
} else if (objects.hasOwnProperty(key)) {
|
|
2199
2200
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2200
2201
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2201
|
-
$jscomp$loop$
|
|
2202
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2202
2203
|
return function(v) {
|
|
2203
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2204
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2204
2205
|
};
|
|
2205
|
-
}($jscomp$loop$
|
|
2206
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2206
2207
|
} else if (Array.isArray(value)) {
|
|
2207
2208
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2208
2209
|
continue;
|
|
@@ -2217,8 +2218,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2217
2218
|
return target;
|
|
2218
2219
|
}
|
|
2219
2220
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2220
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2221
|
-
var mapKey = $jscomp$key$
|
|
2221
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m192531680$41$mapKey.done; $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next()) {
|
|
2222
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2222
2223
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2223
2224
|
}
|
|
2224
2225
|
return objMap;
|
|
@@ -2248,39 +2249,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2248
2249
|
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))) {
|
|
2249
2250
|
return !1;
|
|
2250
2251
|
}
|
|
2251
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2252
|
-
var key = $jscomp$key$
|
|
2252
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m192531680$42$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$45 = {}; !$jscomp$key$m192531680$42$key.done; $jscomp$loop$m192531680$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m192531680$42$key = $jscomp$iter$21.next()) {
|
|
2253
|
+
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);
|
|
2253
2254
|
if (has1 !== has2) {
|
|
2254
2255
|
return !1;
|
|
2255
2256
|
}
|
|
2256
2257
|
if (has1) {
|
|
2257
2258
|
var value1 = serializable1.Serializable$get(key);
|
|
2258
|
-
$jscomp$loop$
|
|
2259
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2259
2260
|
if (arrays1.hasOwnProperty(key)) {
|
|
2260
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2261
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2261
2262
|
return !1;
|
|
2262
2263
|
}
|
|
2263
2264
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2264
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2265
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2265
2266
|
return !1;
|
|
2266
2267
|
}
|
|
2267
2268
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2268
|
-
if ($jscomp$loop$
|
|
2269
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2269
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2270
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2270
2271
|
return function(v1, i) {
|
|
2271
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2272
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2272
2273
|
};
|
|
2273
|
-
}($jscomp$loop$
|
|
2274
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2274
2275
|
return !1;
|
|
2275
2276
|
}
|
|
2276
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2277
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2277
2278
|
return !1;
|
|
2278
2279
|
}
|
|
2279
2280
|
} else if (Array.isArray(value1)) {
|
|
2280
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2281
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2281
2282
|
return !1;
|
|
2282
2283
|
}
|
|
2283
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2284
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2284
2285
|
return !1;
|
|
2285
2286
|
}
|
|
2286
2287
|
}
|
|
@@ -2302,8 +2303,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2302
2303
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2303
2304
|
return !1;
|
|
2304
2305
|
}
|
|
2305
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2306
|
-
var mapKey = $jscomp$key$
|
|
2306
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m192531680$43$mapKey.done; $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next()) {
|
|
2307
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2307
2308
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2308
2309
|
return !1;
|
|
2309
2310
|
}
|
|
@@ -2384,15 +2385,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2384
2385
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2385
2386
|
};
|
|
2386
2387
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2387
|
-
var $jscomp$this$
|
|
2388
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2388
2389
|
payload += this._metadataPayload;
|
|
2389
2390
|
return Promise.all(this.files.map(function(f) {
|
|
2390
|
-
return $jscomp$this$
|
|
2391
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2391
2392
|
})).then(function(filePayloads) {
|
|
2392
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2393
|
-
payload += $jscomp$key$
|
|
2393
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m667091202$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m667091202$9$filePayload.done; $jscomp$key$m667091202$9$filePayload = $jscomp$iter$23.next()) {
|
|
2394
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2394
2395
|
}
|
|
2395
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2396
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2396
2397
|
});
|
|
2397
2398
|
};
|
|
2398
2399
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2904,8 +2905,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2904
2905
|
throw Error(message);
|
|
2905
2906
|
}
|
|
2906
2907
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2907
|
-
var $jscomp$templatelit$
|
|
2908
|
-
["\\0"]), $jscomp$templatelit$
|
|
2908
|
+
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"],
|
|
2909
|
+
["\\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"};
|
|
2909
2910
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2910
2911
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2911
2912
|
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 ##############################");
|
|
@@ -2919,14 +2920,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2919
2920
|
return fn.toString().indexOf("`") === -1;
|
|
2920
2921
|
}
|
|
2921
2922
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2922
|
-
return tag($jscomp$templatelit$
|
|
2923
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
2923
2924
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2924
|
-
return tag($jscomp$templatelit$
|
|
2925
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
2925
2926
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2926
|
-
return tag($jscomp$templatelit$
|
|
2927
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
2927
2928
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2928
|
-
return tag($jscomp$templatelit$
|
|
2929
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2929
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
2930
|
+
}), 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);
|
|
2930
2931
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2931
2932
|
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)) ?
|
|
2932
2933
|
!0 : !1;
|
|
@@ -3169,32 +3170,33 @@ function module$contents$safevalues$dom$elements$button_setButtonFormaction(butt
|
|
|
3169
3170
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3170
3171
|
sanitizedUrl !== void 0 && (button.formAction = sanitizedUrl);
|
|
3171
3172
|
}
|
|
3172
|
-
;var module$
|
|
3173
|
-
module$
|
|
3174
|
-
|
|
3175
|
-
this.privateDoNotAccessOrElseWrappedAttributePrefix = value;
|
|
3176
|
-
};
|
|
3177
|
-
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix.prototype.toString = function() {
|
|
3178
|
-
return this.privateDoNotAccessOrElseWrappedAttributePrefix;
|
|
3179
|
-
};
|
|
3180
|
-
var module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
3181
|
-
function module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal(value) {
|
|
3182
|
-
return new module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3173
|
+
;var module$contents$safevalues$dom$elements$embed_module = module$contents$safevalues$dom$elements$embed_module || {id:"third_party/javascript/safevalues/dom/elements/embed.closure.js"};
|
|
3174
|
+
function module$contents$safevalues$dom$elements$embed_setEmbedSrc(embedEl, url) {
|
|
3175
|
+
embedEl.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
3183
3176
|
}
|
|
3184
|
-
module$exports$safevalues$
|
|
3185
|
-
function module$contents$safevalues$
|
|
3186
|
-
|
|
3177
|
+
;var module$exports$safevalues$dom$elements$form = {}, module$contents$safevalues$dom$elements$form_module = module$contents$safevalues$dom$elements$form_module || {id:"third_party/javascript/safevalues/dom/elements/form.closure.js"};
|
|
3178
|
+
function module$contents$safevalues$dom$elements$form_setFormAction(form, url) {
|
|
3179
|
+
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3180
|
+
sanitizedUrl !== void 0 && (form.action = sanitizedUrl);
|
|
3187
3181
|
}
|
|
3188
|
-
module$exports$safevalues$
|
|
3189
|
-
function module$contents$safevalues$
|
|
3190
|
-
|
|
3191
|
-
return value.privateDoNotAccessOrElseWrappedAttributePrefix;
|
|
3192
|
-
}
|
|
3193
|
-
var message = "";
|
|
3194
|
-
goog.DEBUG && (message = "Unexpected type when unwrapping SafeAttributePrefix, got '" + value + "' of type '" + typeof value + "'");
|
|
3195
|
-
throw Error(message);
|
|
3182
|
+
module$exports$safevalues$dom$elements$form.setFormAction = module$contents$safevalues$dom$elements$form_setFormAction;
|
|
3183
|
+
function module$contents$safevalues$dom$elements$form_setFormActionLite(form, url) {
|
|
3184
|
+
module$contents$safevalues$builders$url_builders_reportJavaScriptUrl(url) || (form.action = url);
|
|
3196
3185
|
}
|
|
3197
|
-
module$exports$safevalues$
|
|
3186
|
+
module$exports$safevalues$dom$elements$form.setFormActionLite = module$contents$safevalues$dom$elements$form_setFormActionLite;
|
|
3187
|
+
var module$exports$check = {}, module$contents$check_module = module$contents$check_module || {id:"javascript/typescript/contrib/check.closure.js"};
|
|
3188
|
+
function module$contents$check_checkExhaustive(value, msg) {
|
|
3189
|
+
return module$contents$check_checkExhaustiveAllowing(value, msg);
|
|
3190
|
+
}
|
|
3191
|
+
module$exports$check.checkExhaustive = module$contents$check_checkExhaustive;
|
|
3192
|
+
function module$contents$check_checkExhaustiveAllowing(value, msg) {
|
|
3193
|
+
throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
|
|
3194
|
+
}
|
|
3195
|
+
module$exports$check.checkExhaustiveAllowing = module$contents$check_checkExhaustiveAllowing;
|
|
3196
|
+
module$exports$check.assumeExhaustive = function(value) {
|
|
3197
|
+
};
|
|
3198
|
+
module$exports$check.assumeExhaustiveAllowing = function(value) {
|
|
3199
|
+
};
|
|
3198
3200
|
var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"};
|
|
3199
3201
|
module$exports$safevalues$internals$html_impl.SafeHtml = function(token, value) {
|
|
3200
3202
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
@@ -3226,84 +3228,6 @@ module$exports$safevalues$internals$html_impl.unwrapHtml = function(value) {
|
|
|
3226
3228
|
goog.DEBUG && (message = "Unexpected type when unwrapping SafeHtml");
|
|
3227
3229
|
throw Error(message);
|
|
3228
3230
|
};
|
|
3229
|
-
var module$exports$safevalues$dom$elements$element = {}, module$contents$safevalues$dom$elements$element_module = module$contents$safevalues$dom$elements$element_module || {id:"third_party/javascript/safevalues/dom/elements/element.closure.js"}, module$contents$safevalues$dom$elements$element_ScriptOrStyle;
|
|
3230
|
-
function module$contents$safevalues$dom$elements$element_setElementInnerHtml(elOrRoot, v) {
|
|
3231
|
-
module$contents$safevalues$dom$elements$element_isElement(elOrRoot) && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(elOrRoot);
|
|
3232
|
-
elOrRoot.innerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3233
|
-
}
|
|
3234
|
-
module$exports$safevalues$dom$elements$element.setElementInnerHtml = module$contents$safevalues$dom$elements$element_setElementInnerHtml;
|
|
3235
|
-
function module$contents$safevalues$dom$elements$element_setElementOuterHtml(e, v) {
|
|
3236
|
-
var parent = e.parentElement;
|
|
3237
|
-
parent !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(parent);
|
|
3238
|
-
e.outerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3239
|
-
}
|
|
3240
|
-
module$exports$safevalues$dom$elements$element.setElementOuterHtml = module$contents$safevalues$dom$elements$element_setElementOuterHtml;
|
|
3241
|
-
function module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml(element, position, v) {
|
|
3242
|
-
var tagContext = position === "beforebegin" || position === "afterend" ? element.parentElement : element;
|
|
3243
|
-
tagContext !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(tagContext);
|
|
3244
|
-
element.insertAdjacentHTML(position, (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v));
|
|
3245
|
-
}
|
|
3246
|
-
module$exports$safevalues$dom$elements$element.elementInsertAdjacentHtml = module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml;
|
|
3247
|
-
function module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter(prefix) {
|
|
3248
|
-
var prefixes = [prefix].concat((0,$jscomp.arrayFromIterable)($jscomp.getRestArguments.apply(1, arguments)));
|
|
3249
|
-
return function(e, attr, value) {
|
|
3250
|
-
module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute(prefixes, e, attr, value);
|
|
3251
|
-
};
|
|
3252
|
-
}
|
|
3253
|
-
module$exports$safevalues$dom$elements$element.buildPrefixedAttributeSetter = module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter;
|
|
3254
|
-
function module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute(attrPrefixes, e, attr, value) {
|
|
3255
|
-
if (attrPrefixes.length === 0) {
|
|
3256
|
-
var message = "";
|
|
3257
|
-
goog.DEBUG && (message = "No prefixes are provided");
|
|
3258
|
-
throw Error(message);
|
|
3259
|
-
}
|
|
3260
|
-
var prefixes = attrPrefixes.map(function(s) {
|
|
3261
|
-
return module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(s);
|
|
3262
|
-
}), attrLower = attr.toLowerCase();
|
|
3263
|
-
if (prefixes.every(function(p) {
|
|
3264
|
-
return attrLower.indexOf(p) !== 0;
|
|
3265
|
-
})) {
|
|
3266
|
-
throw Error('Attribute "' + attr + '" does not match any of the allowed prefixes.');
|
|
3267
|
-
}
|
|
3268
|
-
e.setAttribute(attr, value);
|
|
3269
|
-
}
|
|
3270
|
-
module$exports$safevalues$dom$elements$element.setElementPrefixedAttribute = module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute;
|
|
3271
|
-
function module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(element) {
|
|
3272
|
-
var message = "", tagName = element.tagName;
|
|
3273
|
-
if (/^(script|style)$/i.test(tagName)) {
|
|
3274
|
-
throw goog.DEBUG && (message = tagName.toLowerCase() === "script" ? "Use setScriptTextContent with a SafeScript." : "Use setStyleTextContent with a SafeStyleSheet."), Error(message);
|
|
3275
|
-
}
|
|
3276
|
-
}
|
|
3277
|
-
function module$contents$safevalues$dom$elements$element_isElement(elOrRoot) {
|
|
3278
|
-
return elOrRoot.nodeType === 1;
|
|
3279
|
-
}
|
|
3280
|
-
;var module$contents$safevalues$dom$elements$embed_module = module$contents$safevalues$dom$elements$embed_module || {id:"third_party/javascript/safevalues/dom/elements/embed.closure.js"};
|
|
3281
|
-
function module$contents$safevalues$dom$elements$embed_setEmbedSrc(embedEl, url) {
|
|
3282
|
-
embedEl.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
3283
|
-
}
|
|
3284
|
-
;var module$exports$safevalues$dom$elements$form = {}, module$contents$safevalues$dom$elements$form_module = module$contents$safevalues$dom$elements$form_module || {id:"third_party/javascript/safevalues/dom/elements/form.closure.js"};
|
|
3285
|
-
function module$contents$safevalues$dom$elements$form_setFormAction(form, url) {
|
|
3286
|
-
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3287
|
-
sanitizedUrl !== void 0 && (form.action = sanitizedUrl);
|
|
3288
|
-
}
|
|
3289
|
-
module$exports$safevalues$dom$elements$form.setFormAction = module$contents$safevalues$dom$elements$form_setFormAction;
|
|
3290
|
-
function module$contents$safevalues$dom$elements$form_setFormActionLite(form, url) {
|
|
3291
|
-
module$contents$safevalues$builders$url_builders_reportJavaScriptUrl(url) || (form.action = url);
|
|
3292
|
-
}
|
|
3293
|
-
module$exports$safevalues$dom$elements$form.setFormActionLite = module$contents$safevalues$dom$elements$form_setFormActionLite;
|
|
3294
|
-
var module$exports$check = {}, module$contents$check_module = module$contents$check_module || {id:"javascript/typescript/contrib/check.closure.js"};
|
|
3295
|
-
function module$contents$check_checkExhaustive(value, msg) {
|
|
3296
|
-
return module$contents$check_checkExhaustiveAllowing(value, msg);
|
|
3297
|
-
}
|
|
3298
|
-
module$exports$check.checkExhaustive = module$contents$check_checkExhaustive;
|
|
3299
|
-
function module$contents$check_checkExhaustiveAllowing(value, msg) {
|
|
3300
|
-
throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
|
|
3301
|
-
}
|
|
3302
|
-
module$exports$check.checkExhaustiveAllowing = module$contents$check_checkExhaustiveAllowing;
|
|
3303
|
-
module$exports$check.assumeExhaustive = function(value) {
|
|
3304
|
-
};
|
|
3305
|
-
module$exports$check.assumeExhaustiveAllowing = function(value) {
|
|
3306
|
-
};
|
|
3307
3231
|
var module$exports$safevalues$dom$elements$iframe = {}, module$contents$safevalues$dom$elements$iframe_module = module$contents$safevalues$dom$elements$iframe_module || {id:"third_party/javascript/safevalues/dom/elements/iframe.closure.js"};
|
|
3308
3232
|
function module$contents$safevalues$dom$elements$iframe_setIframeSrc(iframe, v) {
|
|
3309
3233
|
iframe.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v).toString();
|
|
@@ -3325,9 +3249,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3325
3249
|
}
|
|
3326
3250
|
}
|
|
3327
3251
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3328
|
-
var $jscomp$tmp$error$
|
|
3329
|
-
this.message = $jscomp$tmp$error$
|
|
3330
|
-
"stack" in $jscomp$tmp$error$
|
|
3252
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3253
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
3254
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
3331
3255
|
this.type = type;
|
|
3332
3256
|
this.intent = intent;
|
|
3333
3257
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3403,25 +3327,7 @@ function module$contents$safevalues$dom$elements$input_setInputFormaction(input,
|
|
|
3403
3327
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3404
3328
|
sanitizedUrl !== void 0 && (input.formAction = sanitizedUrl);
|
|
3405
3329
|
}
|
|
3406
|
-
;var module$
|
|
3407
|
-
function module$contents$safevalues$dom$elements$link_setLinkHrefAndRel(link, url, rel) {
|
|
3408
|
-
if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(url)) {
|
|
3409
|
-
module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel(link, url, rel);
|
|
3410
|
-
} else {
|
|
3411
|
-
if (module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES.indexOf(rel) === -1) {
|
|
3412
|
-
throw Error('TrustedResourceUrl href attribute required with rel="' + rel + '"');
|
|
3413
|
-
}
|
|
3414
|
-
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3415
|
-
sanitizedUrl !== void 0 && (link.href = sanitizedUrl, link.rel = rel);
|
|
3416
|
-
}
|
|
3417
|
-
}
|
|
3418
|
-
module$exports$safevalues$dom$elements$link.setLinkHrefAndRel = module$contents$safevalues$dom$elements$link_setLinkHrefAndRel;
|
|
3419
|
-
function module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel(link, url, rel) {
|
|
3420
|
-
link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
3421
|
-
link.rel = rel;
|
|
3422
|
-
}
|
|
3423
|
-
module$exports$safevalues$dom$elements$link.setLinkWithResourceUrlHrefAndRel = module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel;
|
|
3424
|
-
var module$contents$safevalues$dom$elements$object_module = module$contents$safevalues$dom$elements$object_module || {id:"third_party/javascript/safevalues/dom/elements/object.closure.js"};
|
|
3330
|
+
;var module$contents$safevalues$dom$elements$object_module = module$contents$safevalues$dom$elements$object_module || {id:"third_party/javascript/safevalues/dom/elements/object.closure.js"};
|
|
3425
3331
|
function module$contents$safevalues$dom$elements$object_setObjectData(obj, v) {
|
|
3426
3332
|
obj.data = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
3427
3333
|
}
|
|
@@ -3431,17 +3337,17 @@ function module$contents$safevalues$dom$globals$window_windowOpen(win, url, targ
|
|
|
3431
3337
|
return sanitizedUrl !== void 0 ? win.open(sanitizedUrl, target, features) : null;
|
|
3432
3338
|
}
|
|
3433
3339
|
module$exports$safevalues$dom$globals$window.windowOpen = module$contents$safevalues$dom$globals$window_windowOpen;
|
|
3434
|
-
function module$contents$safevalues$dom$globals$window_getScriptNonce(
|
|
3435
|
-
return module$contents$safevalues$dom$globals$window_getNonceFor("script",
|
|
3340
|
+
function module$contents$safevalues$dom$globals$window_getScriptNonce(doc) {
|
|
3341
|
+
return module$contents$safevalues$dom$globals$window_getNonceFor("script", doc);
|
|
3436
3342
|
}
|
|
3437
3343
|
module$exports$safevalues$dom$globals$window.getScriptNonce = module$contents$safevalues$dom$globals$window_getScriptNonce;
|
|
3438
|
-
function module$contents$safevalues$dom$globals$window_getStyleNonce(
|
|
3439
|
-
return module$contents$safevalues$dom$globals$window_getNonceFor("style",
|
|
3344
|
+
function module$contents$safevalues$dom$globals$window_getStyleNonce(doc) {
|
|
3345
|
+
return module$contents$safevalues$dom$globals$window_getNonceFor("style", doc);
|
|
3440
3346
|
}
|
|
3441
3347
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3442
|
-
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName,
|
|
3443
|
-
|
|
3444
|
-
var $jscomp$optchain$
|
|
3348
|
+
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, doc) {
|
|
3349
|
+
doc = doc === void 0 ? document : doc;
|
|
3350
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = doc).querySelector) == null ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
3445
3351
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3446
3352
|
}
|
|
3447
3353
|
;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"};
|
|
@@ -3492,6 +3398,154 @@ function module$contents$safevalues$dom$elements$script_setScriptSrc(script, v,
|
|
|
3492
3398
|
(options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
|
|
3493
3399
|
}
|
|
3494
3400
|
module$exports$safevalues$dom$elements$script.setScriptSrc = module$contents$safevalues$dom$elements$script_setScriptSrc;
|
|
3401
|
+
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"};
|
|
3402
|
+
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix = function(token, value) {
|
|
3403
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3404
|
+
this.privateDoNotAccessOrElseWrappedAttributePrefix = value;
|
|
3405
|
+
};
|
|
3406
|
+
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix.prototype.toString = function() {
|
|
3407
|
+
return this.privateDoNotAccessOrElseWrappedAttributePrefix;
|
|
3408
|
+
};
|
|
3409
|
+
var module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
3410
|
+
function module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal(value) {
|
|
3411
|
+
return new module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3412
|
+
}
|
|
3413
|
+
module$exports$safevalues$internals$attribute_impl.createAttributePrefixInternal = module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal;
|
|
3414
|
+
function module$contents$safevalues$internals$attribute_impl_isAttributePrefix(value) {
|
|
3415
|
+
return value instanceof module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
3416
|
+
}
|
|
3417
|
+
module$exports$safevalues$internals$attribute_impl.isAttributePrefix = module$contents$safevalues$internals$attribute_impl_isAttributePrefix;
|
|
3418
|
+
function module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(value) {
|
|
3419
|
+
if (module$contents$safevalues$internals$attribute_impl_isAttributePrefix(value)) {
|
|
3420
|
+
return value.privateDoNotAccessOrElseWrappedAttributePrefix;
|
|
3421
|
+
}
|
|
3422
|
+
var message = "";
|
|
3423
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeAttributePrefix, got '" + value + "' of type '" + typeof value + "'");
|
|
3424
|
+
throw Error(message);
|
|
3425
|
+
}
|
|
3426
|
+
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
3427
|
+
var module$exports$safevalues$dom$elements$element = {}, module$contents$safevalues$dom$elements$element_module = module$contents$safevalues$dom$elements$element_module || {id:"third_party/javascript/safevalues/dom/elements/element.closure.js"}, module$contents$safevalues$dom$elements$element_ScriptOrStyle;
|
|
3428
|
+
function module$contents$safevalues$dom$elements$element_setElementInnerHtml(elOrRoot, v) {
|
|
3429
|
+
module$contents$safevalues$dom$elements$element_isElement(elOrRoot) && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(elOrRoot);
|
|
3430
|
+
elOrRoot.innerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3431
|
+
}
|
|
3432
|
+
module$exports$safevalues$dom$elements$element.setElementInnerHtml = module$contents$safevalues$dom$elements$element_setElementInnerHtml;
|
|
3433
|
+
function module$contents$safevalues$dom$elements$element_setElementOuterHtml(e, v) {
|
|
3434
|
+
var parent = e.parentElement;
|
|
3435
|
+
parent !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(parent);
|
|
3436
|
+
e.outerHTML = (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v);
|
|
3437
|
+
}
|
|
3438
|
+
module$exports$safevalues$dom$elements$element.setElementOuterHtml = module$contents$safevalues$dom$elements$element_setElementOuterHtml;
|
|
3439
|
+
function module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml(element, position, v) {
|
|
3440
|
+
var tagContext = position === "beforebegin" || position === "afterend" ? element.parentElement : element;
|
|
3441
|
+
tagContext !== null && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(tagContext);
|
|
3442
|
+
element.insertAdjacentHTML(position, (0,module$exports$safevalues$internals$html_impl.unwrapHtml)(v));
|
|
3443
|
+
}
|
|
3444
|
+
module$exports$safevalues$dom$elements$element.elementInsertAdjacentHtml = module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml;
|
|
3445
|
+
function module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter(prefix) {
|
|
3446
|
+
var prefixes = [prefix].concat((0,$jscomp.arrayFromIterable)($jscomp.getRestArguments.apply(1, arguments)));
|
|
3447
|
+
return function(e, attr, value) {
|
|
3448
|
+
module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute(prefixes, e, attr, value);
|
|
3449
|
+
};
|
|
3450
|
+
}
|
|
3451
|
+
module$exports$safevalues$dom$elements$element.buildPrefixedAttributeSetter = module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter;
|
|
3452
|
+
function module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute(attrPrefixes, e, attr, value) {
|
|
3453
|
+
if (attrPrefixes.length === 0) {
|
|
3454
|
+
var message = "";
|
|
3455
|
+
goog.DEBUG && (message = "No prefixes are provided");
|
|
3456
|
+
throw Error(message);
|
|
3457
|
+
}
|
|
3458
|
+
var prefixes = attrPrefixes.map(function(s) {
|
|
3459
|
+
return module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(s);
|
|
3460
|
+
}), attrLower = attr.toLowerCase();
|
|
3461
|
+
if (prefixes.every(function(p) {
|
|
3462
|
+
return attrLower.indexOf(p) !== 0;
|
|
3463
|
+
})) {
|
|
3464
|
+
throw Error('Attribute "' + attr + '" does not match any of the allowed prefixes.');
|
|
3465
|
+
}
|
|
3466
|
+
e.setAttribute(attr, value);
|
|
3467
|
+
}
|
|
3468
|
+
module$exports$safevalues$dom$elements$element.setElementPrefixedAttribute = module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute;
|
|
3469
|
+
function module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(element) {
|
|
3470
|
+
var message = "", tagName = element.tagName;
|
|
3471
|
+
if (/^(script|style)$/i.test(tagName)) {
|
|
3472
|
+
throw goog.DEBUG && (message = tagName.toLowerCase() === "script" ? "Use setScriptTextContent with a SafeScript." : "Use setStyleTextContent with a SafeStyleSheet."), Error(message);
|
|
3473
|
+
}
|
|
3474
|
+
}
|
|
3475
|
+
function module$contents$safevalues$dom$elements$element_isElement(elOrRoot) {
|
|
3476
|
+
return elOrRoot.nodeType === 1;
|
|
3477
|
+
}
|
|
3478
|
+
function module$contents$safevalues$dom$elements$element_setElementAttribute(el, attr, value) {
|
|
3479
|
+
if (el.namespaceURI !== "http://www.w3.org/1999/xhtml") {
|
|
3480
|
+
throw Error("Cannot set attribute '" + attr + "' on '" + el.tagName + "'.Element is not in the HTML namespace");
|
|
3481
|
+
}
|
|
3482
|
+
attr = attr.toLowerCase();
|
|
3483
|
+
switch(el.tagName + " " + attr) {
|
|
3484
|
+
case "A href":
|
|
3485
|
+
module$contents$safevalues$dom$elements$anchor_setAnchorHref(el, value);
|
|
3486
|
+
break;
|
|
3487
|
+
case "AREA href":
|
|
3488
|
+
module$contents$safevalues$dom$elements$area_setAreaHref(el, value);
|
|
3489
|
+
break;
|
|
3490
|
+
case "BASE href":
|
|
3491
|
+
module$contents$safevalues$dom$elements$base_setBaseHref(el, value);
|
|
3492
|
+
break;
|
|
3493
|
+
case "BUTTON formaction":
|
|
3494
|
+
module$contents$safevalues$dom$elements$button_setButtonFormaction(el, value);
|
|
3495
|
+
break;
|
|
3496
|
+
case "EMBED src":
|
|
3497
|
+
module$contents$safevalues$dom$elements$embed_setEmbedSrc(el, value);
|
|
3498
|
+
break;
|
|
3499
|
+
case "FORM action":
|
|
3500
|
+
module$contents$safevalues$dom$elements$form_setFormAction(el, value);
|
|
3501
|
+
break;
|
|
3502
|
+
case "IFRAME src":
|
|
3503
|
+
module$contents$safevalues$dom$elements$iframe_setIframeSrc(el, value);
|
|
3504
|
+
break;
|
|
3505
|
+
case "IFRAME srcdoc":
|
|
3506
|
+
module$contents$safevalues$dom$elements$iframe_setIframeSrcdoc(el, value);
|
|
3507
|
+
break;
|
|
3508
|
+
case "IFRAME sandbox":
|
|
3509
|
+
throw Error("Can't set 'sandbox' on iframe tags. Use setIframeSrcWithIntent or setIframeSrcdocWithIntent instead");
|
|
3510
|
+
case "INPUT formaction":
|
|
3511
|
+
module$contents$safevalues$dom$elements$input_setInputFormaction(el, value);
|
|
3512
|
+
break;
|
|
3513
|
+
case "LINK href":
|
|
3514
|
+
throw Error("Can't set 'href' attribute on link tags. Use setLinkHrefAndRel instead");
|
|
3515
|
+
case "LINK rel":
|
|
3516
|
+
throw Error("Can't set 'rel' attribute on link tags. Use setLinkHrefAndRel instead");
|
|
3517
|
+
case "OBJECT data":
|
|
3518
|
+
module$contents$safevalues$dom$elements$object_setObjectData(el, value);
|
|
3519
|
+
break;
|
|
3520
|
+
case "SCRIPT src":
|
|
3521
|
+
module$contents$safevalues$dom$elements$script_setScriptSrc(el, value);
|
|
3522
|
+
break;
|
|
3523
|
+
default:
|
|
3524
|
+
if (/^on./.test(attr)) {
|
|
3525
|
+
throw Error('Attribute "' + attr + '" looks like an event handler attribute. Please use a safe alternative like addEventListener instead.');
|
|
3526
|
+
}
|
|
3527
|
+
el.setAttribute(attr, value);
|
|
3528
|
+
}
|
|
3529
|
+
}
|
|
3530
|
+
module$exports$safevalues$dom$elements$element.setElementAttribute = module$contents$safevalues$dom$elements$element_setElementAttribute;
|
|
3531
|
+
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(" ");
|
|
3532
|
+
function module$contents$safevalues$dom$elements$link_setLinkHrefAndRel(link, url, rel) {
|
|
3533
|
+
if (module$contents$safevalues$internals$resource_url_impl_isResourceUrl(url)) {
|
|
3534
|
+
module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel(link, url, rel);
|
|
3535
|
+
} else {
|
|
3536
|
+
if (module$contents$safevalues$dom$elements$link_SAFE_URL_REL_VALUES.indexOf(rel) === -1) {
|
|
3537
|
+
throw Error('TrustedResourceUrl href attribute required with rel="' + rel + '"');
|
|
3538
|
+
}
|
|
3539
|
+
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
3540
|
+
sanitizedUrl !== void 0 && (link.href = sanitizedUrl, link.rel = rel);
|
|
3541
|
+
}
|
|
3542
|
+
}
|
|
3543
|
+
module$exports$safevalues$dom$elements$link.setLinkHrefAndRel = module$contents$safevalues$dom$elements$link_setLinkHrefAndRel;
|
|
3544
|
+
function module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel(link, url, rel) {
|
|
3545
|
+
link.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString();
|
|
3546
|
+
link.rel = rel;
|
|
3547
|
+
}
|
|
3548
|
+
module$exports$safevalues$dom$elements$link.setLinkWithResourceUrlHrefAndRel = module$contents$safevalues$dom$elements$link_setLinkWithResourceUrlHrefAndRel;
|
|
3495
3549
|
var module$exports$safevalues$internals$style_sheet_impl = {}, module$contents$safevalues$internals$style_sheet_impl_module = module$contents$safevalues$internals$style_sheet_impl_module || {id:"third_party/javascript/safevalues/internals/style_sheet_impl.closure.js"};
|
|
3496
3550
|
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = function(token, value) {
|
|
3497
3551
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
@@ -4127,14 +4181,14 @@ goog.array.concatMap = function(arr, f, opt_obj) {
|
|
|
4127
4181
|
return module$contents$goog$array_concat.apply([], module$contents$goog$array_map(arr, f, opt_obj));
|
|
4128
4182
|
};
|
|
4129
4183
|
goog.debug.errorcontext = {};
|
|
4130
|
-
goog
|
|
4131
|
-
err
|
|
4132
|
-
err
|
|
4133
|
-
}
|
|
4184
|
+
function module$contents$goog$debug$errorcontext_addErrorContext(err, contextKey, contextValue) {
|
|
4185
|
+
err.__closure__error__context__984382 || (err.__closure__error__context__984382 = {});
|
|
4186
|
+
err.__closure__error__context__984382[contextKey] = contextValue;
|
|
4187
|
+
}
|
|
4188
|
+
goog.debug.errorcontext.addErrorContext = module$contents$goog$debug$errorcontext_addErrorContext;
|
|
4134
4189
|
goog.debug.errorcontext.getErrorContext = function(err) {
|
|
4135
|
-
return err
|
|
4190
|
+
return err.__closure__error__context__984382 || {};
|
|
4136
4191
|
};
|
|
4137
|
-
goog.debug.errorcontext.CONTEXT_KEY_ = "__closure__error__context__984382";
|
|
4138
4192
|
goog.debug.LOGGING_ENABLED = goog.DEBUG;
|
|
4139
4193
|
goog.debug.FORCE_SLOPPY_STACKS = !1;
|
|
4140
4194
|
goog.debug.CHECK_FOR_THROWN_EVENT = !1;
|
|
@@ -4294,7 +4348,7 @@ goog.debug.enhanceErrorWithContext = function(err, opt_context) {
|
|
|
4294
4348
|
var error = goog.debug.enhanceError(err);
|
|
4295
4349
|
if (opt_context) {
|
|
4296
4350
|
for (var key in opt_context) {
|
|
4297
|
-
goog
|
|
4351
|
+
module$contents$goog$debug$errorcontext_addErrorContext(error, key, opt_context[key]);
|
|
4298
4352
|
}
|
|
4299
4353
|
}
|
|
4300
4354
|
return error;
|
|
@@ -4731,9 +4785,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4731
4785
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4732
4786
|
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"};
|
|
4733
4787
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4734
|
-
var $jscomp$tmp$error$
|
|
4735
|
-
this.message = $jscomp$tmp$error$
|
|
4736
|
-
"stack" in $jscomp$tmp$error$
|
|
4788
|
+
var $jscomp$tmp$error$m991617773$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
4789
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
4790
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
4737
4791
|
this.url = url;
|
|
4738
4792
|
this.typeName = typeName;
|
|
4739
4793
|
this.contentType = contentType;
|
|
@@ -4745,48 +4799,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4745
4799
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4746
4800
|
}
|
|
4747
4801
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4748
|
-
var response, $jscomp$optchain$
|
|
4749
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4750
|
-
if ($jscomp$generator$context$
|
|
4751
|
-
return $jscomp$generator$context$
|
|
4752
|
-
}
|
|
4753
|
-
response = $jscomp$generator$context$
|
|
4754
|
-
mimeType = ($jscomp$optchain$
|
|
4755
|
-
return $jscomp$generator$context$
|
|
4802
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
4803
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
4804
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
4805
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4806
|
+
}
|
|
4807
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
4808
|
+
mimeType = ($jscomp$optchain$tmpm991617773$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmpm991617773$1 = $jscomp$optchain$tmpm991617773$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmpm991617773$2 = $jscomp$optchain$tmpm991617773$1[0]) == null ? void 0 : $jscomp$optchain$tmpm991617773$2.toLowerCase();
|
|
4809
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
4756
4810
|
var text;
|
|
4757
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4758
|
-
if ($jscomp$generator$context$
|
|
4811
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
4812
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
4759
4813
|
if (mimeType !== "text/html") {
|
|
4760
4814
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4761
4815
|
}
|
|
4762
|
-
return $jscomp$generator$context$
|
|
4816
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
4763
4817
|
}
|
|
4764
|
-
text = $jscomp$generator$context$
|
|
4765
|
-
return $jscomp$generator$context$
|
|
4818
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
4819
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4766
4820
|
});
|
|
4767
4821
|
}, script:function() {
|
|
4768
4822
|
var text;
|
|
4769
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4770
|
-
if ($jscomp$generator$context$
|
|
4823
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
4824
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
4771
4825
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4772
4826
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4773
4827
|
}
|
|
4774
|
-
return $jscomp$generator$context$
|
|
4828
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
4775
4829
|
}
|
|
4776
|
-
text = $jscomp$generator$context$
|
|
4777
|
-
return $jscomp$generator$context$
|
|
4830
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
4831
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4778
4832
|
});
|
|
4779
4833
|
}, styleSheet:function() {
|
|
4780
4834
|
var text;
|
|
4781
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4782
|
-
if ($jscomp$generator$context$
|
|
4835
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
4836
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
4783
4837
|
if (mimeType !== "text/css") {
|
|
4784
4838
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4785
4839
|
}
|
|
4786
|
-
return $jscomp$generator$context$
|
|
4840
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
4787
4841
|
}
|
|
4788
|
-
text = $jscomp$generator$context$
|
|
4789
|
-
return $jscomp$generator$context$
|
|
4842
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
4843
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4790
4844
|
});
|
|
4791
4845
|
}});
|
|
4792
4846
|
});
|
|
@@ -4853,6 +4907,7 @@ module$exports$safevalues$dom$index.setBaseHref = module$contents$safevalues$dom
|
|
|
4853
4907
|
module$exports$safevalues$dom$index.setButtonFormaction = module$contents$safevalues$dom$elements$button_setButtonFormaction;
|
|
4854
4908
|
module$exports$safevalues$dom$index.buildPrefixedAttributeSetter = module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter;
|
|
4855
4909
|
module$exports$safevalues$dom$index.elementInsertAdjacentHtml = module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml;
|
|
4910
|
+
module$exports$safevalues$dom$index.setElementAttribute = module$contents$safevalues$dom$elements$element_setElementAttribute;
|
|
4856
4911
|
module$exports$safevalues$dom$index.setElementInnerHtml = module$contents$safevalues$dom$elements$element_setElementInnerHtml;
|
|
4857
4912
|
module$exports$safevalues$dom$index.setElementOuterHtml = module$contents$safevalues$dom$elements$element_setElementOuterHtml;
|
|
4858
4913
|
module$exports$safevalues$dom$index.setElementPrefixedAttribute = module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute;
|
|
@@ -4902,6 +4957,7 @@ safevalues.dom.setBaseHref = module$contents$safevalues$dom$elements$base_setBas
|
|
|
4902
4957
|
safevalues.dom.setButtonFormaction = module$contents$safevalues$dom$elements$button_setButtonFormaction;
|
|
4903
4958
|
safevalues.dom.buildPrefixedAttributeSetter = module$contents$safevalues$dom$elements$element_buildPrefixedAttributeSetter;
|
|
4904
4959
|
safevalues.dom.elementInsertAdjacentHtml = module$contents$safevalues$dom$elements$element_elementInsertAdjacentHtml;
|
|
4960
|
+
safevalues.dom.setElementAttribute = module$contents$safevalues$dom$elements$element_setElementAttribute;
|
|
4905
4961
|
safevalues.dom.setElementInnerHtml = module$contents$safevalues$dom$elements$element_setElementInnerHtml;
|
|
4906
4962
|
safevalues.dom.setElementOuterHtml = module$contents$safevalues$dom$elements$element_setElementOuterHtml;
|
|
4907
4963
|
safevalues.dom.setElementPrefixedAttribute = module$contents$safevalues$dom$elements$element_setElementPrefixedAttribute;
|
|
@@ -6258,8 +6314,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6258
6314
|
}
|
|
6259
6315
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6260
6316
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6261
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6262
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6317
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$1047461284$0$ = $jscomp$iter$29.next(); !$jscomp$key$1047461284$0$.done; $jscomp$key$1047461284$0$ = $jscomp$iter$29.next()) {
|
|
6318
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
6263
6319
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6264
6320
|
}
|
|
6265
6321
|
return urlQueryParams;
|
|
@@ -6270,8 +6326,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6270
6326
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6271
6327
|
if (params.headers) {
|
|
6272
6328
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6273
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6274
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6329
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$1047461284$1$ = $jscomp$iter$30.next(); !$jscomp$key$1047461284$1$.done; $jscomp$key$1047461284$1$ = $jscomp$iter$30.next()) {
|
|
6330
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6275
6331
|
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);
|
|
6276
6332
|
}
|
|
6277
6333
|
}
|
|
@@ -6311,9 +6367,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6311
6367
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6312
6368
|
};
|
|
6313
6369
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6314
|
-
var $jscomp$this$
|
|
6370
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6315
6371
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6316
|
-
return $jscomp$this$
|
|
6372
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6317
6373
|
}));
|
|
6318
6374
|
};
|
|
6319
6375
|
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"};
|
|
@@ -7228,18 +7284,19 @@ goog.userAgent.DOCUMENT_MODE = function() {
|
|
|
7228
7284
|
}
|
|
7229
7285
|
}();
|
|
7230
7286
|
goog.events.eventTypeHelpers = {};
|
|
7231
|
-
goog
|
|
7287
|
+
function module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName(eventName) {
|
|
7232
7288
|
return goog.userAgent.WEBKIT ? "webkit" + eventName : eventName.toLowerCase();
|
|
7233
|
-
}
|
|
7289
|
+
}
|
|
7234
7290
|
goog.events.eventTypeHelpers.getPointerFallbackEventName = function(pointerEventName, fallbackEventName) {
|
|
7235
7291
|
return goog.events.BrowserFeature.POINTER_EVENTS ? pointerEventName : fallbackEventName;
|
|
7236
7292
|
};
|
|
7293
|
+
goog.events.eventTypeHelpers.getVendorPrefixedName = module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName;
|
|
7237
7294
|
goog.events.EventType = {CLICK:"click", RIGHTCLICK:"rightclick", DBLCLICK:"dblclick", AUXCLICK:"auxclick", MOUSEDOWN:"mousedown", MOUSEUP:"mouseup", MOUSEOVER:"mouseover", MOUSEOUT:"mouseout", MOUSEMOVE:"mousemove", MOUSEENTER:"mouseenter", MOUSELEAVE:"mouseleave", MOUSECANCEL:"mousecancel", SELECTIONCHANGE:"selectionchange", SELECTSTART:"selectstart", WHEEL:"wheel", KEYPRESS:"keypress", KEYDOWN:"keydown", KEYUP:"keyup", BLUR:"blur", FOCUS:"focus", DEACTIVATE:"deactivate", FOCUSIN:"focusin", FOCUSOUT:"focusout",
|
|
7238
7295
|
CHANGE:"change", RESET:"reset", SELECT:"select", SUBMIT:"submit", INPUT:"input", PROPERTYCHANGE:"propertychange", DRAGSTART:"dragstart", DRAG:"drag", DRAGENTER:"dragenter", DRAGOVER:"dragover", DRAGLEAVE:"dragleave", DROP:"drop", DRAGEND:"dragend", TOUCHSTART:"touchstart", TOUCHMOVE:"touchmove", TOUCHEND:"touchend", TOUCHCANCEL:"touchcancel", BEFOREUNLOAD:"beforeunload", CONSOLEMESSAGE:"consolemessage", CONTEXTMENU:"contextmenu", DEVICECHANGE:"devicechange", DEVICEMOTION:"devicemotion", DEVICEORIENTATION:"deviceorientation",
|
|
7239
7296
|
DOMCONTENTLOADED:"DOMContentLoaded", ERROR:"error", HELP:"help", LOAD:"load", LOSECAPTURE:"losecapture", ORIENTATIONCHANGE:"orientationchange", READYSTATECHANGE:"readystatechange", RESIZE:"resize", SCROLL:"scroll", UNLOAD:"unload", CANPLAY:"canplay", CANPLAYTHROUGH:"canplaythrough", DURATIONCHANGE:"durationchange", EMPTIED:"emptied", ENDED:"ended", LOADEDDATA:"loadeddata", LOADEDMETADATA:"loadedmetadata", PAUSE:"pause", PLAY:"play", PLAYING:"playing", PROGRESS:"progress", RATECHANGE:"ratechange",
|
|
7240
7297
|
SEEKED:"seeked", SEEKING:"seeking", STALLED:"stalled", SUSPEND:"suspend", TIMEUPDATE:"timeupdate", VOLUMECHANGE:"volumechange", WAITING:"waiting", SOURCEOPEN:"sourceopen", SOURCEENDED:"sourceended", SOURCECLOSED:"sourceclosed", ABORT:"abort", UPDATE:"update", UPDATESTART:"updatestart", UPDATEEND:"updateend", HASHCHANGE:"hashchange", PAGEHIDE:"pagehide", PAGESHOW:"pageshow", POPSTATE:"popstate", COPY:"copy", PASTE:"paste", CUT:"cut", BEFORECOPY:"beforecopy", BEFORECUT:"beforecut", BEFOREPASTE:"beforepaste",
|
|
7241
|
-
ONLINE:"online", OFFLINE:"offline", MESSAGE:"message", CONNECT:"connect", INSTALL:"install", ACTIVATE:"activate", FETCH:"fetch", FOREIGNFETCH:"foreignfetch", MESSAGEERROR:"messageerror", STATECHANGE:"statechange", UPDATEFOUND:"updatefound", CONTROLLERCHANGE:"controllerchange", ANIMATIONSTART:goog
|
|
7242
|
-
TRANSITIONEND:goog
|
|
7298
|
+
ONLINE:"online", OFFLINE:"offline", MESSAGE:"message", CONNECT:"connect", INSTALL:"install", ACTIVATE:"activate", FETCH:"fetch", FOREIGNFETCH:"foreignfetch", MESSAGEERROR:"messageerror", STATECHANGE:"statechange", UPDATEFOUND:"updatefound", CONTROLLERCHANGE:"controllerchange", ANIMATIONSTART:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationStart"), ANIMATIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationEnd"), ANIMATIONITERATION:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationIteration"),
|
|
7299
|
+
TRANSITIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("TransitionEnd"), POINTERDOWN:"pointerdown", POINTERUP:"pointerup", POINTERCANCEL:"pointercancel", POINTERMOVE:"pointermove", POINTEROVER:"pointerover", POINTEROUT:"pointerout", POINTERENTER:"pointerenter", POINTERLEAVE:"pointerleave", GOTPOINTERCAPTURE:"gotpointercapture", LOSTPOINTERCAPTURE:"lostpointercapture", MSGESTURECHANGE:"MSGestureChange", MSGESTUREEND:"MSGestureEnd", MSGESTUREHOLD:"MSGestureHold", MSGESTURESTART:"MSGestureStart",
|
|
7243
7300
|
MSGESTURETAP:"MSGestureTap", MSGOTPOINTERCAPTURE:"MSGotPointerCapture", MSINERTIASTART:"MSInertiaStart", MSLOSTPOINTERCAPTURE:"MSLostPointerCapture", MSPOINTERCANCEL:"MSPointerCancel", MSPOINTERDOWN:"MSPointerDown", MSPOINTERENTER:"MSPointerEnter", MSPOINTERHOVER:"MSPointerHover", MSPOINTERLEAVE:"MSPointerLeave", MSPOINTERMOVE:"MSPointerMove", MSPOINTEROUT:"MSPointerOut", MSPOINTEROVER:"MSPointerOver", MSPOINTERUP:"MSPointerUp", TEXT:"text", TEXTINPUT:"textInput", COMPOSITIONSTART:"compositionstart",
|
|
7244
7301
|
COMPOSITIONUPDATE:"compositionupdate", COMPOSITIONEND:"compositionend", BEFOREINPUT:"beforeinput", FULLSCREENCHANGE:"fullscreenchange", WEBKITBEGINFULLSCREEN:"webkitbeginfullscreen", WEBKITENDFULLSCREEN:"webkitendfullscreen", EXIT:"exit", LOADABORT:"loadabort", LOADCOMMIT:"loadcommit", LOADREDIRECT:"loadredirect", LOADSTART:"loadstart", LOADSTOP:"loadstop", RESPONSIVE:"responsive", SIZECHANGED:"sizechanged", UNRESPONSIVE:"unresponsive", VISIBILITYCHANGE:"visibilitychange", STORAGE:"storage", BEFOREPRINT:"beforeprint",
|
|
7245
7302
|
AFTERPRINT:"afterprint", BEFOREINSTALLPROMPT:"beforeinstallprompt", APPINSTALLED:"appinstalled", CANCEL:"cancel", FINISH:"finish", REMOVE:"remove"};
|
|
@@ -7454,8 +7511,6 @@ module$contents$goog$events$ListenerMap_ListenerMap.findListenerIndex_ = functio
|
|
|
7454
7511
|
return -1;
|
|
7455
7512
|
};
|
|
7456
7513
|
goog.events.ListenerMap = module$contents$goog$events$ListenerMap_ListenerMap;
|
|
7457
|
-
goog.events.Key = {};
|
|
7458
|
-
goog.events.ListenableType = {};
|
|
7459
7514
|
goog.events.LISTENER_MAP_PROP_ = "closure_lm_" + (Math.random() * 1E6 | 0);
|
|
7460
7515
|
goog.events.onString_ = "on";
|
|
7461
7516
|
goog.events.onStringMap_ = {};
|
|
@@ -8176,7 +8231,6 @@ goog.math.safeCeil = function(num, opt_epsilon) {
|
|
|
8176
8231
|
return Math.ceil(num - (opt_epsilon || 2E-15));
|
|
8177
8232
|
};
|
|
8178
8233
|
goog.iter = {};
|
|
8179
|
-
goog.iter.Iterable = {};
|
|
8180
8234
|
goog.iter.Iterator = function() {
|
|
8181
8235
|
};
|
|
8182
8236
|
goog.iter.Iterator.prototype.next = function() {
|
|
@@ -15812,7 +15866,7 @@ goog.string.Const.TYPE_MARKER_ = {};
|
|
|
15812
15866
|
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
15813
15867
|
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
15814
15868
|
var module$exports$safevalues$builders$sensitive_attributes = {}, module$contents$safevalues$builders$sensitive_attributes_module = module$contents$safevalues$builders$sensitive_attributes_module || {id:"third_party/javascript/safevalues/builders/sensitive_attributes.closure.js"};
|
|
15815
|
-
module$exports$safevalues$builders$sensitive_attributes.SECURITY_SENSITIVE_ATTRIBUTES = "src srcdoc codebase data href rel action formaction sandbox
|
|
15869
|
+
module$exports$safevalues$builders$sensitive_attributes.SECURITY_SENSITIVE_ATTRIBUTES = "src srcdoc codebase data href rel action formaction sandbox icon".split(" ");
|
|
15816
15870
|
var module$contents$safevalues$builders$attribute_builders_module = module$contents$safevalues$builders$attribute_builders_module || {id:"third_party/javascript/safevalues/builders/attribute_builders.closure.js"};
|
|
15817
15871
|
function module$contents$safevalues$builders$attribute_builders_safeAttrPrefix(templ) {
|
|
15818
15872
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templ, 0);
|
|
@@ -16057,8 +16111,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16057
16111
|
this.replacements = new Map();
|
|
16058
16112
|
};
|
|
16059
16113
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16060
|
-
var $jscomp$this$
|
|
16061
|
-
return $jscomp$this$
|
|
16114
|
+
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) {
|
|
16115
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
16062
16116
|
});
|
|
16063
16117
|
if (openedTags.length !== 0) {
|
|
16064
16118
|
if (goog.DEBUG) {
|
|
@@ -16276,8 +16330,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16276
16330
|
if (Array.isArray(token)) {
|
|
16277
16331
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16278
16332
|
} else {
|
|
16279
|
-
var $jscomp$optchain$
|
|
16280
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16333
|
+
var $jscomp$optchain$tmpm583190311$0 = void 0;
|
|
16334
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm583190311$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm583190311$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
16281
16335
|
tokens.push(token);
|
|
16282
16336
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16283
16337
|
return tokens;
|
|
@@ -16523,9 +16577,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16523
16577
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16524
16578
|
};
|
|
16525
16579
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16526
|
-
var $jscomp$this$
|
|
16580
|
+
var $jscomp$this$m583190311$26 = this;
|
|
16527
16581
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16528
|
-
return $jscomp$this$
|
|
16582
|
+
return $jscomp$this$m583190311$26.isWhitespace(c);
|
|
16529
16583
|
});
|
|
16530
16584
|
};
|
|
16531
16585
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16632,8 +16686,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16632
16686
|
return null;
|
|
16633
16687
|
}
|
|
16634
16688
|
if (token.lowercaseName === "url") {
|
|
16635
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16636
|
-
if ((($jscomp$optchain$
|
|
16689
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
|
|
16690
|
+
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16637
16691
|
return null;
|
|
16638
16692
|
}
|
|
16639
16693
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16656,8 +16710,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16656
16710
|
if (!this.allowKeyframes) {
|
|
16657
16711
|
return null;
|
|
16658
16712
|
}
|
|
16659
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16660
|
-
var rule = $jscomp$key$
|
|
16713
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1877845113$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1877845113$1$rule.done; $jscomp$key$m1877845113$1$rule = $jscomp$iter$31.next()) {
|
|
16714
|
+
var rule = $jscomp$key$m1877845113$1$rule.value;
|
|
16661
16715
|
if (rule instanceof CSSKeyframeRule) {
|
|
16662
16716
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16663
16717
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16669,8 +16723,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16669
16723
|
if (!this.propertyAllowlist.has(name)) {
|
|
16670
16724
|
return !1;
|
|
16671
16725
|
}
|
|
16672
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16673
|
-
var discarder = $jscomp$key$
|
|
16726
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1877845113$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1877845113$2$discarder.done; $jscomp$key$m1877845113$2$discarder = $jscomp$iter$32.next()) {
|
|
16727
|
+
var discarder = $jscomp$key$m1877845113$2$discarder.value;
|
|
16674
16728
|
if (discarder(name)) {
|
|
16675
16729
|
return !1;
|
|
16676
16730
|
}
|
|
@@ -16685,8 +16739,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16685
16739
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16686
16740
|
};
|
|
16687
16741
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16688
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16689
|
-
var name = $jscomp$key$
|
|
16742
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1877845113$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1877845113$3$name.done; $jscomp$key$m1877845113$3$name = $jscomp$iter$33.next()) {
|
|
16743
|
+
var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16690
16744
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16691
16745
|
}
|
|
16692
16746
|
return sanitizedProperties;
|
|
@@ -16700,8 +16754,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16700
16754
|
return selector + " { " + sanitizedProperties + " }";
|
|
16701
16755
|
};
|
|
16702
16756
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16703
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16704
|
-
var rule = $jscomp$key$
|
|
16757
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1877845113$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1877845113$4$rule.done; $jscomp$key$m1877845113$4$rule = $jscomp$iter$34.next()) {
|
|
16758
|
+
var rule = $jscomp$key$m1877845113$4$rule.value;
|
|
16705
16759
|
if (rule instanceof CSSStyleRule) {
|
|
16706
16760
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16707
16761
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16797,14 +16851,14 @@ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanit
|
|
|
16797
16851
|
["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY, conditions:new Map([["rel", new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])], ["SOURCE", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}],
|
|
16798
16852
|
["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])], ["IMG", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}], ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])],
|
|
16799
16853
|
["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])], ["AUDIO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])]], module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES =
|
|
16800
|
-
"title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked color cols colspan controls datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
|
|
16854
|
+
"title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked cite color cols colspan controls controlslist datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder poster preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
|
|
16801
16855
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES = [["dir", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
16802
16856
|
return new Map([["dir", new Set(["auto", "ltr", "rtl"])]]);
|
|
16803
16857
|
})}], ["async", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
16804
16858
|
return new Map([["async", new Set(["async"])]]);
|
|
16805
|
-
})}], ["
|
|
16859
|
+
})}], ["loading", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
16806
16860
|
return new Map([["loading", new Set(["eager", "lazy"])]]);
|
|
16807
|
-
})}], ["
|
|
16861
|
+
})}], ["target", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
16808
16862
|
return new Map([["target", new Set(["_self", "_blank"])]]);
|
|
16809
16863
|
})}]];
|
|
16810
16864
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
|
|
@@ -16827,11 +16881,12 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizer =
|
|
|
16827
16881
|
};
|
|
16828
16882
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.CssSanitizer = function() {
|
|
16829
16883
|
};
|
|
16830
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy) {
|
|
16884
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy, openShadow) {
|
|
16831
16885
|
this.sanitizerTable = sanitizerTable;
|
|
16832
16886
|
this.styleElementSanitizer = styleElementSanitizer;
|
|
16833
16887
|
this.styleAttributeSanitizer = styleAttributeSanitizer;
|
|
16834
16888
|
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16889
|
+
this.openShadow = openShadow;
|
|
16835
16890
|
this.changes = [];
|
|
16836
16891
|
module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
16837
16892
|
};
|
|
@@ -16852,7 +16907,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16852
16907
|
return this.styleElementSanitizer && this.styleAttributeSanitizer ? this.sanitizeWithCssToFragment(html, inertDocument) : this.sanitizeToFragmentInternal(html, inertDocument);
|
|
16853
16908
|
};
|
|
16854
16909
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeWithCssToFragment = function(htmlWithCss, inertDocument) {
|
|
16855
|
-
var elem = document.createElement("safevalues-with-css"), shadow = elem.attachShadow({mode:"closed"}), sanitized = this.sanitizeToFragmentInternal(htmlWithCss, inertDocument), internalStyle = document.createElement("style");
|
|
16910
|
+
var elem = document.createElement("safevalues-with-css"), shadow = elem.attachShadow({mode:this.openShadow ? "open" : "closed"}), sanitized = this.sanitizeToFragmentInternal(htmlWithCss, inertDocument), internalStyle = document.createElement("style");
|
|
16856
16911
|
internalStyle.textContent = module$exports$safevalues$builders$html_sanitizer$css$css_isolation.CSS_ISOLATION_STYLESHEET;
|
|
16857
16912
|
internalStyle.id = "safevalues-internal-style";
|
|
16858
16913
|
shadow.appendChild(internalStyle);
|
|
@@ -16862,8 +16917,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16862
16917
|
return fragment;
|
|
16863
16918
|
};
|
|
16864
16919
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16865
|
-
for (var $jscomp$this$
|
|
16866
|
-
return $jscomp$this$
|
|
16920
|
+
for (var $jscomp$this$m1803429925$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
16921
|
+
return $jscomp$this$m1803429925$13.nodeFilter(n);
|
|
16867
16922
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16868
16923
|
var sanitizedNode = void 0;
|
|
16869
16924
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16898,8 +16953,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16898
16953
|
return this.createTextNode(textNode.data);
|
|
16899
16954
|
};
|
|
16900
16955
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16901
|
-
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$
|
|
16902
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
16956
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1803429925$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1803429925$34$.done; $jscomp$key$m1803429925$34$ = $jscomp$iter$36.next()) {
|
|
16957
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1803429925$34$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
16903
16958
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16904
16959
|
switch(policy.policyAction) {
|
|
16905
16960
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16931,9 +16986,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16931
16986
|
break;
|
|
16932
16987
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16933
16988
|
if (this.resourceUrlPolicy) {
|
|
16934
|
-
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$
|
|
16989
|
+
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$m1803429925$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1803429925$33$part.done; $jscomp$key$m1803429925$33$part =
|
|
16935
16990
|
$jscomp$iter$35.next()) {
|
|
16936
|
-
var part = $jscomp$key$
|
|
16991
|
+
var part = $jscomp$key$m1803429925$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);
|
|
16937
16992
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16938
16993
|
}
|
|
16939
16994
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16977,8 +17032,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16977
17032
|
if (!conditions) {
|
|
16978
17033
|
return !0;
|
|
16979
17034
|
}
|
|
16980
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
16981
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17035
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1803429925$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1803429925$35$.done; $jscomp$key$m1803429925$35$ = $jscomp$iter$37.next()) {
|
|
17036
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1803429925$0 = void 0, value = ($jscomp$optchain$tmpm1803429925$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1803429925$0.value;
|
|
16982
17037
|
if (value && !expectedValues.has(value)) {
|
|
16983
17038
|
return !1;
|
|
16984
17039
|
}
|
|
@@ -16993,8 +17048,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
16993
17048
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
16994
17049
|
};
|
|
16995
17050
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16996
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
16997
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17051
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1803429925$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1803429925$36$part.done; $jscomp$key$m1803429925$36$part = $jscomp$iter$38.next()) {
|
|
17052
|
+
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$m1803429925$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;
|
|
16998
17053
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
16999
17054
|
}
|
|
17000
17055
|
return {parts:parts};
|
|
@@ -17051,8 +17106,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17051
17106
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17052
17107
|
};
|
|
17053
17108
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17054
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17055
|
-
var element = $jscomp$key$
|
|
17109
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$m1412690177$22$element = $jscomp$iter$39.next(); !$jscomp$key$m1412690177$22$element.done; $jscomp$key$m1412690177$22$element = $jscomp$iter$39.next()) {
|
|
17110
|
+
var element = $jscomp$key$m1412690177$22$element.value;
|
|
17056
17111
|
element = element.toUpperCase();
|
|
17057
17112
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17058
17113
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17070,8 +17125,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17070
17125
|
throw Error("Element: " + element + " is not a custom element");
|
|
17071
17126
|
}
|
|
17072
17127
|
if (allowedAttributes) {
|
|
17073
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17074
|
-
elementPolicy.set($jscomp$key$
|
|
17128
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$m1412690177$23$attribute = $jscomp$iter$40.next(); !$jscomp$key$m1412690177$23$attribute.done; $jscomp$key$m1412690177$23$attribute = $jscomp$iter$40.next()) {
|
|
17129
|
+
elementPolicy.set($jscomp$key$m1412690177$23$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17075
17130
|
}
|
|
17076
17131
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17077
17132
|
} else {
|
|
@@ -17081,15 +17136,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17081
17136
|
return this;
|
|
17082
17137
|
};
|
|
17083
17138
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17084
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17085
|
-
var attribute = $jscomp$key$
|
|
17139
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$m1412690177$24$attribute = $jscomp$iter$41.next(); !$jscomp$key$m1412690177$24$attribute.done; $jscomp$key$m1412690177$24$attribute = $jscomp$iter$41.next()) {
|
|
17140
|
+
var attribute = $jscomp$key$m1412690177$24$attribute.value;
|
|
17086
17141
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17087
17142
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17088
17143
|
}
|
|
17089
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17090
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17144
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$26$ = $jscomp$iter$43.next(); !$jscomp$key$m1412690177$26$.done; $jscomp$key$m1412690177$26$ = $jscomp$iter$43.next()) {
|
|
17145
|
+
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$26$.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$m1412690177$25$ = $jscomp$iter$42.next(); !$jscomp$key$m1412690177$25$.done; $jscomp$key$m1412690177$25$ =
|
|
17091
17146
|
$jscomp$iter$42.next()) {
|
|
17092
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17147
|
+
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$25$.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;
|
|
17093
17148
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17094
17149
|
}
|
|
17095
17150
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17098,8 +17153,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17098
17153
|
return this;
|
|
17099
17154
|
};
|
|
17100
17155
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
17101
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17102
|
-
var attribute = $jscomp$key$
|
|
17156
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$m1412690177$27$attribute = $jscomp$iter$44.next(); !$jscomp$key$m1412690177$27$attribute.done; $jscomp$key$m1412690177$27$attribute = $jscomp$iter$44.next()) {
|
|
17157
|
+
var attribute = $jscomp$key$m1412690177$27$attribute.value;
|
|
17103
17158
|
if (attribute.indexOf("data-") !== 0) {
|
|
17104
17159
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17105
17160
|
}
|
|
@@ -17149,7 +17204,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
17149
17204
|
};
|
|
17150
17205
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder = function() {
|
|
17151
17206
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.apply(this, arguments);
|
|
17152
|
-
this.transitionsAllowed = this.animationsAllowed = !1;
|
|
17207
|
+
this.openShadow = this.transitionsAllowed = this.animationsAllowed = !1;
|
|
17153
17208
|
};
|
|
17154
17209
|
$jscomp.inherits(module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder, module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder);
|
|
17155
17210
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.allowAnimations = function() {
|
|
@@ -17160,8 +17215,12 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17160
17215
|
this.transitionsAllowed = !0;
|
|
17161
17216
|
return this;
|
|
17162
17217
|
};
|
|
17218
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.withOpenShadow = function() {
|
|
17219
|
+
this.openShadow = !0;
|
|
17220
|
+
return this;
|
|
17221
|
+
};
|
|
17163
17222
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17164
|
-
var $jscomp$this$
|
|
17223
|
+
var $jscomp$this$m1412690177$18 = this;
|
|
17165
17224
|
this.extendSanitizerTableForCss();
|
|
17166
17225
|
var propertyDiscarders = [];
|
|
17167
17226
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17171,10 +17230,10 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17171
17230
|
return /^transition(-|$)/.test(property);
|
|
17172
17231
|
});
|
|
17173
17232
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17174
|
-
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$
|
|
17233
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$18.resourceUrlPolicy, $jscomp$this$m1412690177$18.animationsAllowed, propertyDiscarders);
|
|
17175
17234
|
}, function(cssText) {
|
|
17176
|
-
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$
|
|
17177
|
-
}, this.resourceUrlPolicy);
|
|
17235
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$m1412690177$18.resourceUrlPolicy, propertyDiscarders);
|
|
17236
|
+
}, this.resourceUrlPolicy, this.openShadow);
|
|
17178
17237
|
};
|
|
17179
17238
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
17180
17239
|
var allowedElements = new Set(this.sanitizerTable.allowedElements), allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), globalAttributePolicies = new Map(this.sanitizerTable.globalAttributePolicies);
|
|
@@ -17391,12 +17450,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17391
17450
|
}
|
|
17392
17451
|
try {
|
|
17393
17452
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17394
|
-
} catch ($jscomp$unused$catch$
|
|
17453
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
17395
17454
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17396
17455
|
}
|
|
17397
17456
|
try {
|
|
17398
17457
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17399
|
-
} catch ($jscomp$unused$catch$
|
|
17458
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
17400
17459
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17401
17460
|
}
|
|
17402
17461
|
return !1;
|
|
@@ -19252,7 +19311,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19252
19311
|
ee.apiclient = {};
|
|
19253
19312
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19254
19313
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19255
|
-
ee.apiclient.API_CLIENT_VERSION = "1.
|
|
19314
|
+
ee.apiclient.API_CLIENT_VERSION = "1.5.1";
|
|
19256
19315
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19257
19316
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19258
19317
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19550,8 +19609,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19550
19609
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19551
19610
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19552
19611
|
method = method || "POST";
|
|
19553
|
-
var headers = {"Content-Type":contentType}, version = "1.
|
|
19554
|
-
version === "1.
|
|
19612
|
+
var headers = {"Content-Type":contentType}, version = "1.5.1";
|
|
19613
|
+
version === "1.5.1" && (version = "latest");
|
|
19555
19614
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19556
19615
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19557
19616
|
if (authToken != null) {
|
|
@@ -25010,17 +25069,20 @@ goog.fs.FileReader.createDeferred_ = function(reader) {
|
|
|
25010
25069
|
return deferred;
|
|
25011
25070
|
};
|
|
25012
25071
|
goog.dom.vendor = {};
|
|
25013
|
-
goog
|
|
25072
|
+
function module$contents$goog$dom$vendor_getVendorJsPrefix() {
|
|
25014
25073
|
return goog.userAgent.WEBKIT ? "Webkit" : goog.userAgent.GECKO ? "Moz" : null;
|
|
25015
|
-
}
|
|
25016
|
-
goog
|
|
25074
|
+
}
|
|
25075
|
+
function module$contents$goog$dom$vendor_getVendorPrefix() {
|
|
25017
25076
|
return goog.userAgent.WEBKIT ? "-webkit" : goog.userAgent.GECKO ? "-moz" : null;
|
|
25077
|
+
}
|
|
25078
|
+
goog.dom.vendor.getPrefixedEventType = function(eventType) {
|
|
25079
|
+
return ((module$contents$goog$dom$vendor_getVendorJsPrefix() || "") + eventType).toLowerCase();
|
|
25018
25080
|
};
|
|
25019
25081
|
goog.dom.vendor.getPrefixedPropertyName = function(propertyName, opt_object) {
|
|
25020
25082
|
if (opt_object && propertyName in opt_object) {
|
|
25021
25083
|
return propertyName;
|
|
25022
25084
|
}
|
|
25023
|
-
var prefix = goog
|
|
25085
|
+
var prefix = module$contents$goog$dom$vendor_getVendorJsPrefix();
|
|
25024
25086
|
if (prefix) {
|
|
25025
25087
|
prefix = prefix.toLowerCase();
|
|
25026
25088
|
var prefixedPropertyName = prefix + goog.string.toTitleCase(propertyName);
|
|
@@ -25028,9 +25090,8 @@ goog.dom.vendor.getPrefixedPropertyName = function(propertyName, opt_object) {
|
|
|
25028
25090
|
}
|
|
25029
25091
|
return null;
|
|
25030
25092
|
};
|
|
25031
|
-
goog.dom.vendor.
|
|
25032
|
-
|
|
25033
|
-
};
|
|
25093
|
+
goog.dom.vendor.getVendorJsPrefix = module$contents$goog$dom$vendor_getVendorJsPrefix;
|
|
25094
|
+
goog.dom.vendor.getVendorPrefix = module$contents$goog$dom$vendor_getVendorPrefix;
|
|
25034
25095
|
function module$contents$goog$math$Box_Box(top, right, bottom, left) {
|
|
25035
25096
|
this.top = top;
|
|
25036
25097
|
this.right = right;
|
|
@@ -25288,7 +25349,7 @@ goog.style.getVendorJsStyleName_ = function(element, style) {
|
|
|
25288
25349
|
var camelStyle = goog.string.toCamelCase(style);
|
|
25289
25350
|
propertyName = camelStyle;
|
|
25290
25351
|
if (element.style[camelStyle] === void 0) {
|
|
25291
|
-
var prefixedStyle = goog
|
|
25352
|
+
var prefixedStyle = module$contents$goog$dom$vendor_getVendorJsPrefix() + goog.string.toTitleCase(camelStyle);
|
|
25292
25353
|
element.style[prefixedStyle] !== void 0 && (propertyName = prefixedStyle);
|
|
25293
25354
|
}
|
|
25294
25355
|
goog.style.styleNameCache_[style] = propertyName;
|
|
@@ -25298,9 +25359,9 @@ goog.style.getVendorJsStyleName_ = function(element, style) {
|
|
|
25298
25359
|
goog.style.getVendorStyleName_ = function(element, style) {
|
|
25299
25360
|
var camelStyle = goog.string.toCamelCase(style);
|
|
25300
25361
|
if (element.style[camelStyle] === void 0) {
|
|
25301
|
-
var prefixedStyle = goog
|
|
25362
|
+
var prefixedStyle = module$contents$goog$dom$vendor_getVendorJsPrefix() + goog.string.toTitleCase(camelStyle);
|
|
25302
25363
|
if (element.style[prefixedStyle] !== void 0) {
|
|
25303
|
-
return goog
|
|
25364
|
+
return module$contents$goog$dom$vendor_getVendorPrefix() + "-" + style;
|
|
25304
25365
|
}
|
|
25305
25366
|
}
|
|
25306
25367
|
return style;
|
|
@@ -25598,7 +25659,7 @@ goog.style.installSafeStyleSheet = function(safeStyleSheet, opt_node) {
|
|
|
25598
25659
|
head = dh.createDom(goog.dom.TagName.HEAD);
|
|
25599
25660
|
body.parentNode.insertBefore(head, body);
|
|
25600
25661
|
}
|
|
25601
|
-
var el = dh.createDom(goog.dom.TagName.STYLE), nonce = module$contents$safevalues$dom$globals$window_getStyleNonce(
|
|
25662
|
+
var el = dh.createDom(goog.dom.TagName.STYLE), nonce = module$contents$safevalues$dom$globals$window_getStyleNonce(document);
|
|
25602
25663
|
nonce && el.setAttribute("nonce", nonce);
|
|
25603
25664
|
goog.style.setSafeStyleSheet(el, safeStyleSheet);
|
|
25604
25665
|
dh.appendChild(head, el);
|
|
@@ -26282,40 +26343,40 @@ module$contents$goog$structs$Queue_Queue.prototype.getValues = function() {
|
|
|
26282
26343
|
return res;
|
|
26283
26344
|
};
|
|
26284
26345
|
goog.structs.Queue = module$contents$goog$structs$Queue_Queue;
|
|
26285
|
-
goog
|
|
26346
|
+
function module$contents$goog$structs$Pool_Pool(opt_minCount, opt_maxCount) {
|
|
26286
26347
|
goog.Disposable.call(this);
|
|
26287
26348
|
this.minCount_ = opt_minCount || 0;
|
|
26288
26349
|
this.maxCount_ = opt_maxCount || 10;
|
|
26289
26350
|
if (this.minCount_ > this.maxCount_) {
|
|
26290
|
-
throw Error(goog
|
|
26351
|
+
throw Error(module$contents$goog$structs$Pool_Pool.ERROR_MIN_MAX_);
|
|
26291
26352
|
}
|
|
26292
26353
|
this.freeQueue_ = new module$contents$goog$structs$Queue_Queue();
|
|
26293
|
-
this.inUseSet_ = new
|
|
26354
|
+
this.inUseSet_ = new Set();
|
|
26294
26355
|
this.delay = 0;
|
|
26295
26356
|
this.lastAccess = null;
|
|
26296
26357
|
this.adjustForMinMax();
|
|
26297
|
-
}
|
|
26298
|
-
goog.inherits(goog
|
|
26299
|
-
goog
|
|
26300
|
-
goog
|
|
26301
|
-
goog
|
|
26358
|
+
}
|
|
26359
|
+
goog.inherits(module$contents$goog$structs$Pool_Pool, goog.Disposable);
|
|
26360
|
+
module$contents$goog$structs$Pool_Pool.ERROR_MIN_MAX_ = "[goog.structs.Pool] Min can not be greater than max";
|
|
26361
|
+
module$contents$goog$structs$Pool_Pool.ERROR_DISPOSE_UNRELEASED_OBJS_ = "[goog.structs.Pool] Objects not released";
|
|
26362
|
+
module$contents$goog$structs$Pool_Pool.prototype.setMinimumCount = function(min) {
|
|
26302
26363
|
if (min > this.maxCount_) {
|
|
26303
|
-
throw Error(goog
|
|
26364
|
+
throw Error(module$contents$goog$structs$Pool_Pool.ERROR_MIN_MAX_);
|
|
26304
26365
|
}
|
|
26305
26366
|
this.minCount_ = min;
|
|
26306
26367
|
this.adjustForMinMax();
|
|
26307
26368
|
};
|
|
26308
|
-
goog
|
|
26369
|
+
module$contents$goog$structs$Pool_Pool.prototype.setMaximumCount = function(max) {
|
|
26309
26370
|
if (max < this.minCount_) {
|
|
26310
|
-
throw Error(goog
|
|
26371
|
+
throw Error(module$contents$goog$structs$Pool_Pool.ERROR_MIN_MAX_);
|
|
26311
26372
|
}
|
|
26312
26373
|
this.maxCount_ = max;
|
|
26313
26374
|
this.adjustForMinMax();
|
|
26314
26375
|
};
|
|
26315
|
-
goog
|
|
26376
|
+
module$contents$goog$structs$Pool_Pool.prototype.setDelay = function(delay) {
|
|
26316
26377
|
this.delay = delay;
|
|
26317
26378
|
};
|
|
26318
|
-
goog
|
|
26379
|
+
module$contents$goog$structs$Pool_Pool.prototype.getObject = function() {
|
|
26319
26380
|
var time = Date.now();
|
|
26320
26381
|
if (!(this.lastAccess != null && time - this.lastAccess < this.delay)) {
|
|
26321
26382
|
var obj = this.removeFreeObject_();
|
|
@@ -26323,21 +26384,21 @@ goog.structs.Pool.prototype.getObject = function() {
|
|
|
26323
26384
|
return obj;
|
|
26324
26385
|
}
|
|
26325
26386
|
};
|
|
26326
|
-
goog
|
|
26327
|
-
return this.inUseSet_.
|
|
26387
|
+
module$contents$goog$structs$Pool_Pool.prototype.releaseObject = function(obj) {
|
|
26388
|
+
return this.inUseSet_.delete(obj) ? (this.addFreeObject(obj), !0) : !1;
|
|
26328
26389
|
};
|
|
26329
|
-
goog
|
|
26390
|
+
module$contents$goog$structs$Pool_Pool.prototype.removeFreeObject_ = function() {
|
|
26330
26391
|
for (var obj; this.getFreeCount() > 0 && (obj = this.freeQueue_.dequeue(), !this.objectCanBeReused(obj));) {
|
|
26331
26392
|
this.adjustForMinMax();
|
|
26332
26393
|
}
|
|
26333
26394
|
!obj && this.getCount() < this.maxCount_ && (obj = this.createObject());
|
|
26334
26395
|
return obj;
|
|
26335
26396
|
};
|
|
26336
|
-
goog
|
|
26337
|
-
this.inUseSet_.
|
|
26397
|
+
module$contents$goog$structs$Pool_Pool.prototype.addFreeObject = function(obj) {
|
|
26398
|
+
this.inUseSet_.delete(obj);
|
|
26338
26399
|
this.objectCanBeReused(obj) && this.getCount() < this.maxCount_ ? this.freeQueue_.enqueue(obj) : this.disposeObject(obj);
|
|
26339
26400
|
};
|
|
26340
|
-
goog
|
|
26401
|
+
module$contents$goog$structs$Pool_Pool.prototype.adjustForMinMax = function() {
|
|
26341
26402
|
for (var freeQueue = this.freeQueue_; this.getCount() < this.minCount_;) {
|
|
26342
26403
|
freeQueue.enqueue(this.createObject());
|
|
26343
26404
|
}
|
|
@@ -26345,10 +26406,10 @@ goog.structs.Pool.prototype.adjustForMinMax = function() {
|
|
|
26345
26406
|
this.disposeObject(freeQueue.dequeue());
|
|
26346
26407
|
}
|
|
26347
26408
|
};
|
|
26348
|
-
goog
|
|
26409
|
+
module$contents$goog$structs$Pool_Pool.prototype.createObject = function() {
|
|
26349
26410
|
return {};
|
|
26350
26411
|
};
|
|
26351
|
-
goog
|
|
26412
|
+
module$contents$goog$structs$Pool_Pool.prototype.disposeObject = function(obj) {
|
|
26352
26413
|
if (typeof obj.dispose == "function") {
|
|
26353
26414
|
obj.dispose();
|
|
26354
26415
|
} else {
|
|
@@ -26357,28 +26418,28 @@ goog.structs.Pool.prototype.disposeObject = function(obj) {
|
|
|
26357
26418
|
}
|
|
26358
26419
|
}
|
|
26359
26420
|
};
|
|
26360
|
-
goog
|
|
26421
|
+
module$contents$goog$structs$Pool_Pool.prototype.objectCanBeReused = function(obj) {
|
|
26361
26422
|
return typeof obj.canBeReused == "function" ? obj.canBeReused() : !0;
|
|
26362
26423
|
};
|
|
26363
|
-
goog
|
|
26364
|
-
return this.freeQueue_.contains(obj) || this.inUseSet_.
|
|
26424
|
+
module$contents$goog$structs$Pool_Pool.prototype.contains = function(obj) {
|
|
26425
|
+
return this.freeQueue_.contains(obj) || this.inUseSet_.has(obj);
|
|
26365
26426
|
};
|
|
26366
|
-
goog
|
|
26367
|
-
return this.
|
|
26427
|
+
module$contents$goog$structs$Pool_Pool.prototype.getCount = function() {
|
|
26428
|
+
return this.getFreeCount() + this.getInUseCount();
|
|
26368
26429
|
};
|
|
26369
|
-
goog
|
|
26370
|
-
return this.inUseSet_.
|
|
26430
|
+
module$contents$goog$structs$Pool_Pool.prototype.getInUseCount = function() {
|
|
26431
|
+
return this.inUseSet_.size;
|
|
26371
26432
|
};
|
|
26372
|
-
goog
|
|
26433
|
+
module$contents$goog$structs$Pool_Pool.prototype.getFreeCount = function() {
|
|
26373
26434
|
return this.freeQueue_.getCount();
|
|
26374
26435
|
};
|
|
26375
|
-
goog
|
|
26376
|
-
return this.
|
|
26436
|
+
module$contents$goog$structs$Pool_Pool.prototype.isEmpty = function() {
|
|
26437
|
+
return this.getFreeCount() === 0 && this.getInUseCount() === 0;
|
|
26377
26438
|
};
|
|
26378
|
-
goog
|
|
26379
|
-
goog
|
|
26439
|
+
module$contents$goog$structs$Pool_Pool.prototype.disposeInternal = function() {
|
|
26440
|
+
module$contents$goog$structs$Pool_Pool.superClass_.disposeInternal.call(this);
|
|
26380
26441
|
if (this.getInUseCount() > 0) {
|
|
26381
|
-
throw Error(goog
|
|
26442
|
+
throw Error(module$contents$goog$structs$Pool_Pool.ERROR_DISPOSE_UNRELEASED_OBJS_);
|
|
26382
26443
|
}
|
|
26383
26444
|
delete this.inUseSet_;
|
|
26384
26445
|
for (var freeQueue = this.freeQueue_; !freeQueue.isEmpty();) {
|
|
@@ -26386,6 +26447,7 @@ goog.structs.Pool.prototype.disposeInternal = function() {
|
|
|
26386
26447
|
}
|
|
26387
26448
|
delete this.freeQueue_;
|
|
26388
26449
|
};
|
|
26450
|
+
goog.structs.Pool = module$contents$goog$structs$Pool_Pool;
|
|
26389
26451
|
function module$contents$goog$structs$Node_Node(key, value) {
|
|
26390
26452
|
this.key_ = key;
|
|
26391
26453
|
this.value_ = value;
|
|
@@ -26399,7 +26461,6 @@ module$contents$goog$structs$Node_Node.prototype.getValue = function() {
|
|
|
26399
26461
|
module$contents$goog$structs$Node_Node.prototype.clone = function() {
|
|
26400
26462
|
return new module$contents$goog$structs$Node_Node(this.key_, this.value_);
|
|
26401
26463
|
};
|
|
26402
|
-
goog.structs.Node = module$contents$goog$structs$Node_Node;
|
|
26403
26464
|
var module$contents$goog$structs$Heap_Heap = function(opt_heap) {
|
|
26404
26465
|
this.nodes_ = [];
|
|
26405
26466
|
opt_heap && this.insertAll(opt_heap);
|
|
@@ -26521,9 +26582,9 @@ goog.structs.PriorityQueue = module$contents$goog$structs$PriorityQueue_Priority
|
|
|
26521
26582
|
function module$contents$goog$structs$PriorityPool_PriorityPool(opt_minCount, opt_maxCount) {
|
|
26522
26583
|
this.delayTimeout_ = void 0;
|
|
26523
26584
|
this.requestQueue_ = new module$contents$goog$structs$PriorityQueue_PriorityQueue();
|
|
26524
|
-
goog
|
|
26585
|
+
module$contents$goog$structs$Pool_Pool.call(this, opt_minCount, opt_maxCount);
|
|
26525
26586
|
}
|
|
26526
|
-
goog.inherits(module$contents$goog$structs$PriorityPool_PriorityPool, goog
|
|
26587
|
+
goog.inherits(module$contents$goog$structs$PriorityPool_PriorityPool, module$contents$goog$structs$Pool_Pool);
|
|
26527
26588
|
module$contents$goog$structs$PriorityPool_PriorityPool.DEFAULT_PRIORITY_ = 100;
|
|
26528
26589
|
module$contents$goog$structs$PriorityPool_PriorityPool.prototype.setDelay = function(delay) {
|
|
26529
26590
|
module$contents$goog$structs$PriorityPool_PriorityPool.superClass_.setDelay.call(this, delay);
|
|
@@ -27067,28 +27128,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27067
27128
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27068
27129
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27069
27130
|
(function() {
|
|
27070
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27071
|
-
orderedParamLists = [["name", "
|
|
27131
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filter ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.data.getList ee.data.updateAsset ee.data.getFilmstripThumbId ee.data.startIngestion ee.data.startProcessing ee.data.createFolder ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.setAssetAcl ee.data.listAssets ee.data.getMapId ee.data.renameAsset ee.data.getTaskList ee.data.authenticate ee.data.setAssetProperties ee.data.getTableDownloadId ee.data.getTileUrl ee.data.copyAsset ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.deleteAsset ee.data.listOperations ee.data.getAssetRootQuota ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.cancelOperation ee.data.authenticateViaPopup ee.data.listImages ee.data.getWorkloadTag ee.data.getFeatureViewTilesKey ee.data.getAssetAcl ee.data.listFeatures ee.data.getAsset ee.data.getAssetRoots ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.newTaskId ee.data.createAssetHome ee.data.setWorkloadTag ee.data.computeValue ee.data.getInfo ee.data.createAsset ee.data.getThumbId ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.getVideoThumbId ee.data.resetWorkloadTag ee.data.getTaskStatus ee.data.updateTask ee.Date ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMapId ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection ee.Filter.eq ee.Filter.date ee.Filter.bounds ee.Filter.metadata ee.Filter.and ee.Filter.prototype.not ee.Filter.gt ee.Filter.neq ee.Filter.lt ee.Filter.inList ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPolygon ee.Geometry.LinearRing ee.Geometry.BBox ee.Geometry.MultiPoint ee.Geometry.LineString ee.Geometry.prototype.serialize ee.Geometry.Polygon ee.Geometry.MultiLineString ee.Geometry ee.Geometry.Rectangle ee.Geometry.prototype.toGeoJSON ee.Geometry.Point ee.Image.cat ee.Image.prototype.select ee.Image.rgb ee.Image.prototype.expression ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getThumbURL ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.prototype.rename ee.Image ee.Image.prototype.getThumbId ee.Image.prototype.clip ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.linkCollection ee.List ee.Number ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.String ee.Terrain".split(" "),
|
|
27132
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
27072
27133
|
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
27073
|
-
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "
|
|
27074
|
-
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), ["
|
|
27075
|
-
|
|
27076
|
-
"opt_params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], "
|
|
27077
|
-
["opt_limit", "opt_callback"], ["
|
|
27078
|
-
["
|
|
27079
|
-
["func", "var_args"], [], [
|
|
27080
|
-
|
|
27081
|
-
["coords", "opt_proj", "opt_geodesic", "opt_maxError"
|
|
27082
|
-
["
|
|
27083
|
-
[ee.ApiFunction.
|
|
27084
|
-
module$contents$ee$batch_Export.
|
|
27085
|
-
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.
|
|
27086
|
-
ee.data.
|
|
27087
|
-
ee.data.
|
|
27088
|
-
ee.
|
|
27089
|
-
ee.Filter.
|
|
27090
|
-
ee.
|
|
27091
|
-
ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.
|
|
27134
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27135
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["filter"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["name",
|
|
27136
|
+
"operator", "value"], ["geometry"], ["start", "opt_end"], ["opt_callback"], ["legacy"], ["func", "var_args"], ["callback"], ["params", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["taskId", "params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["assetId", "aclUpdate", "opt_callback"],
|
|
27137
|
+
["parent", "opt_params", "opt_callback"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["assetId", "properties", "opt_callback"], ["params", "opt_callback"], ["id", "x", "y", "z"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["project", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["assetId", "opt_callback"],
|
|
27138
|
+
["opt_limit", "opt_callback"], ["rootId", "opt_callback"], ["params", "opt_callback"], ["id"], ["operationName", "opt_callback"], ["opt_success", "opt_error"], ["parent", "opt_params", "opt_callback"], [], ["params", "opt_callback"], ["assetId", "opt_callback"], ["asset", "params", "opt_callback"], ["id", "opt_callback"], ["opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["operationName", "opt_callback"], ["opt_count", "opt_callback"],
|
|
27139
|
+
["requestedId", "opt_callback"], ["tag"], ["obj", "opt_callback"], ["id", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["tag"], ["params", "opt_callback"], ["opt_resetDefault"], ["taskId", "opt_callback"], ["taskId", "action", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], [], ["func", "namedArgs"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
27140
|
+
["func", "var_args"], [], ["var_args"], [], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["name", "value"], ["start", "opt_end"], ["geometry", "opt_errorMargin"], ["name", "operator",
|
|
27141
|
+
"value"], ["var_args"], [], ["name", "value"], ["name", "value"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["var_args"], ["name", "value"], ["name", "value"], ["opt_filter"], ["namedArgs"], ["var_args"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["west", "south", "east", "north"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"],
|
|
27142
|
+
["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], [], ["coords", "opt_proj"], ["var_args"], ["var_args"], ["r", "g", "b"], ["expression", "opt_map"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["var_args"],
|
|
27143
|
+
["opt_args"], ["params", "opt_callback"], ["geometry"], [], ["args"], ["params", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["string"], []];
|
|
27144
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.table.toAsset,
|
|
27145
|
+
module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.filter, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterDate, ee.ComputedObject.prototype.getInfo,
|
|
27146
|
+
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.data.getList, ee.data.updateAsset, ee.data.getFilmstripThumbId, ee.data.startIngestion, ee.data.startProcessing, ee.data.createFolder, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.setAssetAcl, ee.data.listAssets, ee.data.getMapId, ee.data.renameAsset, ee.data.getTaskList, ee.data.authenticate, ee.data.setAssetProperties, ee.data.getTableDownloadId, ee.data.getTileUrl,
|
|
27147
|
+
ee.data.copyAsset, ee.data.listBuckets, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.startTableIngestion, ee.data.deleteAsset, ee.data.listOperations, ee.data.getAssetRootQuota, ee.data.getDownloadId, ee.data.makeDownloadUrl, ee.data.cancelOperation, ee.data.authenticateViaPopup, ee.data.listImages, ee.data.getWorkloadTag, ee.data.getFeatureViewTilesKey, ee.data.getAssetAcl, ee.data.listFeatures, ee.data.getAsset, ee.data.getAssetRoots, ee.data.authenticateViaPrivateKey,
|
|
27148
|
+
ee.data.getOperation, ee.data.newTaskId, ee.data.createAssetHome, ee.data.setWorkloadTag, ee.data.computeValue, ee.data.getInfo, ee.data.createAsset, ee.data.getThumbId, ee.data.cancelTask, ee.data.setDefaultWorkloadTag, ee.data.getVideoThumbId, ee.data.resetWorkloadTag, ee.data.getTaskStatus, ee.data.updateTask, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Dictionary, ee.Algorithms, ee.InitState, ee.apply, ee.TILE_SIZE,
|
|
27149
|
+
ee.initialize, ee.call, ee.reset, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMapId, ee.Feature, ee.Feature.prototype.getMap, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.Filter.eq, ee.Filter.date, ee.Filter.bounds, ee.Filter.metadata, ee.Filter.and,
|
|
27150
|
+
ee.Filter.prototype.not, ee.Filter.gt, ee.Filter.neq, ee.Filter.lt, ee.Filter.inList, ee.Filter.or, ee.Filter.lte, ee.Filter.gte, ee.Filter, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.MultiPolygon, ee.Geometry.LinearRing, ee.Geometry.BBox, ee.Geometry.MultiPoint, ee.Geometry.LineString, ee.Geometry.prototype.serialize, ee.Geometry.Polygon, ee.Geometry.MultiLineString, ee.Geometry, ee.Geometry.Rectangle, ee.Geometry.prototype.toGeoJSON,
|
|
27151
|
+
ee.Geometry.Point, ee.Image.cat, ee.Image.prototype.select, ee.Image.rgb, ee.Image.prototype.expression, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.getThumbURL, ee.Image.prototype.getMap, ee.Image.prototype.getDownloadURL, ee.Image.prototype.rename, ee.Image, ee.Image.prototype.getThumbId, ee.Image.prototype.clip, ee.ImageCollection.prototype.first, ee.ImageCollection, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select,
|
|
27152
|
+
ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.linkCollection, ee.List, ee.Number, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27092
27153
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27093
27154
|
});
|
|
27094
27155
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|