@google/earthengine 0.1.415 → 0.1.417
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 +1038 -370
- package/build/ee_api_js.js +605 -603
- package/build/ee_api_js_debug.js +1015 -347
- package/build/ee_api_js_npm.js +1038 -370
- package/build/main.js +1038 -370
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/examples/UserInterface/OceanTimeseriesInvestigator.js +35 -19
package/build/main.js
CHANGED
|
@@ -992,6 +992,78 @@ $jscomp.polyfill("Map", function(NativeMap) {
|
|
|
992
992
|
};
|
|
993
993
|
return PolyfillMap;
|
|
994
994
|
}, "es6", "es3");
|
|
995
|
+
$jscomp.polyfill("Set", function(NativeSet) {
|
|
996
|
+
function isConformant() {
|
|
997
|
+
if ($jscomp.ASSUME_NO_NATIVE_SET || !NativeSet || typeof NativeSet != "function" || !NativeSet.prototype.entries || typeof Object.seal != "function") {
|
|
998
|
+
return !1;
|
|
999
|
+
}
|
|
1000
|
+
try {
|
|
1001
|
+
var value = Object.seal({x:4}), set = new NativeSet($jscomp.makeIterator([value]));
|
|
1002
|
+
if (!set.has(value) || set.size != 1 || set.add(value) != set || set.size != 1 || set.add({x:4}) != set || set.size != 2) {
|
|
1003
|
+
return !1;
|
|
1004
|
+
}
|
|
1005
|
+
var iter = set.entries(), item = iter.next();
|
|
1006
|
+
if (item.done || item.value[0] != value || item.value[1] != value) {
|
|
1007
|
+
return !1;
|
|
1008
|
+
}
|
|
1009
|
+
item = iter.next();
|
|
1010
|
+
return item.done || item.value[0] == value || item.value[0].x != 4 || item.value[1] != item.value[0] ? !1 : iter.next().done;
|
|
1011
|
+
} catch (err) {
|
|
1012
|
+
return !1;
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
if ($jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS) {
|
|
1016
|
+
if (NativeSet && $jscomp.ES6_CONFORMANCE) {
|
|
1017
|
+
return NativeSet;
|
|
1018
|
+
}
|
|
1019
|
+
} else {
|
|
1020
|
+
if (isConformant()) {
|
|
1021
|
+
return NativeSet;
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
var PolyfillSet = function(opt_iterable) {
|
|
1025
|
+
this.map_ = new Map();
|
|
1026
|
+
if (opt_iterable) {
|
|
1027
|
+
for (var iter = $jscomp.makeIterator(opt_iterable), entry; !(entry = iter.next()).done;) {
|
|
1028
|
+
this.add(entry.value);
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
this.size = this.map_.size;
|
|
1032
|
+
};
|
|
1033
|
+
PolyfillSet.prototype.add = function(value) {
|
|
1034
|
+
value = value === 0 ? 0 : value;
|
|
1035
|
+
this.map_.set(value, value);
|
|
1036
|
+
this.size = this.map_.size;
|
|
1037
|
+
return this;
|
|
1038
|
+
};
|
|
1039
|
+
PolyfillSet.prototype.delete = function(value) {
|
|
1040
|
+
var result = this.map_.delete(value);
|
|
1041
|
+
this.size = this.map_.size;
|
|
1042
|
+
return result;
|
|
1043
|
+
};
|
|
1044
|
+
PolyfillSet.prototype.clear = function() {
|
|
1045
|
+
this.map_.clear();
|
|
1046
|
+
this.size = 0;
|
|
1047
|
+
};
|
|
1048
|
+
PolyfillSet.prototype.has = function(value) {
|
|
1049
|
+
return this.map_.has(value);
|
|
1050
|
+
};
|
|
1051
|
+
PolyfillSet.prototype.entries = function() {
|
|
1052
|
+
return this.map_.entries();
|
|
1053
|
+
};
|
|
1054
|
+
PolyfillSet.prototype.values = function() {
|
|
1055
|
+
return this.map_.values();
|
|
1056
|
+
};
|
|
1057
|
+
PolyfillSet.prototype.keys = PolyfillSet.prototype.values;
|
|
1058
|
+
PolyfillSet.prototype[Symbol.iterator] = PolyfillSet.prototype.values;
|
|
1059
|
+
PolyfillSet.prototype.forEach = function(callback, opt_thisArg) {
|
|
1060
|
+
var set = this;
|
|
1061
|
+
this.map_.forEach(function(value) {
|
|
1062
|
+
return callback.call(opt_thisArg, value, value, set);
|
|
1063
|
+
});
|
|
1064
|
+
};
|
|
1065
|
+
return PolyfillSet;
|
|
1066
|
+
}, "es6", "es3");
|
|
995
1067
|
$jscomp.checkStringArgs = function(thisArg, arg, func) {
|
|
996
1068
|
if (thisArg == null) {
|
|
997
1069
|
throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
|
|
@@ -1127,77 +1199,32 @@ $jscomp.polyfill("Array.prototype.find", function(orig) {
|
|
|
1127
1199
|
return $jscomp.findInternal(this, callback, opt_thisArg).v;
|
|
1128
1200
|
};
|
|
1129
1201
|
}, "es6", "es3");
|
|
1130
|
-
$jscomp.polyfill("
|
|
1131
|
-
function
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
var
|
|
1137
|
-
if (
|
|
1138
|
-
return
|
|
1202
|
+
$jscomp.polyfill("String.prototype.codePointAt", function(orig) {
|
|
1203
|
+
return orig ? orig : function(position) {
|
|
1204
|
+
var string = $jscomp.checkStringArgs(this, null, "codePointAt"), size = string.length;
|
|
1205
|
+
position = Number(position) || 0;
|
|
1206
|
+
if (position >= 0 && position < size) {
|
|
1207
|
+
position |= 0;
|
|
1208
|
+
var first = string.charCodeAt(position);
|
|
1209
|
+
if (first < 55296 || first > 56319 || position + 1 === size) {
|
|
1210
|
+
return first;
|
|
1139
1211
|
}
|
|
1140
|
-
var
|
|
1141
|
-
|
|
1142
|
-
return !1;
|
|
1143
|
-
}
|
|
1144
|
-
item = iter.next();
|
|
1145
|
-
return item.done || item.value[0] == value || item.value[0].x != 4 || item.value[1] != item.value[0] ? !1 : iter.next().done;
|
|
1146
|
-
} catch (err) {
|
|
1147
|
-
return !1;
|
|
1212
|
+
var second = string.charCodeAt(position + 1);
|
|
1213
|
+
return second < 56320 || second > 57343 ? first : (first - 55296) * 1024 + second + 9216;
|
|
1148
1214
|
}
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
var PolyfillSet = function(opt_iterable) {
|
|
1160
|
-
this.map_ = new Map();
|
|
1161
|
-
if (opt_iterable) {
|
|
1162
|
-
for (var iter = $jscomp.makeIterator(opt_iterable), entry; !(entry = iter.next()).done;) {
|
|
1163
|
-
this.add(entry.value);
|
|
1215
|
+
};
|
|
1216
|
+
}, "es6", "es3");
|
|
1217
|
+
$jscomp.polyfill("String.fromCodePoint", function(orig) {
|
|
1218
|
+
return orig ? orig : function(var_args) {
|
|
1219
|
+
for (var result = "", i = 0; i < arguments.length; i++) {
|
|
1220
|
+
var code = Number(arguments[i]);
|
|
1221
|
+
if (code < 0 || code > 1114111 || code !== Math.floor(code)) {
|
|
1222
|
+
throw new RangeError("invalid_code_point " + code);
|
|
1164
1223
|
}
|
|
1224
|
+
code <= 65535 ? result += String.fromCharCode(code) : (code -= 65536, result += String.fromCharCode(code >>> 10 & 1023 | 55296), result += String.fromCharCode(code & 1023 | 56320));
|
|
1165
1225
|
}
|
|
1166
|
-
this.size = this.map_.size;
|
|
1167
|
-
};
|
|
1168
|
-
PolyfillSet.prototype.add = function(value) {
|
|
1169
|
-
value = value === 0 ? 0 : value;
|
|
1170
|
-
this.map_.set(value, value);
|
|
1171
|
-
this.size = this.map_.size;
|
|
1172
|
-
return this;
|
|
1173
|
-
};
|
|
1174
|
-
PolyfillSet.prototype.delete = function(value) {
|
|
1175
|
-
var result = this.map_.delete(value);
|
|
1176
|
-
this.size = this.map_.size;
|
|
1177
1226
|
return result;
|
|
1178
1227
|
};
|
|
1179
|
-
PolyfillSet.prototype.clear = function() {
|
|
1180
|
-
this.map_.clear();
|
|
1181
|
-
this.size = 0;
|
|
1182
|
-
};
|
|
1183
|
-
PolyfillSet.prototype.has = function(value) {
|
|
1184
|
-
return this.map_.has(value);
|
|
1185
|
-
};
|
|
1186
|
-
PolyfillSet.prototype.entries = function() {
|
|
1187
|
-
return this.map_.entries();
|
|
1188
|
-
};
|
|
1189
|
-
PolyfillSet.prototype.values = function() {
|
|
1190
|
-
return this.map_.values();
|
|
1191
|
-
};
|
|
1192
|
-
PolyfillSet.prototype.keys = PolyfillSet.prototype.values;
|
|
1193
|
-
PolyfillSet.prototype[Symbol.iterator] = PolyfillSet.prototype.values;
|
|
1194
|
-
PolyfillSet.prototype.forEach = function(callback, opt_thisArg) {
|
|
1195
|
-
var set = this;
|
|
1196
|
-
this.map_.forEach(function(value) {
|
|
1197
|
-
return callback.call(opt_thisArg, value, value, set);
|
|
1198
|
-
});
|
|
1199
|
-
};
|
|
1200
|
-
return PolyfillSet;
|
|
1201
1228
|
}, "es6", "es3");
|
|
1202
1229
|
$jscomp.polyfill("String.prototype.trimLeft", function(orig) {
|
|
1203
1230
|
function polyfill() {
|
|
@@ -1224,8 +1251,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1224
1251
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1225
1252
|
};
|
|
1226
1253
|
}, "es8", "es3");
|
|
1227
|
-
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__disable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1, GoogFlags__jspb_enable_low_index_extension_writes__disable:!1,
|
|
1228
|
-
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};
|
|
1254
|
+
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__disable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1, GoogFlags__jspb_enable_low_index_extension_writes__disable:!1, GoogFlags__jspb_ignore_implicit_extension_deps__enable:!1, GoogFlags__jspb_readonly_repeated_fields__disable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1,
|
|
1255
|
+
GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, 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};
|
|
1229
1256
|
/*
|
|
1230
1257
|
|
|
1231
1258
|
Copyright The Closure Library Authors.
|
|
@@ -2120,9 +2147,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2120
2147
|
};
|
|
2121
2148
|
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;
|
|
2122
2149
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2123
|
-
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$
|
|
2124
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2125
|
-
var key = $jscomp$key$
|
|
2150
|
+
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 =
|
|
2151
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2152
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2126
2153
|
if (value != null) {
|
|
2127
2154
|
var copy = void 0;
|
|
2128
2155
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2133,11 +2160,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2133
2160
|
} else if (objects.hasOwnProperty(key)) {
|
|
2134
2161
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2135
2162
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2136
|
-
$jscomp$loop$
|
|
2163
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2137
2164
|
return function(v) {
|
|
2138
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2165
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2139
2166
|
};
|
|
2140
|
-
}($jscomp$loop$
|
|
2167
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2141
2168
|
} else if (Array.isArray(value)) {
|
|
2142
2169
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2143
2170
|
continue;
|
|
@@ -2152,8 +2179,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2152
2179
|
return target;
|
|
2153
2180
|
}
|
|
2154
2181
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2155
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2156
|
-
var mapKey = $jscomp$key$
|
|
2182
|
+
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()) {
|
|
2183
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2157
2184
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2158
2185
|
}
|
|
2159
2186
|
return objMap;
|
|
@@ -2183,39 +2210,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2183
2210
|
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))) {
|
|
2184
2211
|
return !1;
|
|
2185
2212
|
}
|
|
2186
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2187
|
-
var key = $jscomp$key$
|
|
2213
|
+
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()) {
|
|
2214
|
+
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);
|
|
2188
2215
|
if (has1 !== has2) {
|
|
2189
2216
|
return !1;
|
|
2190
2217
|
}
|
|
2191
2218
|
if (has1) {
|
|
2192
2219
|
var value1 = serializable1.Serializable$get(key);
|
|
2193
|
-
$jscomp$loop$
|
|
2220
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2194
2221
|
if (arrays1.hasOwnProperty(key)) {
|
|
2195
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2222
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2196
2223
|
return !1;
|
|
2197
2224
|
}
|
|
2198
2225
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2199
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2226
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2200
2227
|
return !1;
|
|
2201
2228
|
}
|
|
2202
2229
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2203
|
-
if ($jscomp$loop$
|
|
2204
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2230
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2231
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2205
2232
|
return function(v1, i) {
|
|
2206
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2233
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2207
2234
|
};
|
|
2208
|
-
}($jscomp$loop$
|
|
2235
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2209
2236
|
return !1;
|
|
2210
2237
|
}
|
|
2211
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2238
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2212
2239
|
return !1;
|
|
2213
2240
|
}
|
|
2214
2241
|
} else if (Array.isArray(value1)) {
|
|
2215
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2242
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2216
2243
|
return !1;
|
|
2217
2244
|
}
|
|
2218
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2245
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2219
2246
|
return !1;
|
|
2220
2247
|
}
|
|
2221
2248
|
}
|
|
@@ -2237,8 +2264,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2237
2264
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2238
2265
|
return !1;
|
|
2239
2266
|
}
|
|
2240
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2241
|
-
var mapKey = $jscomp$key$
|
|
2267
|
+
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()) {
|
|
2268
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2242
2269
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2243
2270
|
return !1;
|
|
2244
2271
|
}
|
|
@@ -2319,15 +2346,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2319
2346
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2320
2347
|
};
|
|
2321
2348
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2322
|
-
var $jscomp$this$
|
|
2349
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2323
2350
|
payload += this._metadataPayload;
|
|
2324
2351
|
return Promise.all(this.files.map(function(f) {
|
|
2325
|
-
return $jscomp$this$
|
|
2352
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2326
2353
|
})).then(function(filePayloads) {
|
|
2327
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2328
|
-
payload += $jscomp$key$
|
|
2354
|
+
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()) {
|
|
2355
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2329
2356
|
}
|
|
2330
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2357
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2331
2358
|
});
|
|
2332
2359
|
};
|
|
2333
2360
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2977,8 +3004,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2977
3004
|
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
2978
3005
|
}
|
|
2979
3006
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2980
|
-
var $jscomp$templatelit$
|
|
2981
|
-
["\\0"]), $jscomp$templatelit$
|
|
3007
|
+
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"],
|
|
3008
|
+
["\\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"};
|
|
2982
3009
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2983
3010
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2984
3011
|
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 ##############################");
|
|
@@ -2992,14 +3019,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2992
3019
|
return fn.toString().indexOf("`") === -1;
|
|
2993
3020
|
}
|
|
2994
3021
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2995
|
-
return tag($jscomp$templatelit$
|
|
3022
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
2996
3023
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2997
|
-
return tag($jscomp$templatelit$
|
|
3024
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
2998
3025
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2999
|
-
return tag($jscomp$templatelit$
|
|
3026
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
3000
3027
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3001
|
-
return tag($jscomp$templatelit$
|
|
3002
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
3028
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
3029
|
+
}), 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);
|
|
3003
3030
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
3004
3031
|
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)) ?
|
|
3005
3032
|
!0 : !1;
|
|
@@ -3351,7 +3378,7 @@ var module$contents$goog$array_map = goog.NATIVE_ARRAY_PROTOTYPES && (module$con
|
|
|
3351
3378
|
goog.array.map = module$contents$goog$array_map;
|
|
3352
3379
|
goog.array.reduce = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduce) ? function(arr, f, val, opt_obj) {
|
|
3353
3380
|
goog.asserts.assert(arr.length != null);
|
|
3354
|
-
opt_obj && (f = goog.bind(f, opt_obj));
|
|
3381
|
+
opt_obj && (f = goog.TRUSTED_SITE ? f.bind(opt_obj) : goog.bind(f, opt_obj));
|
|
3355
3382
|
return Array.prototype.reduce.call(arr, f, val);
|
|
3356
3383
|
} : function(arr, f, val, opt_obj) {
|
|
3357
3384
|
var rval = val;
|
|
@@ -3363,7 +3390,7 @@ goog.array.reduce = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_
|
|
|
3363
3390
|
goog.array.reduceRight = goog.NATIVE_ARRAY_PROTOTYPES && (module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS || Array.prototype.reduceRight) ? function(arr, f, val, opt_obj) {
|
|
3364
3391
|
goog.asserts.assert(arr.length != null);
|
|
3365
3392
|
goog.asserts.assert(f != null);
|
|
3366
|
-
opt_obj && (f = goog.bind(f, opt_obj));
|
|
3393
|
+
opt_obj && (f = goog.TRUSTED_SITE ? f.bind(opt_obj) : goog.bind(f, opt_obj));
|
|
3367
3394
|
return Array.prototype.reduceRight.call(arr, f, val);
|
|
3368
3395
|
} : function(arr, f, val, opt_obj) {
|
|
3369
3396
|
var rval = val;
|
|
@@ -3533,14 +3560,25 @@ function module$contents$goog$array_slice(arr, start, opt_end) {
|
|
|
3533
3560
|
return arguments.length <= 2 ? Array.prototype.slice.call(arr, start) : Array.prototype.slice.call(arr, start, opt_end);
|
|
3534
3561
|
}
|
|
3535
3562
|
goog.array.slice = module$contents$goog$array_slice;
|
|
3536
|
-
function module$contents$goog$array_removeDuplicates(arr, opt_rv,
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3563
|
+
function module$contents$goog$array_removeDuplicates(arr, opt_rv, opt_keyFn) {
|
|
3564
|
+
var returnArray = opt_rv || arr;
|
|
3565
|
+
if (goog.FEATURESET_YEAR >= 2018) {
|
|
3566
|
+
for (var defaultKeyFn = function(item) {
|
|
3567
|
+
return item;
|
|
3568
|
+
}, keyFn = opt_keyFn || defaultKeyFn, cursorInsert = 0, cursorRead = 0, seen = new Set(); cursorRead < arr.length;) {
|
|
3569
|
+
var current = arr[cursorRead++], key = keyFn(current);
|
|
3570
|
+
seen.has(key) || (seen.add(key), returnArray[cursorInsert++] = current);
|
|
3571
|
+
}
|
|
3572
|
+
returnArray.length = cursorInsert;
|
|
3573
|
+
} else {
|
|
3574
|
+
for (var defaultKeyFn$jscomp$0 = function(item) {
|
|
3575
|
+
return goog.isObject(item) ? "o" + goog.getUid(item) : (typeof item).charAt(0) + item;
|
|
3576
|
+
}, keyFn$jscomp$0 = opt_keyFn || defaultKeyFn$jscomp$0, cursorInsert$jscomp$0 = 0, cursorRead$jscomp$0 = 0, seen$jscomp$0 = {}; cursorRead$jscomp$0 < arr.length;) {
|
|
3577
|
+
var current$jscomp$0 = arr[cursorRead$jscomp$0++], key$jscomp$0 = keyFn$jscomp$0(current$jscomp$0);
|
|
3578
|
+
Object.prototype.hasOwnProperty.call(seen$jscomp$0, key$jscomp$0) || (seen$jscomp$0[key$jscomp$0] = !0, returnArray[cursorInsert$jscomp$0++] = current$jscomp$0);
|
|
3579
|
+
}
|
|
3580
|
+
returnArray.length = cursorInsert$jscomp$0;
|
|
3542
3581
|
}
|
|
3543
|
-
returnArray.length = cursorInsert;
|
|
3544
3582
|
}
|
|
3545
3583
|
goog.array.removeDuplicates = module$contents$goog$array_removeDuplicates;
|
|
3546
3584
|
function module$contents$goog$array_binarySearch(arr, target, opt_compareFn) {
|
|
@@ -3896,43 +3934,59 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
|
|
|
3896
3934
|
goog.dom.tags.isVoidTag = function(tagName) {
|
|
3897
3935
|
return goog.dom.tags.VOID_TAGS_[tagName] === !0;
|
|
3898
3936
|
};
|
|
3937
|
+
var module$exports$safevalues$internals$style_impl = {}, module$contents$safevalues$internals$style_impl_module = module$contents$safevalues$internals$style_impl_module || {id:"third_party/javascript/safevalues/internals/style_impl.closure.js"};
|
|
3938
|
+
module$exports$safevalues$internals$style_impl.SafeStyle = function(token, value) {
|
|
3939
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3940
|
+
this.privateDoNotAccessOrElseWrappedStyle = value;
|
|
3941
|
+
};
|
|
3942
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.prototype.toString = function() {
|
|
3943
|
+
return this.privateDoNotAccessOrElseWrappedStyle;
|
|
3944
|
+
};
|
|
3945
|
+
var module$contents$safevalues$internals$style_impl_StyleImpl = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3946
|
+
function module$contents$safevalues$internals$style_impl_createStyleInternal(value) {
|
|
3947
|
+
return new module$exports$safevalues$internals$style_impl.SafeStyle(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3948
|
+
}
|
|
3949
|
+
module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3950
|
+
function module$contents$safevalues$internals$style_impl_isStyle(value) {
|
|
3951
|
+
return value instanceof module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3952
|
+
}
|
|
3953
|
+
module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
3954
|
+
function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
|
|
3955
|
+
if (module$contents$safevalues$internals$style_impl_isStyle(value)) {
|
|
3956
|
+
return value.privateDoNotAccessOrElseWrappedStyle;
|
|
3957
|
+
}
|
|
3958
|
+
var message = "";
|
|
3959
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeStyle, got '" + value + "' of type '" + typeof value + "'");
|
|
3960
|
+
throw Error(message);
|
|
3961
|
+
}
|
|
3962
|
+
module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3899
3963
|
var module$exports$safevalues$for_closure$index = {}, module$contents$safevalues$for_closure$index_module = module$contents$safevalues$for_closure$index_module || {id:"third_party/javascript/safevalues/for_closure/index.closure.js"};
|
|
3900
3964
|
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
3965
|
+
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3966
|
+
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3967
|
+
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3901
3968
|
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3902
3969
|
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3903
3970
|
var module$exports$safevalues$for_closure = {};
|
|
3904
3971
|
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
3972
|
+
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3973
|
+
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3974
|
+
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3905
3975
|
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3906
3976
|
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3907
|
-
|
|
3908
|
-
if (goog.DEBUG && token !== module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
3909
|
-
throw Error("SafeStyle is not meant to be built directly");
|
|
3910
|
-
}
|
|
3911
|
-
this.privateDoNotAccessOrElseSafeStyleWrappedValue_ = value;
|
|
3912
|
-
};
|
|
3913
|
-
module$contents$goog$html$SafeStyle_SafeStyle.fromConstant = function(style) {
|
|
3977
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
|
|
3914
3978
|
var styleString = goog.string.Const.unwrap(style);
|
|
3915
3979
|
if (styleString.length === 0) {
|
|
3916
|
-
return module$
|
|
3980
|
+
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3917
3981
|
}
|
|
3918
3982
|
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
3919
3983
|
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
3920
|
-
return module$contents$
|
|
3921
|
-
};
|
|
3922
|
-
module$contents$goog$html$SafeStyle_SafeStyle.prototype.toString = function() {
|
|
3923
|
-
return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString();
|
|
3984
|
+
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
3924
3985
|
};
|
|
3925
|
-
module$
|
|
3926
|
-
|
|
3927
|
-
return safeStyle.privateDoNotAccessOrElseSafeStyleWrappedValue_;
|
|
3928
|
-
}
|
|
3929
|
-
(0,goog.asserts.fail)("expected object of type SafeStyle, got '" + safeStyle + "' of type " + goog.typeOf(safeStyle));
|
|
3930
|
-
return "type_error:SafeStyle";
|
|
3931
|
-
};
|
|
3932
|
-
module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse = function(style) {
|
|
3933
|
-
return new module$contents$goog$html$SafeStyle_SafeStyle(style, module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
3986
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
3987
|
+
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
3934
3988
|
};
|
|
3935
|
-
module$
|
|
3989
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
|
|
3936
3990
|
var style = "", name;
|
|
3937
3991
|
for (name in map) {
|
|
3938
3992
|
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
@@ -3943,17 +3997,17 @@ module$contents$goog$html$SafeStyle_SafeStyle.create = function(map) {
|
|
|
3943
3997
|
value != null && (value = Array.isArray(value) ? value.map(module$contents$goog$html$SafeStyle_sanitizePropertyValue).join(" ") : module$contents$goog$html$SafeStyle_sanitizePropertyValue(value), style += name + ":" + value + ";");
|
|
3944
3998
|
}
|
|
3945
3999
|
}
|
|
3946
|
-
return style ? module$contents$
|
|
4000
|
+
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3947
4001
|
};
|
|
3948
|
-
module$
|
|
4002
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
3949
4003
|
var style = "", addArgument = function(argument) {
|
|
3950
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$
|
|
4004
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
3951
4005
|
};
|
|
3952
4006
|
Array.prototype.forEach.call(arguments, addArgument);
|
|
3953
|
-
return style ? module$contents$
|
|
4007
|
+
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3954
4008
|
};
|
|
3955
|
-
module$
|
|
3956
|
-
module$
|
|
4009
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
|
|
4010
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
3957
4011
|
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
3958
4012
|
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
3959
4013
|
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
@@ -3968,16 +4022,16 @@ function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value)
|
|
|
3968
4022
|
var valueWithoutFunctions = value.replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE, "$1").replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE, "$1").replace(module$contents$goog$html$SafeStyle_URL_RE, "url");
|
|
3969
4023
|
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
3970
4024
|
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
3971
|
-
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$
|
|
4025
|
+
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3972
4026
|
}
|
|
3973
4027
|
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
3974
|
-
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$
|
|
4028
|
+
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3975
4029
|
}
|
|
3976
4030
|
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
3977
|
-
return (0,goog.asserts.fail)("String value requires balanced square brackets and one identifier per pair of brackets, got: " + value), module$
|
|
4031
|
+
return (0,goog.asserts.fail)("String value requires balanced square brackets and one identifier per pair of brackets, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3978
4032
|
}
|
|
3979
4033
|
} else {
|
|
3980
|
-
return (0,goog.asserts.fail)("String value allows only [-+,.\"'%_!#/ a-zA-Z0-9\\[\\]] and simple functions, got: " + value), module$
|
|
4034
|
+
return (0,goog.asserts.fail)("String value allows only [-+,.\"'%_!#/ a-zA-Z0-9\\[\\]] and simple functions, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3981
4035
|
}
|
|
3982
4036
|
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
3983
4037
|
}
|
|
@@ -4020,7 +4074,7 @@ function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
|
4020
4074
|
return before + quote + sanitized + quote + after;
|
|
4021
4075
|
});
|
|
4022
4076
|
}
|
|
4023
|
-
goog.html.SafeStyle = module$
|
|
4077
|
+
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
4024
4078
|
var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyleSheet_SafeStyleSheet = function(value, token) {
|
|
4025
4079
|
if (goog.DEBUG && token !== module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
4026
4080
|
throw Error("SafeStyleSheet is not meant to be built directly");
|
|
@@ -4041,8 +4095,8 @@ module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule = function(se
|
|
|
4041
4095
|
if (!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(selectorToCheck)) {
|
|
4042
4096
|
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
4043
4097
|
}
|
|
4044
|
-
style instanceof module$
|
|
4045
|
-
var styleSheet = selector + "{" + module$
|
|
4098
|
+
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
|
|
4099
|
+
var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
4046
4100
|
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
|
|
4047
4101
|
};
|
|
4048
4102
|
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_ = function(s) {
|
|
@@ -4268,15 +4322,15 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
|
|
|
4268
4322
|
}
|
|
4269
4323
|
}
|
|
4270
4324
|
}
|
|
4271
|
-
goog.asserts.assert(value instanceof module$exports$safevalues$internals$url_impl.SafeUrl || value instanceof goog.html.TrustedResourceUrl || value instanceof module$
|
|
4325
|
+
goog.asserts.assert(value instanceof module$exports$safevalues$internals$url_impl.SafeUrl || value instanceof goog.html.TrustedResourceUrl || value instanceof module$exports$safevalues$internals$style_impl.SafeStyle || value instanceof module$contents$goog$html$SafeHtml_SafeHtml || typeof value === "string" || typeof value === "number", "String or number value expected, got " + typeof value + " with value: " + value);
|
|
4272
4326
|
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
4273
4327
|
}
|
|
4274
4328
|
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
4275
4329
|
if (!goog.isObject(value)) {
|
|
4276
4330
|
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'The "style" attribute requires goog.html.SafeStyle or map of style properties, ' + typeof value + " given: " + value : "");
|
|
4277
4331
|
}
|
|
4278
|
-
value instanceof module$
|
|
4279
|
-
return module$
|
|
4332
|
+
value instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (value = module$exports$safevalues$internals$style_impl.SafeStyle.create(value));
|
|
4333
|
+
return module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(value);
|
|
4280
4334
|
}
|
|
4281
4335
|
module$contents$goog$html$SafeHtml_SafeHtml.DOCTYPE_HTML = function() {
|
|
4282
4336
|
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>");
|
|
@@ -4300,22 +4354,6 @@ module$exports$safevalues$internals$html_impl.isHtml = function(value) {
|
|
|
4300
4354
|
module$exports$safevalues$internals$html_impl.unwrapHtml = function(value) {
|
|
4301
4355
|
return module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(value);
|
|
4302
4356
|
};
|
|
4303
|
-
var module$exports$goog$html$safestyle_internals_for_safevalues = {};
|
|
4304
|
-
module$exports$goog$html$safestyle_internals_for_safevalues.createSafeStyle = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse;
|
|
4305
|
-
var module$exports$safevalues$internals$style_impl = {}, module$contents$safevalues$internals$style_impl_module = module$contents$safevalues$internals$style_impl_module || {id:"third_party/javascript/safevalues/internals/style_impl.closure.js"};
|
|
4306
|
-
module$exports$safevalues$internals$style_impl.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
|
|
4307
|
-
function module$contents$safevalues$internals$style_impl_createStyleInternal(style) {
|
|
4308
|
-
return (0,module$exports$goog$html$safestyle_internals_for_safevalues.createSafeStyle)(style);
|
|
4309
|
-
}
|
|
4310
|
-
module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
4311
|
-
function module$contents$safevalues$internals$style_impl_isStyle(value) {
|
|
4312
|
-
return value instanceof module$contents$goog$html$SafeStyle_SafeStyle;
|
|
4313
|
-
}
|
|
4314
|
-
module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
4315
|
-
function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
|
|
4316
|
-
return module$contents$goog$html$SafeStyle_SafeStyle.unwrap(value);
|
|
4317
|
-
}
|
|
4318
|
-
module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
4319
4357
|
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"};
|
|
4320
4358
|
module$exports$safevalues$dom$elements$element.setInnerHtml = function(elOrRoot, v) {
|
|
4321
4359
|
module$contents$safevalues$dom$elements$element_isElement(elOrRoot) && module$contents$safevalues$dom$elements$element_throwIfScriptOrStyle(elOrRoot);
|
|
@@ -4409,9 +4447,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
4409
4447
|
}
|
|
4410
4448
|
}
|
|
4411
4449
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
4412
|
-
var $jscomp$tmp$error$
|
|
4413
|
-
this.message = $jscomp$tmp$error$
|
|
4414
|
-
"stack" in $jscomp$tmp$error$
|
|
4450
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
4451
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
4452
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
4415
4453
|
this.type = type;
|
|
4416
4454
|
this.intent = intent;
|
|
4417
4455
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -4518,7 +4556,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
4518
4556
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
4519
4557
|
};
|
|
4520
4558
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
4521
|
-
var $jscomp$optchain$
|
|
4559
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = win.document).querySelector) == null ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
4522
4560
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
4523
4561
|
}
|
|
4524
4562
|
;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;
|
|
@@ -5185,9 +5223,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
5185
5223
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
5186
5224
|
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"};
|
|
5187
5225
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
5188
|
-
var $jscomp$tmp$error$
|
|
5189
|
-
this.message = $jscomp$tmp$error$
|
|
5190
|
-
"stack" in $jscomp$tmp$error$
|
|
5226
|
+
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.");
|
|
5227
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
5228
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
5191
5229
|
this.url = url;
|
|
5192
5230
|
this.typeName = typeName;
|
|
5193
5231
|
this.contentType = contentType;
|
|
@@ -5199,48 +5237,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
5199
5237
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
5200
5238
|
}
|
|
5201
5239
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
5202
|
-
var response, $jscomp$optchain$
|
|
5203
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5204
|
-
if ($jscomp$generator$context$
|
|
5205
|
-
return $jscomp$generator$context$
|
|
5206
|
-
}
|
|
5207
|
-
response = $jscomp$generator$context$
|
|
5208
|
-
mimeType = ($jscomp$optchain$
|
|
5209
|
-
return $jscomp$generator$context$
|
|
5240
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
5241
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
5242
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
5243
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
5244
|
+
}
|
|
5245
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
5246
|
+
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();
|
|
5247
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
5210
5248
|
var text;
|
|
5211
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5212
|
-
if ($jscomp$generator$context$
|
|
5249
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
5250
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
5213
5251
|
if (mimeType !== "text/html") {
|
|
5214
5252
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
5215
5253
|
}
|
|
5216
|
-
return $jscomp$generator$context$
|
|
5254
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
5217
5255
|
}
|
|
5218
|
-
text = $jscomp$generator$context$
|
|
5219
|
-
return $jscomp$generator$context$
|
|
5256
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
5257
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
5220
5258
|
});
|
|
5221
5259
|
}, script:function() {
|
|
5222
5260
|
var text;
|
|
5223
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5224
|
-
if ($jscomp$generator$context$
|
|
5261
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
5262
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
5225
5263
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
5226
5264
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
5227
5265
|
}
|
|
5228
|
-
return $jscomp$generator$context$
|
|
5266
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
5229
5267
|
}
|
|
5230
|
-
text = $jscomp$generator$context$
|
|
5231
|
-
return $jscomp$generator$context$
|
|
5268
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
5269
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
5232
5270
|
});
|
|
5233
5271
|
}, styleSheet:function() {
|
|
5234
5272
|
var text;
|
|
5235
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
5236
|
-
if ($jscomp$generator$context$
|
|
5273
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
5274
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
5237
5275
|
if (mimeType !== "text/css") {
|
|
5238
5276
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
5239
5277
|
}
|
|
5240
|
-
return $jscomp$generator$context$
|
|
5278
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
5241
5279
|
}
|
|
5242
|
-
text = $jscomp$generator$context$
|
|
5243
|
-
return $jscomp$generator$context$
|
|
5280
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
5281
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
5244
5282
|
});
|
|
5245
5283
|
}});
|
|
5246
5284
|
});
|
|
@@ -6662,8 +6700,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6662
6700
|
}
|
|
6663
6701
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6664
6702
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6665
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6666
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6703
|
+
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()) {
|
|
6704
|
+
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;
|
|
6667
6705
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6668
6706
|
}
|
|
6669
6707
|
return urlQueryParams;
|
|
@@ -6674,8 +6712,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6674
6712
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
6675
6713
|
if (params.headers) {
|
|
6676
6714
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6677
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6678
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6715
|
+
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()) {
|
|
6716
|
+
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;
|
|
6679
6717
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6680
6718
|
}
|
|
6681
6719
|
}
|
|
@@ -6715,9 +6753,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6715
6753
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6716
6754
|
};
|
|
6717
6755
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6718
|
-
var $jscomp$this$
|
|
6756
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6719
6757
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6720
|
-
return $jscomp$this$
|
|
6758
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6721
6759
|
}));
|
|
6722
6760
|
};
|
|
6723
6761
|
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"};
|
|
@@ -6786,7 +6824,7 @@ goog.Disposable.prototype.registerDisposable = function(disposable) {
|
|
|
6786
6824
|
this.addOnDisposeCallback(goog.partial(module$contents$goog$dispose_dispose, disposable));
|
|
6787
6825
|
};
|
|
6788
6826
|
goog.Disposable.prototype.addOnDisposeCallback = function(callback, opt_scope) {
|
|
6789
|
-
this.disposed_ ? opt_scope !== void 0 ? callback.call(opt_scope) : callback() : (this.onDisposeCallbacks_ || (this.onDisposeCallbacks_ = []),
|
|
6827
|
+
this.disposed_ ? opt_scope !== void 0 ? callback.call(opt_scope) : callback() : (this.onDisposeCallbacks_ || (this.onDisposeCallbacks_ = []), opt_scope && (callback = goog.TRUSTED_SITE ? callback.bind(opt_scope) : goog.bind(callback, opt_scope)), this.onDisposeCallbacks_.push(callback));
|
|
6790
6828
|
};
|
|
6791
6829
|
goog.Disposable.prototype.disposeInternal = function() {
|
|
6792
6830
|
if (this.onDisposeCallbacks_) {
|
|
@@ -6889,6 +6927,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_o
|
|
|
6889
6927
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable = !1;
|
|
6890
6928
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6891
6929
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
|
|
6930
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__enable = !1;
|
|
6892
6931
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
6893
6932
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
6894
6933
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable = !1;
|
|
@@ -6898,7 +6937,7 @@ var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1,
|
|
|
6898
6937
|
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);
|
|
6899
6938
|
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);
|
|
6900
6939
|
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);
|
|
6901
|
-
goog.flags.CLIENT_ONLY_WIZ_DIRECT_REACTIONS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ?
|
|
6940
|
+
goog.flags.CLIENT_ONLY_WIZ_DIRECT_REACTIONS = 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__client_only_wiz_direct_reactions__disable : goog.readFlagInternalDoNotUseOrElse(641353869, !0);
|
|
6902
6941
|
goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = 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_flush_queue_fix__disable) : goog.readFlagInternalDoNotUseOrElse(644029907, module$contents$goog$flags_STAGING);
|
|
6903
6942
|
goog.flags.CLIENT_ONLY_WIZ_ORDERED_REACTION_EXECUTION = 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_ordered_reaction_execution__disable) : goog.readFlagInternalDoNotUseOrElse(1822726157,
|
|
6904
6943
|
module$contents$goog$flags_STAGING);
|
|
@@ -6906,6 +6945,7 @@ goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = module$exports$closure$flags
|
|
|
6906
6945
|
module$contents$goog$flags_STAGING);
|
|
6907
6946
|
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);
|
|
6908
6947
|
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);
|
|
6948
|
+
goog.flags.JSPB_IGNORE_IMPLICIT_EXTENSION_DEPS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__enable : goog.readFlagInternalDoNotUseOrElse(660014094, goog.DEBUG);
|
|
6909
6949
|
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);
|
|
6910
6950
|
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);
|
|
6911
6951
|
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);
|
|
@@ -7641,8 +7681,8 @@ goog.events.eventTypeHelpers = {};
|
|
|
7641
7681
|
goog.events.eventTypeHelpers.getVendorPrefixedName = function(eventName) {
|
|
7642
7682
|
return goog.userAgent.WEBKIT ? "webkit" + eventName : eventName.toLowerCase();
|
|
7643
7683
|
};
|
|
7644
|
-
goog.events.eventTypeHelpers.getPointerFallbackEventName = function(pointerEventName,
|
|
7645
|
-
return goog.events.BrowserFeature.POINTER_EVENTS ? pointerEventName :
|
|
7684
|
+
goog.events.eventTypeHelpers.getPointerFallbackEventName = function(pointerEventName, fallbackEventName) {
|
|
7685
|
+
return goog.events.BrowserFeature.POINTER_EVENTS ? pointerEventName : fallbackEventName;
|
|
7646
7686
|
};
|
|
7647
7687
|
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",
|
|
7648
7688
|
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",
|
|
@@ -7672,15 +7712,12 @@ goog.inherits(goog.events.BrowserEvent, goog.events.Event);
|
|
|
7672
7712
|
goog.events.BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY = !1;
|
|
7673
7713
|
goog.events.BrowserEvent.MouseButton = {LEFT:0, MIDDLE:1, RIGHT:2, BACK:3, FORWARD:4};
|
|
7674
7714
|
goog.events.BrowserEvent.PointerType = {MOUSE:"mouse", PEN:"pen", TOUCH:"touch"};
|
|
7675
|
-
goog.events.BrowserEvent.IEButtonMap = goog.debug.freeze([1, 4, 2]);
|
|
7676
|
-
goog.events.BrowserEvent.IE_BUTTON_MAP = goog.events.BrowserEvent.IEButtonMap;
|
|
7677
|
-
goog.events.BrowserEvent.IE_POINTER_TYPE_MAP = goog.debug.freeze({2:goog.events.BrowserEvent.PointerType.TOUCH, 3:goog.events.BrowserEvent.PointerType.PEN, 4:goog.events.BrowserEvent.PointerType.MOUSE});
|
|
7678
7715
|
goog.events.BrowserEvent.prototype.init = function(e, opt_currentTarget) {
|
|
7679
7716
|
var type = this.type = e.type, relevantTouch = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : null;
|
|
7680
7717
|
this.target = e.target || e.srcElement;
|
|
7681
7718
|
this.currentTarget = opt_currentTarget;
|
|
7682
7719
|
var relatedTarget = e.relatedTarget;
|
|
7683
|
-
relatedTarget
|
|
7720
|
+
relatedTarget || (type == goog.events.EventType.MOUSEOVER ? relatedTarget = e.fromElement : type == goog.events.EventType.MOUSEOUT && (relatedTarget = e.toElement));
|
|
7684
7721
|
this.relatedTarget = relatedTarget;
|
|
7685
7722
|
relevantTouch ? (this.clientX = relevantTouch.clientX !== void 0 ? relevantTouch.clientX : relevantTouch.pageX, this.clientY = relevantTouch.clientY !== void 0 ? relevantTouch.clientY : relevantTouch.pageY, this.screenX = relevantTouch.screenX || 0, this.screenY = relevantTouch.screenY || 0) : (goog.events.BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY ? (this.offsetX = e.layerX !== void 0 ? e.layerX : e.offsetX, this.offsetY = e.layerY !== void 0 ? e.layerY : e.offsetY) : (this.offsetX = goog.userAgent.WEBKIT ||
|
|
7686
7723
|
e.offsetX !== void 0 ? e.offsetX : e.layerX, this.offsetY = goog.userAgent.WEBKIT || e.offsetY !== void 0 ? e.offsetY : e.layerY), this.clientX = e.clientX !== void 0 ? e.clientX : e.pageX, this.clientY = e.clientY !== void 0 ? e.clientY : e.pageY, this.screenX = e.screenX || 0, this.screenY = e.screenY || 0);
|
|
@@ -7719,7 +7756,7 @@ goog.events.BrowserEvent.prototype.getBrowserEvent = function() {
|
|
|
7719
7756
|
return this.event_;
|
|
7720
7757
|
};
|
|
7721
7758
|
goog.events.BrowserEvent.getPointerType_ = function(e) {
|
|
7722
|
-
return
|
|
7759
|
+
return e.pointerType;
|
|
7723
7760
|
};
|
|
7724
7761
|
goog.events.Listenable = function() {
|
|
7725
7762
|
};
|
|
@@ -9475,6 +9512,11 @@ module$exports$eeapiclient$ee_api_client.ICloudStorageDestinationPermissionsEnum
|
|
|
9475
9512
|
module$exports$eeapiclient$ee_api_client.CloudStorageDestinationPermissionsEnum = {DEFAULT_OBJECT_ACL:"DEFAULT_OBJECT_ACL", PUBLIC:"PUBLIC", TILE_PERMISSIONS_UNSPECIFIED:"TILE_PERMISSIONS_UNSPECIFIED", values:function() {
|
|
9476
9513
|
return [module$exports$eeapiclient$ee_api_client.CloudStorageDestinationPermissionsEnum.TILE_PERMISSIONS_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.CloudStorageDestinationPermissionsEnum.PUBLIC, module$exports$eeapiclient$ee_api_client.CloudStorageDestinationPermissionsEnum.DEFAULT_OBJECT_ACL];
|
|
9477
9514
|
}};
|
|
9515
|
+
module$exports$eeapiclient$ee_api_client.IComputeFeaturesRequestFeatureProjectionEnum = function() {
|
|
9516
|
+
};
|
|
9517
|
+
module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequestFeatureProjectionEnum = {FEATURE_PROJECTION_NATIVE:"FEATURE_PROJECTION_NATIVE", FEATURE_PROJECTION_UNSPECIFIED:"FEATURE_PROJECTION_UNSPECIFIED", FEATURE_PROJECTION_WGS_84_PLANAR:"FEATURE_PROJECTION_WGS_84_PLANAR", values:function() {
|
|
9518
|
+
return [module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequestFeatureProjectionEnum.FEATURE_PROJECTION_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequestFeatureProjectionEnum.FEATURE_PROJECTION_WGS_84_PLANAR, module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequestFeatureProjectionEnum.FEATURE_PROJECTION_NATIVE];
|
|
9519
|
+
}};
|
|
9478
9520
|
module$exports$eeapiclient$ee_api_client.IComputePixelsRequestFileFormatEnum = function() {
|
|
9479
9521
|
};
|
|
9480
9522
|
module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum = {AUTO_JPEG_PNG:"AUTO_JPEG_PNG", GEO_TIFF:"GEO_TIFF", IMAGE_FILE_FORMAT_UNSPECIFIED:"IMAGE_FILE_FORMAT_UNSPECIFIED", JPEG:"JPEG", MULTI_BAND_IMAGE_TILE:"MULTI_BAND_IMAGE_TILE", NPY:"NPY", PNG:"PNG", TF_RECORD_IMAGE:"TF_RECORD_IMAGE", ZIPPED_GEO_TIFF:"ZIPPED_GEO_TIFF", ZIPPED_GEO_TIFF_PER_BAND:"ZIPPED_GEO_TIFF_PER_BAND", values:function() {
|
|
@@ -10245,18 +10287,23 @@ module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest = function(param
|
|
|
10245
10287
|
this.Serializable$set("pageSize", parameters.pageSize == null ? null : parameters.pageSize);
|
|
10246
10288
|
this.Serializable$set("pageToken", parameters.pageToken == null ? null : parameters.pageToken);
|
|
10247
10289
|
this.Serializable$set("workloadTag", parameters.workloadTag == null ? null : parameters.workloadTag);
|
|
10290
|
+
this.Serializable$set("featureProjection", parameters.featureProjection == null ? null : parameters.featureProjection);
|
|
10248
10291
|
};
|
|
10249
10292
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
10250
10293
|
module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest.prototype.getConstructor = function() {
|
|
10251
10294
|
return module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest;
|
|
10252
10295
|
};
|
|
10253
10296
|
module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest.prototype.getPartialClassMetadata = function() {
|
|
10254
|
-
return {keys:["expression", "pageSize", "pageToken", "workloadTag"], objects:{expression:module$exports$eeapiclient$ee_api_client.Expression}};
|
|
10297
|
+
return {enums:{featureProjection:module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequestFeatureProjectionEnum}, keys:["expression", "featureProjection", "pageSize", "pageToken", "workloadTag"], objects:{expression:module$exports$eeapiclient$ee_api_client.Expression}};
|
|
10255
10298
|
};
|
|
10256
10299
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest.prototype, {expression:{configurable:!0, enumerable:!0, get:function() {
|
|
10257
10300
|
return this.Serializable$has("expression") ? this.Serializable$get("expression") : null;
|
|
10258
10301
|
}, set:function(value) {
|
|
10259
10302
|
this.Serializable$set("expression", value);
|
|
10303
|
+
}}, featureProjection:{configurable:!0, enumerable:!0, get:function() {
|
|
10304
|
+
return this.Serializable$has("featureProjection") ? this.Serializable$get("featureProjection") : null;
|
|
10305
|
+
}, set:function(value) {
|
|
10306
|
+
this.Serializable$set("featureProjection", value);
|
|
10260
10307
|
}}, pageSize:{configurable:!0, enumerable:!0, get:function() {
|
|
10261
10308
|
return this.Serializable$has("pageSize") ? this.Serializable$get("pageSize") : null;
|
|
10262
10309
|
}, set:function(value) {
|
|
@@ -10270,6 +10317,9 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10270
10317
|
}, set:function(value) {
|
|
10271
10318
|
this.Serializable$set("workloadTag", value);
|
|
10272
10319
|
}}});
|
|
10320
|
+
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest, {FeatureProjection:{configurable:!0, enumerable:!0, get:function() {
|
|
10321
|
+
return module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequestFeatureProjectionEnum;
|
|
10322
|
+
}}});
|
|
10273
10323
|
module$exports$eeapiclient$ee_api_client.ComputeFeaturesResponseParameters = function() {
|
|
10274
10324
|
};
|
|
10275
10325
|
module$exports$eeapiclient$ee_api_client.ComputeFeaturesResponse = function(parameters) {
|
|
@@ -14264,8 +14314,8 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
14264
14314
|
}, set:function(value) {
|
|
14265
14315
|
this.Serializable$set("start", value);
|
|
14266
14316
|
}}});
|
|
14267
|
-
var module$contents$eeapiclient$ee_api_client_PARAM_MAP_0 = {$Xgafv:"$.xgafv", access_token:"access_token", alt:"alt", assetId:"assetId", callback:"callback", fields:"fields", filter:"filter", key:"key", oauth_token:"oauth_token", overwrite:"overwrite", pageSize:"pageSize", pageToken:"pageToken", parent:"parent", prettyPrint:"prettyPrint", quotaUser:"quotaUser", region:"region", updateMask:"updateMask", uploadType:"uploadType",
|
|
14268
|
-
view:"view", workloadTag:"workloadTag"};
|
|
14317
|
+
var module$contents$eeapiclient$ee_api_client_PARAM_MAP_0 = {$Xgafv:"$.xgafv", access_token:"access_token", alt:"alt", assetId:"assetId", callback:"callback", featureProjection:"featureProjection", fields:"fields", filter:"filter", key:"key", oauth_token:"oauth_token", overwrite:"overwrite", pageSize:"pageSize", pageToken:"pageToken", parent:"parent", prettyPrint:"prettyPrint", quotaUser:"quotaUser", region:"region", updateMask:"updateMask", uploadType:"uploadType",
|
|
14318
|
+
upload_protocol:"upload_protocol", view:"view", workloadTag:"workloadTag"};
|
|
14269
14319
|
module$exports$eeapiclient$ee_api_client.IBillingAccountsSubscriptionsApiClient$XgafvEnum = function() {
|
|
14270
14320
|
};
|
|
14271
14321
|
module$exports$eeapiclient$ee_api_client.BillingAccountsSubscriptionsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
|
|
@@ -14404,6 +14454,11 @@ module$exports$eeapiclient$ee_api_client.IProjectsAssetsApiClientAltEnum = funct
|
|
|
14404
14454
|
module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
|
|
14405
14455
|
return [module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientAltEnum.PROTO];
|
|
14406
14456
|
}};
|
|
14457
|
+
module$exports$eeapiclient$ee_api_client.IProjectsAssetsApiClientFeatureProjectionEnum = function() {
|
|
14458
|
+
};
|
|
14459
|
+
module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientFeatureProjectionEnum = {FEATURE_PROJECTION_NATIVE:"FEATURE_PROJECTION_NATIVE", FEATURE_PROJECTION_UNSPECIFIED:"FEATURE_PROJECTION_UNSPECIFIED", FEATURE_PROJECTION_WGS_84_PLANAR:"FEATURE_PROJECTION_WGS_84_PLANAR", values:function() {
|
|
14460
|
+
return [module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientFeatureProjectionEnum.FEATURE_PROJECTION_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientFeatureProjectionEnum.FEATURE_PROJECTION_WGS_84_PLANAR, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientFeatureProjectionEnum.FEATURE_PROJECTION_NATIVE];
|
|
14461
|
+
}};
|
|
14407
14462
|
module$exports$eeapiclient$ee_api_client.IProjectsAssetsApiClientViewEnum = function() {
|
|
14408
14463
|
};
|
|
14409
14464
|
module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientViewEnum = {BASIC:"BASIC", BASIC_SYNC:"BASIC_SYNC", EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED:"EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED", FULL:"FULL", values:function() {
|
|
@@ -15227,16 +15282,8 @@ var module$contents$goog$asserts$dom_assertIsHtmlElement = function(value) {
|
|
|
15227
15282
|
return value;
|
|
15228
15283
|
}, module$contents$goog$asserts$dom_assertIsHtmlAnchorElement = function(value) {
|
|
15229
15284
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.A);
|
|
15230
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlButtonElement = function(value) {
|
|
15231
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.BUTTON);
|
|
15232
15285
|
}, module$contents$goog$asserts$dom_assertIsHtmlLinkElement = function(value) {
|
|
15233
15286
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.LINK);
|
|
15234
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlAudioElement = function(value) {
|
|
15235
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.AUDIO);
|
|
15236
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlVideoElement = function(value) {
|
|
15237
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.VIDEO);
|
|
15238
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlInputElement = function(value) {
|
|
15239
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.INPUT);
|
|
15240
15287
|
}, module$contents$goog$asserts$dom_assertIsHtmlFormElement = function(value) {
|
|
15241
15288
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FORM);
|
|
15242
15289
|
}, module$contents$goog$asserts$dom_assertIsHtmlIFrameElement = function(value) {
|
|
@@ -15261,14 +15308,22 @@ goog.asserts.dom.assertIsElement = function(value) {
|
|
|
15261
15308
|
goog.asserts.dom.assertIsHtmlElement = module$contents$goog$asserts$dom_assertIsHtmlElement;
|
|
15262
15309
|
goog.asserts.dom.assertIsHtmlElementOfType = module$contents$goog$asserts$dom_assertIsHtmlElementOfType;
|
|
15263
15310
|
goog.asserts.dom.assertIsHtmlAnchorElement = module$contents$goog$asserts$dom_assertIsHtmlAnchorElement;
|
|
15264
|
-
goog.asserts.dom.assertIsHtmlButtonElement =
|
|
15311
|
+
goog.asserts.dom.assertIsHtmlButtonElement = function(value) {
|
|
15312
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.BUTTON);
|
|
15313
|
+
};
|
|
15265
15314
|
goog.asserts.dom.assertIsHtmlLinkElement = module$contents$goog$asserts$dom_assertIsHtmlLinkElement;
|
|
15266
15315
|
goog.asserts.dom.assertIsHtmlImageElement = function(value) {
|
|
15267
15316
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IMG);
|
|
15268
15317
|
};
|
|
15269
|
-
goog.asserts.dom.assertIsHtmlAudioElement =
|
|
15270
|
-
|
|
15271
|
-
|
|
15318
|
+
goog.asserts.dom.assertIsHtmlAudioElement = function(value) {
|
|
15319
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.AUDIO);
|
|
15320
|
+
};
|
|
15321
|
+
goog.asserts.dom.assertIsHtmlVideoElement = function(value) {
|
|
15322
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.VIDEO);
|
|
15323
|
+
};
|
|
15324
|
+
goog.asserts.dom.assertIsHtmlInputElement = function(value) {
|
|
15325
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.INPUT);
|
|
15326
|
+
};
|
|
15272
15327
|
goog.asserts.dom.assertIsHtmlTextAreaElement = function(value) {
|
|
15273
15328
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.TEXTAREA);
|
|
15274
15329
|
};
|
|
@@ -15287,18 +15342,6 @@ goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
|
15287
15342
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.OBJECT);
|
|
15288
15343
|
};
|
|
15289
15344
|
goog.asserts.dom.assertIsHtmlScriptElement = module$contents$goog$asserts$dom_assertIsHtmlScriptElement;
|
|
15290
|
-
goog.dom.BrowserFeature = {};
|
|
15291
|
-
goog.dom.BrowserFeature.ASSUME_NO_OFFSCREEN_CANVAS = !1;
|
|
15292
|
-
goog.dom.BrowserFeature.ASSUME_OFFSCREEN_CANVAS = goog.FEATURESET_YEAR >= 2024;
|
|
15293
|
-
goog.dom.BrowserFeature.detectOffscreenCanvas_ = function(contextName) {
|
|
15294
|
-
try {
|
|
15295
|
-
return !!(new self.OffscreenCanvas(0, 0)).getContext(contextName);
|
|
15296
|
-
} catch (ex) {
|
|
15297
|
-
}
|
|
15298
|
-
return !1;
|
|
15299
|
-
};
|
|
15300
|
-
goog.dom.BrowserFeature.OFFSCREEN_CANVAS_2D = !goog.dom.BrowserFeature.ASSUME_NO_OFFSCREEN_CANVAS && (goog.dom.BrowserFeature.ASSUME_OFFSCREEN_CANVAS || goog.dom.BrowserFeature.detectOffscreenCanvas_("2d"));
|
|
15301
|
-
goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY = !0;
|
|
15302
15345
|
goog.dom.asserts = {};
|
|
15303
15346
|
goog.dom.asserts.assertIsLocation = function(o) {
|
|
15304
15347
|
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS) {
|
|
@@ -15555,8 +15598,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15555
15598
|
this.replacements = new Map();
|
|
15556
15599
|
};
|
|
15557
15600
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15558
|
-
var $jscomp$this$
|
|
15559
|
-
return $jscomp$this$
|
|
15601
|
+
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) {
|
|
15602
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
15560
15603
|
});
|
|
15561
15604
|
if (openedTags.length !== 0) {
|
|
15562
15605
|
if (goog.DEBUG) {
|
|
@@ -15619,7 +15662,610 @@ function module$contents$safevalues$builders$html_formatter_getRandomString() {
|
|
|
15619
15662
|
function module$contents$safevalues$builders$html_formatter_checkExhaustive(value, msg) {
|
|
15620
15663
|
throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
|
|
15621
15664
|
}
|
|
15622
|
-
;var module$contents$safevalues$builders$html_sanitizer$
|
|
15665
|
+
;var module$exports$safevalues$builders$html_sanitizer$css$allowlists = {}, module$contents$safevalues$builders$html_sanitizer$css$allowlists_module = module$contents$safevalues$builders$html_sanitizer$css$allowlists_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/allowlists.closure.js"};
|
|
15666
|
+
module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST = new Set("accent-color align-content align-items align-self alignment-baseline all appearance aspect-ratio backdrop-filter backface-visibility background background-attachment background-blend-mode background-clip background-color background-image background-origin background-position background-position-x background-position-y background-repeat background-size block-size border border-block border-block-color border-block-end border-block-end-color border-block-end-style border-block-end-width border-block-start border-block-start-color border-block-start-style border-block-start-width border-block-style border-block-width border-bottom border-bottom-color border-bottom-left-radius border-bottom-right-radius border-bottom-style border-bottom-width border-collapse border-color border-end-end-radius border-end-start-radius border-image border-image-outset border-image-repeat border-image-slice border-image-source border-image-width border-inline border-inline-color border-inline-end border-inline-end-color border-inline-end-style border-inline-end-width border-inline-start border-inline-start-color border-inline-start-style border-inline-start-width border-inline-style border-inline-width border-left border-left-color border-left-style border-left-width border-radius border-right border-right-color border-right-style border-right-width border-spacing border-start-end-radius border-start-start-radius border-style border-top border-top-color border-top-left-radius border-top-right-radius border-top-style border-top-width border-width bottom box-shadow box-sizing caption-side caret-color clear clip clip-path clip-rule color color-interpolation color-interpolation-filters color-scheme column-count column-fill column-gap column-rule column-rule-color column-rule-style column-rule-width column-span column-width columns contain contain-intrinsic-block-size contain-intrinsic-height contain-intrinsic-inline-size contain-intrinsic-size contain-intrinsic-width content content-visibility counter-increment counter-reset counter-set cx cy d display dominant-baseline empty-cells field-sizing fill fill-opacity fill-rule filter flex flex-basis flex-direction flex-flow flex-grow flex-shrink flex-wrap float flood-color flood-opacity font font-family font-feature-settings font-kerning font-optical-sizing font-palette font-size font-size-adjust font-stretch font-style font-synthesis font-synthesis-small-caps font-synthesis-style font-synthesis-weight font-variant font-variant-alternates font-variant-caps font-variant-east-asian font-variant-emoji font-variant-ligatures font-variant-numeric font-variant-position font-variation-settings font-weight forced-color-adjust gap grid grid-area grid-auto-columns grid-auto-flow grid-auto-rows grid-column grid-column-end grid-column-gap grid-column-start grid-gap grid-row grid-row-end grid-row-gap grid-row-start grid-template grid-template-areas grid-template-columns grid-template-rows height hyphenate-character hyphenate-limit-chars hyphens image-orientation image-rendering inline-size inset inset-area inset-block inset-block-end inset-block-start inset-inline inset-inline-end inset-inline-start isolation justify-content justify-items justify-self left letter-spacing lighting-color line-break line-clamp line-gap-override line-height list-style list-style-image list-style-position list-style-type margin margin-block margin-block-end margin-block-start margin-bottom margin-inline margin-inline-end margin-inline-start margin-left margin-right margin-top marker marker-end marker-mid marker-start mask mask-clip mask-composite mask-image mask-mode mask-origin mask-position mask-repeat mask-size mask-type max-block-size max-height max-inline-size max-width min-block-size min-height min-inline-size min-width mix-blend-mode object-fit object-position object-view-box opacity order orphans outline outline-color outline-offset outline-style outline-width overflow overflow-anchor overflow-block overflow-clip-margin overflow-inline overflow-wrap overflow-x overflow-y padding padding-block padding-block-end padding-block-start padding-bottom padding-inline padding-inline-end padding-inline-start padding-left padding-right padding-top paint-order perspective perspective-origin place-content place-items place-self position quotes r resize right rotate row-gap ruby-align ruby-position rx ry scale shape-image-threshold shape-margin shape-outside shape-rendering stop-color stop-opacity stroke stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width tab-size table-layout text-align text-align-last text-anchor text-autospace text-box-edge text-box-trim text-combine-upright text-decoration text-decoration-color text-decoration-line text-decoration-skip-ink text-decoration-style text-decoration-thickness text-emphasis text-emphasis-color text-emphasis-position text-emphasis-style text-indent text-orientation text-overflow text-rendering text-shadow text-size-adjust text-spacing text-spacing-trim text-transform text-underline-offset text-underline-position text-wrap top transform transform-box transform-origin transform-style translate unicode-bidi vector-effect vertical-align visibility white-space white-space-collapse widows width will-change word-break word-spacing word-wrap writing-mode x y z-index zoom animation animation-composition animation-delay animation-direction animation-duration animation-fill-mode animation-iteration-count animation-name animation-play-state animation-range animation-range-end animation-range-start animation-timeline animation-timing-function offset offset-anchor offset-distance offset-path offset-position offset-rotate transition transition-behavior transition-delay transition-duration transition-property transition-timing-function".split(" "));
|
|
15667
|
+
module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST = new Set("alpha cubic-bezier linear-gradient matrix perspective radial-gradient rect repeating-linear-gradient repeating-radial-gradient rgb rgba rotate rotate3d rotatex rotatey rotatez scale scale3d scalex scaley scalez skew skewx skewy steps translate translate3d translatex translatey translatez url".split(" "));
|
|
15668
|
+
var module$exports$safevalues$builders$html_sanitizer$css$tokens = {}, module$contents$safevalues$builders$html_sanitizer$css$tokens_module = module$contents$safevalues$builders$html_sanitizer$css$tokens_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/tokens.closure.js"};
|
|
15669
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind = {AT_KEYWORD:0, CDC:1, CDO:2, CLOSE_CURLY:3, CLOSE_PAREN:4, CLOSE_SQUARE:5, COLON:6, COMMA:7, DELIM:8, DIMENSION:9, EOF:10, FUNCTION:11, HASH:12, IDENT:13, NUMBER:14, OPEN_CURLY:15, OPEN_PAREN:16, OPEN_SQUARE:17, PERCENTAGE:18, SEMICOLON:19, STRING:20, WHITESPACE:21};
|
|
15670
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.AT_KEYWORD] = "AT_KEYWORD";
|
|
15671
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CDC] = "CDC";
|
|
15672
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CDO] = "CDO";
|
|
15673
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_CURLY] = "CLOSE_CURLY";
|
|
15674
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_PAREN] = "CLOSE_PAREN";
|
|
15675
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_SQUARE] = "CLOSE_SQUARE";
|
|
15676
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.COLON] = "COLON";
|
|
15677
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.COMMA] = "COMMA";
|
|
15678
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM] = "DELIM";
|
|
15679
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DIMENSION] = "DIMENSION";
|
|
15680
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF] = "EOF";
|
|
15681
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION] = "FUNCTION";
|
|
15682
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.HASH] = "HASH";
|
|
15683
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.IDENT] = "IDENT";
|
|
15684
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER] = "NUMBER";
|
|
15685
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_CURLY] = "OPEN_CURLY";
|
|
15686
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_PAREN] = "OPEN_PAREN";
|
|
15687
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_SQUARE] = "OPEN_SQUARE";
|
|
15688
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.PERCENTAGE] = "PERCENTAGE";
|
|
15689
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.SEMICOLON] = "SEMICOLON";
|
|
15690
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING] = "STRING";
|
|
15691
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind[module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE] = "WHITESPACE";
|
|
15692
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.AtKeywordToken = function() {
|
|
15693
|
+
};
|
|
15694
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CdcToken = function() {
|
|
15695
|
+
};
|
|
15696
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CdoToken = function() {
|
|
15697
|
+
};
|
|
15698
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CloseCurlyToken = function() {
|
|
15699
|
+
};
|
|
15700
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CloseParenToken = function() {
|
|
15701
|
+
};
|
|
15702
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CloseSquareToken = function() {
|
|
15703
|
+
};
|
|
15704
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.ColonToken = function() {
|
|
15705
|
+
};
|
|
15706
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.CommaToken = function() {
|
|
15707
|
+
};
|
|
15708
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.DelimToken = function() {
|
|
15709
|
+
};
|
|
15710
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.DimensionToken = function() {
|
|
15711
|
+
};
|
|
15712
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.EofToken = function() {
|
|
15713
|
+
};
|
|
15714
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.FunctionToken = function() {
|
|
15715
|
+
};
|
|
15716
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.HashToken = function() {
|
|
15717
|
+
};
|
|
15718
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.IdentToken = function() {
|
|
15719
|
+
};
|
|
15720
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.NumberToken = function() {
|
|
15721
|
+
};
|
|
15722
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.OpenCurlyToken = function() {
|
|
15723
|
+
};
|
|
15724
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.OpenParenToken = function() {
|
|
15725
|
+
};
|
|
15726
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.OpenSquareToken = function() {
|
|
15727
|
+
};
|
|
15728
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.PercentageToken = function() {
|
|
15729
|
+
};
|
|
15730
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.SemicolonToken = function() {
|
|
15731
|
+
};
|
|
15732
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.StringToken = function() {
|
|
15733
|
+
};
|
|
15734
|
+
module$exports$safevalues$builders$html_sanitizer$css$tokens.WhitespaceToken = function() {
|
|
15735
|
+
};
|
|
15736
|
+
var module$exports$safevalues$builders$html_sanitizer$css$serializer = {}, module$contents$safevalues$builders$html_sanitizer$css$serializer_module = module$contents$safevalues$builders$html_sanitizer$css$serializer_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/serializer.closure.js"};
|
|
15737
|
+
function module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeCodePoint(c) {
|
|
15738
|
+
return "\\" + c.codePointAt(0).toString(16) + " ";
|
|
15739
|
+
}
|
|
15740
|
+
function module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeString(str) {
|
|
15741
|
+
return '"' + str.replace(/[^A-Za-z0-9_/. :,?=%;-]/g, function(c) {
|
|
15742
|
+
return module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeCodePoint(c);
|
|
15743
|
+
}) + '"';
|
|
15744
|
+
}
|
|
15745
|
+
function module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(ident) {
|
|
15746
|
+
return (/^[^A-Za-z_]/.test(ident) ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeCodePoint(ident[0]) : ident[0]) + ident.slice(1).replace(/[^A-Za-z0-9_-]/g, function(c) {
|
|
15747
|
+
return module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeCodePoint(c);
|
|
15748
|
+
});
|
|
15749
|
+
}
|
|
15750
|
+
module$exports$safevalues$builders$html_sanitizer$css$serializer.escapeIdent = module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent;
|
|
15751
|
+
function module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeToken(token) {
|
|
15752
|
+
switch(token.tokenKind) {
|
|
15753
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.AT_KEYWORD:
|
|
15754
|
+
return "@" + module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(token.name);
|
|
15755
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CDC:
|
|
15756
|
+
return "--\x3e";
|
|
15757
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CDO:
|
|
15758
|
+
return "\x3c!--";
|
|
15759
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_CURLY:
|
|
15760
|
+
return "}";
|
|
15761
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_PAREN:
|
|
15762
|
+
return ")";
|
|
15763
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_SQUARE:
|
|
15764
|
+
return "]";
|
|
15765
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.COLON:
|
|
15766
|
+
return ":";
|
|
15767
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.COMMA:
|
|
15768
|
+
return ",";
|
|
15769
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM:
|
|
15770
|
+
return token.codePoint === "\\" ? "\\\n" : token.codePoint;
|
|
15771
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DIMENSION:
|
|
15772
|
+
return token.repr + module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(token.dimension);
|
|
15773
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF:
|
|
15774
|
+
return "";
|
|
15775
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION:
|
|
15776
|
+
return module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(token.lowercaseName) + "(";
|
|
15777
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.HASH:
|
|
15778
|
+
return "#" + module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(token.value);
|
|
15779
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.IDENT:
|
|
15780
|
+
return module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(token.ident);
|
|
15781
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER:
|
|
15782
|
+
return token.repr;
|
|
15783
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_CURLY:
|
|
15784
|
+
return "{";
|
|
15785
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_PAREN:
|
|
15786
|
+
return "(";
|
|
15787
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_SQUARE:
|
|
15788
|
+
return "[";
|
|
15789
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.PERCENTAGE:
|
|
15790
|
+
return token.repr + "%";
|
|
15791
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.SEMICOLON:
|
|
15792
|
+
return ";";
|
|
15793
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING:
|
|
15794
|
+
return module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeString(token.value);
|
|
15795
|
+
case module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE:
|
|
15796
|
+
return " ";
|
|
15797
|
+
default:
|
|
15798
|
+
module$contents$safevalues$builders$html_sanitizer$css$serializer_checkExhaustive(token);
|
|
15799
|
+
}
|
|
15800
|
+
}
|
|
15801
|
+
module$exports$safevalues$builders$html_sanitizer$css$serializer.serializeToken = module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeToken;
|
|
15802
|
+
function module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeTokens(tokens) {
|
|
15803
|
+
return tokens.map(module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeToken).join("");
|
|
15804
|
+
}
|
|
15805
|
+
module$exports$safevalues$builders$html_sanitizer$css$serializer.serializeTokens = module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeTokens;
|
|
15806
|
+
function module$contents$safevalues$builders$html_sanitizer$css$serializer_checkExhaustive(value, msg) {
|
|
15807
|
+
throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
|
|
15808
|
+
}
|
|
15809
|
+
;var module$contents$safevalues$builders$html_sanitizer$css$tokenizer_module = module$contents$safevalues$builders$html_sanitizer$css$tokenizer_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/tokenizer.closure.js"}, module$contents$safevalues$builders$html_sanitizer$css$tokenizer_HEX_DIGIT_REGEX = /^[0-9a-fA-F]$/, module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer =
|
|
15810
|
+
function(css) {
|
|
15811
|
+
this.pos = 0;
|
|
15812
|
+
this.css = this.preprocess(css);
|
|
15813
|
+
};
|
|
15814
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.tokenize = function() {
|
|
15815
|
+
for (var tokens = [], lastToken = void 0;;) {
|
|
15816
|
+
var token = this.consumeToken();
|
|
15817
|
+
if (Array.isArray(token)) {
|
|
15818
|
+
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
15819
|
+
} else {
|
|
15820
|
+
var $jscomp$optchain$tmpm583190311$0 = void 0;
|
|
15821
|
+
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) {
|
|
15822
|
+
tokens.push(token);
|
|
15823
|
+
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
15824
|
+
return tokens;
|
|
15825
|
+
}
|
|
15826
|
+
lastToken = token;
|
|
15827
|
+
}
|
|
15828
|
+
}
|
|
15829
|
+
}
|
|
15830
|
+
};
|
|
15831
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextInputCodePoint = function() {
|
|
15832
|
+
return this.css[this.pos];
|
|
15833
|
+
};
|
|
15834
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputCodePoints = function() {
|
|
15835
|
+
return [this.css[this.pos], this.css[this.pos + 1]];
|
|
15836
|
+
};
|
|
15837
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextThreeInputCodePoints = function() {
|
|
15838
|
+
return [this.css[this.pos], this.css[this.pos + 1], this.css[this.pos + 2]];
|
|
15839
|
+
};
|
|
15840
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.currentInputCodePoint = function() {
|
|
15841
|
+
return this.css[this.pos - 1];
|
|
15842
|
+
};
|
|
15843
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextNInputCodePoints = function(n) {
|
|
15844
|
+
return this.css.slice(this.pos, this.pos + n);
|
|
15845
|
+
};
|
|
15846
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeTheNextInputCodePoint = function() {
|
|
15847
|
+
this.pos++;
|
|
15848
|
+
};
|
|
15849
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeNInputCodePoints = function(n) {
|
|
15850
|
+
this.pos += n;
|
|
15851
|
+
};
|
|
15852
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.reconsumeTheCurrentInputCodePoint = function() {
|
|
15853
|
+
this.pos--;
|
|
15854
|
+
};
|
|
15855
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.preprocess = function(css) {
|
|
15856
|
+
return css.replace(/[\x0d\x0c]|\x0d\x0a/g, "\n").replace(/\x00/g, "\ufffd");
|
|
15857
|
+
};
|
|
15858
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeToken = function() {
|
|
15859
|
+
if (this.consumeComments()) {
|
|
15860
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE};
|
|
15861
|
+
}
|
|
15862
|
+
var codePoint = this.nextInputCodePoint();
|
|
15863
|
+
this.consumeTheNextInputCodePoint();
|
|
15864
|
+
if (codePoint === void 0) {
|
|
15865
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF};
|
|
15866
|
+
}
|
|
15867
|
+
if (this.isWhitespace(codePoint)) {
|
|
15868
|
+
return this.consumeAsMuchWhitespaceAsPossible(), {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE};
|
|
15869
|
+
}
|
|
15870
|
+
if (codePoint === "'" || codePoint === '"') {
|
|
15871
|
+
return this.consumeString(codePoint);
|
|
15872
|
+
}
|
|
15873
|
+
if (codePoint === "#") {
|
|
15874
|
+
return this.isIdentCodePoint(this.nextInputCodePoint()) || this.twoCodePointsAreValidEscape.apply(this, (0,$jscomp.arrayFromIterable)(this.nextTwoInputCodePoints())) ? {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.HASH, value:this.consumeIdentSequence()} : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM, codePoint:"#"};
|
|
15875
|
+
}
|
|
15876
|
+
if (codePoint === "(") {
|
|
15877
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_PAREN};
|
|
15878
|
+
}
|
|
15879
|
+
if (codePoint === ")") {
|
|
15880
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_PAREN};
|
|
15881
|
+
}
|
|
15882
|
+
if (codePoint === "+") {
|
|
15883
|
+
return this.streamStartsWithANumber() ? (this.reconsumeTheCurrentInputCodePoint(), this.consumeNumericToken()) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM, codePoint:"+"};
|
|
15884
|
+
}
|
|
15885
|
+
if (codePoint === ",") {
|
|
15886
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.COMMA};
|
|
15887
|
+
}
|
|
15888
|
+
if (codePoint === "-") {
|
|
15889
|
+
return this.streamStartsWithANumber() ? (this.reconsumeTheCurrentInputCodePoint(), this.consumeNumericToken()) : this.nextNInputCodePoints(2) === "->" ? (this.consumeNInputCodePoints(2), {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CDC}) : this.streamStartsWithAnIdentSequence() ? (this.reconsumeTheCurrentInputCodePoint(), this.consumeIdentLikeToken()) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM,
|
|
15890
|
+
codePoint:"-"};
|
|
15891
|
+
}
|
|
15892
|
+
if (codePoint === ".") {
|
|
15893
|
+
return this.streamStartsWithANumber() ? (this.reconsumeTheCurrentInputCodePoint(), this.consumeNumericToken()) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM, codePoint:"."};
|
|
15894
|
+
}
|
|
15895
|
+
if (codePoint === ":") {
|
|
15896
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.COLON};
|
|
15897
|
+
}
|
|
15898
|
+
if (codePoint === ";") {
|
|
15899
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.SEMICOLON};
|
|
15900
|
+
}
|
|
15901
|
+
if (codePoint === "<") {
|
|
15902
|
+
return this.nextNInputCodePoints(3) === "!--" ? (this.consumeNInputCodePoints(3), {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CDO}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM, codePoint:"<"};
|
|
15903
|
+
}
|
|
15904
|
+
if (codePoint === "@") {
|
|
15905
|
+
if (this.threeCodePointsWouldStartAnIdentSequence.apply(this, (0,$jscomp.arrayFromIterable)(this.nextThreeInputCodePoints()))) {
|
|
15906
|
+
var ident = this.consumeIdentSequence();
|
|
15907
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.AT_KEYWORD, name:ident};
|
|
15908
|
+
}
|
|
15909
|
+
return {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM, codePoint:"@"};
|
|
15910
|
+
}
|
|
15911
|
+
return codePoint === "\\" ? this.streamStartsWithValidEscape() ? (this.reconsumeTheCurrentInputCodePoint(), this.consumeIdentLikeToken()) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM, codePoint:"\\"} : codePoint === "[" ? {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_SQUARE} : codePoint === "]" ? {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_SQUARE} :
|
|
15912
|
+
codePoint === "{" ? {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.OPEN_CURLY} : codePoint === "}" ? {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_CURLY} : this.isDigit(codePoint) ? (this.reconsumeTheCurrentInputCodePoint(), this.consumeNumericToken()) : this.isIdentStartCodePoint(codePoint) ? (this.reconsumeTheCurrentInputCodePoint(), this.consumeIdentLikeToken()) :
|
|
15913
|
+
{tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DELIM, codePoint:codePoint};
|
|
15914
|
+
};
|
|
15915
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeComments = function() {
|
|
15916
|
+
for (var anyComments = !1; this.nextNInputCodePoints(2) === "/*";) {
|
|
15917
|
+
anyComments = !0;
|
|
15918
|
+
this.consumeNInputCodePoints(2);
|
|
15919
|
+
var endIndex = this.css.indexOf("*/", this.pos);
|
|
15920
|
+
if (endIndex === -1) {
|
|
15921
|
+
this.pos = this.css.length;
|
|
15922
|
+
break;
|
|
15923
|
+
}
|
|
15924
|
+
this.pos = endIndex + 2;
|
|
15925
|
+
}
|
|
15926
|
+
return anyComments;
|
|
15927
|
+
};
|
|
15928
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeString = function(quote) {
|
|
15929
|
+
for (var stringToken = {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING, value:""};;) {
|
|
15930
|
+
var codePoint = this.nextInputCodePoint();
|
|
15931
|
+
this.consumeTheNextInputCodePoint();
|
|
15932
|
+
if (codePoint === void 0 || codePoint === quote) {
|
|
15933
|
+
return stringToken;
|
|
15934
|
+
}
|
|
15935
|
+
if (this.isNewline(codePoint)) {
|
|
15936
|
+
return this.reconsumeTheCurrentInputCodePoint(), stringToken.value = "", stringToken;
|
|
15937
|
+
}
|
|
15938
|
+
if (codePoint === "\\") {
|
|
15939
|
+
if (this.nextInputCodePoint() !== void 0) {
|
|
15940
|
+
if (this.isNewline(this.nextInputCodePoint())) {
|
|
15941
|
+
this.consumeTheNextInputCodePoint();
|
|
15942
|
+
} else {
|
|
15943
|
+
var escapedCodePoint = this.consumeEscapedCodePoint();
|
|
15944
|
+
stringToken.value += escapedCodePoint;
|
|
15945
|
+
}
|
|
15946
|
+
}
|
|
15947
|
+
} else {
|
|
15948
|
+
stringToken.value += codePoint;
|
|
15949
|
+
}
|
|
15950
|
+
}
|
|
15951
|
+
};
|
|
15952
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeEscapedCodePoint = function() {
|
|
15953
|
+
var codePoint = this.nextInputCodePoint();
|
|
15954
|
+
this.consumeTheNextInputCodePoint();
|
|
15955
|
+
if (codePoint === void 0) {
|
|
15956
|
+
return "\ufffd";
|
|
15957
|
+
}
|
|
15958
|
+
if (this.isHexDigit(codePoint)) {
|
|
15959
|
+
for (var hexDigits = codePoint; this.isHexDigit(this.nextInputCodePoint()) && hexDigits.length < 6;) {
|
|
15960
|
+
hexDigits += this.nextInputCodePoint(), this.consumeTheNextInputCodePoint();
|
|
15961
|
+
}
|
|
15962
|
+
this.isWhitespace(this.nextInputCodePoint()) && this.consumeTheNextInputCodePoint();
|
|
15963
|
+
return String.fromCodePoint(parseInt(hexDigits, 16));
|
|
15964
|
+
}
|
|
15965
|
+
return codePoint;
|
|
15966
|
+
};
|
|
15967
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeAsMuchWhitespaceAsPossible = function() {
|
|
15968
|
+
for (; this.isWhitespace(this.nextInputCodePoint());) {
|
|
15969
|
+
this.consumeTheNextInputCodePoint();
|
|
15970
|
+
}
|
|
15971
|
+
};
|
|
15972
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeIdentSequence = function() {
|
|
15973
|
+
for (var result = "";;) {
|
|
15974
|
+
var codePoint = this.nextInputCodePoint();
|
|
15975
|
+
this.consumeTheNextInputCodePoint();
|
|
15976
|
+
var codePoint2 = this.nextInputCodePoint();
|
|
15977
|
+
if (this.isIdentCodePoint(codePoint)) {
|
|
15978
|
+
result += codePoint;
|
|
15979
|
+
} else if (this.twoCodePointsAreValidEscape(codePoint, codePoint2)) {
|
|
15980
|
+
result += this.consumeEscapedCodePoint();
|
|
15981
|
+
} else {
|
|
15982
|
+
return this.reconsumeTheCurrentInputCodePoint(), result;
|
|
15983
|
+
}
|
|
15984
|
+
}
|
|
15985
|
+
};
|
|
15986
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeIdentLikeToken = function() {
|
|
15987
|
+
var ident = this.consumeIdentSequence();
|
|
15988
|
+
if (/^url$/i.test(ident) && this.nextInputCodePoint() === "(") {
|
|
15989
|
+
for (this.consumeTheNextInputCodePoint(); this.nextTwoInputsPointsAreWhitespace();) {
|
|
15990
|
+
this.consumeTheNextInputCodePoint();
|
|
15991
|
+
}
|
|
15992
|
+
var nextTwo = this.nextTwoInputCodePoints();
|
|
15993
|
+
return this.isWhitespace(nextTwo[0]) && (nextTwo[1] === '"' || nextTwo[1] === "'") || nextTwo[0] === '"' || nextTwo[0] === "'" ? {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION, lowercaseName:"url"} : this.consumeUrlToken();
|
|
15994
|
+
}
|
|
15995
|
+
return this.nextInputCodePoint() === "(" ? (this.consumeTheNextInputCodePoint(), {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION, lowercaseName:ident.toLowerCase()}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.IDENT, ident:ident};
|
|
15996
|
+
};
|
|
15997
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeUrlToken = function() {
|
|
15998
|
+
var url = "";
|
|
15999
|
+
for (this.consumeAsMuchWhitespaceAsPossible();;) {
|
|
16000
|
+
var codePoint = this.nextInputCodePoint();
|
|
16001
|
+
this.consumeTheNextInputCodePoint();
|
|
16002
|
+
if (codePoint === ")" || codePoint === void 0) {
|
|
16003
|
+
return this.createFunctionUrlToken(url);
|
|
16004
|
+
}
|
|
16005
|
+
if (this.isWhitespace(codePoint)) {
|
|
16006
|
+
this.consumeAsMuchWhitespaceAsPossible();
|
|
16007
|
+
if (this.nextInputCodePoint() === ")" || this.nextInputCodePoint() === void 0) {
|
|
16008
|
+
return this.consumeTheNextInputCodePoint(), this.createFunctionUrlToken(url);
|
|
16009
|
+
}
|
|
16010
|
+
this.consumeRemnantsOfBadUrl();
|
|
16011
|
+
return this.createFunctionUrlToken("");
|
|
16012
|
+
}
|
|
16013
|
+
if (codePoint === '"' || codePoint === "'" || codePoint === "(" || this.isNonPrintableCodePoint(codePoint)) {
|
|
16014
|
+
return this.consumeRemnantsOfBadUrl(), this.createFunctionUrlToken("");
|
|
16015
|
+
}
|
|
16016
|
+
if (codePoint === "\\") {
|
|
16017
|
+
if (this.streamStartsWithValidEscape()) {
|
|
16018
|
+
url += this.consumeEscapedCodePoint();
|
|
16019
|
+
} else {
|
|
16020
|
+
return this.consumeRemnantsOfBadUrl(), this.createFunctionUrlToken("");
|
|
16021
|
+
}
|
|
16022
|
+
} else {
|
|
16023
|
+
url += codePoint;
|
|
16024
|
+
}
|
|
16025
|
+
}
|
|
16026
|
+
};
|
|
16027
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.createFunctionUrlToken = function(url) {
|
|
16028
|
+
return [{tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION, lowercaseName:"url"}, {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING, value:url}, {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.CLOSE_PAREN}];
|
|
16029
|
+
};
|
|
16030
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeRemnantsOfBadUrl = function() {
|
|
16031
|
+
for (;;) {
|
|
16032
|
+
var codePoint = this.nextInputCodePoint();
|
|
16033
|
+
this.consumeTheNextInputCodePoint();
|
|
16034
|
+
if (codePoint === void 0 || codePoint === ")") {
|
|
16035
|
+
break;
|
|
16036
|
+
} else {
|
|
16037
|
+
this.streamStartsWithValidEscape() && this.consumeEscapedCodePoint();
|
|
16038
|
+
}
|
|
16039
|
+
}
|
|
16040
|
+
};
|
|
16041
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeNumber = function() {
|
|
16042
|
+
var repr = "", next = this.nextInputCodePoint();
|
|
16043
|
+
if (next === "+" || next === "-") {
|
|
16044
|
+
this.consumeTheNextInputCodePoint(), repr += next;
|
|
16045
|
+
}
|
|
16046
|
+
repr += this.consumeDigits();
|
|
16047
|
+
var next2 = this.css[this.pos + 1];
|
|
16048
|
+
this.nextInputCodePoint() === "." && this.isDigit(next2) && (this.consumeTheNextInputCodePoint(), repr += "." + this.consumeDigits());
|
|
16049
|
+
var next$jscomp$0 = this.nextInputCodePoint(), next2$jscomp$0 = this.css[this.pos + 1], next3 = this.css[this.pos + 2];
|
|
16050
|
+
if (next$jscomp$0 === "e" || next$jscomp$0 === "E") {
|
|
16051
|
+
next2$jscomp$0 !== "+" && next2$jscomp$0 !== "-" || !this.isDigit(next3) ? this.isDigit(next2$jscomp$0) && (this.consumeTheNextInputCodePoint(), repr += next$jscomp$0 + this.consumeDigits()) : (this.consumeNInputCodePoints(2), repr += next$jscomp$0 + next2$jscomp$0 + this.consumeDigits());
|
|
16052
|
+
}
|
|
16053
|
+
return repr;
|
|
16054
|
+
};
|
|
16055
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeDigits = function() {
|
|
16056
|
+
for (var repr = ""; this.isDigit(this.nextInputCodePoint());) {
|
|
16057
|
+
repr += this.nextInputCodePoint(), this.consumeTheNextInputCodePoint();
|
|
16058
|
+
}
|
|
16059
|
+
return repr;
|
|
16060
|
+
};
|
|
16061
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.consumeNumericToken = function() {
|
|
16062
|
+
var repr = this.consumeNumber();
|
|
16063
|
+
return this.threeCodePointsWouldStartAnIdentSequence.apply(this, (0,$jscomp.arrayFromIterable)(this.nextThreeInputCodePoints())) ? {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.DIMENSION, repr:repr, dimension:this.consumeIdentSequence()} : this.nextInputCodePoint() === "%" ? (this.consumeTheNextInputCodePoint(), {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.PERCENTAGE,
|
|
16064
|
+
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16065
|
+
};
|
|
16066
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16067
|
+
var $jscomp$this$m583190311$26 = this;
|
|
16068
|
+
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16069
|
+
return $jscomp$this$m583190311$26.isWhitespace(c);
|
|
16070
|
+
});
|
|
16071
|
+
};
|
|
16072
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
16073
|
+
return codePoint1 === "\\" && codePoint2 !== "\n";
|
|
16074
|
+
};
|
|
16075
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.streamStartsWithValidEscape = function() {
|
|
16076
|
+
return this.twoCodePointsAreValidEscape(this.currentInputCodePoint(), this.nextInputCodePoint());
|
|
16077
|
+
};
|
|
16078
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.threeCodePointsWouldStartANumber = function(codePoint1, codePoint2, codePoint3) {
|
|
16079
|
+
return codePoint1 === "+" || codePoint1 === "-" ? this.isDigit(codePoint2) || codePoint2 === "." && this.isDigit(codePoint3) : codePoint1 === "." ? this.isDigit(codePoint2) : this.isDigit(codePoint1);
|
|
16080
|
+
};
|
|
16081
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.streamStartsWithANumber = function() {
|
|
16082
|
+
return this.threeCodePointsWouldStartANumber.apply(this, [this.currentInputCodePoint()].concat((0,$jscomp.arrayFromIterable)(this.nextTwoInputCodePoints())));
|
|
16083
|
+
};
|
|
16084
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.threeCodePointsWouldStartAnIdentSequence = function(codePoint1, codePoint2, codePoint3) {
|
|
16085
|
+
return codePoint1 === "-" ? this.isIdentStartCodePoint(codePoint2) || codePoint2 === "-" ? !0 : this.twoCodePointsAreValidEscape(codePoint2, codePoint3) ? !0 : !1 : this.isIdentStartCodePoint(codePoint1) ? !0 : codePoint1 === "\\" ? this.twoCodePointsAreValidEscape(codePoint1, codePoint2) : !1;
|
|
16086
|
+
};
|
|
16087
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.streamStartsWithAnIdentSequence = function() {
|
|
16088
|
+
return this.threeCodePointsWouldStartAnIdentSequence.apply(this, [this.currentInputCodePoint()].concat((0,$jscomp.arrayFromIterable)(this.nextTwoInputCodePoints())));
|
|
16089
|
+
};
|
|
16090
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.isDigit = function(codePoint) {
|
|
16091
|
+
return codePoint !== void 0 && codePoint >= "0" && codePoint <= "9";
|
|
16092
|
+
};
|
|
16093
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.isHexDigit = function(codePoint) {
|
|
16094
|
+
return codePoint !== void 0 && module$contents$safevalues$builders$html_sanitizer$css$tokenizer_HEX_DIGIT_REGEX.test(codePoint);
|
|
16095
|
+
};
|
|
16096
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.isNewline = function(codePoint) {
|
|
16097
|
+
return codePoint === "\n";
|
|
16098
|
+
};
|
|
16099
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.isWhitespace = function(codePoint) {
|
|
16100
|
+
return codePoint === " " || codePoint === "\t" || this.isNewline(codePoint);
|
|
16101
|
+
};
|
|
16102
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.isIdentCodePoint = function(codePoint) {
|
|
16103
|
+
return codePoint === void 0 ? !1 : /^([A-Za-z0-9_-]|[^\u0000-\u007f])$/.test(codePoint);
|
|
16104
|
+
};
|
|
16105
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.isIdentStartCodePoint = function(codePoint) {
|
|
16106
|
+
return codePoint === void 0 ? !1 : /^([A-Za-z_]|[^\u0000-\u007f])$/.test(codePoint);
|
|
16107
|
+
};
|
|
16108
|
+
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.isNonPrintableCodePoint = function(codePoint) {
|
|
16109
|
+
return codePoint === void 0 ? !1 : /[\x00-\x08\x0b\x0e-\x1f\x7f]/.test(codePoint);
|
|
16110
|
+
};
|
|
16111
|
+
function module$contents$safevalues$builders$html_sanitizer$css$tokenizer_tokenizeCss(css) {
|
|
16112
|
+
return (new module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer(css)).tokenize();
|
|
16113
|
+
}
|
|
16114
|
+
;var module$exports$safevalues$builders$html_sanitizer$resource_url_policy = {}, module$contents$safevalues$builders$html_sanitizer$resource_url_policy_module = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/resource_url_policy.closure.js"};
|
|
16115
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType = {STYLE_ELEMENT:0, STYLE_ATTRIBUTE:1, HTML_ATTRIBUTE:2};
|
|
16116
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ELEMENT] = "STYLE_ELEMENT";
|
|
16117
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ATTRIBUTE] = "STYLE_ATTRIBUTE";
|
|
16118
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE] = "HTML_ATTRIBUTE";
|
|
16119
|
+
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_StyleElementOrAttributeResourceUrlPolicyHints() {
|
|
16120
|
+
}
|
|
16121
|
+
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_HtmlAttributeResourceUrlPolicyHints() {
|
|
16122
|
+
}
|
|
16123
|
+
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(value) {
|
|
16124
|
+
try {
|
|
16125
|
+
return new URL(value, window.document.baseURI);
|
|
16126
|
+
} catch (e) {
|
|
16127
|
+
return new URL("about:invalid");
|
|
16128
|
+
}
|
|
16129
|
+
}
|
|
16130
|
+
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.parseUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl;
|
|
16131
|
+
var module$exports$safevalues$builders$html_sanitizer$css$sanitizer = {}, module$contents$safevalues$builders$html_sanitizer$css$sanitizer_module = module$contents$safevalues$builders$html_sanitizer$css$sanitizer_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/css/sanitizer.closure.js"}, module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer =
|
|
16132
|
+
function(propertyAllowlist, functionAllowlist, resourceUrlPolicy, allowKeyframes, propertyDiscarders) {
|
|
16133
|
+
this.propertyAllowlist = propertyAllowlist;
|
|
16134
|
+
this.functionAllowlist = functionAllowlist;
|
|
16135
|
+
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16136
|
+
this.allowKeyframes = allowKeyframes;
|
|
16137
|
+
this.propertyDiscarders = propertyDiscarders;
|
|
16138
|
+
this.inertDocument = document.implementation.createHTMLDocument();
|
|
16139
|
+
};
|
|
16140
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.getStyleSheet = function(cssText) {
|
|
16141
|
+
var style = this.inertDocument.createElement("style"), safeStyle = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(cssText);
|
|
16142
|
+
(0,module$exports$safevalues$dom$elements$style.setTextContent)(style, safeStyle);
|
|
16143
|
+
this.inertDocument.head.appendChild(style);
|
|
16144
|
+
var sheet = style.sheet;
|
|
16145
|
+
style.remove();
|
|
16146
|
+
return sheet;
|
|
16147
|
+
};
|
|
16148
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.getStyleDeclaration = function(cssText) {
|
|
16149
|
+
var div = this.inertDocument.createElement("div");
|
|
16150
|
+
div.style.cssText = cssText;
|
|
16151
|
+
this.inertDocument.body.appendChild(div);
|
|
16152
|
+
var style = div.style;
|
|
16153
|
+
div.remove();
|
|
16154
|
+
return style;
|
|
16155
|
+
};
|
|
16156
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.hasShadowDomEscapingTokens = function(token, nextToken) {
|
|
16157
|
+
return token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.COLON ? !1 : nextToken.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.IDENT && nextToken.ident.toLowerCase() === "host" || nextToken.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION && (nextToken.lowercaseName === "host" ||
|
|
16158
|
+
nextToken.lowercaseName === "host-context") ? !0 : !1;
|
|
16159
|
+
};
|
|
16160
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeSelector = function(selector) {
|
|
16161
|
+
for (var tokens = module$contents$safevalues$builders$html_sanitizer$css$tokenizer_tokenizeCss(selector), i = 0; i < tokens.length - 1; i++) {
|
|
16162
|
+
if (this.hasShadowDomEscapingTokens(tokens[i], tokens[i + 1])) {
|
|
16163
|
+
return null;
|
|
16164
|
+
}
|
|
16165
|
+
}
|
|
16166
|
+
return module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeTokens(tokens);
|
|
16167
|
+
};
|
|
16168
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeValue = function(propertyName, value, calledFromStyleElement) {
|
|
16169
|
+
for (var tokens = module$contents$safevalues$builders$html_sanitizer$css$tokenizer_tokenizeCss(value), i = 0; i < tokens.length; i++) {
|
|
16170
|
+
var token = tokens[i];
|
|
16171
|
+
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.FUNCTION) {
|
|
16172
|
+
if (!this.functionAllowlist.has(token.lowercaseName)) {
|
|
16173
|
+
return null;
|
|
16174
|
+
}
|
|
16175
|
+
if (token.lowercaseName === "url") {
|
|
16176
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
|
|
16177
|
+
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16178
|
+
return null;
|
|
16179
|
+
}
|
|
16180
|
+
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
16181
|
+
this.resourceUrlPolicy && (parsedUrl = this.resourceUrlPolicy(parsedUrl, {type:calledFromStyleElement ? module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ELEMENT : module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ATTRIBUTE, propertyName:propertyName}));
|
|
16182
|
+
if (!parsedUrl) {
|
|
16183
|
+
return null;
|
|
16184
|
+
}
|
|
16185
|
+
tokens[i + 1] = {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING, value:parsedUrl.toString()};
|
|
16186
|
+
i++;
|
|
16187
|
+
}
|
|
16188
|
+
}
|
|
16189
|
+
}
|
|
16190
|
+
return module$contents$safevalues$builders$html_sanitizer$css$serializer_serializeTokens(tokens);
|
|
16191
|
+
};
|
|
16192
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeKeyframeRule = function(rule) {
|
|
16193
|
+
var sanitizedProperties = this.sanitizeStyleDeclaration(rule.style, !0);
|
|
16194
|
+
return rule.keyText + " { " + sanitizedProperties + " }";
|
|
16195
|
+
};
|
|
16196
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeKeyframesRule = function(keyframesRule) {
|
|
16197
|
+
if (!this.allowKeyframes) {
|
|
16198
|
+
return null;
|
|
16199
|
+
}
|
|
16200
|
+
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()) {
|
|
16201
|
+
var rule = $jscomp$key$m1877845113$1$rule.value;
|
|
16202
|
+
if (rule instanceof CSSKeyframeRule) {
|
|
16203
|
+
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16204
|
+
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
16205
|
+
}
|
|
16206
|
+
}
|
|
16207
|
+
return "@keyframes " + module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(keyframesRule.name) + " { " + keyframeRules.join(" ") + " }";
|
|
16208
|
+
};
|
|
16209
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.isPropertyNameAllowed = function(name) {
|
|
16210
|
+
if (!this.propertyAllowlist.has(name)) {
|
|
16211
|
+
return !1;
|
|
16212
|
+
}
|
|
16213
|
+
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()) {
|
|
16214
|
+
var discarder = $jscomp$key$m1877845113$2$discarder.value;
|
|
16215
|
+
if (discarder(name)) {
|
|
16216
|
+
return !1;
|
|
16217
|
+
}
|
|
16218
|
+
}
|
|
16219
|
+
return !0;
|
|
16220
|
+
};
|
|
16221
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeProperty = function(name, value, isImportant, calledFromStyleElement) {
|
|
16222
|
+
if (!this.isPropertyNameAllowed(name)) {
|
|
16223
|
+
return null;
|
|
16224
|
+
}
|
|
16225
|
+
var sanitizedValue = this.sanitizeValue(name, value, calledFromStyleElement);
|
|
16226
|
+
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16227
|
+
};
|
|
16228
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16229
|
+
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()) {
|
|
16230
|
+
var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16231
|
+
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16232
|
+
}
|
|
16233
|
+
return sanitizedProperties;
|
|
16234
|
+
};
|
|
16235
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleRule = function(rule) {
|
|
16236
|
+
var selector = this.sanitizeSelector(rule.selectorText);
|
|
16237
|
+
if (!selector) {
|
|
16238
|
+
return null;
|
|
16239
|
+
}
|
|
16240
|
+
var sanitizedProperties = this.sanitizeStyleDeclaration(rule.style, !0);
|
|
16241
|
+
return selector + " { " + sanitizedProperties + " }";
|
|
16242
|
+
};
|
|
16243
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16244
|
+
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()) {
|
|
16245
|
+
var rule = $jscomp$key$m1877845113$4$rule.value;
|
|
16246
|
+
if (rule instanceof CSSStyleRule) {
|
|
16247
|
+
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16248
|
+
sanitizedRule && output.push(sanitizedRule);
|
|
16249
|
+
} else if (rule instanceof CSSKeyframesRule) {
|
|
16250
|
+
var sanitizedRule$jscomp$0 = this.sanitizeKeyframesRule(rule);
|
|
16251
|
+
sanitizedRule$jscomp$0 && output.push(sanitizedRule$jscomp$0);
|
|
16252
|
+
}
|
|
16253
|
+
}
|
|
16254
|
+
return output.join("\n");
|
|
16255
|
+
};
|
|
16256
|
+
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleAttribute = function(cssText) {
|
|
16257
|
+
var styleDeclaration = this.getStyleDeclaration(cssText);
|
|
16258
|
+
return this.sanitizeStyleDeclaration(styleDeclaration, !1);
|
|
16259
|
+
};
|
|
16260
|
+
function module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, propertyAllowlist, functionAllowlist, resourceUrlPolicy, allowKeyframes, propertyDiscarders) {
|
|
16261
|
+
return (new module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer(propertyAllowlist, functionAllowlist, resourceUrlPolicy, allowKeyframes, propertyDiscarders)).sanitizeStyleElement(cssText);
|
|
16262
|
+
}
|
|
16263
|
+
module$exports$safevalues$builders$html_sanitizer$css$sanitizer.sanitizeStyleElement = module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement;
|
|
16264
|
+
function module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, propertyAllowlist, functionAllowlist, resourceUrlPolicy, propertyDiscarders) {
|
|
16265
|
+
return (new module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer(propertyAllowlist, functionAllowlist, resourceUrlPolicy, !1, propertyDiscarders)).sanitizeStyleAttribute(cssText);
|
|
16266
|
+
}
|
|
16267
|
+
module$exports$safevalues$builders$html_sanitizer$css$sanitizer.sanitizeStyleAttribute = module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute;
|
|
16268
|
+
var module$contents$safevalues$builders$html_sanitizer$inert_fragment_module = module$contents$safevalues$builders$html_sanitizer$inert_fragment_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/inert_fragment.closure.js"};
|
|
15623
16269
|
function module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(dirtyHtml, inertDocument) {
|
|
15624
16270
|
if (goog.DEBUG && inertDocument.defaultView) {
|
|
15625
16271
|
throw Error("createInertFragment called with non-inert document");
|
|
@@ -15644,23 +16290,6 @@ function module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement
|
|
|
15644
16290
|
return nodeType === 1 || typeof nodeType !== "number";
|
|
15645
16291
|
}
|
|
15646
16292
|
module$exports$safevalues$builders$html_sanitizer$no_clobber.isElement = module$contents$safevalues$builders$html_sanitizer$no_clobber_isElement;
|
|
15647
|
-
var module$exports$safevalues$builders$html_sanitizer$resource_url_policy = {}, module$contents$safevalues$builders$html_sanitizer$resource_url_policy_module = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/resource_url_policy.closure.js"};
|
|
15648
|
-
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType = {STYLE_ELEMENT:0, STYLE_ATTRIBUTE:1, HTML_ATTRIBUTE:2};
|
|
15649
|
-
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ELEMENT] = "STYLE_ELEMENT";
|
|
15650
|
-
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.STYLE_ATTRIBUTE] = "STYLE_ATTRIBUTE";
|
|
15651
|
-
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType[module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE] = "HTML_ATTRIBUTE";
|
|
15652
|
-
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_StyleElementOrAttributeResourceUrlPolicyHints() {
|
|
15653
|
-
}
|
|
15654
|
-
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_HtmlAttributeResourceUrlPolicyHints() {
|
|
15655
|
-
}
|
|
15656
|
-
function module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(value) {
|
|
15657
|
-
try {
|
|
15658
|
-
return new URL(value, window.document.baseURI);
|
|
15659
|
-
} catch (e) {
|
|
15660
|
-
return new URL("about:invalid");
|
|
15661
|
-
}
|
|
15662
|
-
}
|
|
15663
|
-
module$exports$safevalues$builders$html_sanitizer$resource_url_policy.parseUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl;
|
|
15664
16293
|
var module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table = {}, module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_module = module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/sanitizer_table/sanitizer_table.closure.js"};
|
|
15665
16294
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable = function(allowedElements, elementPolicies, allowedGlobalAttributes, globalAttributePolicies, globallyAllowedAttributePrefixes) {
|
|
15666
16295
|
this.allowedElements = allowedElements;
|
|
@@ -15718,13 +16347,6 @@ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanit
|
|
|
15718
16347
|
})}]];
|
|
15719
16348
|
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),
|
|
15720
16349
|
new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES));
|
|
15721
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.CSS_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15722
|
-
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat(["STYLE"]);
|
|
15723
|
-
})), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES), new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15724
|
-
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["id", "name", "class"]);
|
|
15725
|
-
})), new Map(module$contents$safevalues$internals$pure_pure(function() {
|
|
15726
|
-
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES.concat([["style", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE}]]);
|
|
15727
|
-
})));
|
|
15728
16350
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.LENIENT_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.concat(["BUTTON", "INPUT"])), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
|
|
15729
16351
|
new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15730
16352
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "name"]);
|
|
@@ -15741,11 +16363,14 @@ module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_saniti
|
|
|
15741
16363
|
var module$exports$safevalues$builders$html_sanitizer$html_sanitizer = {}, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_module = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/html_sanitizer.closure.js"};
|
|
15742
16364
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizer = function() {
|
|
15743
16365
|
};
|
|
16366
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.CssSanitizer = function() {
|
|
16367
|
+
};
|
|
15744
16368
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl = function(sanitizerTable, token, styleElementSanitizer, styleAttributeSanitizer, resourceUrlPolicy) {
|
|
15745
16369
|
this.sanitizerTable = sanitizerTable;
|
|
15746
16370
|
this.styleElementSanitizer = styleElementSanitizer;
|
|
15747
16371
|
this.styleAttributeSanitizer = styleAttributeSanitizer;
|
|
15748
16372
|
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16373
|
+
this.SHADOW_DOM_INTERNAL_CSS = ":host{display:block;clip-path:inset(0);overflow:hidden}";
|
|
15749
16374
|
this.changes = [];
|
|
15750
16375
|
module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
15751
16376
|
};
|
|
@@ -15763,11 +16388,21 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15763
16388
|
};
|
|
15764
16389
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragment = function(html) {
|
|
15765
16390
|
var inertDocument = document.implementation.createHTMLDocument("");
|
|
15766
|
-
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
16391
|
+
return this.styleElementSanitizer && this.styleAttributeSanitizer ? this.sanitizeWithCssToFragment(html, inertDocument) : this.sanitizeToFragmentInternal(html, inertDocument);
|
|
16392
|
+
};
|
|
16393
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeWithCssToFragment = function(htmlWithCss, inertDocument) {
|
|
16394
|
+
var elem = document.createElement("safevalues-with-css"), shadow = elem.attachShadow({mode:"closed"}), sanitized = this.sanitizeToFragmentInternal(htmlWithCss, inertDocument), internalStyle = document.createElement("style");
|
|
16395
|
+
internalStyle.textContent = this.SHADOW_DOM_INTERNAL_CSS;
|
|
16396
|
+
internalStyle.id = "safevalues-internal-style";
|
|
16397
|
+
shadow.appendChild(internalStyle);
|
|
16398
|
+
shadow.appendChild(sanitized);
|
|
16399
|
+
var fragment = inertDocument.createDocumentFragment();
|
|
16400
|
+
fragment.appendChild(elem);
|
|
16401
|
+
return fragment;
|
|
15767
16402
|
};
|
|
15768
16403
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15769
|
-
for (var $jscomp$this$
|
|
15770
|
-
return $jscomp$this$
|
|
16404
|
+
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) {
|
|
16405
|
+
return $jscomp$this$m1803429925$13.nodeFilter(n);
|
|
15771
16406
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
15772
16407
|
var sanitizedNode = void 0;
|
|
15773
16408
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15802,8 +16437,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15802
16437
|
return this.createTextNode(textNode.data);
|
|
15803
16438
|
};
|
|
15804
16439
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15805
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$
|
|
15806
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
16440
|
+
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()) {
|
|
16441
|
+
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);
|
|
15807
16442
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15808
16443
|
switch(policy.policyAction) {
|
|
15809
16444
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15835,9 +16470,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15835
16470
|
break;
|
|
15836
16471
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
15837
16472
|
if (this.resourceUrlPolicy) {
|
|
15838
|
-
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$
|
|
15839
|
-
$jscomp$iter$
|
|
15840
|
-
var part = $jscomp$key$
|
|
16473
|
+
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 =
|
|
16474
|
+
$jscomp$iter$35.next()) {
|
|
16475
|
+
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);
|
|
15841
16476
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
15842
16477
|
}
|
|
15843
16478
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -15881,8 +16516,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15881
16516
|
if (!conditions) {
|
|
15882
16517
|
return !0;
|
|
15883
16518
|
}
|
|
15884
|
-
for (var $jscomp$iter$
|
|
15885
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16519
|
+
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()) {
|
|
16520
|
+
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;
|
|
15886
16521
|
if (value && !expectedValues.has(value)) {
|
|
15887
16522
|
return !1;
|
|
15888
16523
|
}
|
|
@@ -15897,8 +16532,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
15897
16532
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
15898
16533
|
};
|
|
15899
16534
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
15900
|
-
for (var parts = [], $jscomp$iter$
|
|
15901
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16535
|
+
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()) {
|
|
16536
|
+
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;
|
|
15902
16537
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
15903
16538
|
}
|
|
15904
16539
|
return {parts:parts};
|
|
@@ -15950,13 +16585,13 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_check
|
|
|
15950
16585
|
throw Error(msg === void 0 ? "unexpected value " + value + "!" : msg);
|
|
15951
16586
|
}
|
|
15952
16587
|
;var module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder = {}, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_builder_module = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_builder_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/html_sanitizer_builder.closure.js"};
|
|
15953
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16588
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder = function() {
|
|
15954
16589
|
this.calledBuild = !1;
|
|
15955
16590
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
15956
16591
|
};
|
|
15957
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
15958
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$
|
|
15959
|
-
var element = $jscomp$key$
|
|
16592
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
16593
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$m1412690177$21$element = $jscomp$iter$39.next(); !$jscomp$key$m1412690177$21$element.done; $jscomp$key$m1412690177$21$element = $jscomp$iter$39.next()) {
|
|
16594
|
+
var element = $jscomp$key$m1412690177$21$element.value;
|
|
15960
16595
|
element = element.toUpperCase();
|
|
15961
16596
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15962
16597
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15967,15 +16602,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15967
16602
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(allowedElements, allowedElementPolicies, this.sanitizerTable.allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
15968
16603
|
return this;
|
|
15969
16604
|
};
|
|
15970
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16605
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowCustomElement = function(element, allowedAttributes) {
|
|
15971
16606
|
var allowedElements = new Set(this.sanitizerTable.allowedElements), allowedElementPolicies = new Map(this.sanitizerTable.elementPolicies);
|
|
15972
16607
|
element = element.toUpperCase();
|
|
15973
16608
|
if (!module$contents$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table_isCustomElement(element)) {
|
|
15974
16609
|
throw Error("Element: " + element + " is not a custom element");
|
|
15975
16610
|
}
|
|
15976
16611
|
if (allowedAttributes) {
|
|
15977
|
-
for (var elementPolicy = new Map(), $jscomp$iter$
|
|
15978
|
-
elementPolicy.set($jscomp$key$
|
|
16612
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$m1412690177$22$attribute = $jscomp$iter$40.next(); !$jscomp$key$m1412690177$22$attribute.done; $jscomp$key$m1412690177$22$attribute = $jscomp$iter$40.next()) {
|
|
16613
|
+
elementPolicy.set($jscomp$key$m1412690177$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
15979
16614
|
}
|
|
15980
16615
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15981
16616
|
} else {
|
|
@@ -15984,16 +16619,16 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15984
16619
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(allowedElements, allowedElementPolicies, this.sanitizerTable.allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
15985
16620
|
return this;
|
|
15986
16621
|
};
|
|
15987
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
15988
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$
|
|
15989
|
-
var attribute = $jscomp$key$
|
|
16622
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
16623
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$m1412690177$23$attribute = $jscomp$iter$41.next(); !$jscomp$key$m1412690177$23$attribute.done; $jscomp$key$m1412690177$23$attribute = $jscomp$iter$41.next()) {
|
|
16624
|
+
var attribute = $jscomp$key$m1412690177$23$attribute.value;
|
|
15990
16625
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15991
16626
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15992
16627
|
}
|
|
15993
|
-
for (var $jscomp$iter$
|
|
15994
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
15995
|
-
$jscomp$iter$
|
|
15996
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16628
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$25$ = $jscomp$iter$43.next(); !$jscomp$key$m1412690177$25$.done; $jscomp$key$m1412690177$25$ = $jscomp$iter$43.next()) {
|
|
16629
|
+
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$25$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var37.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var37.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$m1412690177$24$ = $jscomp$iter$42.next(); !$jscomp$key$m1412690177$24$.done; $jscomp$key$m1412690177$24$ =
|
|
16630
|
+
$jscomp$iter$42.next()) {
|
|
16631
|
+
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$m1412690177$24$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var39.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var39.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
15997
16632
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15998
16633
|
}
|
|
15999
16634
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -16001,9 +16636,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
16001
16636
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, elementPolicies, allowedGlobalAttributes, globalAttributePolicies);
|
|
16002
16637
|
return this;
|
|
16003
16638
|
};
|
|
16004
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16005
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$
|
|
16006
|
-
var attribute = $jscomp$key$
|
|
16639
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
16640
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$m1412690177$26$attribute = $jscomp$iter$44.next(); !$jscomp$key$m1412690177$26$attribute.done; $jscomp$key$m1412690177$26$attribute = $jscomp$iter$44.next()) {
|
|
16641
|
+
var attribute = $jscomp$key$m1412690177$26$attribute.value;
|
|
16007
16642
|
if (attribute.indexOf("data-") !== 0) {
|
|
16008
16643
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
16009
16644
|
}
|
|
@@ -16012,34 +16647,38 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
16012
16647
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
16013
16648
|
return this;
|
|
16014
16649
|
};
|
|
16015
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16650
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowStyleAttributes = function() {
|
|
16016
16651
|
var globalAttributePolicies = new Map(this.sanitizerTable.globalAttributePolicies);
|
|
16017
16652
|
globalAttributePolicies.set("style", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE});
|
|
16018
16653
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, globalAttributePolicies);
|
|
16019
16654
|
return this;
|
|
16020
16655
|
};
|
|
16021
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16656
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowClassAttributes = function() {
|
|
16022
16657
|
var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes);
|
|
16023
16658
|
allowedGlobalAttributes.add("class");
|
|
16024
16659
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
16025
16660
|
return this;
|
|
16026
16661
|
};
|
|
16027
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16662
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowIdAttributes = function() {
|
|
16028
16663
|
var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes);
|
|
16029
16664
|
allowedGlobalAttributes.add("id");
|
|
16030
16665
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
16031
16666
|
return this;
|
|
16032
16667
|
};
|
|
16033
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16668
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowIdReferenceAttributes = function() {
|
|
16034
16669
|
var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes);
|
|
16035
16670
|
allowedGlobalAttributes.add("aria-activedescendant").add("aria-controls").add("aria-labelledby").add("aria-owns").add("for").add("list");
|
|
16036
16671
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies);
|
|
16037
16672
|
return this;
|
|
16038
16673
|
};
|
|
16039
|
-
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.
|
|
16674
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.withResourceUrlPolicy = function(resourceUrlPolicy) {
|
|
16040
16675
|
this.resourceUrlPolicy = resourceUrlPolicy;
|
|
16041
16676
|
return this;
|
|
16042
16677
|
};
|
|
16678
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder = function() {
|
|
16679
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.apply(this, arguments);
|
|
16680
|
+
};
|
|
16681
|
+
$jscomp.inherits(module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder, module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder);
|
|
16043
16682
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.build = function() {
|
|
16044
16683
|
if (this.calledBuild) {
|
|
16045
16684
|
throw Error("this sanitizer has already called build");
|
|
@@ -16047,7 +16686,51 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
16047
16686
|
this.calledBuild = !0;
|
|
16048
16687
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, void 0, void 0, this.resourceUrlPolicy);
|
|
16049
16688
|
};
|
|
16050
|
-
|
|
16689
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder = function() {
|
|
16690
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.apply(this, arguments);
|
|
16691
|
+
this.transitionsAllowed = this.animationsAllowed = !1;
|
|
16692
|
+
};
|
|
16693
|
+
$jscomp.inherits(module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder, module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder);
|
|
16694
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.allowAnimations = function() {
|
|
16695
|
+
this.animationsAllowed = !0;
|
|
16696
|
+
return this;
|
|
16697
|
+
};
|
|
16698
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.allowTransitions = function() {
|
|
16699
|
+
this.transitionsAllowed = !0;
|
|
16700
|
+
return this;
|
|
16701
|
+
};
|
|
16702
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
16703
|
+
var $jscomp$this$m1412690177$17 = this;
|
|
16704
|
+
this.extendSanitizerTableForCss();
|
|
16705
|
+
var propertyDiscarders = [];
|
|
16706
|
+
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
16707
|
+
return /^(animation|offset)(-|$)/.test(property);
|
|
16708
|
+
});
|
|
16709
|
+
this.transitionsAllowed || propertyDiscarders.push(function(property) {
|
|
16710
|
+
return /^transition(-|$)/.test(property);
|
|
16711
|
+
});
|
|
16712
|
+
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
16713
|
+
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$17.resourceUrlPolicy, $jscomp$this$m1412690177$17.animationsAllowed, propertyDiscarders);
|
|
16714
|
+
}, function(cssText) {
|
|
16715
|
+
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$17.resourceUrlPolicy, propertyDiscarders);
|
|
16716
|
+
}, this.resourceUrlPolicy);
|
|
16717
|
+
};
|
|
16718
|
+
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
16719
|
+
var allowedElements = new Set(this.sanitizerTable.allowedElements), allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), globalAttributePolicies = new Map(this.sanitizerTable.globalAttributePolicies);
|
|
16720
|
+
allowedElements.add("STYLE");
|
|
16721
|
+
globalAttributePolicies.set("style", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_SANITIZE_STYLE});
|
|
16722
|
+
allowedGlobalAttributes.add("id");
|
|
16723
|
+
allowedGlobalAttributes.add("name");
|
|
16724
|
+
allowedGlobalAttributes.add("class");
|
|
16725
|
+
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(allowedElements, this.sanitizerTable.elementPolicies, allowedGlobalAttributes, globalAttributePolicies);
|
|
16726
|
+
};
|
|
16727
|
+
var module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_module = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_module || {id:"third_party/javascript/safevalues/builders/html_sanitizer/default_css_sanitizer.closure.js"}, module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_defaultCssSanitizer = module$contents$safevalues$internals$pure_pure(function() {
|
|
16728
|
+
return (new module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder()).build();
|
|
16729
|
+
});
|
|
16730
|
+
function module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss(css) {
|
|
16731
|
+
return module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_defaultCssSanitizer.sanitizeToFragment(css);
|
|
16732
|
+
}
|
|
16733
|
+
;var module$exports$safevalues$builders$resource_url_builders = {}, module$contents$safevalues$builders$resource_url_builders_module = module$contents$safevalues$builders$resource_url_builders_module || {id:"third_party/javascript/safevalues/builders/resource_url_builders.closure.js"}, module$contents$safevalues$builders$resource_url_builders_Primitive;
|
|
16051
16734
|
function module$contents$safevalues$builders$resource_url_builders_hasValidOrigin(base) {
|
|
16052
16735
|
if (!/^https:\/\//.test(base) && !/^\/\//.test(base)) {
|
|
16053
16736
|
return !1;
|
|
@@ -16258,12 +16941,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16258
16941
|
}
|
|
16259
16942
|
try {
|
|
16260
16943
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16261
|
-
} catch ($jscomp$unused$catch$
|
|
16944
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
16262
16945
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16263
16946
|
}
|
|
16264
16947
|
try {
|
|
16265
16948
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16266
|
-
} catch ($jscomp$unused$catch$
|
|
16949
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
16267
16950
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16268
16951
|
}
|
|
16269
16952
|
return !1;
|
|
@@ -16300,9 +16983,11 @@ module$exports$safevalues$index.scriptToHtml = module$exports$safevalues$builder
|
|
|
16300
16983
|
module$exports$safevalues$index.scriptUrlToHtml = module$exports$safevalues$builders$html_builders.scriptUrlToHtml;
|
|
16301
16984
|
module$exports$safevalues$index.styleSheetToHtml = module$exports$safevalues$builders$html_builders.styleSheetToHtml;
|
|
16302
16985
|
module$exports$safevalues$index.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
16986
|
+
module$exports$safevalues$index.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
|
|
16303
16987
|
module$exports$safevalues$index.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
16304
16988
|
module$exports$safevalues$index.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
16305
16989
|
module$exports$safevalues$index.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
16990
|
+
module$exports$safevalues$index.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
16306
16991
|
module$exports$safevalues$index.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
16307
16992
|
module$exports$safevalues$index.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
16308
16993
|
module$exports$safevalues$index.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
@@ -16343,7 +17028,7 @@ module$exports$safevalues$index.EMPTY_SCRIPT = module$exports$safevalues$interna
|
|
|
16343
17028
|
module$exports$safevalues$index.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
16344
17029
|
module$exports$safevalues$index.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
16345
17030
|
module$exports$safevalues$index.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
16346
|
-
module$exports$safevalues$index.SafeStyle = module$
|
|
17031
|
+
module$exports$safevalues$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
16347
17032
|
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
16348
17033
|
module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
16349
17034
|
module$exports$safevalues$index.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
@@ -16398,12 +17083,6 @@ goog.dom.safe.setOuterHtml = function(elem, html) {
|
|
|
16398
17083
|
goog.dom.safe.setFormElementAction = function(form, url) {
|
|
16399
17084
|
module$contents$goog$asserts$dom_assertIsHtmlFormElement(form).action = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
16400
17085
|
};
|
|
16401
|
-
goog.dom.safe.setButtonFormAction = function(button, url) {
|
|
16402
|
-
module$contents$goog$asserts$dom_assertIsHtmlButtonElement(button).formAction = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
16403
|
-
};
|
|
16404
|
-
goog.dom.safe.setInputFormAction = function(input, url) {
|
|
16405
|
-
module$contents$goog$asserts$dom_assertIsHtmlInputElement(input).formAction = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
16406
|
-
};
|
|
16407
17086
|
goog.dom.safe.documentWrite = function(doc, html) {
|
|
16408
17087
|
doc.write(module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html));
|
|
16409
17088
|
};
|
|
@@ -16411,22 +17090,10 @@ goog.dom.safe.setAnchorHref = function(anchor, url) {
|
|
|
16411
17090
|
module$contents$goog$asserts$dom_assertIsHtmlAnchorElement(anchor);
|
|
16412
17091
|
anchor.href = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
16413
17092
|
};
|
|
16414
|
-
goog.dom.safe.setAudioSrc = function(audioElement, url) {
|
|
16415
|
-
module$contents$goog$asserts$dom_assertIsHtmlAudioElement(audioElement);
|
|
16416
|
-
audioElement.src = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
16417
|
-
};
|
|
16418
|
-
goog.dom.safe.setVideoSrc = function(videoElement, url) {
|
|
16419
|
-
module$contents$goog$asserts$dom_assertIsHtmlVideoElement(videoElement);
|
|
16420
|
-
videoElement.src = goog.dom.safe.sanitizeJavaScriptUrlAssertUnchanged_(url);
|
|
16421
|
-
};
|
|
16422
17093
|
goog.dom.safe.setIframeSrc = function(iframe, url) {
|
|
16423
17094
|
module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
|
|
16424
17095
|
iframe.src = goog.html.TrustedResourceUrl.unwrap(url);
|
|
16425
17096
|
};
|
|
16426
|
-
goog.dom.safe.setIframeSrcdoc = function(iframe, html) {
|
|
16427
|
-
module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
|
|
16428
|
-
iframe.srcdoc = module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html);
|
|
16429
|
-
};
|
|
16430
17097
|
goog.dom.safe.setLinkHrefAndRel = function(link, url, rel) {
|
|
16431
17098
|
module$contents$goog$asserts$dom_assertIsHtmlLinkElement(link);
|
|
16432
17099
|
link.rel = rel;
|
|
@@ -16952,7 +17619,7 @@ goog.dom.flattenElement = function(element) {
|
|
|
16952
17619
|
}
|
|
16953
17620
|
};
|
|
16954
17621
|
goog.dom.getChildren = function(element) {
|
|
16955
|
-
return element.children != void 0 ? element.children : Array.prototype.filter.call(element.childNodes, function(node) {
|
|
17622
|
+
return goog.FEATURESET_YEAR > 2018 || element.children != void 0 ? element.children : Array.prototype.filter.call(element.childNodes, function(node) {
|
|
16956
17623
|
return node.nodeType == goog.dom.NodeType.ELEMENT;
|
|
16957
17624
|
});
|
|
16958
17625
|
};
|
|
@@ -16963,7 +17630,7 @@ goog.dom.getLastElementChild = function(node) {
|
|
|
16963
17630
|
return node.lastElementChild !== void 0 ? node.lastElementChild : goog.dom.getNextElementNode_(node.lastChild, !1);
|
|
16964
17631
|
};
|
|
16965
17632
|
goog.dom.getNextElementSibling = function(node) {
|
|
16966
|
-
return node.nextElementSibling !== void 0 ? node.nextElementSibling : goog.dom.getNextElementNode_(node.nextSibling, !0);
|
|
17633
|
+
return goog.FEATURESET_YEAR > 2018 || node.nextElementSibling !== void 0 ? node.nextElementSibling : goog.dom.getNextElementNode_(node.nextSibling, !0);
|
|
16967
17634
|
};
|
|
16968
17635
|
goog.dom.getPreviousElementSibling = function(node) {
|
|
16969
17636
|
return node.previousElementSibling !== void 0 ? node.previousElementSibling : goog.dom.getNextElementNode_(node.previousSibling, !1);
|
|
@@ -17008,18 +17675,13 @@ goog.dom.isWindow = function(obj) {
|
|
|
17008
17675
|
return goog.isObject(obj) && obj.window == obj;
|
|
17009
17676
|
};
|
|
17010
17677
|
goog.dom.getParentElement = function(element) {
|
|
17011
|
-
|
|
17012
|
-
if (goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY && (parent = element.parentElement)) {
|
|
17013
|
-
return parent;
|
|
17014
|
-
}
|
|
17015
|
-
parent = element.parentNode;
|
|
17016
|
-
return goog.dom.isElement(parent) ? parent : null;
|
|
17678
|
+
return element.parentElement || null;
|
|
17017
17679
|
};
|
|
17018
17680
|
goog.dom.contains = function(parent, descendant) {
|
|
17019
17681
|
if (!parent || !descendant) {
|
|
17020
17682
|
return !1;
|
|
17021
17683
|
}
|
|
17022
|
-
if (parent.contains && descendant.nodeType == goog.dom.NodeType.ELEMENT) {
|
|
17684
|
+
if (goog.FEATURESET_YEAR > 2018 || parent.contains && descendant.nodeType == goog.dom.NodeType.ELEMENT) {
|
|
17023
17685
|
return parent == descendant || parent.contains(descendant);
|
|
17024
17686
|
}
|
|
17025
17687
|
if (typeof parent.compareDocumentPosition != "undefined") {
|
|
@@ -17277,6 +17939,9 @@ goog.dom.getNodeAtOffset = function(parent, offset, opt_result) {
|
|
|
17277
17939
|
return cur;
|
|
17278
17940
|
};
|
|
17279
17941
|
goog.dom.isNodeList = function(val) {
|
|
17942
|
+
if (goog.FEATURESET_YEAR >= 2018) {
|
|
17943
|
+
return !!val && typeof val.length == "number" && typeof val.item == "function";
|
|
17944
|
+
}
|
|
17280
17945
|
if (val && typeof val.length == "number") {
|
|
17281
17946
|
if (goog.isObject(val)) {
|
|
17282
17947
|
return typeof val.item == "function" || typeof val.item == "string";
|
|
@@ -17587,13 +18252,13 @@ goog.debug.asyncStackTag.getTestNameProvider = function() {
|
|
|
17587
18252
|
return module$contents$goog$debug$asyncStackTag_testNameProvider;
|
|
17588
18253
|
};
|
|
17589
18254
|
goog.ASSUME_NATIVE_PROMISE = !1;
|
|
17590
|
-
var module$contents$goog$async$run_schedule, module$contents$goog$async$run_workQueueScheduled = !1, module$contents$goog$async$run_workQueue = new module$contents$goog$async$WorkQueue_WorkQueue(), module$contents$goog$async$run_run = function(callback, context) {
|
|
18255
|
+
var module$contents$goog$async$run_ASSUME_NATIVE_PROMISE = goog.ASSUME_NATIVE_PROMISE, module$contents$goog$async$run_schedule, module$contents$goog$async$run_workQueueScheduled = !1, module$contents$goog$async$run_workQueue = new module$contents$goog$async$WorkQueue_WorkQueue(), module$contents$goog$async$run_run = function(callback, context) {
|
|
17591
18256
|
module$contents$goog$async$run_schedule || module$contents$goog$async$run_initializeRunner();
|
|
17592
18257
|
module$contents$goog$async$run_workQueueScheduled || (module$contents$goog$async$run_schedule(), module$contents$goog$async$run_workQueueScheduled = !0);
|
|
17593
18258
|
callback = module$contents$goog$debug$asyncStackTag_wrap(callback, "goog.async.run");
|
|
17594
18259
|
module$contents$goog$async$run_workQueue.add(callback, context);
|
|
17595
18260
|
}, module$contents$goog$async$run_initializeRunner = function() {
|
|
17596
|
-
if (goog
|
|
18261
|
+
if (module$contents$goog$async$run_ASSUME_NATIVE_PROMISE || goog.global.Promise && goog.global.Promise.resolve) {
|
|
17597
18262
|
var promise = goog.global.Promise.resolve(void 0);
|
|
17598
18263
|
module$contents$goog$async$run_schedule = function() {
|
|
17599
18264
|
promise.then(module$contents$goog$async$run_run.processWorkQueue);
|
|
@@ -18819,7 +19484,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
18819
19484
|
headers.set(key, opt_headers[key]);
|
|
18820
19485
|
}
|
|
18821
19486
|
} else if (typeof opt_headers.keys === "function" && typeof opt_headers.get === "function") {
|
|
18822
|
-
for (var $jscomp$iter$
|
|
19487
|
+
for (var $jscomp$iter$45 = (0,$jscomp.makeIterator)(opt_headers.keys()), $jscomp$key$m71669834$54$key = $jscomp$iter$45.next(); !$jscomp$key$m71669834$54$key.done; $jscomp$key$m71669834$54$key = $jscomp$iter$45.next()) {
|
|
18823
19488
|
var key$jscomp$0 = $jscomp$key$m71669834$54$key.value;
|
|
18824
19489
|
headers.set(key$jscomp$0, opt_headers.get(key$jscomp$0));
|
|
18825
19490
|
}
|
|
@@ -18831,7 +19496,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
18831
19496
|
return goog.string.caseInsensitiveEquals(goog.net.XhrIo.CONTENT_TYPE_HEADER, header);
|
|
18832
19497
|
}), contentIsFormData = goog.global.FormData && content instanceof goog.global.FormData;
|
|
18833
19498
|
!module$contents$goog$array_contains(goog.net.XhrIo.METHODS_WITH_FORM_DATA, method) || contentTypeKey || contentIsFormData || headers.set(goog.net.XhrIo.CONTENT_TYPE_HEADER, goog.net.XhrIo.FORM_CONTENT_TYPE);
|
|
18834
|
-
for (var $jscomp$iter$
|
|
19499
|
+
for (var $jscomp$iter$46 = (0,$jscomp.makeIterator)(headers), $jscomp$key$m71669834$55$ = $jscomp$iter$46.next(); !$jscomp$key$m71669834$55$.done; $jscomp$key$m71669834$55$ = $jscomp$iter$46.next()) {
|
|
18835
19500
|
var $jscomp$destructuring$var41 = (0,$jscomp.makeIterator)($jscomp$key$m71669834$55$.value), key$jscomp$1 = $jscomp$destructuring$var41.next().value, value = $jscomp$destructuring$var41.next().value;
|
|
18836
19501
|
this.xhr_.setRequestHeader(key$jscomp$1, value);
|
|
18837
19502
|
}
|
|
@@ -19084,10 +19749,13 @@ safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
|
19084
19749
|
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
19085
19750
|
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
19086
19751
|
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
19752
|
+
safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
|
|
19087
19753
|
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
19088
19754
|
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
19089
19755
|
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
19756
|
+
safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
19090
19757
|
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
19758
|
+
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
19091
19759
|
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
19092
19760
|
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
19093
19761
|
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
@@ -19131,7 +19799,7 @@ safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_
|
|
|
19131
19799
|
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
19132
19800
|
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
19133
19801
|
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
19134
|
-
safevalues.SafeStyle = module$
|
|
19802
|
+
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
19135
19803
|
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19136
19804
|
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19137
19805
|
safevalues.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
@@ -19147,7 +19815,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19147
19815
|
ee.apiclient = {};
|
|
19148
19816
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19149
19817
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19150
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19818
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.417";
|
|
19151
19819
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19152
19820
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19153
19821
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19316,7 +19984,7 @@ module$contents$ee$apiclient_BatchRequestService.prototype.send = function(param
|
|
|
19316
19984
|
module$contents$ee$apiclient_BatchRequestService.prototype.makeRequest = function(params) {
|
|
19317
19985
|
};
|
|
19318
19986
|
module$contents$ee$apiclient_apiclient.parseBatchReply = function(contentType, responseText, handle) {
|
|
19319
|
-
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$
|
|
19987
|
+
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$47 = (0,$jscomp.makeIterator)(responseText.split("--" + boundary)), $jscomp$key$m1153655765$100$part = $jscomp$iter$47.next(); !$jscomp$key$m1153655765$100$part.done; $jscomp$key$m1153655765$100$part = $jscomp$iter$47.next()) {
|
|
19320
19988
|
var groups = $jscomp$key$m1153655765$100$part.value.split("\r\n\r\n");
|
|
19321
19989
|
if (!(groups.length < 3)) {
|
|
19322
19990
|
var id = groups[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1], status = Number(groups[1].match(/^HTTP\S*\s(\d+)\s/)[1]), text = groups.slice(2).join("\r\n\r\n");
|
|
@@ -19445,8 +20113,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19445
20113
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19446
20114
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19447
20115
|
method = method || "POST";
|
|
19448
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19449
|
-
version === "0.1.
|
|
20116
|
+
var headers = {"Content-Type":contentType}, version = "0.1.417";
|
|
20117
|
+
version === "0.1.417" && (version = "latest");
|
|
19450
20118
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19451
20119
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19452
20120
|
if (authToken != null) {
|
|
@@ -19579,7 +20247,7 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
19579
20247
|
}
|
|
19580
20248
|
};
|
|
19581
20249
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
19582
|
-
for (var request = new goog.Uri.QueryData(), $jscomp$iter$
|
|
20250
|
+
for (var request = new goog.Uri.QueryData(), $jscomp$iter$48 = (0,$jscomp.makeIterator)(Object.entries(params)), $jscomp$key$m1153655765$101$ = $jscomp$iter$48.next(); !$jscomp$key$m1153655765$101$.done; $jscomp$key$m1153655765$101$ = $jscomp$iter$48.next()) {
|
|
19583
20251
|
var $jscomp$destructuring$var49 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$101$.value), name = $jscomp$destructuring$var49.next().value, item = $jscomp$destructuring$var49.next().value;
|
|
19584
20252
|
request.set(name, item);
|
|
19585
20253
|
}
|
|
@@ -19934,7 +20602,7 @@ ee.rpc_convert.algorithms = function(result) {
|
|
|
19934
20602
|
algorithm.deprecated && (internalAlgorithm.deprecated = algorithm.deprecationReason);
|
|
19935
20603
|
algorithm.sourceCodeUri && (internalAlgorithm.sourceCodeUri = algorithm.sourceCodeUri);
|
|
19936
20604
|
return internalAlgorithm;
|
|
19937
|
-
}, internalAlgorithms = {}, $jscomp$iter$
|
|
20605
|
+
}, internalAlgorithms = {}, $jscomp$iter$49 = (0,$jscomp.makeIterator)(result.algorithms || []), $jscomp$key$m29782521$48$algorithm = $jscomp$iter$49.next(); !$jscomp$key$m29782521$48$algorithm.done; $jscomp$key$m29782521$48$algorithm = $jscomp$iter$49.next()) {
|
|
19938
20606
|
var algorithm = $jscomp$key$m29782521$48$algorithm.value, name = algorithm.name.replace(/^algorithms\//, "");
|
|
19939
20607
|
internalAlgorithms[name] = convertAlgorithm(algorithm);
|
|
19940
20608
|
}
|
|
@@ -20084,9 +20752,9 @@ ee.rpc_convert.getListToListAssets = function(param) {
|
|
|
20084
20752
|
param.bbox && (assetsRequest.region = ee.rpc_convert.boundingBoxToGeoJson(param.bbox));
|
|
20085
20753
|
param.region && (assetsRequest.region = param.region);
|
|
20086
20754
|
param.bbox && param.region && console.warn("Multiple request parameters converted to region");
|
|
20087
|
-
for (var allKeys = "id num starttime endtime bbox region".split(" "), $jscomp$iter$
|
|
20755
|
+
for (var allKeys = "id num starttime endtime bbox region".split(" "), $jscomp$iter$50 = (0,$jscomp.makeIterator)(Object.keys(param).filter(function(k) {
|
|
20088
20756
|
return !allKeys.includes(k);
|
|
20089
|
-
})), $jscomp$key$m29782521$49$key = $jscomp$iter$
|
|
20757
|
+
})), $jscomp$key$m29782521$49$key = $jscomp$iter$50.next(); !$jscomp$key$m29782521$49$key.done; $jscomp$key$m29782521$49$key = $jscomp$iter$50.next()) {
|
|
20090
20758
|
console.warn("Unrecognized key " + $jscomp$key$m29782521$49$key.value + " ignored");
|
|
20091
20759
|
}
|
|
20092
20760
|
return ee.rpc_convert.processListImagesParams(assetsRequest);
|
|
@@ -20310,7 +20978,7 @@ ee.rpc_convert.parseFilterParamsFromListImages_ = function(params) {
|
|
|
20310
20978
|
})) {
|
|
20311
20979
|
throw Error('Filter parameter "properties" must be an array of strings');
|
|
20312
20980
|
}
|
|
20313
|
-
for (var $jscomp$iter$
|
|
20981
|
+
for (var $jscomp$iter$51 = (0,$jscomp.makeIterator)(params.properties), $jscomp$key$m29782521$50$propertyQuery = $jscomp$iter$51.next(); !$jscomp$key$m29782521$50$propertyQuery.done; $jscomp$key$m29782521$50$propertyQuery = $jscomp$iter$51.next()) {
|
|
20314
20982
|
queryStrings.push($jscomp$key$m29782521$50$propertyQuery.value.trim().replace(/^(properties\.)?/, "properties."));
|
|
20315
20983
|
}
|
|
20316
20984
|
delete params.properties;
|
|
@@ -20647,7 +21315,7 @@ ee.Serializer.encodeCloudApiPretty = function(obj) {
|
|
|
20647
21315
|
if (!goog.isObject(object)) {
|
|
20648
21316
|
return object;
|
|
20649
21317
|
}
|
|
20650
|
-
for (var ret = Array.isArray(object) ? [] : {}, isNode = object instanceof Object.getPrototypeOf(module$exports$eeapiclient$ee_api_client.ValueNode), $jscomp$iter$
|
|
21318
|
+
for (var ret = Array.isArray(object) ? [] : {}, isNode = object instanceof Object.getPrototypeOf(module$exports$eeapiclient$ee_api_client.ValueNode), $jscomp$iter$52 = (0,$jscomp.makeIterator)(Object.entries(isNode ? object.Serializable$values : object)), $jscomp$key$m759255156$28$ = $jscomp$iter$52.next(); !$jscomp$key$m759255156$28$.done; $jscomp$key$m759255156$28$ = $jscomp$iter$52.next()) {
|
|
20651
21319
|
var $jscomp$destructuring$var53 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$28$.value), key = $jscomp$destructuring$var53.next().value, val = $jscomp$destructuring$var53.next().value;
|
|
20652
21320
|
isNode ? val !== null && (ret[key] = key === "functionDefinitionValue" && val.body != null ? {argumentNames:val.argumentNames, body:walkObject(values[val.body])} : key === "functionInvocationValue" && val.functionReference != null ? {arguments:module$contents$goog$object_map(val.arguments, walkObject), functionReference:walkObject(values[val.functionReference])} : key === "constantValue" ? val === module$exports$eeapiclient$domain_object.NULL_VALUE ?
|
|
20653
21321
|
null : val : walkObject(val)) : ret[key] = walkObject(val);
|
|
@@ -20771,7 +21439,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20771
21439
|
return storeInSourceMap(value, optimized$jscomp$1);
|
|
20772
21440
|
}
|
|
20773
21441
|
if (value.dictionaryValue != null) {
|
|
20774
|
-
for (var values = {}, constantValues = {}, $jscomp$iter$
|
|
21442
|
+
for (var values = {}, constantValues = {}, $jscomp$iter$53 = (0,$jscomp.makeIterator)(Object.entries(value.dictionaryValue.values || {})), $jscomp$key$m759255156$29$ = $jscomp$iter$53.next(); !$jscomp$key$m759255156$29$.done; $jscomp$key$m759255156$29$ = $jscomp$iter$53.next()) {
|
|
20775
21443
|
var $jscomp$destructuring$var55 = (0,$jscomp.makeIterator)($jscomp$key$m759255156$29$.value), k = $jscomp$destructuring$var55.next().value, v = $jscomp$destructuring$var55.next().value;
|
|
20776
21444
|
values[k] = this.optimizeValue(v, depth + 3);
|
|
20777
21445
|
constantValues !== null && isConst(values[k]) ? constantValues[k] = serializeConst(values[k].constantValue) : constantValues = null;
|
|
@@ -20783,7 +21451,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20783
21451
|
return storeInSourceMap(value, optimized$jscomp$2);
|
|
20784
21452
|
}
|
|
20785
21453
|
if (value.functionInvocationValue != null) {
|
|
20786
|
-
for (var inv = value.functionInvocationValue, args = {}, $jscomp$iter$
|
|
21454
|
+
for (var inv = value.functionInvocationValue, args = {}, $jscomp$iter$54 = (0,$jscomp.makeIterator)(Object.keys(inv.arguments || {})), $jscomp$key$m759255156$30$k = $jscomp$iter$54.next(); !$jscomp$key$m759255156$30$k.done; $jscomp$key$m759255156$30$k = $jscomp$iter$54.next()) {
|
|
20787
21455
|
var k$jscomp$0 = $jscomp$key$m759255156$30$k.value;
|
|
20788
21456
|
args[k$jscomp$0] = this.optimizeValue(inv.arguments[k$jscomp$0], depth + 3);
|
|
20789
21457
|
}
|
|
@@ -21681,7 +22349,7 @@ ee.data.createAsset = function(value, opt_path, opt_force, opt_properties, opt_c
|
|
|
21681
22349
|
value.gcsLocation && !value.cloudStorageLocation && (value.cloudStorageLocation = value.gcsLocation, delete value.gcsLocation);
|
|
21682
22350
|
value.cloudStorageLocation && (value.cloudStorageLocation = new module$exports$eeapiclient$ee_api_client.CloudStorageLocation(value.cloudStorageLocation));
|
|
21683
22351
|
opt_properties && !value.properties && (value.properties = Object.assign({}, opt_properties));
|
|
21684
|
-
for (var $jscomp$iter$
|
|
22352
|
+
for (var $jscomp$iter$55 = (0,$jscomp.makeIterator)(["title", "description"]), $jscomp$key$m1075644492$123$prop = $jscomp$iter$55.next(); !$jscomp$key$m1075644492$123$prop.done; $jscomp$key$m1075644492$123$prop = $jscomp$iter$55.next()) {
|
|
21685
22353
|
var prop = $jscomp$key$m1075644492$123$prop.value;
|
|
21686
22354
|
if (value[prop]) {
|
|
21687
22355
|
var $jscomp$compprop17 = {};
|
|
@@ -23954,7 +24622,7 @@ module$contents$ee$batch_Export.prefixImageFormatOptions_ = function(taskConfig,
|
|
|
23954
24622
|
})) {
|
|
23955
24623
|
throw Error("Parameter specified at least twice: once in config, and once in config format options.");
|
|
23956
24624
|
}
|
|
23957
|
-
for (var prefix = module$contents$ee$batch_FORMAT_PREFIX_MAP[imageFormat], validOptionKeys = module$contents$ee$batch_FORMAT_OPTIONS_MAP[imageFormat], prefixedOptions = {}, $jscomp$iter$
|
|
24625
|
+
for (var prefix = module$contents$ee$batch_FORMAT_PREFIX_MAP[imageFormat], validOptionKeys = module$contents$ee$batch_FORMAT_OPTIONS_MAP[imageFormat], prefixedOptions = {}, $jscomp$iter$56 = (0,$jscomp.makeIterator)(Object.entries(formatOptions)), $jscomp$key$1827622838$35$ = $jscomp$iter$56.next(); !$jscomp$key$1827622838$35$.done; $jscomp$key$1827622838$35$ = $jscomp$iter$56.next()) {
|
|
23958
24626
|
var $jscomp$destructuring$var60 = (0,$jscomp.makeIterator)($jscomp$key$1827622838$35$.value), key = $jscomp$destructuring$var60.next().value, value = $jscomp$destructuring$var60.next().value;
|
|
23959
24627
|
if (!module$contents$goog$array_contains(validOptionKeys, key)) {
|
|
23960
24628
|
var validKeysMsg = validOptionKeys.join(", ");
|
|
@@ -26975,29 +27643,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26975
27643
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26976
27644
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26977
27645
|
(function() {
|
|
26978
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.
|
|
26979
|
-
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "
|
|
26980
|
-
"
|
|
26981
|
-
"collection opt_description opt_bucket opt_fileNamePrefix
|
|
26982
|
-
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond
|
|
26983
|
-
["
|
|
26984
|
-
["
|
|
26985
|
-
"
|
|
26986
|
-
|
|
26987
|
-
|
|
26988
|
-
"opt_selectors", "opt_filename", "opt_callback"], ["
|
|
26989
|
-
"
|
|
26990
|
-
"
|
|
26991
|
-
["list"], ["number"], ["obj"
|
|
26992
|
-
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.
|
|
26993
|
-
module$contents$ee$batch_Export.image.
|
|
26994
|
-
ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.
|
|
26995
|
-
ee.data.
|
|
26996
|
-
ee.data.
|
|
26997
|
-
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.
|
|
26998
|
-
ee.Filter.and, ee.Filter.
|
|
26999
|
-
ee.Image.
|
|
27000
|
-
ee.ImageCollection.prototype.
|
|
27646
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage 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.Collection.prototype.limit ee.Collection.prototype.filter ee.Collection.prototype.filterBounds ee.Collection.prototype.map ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.data.authenticateViaOauth ee.data.makeThumbUrl ee.data.setAssetAcl ee.data.renameAsset ee.data.getMapId ee.data.listAssets ee.data.authenticate ee.data.getTaskList ee.data.setAssetProperties ee.data.copyAsset ee.data.getTableDownloadId ee.data.getTileUrl ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.deleteAsset ee.data.startTableIngestion ee.data.getAssetRootQuota ee.data.listOperations ee.data.getDownloadId ee.data.authenticateViaPopup ee.data.makeDownloadUrl ee.data.cancelOperation ee.data.getWorkloadTag ee.data.getFeatureViewTilesKey ee.data.getAssetAcl ee.data.listImages ee.data.listFeatures ee.data.getAssetRoots ee.data.getAsset ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.createAssetHome ee.data.newTaskId ee.data.setWorkloadTag ee.data.computeValue ee.data.createAsset ee.data.getInfo ee.data.getThumbId ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.getVideoThumbId ee.data.resetWorkloadTag ee.data.getTaskStatus ee.data.updateAsset ee.data.updateTask ee.data.getFilmstripThumbId ee.data.getList ee.data.startIngestion ee.data.createFolder ee.data.startProcessing ee.Date ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.TILE_SIZE ee.initialize ee.reset ee.call ee.Algorithms ee.InitState ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.Filter.lte ee.Filter.gte ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Filter.prototype.not ee.Filter ee.Filter.eq ee.Filter.and ee.Filter.inList ee.Filter.gt ee.Filter.or ee.Filter.lt ee.Filter.neq ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry ee.Geometry.MultiLineString ee.Geometry.Polygon ee.Geometry.Point ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSONString ee.Geometry.prototype.serialize ee.Geometry.BBox ee.Geometry.MultiPoint ee.Geometry.LineString ee.Geometry.Rectangle ee.Geometry.MultiPolygon ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.prototype.getDownloadURL ee.Image ee.Image.prototype.clip ee.Image.prototype.expression ee.Image.prototype.getThumbURL ee.Image.prototype.select ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.cat ee.Image.prototype.rename ee.Image.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.encode ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
|
|
27647
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "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(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices",
|
|
27648
|
+
"opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "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(" "),
|
|
27649
|
+
"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(" "), "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(" "),
|
|
27650
|
+
"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(" "), "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(" "),
|
|
27651
|
+
["max", "opt_property", "opt_ascending"], ["filter"], ["geometry"], ["algorithm", "opt_dropNulls"], ["start", "opt_end"], ["algorithm", "opt_first"], ["property", "opt_ascending"], ["name", "operator", "value"], ["callback"], ["opt_callback"], ["legacy"], ["func", "var_args"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["id"], ["assetId", "aclUpdate", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["params", "opt_callback"],
|
|
27652
|
+
["parent", "opt_params", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["opt_callback"], ["assetId", "properties", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["params", "opt_callback"], ["id", "x", "y", "z"], ["project", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], ["taskId", "request", "opt_callback"], ["rootId", "opt_callback"], ["opt_limit", "opt_callback"], ["params",
|
|
27653
|
+
"opt_callback"], ["opt_success", "opt_error"], ["id"], ["operationName", "opt_callback"], [], ["params", "opt_callback"], ["assetId", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["asset", "params", "opt_callback"], ["opt_callback"], ["id", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["operationName", "opt_callback"], ["requestedId", "opt_callback"], ["opt_count", "opt_callback"], ["tag"], ["obj", "opt_callback"], ["value",
|
|
27654
|
+
"opt_path", "opt_force", "opt_properties", "opt_callback"], ["id", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["tag"], ["params", "opt_callback"], ["opt_resetDefault"], ["taskId", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["path", "opt_force", "opt_callback"], ["taskId", "params", "opt_callback"], ["date",
|
|
27655
|
+
"opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], ["func", "var_args"], [], [], ["func", "namedArgs"], ["var_args"], [], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_format",
|
|
27656
|
+
"opt_selectors", "opt_filename", "opt_callback"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["name", "value"], ["name", "value"], ["start", "opt_end"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], [], ["opt_filter"], ["name", "value"], ["var_args"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["namedArgs"], ["var_args"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"],
|
|
27657
|
+
["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["legacy"], ["west", "south", "east", "north"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["params", "opt_callback"], ["r",
|
|
27658
|
+
"g", "b"], ["params", "opt_callback"], ["opt_args"], ["geometry"], ["expression", "opt_map"], ["params", "opt_callback"], ["var_args"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["var_args"], ["var_args"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["args"], ["params", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"],
|
|
27659
|
+
[], ["list"], ["number"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27660
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery,
|
|
27661
|
+
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, ee.Collection.prototype.limit, ee.Collection.prototype.filter, ee.Collection.prototype.filterBounds, ee.Collection.prototype.map, ee.Collection.prototype.filterDate, ee.Collection.prototype.iterate, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.ComputedObject.prototype.evaluate,
|
|
27662
|
+
ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.aside, ee.data.authenticateViaOauth, ee.data.makeThumbUrl, ee.data.setAssetAcl, ee.data.renameAsset, ee.data.getMapId, ee.data.listAssets, ee.data.authenticate, ee.data.getTaskList, ee.data.setAssetProperties, ee.data.copyAsset, ee.data.getTableDownloadId, ee.data.getTileUrl, ee.data.listBuckets, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.deleteAsset, ee.data.startTableIngestion,
|
|
27663
|
+
ee.data.getAssetRootQuota, ee.data.listOperations, ee.data.getDownloadId, ee.data.authenticateViaPopup, ee.data.makeDownloadUrl, ee.data.cancelOperation, ee.data.getWorkloadTag, ee.data.getFeatureViewTilesKey, ee.data.getAssetAcl, ee.data.listImages, ee.data.listFeatures, ee.data.getAssetRoots, ee.data.getAsset, ee.data.authenticateViaPrivateKey, ee.data.getOperation, ee.data.createAssetHome, ee.data.newTaskId, ee.data.setWorkloadTag, ee.data.computeValue, ee.data.createAsset, ee.data.getInfo,
|
|
27664
|
+
ee.data.getThumbId, ee.data.cancelTask, ee.data.setDefaultWorkloadTag, ee.data.getVideoThumbId, ee.data.resetWorkloadTag, ee.data.getTaskStatus, ee.data.updateAsset, ee.data.updateTask, ee.data.getFilmstripThumbId, ee.data.getList, ee.data.startIngestion, ee.data.createFolder, ee.data.startProcessing, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Dictionary, ee.TILE_SIZE, ee.initialize, ee.reset, ee.call, ee.Algorithms,
|
|
27665
|
+
ee.InitState, ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.getMap, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.Filter.lte, ee.Filter.gte, ee.Filter.date, ee.Filter.metadata, ee.Filter.bounds, ee.Filter.prototype.not,
|
|
27666
|
+
ee.Filter, ee.Filter.eq, ee.Filter.and, ee.Filter.inList, ee.Filter.gt, ee.Filter.or, ee.Filter.lt, ee.Filter.neq, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry, ee.Geometry.MultiLineString, ee.Geometry.Polygon, ee.Geometry.Point, ee.Geometry.prototype.toGeoJSON, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.prototype.serialize, ee.Geometry.BBox, ee.Geometry.MultiPoint, ee.Geometry.LineString, ee.Geometry.Rectangle, ee.Geometry.MultiPolygon, ee.Image.prototype.getThumbId,
|
|
27667
|
+
ee.Image.rgb, ee.Image.prototype.getDownloadURL, ee.Image, ee.Image.prototype.clip, ee.Image.prototype.expression, ee.Image.prototype.getThumbURL, ee.Image.prototype.select, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.cat, ee.Image.prototype.rename, ee.Image.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMap, ee.ImageCollection,
|
|
27668
|
+
ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27001
27669
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27002
27670
|
});
|
|
27003
27671
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|