@google/earthengine 0.1.418 → 0.1.419
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 +514 -457
- package/build/ee_api_js.js +470 -471
- package/build/ee_api_js_debug.js +491 -434
- package/build/ee_api_js_npm.js +514 -457
- package/build/main.js +514 -457
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/eeapiclient/request_params.ts +16 -1
- package/src/eeapiclient/request_params_test.ts +16 -0
package/build/main.js
CHANGED
|
@@ -766,6 +766,28 @@ $jscomp.polyfill("Array.prototype.keys", function(orig) {
|
|
|
766
766
|
});
|
|
767
767
|
};
|
|
768
768
|
}, "es6", "es3");
|
|
769
|
+
$jscomp.checkStringArgs = function(thisArg, arg, func) {
|
|
770
|
+
if (thisArg == null) {
|
|
771
|
+
throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
|
|
772
|
+
}
|
|
773
|
+
if (arg instanceof RegExp) {
|
|
774
|
+
throw new TypeError("First argument to String.prototype." + func + " must not be a regular expression");
|
|
775
|
+
}
|
|
776
|
+
return thisArg + "";
|
|
777
|
+
};
|
|
778
|
+
$jscomp.polyfill("String.prototype.endsWith", function(orig) {
|
|
779
|
+
return orig ? orig : function(searchString, opt_position) {
|
|
780
|
+
var string = $jscomp.checkStringArgs(this, searchString, "endsWith");
|
|
781
|
+
searchString += "";
|
|
782
|
+
opt_position === void 0 && (opt_position = string.length);
|
|
783
|
+
for (var i = Math.max(0, Math.min(opt_position | 0, string.length)), j = searchString.length; j > 0 && i > 0;) {
|
|
784
|
+
if (string[--i] != searchString[--j]) {
|
|
785
|
+
return !1;
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
return j <= 0;
|
|
789
|
+
};
|
|
790
|
+
}, "es6", "es3");
|
|
769
791
|
$jscomp.checkEs6ConformanceViaProxy = function() {
|
|
770
792
|
try {
|
|
771
793
|
var proxied = {}, proxy = Object.create(new $jscomp.global.Proxy(proxied, {get:function(target, key, receiver) {
|
|
@@ -1071,15 +1093,6 @@ $jscomp.polyfill("Array.prototype.entries", function(orig) {
|
|
|
1071
1093
|
});
|
|
1072
1094
|
};
|
|
1073
1095
|
}, "es6", "es3");
|
|
1074
|
-
$jscomp.checkStringArgs = function(thisArg, arg, func) {
|
|
1075
|
-
if (thisArg == null) {
|
|
1076
|
-
throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
|
|
1077
|
-
}
|
|
1078
|
-
if (arg instanceof RegExp) {
|
|
1079
|
-
throw new TypeError("First argument to String.prototype." + func + " must not be a regular expression");
|
|
1080
|
-
}
|
|
1081
|
-
return thisArg + "";
|
|
1082
|
-
};
|
|
1083
1096
|
$jscomp.polyfill("String.prototype.startsWith", function(orig) {
|
|
1084
1097
|
return orig ? orig : function(searchString, opt_position) {
|
|
1085
1098
|
var string = $jscomp.checkStringArgs(this, searchString, "startsWith");
|
|
@@ -1092,19 +1105,6 @@ $jscomp.polyfill("String.prototype.startsWith", function(orig) {
|
|
|
1092
1105
|
return j >= searchLen;
|
|
1093
1106
|
};
|
|
1094
1107
|
}, "es6", "es3");
|
|
1095
|
-
$jscomp.polyfill("String.prototype.endsWith", function(orig) {
|
|
1096
|
-
return orig ? orig : function(searchString, opt_position) {
|
|
1097
|
-
var string = $jscomp.checkStringArgs(this, searchString, "endsWith");
|
|
1098
|
-
searchString += "";
|
|
1099
|
-
opt_position === void 0 && (opt_position = string.length);
|
|
1100
|
-
for (var i = Math.max(0, Math.min(opt_position | 0, string.length)), j = searchString.length; j > 0 && i > 0;) {
|
|
1101
|
-
if (string[--i] != searchString[--j]) {
|
|
1102
|
-
return !1;
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
return j <= 0;
|
|
1106
|
-
};
|
|
1107
|
-
}, "es6", "es3");
|
|
1108
1108
|
$jscomp.polyfill("Number.isFinite", function(orig) {
|
|
1109
1109
|
return orig ? orig : function(x) {
|
|
1110
1110
|
return typeof x !== "number" ? !1 : !isNaN(x) && x !== Infinity && x !== -Infinity;
|
|
@@ -1251,8 +1251,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1251
1251
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1252
1252
|
};
|
|
1253
1253
|
}, "es8", "es3");
|
|
1254
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1,
|
|
1255
|
-
|
|
1254
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_flush_queue_fix__disable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1, GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable:!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};
|
|
1256
1256
|
/*
|
|
1257
1257
|
|
|
1258
1258
|
Copyright The Closure Library Authors.
|
|
@@ -2147,9 +2147,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2147
2147
|
};
|
|
2148
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;
|
|
2149
2149
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
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$
|
|
2151
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2152
|
-
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$m1892927425$40$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$44 = {}; !$jscomp$key$m1892927425$40$key.done; $jscomp$loop$m1892927425$44 =
|
|
2151
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2152
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2153
2153
|
if (value != null) {
|
|
2154
2154
|
var copy = void 0;
|
|
2155
2155
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2160,11 +2160,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2160
2160
|
} else if (objects.hasOwnProperty(key)) {
|
|
2161
2161
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2162
2162
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2163
|
-
$jscomp$loop$
|
|
2163
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2164
2164
|
return function(v) {
|
|
2165
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2165
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2166
2166
|
};
|
|
2167
|
-
}($jscomp$loop$
|
|
2167
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2168
2168
|
} else if (Array.isArray(value)) {
|
|
2169
2169
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2170
2170
|
continue;
|
|
@@ -2179,8 +2179,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2179
2179
|
return target;
|
|
2180
2180
|
}
|
|
2181
2181
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2182
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2183
|
-
var mapKey = $jscomp$key$
|
|
2182
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m1892927425$41$mapKey.done; $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next()) {
|
|
2183
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2184
2184
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2185
2185
|
}
|
|
2186
2186
|
return objMap;
|
|
@@ -2210,39 +2210,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2210
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))) {
|
|
2211
2211
|
return !1;
|
|
2212
2212
|
}
|
|
2213
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2214
|
-
var key = $jscomp$key$
|
|
2213
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$45 = {}; !$jscomp$key$m1892927425$42$key.done; $jscomp$loop$m1892927425$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next()) {
|
|
2214
|
+
var key = $jscomp$key$m1892927425$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2215
2215
|
if (has1 !== has2) {
|
|
2216
2216
|
return !1;
|
|
2217
2217
|
}
|
|
2218
2218
|
if (has1) {
|
|
2219
2219
|
var value1 = serializable1.Serializable$get(key);
|
|
2220
|
-
$jscomp$loop$
|
|
2220
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2221
2221
|
if (arrays1.hasOwnProperty(key)) {
|
|
2222
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2222
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2223
2223
|
return !1;
|
|
2224
2224
|
}
|
|
2225
2225
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2226
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2226
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2227
2227
|
return !1;
|
|
2228
2228
|
}
|
|
2229
2229
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2230
|
-
if ($jscomp$loop$
|
|
2231
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2230
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2231
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2232
2232
|
return function(v1, i) {
|
|
2233
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2233
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2234
2234
|
};
|
|
2235
|
-
}($jscomp$loop$
|
|
2235
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2236
2236
|
return !1;
|
|
2237
2237
|
}
|
|
2238
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2238
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2239
2239
|
return !1;
|
|
2240
2240
|
}
|
|
2241
2241
|
} else if (Array.isArray(value1)) {
|
|
2242
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2242
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2243
2243
|
return !1;
|
|
2244
2244
|
}
|
|
2245
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2245
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2246
2246
|
return !1;
|
|
2247
2247
|
}
|
|
2248
2248
|
}
|
|
@@ -2264,8 +2264,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2264
2264
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2265
2265
|
return !1;
|
|
2266
2266
|
}
|
|
2267
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2268
|
-
var mapKey = $jscomp$key$
|
|
2267
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m1892927425$43$mapKey.done; $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next()) {
|
|
2268
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2269
2269
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2270
2270
|
return !1;
|
|
2271
2271
|
}
|
|
@@ -2346,15 +2346,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2346
2346
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2347
2347
|
};
|
|
2348
2348
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2349
|
-
var $jscomp$this$
|
|
2349
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2350
2350
|
payload += this._metadataPayload;
|
|
2351
2351
|
return Promise.all(this.files.map(function(f) {
|
|
2352
|
-
return $jscomp$this$
|
|
2352
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2353
2353
|
})).then(function(filePayloads) {
|
|
2354
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2355
|
-
payload += $jscomp$key$
|
|
2354
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m133342051$9$filePayload.done; $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next()) {
|
|
2355
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2356
2356
|
}
|
|
2357
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2357
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2358
2358
|
});
|
|
2359
2359
|
};
|
|
2360
2360
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -3010,8 +3010,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
3010
3010
|
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
3011
3011
|
}
|
|
3012
3012
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
3013
|
-
var $jscomp$templatelit$
|
|
3014
|
-
["\\0"]), $jscomp$templatelit$
|
|
3013
|
+
var $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
3014
|
+
["\\0"]), $jscomp$templatelit$m425881384$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
3015
3015
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
3016
3016
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
3017
3017
|
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 ##############################");
|
|
@@ -3025,14 +3025,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
3025
3025
|
return fn.toString().indexOf("`") === -1;
|
|
3026
3026
|
}
|
|
3027
3027
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3028
|
-
return tag($jscomp$templatelit$
|
|
3028
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
3029
3029
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3030
|
-
return tag($jscomp$templatelit$
|
|
3030
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
3031
3031
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3032
|
-
return tag($jscomp$templatelit$
|
|
3032
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
3033
3033
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3034
|
-
return tag($jscomp$templatelit$
|
|
3035
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
3034
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
3035
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$12);
|
|
3036
3036
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
3037
3037
|
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)) ?
|
|
3038
3038
|
!0 : !1;
|
|
@@ -3452,9 +3452,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3452
3452
|
}
|
|
3453
3453
|
}
|
|
3454
3454
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
3455
|
-
var $jscomp$tmp$error$
|
|
3456
|
-
this.message = $jscomp$tmp$error$
|
|
3457
|
-
"stack" in $jscomp$tmp$error$
|
|
3455
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
3456
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
3457
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
3458
3458
|
this.type = type;
|
|
3459
3459
|
this.intent = intent;
|
|
3460
3460
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -3561,7 +3561,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
3561
3561
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
3562
3562
|
};
|
|
3563
3563
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
3564
|
-
var $jscomp$optchain$
|
|
3564
|
+
var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = win.document).querySelector) == null ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
|
|
3565
3565
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
3566
3566
|
}
|
|
3567
3567
|
;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;
|
|
@@ -3610,30 +3610,205 @@ module$exports$safevalues$dom$elements$script.setSrc = function(script, v, optio
|
|
|
3610
3610
|
script.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
3611
3611
|
(options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
|
|
3612
3612
|
};
|
|
3613
|
-
var module$exports$safevalues$
|
|
3614
|
-
module$exports$safevalues$
|
|
3615
|
-
|
|
3616
|
-
|
|
3613
|
+
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"};
|
|
3614
|
+
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
3615
|
+
module$exports$safevalues$for_closure$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
3616
|
+
module$exports$safevalues$for_closure$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
3617
|
+
module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
|
|
3618
|
+
module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
3619
|
+
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3620
|
+
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3621
|
+
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3622
|
+
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3623
|
+
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3624
|
+
var module$exports$safevalues$for_closure = {};
|
|
3625
|
+
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
3626
|
+
module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
3627
|
+
module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
3628
|
+
module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
|
|
3629
|
+
module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
|
|
3630
|
+
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3631
|
+
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3632
|
+
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3633
|
+
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3634
|
+
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3635
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
|
|
3636
|
+
var styleString = goog.string.Const.unwrap(style);
|
|
3637
|
+
if (styleString.length === 0) {
|
|
3638
|
+
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3639
|
+
}
|
|
3640
|
+
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
3641
|
+
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
3642
|
+
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
3643
|
+
};
|
|
3644
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
3645
|
+
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
3646
|
+
};
|
|
3647
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
|
|
3648
|
+
var style = "", name;
|
|
3649
|
+
for (name in map) {
|
|
3650
|
+
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
3651
|
+
if (!/^[-_a-zA-Z0-9]+$/.test(name)) {
|
|
3652
|
+
throw Error("Name allows only [-_a-zA-Z0-9], got: " + name);
|
|
3653
|
+
}
|
|
3654
|
+
var value = map[name];
|
|
3655
|
+
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 + ";");
|
|
3656
|
+
}
|
|
3657
|
+
}
|
|
3658
|
+
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3659
|
+
};
|
|
3660
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
3661
|
+
var style = "", addArgument = function(argument) {
|
|
3662
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
3663
|
+
};
|
|
3664
|
+
Array.prototype.forEach.call(arguments, addArgument);
|
|
3665
|
+
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3666
|
+
};
|
|
3667
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
|
|
3668
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
3669
|
+
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
3670
|
+
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
3671
|
+
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
3672
|
+
}
|
|
3673
|
+
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
3674
|
+
if (/[{;}]/.test(result)) {
|
|
3675
|
+
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
3676
|
+
}
|
|
3677
|
+
return result;
|
|
3678
|
+
}
|
|
3679
|
+
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
|
|
3680
|
+
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");
|
|
3681
|
+
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
3682
|
+
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
3683
|
+
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3684
|
+
}
|
|
3685
|
+
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
3686
|
+
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3687
|
+
}
|
|
3688
|
+
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
3689
|
+
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;
|
|
3690
|
+
}
|
|
3691
|
+
} else {
|
|
3692
|
+
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;
|
|
3693
|
+
}
|
|
3694
|
+
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
3695
|
+
}
|
|
3696
|
+
function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
|
|
3697
|
+
for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
|
|
3698
|
+
var c = value.charAt(i);
|
|
3699
|
+
c == "'" && outsideDouble ? outsideSingle = !outsideSingle : c == '"' && outsideSingle && (outsideDouble = !outsideDouble);
|
|
3700
|
+
}
|
|
3701
|
+
return outsideSingle && outsideDouble;
|
|
3702
|
+
}
|
|
3703
|
+
function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
|
|
3704
|
+
for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
|
|
3705
|
+
var c = value.charAt(i);
|
|
3706
|
+
if (c == "]") {
|
|
3707
|
+
if (outside) {
|
|
3708
|
+
return !1;
|
|
3709
|
+
}
|
|
3710
|
+
outside = !0;
|
|
3711
|
+
} else if (c == "[") {
|
|
3712
|
+
if (!outside) {
|
|
3713
|
+
return !1;
|
|
3714
|
+
}
|
|
3715
|
+
outside = !1;
|
|
3716
|
+
} else if (!outside && !tokenRe.test(c)) {
|
|
3717
|
+
return !1;
|
|
3718
|
+
}
|
|
3719
|
+
}
|
|
3720
|
+
return outside;
|
|
3721
|
+
}
|
|
3722
|
+
var module$contents$goog$html$SafeStyle_VALUE_RE = RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"), module$contents$goog$html$SafeStyle_URL_RE = RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))", "g"), module$contents$goog$html$SafeStyle_FUNCTIONS_RE = RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)", "g"), module$contents$goog$html$SafeStyle_COMMENT_RE =
|
|
3723
|
+
/\/\*/;
|
|
3724
|
+
function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
3725
|
+
return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
|
|
3726
|
+
var quote = "";
|
|
3727
|
+
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
|
|
3728
|
+
quote = start;
|
|
3729
|
+
return inside;
|
|
3730
|
+
});
|
|
3731
|
+
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
3732
|
+
return before + quote + sanitized + quote + after;
|
|
3733
|
+
});
|
|
3734
|
+
}
|
|
3735
|
+
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3736
|
+
var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyleSheet_SafeStyleSheet = function(value, token) {
|
|
3737
|
+
if (goog.DEBUG && token !== module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
3738
|
+
throw Error("SafeStyleSheet is not meant to be built directly");
|
|
3739
|
+
}
|
|
3740
|
+
this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_ = value;
|
|
3741
|
+
};
|
|
3742
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString = function() {
|
|
3743
|
+
return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString();
|
|
3744
|
+
};
|
|
3745
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule = function(selector, style) {
|
|
3746
|
+
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
3747
|
+
throw Error("Selector does not allow '<', got: " + selector);
|
|
3748
|
+
}
|
|
3749
|
+
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
3750
|
+
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
3751
|
+
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
3752
|
+
}
|
|
3753
|
+
if (!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(selectorToCheck)) {
|
|
3754
|
+
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
3755
|
+
}
|
|
3756
|
+
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
|
|
3757
|
+
var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
3758
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
|
|
3759
|
+
};
|
|
3760
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_ = function(s) {
|
|
3761
|
+
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
3762
|
+
var ch = s[i];
|
|
3763
|
+
if (brackets[ch]) {
|
|
3764
|
+
expectedBrackets.push(brackets[ch]);
|
|
3765
|
+
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
3766
|
+
return !1;
|
|
3767
|
+
}
|
|
3768
|
+
}
|
|
3769
|
+
return expectedBrackets.length == 0;
|
|
3770
|
+
};
|
|
3771
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat = function(var_args) {
|
|
3772
|
+
var result = "", addArgument = function(argument) {
|
|
3773
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(argument);
|
|
3774
|
+
};
|
|
3775
|
+
Array.prototype.forEach.call(arguments, addArgument);
|
|
3776
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(result);
|
|
3777
|
+
};
|
|
3778
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant = function(styleSheet) {
|
|
3779
|
+
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
3780
|
+
if (styleSheetString.length === 0) {
|
|
3781
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY;
|
|
3782
|
+
}
|
|
3783
|
+
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
3784
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheetString);
|
|
3785
|
+
};
|
|
3786
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap = function(safeStyleSheet) {
|
|
3787
|
+
if (safeStyleSheet instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet && safeStyleSheet.constructor === module$contents$goog$html$SafeStyleSheet_SafeStyleSheet) {
|
|
3788
|
+
return safeStyleSheet.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;
|
|
3789
|
+
}
|
|
3790
|
+
(0,goog.asserts.fail)("expected object of type SafeStyleSheet, got '" + safeStyleSheet + "' of type " + goog.typeOf(safeStyleSheet));
|
|
3791
|
+
return "type_error:SafeStyleSheet";
|
|
3617
3792
|
};
|
|
3618
|
-
module$
|
|
3619
|
-
return
|
|
3793
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse = function(styleSheet) {
|
|
3794
|
+
return new module$contents$goog$html$SafeStyleSheet_SafeStyleSheet(styleSheet, module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
3620
3795
|
};
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3796
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse("");
|
|
3797
|
+
goog.html.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
3798
|
+
var module$exports$goog$html$safestylesheet_internals_for_safevalues = {};
|
|
3799
|
+
module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse;
|
|
3800
|
+
var module$exports$safevalues$internals$style_sheet_impl = {}, module$contents$safevalues$internals$style_sheet_impl_module = module$contents$safevalues$internals$style_sheet_impl_module || {id:"third_party/javascript/safevalues/internals/style_sheet_impl.closure.js"};
|
|
3801
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
3802
|
+
function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet) {
|
|
3803
|
+
return (0,module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet)(styleSheet);
|
|
3624
3804
|
}
|
|
3625
3805
|
module$exports$safevalues$internals$style_sheet_impl.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
3626
3806
|
function module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value) {
|
|
3627
|
-
return value instanceof module$
|
|
3807
|
+
return value instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
3628
3808
|
}
|
|
3629
3809
|
module$exports$safevalues$internals$style_sheet_impl.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
3630
3810
|
function module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(value) {
|
|
3631
|
-
|
|
3632
|
-
return value.privateDoNotAccessOrElseWrappedStyleSheet;
|
|
3633
|
-
}
|
|
3634
|
-
var message = "";
|
|
3635
|
-
goog.DEBUG && (message = "Unexpected type when unwrapping SafeStyleSheet, got '" + value + "' of type '" + typeof value + "'");
|
|
3636
|
-
throw Error(message);
|
|
3811
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(value);
|
|
3637
3812
|
}
|
|
3638
3813
|
module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
3639
3814
|
var module$exports$safevalues$dom$elements$style = {}, module$contents$safevalues$dom$elements$style_module = module$contents$safevalues$dom$elements$style_module || {id:"third_party/javascript/safevalues/dom/elements/style.closure.js"};
|
|
@@ -4732,9 +4907,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
4732
4907
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
4733
4908
|
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"};
|
|
4734
4909
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4735
|
-
var $jscomp$tmp$error$
|
|
4736
|
-
this.message = $jscomp$tmp$error$
|
|
4737
|
-
"stack" in $jscomp$tmp$error$
|
|
4910
|
+
var $jscomp$tmp$error$1153895636$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
4911
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
4912
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
4738
4913
|
this.url = url;
|
|
4739
4914
|
this.typeName = typeName;
|
|
4740
4915
|
this.contentType = contentType;
|
|
@@ -4746,48 +4921,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4746
4921
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4747
4922
|
}
|
|
4748
4923
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4749
|
-
var response, $jscomp$optchain$
|
|
4750
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4751
|
-
if ($jscomp$generator$context$
|
|
4752
|
-
return $jscomp$generator$context$
|
|
4753
|
-
}
|
|
4754
|
-
response = $jscomp$generator$context$
|
|
4755
|
-
mimeType = ($jscomp$optchain$
|
|
4756
|
-
return $jscomp$generator$context$
|
|
4924
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
4925
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
4926
|
+
if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
|
|
4927
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4928
|
+
}
|
|
4929
|
+
response = $jscomp$generator$context$1153895636$29.yieldResult;
|
|
4930
|
+
mimeType = ($jscomp$optchain$tmp1153895636$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmp1153895636$1 = $jscomp$optchain$tmp1153895636$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmp1153895636$2 = $jscomp$optchain$tmp1153895636$1[0]) == null ? void 0 : $jscomp$optchain$tmp1153895636$2.toLowerCase();
|
|
4931
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
4757
4932
|
var text;
|
|
4758
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4759
|
-
if ($jscomp$generator$context$
|
|
4933
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
4934
|
+
if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
|
|
4760
4935
|
if (mimeType !== "text/html") {
|
|
4761
4936
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4762
4937
|
}
|
|
4763
|
-
return $jscomp$generator$context$
|
|
4938
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
4764
4939
|
}
|
|
4765
|
-
text = $jscomp$generator$context$
|
|
4766
|
-
return $jscomp$generator$context$
|
|
4940
|
+
text = $jscomp$generator$context$1153895636$26.yieldResult;
|
|
4941
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4767
4942
|
});
|
|
4768
4943
|
}, script:function() {
|
|
4769
4944
|
var text;
|
|
4770
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4771
|
-
if ($jscomp$generator$context$
|
|
4945
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
4946
|
+
if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
|
|
4772
4947
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4773
4948
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4774
4949
|
}
|
|
4775
|
-
return $jscomp$generator$context$
|
|
4950
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
4776
4951
|
}
|
|
4777
|
-
text = $jscomp$generator$context$
|
|
4778
|
-
return $jscomp$generator$context$
|
|
4952
|
+
text = $jscomp$generator$context$1153895636$27.yieldResult;
|
|
4953
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4779
4954
|
});
|
|
4780
4955
|
}, styleSheet:function() {
|
|
4781
4956
|
var text;
|
|
4782
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4783
|
-
if ($jscomp$generator$context$
|
|
4957
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
4958
|
+
if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
|
|
4784
4959
|
if (mimeType !== "text/css") {
|
|
4785
4960
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4786
4961
|
}
|
|
4787
|
-
return $jscomp$generator$context$
|
|
4962
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
4788
4963
|
}
|
|
4789
|
-
text = $jscomp$generator$context$
|
|
4790
|
-
return $jscomp$generator$context$
|
|
4964
|
+
text = $jscomp$generator$context$1153895636$28.yieldResult;
|
|
4965
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4791
4966
|
});
|
|
4792
4967
|
}});
|
|
4793
4968
|
});
|
|
@@ -6209,25 +6384,25 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6209
6384
|
}
|
|
6210
6385
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6211
6386
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6212
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6213
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6387
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$m125199259$0$ = $jscomp$iter$29.next(); !$jscomp$key$m125199259$0$.done; $jscomp$key$m125199259$0$ = $jscomp$iter$29.next()) {
|
|
6388
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
6214
6389
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6215
6390
|
}
|
|
6216
6391
|
return urlQueryParams;
|
|
6217
6392
|
}
|
|
6218
6393
|
module$exports$eeapiclient$request_params.buildQueryParams = module$contents$eeapiclient$request_params_buildQueryParams;
|
|
6219
|
-
var module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders = ["accept", "accept-language", "content-language"], module$contents$eeapiclient$request_params_simpleCorsAllowedMethods = ["GET", "HEAD", "POST"];
|
|
6394
|
+
var module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders = ["accept", "accept-language", "content-language"], module$contents$eeapiclient$request_params_simpleCorsAllowedMethods = ["GET", "HEAD", "POST"], module$contents$eeapiclient$request_params_simpleCorsAllowedContentTypes = ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"];
|
|
6220
6395
|
module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params) {
|
|
6221
|
-
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
6396
|
+
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6222
6397
|
if (params.headers) {
|
|
6223
6398
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6224
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6225
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6226
|
-
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6399
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$m125199259$1$ = $jscomp$iter$30.next(); !$jscomp$key$m125199259$1$.done; $jscomp$key$m125199259$1$ = $jscomp$iter$30.next()) {
|
|
6400
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6401
|
+
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : key === "Content-Type" && module$contents$eeapiclient$request_params_simpleCorsAllowedContentTypes.includes(value) ? (safeHeaders[key] = value, hasSafeContentType = !0) : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6227
6402
|
}
|
|
6228
6403
|
}
|
|
6229
6404
|
if (params.body != null || params.httpMethod === "PUT" || params.httpMethod === "POST") {
|
|
6230
|
-
hasContentType || (unsafeHeaders["Content-Type"] = "application/json", hasUnsafeHeaders = !0), safeHeaders["Content-Type"] = "text/plain";
|
|
6405
|
+
hasContentType || (unsafeHeaders["Content-Type"] = "application/json", hasUnsafeHeaders = !0), hasSafeContentType || (safeHeaders["Content-Type"] = "text/plain");
|
|
6231
6406
|
}
|
|
6232
6407
|
if (hasUnsafeHeaders) {
|
|
6233
6408
|
var finalParam = (0,module$exports$goog$net$rpc$HttpCors.generateEncodedHttpHeadersOverwriteParam)(unsafeHeaders);
|
|
@@ -6262,9 +6437,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6262
6437
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6263
6438
|
};
|
|
6264
6439
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6265
|
-
var $jscomp$this$
|
|
6440
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6266
6441
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6267
|
-
return $jscomp$this$
|
|
6442
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
6268
6443
|
}));
|
|
6269
6444
|
};
|
|
6270
6445
|
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"};
|
|
@@ -6430,7 +6605,6 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_
|
|
|
6430
6605
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
6431
6606
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
6432
6607
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable = !1;
|
|
6433
|
-
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_direct_reactions__disable = !1;
|
|
6434
6608
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable = !1;
|
|
6435
6609
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable = !1;
|
|
6436
6610
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable = !1;
|
|
@@ -6447,10 +6621,8 @@ var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1,
|
|
|
6447
6621
|
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);
|
|
6448
6622
|
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);
|
|
6449
6623
|
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);
|
|
6450
|
-
goog.flags.
|
|
6451
|
-
goog.flags.
|
|
6452
|
-
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,
|
|
6453
|
-
module$contents$goog$flags_STAGING);
|
|
6624
|
+
goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = 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_flush_queue_fix__disable : goog.readFlagInternalDoNotUseOrElse(644029907, !0);
|
|
6625
|
+
goog.flags.CLIENT_ONLY_WIZ_ORDERED_REACTION_EXECUTION = 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_ordered_reaction_execution__disable : goog.readFlagInternalDoNotUseOrElse(1822726157, !0);
|
|
6454
6626
|
goog.flags.CLIENT_ONLY_WIZ_SYNC_REACTION_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable : goog.readFlagInternalDoNotUseOrElse(661449076, !1);
|
|
6455
6627
|
goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable) : goog.readFlagInternalDoNotUseOrElse(645172343,
|
|
6456
6628
|
module$contents$goog$flags_STAGING);
|
|
@@ -11676,6 +11848,48 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
11676
11848
|
}, set:function(value) {
|
|
11677
11849
|
this.Serializable$set("uris", value);
|
|
11678
11850
|
}}});
|
|
11851
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequestParameters = function() {
|
|
11852
|
+
};
|
|
11853
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest = function(parameters) {
|
|
11854
|
+
parameters = parameters === void 0 ? {} : parameters;
|
|
11855
|
+
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
11856
|
+
this.Serializable$set("imageManifest", parameters.imageManifest == null ? null : parameters.imageManifest);
|
|
11857
|
+
this.Serializable$set("overwrite", parameters.overwrite == null ? null : parameters.overwrite);
|
|
11858
|
+
this.Serializable$set("useLatestObjectVersion", parameters.useLatestObjectVersion == null ? null : parameters.useLatestObjectVersion);
|
|
11859
|
+
};
|
|
11860
|
+
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
11861
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype.getConstructor = function() {
|
|
11862
|
+
return module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest;
|
|
11863
|
+
};
|
|
11864
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype.getPartialClassMetadata = function() {
|
|
11865
|
+
return {keys:["imageManifest", "overwrite", "useLatestObjectVersion"], objects:{imageManifest:module$exports$eeapiclient$ee_api_client.ImageManifest}};
|
|
11866
|
+
};
|
|
11867
|
+
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype, {imageManifest:{configurable:!0, enumerable:!0, get:function() {
|
|
11868
|
+
return this.Serializable$has("imageManifest") ? this.Serializable$get("imageManifest") : null;
|
|
11869
|
+
}, set:function(value) {
|
|
11870
|
+
this.Serializable$set("imageManifest", value);
|
|
11871
|
+
}}, overwrite:{configurable:!0, enumerable:!0, get:function() {
|
|
11872
|
+
return this.Serializable$has("overwrite") ? this.Serializable$get("overwrite") : null;
|
|
11873
|
+
}, set:function(value) {
|
|
11874
|
+
this.Serializable$set("overwrite", value);
|
|
11875
|
+
}}, useLatestObjectVersion:{configurable:!0, enumerable:!0, get:function() {
|
|
11876
|
+
return this.Serializable$has("useLatestObjectVersion") ? this.Serializable$get("useLatestObjectVersion") : null;
|
|
11877
|
+
}, set:function(value) {
|
|
11878
|
+
this.Serializable$set("useLatestObjectVersion", value);
|
|
11879
|
+
}}});
|
|
11880
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponseParameters = function() {
|
|
11881
|
+
};
|
|
11882
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse = function(parameters) {
|
|
11883
|
+
parameters = parameters === void 0 ? {} : parameters;
|
|
11884
|
+
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
11885
|
+
};
|
|
11886
|
+
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse, module$exports$eeapiclient$domain_object.Serializable);
|
|
11887
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse.prototype.getConstructor = function() {
|
|
11888
|
+
return module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse;
|
|
11889
|
+
};
|
|
11890
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse.prototype.getPartialClassMetadata = function() {
|
|
11891
|
+
return {keys:[]};
|
|
11892
|
+
};
|
|
11679
11893
|
module$exports$eeapiclient$ee_api_client.ImportImageRequestParameters = function() {
|
|
11680
11894
|
};
|
|
11681
11895
|
module$exports$eeapiclient$ee_api_client.ImportImageRequest = function(parameters) {
|
|
@@ -14218,6 +14432,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl.prototype.im
|
|
|
14218
14432
|
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
14219
14433
|
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.image.import", path:"/" + this.gapiVersion + "/" + project + "/image:import", queryParams:module$contents$eeapiclient$request_params_buildQueryParams(namedParameters, module$contents$eeapiclient$ee_api_client_PARAM_MAP_0, passthroughNamedParameters), responseCtor:module$exports$eeapiclient$ee_api_client.Operation});
|
|
14220
14434
|
};
|
|
14435
|
+
module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl.prototype.importExternal = function(project, $requestBody, namedParameters, passthroughNamedParameters) {
|
|
14436
|
+
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14437
|
+
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14438
|
+
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
14439
|
+
return this.$apiClient.$request({body:$requestBody, httpMethod:"POST", methodId:"earthengine.projects.image.importExternal", path:"/" + this.gapiVersion + "/" + project + "/image:importExternal", queryParams:module$contents$eeapiclient$request_params_buildQueryParams(namedParameters, module$contents$eeapiclient$ee_api_client_PARAM_MAP_0, passthroughNamedParameters), responseCtor:module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse});
|
|
14440
|
+
};
|
|
14221
14441
|
module$exports$eeapiclient$ee_api_client.ProjectsImageApiClient = function() {
|
|
14222
14442
|
};
|
|
14223
14443
|
module$exports$eeapiclient$ee_api_client.IProjectsImageCollectionApiClient$XgafvEnum = function() {
|
|
@@ -15026,181 +15246,6 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
|
|
|
15026
15246
|
goog.dom.tags.isVoidTag = function(tagName) {
|
|
15027
15247
|
return goog.dom.tags.VOID_TAGS_[tagName] === !0;
|
|
15028
15248
|
};
|
|
15029
|
-
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"};
|
|
15030
|
-
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15031
|
-
module$exports$safevalues$for_closure$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
15032
|
-
module$exports$safevalues$for_closure$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15033
|
-
module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
|
|
15034
|
-
module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
15035
|
-
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15036
|
-
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15037
|
-
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15038
|
-
module$exports$safevalues$for_closure$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15039
|
-
module$exports$safevalues$for_closure$index.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15040
|
-
module$exports$safevalues$for_closure$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15041
|
-
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15042
|
-
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15043
|
-
var module$exports$safevalues$for_closure = {};
|
|
15044
|
-
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15045
|
-
module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
15046
|
-
module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15047
|
-
module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
|
|
15048
|
-
module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
|
|
15049
|
-
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15050
|
-
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15051
|
-
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15052
|
-
module$exports$safevalues$for_closure.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15053
|
-
module$exports$safevalues$for_closure.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15054
|
-
module$exports$safevalues$for_closure.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15055
|
-
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15056
|
-
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15057
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
|
|
15058
|
-
var styleString = goog.string.Const.unwrap(style);
|
|
15059
|
-
if (styleString.length === 0) {
|
|
15060
|
-
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15061
|
-
}
|
|
15062
|
-
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
15063
|
-
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
15064
|
-
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
15065
|
-
};
|
|
15066
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
15067
|
-
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
15068
|
-
};
|
|
15069
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
|
|
15070
|
-
var style = "", name;
|
|
15071
|
-
for (name in map) {
|
|
15072
|
-
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
15073
|
-
if (!/^[-_a-zA-Z0-9]+$/.test(name)) {
|
|
15074
|
-
throw Error("Name allows only [-_a-zA-Z0-9], got: " + name);
|
|
15075
|
-
}
|
|
15076
|
-
var value = map[name];
|
|
15077
|
-
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 + ";");
|
|
15078
|
-
}
|
|
15079
|
-
}
|
|
15080
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15081
|
-
};
|
|
15082
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
15083
|
-
var style = "", addArgument = function(argument) {
|
|
15084
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
15085
|
-
};
|
|
15086
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
15087
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15088
|
-
};
|
|
15089
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
|
|
15090
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
15091
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
15092
|
-
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
15093
|
-
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
15094
|
-
}
|
|
15095
|
-
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
15096
|
-
if (/[{;}]/.test(result)) {
|
|
15097
|
-
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
15098
|
-
}
|
|
15099
|
-
return result;
|
|
15100
|
-
}
|
|
15101
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
|
|
15102
|
-
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");
|
|
15103
|
-
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
15104
|
-
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
15105
|
-
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15106
|
-
}
|
|
15107
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
15108
|
-
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15109
|
-
}
|
|
15110
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
15111
|
-
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;
|
|
15112
|
-
}
|
|
15113
|
-
} else {
|
|
15114
|
-
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;
|
|
15115
|
-
}
|
|
15116
|
-
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
15117
|
-
}
|
|
15118
|
-
function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
|
|
15119
|
-
for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
|
|
15120
|
-
var c = value.charAt(i);
|
|
15121
|
-
c == "'" && outsideDouble ? outsideSingle = !outsideSingle : c == '"' && outsideSingle && (outsideDouble = !outsideDouble);
|
|
15122
|
-
}
|
|
15123
|
-
return outsideSingle && outsideDouble;
|
|
15124
|
-
}
|
|
15125
|
-
function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
|
|
15126
|
-
for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
|
|
15127
|
-
var c = value.charAt(i);
|
|
15128
|
-
if (c == "]") {
|
|
15129
|
-
if (outside) {
|
|
15130
|
-
return !1;
|
|
15131
|
-
}
|
|
15132
|
-
outside = !0;
|
|
15133
|
-
} else if (c == "[") {
|
|
15134
|
-
if (!outside) {
|
|
15135
|
-
return !1;
|
|
15136
|
-
}
|
|
15137
|
-
outside = !1;
|
|
15138
|
-
} else if (!outside && !tokenRe.test(c)) {
|
|
15139
|
-
return !1;
|
|
15140
|
-
}
|
|
15141
|
-
}
|
|
15142
|
-
return outside;
|
|
15143
|
-
}
|
|
15144
|
-
var module$contents$goog$html$SafeStyle_VALUE_RE = RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"), module$contents$goog$html$SafeStyle_URL_RE = RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))", "g"), module$contents$goog$html$SafeStyle_FUNCTIONS_RE = RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)", "g"), module$contents$goog$html$SafeStyle_COMMENT_RE =
|
|
15145
|
-
/\/\*/;
|
|
15146
|
-
function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
15147
|
-
return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
|
|
15148
|
-
var quote = "";
|
|
15149
|
-
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
|
|
15150
|
-
quote = start;
|
|
15151
|
-
return inside;
|
|
15152
|
-
});
|
|
15153
|
-
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
15154
|
-
return before + quote + sanitized + quote + after;
|
|
15155
|
-
});
|
|
15156
|
-
}
|
|
15157
|
-
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15158
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.createRule = function(selector, style) {
|
|
15159
|
-
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
15160
|
-
throw Error("Selector does not allow '<', got: " + selector);
|
|
15161
|
-
}
|
|
15162
|
-
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
15163
|
-
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
15164
|
-
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
15165
|
-
}
|
|
15166
|
-
if (!module$contents$goog$html$SafeStyleSheet_hasBalancedBrackets(selectorToCheck)) {
|
|
15167
|
-
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
15168
|
-
}
|
|
15169
|
-
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
|
|
15170
|
-
var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
15171
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
|
|
15172
|
-
};
|
|
15173
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.concat = function(var_args) {
|
|
15174
|
-
var result = "", addArgument = function(argument) {
|
|
15175
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap(argument);
|
|
15176
|
-
};
|
|
15177
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
15178
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(result);
|
|
15179
|
-
};
|
|
15180
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.fromConstant = function(styleSheet) {
|
|
15181
|
-
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
15182
|
-
if (styleSheetString.length === 0) {
|
|
15183
|
-
return module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.EMPTY;
|
|
15184
|
-
}
|
|
15185
|
-
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
15186
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheetString);
|
|
15187
|
-
};
|
|
15188
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap = function(safeStyleSheet) {
|
|
15189
|
-
return module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
|
|
15190
|
-
};
|
|
15191
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.EMPTY = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal("");
|
|
15192
|
-
function module$contents$goog$html$SafeStyleSheet_hasBalancedBrackets(s) {
|
|
15193
|
-
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
15194
|
-
var ch = s[i];
|
|
15195
|
-
if (brackets[ch]) {
|
|
15196
|
-
expectedBrackets.push(brackets[ch]);
|
|
15197
|
-
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
15198
|
-
return !1;
|
|
15199
|
-
}
|
|
15200
|
-
}
|
|
15201
|
-
return expectedBrackets.length == 0;
|
|
15202
|
-
}
|
|
15203
|
-
goog.html.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15204
15249
|
module$exports$safevalues$internals$html_impl.SafeHtml.unwrap = function(safeHtml) {
|
|
15205
15250
|
return (0,module$exports$safevalues$for_closure$index.unwrapHtml)(safeHtml).toString();
|
|
15206
15251
|
};
|
|
@@ -15267,7 +15312,7 @@ module$exports$safevalues$internals$html_impl.SafeHtml.createStyle = function(st
|
|
|
15267
15312
|
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({type:"text/css"}, {}, attributes), content = "";
|
|
15268
15313
|
styleSheet = module$contents$goog$array_concat(styleSheet);
|
|
15269
15314
|
for (var i = 0; i < styleSheet.length; i++) {
|
|
15270
|
-
content += module$
|
|
15315
|
+
content += module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(styleSheet[i]);
|
|
15271
15316
|
}
|
|
15272
15317
|
var htmlContent = (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(content);
|
|
15273
15318
|
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
|
|
@@ -15614,8 +15659,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15614
15659
|
this.replacements = new Map();
|
|
15615
15660
|
};
|
|
15616
15661
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15617
|
-
var $jscomp$this$
|
|
15618
|
-
return $jscomp$this$
|
|
15662
|
+
var $jscomp$this$1018007701$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
15663
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
15619
15664
|
});
|
|
15620
15665
|
if (openedTags.length !== 0) {
|
|
15621
15666
|
if (goog.DEBUG) {
|
|
@@ -15833,8 +15878,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
15833
15878
|
if (Array.isArray(token)) {
|
|
15834
15879
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
15835
15880
|
} else {
|
|
15836
|
-
var $jscomp$optchain$
|
|
15837
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
15881
|
+
var $jscomp$optchain$tmpm282935782$0 = void 0;
|
|
15882
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm282935782$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm282935782$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
15838
15883
|
tokens.push(token);
|
|
15839
15884
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
15840
15885
|
return tokens;
|
|
@@ -16080,9 +16125,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16080
16125
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16081
16126
|
};
|
|
16082
16127
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16083
|
-
var $jscomp$this$
|
|
16128
|
+
var $jscomp$this$m282935782$26 = this;
|
|
16084
16129
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16085
|
-
return $jscomp$this$
|
|
16130
|
+
return $jscomp$this$m282935782$26.isWhitespace(c);
|
|
16086
16131
|
});
|
|
16087
16132
|
};
|
|
16088
16133
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16189,8 +16234,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16189
16234
|
return null;
|
|
16190
16235
|
}
|
|
16191
16236
|
if (token.lowercaseName === "url") {
|
|
16192
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16193
|
-
if ((($jscomp$optchain$
|
|
16237
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
|
|
16238
|
+
if ((($jscomp$optchain$tmpm1577590584$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1577590584$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16194
16239
|
return null;
|
|
16195
16240
|
}
|
|
16196
16241
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16213,8 +16258,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16213
16258
|
if (!this.allowKeyframes) {
|
|
16214
16259
|
return null;
|
|
16215
16260
|
}
|
|
16216
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16217
|
-
var rule = $jscomp$key$
|
|
16261
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1577590584$1$rule.done; $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next()) {
|
|
16262
|
+
var rule = $jscomp$key$m1577590584$1$rule.value;
|
|
16218
16263
|
if (rule instanceof CSSKeyframeRule) {
|
|
16219
16264
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16220
16265
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16226,8 +16271,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16226
16271
|
if (!this.propertyAllowlist.has(name)) {
|
|
16227
16272
|
return !1;
|
|
16228
16273
|
}
|
|
16229
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16230
|
-
var discarder = $jscomp$key$
|
|
16274
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1577590584$2$discarder.done; $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next()) {
|
|
16275
|
+
var discarder = $jscomp$key$m1577590584$2$discarder.value;
|
|
16231
16276
|
if (discarder(name)) {
|
|
16232
16277
|
return !1;
|
|
16233
16278
|
}
|
|
@@ -16242,8 +16287,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16242
16287
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16243
16288
|
};
|
|
16244
16289
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16245
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16246
|
-
var name = $jscomp$key$
|
|
16290
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1577590584$3$name.done; $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next()) {
|
|
16291
|
+
var name = $jscomp$key$m1577590584$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16247
16292
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16248
16293
|
}
|
|
16249
16294
|
return sanitizedProperties;
|
|
@@ -16257,8 +16302,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16257
16302
|
return selector + " { " + sanitizedProperties + " }";
|
|
16258
16303
|
};
|
|
16259
16304
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16260
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16261
|
-
var rule = $jscomp$key$
|
|
16305
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1577590584$4$rule.done; $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next()) {
|
|
16306
|
+
var rule = $jscomp$key$m1577590584$4$rule.value;
|
|
16262
16307
|
if (rule instanceof CSSStyleRule) {
|
|
16263
16308
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16264
16309
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16419,8 +16464,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16419
16464
|
return fragment;
|
|
16420
16465
|
};
|
|
16421
16466
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16422
|
-
for (var $jscomp$this$
|
|
16423
|
-
return $jscomp$this$
|
|
16467
|
+
for (var $jscomp$this$m1085474118$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
16468
|
+
return $jscomp$this$m1085474118$13.nodeFilter(n);
|
|
16424
16469
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16425
16470
|
var sanitizedNode = void 0;
|
|
16426
16471
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16455,8 +16500,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16455
16500
|
return this.createTextNode(textNode.data);
|
|
16456
16501
|
};
|
|
16457
16502
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16458
|
-
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$
|
|
16459
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
16503
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1085474118$34$.done; $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next()) {
|
|
16504
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1085474118$34$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
16460
16505
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16461
16506
|
switch(policy.policyAction) {
|
|
16462
16507
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16488,9 +16533,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16488
16533
|
break;
|
|
16489
16534
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16490
16535
|
if (this.resourceUrlPolicy) {
|
|
16491
|
-
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$
|
|
16536
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1085474118$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1085474118$33$part.done; $jscomp$key$m1085474118$33$part =
|
|
16492
16537
|
$jscomp$iter$35.next()) {
|
|
16493
|
-
var part = $jscomp$key$
|
|
16538
|
+
var part = $jscomp$key$m1085474118$33$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
16494
16539
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16495
16540
|
}
|
|
16496
16541
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16534,8 +16579,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16534
16579
|
if (!conditions) {
|
|
16535
16580
|
return !0;
|
|
16536
16581
|
}
|
|
16537
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
16538
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16582
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1085474118$35$.done; $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next()) {
|
|
16583
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
16539
16584
|
if (value && !expectedValues.has(value)) {
|
|
16540
16585
|
return !1;
|
|
16541
16586
|
}
|
|
@@ -16550,8 +16595,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
16550
16595
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
16551
16596
|
};
|
|
16552
16597
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16553
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
16554
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16598
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1085474118$36$part.done; $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next()) {
|
|
16599
|
+
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$36$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var34.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var34.next().value;
|
|
16555
16600
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
16556
16601
|
}
|
|
16557
16602
|
return {parts:parts};
|
|
@@ -16608,8 +16653,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16608
16653
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
16609
16654
|
};
|
|
16610
16655
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
16611
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
16612
|
-
var element = $jscomp$key$
|
|
16656
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$435282654$21$element = $jscomp$iter$39.next(); !$jscomp$key$435282654$21$element.done; $jscomp$key$435282654$21$element = $jscomp$iter$39.next()) {
|
|
16657
|
+
var element = $jscomp$key$435282654$21$element.value;
|
|
16613
16658
|
element = element.toUpperCase();
|
|
16614
16659
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
16615
16660
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -16627,8 +16672,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16627
16672
|
throw Error("Element: " + element + " is not a custom element");
|
|
16628
16673
|
}
|
|
16629
16674
|
if (allowedAttributes) {
|
|
16630
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
16631
|
-
elementPolicy.set($jscomp$key$
|
|
16675
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$435282654$22$attribute = $jscomp$iter$40.next(); !$jscomp$key$435282654$22$attribute.done; $jscomp$key$435282654$22$attribute = $jscomp$iter$40.next()) {
|
|
16676
|
+
elementPolicy.set($jscomp$key$435282654$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
16632
16677
|
}
|
|
16633
16678
|
allowedElementPolicies.set(element, elementPolicy);
|
|
16634
16679
|
} else {
|
|
@@ -16638,15 +16683,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16638
16683
|
return this;
|
|
16639
16684
|
};
|
|
16640
16685
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
16641
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
16642
|
-
var attribute = $jscomp$key$
|
|
16686
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$435282654$23$attribute = $jscomp$iter$41.next(); !$jscomp$key$435282654$23$attribute.done; $jscomp$key$435282654$23$attribute = $jscomp$iter$41.next()) {
|
|
16687
|
+
var attribute = $jscomp$key$435282654$23$attribute.value;
|
|
16643
16688
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
16644
16689
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
16645
16690
|
}
|
|
16646
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
16647
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16691
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$25$ = $jscomp$iter$43.next(); !$jscomp$key$435282654$25$.done; $jscomp$key$435282654$25$ = $jscomp$iter$43.next()) {
|
|
16692
|
+
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$435282654$25$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var37.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var37.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$24$ = $jscomp$iter$42.next(); !$jscomp$key$435282654$24$.done; $jscomp$key$435282654$24$ =
|
|
16648
16693
|
$jscomp$iter$42.next()) {
|
|
16649
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16694
|
+
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$435282654$24$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var39.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var39.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
16650
16695
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
16651
16696
|
}
|
|
16652
16697
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -16655,8 +16700,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16655
16700
|
return this;
|
|
16656
16701
|
};
|
|
16657
16702
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
16658
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
16659
|
-
var attribute = $jscomp$key$
|
|
16703
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$435282654$26$attribute = $jscomp$iter$44.next(); !$jscomp$key$435282654$26$attribute.done; $jscomp$key$435282654$26$attribute = $jscomp$iter$44.next()) {
|
|
16704
|
+
var attribute = $jscomp$key$435282654$26$attribute.value;
|
|
16660
16705
|
if (attribute.indexOf("data-") !== 0) {
|
|
16661
16706
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
16662
16707
|
}
|
|
@@ -16718,7 +16763,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
16718
16763
|
return this;
|
|
16719
16764
|
};
|
|
16720
16765
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
16721
|
-
var $jscomp$this$
|
|
16766
|
+
var $jscomp$this$435282654$17 = this;
|
|
16722
16767
|
this.extendSanitizerTableForCss();
|
|
16723
16768
|
var propertyDiscarders = [];
|
|
16724
16769
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -16728,9 +16773,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
16728
16773
|
return /^transition(-|$)/.test(property);
|
|
16729
16774
|
});
|
|
16730
16775
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
16731
|
-
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$
|
|
16776
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$17.resourceUrlPolicy, $jscomp$this$435282654$17.animationsAllowed, propertyDiscarders);
|
|
16732
16777
|
}, function(cssText) {
|
|
16733
|
-
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$
|
|
16778
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$17.resourceUrlPolicy, propertyDiscarders);
|
|
16734
16779
|
}, this.resourceUrlPolicy);
|
|
16735
16780
|
};
|
|
16736
16781
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -16790,9 +16835,11 @@ function module$contents$safevalues$builders$resource_url_builders_isValidPathSt
|
|
|
16790
16835
|
function module$contents$safevalues$builders$resource_url_builders_isValidRelativePathStart(base) {
|
|
16791
16836
|
return RegExp("^[^:\\s\\\\/]+/").test(base);
|
|
16792
16837
|
}
|
|
16838
|
+
function module$contents$safevalues$builders$resource_url_builders_UrlSegments() {
|
|
16839
|
+
}
|
|
16793
16840
|
function module$contents$safevalues$builders$resource_url_builders_getUrlSegments(url) {
|
|
16794
|
-
var
|
|
16795
|
-
return {
|
|
16841
|
+
var parts = url.split(/\?|#/), params = /\?/.test(url) ? "?" + parts[1] : "";
|
|
16842
|
+
return {urlPath:parts[0], params:params, fragment:/#/.test(url) ? "#" + (params ? parts[2] : parts[1]) : ""};
|
|
16796
16843
|
}
|
|
16797
16844
|
function module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl(templateObj) {
|
|
16798
16845
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
@@ -16815,26 +16862,36 @@ function module$contents$safevalues$builders$resource_url_builders_trustedResour
|
|
|
16815
16862
|
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url);
|
|
16816
16863
|
}
|
|
16817
16864
|
module$exports$safevalues$builders$resource_url_builders.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
16865
|
+
var module$contents$safevalues$builders$resource_url_builders_IterableEntries, module$contents$safevalues$builders$resource_url_builders_SearchParams;
|
|
16818
16866
|
function module$contents$safevalues$builders$resource_url_builders_appendParams(trustedUrl, params) {
|
|
16867
|
+
function addParam(value, key) {
|
|
16868
|
+
value != null && (module$contents$safevalues$builders$resource_url_builders_isArray(value) ? value.forEach(function(v) {
|
|
16869
|
+
return addParam(v, key);
|
|
16870
|
+
}) : (urlParams += separator + encodeURIComponent(key) + "=" + encodeURIComponent(value), separator = "&"));
|
|
16871
|
+
}
|
|
16819
16872
|
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString()), urlParams = urlSegments.params, separator = urlParams.length ? "&" : "?";
|
|
16820
|
-
params.
|
|
16821
|
-
|
|
16822
|
-
|
|
16823
|
-
|
|
16824
|
-
|
|
16825
|
-
});
|
|
16826
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(urlSegments.path + urlParams + urlSegments.hash);
|
|
16873
|
+
module$contents$safevalues$builders$resource_url_builders_isPlainObject(params) && (params = Object.entries(params));
|
|
16874
|
+
module$contents$safevalues$builders$resource_url_builders_isArray(params) ? params.forEach(function(pair) {
|
|
16875
|
+
return addParam(pair[1], pair[0]);
|
|
16876
|
+
}) : params.forEach(addParam);
|
|
16877
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(urlSegments.urlPath + urlParams + urlSegments.fragment);
|
|
16827
16878
|
}
|
|
16828
16879
|
module$exports$safevalues$builders$resource_url_builders.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
16880
|
+
function module$contents$safevalues$builders$resource_url_builders_isArray(x) {
|
|
16881
|
+
return Array.isArray(x);
|
|
16882
|
+
}
|
|
16883
|
+
function module$contents$safevalues$builders$resource_url_builders_isPlainObject(x) {
|
|
16884
|
+
return x.constructor === Object;
|
|
16885
|
+
}
|
|
16829
16886
|
var module$contents$safevalues$builders$resource_url_builders_BEFORE_FRAGMENT_REGEXP = /[^#]*/;
|
|
16830
16887
|
function module$contents$safevalues$builders$resource_url_builders_replaceFragment(trustedUrl, fragment) {
|
|
16831
16888
|
var urlString = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString();
|
|
16832
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(module$contents$safevalues$builders$resource_url_builders_BEFORE_FRAGMENT_REGEXP.exec(urlString)[0] + "#" + fragment);
|
|
16889
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(module$contents$safevalues$builders$resource_url_builders_BEFORE_FRAGMENT_REGEXP.exec(urlString)[0] + (fragment.trim() ? "#" + fragment : ""));
|
|
16833
16890
|
}
|
|
16834
16891
|
module$exports$safevalues$builders$resource_url_builders.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
16835
16892
|
function module$contents$safevalues$builders$resource_url_builders_appendPathSegment(trustedUrl, pathSegment) {
|
|
16836
|
-
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString()), separator = urlSegments.
|
|
16837
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(newPath + urlSegments.params + urlSegments.
|
|
16893
|
+
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString()), separator = urlSegments.urlPath.slice(-1) === "/" ? "" : "/", newPath = urlSegments.urlPath + separator + encodeURIComponent(pathSegment);
|
|
16894
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(newPath + urlSegments.params + urlSegments.fragment);
|
|
16838
16895
|
}
|
|
16839
16896
|
module$exports$safevalues$builders$resource_url_builders.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
16840
16897
|
function module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript(safeScript) {
|
|
@@ -16959,12 +17016,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16959
17016
|
}
|
|
16960
17017
|
try {
|
|
16961
17018
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16962
|
-
} catch ($jscomp$unused$catch$
|
|
17019
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
16963
17020
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16964
17021
|
}
|
|
16965
17022
|
try {
|
|
16966
17023
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16967
|
-
} catch ($jscomp$unused$catch$
|
|
17024
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
16968
17025
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16969
17026
|
}
|
|
16970
17027
|
return !1;
|
|
@@ -17049,7 +17106,7 @@ module$exports$safevalues$index.unwrapScript = module$contents$safevalues$intern
|
|
|
17049
17106
|
module$exports$safevalues$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
17050
17107
|
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
17051
17108
|
module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
17052
|
-
module$exports$safevalues$index.SafeStyleSheet = module$
|
|
17109
|
+
module$exports$safevalues$index.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
17053
17110
|
module$exports$safevalues$index.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
17054
17111
|
module$exports$safevalues$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
17055
17112
|
module$exports$safevalues$index.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
@@ -19047,6 +19104,82 @@ goog.async.Deferred.assertNoErrors = function() {
|
|
|
19047
19104
|
error.throwError();
|
|
19048
19105
|
}
|
|
19049
19106
|
};
|
|
19107
|
+
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
19108
|
+
safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
19109
|
+
safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
19110
|
+
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
19111
|
+
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
19112
|
+
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
19113
|
+
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
19114
|
+
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
19115
|
+
safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
|
|
19116
|
+
safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
|
|
19117
|
+
safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
19118
|
+
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
19119
|
+
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
19120
|
+
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
19121
|
+
safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
|
|
19122
|
+
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
19123
|
+
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
19124
|
+
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
19125
|
+
safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
19126
|
+
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
19127
|
+
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
19128
|
+
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
19129
|
+
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
19130
|
+
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
19131
|
+
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
19132
|
+
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
19133
|
+
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
19134
|
+
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
19135
|
+
safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
19136
|
+
safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
19137
|
+
safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
19138
|
+
safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
19139
|
+
safevalues.safeScript = module$contents$safevalues$builders$script_builders_safeScript;
|
|
19140
|
+
safevalues.safeScriptWithArgs = module$contents$safevalues$builders$script_builders_safeScriptWithArgs;
|
|
19141
|
+
safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_valueAsScript;
|
|
19142
|
+
safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
19143
|
+
safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
19144
|
+
safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
19145
|
+
safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
19146
|
+
safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
19147
|
+
safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
19148
|
+
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
19149
|
+
safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
19150
|
+
safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
19151
|
+
safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
19152
|
+
safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
19153
|
+
safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
19154
|
+
safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
19155
|
+
safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
19156
|
+
safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
19157
|
+
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
19158
|
+
safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
19159
|
+
safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
19160
|
+
safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
19161
|
+
safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
19162
|
+
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19163
|
+
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
19164
|
+
safevalues.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
19165
|
+
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19166
|
+
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
19167
|
+
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
19168
|
+
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
19169
|
+
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
19170
|
+
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
19171
|
+
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
19172
|
+
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19173
|
+
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19174
|
+
safevalues.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
19175
|
+
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19176
|
+
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
19177
|
+
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
19178
|
+
safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
19179
|
+
safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
19180
|
+
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
19181
|
+
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
19182
|
+
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
19050
19183
|
goog.net = {};
|
|
19051
19184
|
goog.net.jsloader = {};
|
|
19052
19185
|
goog.net.jsloader.Options = {};
|
|
@@ -19072,7 +19205,7 @@ goog.net.jsloader.safeLoadMany = function(trustedUris, opt_options) {
|
|
|
19072
19205
|
return goog.net.jsloader.scriptLoadingDeferred_;
|
|
19073
19206
|
};
|
|
19074
19207
|
goog.net.jsloader.safeLoad = function(trustedUri, opt_options) {
|
|
19075
|
-
var options = opt_options || {}, doc = options.document || document, uri = module$contents$
|
|
19208
|
+
var options = opt_options || {}, doc = options.document || document, uri = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUri).toString(), script = (new goog.dom.DomHelper(doc)).createElement(goog.dom.TagName.SCRIPT), request = {script_:script, timeout_:void 0}, deferred = new goog.async.Deferred(goog.net.jsloader.cancel_, request), timeout = null, timeoutDuration = options.timeout != null ? options.timeout : goog.net.jsloader.DEFAULT_TIMEOUT;
|
|
19076
19209
|
timeoutDuration > 0 && (timeout = window.setTimeout(function() {
|
|
19077
19210
|
goog.net.jsloader.cleanup_(script, !0);
|
|
19078
19211
|
deferred.errback(new goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.TIMEOUT, "Timeout reached for loading script " + uri));
|
|
@@ -19087,13 +19220,13 @@ goog.net.jsloader.safeLoad = function(trustedUri, opt_options) {
|
|
|
19087
19220
|
var properties = options.attributes || {};
|
|
19088
19221
|
module$contents$goog$object_extend(properties, {type:"text/javascript", charset:"UTF-8"});
|
|
19089
19222
|
goog.dom.setProperties(script, properties);
|
|
19090
|
-
|
|
19223
|
+
module$exports$safevalues$dom$elements$script.setSrc(script, trustedUri);
|
|
19091
19224
|
goog.net.jsloader.getScriptParentElement_(doc).appendChild(script);
|
|
19092
19225
|
return deferred;
|
|
19093
19226
|
};
|
|
19094
19227
|
goog.net.jsloader.safeLoadAndVerify = function(trustedUri, verificationObjName, options) {
|
|
19095
19228
|
goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_] || (goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_] = {});
|
|
19096
|
-
var verifyObjs = goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_], uri = module$contents$
|
|
19229
|
+
var verifyObjs = goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_], uri = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUri).toString();
|
|
19097
19230
|
if (verifyObjs[verificationObjName] !== void 0) {
|
|
19098
19231
|
return goog.async.Deferred.fail(new goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.VERIFY_OBJECT_ALREADY_EXISTS, "Verification object " + verificationObjName + " already defined."));
|
|
19099
19232
|
}
|
|
@@ -19753,87 +19886,11 @@ goog.net.XhrIo.prototype.formatMsg_ = function(msg) {
|
|
|
19753
19886
|
goog.debug.entryPointRegistry.register(function(transformer) {
|
|
19754
19887
|
goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_ = transformer(goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_);
|
|
19755
19888
|
});
|
|
19756
|
-
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
19757
|
-
safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
19758
|
-
safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
19759
|
-
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
19760
|
-
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
19761
|
-
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
19762
|
-
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
19763
|
-
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
19764
|
-
safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
|
|
19765
|
-
safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
|
|
19766
|
-
safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
19767
|
-
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
19768
|
-
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
19769
|
-
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
19770
|
-
safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
|
|
19771
|
-
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
19772
|
-
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
19773
|
-
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
19774
|
-
safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
19775
|
-
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
19776
|
-
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
19777
|
-
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
19778
|
-
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
19779
|
-
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
19780
|
-
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
19781
|
-
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
19782
|
-
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
19783
|
-
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
19784
|
-
safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
19785
|
-
safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
19786
|
-
safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
19787
|
-
safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
19788
|
-
safevalues.safeScript = module$contents$safevalues$builders$script_builders_safeScript;
|
|
19789
|
-
safevalues.safeScriptWithArgs = module$contents$safevalues$builders$script_builders_safeScriptWithArgs;
|
|
19790
|
-
safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_valueAsScript;
|
|
19791
|
-
safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
19792
|
-
safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
19793
|
-
safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
19794
|
-
safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
19795
|
-
safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
19796
|
-
safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
19797
|
-
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
19798
|
-
safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
19799
|
-
safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
19800
|
-
safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
19801
|
-
safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
19802
|
-
safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
19803
|
-
safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
19804
|
-
safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
19805
|
-
safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
19806
|
-
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
19807
|
-
safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
19808
|
-
safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
19809
|
-
safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
19810
|
-
safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
19811
|
-
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19812
|
-
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
19813
|
-
safevalues.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
19814
|
-
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19815
|
-
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
19816
|
-
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
19817
|
-
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
19818
|
-
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
19819
|
-
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
19820
|
-
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
19821
|
-
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19822
|
-
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19823
|
-
safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
19824
|
-
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19825
|
-
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
19826
|
-
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
19827
|
-
safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
19828
|
-
safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
19829
|
-
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
19830
|
-
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
19831
|
-
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
19832
19889
|
var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["https://accounts.google.com/gsi/client"]);
|
|
19833
19890
|
ee.apiclient = {};
|
|
19834
19891
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19835
19892
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19836
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19893
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.419";
|
|
19837
19894
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19838
19895
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19839
19896
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -20131,8 +20188,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
20131
20188
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
20132
20189
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
20133
20190
|
method = method || "POST";
|
|
20134
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
20135
|
-
version === "0.1.
|
|
20191
|
+
var headers = {"Content-Type":contentType}, version = "0.1.419";
|
|
20192
|
+
version === "0.1.419" && (version = "latest");
|
|
20136
20193
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
20137
20194
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
20138
20195
|
if (authToken != null) {
|
|
@@ -26193,7 +26250,7 @@ goog.style.installSafeStyleSheet = function(safeStyleSheet, opt_node) {
|
|
|
26193
26250
|
head = dh.createDom(goog.dom.TagName.HEAD);
|
|
26194
26251
|
body.parentNode.insertBefore(head, body);
|
|
26195
26252
|
}
|
|
26196
|
-
var el = dh.createDom(goog.dom.TagName.STYLE), nonce =
|
|
26253
|
+
var el = dh.createDom(goog.dom.TagName.STYLE), nonce = module$exports$safevalues$dom$globals$window.getStyleNonce(window);
|
|
26197
26254
|
nonce && el.setAttribute("nonce", nonce);
|
|
26198
26255
|
goog.style.setSafeStyleSheet(el, safeStyleSheet);
|
|
26199
26256
|
dh.appendChild(head, el);
|
|
@@ -26203,7 +26260,7 @@ goog.style.uninstallStyles = function(styleSheet) {
|
|
|
26203
26260
|
goog.dom.removeNode(styleSheet.ownerNode || styleSheet.owningElement || styleSheet);
|
|
26204
26261
|
};
|
|
26205
26262
|
goog.style.setSafeStyleSheet = function(element, safeStyleSheet) {
|
|
26206
|
-
var stylesString = module$
|
|
26263
|
+
var stylesString = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
|
|
26207
26264
|
goog.global.trustedTypes ? goog.dom.setTextContent(element, stylesString) : element.innerHTML = stylesString;
|
|
26208
26265
|
};
|
|
26209
26266
|
goog.style.setPreWrap = function(el) {
|
|
@@ -27661,29 +27718,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27661
27718
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27662
27719
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27663
27720
|
(function() {
|
|
27664
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27665
|
-
orderedParamLists = [["name"
|
|
27666
|
-
|
|
27667
|
-
"collection opt_description
|
|
27668
|
-
"collection opt_description opt_assetId
|
|
27669
|
-
"
|
|
27670
|
-
"
|
|
27671
|
-
["
|
|
27672
|
-
|
|
27673
|
-
["json"], ["
|
|
27674
|
-
["opt_callback"], ["
|
|
27675
|
-
"
|
|
27676
|
-
|
|
27677
|
-
["
|
|
27678
|
-
[ee.ApiFunction.
|
|
27679
|
-
module$contents$ee$batch_Export.
|
|
27680
|
-
ee.ComputedObject.prototype.
|
|
27681
|
-
ee.data.
|
|
27682
|
-
ee.data.
|
|
27683
|
-
ee.reset, ee.
|
|
27684
|
-
ee.Filter.
|
|
27685
|
-
ee.Image.prototype.
|
|
27686
|
-
ee.ImageCollection.prototype.
|
|
27721
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call 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.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.Collection.prototype.sort ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.limit ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.filter ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.setWorkloadTag ee.data.authenticate ee.data.getTileUrl ee.data.getTableDownloadId ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.listImages ee.data.listOperations ee.data.getDownloadId ee.data.getAssetRoots ee.data.cancelOperation ee.data.authenticateViaPopup ee.data.getAsset ee.data.createAssetHome ee.data.makeDownloadUrl ee.data.getFeatureViewTilesKey ee.data.listFeatures ee.data.setDefaultWorkloadTag ee.data.getInfo ee.data.createAsset ee.data.resetWorkloadTag ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.updateAsset ee.data.newTaskId ee.data.computeValue ee.data.getThumbId ee.data.cancelTask ee.data.getList ee.data.createFolder ee.data.setAssetAcl ee.data.getVideoThumbId ee.data.startIngestion ee.data.updateTask ee.data.getTaskStatus ee.data.renameAsset ee.data.getFilmstripThumbId ee.data.startProcessing ee.data.listAssets ee.data.setAssetProperties ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.copyAsset ee.data.listBuckets ee.data.getAssetRootQuota ee.data.getMapId ee.data.deleteAsset ee.data.getTaskList ee.data.startTableIngestion ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.Filter.neq ee.Filter.and ee.Filter.lt ee.Filter.gt ee.Filter.metadata ee.Filter.inList ee.Filter.prototype.not ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.bounds ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSON ee.Geometry.BBox ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Geometry.prototype.toGeoJSONString ee.Geometry ee.Geometry.LineString ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry.Polygon ee.Geometry.MultiLineString ee.Image.prototype.getThumbURL ee.Image.prototype.select ee.Image ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.cat ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.prototype.clip ee.Image.prototype.getMapId ee.Image.prototype.getInfo ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.linkCollection ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
27722
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "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(" "),
|
|
27723
|
+
"image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),
|
|
27724
|
+
"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
27725
|
+
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "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(" "),
|
|
27726
|
+
["property", "opt_ascending"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["name", "operator", "value"], ["max", "opt_property", "opt_ascending"], ["geometry"], ["start", "opt_end"], ["filter"], ["func", "var_args"], ["callback"], ["opt_callback"], ["legacy"], ["tag"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["id", "x", "y", "z"], ["params", "opt_callback"], ["assetId", "opt_callback"], [], ["id"], ["opt_limit", "opt_callback"], ["parent",
|
|
27727
|
+
"opt_params", "opt_callback"], ["opt_limit", "opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["operationName", "opt_callback"], ["opt_success", "opt_error"], ["id", "opt_callback"], ["requestedId", "opt_callback"], ["id"], ["params", "opt_callback"], ["asset", "params", "opt_callback"], ["tag"], ["id", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["opt_resetDefault"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"],
|
|
27728
|
+
["operationName", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["opt_count", "opt_callback"], ["obj", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["taskId", "action", "opt_callback"], ["taskId", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["params",
|
|
27729
|
+
"opt_callback"], ["taskId", "params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["project", "opt_callback"], ["rootId", "opt_callback"], ["params", "opt_callback"], ["assetId", "opt_callback"], ["opt_callback"], ["taskId", "request", "opt_callback"], ["date", "opt_tz"],
|
|
27730
|
+
["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], ["func", "namedArgs"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], ["var_args"], [], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"],
|
|
27731
|
+
["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "operator", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], [], ["var_args"], ["name", "value"], ["name", "value"], ["opt_filter"], ["name", "value"], ["start", "opt_end"], ["geometry", "opt_errorMargin"], ["var_args"], ["namedArgs"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["west",
|
|
27732
|
+
"south", "east", "north"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], [], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["params", "opt_callback"], ["var_args"], ["opt_args"],
|
|
27733
|
+
["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["r", "g", "b"], ["var_args"], ["expression", "opt_map"], ["var_args"], ["geometry"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["params", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["args"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"],
|
|
27734
|
+
[], ["list"], ["number"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27735
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toAsset,
|
|
27736
|
+
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, ee.Collection.prototype.sort, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.limit, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterDate, ee.Collection.prototype.filter, ee.ComputedObject.prototype.aside,
|
|
27737
|
+
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.setWorkloadTag, ee.data.authenticate, ee.data.getTileUrl, ee.data.getTableDownloadId, ee.data.getAssetAcl, ee.data.getWorkloadTag, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.listImages, ee.data.listOperations, ee.data.getDownloadId, ee.data.getAssetRoots, ee.data.cancelOperation, ee.data.authenticateViaPopup, ee.data.getAsset, ee.data.createAssetHome,
|
|
27738
|
+
ee.data.makeDownloadUrl, ee.data.getFeatureViewTilesKey, ee.data.listFeatures, ee.data.setDefaultWorkloadTag, ee.data.getInfo, ee.data.createAsset, ee.data.resetWorkloadTag, ee.data.authenticateViaPrivateKey, ee.data.getOperation, ee.data.updateAsset, ee.data.newTaskId, ee.data.computeValue, ee.data.getThumbId, ee.data.cancelTask, ee.data.getList, ee.data.createFolder, ee.data.setAssetAcl, ee.data.getVideoThumbId, ee.data.startIngestion, ee.data.updateTask, ee.data.getTaskStatus, ee.data.renameAsset,
|
|
27739
|
+
ee.data.getFilmstripThumbId, ee.data.startProcessing, ee.data.listAssets, ee.data.setAssetProperties, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.copyAsset, ee.data.listBuckets, ee.data.getAssetRootQuota, ee.data.getMapId, ee.data.deleteAsset, ee.data.getTaskList, ee.data.startTableIngestion, ee.Date, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Dictionary, ee.InitState, ee.apply, ee.TILE_SIZE, ee.initialize,
|
|
27740
|
+
ee.call, ee.reset, ee.Algorithms, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.Filter.neq, ee.Filter.and, ee.Filter.lt, ee.Filter.gt, ee.Filter.metadata, ee.Filter.inList,
|
|
27741
|
+
ee.Filter.prototype.not, ee.Filter.or, ee.Filter.lte, ee.Filter.gte, ee.Filter, ee.Filter.eq, ee.Filter.date, ee.Filter.bounds, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSON, ee.Geometry.BBox, ee.Geometry.MultiPoint, ee.Geometry.Rectangle, ee.Geometry.prototype.toGeoJSONString, ee.Geometry, ee.Geometry.LineString, ee.Geometry.Point, ee.Geometry.prototype.serialize, ee.Geometry.MultiPolygon, ee.Geometry.Polygon, ee.Geometry.MultiLineString,
|
|
27742
|
+
ee.Image.prototype.getThumbURL, ee.Image.prototype.select, ee.Image, ee.Image.prototype.getMap, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getThumbId, ee.Image.rgb, ee.Image.cat, ee.Image.prototype.expression, ee.Image.prototype.rename, ee.Image.prototype.clip, ee.Image.prototype.getMapId, ee.Image.prototype.getInfo, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection,
|
|
27743
|
+
ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.first, ee.List, ee.Number, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27687
27744
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27688
27745
|
});
|
|
27689
27746
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|