@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/browser.js
CHANGED
|
@@ -764,6 +764,28 @@ $jscomp.polyfill("Array.prototype.keys", function(orig) {
|
|
|
764
764
|
});
|
|
765
765
|
};
|
|
766
766
|
}, "es6", "es3");
|
|
767
|
+
$jscomp.checkStringArgs = function(thisArg, arg, func) {
|
|
768
|
+
if (thisArg == null) {
|
|
769
|
+
throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
|
|
770
|
+
}
|
|
771
|
+
if (arg instanceof RegExp) {
|
|
772
|
+
throw new TypeError("First argument to String.prototype." + func + " must not be a regular expression");
|
|
773
|
+
}
|
|
774
|
+
return thisArg + "";
|
|
775
|
+
};
|
|
776
|
+
$jscomp.polyfill("String.prototype.endsWith", function(orig) {
|
|
777
|
+
return orig ? orig : function(searchString, opt_position) {
|
|
778
|
+
var string = $jscomp.checkStringArgs(this, searchString, "endsWith");
|
|
779
|
+
searchString += "";
|
|
780
|
+
opt_position === void 0 && (opt_position = string.length);
|
|
781
|
+
for (var i = Math.max(0, Math.min(opt_position | 0, string.length)), j = searchString.length; j > 0 && i > 0;) {
|
|
782
|
+
if (string[--i] != searchString[--j]) {
|
|
783
|
+
return !1;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
return j <= 0;
|
|
787
|
+
};
|
|
788
|
+
}, "es6", "es3");
|
|
767
789
|
$jscomp.checkEs6ConformanceViaProxy = function() {
|
|
768
790
|
try {
|
|
769
791
|
var proxied = {}, proxy = Object.create(new $jscomp.global.Proxy(proxied, {get:function(target, key, receiver) {
|
|
@@ -1069,15 +1091,6 @@ $jscomp.polyfill("Array.prototype.entries", function(orig) {
|
|
|
1069
1091
|
});
|
|
1070
1092
|
};
|
|
1071
1093
|
}, "es6", "es3");
|
|
1072
|
-
$jscomp.checkStringArgs = function(thisArg, arg, func) {
|
|
1073
|
-
if (thisArg == null) {
|
|
1074
|
-
throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
|
|
1075
|
-
}
|
|
1076
|
-
if (arg instanceof RegExp) {
|
|
1077
|
-
throw new TypeError("First argument to String.prototype." + func + " must not be a regular expression");
|
|
1078
|
-
}
|
|
1079
|
-
return thisArg + "";
|
|
1080
|
-
};
|
|
1081
1094
|
$jscomp.polyfill("String.prototype.startsWith", function(orig) {
|
|
1082
1095
|
return orig ? orig : function(searchString, opt_position) {
|
|
1083
1096
|
var string = $jscomp.checkStringArgs(this, searchString, "startsWith");
|
|
@@ -1090,19 +1103,6 @@ $jscomp.polyfill("String.prototype.startsWith", function(orig) {
|
|
|
1090
1103
|
return j >= searchLen;
|
|
1091
1104
|
};
|
|
1092
1105
|
}, "es6", "es3");
|
|
1093
|
-
$jscomp.polyfill("String.prototype.endsWith", function(orig) {
|
|
1094
|
-
return orig ? orig : function(searchString, opt_position) {
|
|
1095
|
-
var string = $jscomp.checkStringArgs(this, searchString, "endsWith");
|
|
1096
|
-
searchString += "";
|
|
1097
|
-
opt_position === void 0 && (opt_position = string.length);
|
|
1098
|
-
for (var i = Math.max(0, Math.min(opt_position | 0, string.length)), j = searchString.length; j > 0 && i > 0;) {
|
|
1099
|
-
if (string[--i] != searchString[--j]) {
|
|
1100
|
-
return !1;
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
return j <= 0;
|
|
1104
|
-
};
|
|
1105
|
-
}, "es6", "es3");
|
|
1106
1106
|
$jscomp.polyfill("Number.isFinite", function(orig) {
|
|
1107
1107
|
return orig ? orig : function(x) {
|
|
1108
1108
|
return typeof x !== "number" ? !1 : !isNaN(x) && x !== Infinity && x !== -Infinity;
|
|
@@ -1249,8 +1249,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1249
1249
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1250
1250
|
};
|
|
1251
1251
|
}, "es8", "es3");
|
|
1252
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1,
|
|
1253
|
-
|
|
1252
|
+
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,
|
|
1253
|
+
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};
|
|
1254
1254
|
/*
|
|
1255
1255
|
|
|
1256
1256
|
Copyright The Closure Library Authors.
|
|
@@ -2145,9 +2145,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2145
2145
|
};
|
|
2146
2146
|
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;
|
|
2147
2147
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2148
|
-
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$
|
|
2149
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2150
|
-
var key = $jscomp$key$
|
|
2148
|
+
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 =
|
|
2149
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2150
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2151
2151
|
if (value != null) {
|
|
2152
2152
|
var copy = void 0;
|
|
2153
2153
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2158,11 +2158,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2158
2158
|
} else if (objects.hasOwnProperty(key)) {
|
|
2159
2159
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2160
2160
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2161
|
-
$jscomp$loop$
|
|
2161
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2162
2162
|
return function(v) {
|
|
2163
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2163
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2164
2164
|
};
|
|
2165
|
-
}($jscomp$loop$
|
|
2165
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2166
2166
|
} else if (Array.isArray(value)) {
|
|
2167
2167
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2168
2168
|
continue;
|
|
@@ -2177,8 +2177,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2177
2177
|
return target;
|
|
2178
2178
|
}
|
|
2179
2179
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2180
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2181
|
-
var mapKey = $jscomp$key$
|
|
2180
|
+
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()) {
|
|
2181
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2182
2182
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2183
2183
|
}
|
|
2184
2184
|
return objMap;
|
|
@@ -2208,39 +2208,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2208
2208
|
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))) {
|
|
2209
2209
|
return !1;
|
|
2210
2210
|
}
|
|
2211
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2212
|
-
var key = $jscomp$key$
|
|
2211
|
+
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()) {
|
|
2212
|
+
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);
|
|
2213
2213
|
if (has1 !== has2) {
|
|
2214
2214
|
return !1;
|
|
2215
2215
|
}
|
|
2216
2216
|
if (has1) {
|
|
2217
2217
|
var value1 = serializable1.Serializable$get(key);
|
|
2218
|
-
$jscomp$loop$
|
|
2218
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2219
2219
|
if (arrays1.hasOwnProperty(key)) {
|
|
2220
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2220
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2221
2221
|
return !1;
|
|
2222
2222
|
}
|
|
2223
2223
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2224
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2224
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2225
2225
|
return !1;
|
|
2226
2226
|
}
|
|
2227
2227
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2228
|
-
if ($jscomp$loop$
|
|
2229
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2228
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2229
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2230
2230
|
return function(v1, i) {
|
|
2231
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2231
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2232
2232
|
};
|
|
2233
|
-
}($jscomp$loop$
|
|
2233
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2234
2234
|
return !1;
|
|
2235
2235
|
}
|
|
2236
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2236
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2237
2237
|
return !1;
|
|
2238
2238
|
}
|
|
2239
2239
|
} else if (Array.isArray(value1)) {
|
|
2240
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2240
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2241
2241
|
return !1;
|
|
2242
2242
|
}
|
|
2243
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2243
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2244
2244
|
return !1;
|
|
2245
2245
|
}
|
|
2246
2246
|
}
|
|
@@ -2262,8 +2262,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2262
2262
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2263
2263
|
return !1;
|
|
2264
2264
|
}
|
|
2265
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2266
|
-
var mapKey = $jscomp$key$
|
|
2265
|
+
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()) {
|
|
2266
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2267
2267
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2268
2268
|
return !1;
|
|
2269
2269
|
}
|
|
@@ -2344,15 +2344,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2344
2344
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2345
2345
|
};
|
|
2346
2346
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2347
|
-
var $jscomp$this$
|
|
2347
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2348
2348
|
payload += this._metadataPayload;
|
|
2349
2349
|
return Promise.all(this.files.map(function(f) {
|
|
2350
|
-
return $jscomp$this$
|
|
2350
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2351
2351
|
})).then(function(filePayloads) {
|
|
2352
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2353
|
-
payload += $jscomp$key$
|
|
2352
|
+
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()) {
|
|
2353
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2354
2354
|
}
|
|
2355
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2355
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2356
2356
|
});
|
|
2357
2357
|
};
|
|
2358
2358
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -3008,8 +3008,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
3008
3008
|
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
3009
3009
|
}
|
|
3010
3010
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
3011
|
-
var $jscomp$templatelit$
|
|
3012
|
-
["\\0"]), $jscomp$templatelit$
|
|
3011
|
+
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"],
|
|
3012
|
+
["\\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"};
|
|
3013
3013
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
3014
3014
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
3015
3015
|
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 ##############################");
|
|
@@ -3023,14 +3023,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
3023
3023
|
return fn.toString().indexOf("`") === -1;
|
|
3024
3024
|
}
|
|
3025
3025
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3026
|
-
return tag($jscomp$templatelit$
|
|
3026
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
3027
3027
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3028
|
-
return tag($jscomp$templatelit$
|
|
3028
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
3029
3029
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3030
|
-
return tag($jscomp$templatelit$
|
|
3030
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
3031
3031
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3032
|
-
return tag($jscomp$templatelit$
|
|
3033
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
3032
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
3033
|
+
}), 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);
|
|
3034
3034
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
3035
3035
|
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)) ?
|
|
3036
3036
|
!0 : !1;
|
|
@@ -3450,9 +3450,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3450
3450
|
}
|
|
3451
3451
|
}
|
|
3452
3452
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
3453
|
-
var $jscomp$tmp$error$
|
|
3454
|
-
this.message = $jscomp$tmp$error$
|
|
3455
|
-
"stack" in $jscomp$tmp$error$
|
|
3453
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
3454
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
3455
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
3456
3456
|
this.type = type;
|
|
3457
3457
|
this.intent = intent;
|
|
3458
3458
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -3559,7 +3559,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
3559
3559
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
3560
3560
|
};
|
|
3561
3561
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
3562
|
-
var $jscomp$optchain$
|
|
3562
|
+
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]");
|
|
3563
3563
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
3564
3564
|
}
|
|
3565
3565
|
;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;
|
|
@@ -3608,30 +3608,205 @@ module$exports$safevalues$dom$elements$script.setSrc = function(script, v, optio
|
|
|
3608
3608
|
script.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
3609
3609
|
(options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
|
|
3610
3610
|
};
|
|
3611
|
-
var module$exports$safevalues$
|
|
3612
|
-
module$exports$safevalues$
|
|
3613
|
-
|
|
3614
|
-
|
|
3611
|
+
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"};
|
|
3612
|
+
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
3613
|
+
module$exports$safevalues$for_closure$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
3614
|
+
module$exports$safevalues$for_closure$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
3615
|
+
module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
|
|
3616
|
+
module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
3617
|
+
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3618
|
+
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3619
|
+
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3620
|
+
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3621
|
+
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3622
|
+
var module$exports$safevalues$for_closure = {};
|
|
3623
|
+
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
3624
|
+
module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
3625
|
+
module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
3626
|
+
module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
|
|
3627
|
+
module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
|
|
3628
|
+
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3629
|
+
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3630
|
+
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3631
|
+
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3632
|
+
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3633
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
|
|
3634
|
+
var styleString = goog.string.Const.unwrap(style);
|
|
3635
|
+
if (styleString.length === 0) {
|
|
3636
|
+
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3637
|
+
}
|
|
3638
|
+
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
3639
|
+
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
3640
|
+
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
3641
|
+
};
|
|
3642
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
3643
|
+
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
3644
|
+
};
|
|
3645
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
|
|
3646
|
+
var style = "", name;
|
|
3647
|
+
for (name in map) {
|
|
3648
|
+
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
3649
|
+
if (!/^[-_a-zA-Z0-9]+$/.test(name)) {
|
|
3650
|
+
throw Error("Name allows only [-_a-zA-Z0-9], got: " + name);
|
|
3651
|
+
}
|
|
3652
|
+
var value = map[name];
|
|
3653
|
+
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 + ";");
|
|
3654
|
+
}
|
|
3655
|
+
}
|
|
3656
|
+
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3657
|
+
};
|
|
3658
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
3659
|
+
var style = "", addArgument = function(argument) {
|
|
3660
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
3661
|
+
};
|
|
3662
|
+
Array.prototype.forEach.call(arguments, addArgument);
|
|
3663
|
+
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3664
|
+
};
|
|
3665
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
|
|
3666
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
3667
|
+
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
3668
|
+
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
3669
|
+
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
3670
|
+
}
|
|
3671
|
+
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
3672
|
+
if (/[{;}]/.test(result)) {
|
|
3673
|
+
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
3674
|
+
}
|
|
3675
|
+
return result;
|
|
3676
|
+
}
|
|
3677
|
+
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
|
|
3678
|
+
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");
|
|
3679
|
+
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
3680
|
+
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
3681
|
+
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3682
|
+
}
|
|
3683
|
+
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
3684
|
+
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3685
|
+
}
|
|
3686
|
+
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
3687
|
+
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;
|
|
3688
|
+
}
|
|
3689
|
+
} else {
|
|
3690
|
+
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;
|
|
3691
|
+
}
|
|
3692
|
+
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
3693
|
+
}
|
|
3694
|
+
function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
|
|
3695
|
+
for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
|
|
3696
|
+
var c = value.charAt(i);
|
|
3697
|
+
c == "'" && outsideDouble ? outsideSingle = !outsideSingle : c == '"' && outsideSingle && (outsideDouble = !outsideDouble);
|
|
3698
|
+
}
|
|
3699
|
+
return outsideSingle && outsideDouble;
|
|
3700
|
+
}
|
|
3701
|
+
function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
|
|
3702
|
+
for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
|
|
3703
|
+
var c = value.charAt(i);
|
|
3704
|
+
if (c == "]") {
|
|
3705
|
+
if (outside) {
|
|
3706
|
+
return !1;
|
|
3707
|
+
}
|
|
3708
|
+
outside = !0;
|
|
3709
|
+
} else if (c == "[") {
|
|
3710
|
+
if (!outside) {
|
|
3711
|
+
return !1;
|
|
3712
|
+
}
|
|
3713
|
+
outside = !1;
|
|
3714
|
+
} else if (!outside && !tokenRe.test(c)) {
|
|
3715
|
+
return !1;
|
|
3716
|
+
}
|
|
3717
|
+
}
|
|
3718
|
+
return outside;
|
|
3719
|
+
}
|
|
3720
|
+
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 =
|
|
3721
|
+
/\/\*/;
|
|
3722
|
+
function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
3723
|
+
return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
|
|
3724
|
+
var quote = "";
|
|
3725
|
+
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
|
|
3726
|
+
quote = start;
|
|
3727
|
+
return inside;
|
|
3728
|
+
});
|
|
3729
|
+
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
3730
|
+
return before + quote + sanitized + quote + after;
|
|
3731
|
+
});
|
|
3732
|
+
}
|
|
3733
|
+
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3734
|
+
var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyleSheet_SafeStyleSheet = function(value, token) {
|
|
3735
|
+
if (goog.DEBUG && token !== module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
3736
|
+
throw Error("SafeStyleSheet is not meant to be built directly");
|
|
3737
|
+
}
|
|
3738
|
+
this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_ = value;
|
|
3739
|
+
};
|
|
3740
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString = function() {
|
|
3741
|
+
return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString();
|
|
3742
|
+
};
|
|
3743
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule = function(selector, style) {
|
|
3744
|
+
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
3745
|
+
throw Error("Selector does not allow '<', got: " + selector);
|
|
3746
|
+
}
|
|
3747
|
+
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
3748
|
+
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
3749
|
+
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
3750
|
+
}
|
|
3751
|
+
if (!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(selectorToCheck)) {
|
|
3752
|
+
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
3753
|
+
}
|
|
3754
|
+
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
|
|
3755
|
+
var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
3756
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
|
|
3757
|
+
};
|
|
3758
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_ = function(s) {
|
|
3759
|
+
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
3760
|
+
var ch = s[i];
|
|
3761
|
+
if (brackets[ch]) {
|
|
3762
|
+
expectedBrackets.push(brackets[ch]);
|
|
3763
|
+
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
3764
|
+
return !1;
|
|
3765
|
+
}
|
|
3766
|
+
}
|
|
3767
|
+
return expectedBrackets.length == 0;
|
|
3768
|
+
};
|
|
3769
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat = function(var_args) {
|
|
3770
|
+
var result = "", addArgument = function(argument) {
|
|
3771
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(argument);
|
|
3772
|
+
};
|
|
3773
|
+
Array.prototype.forEach.call(arguments, addArgument);
|
|
3774
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(result);
|
|
3775
|
+
};
|
|
3776
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant = function(styleSheet) {
|
|
3777
|
+
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
3778
|
+
if (styleSheetString.length === 0) {
|
|
3779
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY;
|
|
3780
|
+
}
|
|
3781
|
+
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
3782
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheetString);
|
|
3783
|
+
};
|
|
3784
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap = function(safeStyleSheet) {
|
|
3785
|
+
if (safeStyleSheet instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet && safeStyleSheet.constructor === module$contents$goog$html$SafeStyleSheet_SafeStyleSheet) {
|
|
3786
|
+
return safeStyleSheet.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;
|
|
3787
|
+
}
|
|
3788
|
+
(0,goog.asserts.fail)("expected object of type SafeStyleSheet, got '" + safeStyleSheet + "' of type " + goog.typeOf(safeStyleSheet));
|
|
3789
|
+
return "type_error:SafeStyleSheet";
|
|
3615
3790
|
};
|
|
3616
|
-
module$
|
|
3617
|
-
return
|
|
3791
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse = function(styleSheet) {
|
|
3792
|
+
return new module$contents$goog$html$SafeStyleSheet_SafeStyleSheet(styleSheet, module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
3618
3793
|
};
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3794
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse("");
|
|
3795
|
+
goog.html.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
3796
|
+
var module$exports$goog$html$safestylesheet_internals_for_safevalues = {};
|
|
3797
|
+
module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse;
|
|
3798
|
+
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"};
|
|
3799
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
3800
|
+
function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet) {
|
|
3801
|
+
return (0,module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet)(styleSheet);
|
|
3622
3802
|
}
|
|
3623
3803
|
module$exports$safevalues$internals$style_sheet_impl.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
3624
3804
|
function module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value) {
|
|
3625
|
-
return value instanceof module$
|
|
3805
|
+
return value instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
3626
3806
|
}
|
|
3627
3807
|
module$exports$safevalues$internals$style_sheet_impl.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
3628
3808
|
function module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(value) {
|
|
3629
|
-
|
|
3630
|
-
return value.privateDoNotAccessOrElseWrappedStyleSheet;
|
|
3631
|
-
}
|
|
3632
|
-
var message = "";
|
|
3633
|
-
goog.DEBUG && (message = "Unexpected type when unwrapping SafeStyleSheet, got '" + value + "' of type '" + typeof value + "'");
|
|
3634
|
-
throw Error(message);
|
|
3809
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(value);
|
|
3635
3810
|
}
|
|
3636
3811
|
module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
3637
3812
|
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"};
|
|
@@ -4730,9 +4905,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
4730
4905
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
4731
4906
|
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"};
|
|
4732
4907
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4733
|
-
var $jscomp$tmp$error$
|
|
4734
|
-
this.message = $jscomp$tmp$error$
|
|
4735
|
-
"stack" in $jscomp$tmp$error$
|
|
4908
|
+
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.");
|
|
4909
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
4910
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
4736
4911
|
this.url = url;
|
|
4737
4912
|
this.typeName = typeName;
|
|
4738
4913
|
this.contentType = contentType;
|
|
@@ -4744,48 +4919,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4744
4919
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4745
4920
|
}
|
|
4746
4921
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4747
|
-
var response, $jscomp$optchain$
|
|
4748
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4749
|
-
if ($jscomp$generator$context$
|
|
4750
|
-
return $jscomp$generator$context$
|
|
4751
|
-
}
|
|
4752
|
-
response = $jscomp$generator$context$
|
|
4753
|
-
mimeType = ($jscomp$optchain$
|
|
4754
|
-
return $jscomp$generator$context$
|
|
4922
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
4923
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
4924
|
+
if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
|
|
4925
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4926
|
+
}
|
|
4927
|
+
response = $jscomp$generator$context$1153895636$29.yieldResult;
|
|
4928
|
+
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();
|
|
4929
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
4755
4930
|
var text;
|
|
4756
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4757
|
-
if ($jscomp$generator$context$
|
|
4931
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
4932
|
+
if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
|
|
4758
4933
|
if (mimeType !== "text/html") {
|
|
4759
4934
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4760
4935
|
}
|
|
4761
|
-
return $jscomp$generator$context$
|
|
4936
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
4762
4937
|
}
|
|
4763
|
-
text = $jscomp$generator$context$
|
|
4764
|
-
return $jscomp$generator$context$
|
|
4938
|
+
text = $jscomp$generator$context$1153895636$26.yieldResult;
|
|
4939
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4765
4940
|
});
|
|
4766
4941
|
}, script:function() {
|
|
4767
4942
|
var text;
|
|
4768
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4769
|
-
if ($jscomp$generator$context$
|
|
4943
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
4944
|
+
if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
|
|
4770
4945
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4771
4946
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4772
4947
|
}
|
|
4773
|
-
return $jscomp$generator$context$
|
|
4948
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
4774
4949
|
}
|
|
4775
|
-
text = $jscomp$generator$context$
|
|
4776
|
-
return $jscomp$generator$context$
|
|
4950
|
+
text = $jscomp$generator$context$1153895636$27.yieldResult;
|
|
4951
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4777
4952
|
});
|
|
4778
4953
|
}, styleSheet:function() {
|
|
4779
4954
|
var text;
|
|
4780
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4781
|
-
if ($jscomp$generator$context$
|
|
4955
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
4956
|
+
if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
|
|
4782
4957
|
if (mimeType !== "text/css") {
|
|
4783
4958
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4784
4959
|
}
|
|
4785
|
-
return $jscomp$generator$context$
|
|
4960
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
4786
4961
|
}
|
|
4787
|
-
text = $jscomp$generator$context$
|
|
4788
|
-
return $jscomp$generator$context$
|
|
4962
|
+
text = $jscomp$generator$context$1153895636$28.yieldResult;
|
|
4963
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4789
4964
|
});
|
|
4790
4965
|
}});
|
|
4791
4966
|
});
|
|
@@ -6207,25 +6382,25 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6207
6382
|
}
|
|
6208
6383
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6209
6384
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6210
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6211
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6385
|
+
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()) {
|
|
6386
|
+
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;
|
|
6212
6387
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6213
6388
|
}
|
|
6214
6389
|
return urlQueryParams;
|
|
6215
6390
|
}
|
|
6216
6391
|
module$exports$eeapiclient$request_params.buildQueryParams = module$contents$eeapiclient$request_params_buildQueryParams;
|
|
6217
|
-
var module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders = ["accept", "accept-language", "content-language"], module$contents$eeapiclient$request_params_simpleCorsAllowedMethods = ["GET", "HEAD", "POST"];
|
|
6392
|
+
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"];
|
|
6218
6393
|
module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params) {
|
|
6219
|
-
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
6394
|
+
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6220
6395
|
if (params.headers) {
|
|
6221
6396
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6222
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6223
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6224
|
-
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6397
|
+
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()) {
|
|
6398
|
+
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;
|
|
6399
|
+
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);
|
|
6225
6400
|
}
|
|
6226
6401
|
}
|
|
6227
6402
|
if (params.body != null || params.httpMethod === "PUT" || params.httpMethod === "POST") {
|
|
6228
|
-
hasContentType || (unsafeHeaders["Content-Type"] = "application/json", hasUnsafeHeaders = !0), safeHeaders["Content-Type"] = "text/plain";
|
|
6403
|
+
hasContentType || (unsafeHeaders["Content-Type"] = "application/json", hasUnsafeHeaders = !0), hasSafeContentType || (safeHeaders["Content-Type"] = "text/plain");
|
|
6229
6404
|
}
|
|
6230
6405
|
if (hasUnsafeHeaders) {
|
|
6231
6406
|
var finalParam = (0,module$exports$goog$net$rpc$HttpCors.generateEncodedHttpHeadersOverwriteParam)(unsafeHeaders);
|
|
@@ -6260,9 +6435,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6260
6435
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6261
6436
|
};
|
|
6262
6437
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6263
|
-
var $jscomp$this$
|
|
6438
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6264
6439
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6265
|
-
return $jscomp$this$
|
|
6440
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
6266
6441
|
}));
|
|
6267
6442
|
};
|
|
6268
6443
|
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"};
|
|
@@ -6428,7 +6603,6 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_
|
|
|
6428
6603
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
6429
6604
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
6430
6605
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable = !1;
|
|
6431
|
-
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_direct_reactions__disable = !1;
|
|
6432
6606
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable = !1;
|
|
6433
6607
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable = !1;
|
|
6434
6608
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable = !1;
|
|
@@ -6445,10 +6619,8 @@ var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1,
|
|
|
6445
6619
|
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);
|
|
6446
6620
|
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);
|
|
6447
6621
|
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);
|
|
6448
|
-
goog.flags.
|
|
6449
|
-
goog.flags.
|
|
6450
|
-
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,
|
|
6451
|
-
module$contents$goog$flags_STAGING);
|
|
6622
|
+
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);
|
|
6623
|
+
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);
|
|
6452
6624
|
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);
|
|
6453
6625
|
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,
|
|
6454
6626
|
module$contents$goog$flags_STAGING);
|
|
@@ -11674,6 +11846,48 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
11674
11846
|
}, set:function(value) {
|
|
11675
11847
|
this.Serializable$set("uris", value);
|
|
11676
11848
|
}}});
|
|
11849
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequestParameters = function() {
|
|
11850
|
+
};
|
|
11851
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest = function(parameters) {
|
|
11852
|
+
parameters = parameters === void 0 ? {} : parameters;
|
|
11853
|
+
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
11854
|
+
this.Serializable$set("imageManifest", parameters.imageManifest == null ? null : parameters.imageManifest);
|
|
11855
|
+
this.Serializable$set("overwrite", parameters.overwrite == null ? null : parameters.overwrite);
|
|
11856
|
+
this.Serializable$set("useLatestObjectVersion", parameters.useLatestObjectVersion == null ? null : parameters.useLatestObjectVersion);
|
|
11857
|
+
};
|
|
11858
|
+
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
11859
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype.getConstructor = function() {
|
|
11860
|
+
return module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest;
|
|
11861
|
+
};
|
|
11862
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype.getPartialClassMetadata = function() {
|
|
11863
|
+
return {keys:["imageManifest", "overwrite", "useLatestObjectVersion"], objects:{imageManifest:module$exports$eeapiclient$ee_api_client.ImageManifest}};
|
|
11864
|
+
};
|
|
11865
|
+
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype, {imageManifest:{configurable:!0, enumerable:!0, get:function() {
|
|
11866
|
+
return this.Serializable$has("imageManifest") ? this.Serializable$get("imageManifest") : null;
|
|
11867
|
+
}, set:function(value) {
|
|
11868
|
+
this.Serializable$set("imageManifest", value);
|
|
11869
|
+
}}, overwrite:{configurable:!0, enumerable:!0, get:function() {
|
|
11870
|
+
return this.Serializable$has("overwrite") ? this.Serializable$get("overwrite") : null;
|
|
11871
|
+
}, set:function(value) {
|
|
11872
|
+
this.Serializable$set("overwrite", value);
|
|
11873
|
+
}}, useLatestObjectVersion:{configurable:!0, enumerable:!0, get:function() {
|
|
11874
|
+
return this.Serializable$has("useLatestObjectVersion") ? this.Serializable$get("useLatestObjectVersion") : null;
|
|
11875
|
+
}, set:function(value) {
|
|
11876
|
+
this.Serializable$set("useLatestObjectVersion", value);
|
|
11877
|
+
}}});
|
|
11878
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponseParameters = function() {
|
|
11879
|
+
};
|
|
11880
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse = function(parameters) {
|
|
11881
|
+
parameters = parameters === void 0 ? {} : parameters;
|
|
11882
|
+
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
11883
|
+
};
|
|
11884
|
+
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse, module$exports$eeapiclient$domain_object.Serializable);
|
|
11885
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse.prototype.getConstructor = function() {
|
|
11886
|
+
return module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse;
|
|
11887
|
+
};
|
|
11888
|
+
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse.prototype.getPartialClassMetadata = function() {
|
|
11889
|
+
return {keys:[]};
|
|
11890
|
+
};
|
|
11677
11891
|
module$exports$eeapiclient$ee_api_client.ImportImageRequestParameters = function() {
|
|
11678
11892
|
};
|
|
11679
11893
|
module$exports$eeapiclient$ee_api_client.ImportImageRequest = function(parameters) {
|
|
@@ -14216,6 +14430,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl.prototype.im
|
|
|
14216
14430
|
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
14217
14431
|
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});
|
|
14218
14432
|
};
|
|
14433
|
+
module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl.prototype.importExternal = function(project, $requestBody, namedParameters, passthroughNamedParameters) {
|
|
14434
|
+
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14435
|
+
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14436
|
+
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
14437
|
+
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});
|
|
14438
|
+
};
|
|
14219
14439
|
module$exports$eeapiclient$ee_api_client.ProjectsImageApiClient = function() {
|
|
14220
14440
|
};
|
|
14221
14441
|
module$exports$eeapiclient$ee_api_client.IProjectsImageCollectionApiClient$XgafvEnum = function() {
|
|
@@ -15024,181 +15244,6 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
|
|
|
15024
15244
|
goog.dom.tags.isVoidTag = function(tagName) {
|
|
15025
15245
|
return goog.dom.tags.VOID_TAGS_[tagName] === !0;
|
|
15026
15246
|
};
|
|
15027
|
-
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"};
|
|
15028
|
-
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15029
|
-
module$exports$safevalues$for_closure$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
15030
|
-
module$exports$safevalues$for_closure$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15031
|
-
module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
|
|
15032
|
-
module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
15033
|
-
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15034
|
-
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15035
|
-
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15036
|
-
module$exports$safevalues$for_closure$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15037
|
-
module$exports$safevalues$for_closure$index.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15038
|
-
module$exports$safevalues$for_closure$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15039
|
-
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15040
|
-
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15041
|
-
var module$exports$safevalues$for_closure = {};
|
|
15042
|
-
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15043
|
-
module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
15044
|
-
module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15045
|
-
module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
|
|
15046
|
-
module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
|
|
15047
|
-
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15048
|
-
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15049
|
-
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15050
|
-
module$exports$safevalues$for_closure.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15051
|
-
module$exports$safevalues$for_closure.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15052
|
-
module$exports$safevalues$for_closure.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15053
|
-
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15054
|
-
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15055
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
|
|
15056
|
-
var styleString = goog.string.Const.unwrap(style);
|
|
15057
|
-
if (styleString.length === 0) {
|
|
15058
|
-
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15059
|
-
}
|
|
15060
|
-
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
15061
|
-
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
15062
|
-
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
15063
|
-
};
|
|
15064
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
15065
|
-
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
15066
|
-
};
|
|
15067
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
|
|
15068
|
-
var style = "", name;
|
|
15069
|
-
for (name in map) {
|
|
15070
|
-
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
15071
|
-
if (!/^[-_a-zA-Z0-9]+$/.test(name)) {
|
|
15072
|
-
throw Error("Name allows only [-_a-zA-Z0-9], got: " + name);
|
|
15073
|
-
}
|
|
15074
|
-
var value = map[name];
|
|
15075
|
-
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 + ";");
|
|
15076
|
-
}
|
|
15077
|
-
}
|
|
15078
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15079
|
-
};
|
|
15080
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
15081
|
-
var style = "", addArgument = function(argument) {
|
|
15082
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
15083
|
-
};
|
|
15084
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
15085
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15086
|
-
};
|
|
15087
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
|
|
15088
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
15089
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
15090
|
-
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
15091
|
-
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
15092
|
-
}
|
|
15093
|
-
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
15094
|
-
if (/[{;}]/.test(result)) {
|
|
15095
|
-
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
15096
|
-
}
|
|
15097
|
-
return result;
|
|
15098
|
-
}
|
|
15099
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
|
|
15100
|
-
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");
|
|
15101
|
-
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
15102
|
-
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
15103
|
-
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15104
|
-
}
|
|
15105
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
15106
|
-
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15107
|
-
}
|
|
15108
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
15109
|
-
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;
|
|
15110
|
-
}
|
|
15111
|
-
} else {
|
|
15112
|
-
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;
|
|
15113
|
-
}
|
|
15114
|
-
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
15115
|
-
}
|
|
15116
|
-
function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
|
|
15117
|
-
for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
|
|
15118
|
-
var c = value.charAt(i);
|
|
15119
|
-
c == "'" && outsideDouble ? outsideSingle = !outsideSingle : c == '"' && outsideSingle && (outsideDouble = !outsideDouble);
|
|
15120
|
-
}
|
|
15121
|
-
return outsideSingle && outsideDouble;
|
|
15122
|
-
}
|
|
15123
|
-
function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
|
|
15124
|
-
for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
|
|
15125
|
-
var c = value.charAt(i);
|
|
15126
|
-
if (c == "]") {
|
|
15127
|
-
if (outside) {
|
|
15128
|
-
return !1;
|
|
15129
|
-
}
|
|
15130
|
-
outside = !0;
|
|
15131
|
-
} else if (c == "[") {
|
|
15132
|
-
if (!outside) {
|
|
15133
|
-
return !1;
|
|
15134
|
-
}
|
|
15135
|
-
outside = !1;
|
|
15136
|
-
} else if (!outside && !tokenRe.test(c)) {
|
|
15137
|
-
return !1;
|
|
15138
|
-
}
|
|
15139
|
-
}
|
|
15140
|
-
return outside;
|
|
15141
|
-
}
|
|
15142
|
-
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 =
|
|
15143
|
-
/\/\*/;
|
|
15144
|
-
function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
15145
|
-
return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
|
|
15146
|
-
var quote = "";
|
|
15147
|
-
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
|
|
15148
|
-
quote = start;
|
|
15149
|
-
return inside;
|
|
15150
|
-
});
|
|
15151
|
-
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
15152
|
-
return before + quote + sanitized + quote + after;
|
|
15153
|
-
});
|
|
15154
|
-
}
|
|
15155
|
-
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15156
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.createRule = function(selector, style) {
|
|
15157
|
-
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
15158
|
-
throw Error("Selector does not allow '<', got: " + selector);
|
|
15159
|
-
}
|
|
15160
|
-
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
15161
|
-
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
15162
|
-
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
15163
|
-
}
|
|
15164
|
-
if (!module$contents$goog$html$SafeStyleSheet_hasBalancedBrackets(selectorToCheck)) {
|
|
15165
|
-
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
15166
|
-
}
|
|
15167
|
-
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
|
|
15168
|
-
var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
15169
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
|
|
15170
|
-
};
|
|
15171
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.concat = function(var_args) {
|
|
15172
|
-
var result = "", addArgument = function(argument) {
|
|
15173
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap(argument);
|
|
15174
|
-
};
|
|
15175
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
15176
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(result);
|
|
15177
|
-
};
|
|
15178
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.fromConstant = function(styleSheet) {
|
|
15179
|
-
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
15180
|
-
if (styleSheetString.length === 0) {
|
|
15181
|
-
return module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.EMPTY;
|
|
15182
|
-
}
|
|
15183
|
-
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
15184
|
-
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheetString);
|
|
15185
|
-
};
|
|
15186
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap = function(safeStyleSheet) {
|
|
15187
|
-
return module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
|
|
15188
|
-
};
|
|
15189
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.EMPTY = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal("");
|
|
15190
|
-
function module$contents$goog$html$SafeStyleSheet_hasBalancedBrackets(s) {
|
|
15191
|
-
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
15192
|
-
var ch = s[i];
|
|
15193
|
-
if (brackets[ch]) {
|
|
15194
|
-
expectedBrackets.push(brackets[ch]);
|
|
15195
|
-
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
15196
|
-
return !1;
|
|
15197
|
-
}
|
|
15198
|
-
}
|
|
15199
|
-
return expectedBrackets.length == 0;
|
|
15200
|
-
}
|
|
15201
|
-
goog.html.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15202
15247
|
module$exports$safevalues$internals$html_impl.SafeHtml.unwrap = function(safeHtml) {
|
|
15203
15248
|
return (0,module$exports$safevalues$for_closure$index.unwrapHtml)(safeHtml).toString();
|
|
15204
15249
|
};
|
|
@@ -15265,7 +15310,7 @@ module$exports$safevalues$internals$html_impl.SafeHtml.createStyle = function(st
|
|
|
15265
15310
|
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({type:"text/css"}, {}, attributes), content = "";
|
|
15266
15311
|
styleSheet = module$contents$goog$array_concat(styleSheet);
|
|
15267
15312
|
for (var i = 0; i < styleSheet.length; i++) {
|
|
15268
|
-
content += module$
|
|
15313
|
+
content += module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(styleSheet[i]);
|
|
15269
15314
|
}
|
|
15270
15315
|
var htmlContent = (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(content);
|
|
15271
15316
|
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
|
|
@@ -15612,8 +15657,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15612
15657
|
this.replacements = new Map();
|
|
15613
15658
|
};
|
|
15614
15659
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15615
|
-
var $jscomp$this$
|
|
15616
|
-
return $jscomp$this$
|
|
15660
|
+
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) {
|
|
15661
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
15617
15662
|
});
|
|
15618
15663
|
if (openedTags.length !== 0) {
|
|
15619
15664
|
if (goog.DEBUG) {
|
|
@@ -15831,8 +15876,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
15831
15876
|
if (Array.isArray(token)) {
|
|
15832
15877
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
15833
15878
|
} else {
|
|
15834
|
-
var $jscomp$optchain$
|
|
15835
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
15879
|
+
var $jscomp$optchain$tmpm282935782$0 = void 0;
|
|
15880
|
+
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) {
|
|
15836
15881
|
tokens.push(token);
|
|
15837
15882
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
15838
15883
|
return tokens;
|
|
@@ -16078,9 +16123,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16078
16123
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16079
16124
|
};
|
|
16080
16125
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16081
|
-
var $jscomp$this$
|
|
16126
|
+
var $jscomp$this$m282935782$26 = this;
|
|
16082
16127
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16083
|
-
return $jscomp$this$
|
|
16128
|
+
return $jscomp$this$m282935782$26.isWhitespace(c);
|
|
16084
16129
|
});
|
|
16085
16130
|
};
|
|
16086
16131
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16187,8 +16232,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16187
16232
|
return null;
|
|
16188
16233
|
}
|
|
16189
16234
|
if (token.lowercaseName === "url") {
|
|
16190
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16191
|
-
if ((($jscomp$optchain$
|
|
16235
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
|
|
16236
|
+
if ((($jscomp$optchain$tmpm1577590584$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1577590584$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16192
16237
|
return null;
|
|
16193
16238
|
}
|
|
16194
16239
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16211,8 +16256,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16211
16256
|
if (!this.allowKeyframes) {
|
|
16212
16257
|
return null;
|
|
16213
16258
|
}
|
|
16214
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16215
|
-
var rule = $jscomp$key$
|
|
16259
|
+
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()) {
|
|
16260
|
+
var rule = $jscomp$key$m1577590584$1$rule.value;
|
|
16216
16261
|
if (rule instanceof CSSKeyframeRule) {
|
|
16217
16262
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16218
16263
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16224,8 +16269,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16224
16269
|
if (!this.propertyAllowlist.has(name)) {
|
|
16225
16270
|
return !1;
|
|
16226
16271
|
}
|
|
16227
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16228
|
-
var discarder = $jscomp$key$
|
|
16272
|
+
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()) {
|
|
16273
|
+
var discarder = $jscomp$key$m1577590584$2$discarder.value;
|
|
16229
16274
|
if (discarder(name)) {
|
|
16230
16275
|
return !1;
|
|
16231
16276
|
}
|
|
@@ -16240,8 +16285,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16240
16285
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16241
16286
|
};
|
|
16242
16287
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16243
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16244
|
-
var name = $jscomp$key$
|
|
16288
|
+
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()) {
|
|
16289
|
+
var name = $jscomp$key$m1577590584$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16245
16290
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16246
16291
|
}
|
|
16247
16292
|
return sanitizedProperties;
|
|
@@ -16255,8 +16300,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16255
16300
|
return selector + " { " + sanitizedProperties + " }";
|
|
16256
16301
|
};
|
|
16257
16302
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16258
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16259
|
-
var rule = $jscomp$key$
|
|
16303
|
+
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()) {
|
|
16304
|
+
var rule = $jscomp$key$m1577590584$4$rule.value;
|
|
16260
16305
|
if (rule instanceof CSSStyleRule) {
|
|
16261
16306
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16262
16307
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16417,8 +16462,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16417
16462
|
return fragment;
|
|
16418
16463
|
};
|
|
16419
16464
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16420
|
-
for (var $jscomp$this$
|
|
16421
|
-
return $jscomp$this$
|
|
16465
|
+
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) {
|
|
16466
|
+
return $jscomp$this$m1085474118$13.nodeFilter(n);
|
|
16422
16467
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16423
16468
|
var sanitizedNode = void 0;
|
|
16424
16469
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16453,8 +16498,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16453
16498
|
return this.createTextNode(textNode.data);
|
|
16454
16499
|
};
|
|
16455
16500
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16456
|
-
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$
|
|
16457
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
16501
|
+
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()) {
|
|
16502
|
+
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);
|
|
16458
16503
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16459
16504
|
switch(policy.policyAction) {
|
|
16460
16505
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16486,9 +16531,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16486
16531
|
break;
|
|
16487
16532
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16488
16533
|
if (this.resourceUrlPolicy) {
|
|
16489
|
-
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$
|
|
16534
|
+
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 =
|
|
16490
16535
|
$jscomp$iter$35.next()) {
|
|
16491
|
-
var part = $jscomp$key$
|
|
16536
|
+
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);
|
|
16492
16537
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16493
16538
|
}
|
|
16494
16539
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16532,8 +16577,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16532
16577
|
if (!conditions) {
|
|
16533
16578
|
return !0;
|
|
16534
16579
|
}
|
|
16535
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
16536
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16580
|
+
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()) {
|
|
16581
|
+
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;
|
|
16537
16582
|
if (value && !expectedValues.has(value)) {
|
|
16538
16583
|
return !1;
|
|
16539
16584
|
}
|
|
@@ -16548,8 +16593,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
16548
16593
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
16549
16594
|
};
|
|
16550
16595
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16551
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
16552
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16596
|
+
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()) {
|
|
16597
|
+
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;
|
|
16553
16598
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
16554
16599
|
}
|
|
16555
16600
|
return {parts:parts};
|
|
@@ -16606,8 +16651,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16606
16651
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
16607
16652
|
};
|
|
16608
16653
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
16609
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
16610
|
-
var element = $jscomp$key$
|
|
16654
|
+
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()) {
|
|
16655
|
+
var element = $jscomp$key$435282654$21$element.value;
|
|
16611
16656
|
element = element.toUpperCase();
|
|
16612
16657
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
16613
16658
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -16625,8 +16670,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16625
16670
|
throw Error("Element: " + element + " is not a custom element");
|
|
16626
16671
|
}
|
|
16627
16672
|
if (allowedAttributes) {
|
|
16628
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
16629
|
-
elementPolicy.set($jscomp$key$
|
|
16673
|
+
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()) {
|
|
16674
|
+
elementPolicy.set($jscomp$key$435282654$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
16630
16675
|
}
|
|
16631
16676
|
allowedElementPolicies.set(element, elementPolicy);
|
|
16632
16677
|
} else {
|
|
@@ -16636,15 +16681,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16636
16681
|
return this;
|
|
16637
16682
|
};
|
|
16638
16683
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
16639
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
16640
|
-
var attribute = $jscomp$key$
|
|
16684
|
+
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()) {
|
|
16685
|
+
var attribute = $jscomp$key$435282654$23$attribute.value;
|
|
16641
16686
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
16642
16687
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
16643
16688
|
}
|
|
16644
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
16645
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16689
|
+
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()) {
|
|
16690
|
+
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$ =
|
|
16646
16691
|
$jscomp$iter$42.next()) {
|
|
16647
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16692
|
+
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;
|
|
16648
16693
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
16649
16694
|
}
|
|
16650
16695
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -16653,8 +16698,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16653
16698
|
return this;
|
|
16654
16699
|
};
|
|
16655
16700
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
16656
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
16657
|
-
var attribute = $jscomp$key$
|
|
16701
|
+
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()) {
|
|
16702
|
+
var attribute = $jscomp$key$435282654$26$attribute.value;
|
|
16658
16703
|
if (attribute.indexOf("data-") !== 0) {
|
|
16659
16704
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
16660
16705
|
}
|
|
@@ -16716,7 +16761,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
16716
16761
|
return this;
|
|
16717
16762
|
};
|
|
16718
16763
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
16719
|
-
var $jscomp$this$
|
|
16764
|
+
var $jscomp$this$435282654$17 = this;
|
|
16720
16765
|
this.extendSanitizerTableForCss();
|
|
16721
16766
|
var propertyDiscarders = [];
|
|
16722
16767
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -16726,9 +16771,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
16726
16771
|
return /^transition(-|$)/.test(property);
|
|
16727
16772
|
});
|
|
16728
16773
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
16729
|
-
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$
|
|
16774
|
+
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);
|
|
16730
16775
|
}, function(cssText) {
|
|
16731
|
-
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$
|
|
16776
|
+
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);
|
|
16732
16777
|
}, this.resourceUrlPolicy);
|
|
16733
16778
|
};
|
|
16734
16779
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -16788,9 +16833,11 @@ function module$contents$safevalues$builders$resource_url_builders_isValidPathSt
|
|
|
16788
16833
|
function module$contents$safevalues$builders$resource_url_builders_isValidRelativePathStart(base) {
|
|
16789
16834
|
return RegExp("^[^:\\s\\\\/]+/").test(base);
|
|
16790
16835
|
}
|
|
16836
|
+
function module$contents$safevalues$builders$resource_url_builders_UrlSegments() {
|
|
16837
|
+
}
|
|
16791
16838
|
function module$contents$safevalues$builders$resource_url_builders_getUrlSegments(url) {
|
|
16792
|
-
var
|
|
16793
|
-
return {
|
|
16839
|
+
var parts = url.split(/\?|#/), params = /\?/.test(url) ? "?" + parts[1] : "";
|
|
16840
|
+
return {urlPath:parts[0], params:params, fragment:/#/.test(url) ? "#" + (params ? parts[2] : parts[1]) : ""};
|
|
16794
16841
|
}
|
|
16795
16842
|
function module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl(templateObj) {
|
|
16796
16843
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
@@ -16813,26 +16860,36 @@ function module$contents$safevalues$builders$resource_url_builders_trustedResour
|
|
|
16813
16860
|
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url);
|
|
16814
16861
|
}
|
|
16815
16862
|
module$exports$safevalues$builders$resource_url_builders.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
16863
|
+
var module$contents$safevalues$builders$resource_url_builders_IterableEntries, module$contents$safevalues$builders$resource_url_builders_SearchParams;
|
|
16816
16864
|
function module$contents$safevalues$builders$resource_url_builders_appendParams(trustedUrl, params) {
|
|
16865
|
+
function addParam(value, key) {
|
|
16866
|
+
value != null && (module$contents$safevalues$builders$resource_url_builders_isArray(value) ? value.forEach(function(v) {
|
|
16867
|
+
return addParam(v, key);
|
|
16868
|
+
}) : (urlParams += separator + encodeURIComponent(key) + "=" + encodeURIComponent(value), separator = "&"));
|
|
16869
|
+
}
|
|
16817
16870
|
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 ? "&" : "?";
|
|
16818
|
-
params.
|
|
16819
|
-
|
|
16820
|
-
|
|
16821
|
-
|
|
16822
|
-
|
|
16823
|
-
});
|
|
16824
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(urlSegments.path + urlParams + urlSegments.hash);
|
|
16871
|
+
module$contents$safevalues$builders$resource_url_builders_isPlainObject(params) && (params = Object.entries(params));
|
|
16872
|
+
module$contents$safevalues$builders$resource_url_builders_isArray(params) ? params.forEach(function(pair) {
|
|
16873
|
+
return addParam(pair[1], pair[0]);
|
|
16874
|
+
}) : params.forEach(addParam);
|
|
16875
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(urlSegments.urlPath + urlParams + urlSegments.fragment);
|
|
16825
16876
|
}
|
|
16826
16877
|
module$exports$safevalues$builders$resource_url_builders.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
16878
|
+
function module$contents$safevalues$builders$resource_url_builders_isArray(x) {
|
|
16879
|
+
return Array.isArray(x);
|
|
16880
|
+
}
|
|
16881
|
+
function module$contents$safevalues$builders$resource_url_builders_isPlainObject(x) {
|
|
16882
|
+
return x.constructor === Object;
|
|
16883
|
+
}
|
|
16827
16884
|
var module$contents$safevalues$builders$resource_url_builders_BEFORE_FRAGMENT_REGEXP = /[^#]*/;
|
|
16828
16885
|
function module$contents$safevalues$builders$resource_url_builders_replaceFragment(trustedUrl, fragment) {
|
|
16829
16886
|
var urlString = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString();
|
|
16830
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(module$contents$safevalues$builders$resource_url_builders_BEFORE_FRAGMENT_REGEXP.exec(urlString)[0] + "#" + fragment);
|
|
16887
|
+
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 : ""));
|
|
16831
16888
|
}
|
|
16832
16889
|
module$exports$safevalues$builders$resource_url_builders.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
16833
16890
|
function module$contents$safevalues$builders$resource_url_builders_appendPathSegment(trustedUrl, pathSegment) {
|
|
16834
|
-
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString()), separator = urlSegments.
|
|
16835
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(newPath + urlSegments.params + urlSegments.
|
|
16891
|
+
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);
|
|
16892
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(newPath + urlSegments.params + urlSegments.fragment);
|
|
16836
16893
|
}
|
|
16837
16894
|
module$exports$safevalues$builders$resource_url_builders.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
16838
16895
|
function module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript(safeScript) {
|
|
@@ -16957,12 +17014,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16957
17014
|
}
|
|
16958
17015
|
try {
|
|
16959
17016
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16960
|
-
} catch ($jscomp$unused$catch$
|
|
17017
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
16961
17018
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16962
17019
|
}
|
|
16963
17020
|
try {
|
|
16964
17021
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16965
|
-
} catch ($jscomp$unused$catch$
|
|
17022
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
16966
17023
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16967
17024
|
}
|
|
16968
17025
|
return !1;
|
|
@@ -17047,7 +17104,7 @@ module$exports$safevalues$index.unwrapScript = module$contents$safevalues$intern
|
|
|
17047
17104
|
module$exports$safevalues$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
17048
17105
|
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
17049
17106
|
module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
17050
|
-
module$exports$safevalues$index.SafeStyleSheet = module$
|
|
17107
|
+
module$exports$safevalues$index.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
17051
17108
|
module$exports$safevalues$index.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
17052
17109
|
module$exports$safevalues$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
17053
17110
|
module$exports$safevalues$index.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
@@ -19045,6 +19102,82 @@ goog.async.Deferred.assertNoErrors = function() {
|
|
|
19045
19102
|
error.throwError();
|
|
19046
19103
|
}
|
|
19047
19104
|
};
|
|
19105
|
+
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
19106
|
+
safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
19107
|
+
safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
19108
|
+
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
19109
|
+
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
19110
|
+
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
19111
|
+
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
19112
|
+
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
19113
|
+
safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
|
|
19114
|
+
safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
|
|
19115
|
+
safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
19116
|
+
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
19117
|
+
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
19118
|
+
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
19119
|
+
safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
|
|
19120
|
+
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
19121
|
+
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
19122
|
+
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
19123
|
+
safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
19124
|
+
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
19125
|
+
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
19126
|
+
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
19127
|
+
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
19128
|
+
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
19129
|
+
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
19130
|
+
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
19131
|
+
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
19132
|
+
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
19133
|
+
safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
19134
|
+
safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
19135
|
+
safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
19136
|
+
safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
19137
|
+
safevalues.safeScript = module$contents$safevalues$builders$script_builders_safeScript;
|
|
19138
|
+
safevalues.safeScriptWithArgs = module$contents$safevalues$builders$script_builders_safeScriptWithArgs;
|
|
19139
|
+
safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_valueAsScript;
|
|
19140
|
+
safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
19141
|
+
safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
19142
|
+
safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
19143
|
+
safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
19144
|
+
safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
19145
|
+
safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
19146
|
+
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
19147
|
+
safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
19148
|
+
safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
19149
|
+
safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
19150
|
+
safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
19151
|
+
safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
19152
|
+
safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
19153
|
+
safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
19154
|
+
safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
19155
|
+
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
19156
|
+
safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
19157
|
+
safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
19158
|
+
safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
19159
|
+
safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
19160
|
+
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19161
|
+
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
19162
|
+
safevalues.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
19163
|
+
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19164
|
+
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
19165
|
+
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
19166
|
+
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
19167
|
+
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
19168
|
+
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
19169
|
+
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
19170
|
+
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19171
|
+
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19172
|
+
safevalues.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
19173
|
+
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19174
|
+
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
19175
|
+
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
19176
|
+
safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
19177
|
+
safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
19178
|
+
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
19179
|
+
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
19180
|
+
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
19048
19181
|
goog.net = {};
|
|
19049
19182
|
goog.net.jsloader = {};
|
|
19050
19183
|
goog.net.jsloader.Options = {};
|
|
@@ -19070,7 +19203,7 @@ goog.net.jsloader.safeLoadMany = function(trustedUris, opt_options) {
|
|
|
19070
19203
|
return goog.net.jsloader.scriptLoadingDeferred_;
|
|
19071
19204
|
};
|
|
19072
19205
|
goog.net.jsloader.safeLoad = function(trustedUri, opt_options) {
|
|
19073
|
-
var options = opt_options || {}, doc = options.document || document, uri = module$contents$
|
|
19206
|
+
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;
|
|
19074
19207
|
timeoutDuration > 0 && (timeout = window.setTimeout(function() {
|
|
19075
19208
|
goog.net.jsloader.cleanup_(script, !0);
|
|
19076
19209
|
deferred.errback(new goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.TIMEOUT, "Timeout reached for loading script " + uri));
|
|
@@ -19085,13 +19218,13 @@ goog.net.jsloader.safeLoad = function(trustedUri, opt_options) {
|
|
|
19085
19218
|
var properties = options.attributes || {};
|
|
19086
19219
|
module$contents$goog$object_extend(properties, {type:"text/javascript", charset:"UTF-8"});
|
|
19087
19220
|
goog.dom.setProperties(script, properties);
|
|
19088
|
-
|
|
19221
|
+
module$exports$safevalues$dom$elements$script.setSrc(script, trustedUri);
|
|
19089
19222
|
goog.net.jsloader.getScriptParentElement_(doc).appendChild(script);
|
|
19090
19223
|
return deferred;
|
|
19091
19224
|
};
|
|
19092
19225
|
goog.net.jsloader.safeLoadAndVerify = function(trustedUri, verificationObjName, options) {
|
|
19093
19226
|
goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_] || (goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_] = {});
|
|
19094
|
-
var verifyObjs = goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_], uri = module$contents$
|
|
19227
|
+
var verifyObjs = goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_], uri = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUri).toString();
|
|
19095
19228
|
if (verifyObjs[verificationObjName] !== void 0) {
|
|
19096
19229
|
return goog.async.Deferred.fail(new goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.VERIFY_OBJECT_ALREADY_EXISTS, "Verification object " + verificationObjName + " already defined."));
|
|
19097
19230
|
}
|
|
@@ -19751,87 +19884,11 @@ goog.net.XhrIo.prototype.formatMsg_ = function(msg) {
|
|
|
19751
19884
|
goog.debug.entryPointRegistry.register(function(transformer) {
|
|
19752
19885
|
goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_ = transformer(goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_);
|
|
19753
19886
|
});
|
|
19754
|
-
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
19755
|
-
safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
19756
|
-
safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
19757
|
-
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
19758
|
-
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
19759
|
-
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
19760
|
-
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
19761
|
-
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
19762
|
-
safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
|
|
19763
|
-
safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
|
|
19764
|
-
safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
19765
|
-
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
19766
|
-
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
19767
|
-
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
19768
|
-
safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
|
|
19769
|
-
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
19770
|
-
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
19771
|
-
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
19772
|
-
safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
19773
|
-
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
19774
|
-
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
19775
|
-
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
19776
|
-
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
19777
|
-
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
19778
|
-
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
19779
|
-
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
19780
|
-
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
19781
|
-
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
19782
|
-
safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
19783
|
-
safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
19784
|
-
safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
19785
|
-
safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
19786
|
-
safevalues.safeScript = module$contents$safevalues$builders$script_builders_safeScript;
|
|
19787
|
-
safevalues.safeScriptWithArgs = module$contents$safevalues$builders$script_builders_safeScriptWithArgs;
|
|
19788
|
-
safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_valueAsScript;
|
|
19789
|
-
safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
19790
|
-
safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
19791
|
-
safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
19792
|
-
safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
19793
|
-
safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
19794
|
-
safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
19795
|
-
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
19796
|
-
safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
19797
|
-
safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
19798
|
-
safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
19799
|
-
safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
19800
|
-
safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
19801
|
-
safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
19802
|
-
safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
19803
|
-
safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
19804
|
-
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
19805
|
-
safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
19806
|
-
safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
19807
|
-
safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
19808
|
-
safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
19809
|
-
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19810
|
-
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
19811
|
-
safevalues.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
19812
|
-
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19813
|
-
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
19814
|
-
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
19815
|
-
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
19816
|
-
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
19817
|
-
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
19818
|
-
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
19819
|
-
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19820
|
-
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19821
|
-
safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
19822
|
-
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19823
|
-
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
19824
|
-
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
19825
|
-
safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
19826
|
-
safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
19827
|
-
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
19828
|
-
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
19829
|
-
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
19830
19887
|
var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["https://accounts.google.com/gsi/client"]);
|
|
19831
19888
|
ee.apiclient = {};
|
|
19832
19889
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19833
19890
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19834
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19891
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.419";
|
|
19835
19892
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19836
19893
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19837
19894
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -20129,8 +20186,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
20129
20186
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
20130
20187
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
20131
20188
|
method = method || "POST";
|
|
20132
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
20133
|
-
version === "0.1.
|
|
20189
|
+
var headers = {"Content-Type":contentType}, version = "0.1.419";
|
|
20190
|
+
version === "0.1.419" && (version = "latest");
|
|
20134
20191
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
20135
20192
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
20136
20193
|
if (authToken != null) {
|
|
@@ -26191,7 +26248,7 @@ goog.style.installSafeStyleSheet = function(safeStyleSheet, opt_node) {
|
|
|
26191
26248
|
head = dh.createDom(goog.dom.TagName.HEAD);
|
|
26192
26249
|
body.parentNode.insertBefore(head, body);
|
|
26193
26250
|
}
|
|
26194
|
-
var el = dh.createDom(goog.dom.TagName.STYLE), nonce =
|
|
26251
|
+
var el = dh.createDom(goog.dom.TagName.STYLE), nonce = module$exports$safevalues$dom$globals$window.getStyleNonce(window);
|
|
26195
26252
|
nonce && el.setAttribute("nonce", nonce);
|
|
26196
26253
|
goog.style.setSafeStyleSheet(el, safeStyleSheet);
|
|
26197
26254
|
dh.appendChild(head, el);
|
|
@@ -26201,7 +26258,7 @@ goog.style.uninstallStyles = function(styleSheet) {
|
|
|
26201
26258
|
goog.dom.removeNode(styleSheet.ownerNode || styleSheet.owningElement || styleSheet);
|
|
26202
26259
|
};
|
|
26203
26260
|
goog.style.setSafeStyleSheet = function(element, safeStyleSheet) {
|
|
26204
|
-
var stylesString = module$
|
|
26261
|
+
var stylesString = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
|
|
26205
26262
|
goog.global.trustedTypes ? goog.dom.setTextContent(element, stylesString) : element.innerHTML = stylesString;
|
|
26206
26263
|
};
|
|
26207
26264
|
goog.style.setPreWrap = function(el) {
|
|
@@ -27659,29 +27716,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27659
27716
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27660
27717
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27661
27718
|
(function() {
|
|
27662
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27663
|
-
orderedParamLists = [["name"
|
|
27664
|
-
|
|
27665
|
-
"collection opt_description
|
|
27666
|
-
"collection opt_description opt_assetId
|
|
27667
|
-
"
|
|
27668
|
-
"
|
|
27669
|
-
["
|
|
27670
|
-
|
|
27671
|
-
["json"], ["
|
|
27672
|
-
["opt_callback"], ["
|
|
27673
|
-
"
|
|
27674
|
-
|
|
27675
|
-
["
|
|
27676
|
-
[ee.ApiFunction.
|
|
27677
|
-
module$contents$ee$batch_Export.
|
|
27678
|
-
ee.ComputedObject.prototype.
|
|
27679
|
-
ee.data.
|
|
27680
|
-
ee.data.
|
|
27681
|
-
ee.reset, ee.
|
|
27682
|
-
ee.Filter.
|
|
27683
|
-
ee.Image.prototype.
|
|
27684
|
-
ee.ImageCollection.prototype.
|
|
27719
|
+
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(" "),
|
|
27720
|
+
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(" "),
|
|
27721
|
+
"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(" "),
|
|
27722
|
+
"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(" "),
|
|
27723
|
+
["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(" "),
|
|
27724
|
+
["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",
|
|
27725
|
+
"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"],
|
|
27726
|
+
["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",
|
|
27727
|
+
"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"],
|
|
27728
|
+
["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"],
|
|
27729
|
+
["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",
|
|
27730
|
+
"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"],
|
|
27731
|
+
["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"],
|
|
27732
|
+
[], ["list"], ["number"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27733
|
+
[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,
|
|
27734
|
+
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,
|
|
27735
|
+
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,
|
|
27736
|
+
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,
|
|
27737
|
+
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,
|
|
27738
|
+
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,
|
|
27739
|
+
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,
|
|
27740
|
+
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,
|
|
27741
|
+
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) {
|
|
27685
27742
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27686
27743
|
});
|
|
27687
27744
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|