@google/earthengine 0.1.413 → 0.1.414
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/browser.js +165 -161
- package/build/ee_api_js.js +273 -273
- package/build/ee_api_js_debug.js +143 -138
- package/build/ee_api_js_npm.js +165 -161
- package/build/main.js +165 -161
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/examples/UserInterface/PopulationExplorer.js +9 -3
package/build/ee_api_js_debug.js
CHANGED
|
@@ -1222,8 +1222,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1222
1222
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1223
1223
|
};
|
|
1224
1224
|
}, "es8", "es3");
|
|
1225
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1,
|
|
1226
|
-
GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1};
|
|
1225
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_direct_reactions__disable:!1, GoogFlags__client_only_wiz_flush_queue_fix__enable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__enable:!1, GoogFlags__jspb_enable_low_index_extension_writes__disable:!1, GoogFlags__jspb_readonly_repeated_fields__disable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1,
|
|
1226
|
+
GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1227
1227
|
/*
|
|
1228
1228
|
|
|
1229
1229
|
Copyright The Closure Library Authors.
|
|
@@ -1519,7 +1519,7 @@ goog.bindJs_ = function(fn, selfObj, var_args) {
|
|
|
1519
1519
|
};
|
|
1520
1520
|
};
|
|
1521
1521
|
goog.bind = function(fn, selfObj, var_args) {
|
|
1522
|
-
Function.prototype.bind && Function.prototype.bind.toString().indexOf("native code") != -1 ? goog.bind = goog.bindNative_ : goog.bind = goog.bindJs_;
|
|
1522
|
+
goog.TRUSTED_SITE && goog.FEATURESET_YEAR > 2012 || Function.prototype.bind && Function.prototype.bind.toString().indexOf("native code") != -1 ? goog.bind = goog.bindNative_ : goog.bind = goog.bindJs_;
|
|
1523
1523
|
return goog.bind.apply(null, arguments);
|
|
1524
1524
|
};
|
|
1525
1525
|
goog.partial = function(fn, var_args) {
|
|
@@ -1577,6 +1577,9 @@ goog.exportSymbol = function(publicPath, object, objectToExportTo) {
|
|
|
1577
1577
|
goog.exportProperty = function(object, publicName, symbol) {
|
|
1578
1578
|
object[publicName] = symbol;
|
|
1579
1579
|
};
|
|
1580
|
+
goog.weakUsage = function(name) {
|
|
1581
|
+
return name;
|
|
1582
|
+
};
|
|
1580
1583
|
goog.inherits = function(childCtor, parentCtor) {
|
|
1581
1584
|
function tempCtor() {
|
|
1582
1585
|
}
|
|
@@ -2040,6 +2043,8 @@ module$exports$tslib.__disposeResources = function(env) {
|
|
|
2040
2043
|
}
|
|
2041
2044
|
return next();
|
|
2042
2045
|
};
|
|
2046
|
+
var module$exports$enable_goog_asserts = {}, module$contents$enable_goog_asserts_module = module$contents$enable_goog_asserts_module || {id:"javascript/common/asserts/enable_goog_asserts.closure.js"};
|
|
2047
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS = goog.DEBUG;
|
|
2043
2048
|
var module$exports$eeapiclient$domain_object = {}, module$contents$eeapiclient$domain_object_module = module$contents$eeapiclient$domain_object_module || {id:"javascript/typescript/contrib/apiclient/core/domain_object.closure.js"};
|
|
2044
2049
|
module$exports$eeapiclient$domain_object.ObjectMapMetadata = function() {
|
|
2045
2050
|
};
|
|
@@ -2113,9 +2118,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2113
2118
|
};
|
|
2114
2119
|
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;
|
|
2115
2120
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2116
|
-
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$
|
|
2117
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2118
|
-
var key = $jscomp$key$
|
|
2121
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$44 = {}; !$jscomp$key$m1892927425$40$key.done; $jscomp$loop$m1892927425$44 =
|
|
2122
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2123
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2119
2124
|
if (value != null) {
|
|
2120
2125
|
var copy = void 0;
|
|
2121
2126
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2126,11 +2131,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2126
2131
|
} else if (objects.hasOwnProperty(key)) {
|
|
2127
2132
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2128
2133
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2129
|
-
$jscomp$loop$
|
|
2134
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2130
2135
|
return function(v) {
|
|
2131
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2136
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2132
2137
|
};
|
|
2133
|
-
}($jscomp$loop$
|
|
2138
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2134
2139
|
} else if (Array.isArray(value)) {
|
|
2135
2140
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2136
2141
|
continue;
|
|
@@ -2145,8 +2150,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2145
2150
|
return target;
|
|
2146
2151
|
}
|
|
2147
2152
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2148
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2149
|
-
var mapKey = $jscomp$key$
|
|
2153
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m1892927425$41$mapKey.done; $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next()) {
|
|
2154
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2150
2155
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2151
2156
|
}
|
|
2152
2157
|
return objMap;
|
|
@@ -2176,39 +2181,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2176
2181
|
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))) {
|
|
2177
2182
|
return !1;
|
|
2178
2183
|
}
|
|
2179
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2180
|
-
var key = $jscomp$key$
|
|
2184
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$45 = {}; !$jscomp$key$m1892927425$42$key.done; $jscomp$loop$m1892927425$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next()) {
|
|
2185
|
+
var key = $jscomp$key$m1892927425$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2181
2186
|
if (has1 !== has2) {
|
|
2182
2187
|
return !1;
|
|
2183
2188
|
}
|
|
2184
2189
|
if (has1) {
|
|
2185
2190
|
var value1 = serializable1.Serializable$get(key);
|
|
2186
|
-
$jscomp$loop$
|
|
2191
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2187
2192
|
if (arrays1.hasOwnProperty(key)) {
|
|
2188
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2193
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2189
2194
|
return !1;
|
|
2190
2195
|
}
|
|
2191
2196
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2192
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2197
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2193
2198
|
return !1;
|
|
2194
2199
|
}
|
|
2195
2200
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2196
|
-
if ($jscomp$loop$
|
|
2197
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2201
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2202
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2198
2203
|
return function(v1, i) {
|
|
2199
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2204
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2200
2205
|
};
|
|
2201
|
-
}($jscomp$loop$
|
|
2206
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2202
2207
|
return !1;
|
|
2203
2208
|
}
|
|
2204
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2209
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2205
2210
|
return !1;
|
|
2206
2211
|
}
|
|
2207
2212
|
} else if (Array.isArray(value1)) {
|
|
2208
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2213
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2209
2214
|
return !1;
|
|
2210
2215
|
}
|
|
2211
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2216
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2212
2217
|
return !1;
|
|
2213
2218
|
}
|
|
2214
2219
|
}
|
|
@@ -2230,8 +2235,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2230
2235
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2231
2236
|
return !1;
|
|
2232
2237
|
}
|
|
2233
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2234
|
-
var mapKey = $jscomp$key$
|
|
2238
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m1892927425$43$mapKey.done; $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next()) {
|
|
2239
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2235
2240
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2236
2241
|
return !1;
|
|
2237
2242
|
}
|
|
@@ -2312,15 +2317,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2312
2317
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2313
2318
|
};
|
|
2314
2319
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2315
|
-
var $jscomp$this$
|
|
2320
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2316
2321
|
payload += this._metadataPayload;
|
|
2317
2322
|
return Promise.all(this.files.map(function(f) {
|
|
2318
|
-
return $jscomp$this$
|
|
2323
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2319
2324
|
})).then(function(filePayloads) {
|
|
2320
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2321
|
-
payload += $jscomp$key$
|
|
2325
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m133342051$9$filePayload.done; $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next()) {
|
|
2326
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2322
2327
|
}
|
|
2323
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2328
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2324
2329
|
});
|
|
2325
2330
|
};
|
|
2326
2331
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2770,7 +2775,7 @@ goog.debug.Error = module$contents$goog$debug$Error_DebugError;
|
|
|
2770
2775
|
goog.dom = {};
|
|
2771
2776
|
goog.dom.NodeType = {ELEMENT:1, ATTRIBUTE:2, TEXT:3, CDATA_SECTION:4, ENTITY_REFERENCE:5, ENTITY:6, PROCESSING_INSTRUCTION:7, COMMENT:8, DOCUMENT:9, DOCUMENT_TYPE:10, DOCUMENT_FRAGMENT:11, NOTATION:12};
|
|
2772
2777
|
goog.asserts = {};
|
|
2773
|
-
goog.asserts.ENABLE_ASSERTS =
|
|
2778
|
+
goog.asserts.ENABLE_ASSERTS = module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS;
|
|
2774
2779
|
function module$contents$goog$asserts_AssertionError(messagePattern, messageArgs) {
|
|
2775
2780
|
module$contents$goog$debug$Error_DebugError.call(this, module$contents$goog$asserts_subs(messagePattern, messageArgs));
|
|
2776
2781
|
this.messagePattern = messagePattern;
|
|
@@ -2800,53 +2805,53 @@ function module$contents$goog$asserts_doAssertFailure(defaultMessage, defaultArg
|
|
|
2800
2805
|
module$contents$goog$asserts_errorHandler_(e);
|
|
2801
2806
|
}
|
|
2802
2807
|
goog.asserts.setErrorHandler = function(errorHandler) {
|
|
2803
|
-
|
|
2808
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && (module$contents$goog$asserts_errorHandler_ = errorHandler);
|
|
2804
2809
|
};
|
|
2805
2810
|
goog.asserts.assert = function(condition, opt_message, var_args) {
|
|
2806
|
-
|
|
2811
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !condition && module$contents$goog$asserts_doAssertFailure("", null, opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2807
2812
|
return condition;
|
|
2808
2813
|
};
|
|
2809
2814
|
goog.asserts.assertExists = function(value, opt_message, var_args) {
|
|
2810
|
-
|
|
2815
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && value == null && module$contents$goog$asserts_doAssertFailure("Expected to exist: %s.", [value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2811
2816
|
return value;
|
|
2812
2817
|
};
|
|
2813
2818
|
goog.asserts.fail = function(opt_message, var_args) {
|
|
2814
|
-
|
|
2819
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && module$contents$goog$asserts_errorHandler_(new module$contents$goog$asserts_AssertionError("Failure" + (opt_message ? ": " + opt_message : ""), Array.prototype.slice.call(arguments, 1)));
|
|
2815
2820
|
};
|
|
2816
2821
|
goog.asserts.assertNumber = function(value, opt_message, var_args) {
|
|
2817
|
-
|
|
2822
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "number" && module$contents$goog$asserts_doAssertFailure("Expected number but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2818
2823
|
return value;
|
|
2819
2824
|
};
|
|
2820
2825
|
goog.asserts.assertString = function(value, opt_message, var_args) {
|
|
2821
|
-
|
|
2826
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "string" && module$contents$goog$asserts_doAssertFailure("Expected string but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2822
2827
|
return value;
|
|
2823
2828
|
};
|
|
2824
2829
|
goog.asserts.assertFunction = function(value, opt_message, var_args) {
|
|
2825
|
-
|
|
2830
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "function" && module$contents$goog$asserts_doAssertFailure("Expected function but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2826
2831
|
return value;
|
|
2827
2832
|
};
|
|
2828
2833
|
goog.asserts.assertObject = function(value, opt_message, var_args) {
|
|
2829
|
-
|
|
2834
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !goog.isObject(value) && module$contents$goog$asserts_doAssertFailure("Expected object but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2830
2835
|
return value;
|
|
2831
2836
|
};
|
|
2832
2837
|
goog.asserts.assertArray = function(value, opt_message, var_args) {
|
|
2833
|
-
|
|
2838
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !Array.isArray(value) && module$contents$goog$asserts_doAssertFailure("Expected array but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2834
2839
|
return value;
|
|
2835
2840
|
};
|
|
2836
2841
|
goog.asserts.assertBoolean = function(value, opt_message, var_args) {
|
|
2837
|
-
|
|
2842
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && typeof value !== "boolean" && module$contents$goog$asserts_doAssertFailure("Expected boolean but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2838
2843
|
return value;
|
|
2839
2844
|
};
|
|
2840
2845
|
goog.asserts.assertElement = function(value, opt_message, var_args) {
|
|
2841
|
-
!
|
|
2846
|
+
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || goog.isObject(value) && value.nodeType == goog.dom.NodeType.ELEMENT || module$contents$goog$asserts_doAssertFailure("Expected Element but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2842
2847
|
return value;
|
|
2843
2848
|
};
|
|
2844
2849
|
goog.asserts.assertInstanceof = function(value, type, opt_message, var_args) {
|
|
2845
|
-
!
|
|
2850
|
+
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || value instanceof type || module$contents$goog$asserts_doAssertFailure("Expected instanceof %s but got %s.", [module$contents$goog$asserts_getType(type), module$contents$goog$asserts_getType(value)], opt_message, Array.prototype.slice.call(arguments, 3));
|
|
2846
2851
|
return value;
|
|
2847
2852
|
};
|
|
2848
2853
|
goog.asserts.assertFinite = function(value, opt_message, var_args) {
|
|
2849
|
-
!
|
|
2854
|
+
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || typeof value == "number" && isFinite(value) || module$contents$goog$asserts_doAssertFailure("Expected %s to be a finite number but it is not.", [value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
2850
2855
|
return value;
|
|
2851
2856
|
};
|
|
2852
2857
|
function module$contents$goog$asserts_getType(value) {
|
|
@@ -2970,8 +2975,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2970
2975
|
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
2971
2976
|
}
|
|
2972
2977
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2973
|
-
var $jscomp$templatelit$
|
|
2974
|
-
["\\0"]), $jscomp$templatelit$
|
|
2978
|
+
var $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
2979
|
+
["\\0"]), $jscomp$templatelit$m425881384$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
2975
2980
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2976
2981
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2977
2982
|
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 ##############################");
|
|
@@ -2985,14 +2990,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2985
2990
|
return fn.toString().indexOf("`") === -1;
|
|
2986
2991
|
}
|
|
2987
2992
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2988
|
-
return tag($jscomp$templatelit$
|
|
2993
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
2989
2994
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2990
|
-
return tag($jscomp$templatelit$
|
|
2995
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
2991
2996
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2992
|
-
return tag($jscomp$templatelit$
|
|
2997
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
2993
2998
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2994
|
-
return tag($jscomp$templatelit$
|
|
2995
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2999
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
3000
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$12);
|
|
2996
3001
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2997
3002
|
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)) ?
|
|
2998
3003
|
!0 : !1;
|
|
@@ -3074,7 +3079,7 @@ module$exports$safevalues$builders$url_builders.SanitizableUrlScheme = {TEL:modu
|
|
|
3074
3079
|
}), MAILTO:module$contents$safevalues$builders$url_builders_simpleScheme("mailto"), INTENT:module$contents$safevalues$builders$url_builders_simpleScheme("intent"), MARKET:module$contents$safevalues$builders$url_builders_simpleScheme("market"), ITMS:module$contents$safevalues$builders$url_builders_simpleScheme("itms"), ITMS_APPSS:module$contents$safevalues$builders$url_builders_simpleScheme("itms-appss"),
|
|
3075
3080
|
ITMS_SERVICES:module$contents$safevalues$builders$url_builders_simpleScheme("itms-services"), FACEBOOK_MESSENGER:module$contents$safevalues$builders$url_builders_simpleScheme("fb-messenger"), WHATSAPP:module$contents$safevalues$builders$url_builders_simpleScheme("whatsapp"), SIP:new module$contents$safevalues$builders$url_builders_SchemeImpl(function(url) {
|
|
3076
3081
|
return url.indexOf("sip:") === 0 || url.indexOf("sips:") === 0;
|
|
3077
|
-
}), SMS:module$contents$safevalues$builders$url_builders_simpleScheme("sms"), VND_YOUTUBE:module$contents$safevalues$builders$url_builders_simpleScheme("vnd.youtube")};
|
|
3082
|
+
}), SMS:module$contents$safevalues$builders$url_builders_simpleScheme("sms"), VND_YOUTUBE:module$contents$safevalues$builders$url_builders_simpleScheme("vnd.youtube"), GOOGLEHOME:module$contents$safevalues$builders$url_builders_simpleScheme("googlehome"), GOOGLEHOMESDK:module$contents$safevalues$builders$url_builders_simpleScheme("googlehomesdk")};
|
|
3078
3083
|
var module$contents$safevalues$builders$url_builders_DEFAULT_SCHEMES = [module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.DATA, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.HTTP, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.HTTPS, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.MAILTO,
|
|
3079
3084
|
module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.FTP, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.RELATIVE];
|
|
3080
3085
|
function module$contents$safevalues$builders$url_builders_trySanitizeUrl(url, allowedSchemes) {
|
|
@@ -4402,9 +4407,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
4402
4407
|
}
|
|
4403
4408
|
}
|
|
4404
4409
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
4405
|
-
var $jscomp$tmp$error$
|
|
4406
|
-
this.message = $jscomp$tmp$error$
|
|
4407
|
-
"stack" in $jscomp$tmp$error$
|
|
4410
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
4411
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
4412
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
4408
4413
|
this.type = type;
|
|
4409
4414
|
this.intent = intent;
|
|
4410
4415
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -4511,7 +4516,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
4511
4516
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
4512
4517
|
};
|
|
4513
4518
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
4514
|
-
var $jscomp$optchain$
|
|
4519
|
+
var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = win.document).querySelector) == null ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
|
|
4515
4520
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
4516
4521
|
}
|
|
4517
4522
|
;var module$exports$safevalues$internals$script_impl = {}, module$contents$safevalues$internals$script_impl_module = module$contents$safevalues$internals$script_impl_module || {id:"third_party/javascript/safevalues/internals/script_impl.closure.js"}, module$contents$safevalues$internals$script_impl_trustedTypes = goog.global.trustedTypes;
|
|
@@ -5178,9 +5183,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
5178
5183
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
5179
5184
|
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"};
|
|
5180
5185
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
5181
|
-
var $jscomp$tmp$error$
|
|
5182
|
-
this.message = $jscomp$tmp$error$
|
|
5183
|
-
"stack" in $jscomp$tmp$error$
|
|
5186
|
+
var $jscomp$tmp$error$1153895636$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
5187
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
5188
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
5184
5189
|
this.url = url;
|
|
5185
5190
|
this.typeName = typeName;
|
|
5186
5191
|
this.contentType = contentType;
|
|
@@ -5192,48 +5197,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
5192
5197
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
5193
5198
|
}
|
|
5194
5199
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
5195
|
-
var response, $jscomp$optchain$
|
|
5196
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5197
|
-
if ($jscomp$generator$context$
|
|
5198
|
-
return $jscomp$generator$context$
|
|
5199
|
-
}
|
|
5200
|
-
response = $jscomp$generator$context$
|
|
5201
|
-
mimeType = ($jscomp$optchain$
|
|
5202
|
-
return $jscomp$generator$context$
|
|
5200
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
5201
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
5202
|
+
if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
|
|
5203
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
5204
|
+
}
|
|
5205
|
+
response = $jscomp$generator$context$1153895636$29.yieldResult;
|
|
5206
|
+
mimeType = ($jscomp$optchain$tmp1153895636$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmp1153895636$1 = $jscomp$optchain$tmp1153895636$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmp1153895636$2 = $jscomp$optchain$tmp1153895636$1[0]) == null ? void 0 : $jscomp$optchain$tmp1153895636$2.toLowerCase();
|
|
5207
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
5203
5208
|
var text;
|
|
5204
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5205
|
-
if ($jscomp$generator$context$
|
|
5209
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
5210
|
+
if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
|
|
5206
5211
|
if (mimeType !== "text/html") {
|
|
5207
5212
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
5208
5213
|
}
|
|
5209
|
-
return $jscomp$generator$context$
|
|
5214
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
5210
5215
|
}
|
|
5211
|
-
text = $jscomp$generator$context$
|
|
5212
|
-
return $jscomp$generator$context$
|
|
5216
|
+
text = $jscomp$generator$context$1153895636$26.yieldResult;
|
|
5217
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
5213
5218
|
});
|
|
5214
5219
|
}, script:function() {
|
|
5215
5220
|
var text;
|
|
5216
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5217
|
-
if ($jscomp$generator$context$
|
|
5221
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
5222
|
+
if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
|
|
5218
5223
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
5219
5224
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
5220
5225
|
}
|
|
5221
|
-
return $jscomp$generator$context$
|
|
5226
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
5222
5227
|
}
|
|
5223
|
-
text = $jscomp$generator$context$
|
|
5224
|
-
return $jscomp$generator$context$
|
|
5228
|
+
text = $jscomp$generator$context$1153895636$27.yieldResult;
|
|
5229
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
5225
5230
|
});
|
|
5226
5231
|
}, styleSheet:function() {
|
|
5227
5232
|
var text;
|
|
5228
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5229
|
-
if ($jscomp$generator$context$
|
|
5233
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
5234
|
+
if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
|
|
5230
5235
|
if (mimeType !== "text/css") {
|
|
5231
5236
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
5232
5237
|
}
|
|
5233
|
-
return $jscomp$generator$context$
|
|
5238
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
5234
5239
|
}
|
|
5235
|
-
text = $jscomp$generator$context$
|
|
5236
|
-
return $jscomp$generator$context$
|
|
5240
|
+
text = $jscomp$generator$context$1153895636$28.yieldResult;
|
|
5241
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
5237
5242
|
});
|
|
5238
5243
|
}});
|
|
5239
5244
|
});
|
|
@@ -6655,8 +6660,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6655
6660
|
}
|
|
6656
6661
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6657
6662
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6658
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6659
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6663
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$m125199259$0$ = $jscomp$iter$29.next(); !$jscomp$key$m125199259$0$.done; $jscomp$key$m125199259$0$ = $jscomp$iter$29.next()) {
|
|
6664
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
6660
6665
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6661
6666
|
}
|
|
6662
6667
|
return urlQueryParams;
|
|
@@ -6667,8 +6672,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6667
6672
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
6668
6673
|
if (params.headers) {
|
|
6669
6674
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6670
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6671
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6675
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$m125199259$1$ = $jscomp$iter$30.next(); !$jscomp$key$m125199259$1$.done; $jscomp$key$m125199259$1$ = $jscomp$iter$30.next()) {
|
|
6676
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6672
6677
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6673
6678
|
}
|
|
6674
6679
|
}
|
|
@@ -6708,9 +6713,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6708
6713
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6709
6714
|
};
|
|
6710
6715
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6711
|
-
var $jscomp$this$
|
|
6716
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6712
6717
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6713
|
-
return $jscomp$this$
|
|
6718
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
6714
6719
|
}));
|
|
6715
6720
|
};
|
|
6716
6721
|
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"};
|
|
@@ -6875,9 +6880,12 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_
|
|
|
6875
6880
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
6876
6881
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
6877
6882
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable = !1;
|
|
6878
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6883
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_direct_reactions__disable = !1;
|
|
6879
6884
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__enable = !1;
|
|
6885
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__enable = !1;
|
|
6880
6886
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable = !1;
|
|
6887
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6888
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
|
|
6881
6889
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
6882
6890
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
6883
6891
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable = !1;
|
|
@@ -6886,12 +6894,14 @@ goog.flags = {};
|
|
|
6886
6894
|
var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1, goog.FLAGS_STAGING_DEFAULT);
|
|
6887
6895
|
goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable : goog.readFlagInternalDoNotUseOrElse(610401301, !1);
|
|
6888
6896
|
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
|
|
6889
|
-
goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ?
|
|
6890
|
-
module$contents$goog$flags_STAGING);
|
|
6891
|
-
goog.flags.CLIENT_ONLY_WIZ_DIRECT_REACTIONS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_direct_reactions__enable : goog.readFlagInternalDoNotUseOrElse(641353869, goog.DEBUG);
|
|
6897
|
+
goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable : goog.readFlagInternalDoNotUseOrElse(188588736, !0);
|
|
6898
|
+
goog.flags.CLIENT_ONLY_WIZ_DIRECT_REACTIONS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_direct_reactions__disable) : goog.readFlagInternalDoNotUseOrElse(641353869, module$contents$goog$flags_STAGING);
|
|
6892
6899
|
goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__enable : goog.readFlagInternalDoNotUseOrElse(644029907, goog.DEBUG);
|
|
6900
|
+
goog.flags.CLIENT_ONLY_WIZ_ORDERED_REACTION_EXECUTION = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__enable : goog.readFlagInternalDoNotUseOrElse(1822726157, goog.DEBUG);
|
|
6893
6901
|
goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable) : goog.readFlagInternalDoNotUseOrElse(645172343,
|
|
6894
6902
|
module$contents$goog$flags_STAGING);
|
|
6903
|
+
goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable : goog.readFlagInternalDoNotUseOrElse(651175828, goog.DEBUG);
|
|
6904
|
+
goog.flags.JSPB_READONLY_REPEATED_FIELDS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable) : goog.readFlagInternalDoNotUseOrElse(653718497, module$contents$goog$flags_STAGING);
|
|
6895
6905
|
goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
|
|
6896
6906
|
goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
|
|
6897
6907
|
goog.flags.TESTONLY_STAGING_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable) : goog.readFlagInternalDoNotUseOrElse(2147483646, module$contents$goog$flags_STAGING);
|
|
@@ -15206,10 +15216,10 @@ goog.dom.element.isHtmlScriptElement = function(value) {
|
|
|
15206
15216
|
};
|
|
15207
15217
|
goog.asserts.dom = {};
|
|
15208
15218
|
var module$contents$goog$asserts$dom_assertIsHtmlElement = function(value) {
|
|
15209
|
-
|
|
15219
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !module$contents$goog$dom$element_isHtmlElement(value) && goog.asserts.fail("Argument is not an HTML Element; got: " + module$contents$goog$asserts$dom_debugStringForType(value));
|
|
15210
15220
|
return value;
|
|
15211
15221
|
}, module$contents$goog$asserts$dom_assertIsHtmlElementOfType = function(value, tagName) {
|
|
15212
|
-
|
|
15222
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !module$contents$goog$dom$element_isHtmlElementOfType(value, tagName) && goog.asserts.fail("Argument is not an HTML Element with tag name " + (tagName.toString() + "; got: " + module$contents$goog$asserts$dom_debugStringForType(value)));
|
|
15213
15223
|
return value;
|
|
15214
15224
|
}, module$contents$goog$asserts$dom_assertIsHtmlAnchorElement = function(value) {
|
|
15215
15225
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.A);
|
|
@@ -15241,7 +15251,7 @@ var module$contents$goog$asserts$dom_assertIsHtmlElement = function(value) {
|
|
|
15241
15251
|
}
|
|
15242
15252
|
};
|
|
15243
15253
|
goog.asserts.dom.assertIsElement = function(value) {
|
|
15244
|
-
|
|
15254
|
+
module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && !module$contents$goog$dom$element_isElement(value) && goog.asserts.fail("Argument is not an Element; got: " + module$contents$goog$asserts$dom_debugStringForType(value));
|
|
15245
15255
|
return value;
|
|
15246
15256
|
};
|
|
15247
15257
|
goog.asserts.dom.assertIsHtmlElement = module$contents$goog$asserts$dom_assertIsHtmlElement;
|
|
@@ -15275,7 +15285,7 @@ goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
|
15275
15285
|
goog.asserts.dom.assertIsHtmlScriptElement = module$contents$goog$asserts$dom_assertIsHtmlScriptElement;
|
|
15276
15286
|
goog.dom.BrowserFeature = {};
|
|
15277
15287
|
goog.dom.BrowserFeature.ASSUME_NO_OFFSCREEN_CANVAS = !1;
|
|
15278
|
-
goog.dom.BrowserFeature.ASSUME_OFFSCREEN_CANVAS =
|
|
15288
|
+
goog.dom.BrowserFeature.ASSUME_OFFSCREEN_CANVAS = goog.FEATURESET_YEAR >= 2024;
|
|
15279
15289
|
goog.dom.BrowserFeature.detectOffscreenCanvas_ = function(contextName) {
|
|
15280
15290
|
try {
|
|
15281
15291
|
return !!(new self.OffscreenCanvas(0, 0)).getContext(contextName);
|
|
@@ -15284,14 +15294,10 @@ goog.dom.BrowserFeature.detectOffscreenCanvas_ = function(contextName) {
|
|
|
15284
15294
|
return !1;
|
|
15285
15295
|
};
|
|
15286
15296
|
goog.dom.BrowserFeature.OFFSCREEN_CANVAS_2D = !goog.dom.BrowserFeature.ASSUME_NO_OFFSCREEN_CANVAS && (goog.dom.BrowserFeature.ASSUME_OFFSCREEN_CANVAS || goog.dom.BrowserFeature.detectOffscreenCanvas_("2d"));
|
|
15287
|
-
goog.dom.BrowserFeature.
|
|
15288
|
-
goog.dom.BrowserFeature.CAN_USE_CHILDREN_ATTRIBUTE = !0;
|
|
15289
|
-
goog.dom.BrowserFeature.CAN_USE_INNER_TEXT = !1;
|
|
15290
|
-
goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY = goog.userAgent.WEBKIT;
|
|
15291
|
-
goog.dom.BrowserFeature.INNER_HTML_NEEDS_SCOPED_ELEMENT = !1;
|
|
15297
|
+
goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY = !0;
|
|
15292
15298
|
goog.dom.asserts = {};
|
|
15293
15299
|
goog.dom.asserts.assertIsLocation = function(o) {
|
|
15294
|
-
if (
|
|
15300
|
+
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS) {
|
|
15295
15301
|
var win = goog.dom.asserts.getWindow_(o);
|
|
15296
15302
|
win && (!o || !(o instanceof win.Location) && o instanceof win.Element) && goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s", goog.dom.asserts.debugStringForType_(o));
|
|
15297
15303
|
}
|
|
@@ -15545,8 +15551,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15545
15551
|
this.replacements = new Map();
|
|
15546
15552
|
};
|
|
15547
15553
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15548
|
-
var $jscomp$this$
|
|
15549
|
-
return $jscomp$this$
|
|
15554
|
+
var $jscomp$this$1018007701$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
15555
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
15550
15556
|
});
|
|
15551
15557
|
if (openedTags.length !== 0) {
|
|
15552
15558
|
if (goog.DEBUG) {
|
|
@@ -15691,7 +15697,7 @@ function module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sani
|
|
|
15691
15697
|
}
|
|
15692
15698
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.isCustomElement = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_isCustomElement;
|
|
15693
15699
|
var module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table = {}, module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/sanitizer_table/default_sanitizer_table.closure.js"},
|
|
15694
|
-
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS = "ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "),
|
|
15700
|
+
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS = "ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR NOBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "),
|
|
15695
15701
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES = [["A", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])], ["AREA", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_URL}]])],
|
|
15696
15702
|
["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}],
|
|
15697
15703
|
["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}]])],
|
|
@@ -15756,8 +15762,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15756
15762
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
15757
15763
|
};
|
|
15758
15764
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15759
|
-
for (var $jscomp$this$
|
|
15760
|
-
return $jscomp$this$
|
|
15765
|
+
for (var $jscomp$this$m1085474118$10 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
15766
|
+
return $jscomp$this$m1085474118$10.nodeFilter(n);
|
|
15761
15767
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
15762
15768
|
var sanitizedNode = void 0;
|
|
15763
15769
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15792,8 +15798,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15792
15798
|
return this.createTextNode(textNode.data);
|
|
15793
15799
|
};
|
|
15794
15800
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15795
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$32 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$
|
|
15796
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
15801
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$32 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1085474118$31$ = $jscomp$iter$32.next(); !$jscomp$key$m1085474118$31$.done; $jscomp$key$m1085474118$31$ = $jscomp$iter$32.next()) {
|
|
15802
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1085474118$31$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
15797
15803
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15798
15804
|
switch(policy.policyAction) {
|
|
15799
15805
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15825,9 +15831,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15825
15831
|
break;
|
|
15826
15832
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
15827
15833
|
if (this.resourceUrlPolicy) {
|
|
15828
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, tagName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$31 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$
|
|
15834
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, tagName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$31 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1085474118$30$part = $jscomp$iter$31.next(); !$jscomp$key$m1085474118$30$part.done; $jscomp$key$m1085474118$30$part =
|
|
15829
15835
|
$jscomp$iter$31.next()) {
|
|
15830
|
-
var part = $jscomp$key$
|
|
15836
|
+
var part = $jscomp$key$m1085474118$30$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);
|
|
15831
15837
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
15832
15838
|
}
|
|
15833
15839
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -15871,8 +15877,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15871
15877
|
if (!conditions) {
|
|
15872
15878
|
return !0;
|
|
15873
15879
|
}
|
|
15874
|
-
for (var $jscomp$iter$33 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
15875
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
15880
|
+
for (var $jscomp$iter$33 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1085474118$32$ = $jscomp$iter$33.next(); !$jscomp$key$m1085474118$32$.done; $jscomp$key$m1085474118$32$ = $jscomp$iter$33.next()) {
|
|
15881
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$32$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
15876
15882
|
if (value && !expectedValues.has(value)) {
|
|
15877
15883
|
return !1;
|
|
15878
15884
|
}
|
|
@@ -15887,8 +15893,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
15887
15893
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
15888
15894
|
};
|
|
15889
15895
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
15890
|
-
for (var parts = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
15891
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
15896
|
+
for (var parts = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1085474118$33$part = $jscomp$iter$34.next(); !$jscomp$key$m1085474118$33$part.done; $jscomp$key$m1085474118$33$part = $jscomp$iter$34.next()) {
|
|
15897
|
+
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$33$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var34.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var34.next().value;
|
|
15892
15898
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
15893
15899
|
}
|
|
15894
15900
|
return {parts:parts};
|
|
@@ -15945,8 +15951,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15945
15951
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
15946
15952
|
};
|
|
15947
15953
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
15948
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$35 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
15949
|
-
var element = $jscomp$key$
|
|
15954
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$35 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$435282654$0$element = $jscomp$iter$35.next(); !$jscomp$key$435282654$0$element.done; $jscomp$key$435282654$0$element = $jscomp$iter$35.next()) {
|
|
15955
|
+
var element = $jscomp$key$435282654$0$element.value;
|
|
15950
15956
|
element = element.toUpperCase();
|
|
15951
15957
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15952
15958
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15964,8 +15970,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15964
15970
|
throw Error("Element: " + element + " is not a custom element");
|
|
15965
15971
|
}
|
|
15966
15972
|
if (allowedAttributes) {
|
|
15967
|
-
for (var elementPolicy = new Map(), $jscomp$iter$36 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
15968
|
-
elementPolicy.set($jscomp$key$
|
|
15973
|
+
for (var elementPolicy = new Map(), $jscomp$iter$36 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$435282654$1$attribute = $jscomp$iter$36.next(); !$jscomp$key$435282654$1$attribute.done; $jscomp$key$435282654$1$attribute = $jscomp$iter$36.next()) {
|
|
15974
|
+
elementPolicy.set($jscomp$key$435282654$1$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
15969
15975
|
}
|
|
15970
15976
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15971
15977
|
} else {
|
|
@@ -15975,15 +15981,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15975
15981
|
return this;
|
|
15976
15982
|
};
|
|
15977
15983
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
15978
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$37 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
15979
|
-
var attribute = $jscomp$key$
|
|
15984
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$37 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$435282654$2$attribute = $jscomp$iter$37.next(); !$jscomp$key$435282654$2$attribute.done; $jscomp$key$435282654$2$attribute = $jscomp$iter$37.next()) {
|
|
15985
|
+
var attribute = $jscomp$key$435282654$2$attribute.value;
|
|
15980
15986
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15981
15987
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15982
15988
|
}
|
|
15983
|
-
for (var $jscomp$iter$39 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
15984
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
15989
|
+
for (var $jscomp$iter$39 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$4$ = $jscomp$iter$39.next(); !$jscomp$key$435282654$4$.done; $jscomp$key$435282654$4$ = $jscomp$iter$39.next()) {
|
|
15990
|
+
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$435282654$4$.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$38 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$3$ = $jscomp$iter$38.next(); !$jscomp$key$435282654$3$.done; $jscomp$key$435282654$3$ =
|
|
15985
15991
|
$jscomp$iter$38.next()) {
|
|
15986
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
15992
|
+
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$435282654$3$.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;
|
|
15987
15993
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15988
15994
|
}
|
|
15989
15995
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -15992,8 +15998,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15992
15998
|
return this;
|
|
15993
15999
|
};
|
|
15994
16000
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
15995
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$40 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
15996
|
-
var attribute = $jscomp$key$
|
|
16001
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$40 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$435282654$5$attribute = $jscomp$iter$40.next(); !$jscomp$key$435282654$5$attribute.done; $jscomp$key$435282654$5$attribute = $jscomp$iter$40.next()) {
|
|
16002
|
+
var attribute = $jscomp$key$435282654$5$attribute.value;
|
|
15997
16003
|
if (attribute.indexOf("data-") !== 0) {
|
|
15998
16004
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
15999
16005
|
}
|
|
@@ -16248,12 +16254,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16248
16254
|
}
|
|
16249
16255
|
try {
|
|
16250
16256
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16251
|
-
} catch ($jscomp$unused$catch$
|
|
16257
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
16252
16258
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16253
16259
|
}
|
|
16254
16260
|
try {
|
|
16255
16261
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16256
|
-
} catch ($jscomp$unused$catch$
|
|
16262
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
16257
16263
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16258
16264
|
}
|
|
16259
16265
|
return !1;
|
|
@@ -16294,6 +16300,7 @@ module$exports$safevalues$index.sanitizeHtml = module$contents$safevalues$builde
|
|
|
16294
16300
|
module$exports$safevalues$index.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
16295
16301
|
module$exports$safevalues$index.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
16296
16302
|
module$exports$safevalues$index.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
16303
|
+
module$exports$safevalues$index.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
16297
16304
|
module$exports$safevalues$index.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
16298
16305
|
module$exports$safevalues$index.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
16299
16306
|
module$exports$safevalues$index.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
@@ -16373,7 +16380,7 @@ goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse = function(elem, html) {
|
|
|
16373
16380
|
elem.innerHTML = module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html);
|
|
16374
16381
|
};
|
|
16375
16382
|
goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
16376
|
-
if (
|
|
16383
|
+
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && elem.tagName && goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[elem.tagName.toUpperCase()]) {
|
|
16377
16384
|
throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of " + elem.tagName + ".");
|
|
16378
16385
|
}
|
|
16379
16386
|
goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(elem, html);
|
|
@@ -16998,7 +17005,7 @@ goog.dom.isWindow = function(obj) {
|
|
|
16998
17005
|
};
|
|
16999
17006
|
goog.dom.getParentElement = function(element) {
|
|
17000
17007
|
var parent;
|
|
17001
|
-
if (goog.
|
|
17008
|
+
if (goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY && (parent = element.parentElement)) {
|
|
17002
17009
|
return parent;
|
|
17003
17010
|
}
|
|
17004
17011
|
parent = element.parentNode;
|
|
@@ -18106,10 +18113,6 @@ module$contents$goog$async$Throttle_Throttle.prototype.doAction_ = function() {
|
|
|
18106
18113
|
this.listener_.apply(null, args);
|
|
18107
18114
|
};
|
|
18108
18115
|
goog.async.Throttle = module$contents$goog$async$Throttle_Throttle;
|
|
18109
|
-
goog.promise.deferredBase = {};
|
|
18110
|
-
function module$contents$goog$promise$deferredBase_DeferredBaseDoNotUse() {
|
|
18111
|
-
}
|
|
18112
|
-
goog.promise.deferredBase.DeferredBaseDoNotUse = module$contents$goog$promise$deferredBase_DeferredBaseDoNotUse;
|
|
18113
18116
|
/*
|
|
18114
18117
|
|
|
18115
18118
|
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
|
|
@@ -18132,7 +18135,6 @@ goog.async.Deferred = function(opt_onCancelFunction, opt_defaultScope) {
|
|
|
18132
18135
|
typeof target.stack == "string" && (this.constructorStack_ = target.stack.replace(/^[^\n]*\n/, ""));
|
|
18133
18136
|
}
|
|
18134
18137
|
};
|
|
18135
|
-
goog.inherits(goog.async.Deferred, module$contents$goog$promise$deferredBase_DeferredBaseDoNotUse);
|
|
18136
18138
|
goog.async.Deferred.STRICT_ERRORS = !1;
|
|
18137
18139
|
goog.async.Deferred.LONG_STACK_TRACES = !1;
|
|
18138
18140
|
goog.async.Deferred.prototype.cancel = function(opt_deepCancel) {
|
|
@@ -19083,6 +19085,9 @@ safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$htm
|
|
|
19083
19085
|
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
19084
19086
|
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
19085
19087
|
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
19088
|
+
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
19089
|
+
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
19090
|
+
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
19086
19091
|
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
19087
19092
|
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
19088
19093
|
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
@@ -19138,7 +19143,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19138
19143
|
ee.apiclient = {};
|
|
19139
19144
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19140
19145
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19141
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19146
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.414";
|
|
19142
19147
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19143
19148
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19144
19149
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19436,8 +19441,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19436
19441
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19437
19442
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19438
19443
|
method = method || "POST";
|
|
19439
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19440
|
-
version === "0.1.
|
|
19444
|
+
var headers = {"Content-Type":contentType}, version = "0.1.414";
|
|
19445
|
+
version === "0.1.414" && (version = "latest");
|
|
19441
19446
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19442
19447
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19443
19448
|
if (authToken != null) {
|