@google/earthengine 0.1.379 → 0.1.381
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 +259 -212
- package/build/ee_api_js.js +501 -500
- package/build/ee_api_js_debug.js +237 -190
- package/build/ee_api_js_npm.js +259 -212
- package/build/main.js +259 -212
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/feature.js +25 -7
- package/src/featurecollection.js +29 -11
- package/src/image.js +18 -2
- package/src/imagecollection.js +24 -7
- package/test/ee_test.js +2 -2
- package/.tmp/BUILD +0 -699
- package/.tmp/METADATA +0 -23
- package/.tmp/VERSION_BUILD +0 -47
package/build/browser.js
CHANGED
|
@@ -2453,8 +2453,7 @@ goog.debug.normalizeErrorObject = function(err) {
|
|
|
2453
2453
|
}
|
|
2454
2454
|
return {message:message, name:err.name || "UnknownError", lineNumber:lineNumber, fileName:fileName, stack:stack || "Not available"};
|
|
2455
2455
|
}
|
|
2456
|
-
err.
|
|
2457
|
-
return {message:err.message, name:err.name, lineNumber:err.lineNumber, fileName:err.fileName, stack:err.stack};
|
|
2456
|
+
return {message:err.message, name:err.name, lineNumber:err.lineNumber, fileName:err.fileName, stack:stack};
|
|
2458
2457
|
};
|
|
2459
2458
|
goog.debug.serializeErrorStack_ = function(e, seen) {
|
|
2460
2459
|
seen || (seen = {});
|
|
@@ -6062,7 +6061,7 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
6062
6061
|
};
|
|
6063
6062
|
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;
|
|
6064
6063
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
6065
|
-
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 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$key = $jscomp$iter$19.next(), $jscomp$loop$
|
|
6064
|
+
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 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$0 = {}; !$jscomp$key$key.done; $jscomp$loop$m1892927425$0 = {mapMetadata:$jscomp$loop$m1892927425$0.mapMetadata},
|
|
6066
6065
|
$jscomp$key$key = $jscomp$iter$19.next()) {
|
|
6067
6066
|
var key = $jscomp$key$key.value, value = valueGetter(key, source);
|
|
6068
6067
|
if (null != value) {
|
|
@@ -6075,11 +6074,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6075
6074
|
} else if (objects.hasOwnProperty(key)) {
|
|
6076
6075
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
6077
6076
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
6078
|
-
$jscomp$loop$
|
|
6077
|
+
$jscomp$loop$m1892927425$0.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$0.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$0) {
|
|
6079
6078
|
return function(v) {
|
|
6080
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
6079
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$0.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6081
6080
|
};
|
|
6082
|
-
}($jscomp$loop$
|
|
6081
|
+
}($jscomp$loop$m1892927425$0)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$0.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6083
6082
|
} else if (Array.isArray(value)) {
|
|
6084
6083
|
if (metadata.emptyArrayIsUnset && 0 === value.length) {
|
|
6085
6084
|
continue;
|
|
@@ -6125,39 +6124,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
6125
6124
|
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))) {
|
|
6126
6125
|
return !1;
|
|
6127
6126
|
}
|
|
6128
|
-
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$key = $jscomp$iter$21.next(), $jscomp$loop$
|
|
6127
|
+
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$1 = {}; !$jscomp$key$key.done; $jscomp$loop$m1892927425$1 = {value2$jscomp$7:$jscomp$loop$m1892927425$1.value2$jscomp$7, mapMetadata$jscomp$2:$jscomp$loop$m1892927425$1.mapMetadata$jscomp$2}, $jscomp$key$key = $jscomp$iter$21.next()) {
|
|
6129
6128
|
var key = $jscomp$key$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
6130
6129
|
if (has1 !== has2) {
|
|
6131
6130
|
return !1;
|
|
6132
6131
|
}
|
|
6133
6132
|
if (has1) {
|
|
6134
6133
|
var value1 = serializable1.Serializable$get(key);
|
|
6135
|
-
$jscomp$loop$
|
|
6134
|
+
$jscomp$loop$m1892927425$1.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
6136
6135
|
if (arrays1.hasOwnProperty(key)) {
|
|
6137
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6136
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$1.value2$jscomp$7, !0, !0)) {
|
|
6138
6137
|
return !1;
|
|
6139
6138
|
}
|
|
6140
6139
|
} else if (objects1.hasOwnProperty(key)) {
|
|
6141
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6140
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$1.value2$jscomp$7, !1, !0)) {
|
|
6142
6141
|
return !1;
|
|
6143
6142
|
}
|
|
6144
6143
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
6145
|
-
if ($jscomp$loop$
|
|
6146
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
6144
|
+
if ($jscomp$loop$m1892927425$1.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$1.mapMetadata$jscomp$2.isPropertyArray) {
|
|
6145
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$1.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$1) {
|
|
6147
6146
|
return function(v1, i) {
|
|
6148
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
6147
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$1.value2$jscomp$7[i], $jscomp$loop$m1892927425$1.mapMetadata$jscomp$2);
|
|
6149
6148
|
};
|
|
6150
|
-
}($jscomp$loop$
|
|
6149
|
+
}($jscomp$loop$m1892927425$1))) {
|
|
6151
6150
|
return !1;
|
|
6152
6151
|
}
|
|
6153
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
6152
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$1.value2$jscomp$7, $jscomp$loop$m1892927425$1.mapMetadata$jscomp$2)) {
|
|
6154
6153
|
return !1;
|
|
6155
6154
|
}
|
|
6156
6155
|
} else if (Array.isArray(value1)) {
|
|
6157
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6156
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$1.value2$jscomp$7, !0, !1)) {
|
|
6158
6157
|
return !1;
|
|
6159
6158
|
}
|
|
6160
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6159
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$1.value2$jscomp$7, !1, !1)) {
|
|
6161
6160
|
return !1;
|
|
6162
6161
|
}
|
|
6163
6162
|
}
|
|
@@ -7362,37 +7361,151 @@ module$contents$goog$html$SafeHtml_SafeHtml.BR = function() {
|
|
|
7362
7361
|
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>");
|
|
7363
7362
|
}();
|
|
7364
7363
|
goog.html.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
|
|
7368
|
-
|
|
7369
|
-
|
|
7370
|
-
};
|
|
7371
|
-
goog
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
goog
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
return goog
|
|
7390
|
-
}
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7364
|
+
/*
|
|
7365
|
+
|
|
7366
|
+
SPDX-License-Identifier: Apache-2.0
|
|
7367
|
+
*/
|
|
7368
|
+
var module$contents$safevalues$environment$dev_module = module$contents$safevalues$environment$dev_module || {id:"third_party/javascript/safevalues/environment/dev.closure.js"};
|
|
7369
|
+
var module$exports$goog$html$internals = {};
|
|
7370
|
+
module$exports$goog$html$internals.createSafeHtml = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse;
|
|
7371
|
+
module$exports$goog$html$internals.createSafeScript = module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse;
|
|
7372
|
+
module$exports$goog$html$internals.createSafeStyle = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse;
|
|
7373
|
+
module$exports$goog$html$internals.createSafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse;
|
|
7374
|
+
module$exports$goog$html$internals.createSafeUrl = goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse;
|
|
7375
|
+
module$exports$goog$html$internals.createTrustedResourceUrl = goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse;
|
|
7376
|
+
var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"};
|
|
7377
|
+
module$exports$safevalues$internals$html_impl.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
|
|
7378
|
+
function module$contents$safevalues$internals$html_impl_createHtmlInternal(html) {
|
|
7379
|
+
return (0,module$exports$goog$html$internals.createSafeHtml)(html);
|
|
7380
|
+
}
|
|
7381
|
+
module$exports$safevalues$internals$html_impl.createHtmlInternal = module$contents$safevalues$internals$html_impl_createHtmlInternal;
|
|
7382
|
+
module$exports$safevalues$internals$html_impl.EMPTY_HTML = module$contents$goog$html$SafeHtml_SafeHtml.EMPTY;
|
|
7383
|
+
function module$contents$safevalues$internals$html_impl_isHtml(value) {
|
|
7384
|
+
return value instanceof module$contents$goog$html$SafeHtml_SafeHtml;
|
|
7385
|
+
}
|
|
7386
|
+
module$exports$safevalues$internals$html_impl.isHtml = module$contents$safevalues$internals$html_impl_isHtml;
|
|
7387
|
+
function module$contents$safevalues$internals$html_impl_unwrapHtml(value) {
|
|
7388
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(value);
|
|
7389
|
+
}
|
|
7390
|
+
module$exports$safevalues$internals$html_impl.unwrapHtml = module$contents$safevalues$internals$html_impl_unwrapHtml;
|
|
7391
|
+
var module$exports$safevalues$internals$resource_url_impl = {}, module$contents$safevalues$internals$resource_url_impl_module = module$contents$safevalues$internals$resource_url_impl_module || {id:"third_party/javascript/safevalues/internals/resource_url_impl.closure.js"};
|
|
7392
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = goog.html.TrustedResourceUrl;
|
|
7393
|
+
function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url) {
|
|
7394
|
+
return (0,goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse)(url);
|
|
7395
|
+
}
|
|
7396
|
+
module$exports$safevalues$internals$resource_url_impl.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
|
|
7397
|
+
function module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value) {
|
|
7398
|
+
return value instanceof goog.html.TrustedResourceUrl;
|
|
7399
|
+
}
|
|
7400
|
+
module$exports$safevalues$internals$resource_url_impl.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
7401
|
+
function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value) {
|
|
7402
|
+
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
7403
|
+
}
|
|
7404
|
+
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
7405
|
+
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"};
|
|
7406
|
+
module$exports$safevalues$internals$script_impl.SafeScript = module$contents$goog$html$SafeScript_SafeScript;
|
|
7407
|
+
function module$contents$safevalues$internals$script_impl_createScriptInternal(script) {
|
|
7408
|
+
return (0,module$exports$goog$html$internals.createSafeScript)(script);
|
|
7409
|
+
}
|
|
7410
|
+
module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
|
|
7411
|
+
module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT = module$contents$goog$html$SafeScript_SafeScript.EMPTY;
|
|
7412
|
+
function module$contents$safevalues$internals$script_impl_isScript(value) {
|
|
7413
|
+
return value instanceof module$contents$goog$html$SafeScript_SafeScript;
|
|
7414
|
+
}
|
|
7415
|
+
module$exports$safevalues$internals$script_impl.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
7416
|
+
function module$contents$safevalues$internals$script_impl_unwrapScript(value) {
|
|
7417
|
+
return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(value);
|
|
7418
|
+
}
|
|
7419
|
+
module$exports$safevalues$internals$script_impl.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
7420
|
+
var module$exports$safevalues$internals$style_impl = {}, module$contents$safevalues$internals$style_impl_module = module$contents$safevalues$internals$style_impl_module || {id:"third_party/javascript/safevalues/internals/style_impl.closure.js"};
|
|
7421
|
+
module$exports$safevalues$internals$style_impl.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
|
|
7422
|
+
function module$contents$safevalues$internals$style_impl_createStyleInternal(style) {
|
|
7423
|
+
return (0,module$exports$goog$html$internals.createSafeStyle)(style);
|
|
7424
|
+
}
|
|
7425
|
+
module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
7426
|
+
function module$contents$safevalues$internals$style_impl_isStyle(value) {
|
|
7427
|
+
return value instanceof module$contents$goog$html$SafeStyle_SafeStyle;
|
|
7428
|
+
}
|
|
7429
|
+
module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
7430
|
+
function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
|
|
7431
|
+
return module$contents$goog$html$SafeStyle_SafeStyle.unwrap(value);
|
|
7432
|
+
}
|
|
7433
|
+
module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
7434
|
+
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"};
|
|
7435
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
7436
|
+
function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet) {
|
|
7437
|
+
return (0,module$exports$goog$html$internals.createSafeStyleSheet)(styleSheet);
|
|
7438
|
+
}
|
|
7439
|
+
module$exports$safevalues$internals$style_sheet_impl.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
7440
|
+
function module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value) {
|
|
7441
|
+
return value instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
7442
|
+
}
|
|
7443
|
+
module$exports$safevalues$internals$style_sheet_impl.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
7444
|
+
function module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(value) {
|
|
7445
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(value);
|
|
7446
|
+
}
|
|
7447
|
+
module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
7448
|
+
var module$exports$safevalues$internals$url_impl = {}, module$contents$safevalues$internals$url_impl_module = module$contents$safevalues$internals$url_impl_module || {id:"third_party/javascript/safevalues/internals/url_impl.closure.js"};
|
|
7449
|
+
module$exports$safevalues$internals$url_impl.SafeUrl = goog.html.SafeUrl;
|
|
7450
|
+
function module$contents$safevalues$internals$url_impl_createUrlInternal(url) {
|
|
7451
|
+
return (0,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse)(url);
|
|
7452
|
+
}
|
|
7453
|
+
module$exports$safevalues$internals$url_impl.createUrlInternal = module$contents$safevalues$internals$url_impl_createUrlInternal;
|
|
7454
|
+
module$exports$safevalues$internals$url_impl.ABOUT_BLANK = goog.html.SafeUrl.ABOUT_BLANK;
|
|
7455
|
+
module$exports$safevalues$internals$url_impl.INNOCUOUS_URL = goog.html.SafeUrl.INNOCUOUS_URL;
|
|
7456
|
+
function module$contents$safevalues$internals$url_impl_isUrl(value) {
|
|
7457
|
+
return value instanceof goog.html.SafeUrl;
|
|
7458
|
+
}
|
|
7459
|
+
module$exports$safevalues$internals$url_impl.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
7460
|
+
function module$contents$safevalues$internals$url_impl_unwrapUrl(value) {
|
|
7461
|
+
return goog.html.SafeUrl.unwrap(value);
|
|
7462
|
+
}
|
|
7463
|
+
module$exports$safevalues$internals$url_impl.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
7464
|
+
var module$exports$safevalues$restricted$reviewed = {}, module$contents$safevalues$restricted$reviewed_module = module$contents$safevalues$restricted$reviewed_module || {id:"third_party/javascript/safevalues/restricted/reviewed.closure.js"};
|
|
7465
|
+
function module$contents$safevalues$restricted$reviewed_assertValidJustification(justification) {
|
|
7466
|
+
if ("string" !== typeof justification || "" === justification.trim()) {
|
|
7467
|
+
var errMsg;
|
|
7468
|
+
throw Error("Calls to uncheckedconversion functions must go through security review. A justification must be provided to capture what security assumptions are being made. See go/unchecked-conversions");
|
|
7469
|
+
}
|
|
7470
|
+
}
|
|
7471
|
+
function module$contents$safevalues$restricted$reviewed_htmlSafeByReview(html, justification) {
|
|
7472
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(justification);
|
|
7473
|
+
return module$contents$safevalues$internals$html_impl_createHtmlInternal(html);
|
|
7474
|
+
}
|
|
7475
|
+
module$exports$safevalues$restricted$reviewed.htmlSafeByReview = module$contents$safevalues$restricted$reviewed_htmlSafeByReview;
|
|
7476
|
+
function module$contents$safevalues$restricted$reviewed_scriptSafeByReview(script, justification) {
|
|
7477
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(justification);
|
|
7478
|
+
return module$contents$safevalues$internals$script_impl_createScriptInternal(script);
|
|
7479
|
+
}
|
|
7480
|
+
module$exports$safevalues$restricted$reviewed.scriptSafeByReview = module$contents$safevalues$restricted$reviewed_scriptSafeByReview;
|
|
7481
|
+
function module$contents$safevalues$restricted$reviewed_resourceUrlSafeByReview(url, justification) {
|
|
7482
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(justification);
|
|
7483
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url);
|
|
7484
|
+
}
|
|
7485
|
+
module$exports$safevalues$restricted$reviewed.resourceUrlSafeByReview = module$contents$safevalues$restricted$reviewed_resourceUrlSafeByReview;
|
|
7486
|
+
function module$contents$safevalues$restricted$reviewed_urlSafeByReview(url, justification) {
|
|
7487
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(justification);
|
|
7488
|
+
return module$contents$safevalues$internals$url_impl_createUrlInternal(url);
|
|
7489
|
+
}
|
|
7490
|
+
module$exports$safevalues$restricted$reviewed.urlSafeByReview = module$contents$safevalues$restricted$reviewed_urlSafeByReview;
|
|
7491
|
+
function module$contents$safevalues$restricted$reviewed_styleSafeByReview(style, justification) {
|
|
7492
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(justification);
|
|
7493
|
+
return module$contents$safevalues$internals$style_impl_createStyleInternal(style);
|
|
7494
|
+
}
|
|
7495
|
+
module$exports$safevalues$restricted$reviewed.styleSafeByReview = module$contents$safevalues$restricted$reviewed_styleSafeByReview;
|
|
7496
|
+
function module$contents$safevalues$restricted$reviewed_styleSheetSafeByReview(stylesheet, justification) {
|
|
7497
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(justification);
|
|
7498
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(stylesheet);
|
|
7499
|
+
}
|
|
7500
|
+
module$exports$safevalues$restricted$reviewed.styleSheetSafeByReview = module$contents$safevalues$restricted$reviewed_styleSheetSafeByReview;
|
|
7501
|
+
var safevalues = {restricted:{}};
|
|
7502
|
+
safevalues.restricted.reviewed = {};
|
|
7503
|
+
safevalues.restricted.reviewed.htmlSafeByReview = module$contents$safevalues$restricted$reviewed_htmlSafeByReview;
|
|
7504
|
+
safevalues.restricted.reviewed.scriptSafeByReview = module$contents$safevalues$restricted$reviewed_scriptSafeByReview;
|
|
7505
|
+
safevalues.restricted.reviewed.resourceUrlSafeByReview = module$contents$safevalues$restricted$reviewed_resourceUrlSafeByReview;
|
|
7506
|
+
safevalues.restricted.reviewed.urlSafeByReview = module$contents$safevalues$restricted$reviewed_urlSafeByReview;
|
|
7507
|
+
safevalues.restricted.reviewed.styleSafeByReview = module$contents$safevalues$restricted$reviewed_styleSafeByReview;
|
|
7508
|
+
safevalues.restricted.reviewed.styleSheetSafeByReview = module$contents$safevalues$restricted$reviewed_styleSheetSafeByReview;
|
|
7396
7509
|
goog.dom.safe = {};
|
|
7397
7510
|
goog.dom.safe.InsertAdjacentHtmlPosition = {AFTERBEGIN:"afterbegin", AFTEREND:"afterend", BEFOREBEGIN:"beforebegin", BEFOREEND:"beforeend"};
|
|
7398
7511
|
goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
|
|
@@ -7428,7 +7541,7 @@ goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
|
7428
7541
|
goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(elem, html);
|
|
7429
7542
|
};
|
|
7430
7543
|
goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
|
|
7431
|
-
goog.dom.safe.setInnerHtml(element,
|
|
7544
|
+
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), "Constant HTML to be immediatelly used."));
|
|
7432
7545
|
};
|
|
7433
7546
|
goog.dom.safe.setOuterHtml = function(elem, html) {
|
|
7434
7547
|
elem.outerHTML = module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html);
|
|
@@ -7702,7 +7815,7 @@ goog.string.unescapeEntitiesUsingDom_ = function(str, opt_document) {
|
|
|
7702
7815
|
var n = Number("0" + entity.slice(1));
|
|
7703
7816
|
isNaN(n) || (value = String.fromCharCode(n));
|
|
7704
7817
|
}
|
|
7705
|
-
value || (goog.dom.safe.setInnerHtml(div,
|
|
7818
|
+
value || (goog.dom.safe.setInnerHtml(div, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(s + " ", "Single HTML entity.")), value = div.firstChild.nodeValue.slice(0, -1));
|
|
7706
7819
|
return seen[s] = value;
|
|
7707
7820
|
});
|
|
7708
7821
|
};
|
|
@@ -14566,6 +14679,37 @@ goog.dom.BrowserFeature.CAN_USE_CHILDREN_ATTRIBUTE = !0;
|
|
|
14566
14679
|
goog.dom.BrowserFeature.CAN_USE_INNER_TEXT = !1;
|
|
14567
14680
|
goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY = goog.userAgent.IE || goog.userAgent.WEBKIT;
|
|
14568
14681
|
goog.dom.BrowserFeature.INNER_HTML_NEEDS_SCOPED_ELEMENT = goog.userAgent.IE;
|
|
14682
|
+
goog.html.uncheckedconversions = {};
|
|
14683
|
+
goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract = function(justification, html) {
|
|
14684
|
+
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14685
|
+
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14686
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(html);
|
|
14687
|
+
};
|
|
14688
|
+
goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract = function(justification, script) {
|
|
14689
|
+
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14690
|
+
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14691
|
+
return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(script);
|
|
14692
|
+
};
|
|
14693
|
+
goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract = function(justification, style) {
|
|
14694
|
+
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14695
|
+
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14696
|
+
return module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(style);
|
|
14697
|
+
};
|
|
14698
|
+
goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract = function(justification, styleSheet) {
|
|
14699
|
+
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14700
|
+
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14701
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
|
|
14702
|
+
};
|
|
14703
|
+
goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract = function(justification, url) {
|
|
14704
|
+
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14705
|
+
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14706
|
+
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
14707
|
+
};
|
|
14708
|
+
goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract = function(justification, url) {
|
|
14709
|
+
goog.asserts.assertString(goog.string.Const.unwrap(justification), "must provide justification");
|
|
14710
|
+
goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(justification)), "must provide non-empty justification");
|
|
14711
|
+
return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
14712
|
+
};
|
|
14569
14713
|
goog.math.Coordinate = function(opt_x, opt_y) {
|
|
14570
14714
|
this.x = void 0 !== opt_x ? opt_x : 0;
|
|
14571
14715
|
this.y = void 0 !== opt_y ? opt_y : 0;
|
|
@@ -17393,13 +17537,8 @@ goog.net.XhrIo.prototype.formatMsg_ = function(msg) {
|
|
|
17393
17537
|
goog.debug.entryPointRegistry.register(function(transformer) {
|
|
17394
17538
|
goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_ = transformer(goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_);
|
|
17395
17539
|
});
|
|
17396
|
-
/*
|
|
17397
|
-
|
|
17398
|
-
SPDX-License-Identifier: Apache-2.0
|
|
17399
|
-
*/
|
|
17400
17540
|
var module$exports$safevalues$builders$sensitive_attributes = {}, module$contents$safevalues$builders$sensitive_attributes_module = module$contents$safevalues$builders$sensitive_attributes_module || {id:"third_party/javascript/safevalues/builders/sensitive_attributes.closure.js"};
|
|
17401
17541
|
module$exports$safevalues$builders$sensitive_attributes.SECURITY_SENSITIVE_ATTRIBUTES = "src srcdoc codebase data href rel action formaction sandbox cite poster icon".split(" ");
|
|
17402
|
-
var module$contents$safevalues$environment$dev_module = module$contents$safevalues$environment$dev_module || {id:"third_party/javascript/safevalues/environment/dev.closure.js"};
|
|
17403
17542
|
var module$exports$safevalues$internals$secrets = {}, module$contents$safevalues$internals$secrets_module = module$contents$safevalues$internals$secrets_module || {id:"third_party/javascript/safevalues/internals/secrets.closure.js"};
|
|
17404
17543
|
module$exports$safevalues$internals$secrets.secretToken = {};
|
|
17405
17544
|
function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
|
|
@@ -17432,8 +17571,8 @@ function module$contents$safevalues$internals$attribute_impl_unwrapAttributePref
|
|
|
17432
17571
|
throw Error(message);
|
|
17433
17572
|
}
|
|
17434
17573
|
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
17435
|
-
var $jscomp$templatelit$
|
|
17436
|
-
["\\0"]), $jscomp$templatelit$
|
|
17574
|
+
var $jscomp$templatelit$m425881384$0 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$1 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$2 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$3 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$4 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
17575
|
+
["\\0"]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$7 = $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"};
|
|
17437
17576
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
17438
17577
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
17439
17578
|
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 ##############################");
|
|
@@ -17447,14 +17586,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
17447
17586
|
return -1 === fn.toString().indexOf("`");
|
|
17448
17587
|
}
|
|
17449
17588
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17450
|
-
return tag($jscomp$templatelit$
|
|
17589
|
+
return tag($jscomp$templatelit$m425881384$0);
|
|
17451
17590
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17452
|
-
return tag($jscomp$templatelit$
|
|
17591
|
+
return tag($jscomp$templatelit$m425881384$1);
|
|
17453
17592
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17454
|
-
return tag($jscomp$templatelit$
|
|
17593
|
+
return tag($jscomp$templatelit$m425881384$2);
|
|
17455
17594
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17456
|
-
return tag($jscomp$templatelit$
|
|
17457
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
17595
|
+
return tag($jscomp$templatelit$m425881384$3);
|
|
17596
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$4) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$5) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$6) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$7);
|
|
17458
17597
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
17459
17598
|
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)) ?
|
|
17460
17599
|
!0 : !1;
|
|
@@ -17475,29 +17614,7 @@ function module$contents$safevalues$builders$attribute_builders_safeAttrPrefix(t
|
|
|
17475
17614
|
}
|
|
17476
17615
|
return module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal(attrPrefix);
|
|
17477
17616
|
}
|
|
17478
|
-
;var module$
|
|
17479
|
-
module$exports$goog$html$internals.createSafeHtml = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse;
|
|
17480
|
-
module$exports$goog$html$internals.createSafeScript = module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse;
|
|
17481
|
-
module$exports$goog$html$internals.createSafeStyle = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse;
|
|
17482
|
-
module$exports$goog$html$internals.createSafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse;
|
|
17483
|
-
module$exports$goog$html$internals.createSafeUrl = goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse;
|
|
17484
|
-
module$exports$goog$html$internals.createTrustedResourceUrl = goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse;
|
|
17485
|
-
var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"};
|
|
17486
|
-
module$exports$safevalues$internals$html_impl.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
|
|
17487
|
-
function module$contents$safevalues$internals$html_impl_createHtmlInternal(html) {
|
|
17488
|
-
return (0,module$exports$goog$html$internals.createSafeHtml)(html);
|
|
17489
|
-
}
|
|
17490
|
-
module$exports$safevalues$internals$html_impl.createHtmlInternal = module$contents$safevalues$internals$html_impl_createHtmlInternal;
|
|
17491
|
-
module$exports$safevalues$internals$html_impl.EMPTY_HTML = module$contents$goog$html$SafeHtml_SafeHtml.EMPTY;
|
|
17492
|
-
function module$contents$safevalues$internals$html_impl_isHtml(value) {
|
|
17493
|
-
return value instanceof module$contents$goog$html$SafeHtml_SafeHtml;
|
|
17494
|
-
}
|
|
17495
|
-
module$exports$safevalues$internals$html_impl.isHtml = module$contents$safevalues$internals$html_impl_isHtml;
|
|
17496
|
-
function module$contents$safevalues$internals$html_impl_unwrapHtml(value) {
|
|
17497
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(value);
|
|
17498
|
-
}
|
|
17499
|
-
module$exports$safevalues$internals$html_impl.unwrapHtml = module$contents$safevalues$internals$html_impl_unwrapHtml;
|
|
17500
|
-
var module$contents$safevalues$builders$document_fragment_builders_module = module$contents$safevalues$builders$document_fragment_builders_module || {id:"third_party/javascript/safevalues/builders/document_fragment_builders.closure.js"};
|
|
17617
|
+
;var module$contents$safevalues$builders$document_fragment_builders_module = module$contents$safevalues$builders$document_fragment_builders_module || {id:"third_party/javascript/safevalues/builders/document_fragment_builders.closure.js"};
|
|
17501
17618
|
function module$contents$safevalues$builders$document_fragment_builders_safeFragment(templateObj) {
|
|
17502
17619
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, 0);
|
|
17503
17620
|
return document.createRange().createContextualFragment(module$contents$safevalues$internals$html_impl_unwrapHtml(module$contents$safevalues$internals$html_impl_createHtmlInternal(templateObj[0])));
|
|
@@ -17506,37 +17623,7 @@ function module$contents$safevalues$builders$document_fragment_builders_safeFrag
|
|
|
17506
17623
|
function module$contents$safevalues$internals$pure_pure(valueOf) {
|
|
17507
17624
|
return {valueOf:valueOf}.valueOf();
|
|
17508
17625
|
}
|
|
17509
|
-
;var module$exports$safevalues$
|
|
17510
|
-
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = goog.html.TrustedResourceUrl;
|
|
17511
|
-
function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url) {
|
|
17512
|
-
return (0,goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse)(url);
|
|
17513
|
-
}
|
|
17514
|
-
module$exports$safevalues$internals$resource_url_impl.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
|
|
17515
|
-
function module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value) {
|
|
17516
|
-
return value instanceof goog.html.TrustedResourceUrl;
|
|
17517
|
-
}
|
|
17518
|
-
module$exports$safevalues$internals$resource_url_impl.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
17519
|
-
function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value) {
|
|
17520
|
-
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
17521
|
-
}
|
|
17522
|
-
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
17523
|
-
var module$exports$safevalues$internals$url_impl = {}, module$contents$safevalues$internals$url_impl_module = module$contents$safevalues$internals$url_impl_module || {id:"third_party/javascript/safevalues/internals/url_impl.closure.js"};
|
|
17524
|
-
module$exports$safevalues$internals$url_impl.SafeUrl = goog.html.SafeUrl;
|
|
17525
|
-
function module$contents$safevalues$internals$url_impl_createUrlInternal(url) {
|
|
17526
|
-
return (0,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse)(url);
|
|
17527
|
-
}
|
|
17528
|
-
module$exports$safevalues$internals$url_impl.createUrlInternal = module$contents$safevalues$internals$url_impl_createUrlInternal;
|
|
17529
|
-
module$exports$safevalues$internals$url_impl.ABOUT_BLANK = goog.html.SafeUrl.ABOUT_BLANK;
|
|
17530
|
-
module$exports$safevalues$internals$url_impl.INNOCUOUS_URL = goog.html.SafeUrl.INNOCUOUS_URL;
|
|
17531
|
-
function module$contents$safevalues$internals$url_impl_isUrl(value) {
|
|
17532
|
-
return value instanceof goog.html.SafeUrl;
|
|
17533
|
-
}
|
|
17534
|
-
module$exports$safevalues$internals$url_impl.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
17535
|
-
function module$contents$safevalues$internals$url_impl_unwrapUrl(value) {
|
|
17536
|
-
return goog.html.SafeUrl.unwrap(value);
|
|
17537
|
-
}
|
|
17538
|
-
module$exports$safevalues$internals$url_impl.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
17539
|
-
var module$exports$safevalues$builders$url_builders = {}, module$contents$safevalues$builders$url_builders_module = module$contents$safevalues$builders$url_builders_module || {id:"third_party/javascript/safevalues/builders/url_builders.closure.js"};
|
|
17626
|
+
;var module$exports$safevalues$builders$url_builders = {}, module$contents$safevalues$builders$url_builders_module = module$contents$safevalues$builders$url_builders_module || {id:"third_party/javascript/safevalues/builders/url_builders.closure.js"};
|
|
17540
17627
|
function module$contents$safevalues$builders$url_builders_isSafeMimeType(mimeType) {
|
|
17541
17628
|
var match = mimeType.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i);
|
|
17542
17629
|
return 2 === (null == match ? void 0 : match.length) && (module$contents$safevalues$builders$url_builders_isSafeImageMimeType(match[1]) || module$contents$safevalues$builders$url_builders_isSafeVideoMimeType(match[1]) || module$contents$safevalues$builders$url_builders_isSafeAudioMimeType(match[1]) || module$contents$safevalues$builders$url_builders_isSafeFontMimeType(match[1]));
|
|
@@ -17710,35 +17797,6 @@ function module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSan
|
|
|
17710
17797
|
-1 !== callbackIndex && module$contents$safevalues$builders$url_builders_sanitizationCallbacks.splice(callbackIndex, 1);
|
|
17711
17798
|
}
|
|
17712
17799
|
module$exports$safevalues$builders$url_builders.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
17713
|
-
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"};
|
|
17714
|
-
module$exports$safevalues$internals$script_impl.SafeScript = module$contents$goog$html$SafeScript_SafeScript;
|
|
17715
|
-
function module$contents$safevalues$internals$script_impl_createScriptInternal(script) {
|
|
17716
|
-
return (0,module$exports$goog$html$internals.createSafeScript)(script);
|
|
17717
|
-
}
|
|
17718
|
-
module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
|
|
17719
|
-
module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT = module$contents$goog$html$SafeScript_SafeScript.EMPTY;
|
|
17720
|
-
function module$contents$safevalues$internals$script_impl_isScript(value) {
|
|
17721
|
-
return value instanceof module$contents$goog$html$SafeScript_SafeScript;
|
|
17722
|
-
}
|
|
17723
|
-
module$exports$safevalues$internals$script_impl.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
17724
|
-
function module$contents$safevalues$internals$script_impl_unwrapScript(value) {
|
|
17725
|
-
return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(value);
|
|
17726
|
-
}
|
|
17727
|
-
module$exports$safevalues$internals$script_impl.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
17728
|
-
var module$exports$safevalues$internals$style_impl = {}, module$contents$safevalues$internals$style_impl_module = module$contents$safevalues$internals$style_impl_module || {id:"third_party/javascript/safevalues/internals/style_impl.closure.js"};
|
|
17729
|
-
module$exports$safevalues$internals$style_impl.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
|
|
17730
|
-
function module$contents$safevalues$internals$style_impl_createStyleInternal(style) {
|
|
17731
|
-
return (0,module$exports$goog$html$internals.createSafeStyle)(style);
|
|
17732
|
-
}
|
|
17733
|
-
module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
17734
|
-
function module$contents$safevalues$internals$style_impl_isStyle(value) {
|
|
17735
|
-
return value instanceof module$contents$goog$html$SafeStyle_SafeStyle;
|
|
17736
|
-
}
|
|
17737
|
-
module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
17738
|
-
function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
|
|
17739
|
-
return module$contents$goog$html$SafeStyle_SafeStyle.unwrap(value);
|
|
17740
|
-
}
|
|
17741
|
-
module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
17742
17800
|
var module$exports$safevalues$builders$html_builders = {}, module$contents$safevalues$builders$html_builders_module = module$contents$safevalues$builders$html_builders_module || {id:"third_party/javascript/safevalues/builders/html_builders.closure.js"};
|
|
17743
17801
|
function module$contents$safevalues$builders$html_builders_htmlEscape(value, options) {
|
|
17744
17802
|
options = void 0 === options ? {} : options;
|
|
@@ -18042,7 +18100,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
18042
18100
|
return !0;
|
|
18043
18101
|
}
|
|
18044
18102
|
for (var $jscomp$iter$34 = $jscomp.makeIterator(conditions), $jscomp$key$ = $jscomp$iter$34.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$34.next()) {
|
|
18045
|
-
var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var35.next().value, expectedValues = $jscomp$destructuring$var35.next().value, $jscomp$optchain$
|
|
18103
|
+
var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var35.next().value, expectedValues = $jscomp$destructuring$var35.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = null == ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
18046
18104
|
if (value && !expectedValues.has(value)) {
|
|
18047
18105
|
return !1;
|
|
18048
18106
|
}
|
|
@@ -18226,6 +18284,10 @@ function module$contents$safevalues$builders$resource_url_builders_isValidPathSt
|
|
|
18226
18284
|
function module$contents$safevalues$builders$resource_url_builders_isValidRelativePathStart(base) {
|
|
18227
18285
|
return RegExp("^[^:\\s\\\\/]+/").test(base);
|
|
18228
18286
|
}
|
|
18287
|
+
function module$contents$safevalues$builders$resource_url_builders_getUrlSegments(url) {
|
|
18288
|
+
var segments = url.split(/\?|#/), params = /\?/.test(url) ? "?" + segments[1] : "";
|
|
18289
|
+
return {path:segments[0], params:params, hash:/#/.test(url) ? "#" + (params ? segments[2] : segments[1]) : ""};
|
|
18290
|
+
}
|
|
18229
18291
|
function module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl(templateObj) {
|
|
18230
18292
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
18231
18293
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, rest.length);
|
|
@@ -18248,20 +18310,14 @@ function module$contents$safevalues$builders$resource_url_builders_trustedResour
|
|
|
18248
18310
|
}
|
|
18249
18311
|
module$exports$safevalues$builders$resource_url_builders.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
18250
18312
|
function module$contents$safevalues$builders$resource_url_builders_appendParams(trustedUrl, params) {
|
|
18251
|
-
var
|
|
18252
|
-
if (/#/.test(url)) {
|
|
18253
|
-
var message = "";
|
|
18254
|
-
goog.DEBUG && (message = "Found a hash in url (" + url + "), appending not supported");
|
|
18255
|
-
throw Error(message);
|
|
18256
|
-
}
|
|
18257
|
-
var separator = /\?/.test(url) ? "&" : "?";
|
|
18313
|
+
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 ? "&" : "?";
|
|
18258
18314
|
params.forEach(function(value, key) {
|
|
18259
18315
|
for (var values = value instanceof Array ? value : [value], i = 0; i < values.length; i++) {
|
|
18260
18316
|
var v = values[i];
|
|
18261
|
-
null !== v && void 0 !== v && (
|
|
18317
|
+
null !== v && void 0 !== v && (urlParams += separator + encodeURIComponent(key) + "=" + encodeURIComponent(String(v)), separator = "&");
|
|
18262
18318
|
}
|
|
18263
18319
|
});
|
|
18264
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(
|
|
18320
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(urlSegments.path + urlParams + urlSegments.hash);
|
|
18265
18321
|
}
|
|
18266
18322
|
module$exports$safevalues$builders$resource_url_builders.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
18267
18323
|
var module$contents$safevalues$builders$resource_url_builders_BEFORE_FRAGMENT_REGEXP = /[^#]*/;
|
|
@@ -18271,10 +18327,8 @@ function module$contents$safevalues$builders$resource_url_builders_replaceFragme
|
|
|
18271
18327
|
}
|
|
18272
18328
|
module$exports$safevalues$builders$resource_url_builders.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
18273
18329
|
function module$contents$safevalues$builders$resource_url_builders_appendPathSegment(trustedUrl, pathSegment) {
|
|
18274
|
-
var
|
|
18275
|
-
|
|
18276
|
-
void 0 !== fragVal && (url += "#" + fragVal);
|
|
18277
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url);
|
|
18330
|
+
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString()), separator = "/" === urlSegments.path.slice(-1) ? "" : "/", newPath = urlSegments.path + separator + encodeURIComponent(pathSegment);
|
|
18331
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(newPath + urlSegments.params + urlSegments.hash);
|
|
18278
18332
|
}
|
|
18279
18333
|
module$exports$safevalues$builders$resource_url_builders.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
18280
18334
|
function module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript(safeScript) {
|
|
@@ -18347,20 +18401,6 @@ function module$contents$safevalues$builders$style_builders_concatStyles(styles)
|
|
|
18347
18401
|
return module$contents$safevalues$internals$style_impl_createStyleInternal(styles.map(module$contents$safevalues$internals$style_impl_unwrapStyle).join(""));
|
|
18348
18402
|
}
|
|
18349
18403
|
module$exports$safevalues$builders$style_builders.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
18350
|
-
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"};
|
|
18351
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
18352
|
-
function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet) {
|
|
18353
|
-
return (0,module$exports$goog$html$internals.createSafeStyleSheet)(styleSheet);
|
|
18354
|
-
}
|
|
18355
|
-
module$exports$safevalues$internals$style_sheet_impl.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
18356
|
-
function module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value) {
|
|
18357
|
-
return value instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
18358
|
-
}
|
|
18359
|
-
module$exports$safevalues$internals$style_sheet_impl.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
18360
|
-
function module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(value) {
|
|
18361
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(value);
|
|
18362
|
-
}
|
|
18363
|
-
module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
18364
18404
|
var module$exports$safevalues$builders$style_sheet_builders = {}, module$contents$safevalues$builders$style_sheet_builders_module = module$contents$safevalues$builders$style_sheet_builders_module || {id:"third_party/javascript/safevalues/builders/style_sheet_builders.closure.js"}, module$contents$safevalues$builders$style_sheet_builders_Primitive;
|
|
18365
18405
|
module$exports$safevalues$builders$style_sheet_builders.safeStyleRule = function(templateObj) {
|
|
18366
18406
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
@@ -18437,12 +18477,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
18437
18477
|
}
|
|
18438
18478
|
try {
|
|
18439
18479
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
18440
|
-
} catch ($jscomp$unused$catch$
|
|
18480
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
18441
18481
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
18442
18482
|
}
|
|
18443
18483
|
try {
|
|
18444
18484
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
18445
|
-
} catch ($jscomp$unused$catch$
|
|
18485
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
18446
18486
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
18447
18487
|
}
|
|
18448
18488
|
return !1;
|
|
@@ -18527,7 +18567,6 @@ module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals
|
|
|
18527
18567
|
module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
18528
18568
|
module$exports$safevalues$index.createHtml = module$exports$safevalues$builders$html_builders.createHtml;
|
|
18529
18569
|
module$exports$safevalues$index.safeStyleRule = module$exports$safevalues$builders$style_sheet_builders.safeStyleRule;
|
|
18530
|
-
var safevalues = {};
|
|
18531
18570
|
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
18532
18571
|
safevalues.safeFragment = module$contents$safevalues$builders$document_fragment_builders_safeFragment;
|
|
18533
18572
|
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
@@ -18596,7 +18635,7 @@ var $jscomp$templatelit$294235699$0 = $jscomp.createTemplateTagFirstArg(["https:
|
|
|
18596
18635
|
ee.apiclient = {};
|
|
18597
18636
|
var module$contents$ee$apiclient_apiclient = {};
|
|
18598
18637
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
18599
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
18638
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.381";
|
|
18600
18639
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
18601
18640
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
18602
18641
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -18887,8 +18926,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
18887
18926
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
18888
18927
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
18889
18928
|
method = method || "POST";
|
|
18890
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
18891
|
-
"0.1.
|
|
18929
|
+
var headers = {"Content-Type":contentType}, version = "0.1.381";
|
|
18930
|
+
"0.1.381" === version && (version = "latest");
|
|
18892
18931
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
18893
18932
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
18894
18933
|
if (null != authToken) {
|
|
@@ -22377,10 +22416,12 @@ ee.Feature.prototype.getInfo = function(opt_callback) {
|
|
|
22377
22416
|
return ee.Feature.superClass_.getInfo.call(this, opt_callback);
|
|
22378
22417
|
};
|
|
22379
22418
|
goog.exportProperty(ee.Feature.prototype, "getInfo", ee.Feature.prototype.getInfo);
|
|
22380
|
-
ee.Feature.prototype.
|
|
22419
|
+
ee.Feature.prototype.getMapId = function(opt_visParams, opt_callback) {
|
|
22381
22420
|
var args = ee.arguments.extractFromFunction(ee.Feature.prototype.getMap, arguments);
|
|
22382
|
-
return ee.ApiFunction._call("Collection", [this]).
|
|
22421
|
+
return ee.ApiFunction._call("Collection", [this]).getMapId(args.visParams, args.callback);
|
|
22383
22422
|
};
|
|
22423
|
+
goog.exportProperty(ee.Feature.prototype, "getMapId", ee.Feature.prototype.getMapId);
|
|
22424
|
+
ee.Feature.prototype.getMap = ee.Feature.prototype.getMapId;
|
|
22384
22425
|
goog.exportProperty(ee.Feature.prototype, "getMap", ee.Feature.prototype.getMap);
|
|
22385
22426
|
ee.Feature.prototype.name = function() {
|
|
22386
22427
|
return "Feature";
|
|
@@ -22619,7 +22660,7 @@ ee.Image.prototype.getInfo = function(opt_callback) {
|
|
|
22619
22660
|
return ee.Image.superClass_.getInfo.call(this, opt_callback);
|
|
22620
22661
|
};
|
|
22621
22662
|
goog.exportProperty(ee.Image.prototype, "getInfo", ee.Image.prototype.getInfo);
|
|
22622
|
-
ee.Image.prototype.
|
|
22663
|
+
ee.Image.prototype.getMapId = function(opt_visParams, opt_callback) {
|
|
22623
22664
|
var $jscomp$this = this, args = ee.arguments.extractFromFunction(ee.Image.prototype.getMap, arguments), request = ee.data.images.applyVisualization(this, args.visParams);
|
|
22624
22665
|
if (args.callback) {
|
|
22625
22666
|
var callback = args.callback;
|
|
@@ -22633,6 +22674,8 @@ ee.Image.prototype.getMap = function(opt_visParams, opt_callback) {
|
|
|
22633
22674
|
return response;
|
|
22634
22675
|
}
|
|
22635
22676
|
};
|
|
22677
|
+
goog.exportProperty(ee.Image.prototype, "getMapId", ee.Image.prototype.getMapId);
|
|
22678
|
+
ee.Image.prototype.getMap = ee.Image.prototype.getMapId;
|
|
22636
22679
|
goog.exportProperty(ee.Image.prototype, "getMap", ee.Image.prototype.getMap);
|
|
22637
22680
|
ee.Image.prototype.getDownloadURL = function(params, opt_callback) {
|
|
22638
22681
|
var args = ee.arguments.extractFromFunction(ee.Image.prototype.getDownloadURL, arguments), request = args.params ? module$contents$goog$object_clone(args.params) : {};
|
|
@@ -22831,14 +22874,16 @@ ee.FeatureCollection.reset = function() {
|
|
|
22831
22874
|
ee.ApiFunction.clearApi(ee.FeatureCollection);
|
|
22832
22875
|
ee.FeatureCollection.initialized_ = !1;
|
|
22833
22876
|
};
|
|
22834
|
-
ee.FeatureCollection.prototype.
|
|
22835
|
-
var args = ee.arguments.extractFromFunction(ee.FeatureCollection.prototype.
|
|
22877
|
+
ee.FeatureCollection.prototype.getMapId = function(opt_visParams, opt_callback) {
|
|
22878
|
+
var args = ee.arguments.extractFromFunction(ee.FeatureCollection.prototype.getMapId, arguments), painted = ee.ApiFunction._apply("Collection.draw", {collection:this, color:(args.visParams || {}).color || "000000"});
|
|
22836
22879
|
if (args.callback) {
|
|
22837
|
-
painted.
|
|
22880
|
+
painted.getMapId(void 0, args.callback);
|
|
22838
22881
|
} else {
|
|
22839
|
-
return painted.
|
|
22882
|
+
return painted.getMapId();
|
|
22840
22883
|
}
|
|
22841
22884
|
};
|
|
22885
|
+
goog.exportProperty(ee.FeatureCollection.prototype, "getMapId", ee.FeatureCollection.prototype.getMapId);
|
|
22886
|
+
ee.FeatureCollection.prototype.getMap = ee.FeatureCollection.prototype.getMapId;
|
|
22842
22887
|
goog.exportProperty(ee.FeatureCollection.prototype, "getMap", ee.FeatureCollection.prototype.getMap);
|
|
22843
22888
|
ee.FeatureCollection.prototype.getInfo = function(opt_callback) {
|
|
22844
22889
|
return ee.FeatureCollection.superClass_.getInfo.call(this, opt_callback);
|
|
@@ -22967,14 +23012,16 @@ ee.ImageCollection.prototype.getThumbURL_ = function(collection, args, validForm
|
|
|
22967
23012
|
return ee.data.makeThumbUrl(getThumbId(request));
|
|
22968
23013
|
}
|
|
22969
23014
|
};
|
|
22970
|
-
ee.ImageCollection.prototype.
|
|
22971
|
-
var args = ee.arguments.extractFromFunction(ee.ImageCollection.prototype.
|
|
23015
|
+
ee.ImageCollection.prototype.getMapId = function(opt_visParams, opt_callback) {
|
|
23016
|
+
var args = ee.arguments.extractFromFunction(ee.ImageCollection.prototype.getMapId, arguments), mosaic = ee.ApiFunction._call("ImageCollection.mosaic", this);
|
|
22972
23017
|
if (args.callback) {
|
|
22973
|
-
mosaic.
|
|
23018
|
+
mosaic.getMapId(args.visParams, args.callback);
|
|
22974
23019
|
} else {
|
|
22975
|
-
return mosaic.
|
|
23020
|
+
return mosaic.getMapId(args.visParams);
|
|
22976
23021
|
}
|
|
22977
23022
|
};
|
|
23023
|
+
goog.exportProperty(ee.ImageCollection.prototype, "getMapId", ee.ImageCollection.prototype.getMapId);
|
|
23024
|
+
ee.ImageCollection.prototype.getMap = ee.ImageCollection.prototype.getMapId;
|
|
22978
23025
|
goog.exportProperty(ee.ImageCollection.prototype, "getMap", ee.ImageCollection.prototype.getMap);
|
|
22979
23026
|
ee.ImageCollection.prototype.getInfo = function(opt_callback) {
|
|
22980
23027
|
return ee.ImageCollection.superClass_.getInfo.call(this, opt_callback);
|
|
@@ -26437,28 +26484,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26437
26484
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26438
26485
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26439
26486
|
(function() {
|
|
26440
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
26441
|
-
orderedParamLists = [["name", "
|
|
26442
|
-
"collection opt_description
|
|
26443
|
-
"collection opt_description
|
|
26444
|
-
"
|
|
26445
|
-
"
|
|
26446
|
-
|
|
26447
|
-
["
|
|
26448
|
-
["
|
|
26449
|
-
|
|
26450
|
-
|
|
26451
|
-
"opt_proj", "opt_geodesic", "
|
|
26452
|
-
"opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["
|
|
26453
|
-
[ee.ApiFunction.
|
|
26454
|
-
module$contents$ee$batch_Export.
|
|
26455
|
-
ee.ComputedObject.prototype.
|
|
26456
|
-
ee.data.
|
|
26457
|
-
ee.data.
|
|
26458
|
-
ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.
|
|
26459
|
-
ee.
|
|
26460
|
-
ee.Image, ee.Image.prototype.
|
|
26461
|
-
ee.Serializer.
|
|
26487
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.table.toBigQuery ee.batch.Export.video.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.table.toFeatureView ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.classifier.toAsset ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.limit ee.Collection.prototype.sort ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.data.deleteAsset ee.data.createAssetHome ee.data.getList ee.data.listAssets ee.data.createAsset ee.data.authenticateViaOauth ee.data.getTaskStatus ee.data.getTableDownloadId ee.data.getFeatureViewTilesKey ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.getInfo ee.data.getAssetRootQuota ee.data.computeValue ee.data.listFeatures ee.data.setAssetProperties ee.data.getThumbId ee.data.authenticateViaPopup ee.data.getAssetAcl ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.makeThumbUrl ee.data.resetWorkloadTag ee.data.authenticateViaPrivateKey ee.data.getAssetRoots ee.data.listImages ee.data.setAssetAcl ee.data.listBuckets ee.data.cancelOperation ee.data.listOperations ee.data.getTaskList ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.copyAsset ee.data.updateAsset ee.data.getTaskListWithLimit ee.data.getAsset ee.data.renameAsset ee.data.newTaskId ee.data.createFolder ee.data.makeTableDownloadUrl ee.data.authenticate ee.data.getOperation ee.data.getMapId ee.data.startTableIngestion ee.data.setWorkloadTag ee.data.startProcessing ee.data.updateTask ee.data.getTileUrl ee.data.getWorkloadTag ee.data.startIngestion ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.TILE_SIZE ee.reset ee.initialize ee.call ee.Algorithms ee.InitState ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.Filter.lt ee.Filter.and ee.Filter.or ee.Filter.gte ee.Filter.date ee.Filter.inList ee.Filter.prototype.not ee.Filter ee.Filter.metadata ee.Filter.eq ee.Filter.neq ee.Filter.bounds ee.Filter.gt ee.Filter.lte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.LinearRing ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry ee.Geometry.MultiPoint ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Geometry.LineString ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image.prototype.expression ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbURL ee.Image.prototype.clip ee.Image.prototype.select ee.Image.cat ee.Image ee.Image.prototype.getMapId ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.List ee.Number ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toCloudApiJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApiPretty ee.String ee.Terrain".split(" "),
|
|
26488
|
+
orderedParamLists = [["name"], ["name", "namedArgs"], ["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".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),
|
|
26489
|
+
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),
|
|
26490
|
+
"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices"], "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".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".split(" "),
|
|
26491
|
+
"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".split(" "), ["classifier", "opt_description", "opt_assetId"], ["algorithm", "opt_dropNulls"], ["geometry"], ["filter"], ["start", "opt_end"], ["algorithm", "opt_first"], ["name", "operator", "value"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["legacy"],
|
|
26492
|
+
["callback"], ["func", "var_args"], ["opt_callback"], ["assetId", "opt_callback"], ["requestedId", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["taskId", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["id"], ["id", "opt_callback"],
|
|
26493
|
+
["rootId", "opt_callback"], ["obj", "opt_callback"], ["asset", "params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["params", "opt_callback"], ["opt_success", "opt_error"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["id"], ["opt_resetDefault"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"],
|
|
26494
|
+
["project", "opt_callback"], ["operationName", "opt_callback"], ["opt_limit", "opt_callback"], ["opt_callback"], ["taskId", "opt_callback"], ["tag"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["opt_limit", "opt_callback"], ["id", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["opt_count", "opt_callback"], ["path", "opt_force", "opt_callback"], ["id"], ["clientId", "success", "opt_error", "opt_extraScopes",
|
|
26495
|
+
"opt_onImmediateFailed"], ["operationName", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["tag"], ["taskId", "params", "opt_callback"], ["taskId", "action", "opt_callback"], ["id", "x", "y", "z"], [], ["taskId", "request", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], ["func",
|
|
26496
|
+
"namedArgs"], ["var_args"], [], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_callback"], ["args", "opt_column"], ["opt_visParams", "opt_callback"], ["name", "value"], ["var_args"], ["var_args"], ["name", "value"], ["start", "opt_end"], ["opt_leftField",
|
|
26497
|
+
"opt_rightValue", "opt_rightField", "opt_leftValue"], [], ["opt_filter"], ["name", "operator", "value"], ["name", "value"], ["name", "value"], ["geometry", "opt_errorMargin"], ["name", "value"], ["name", "value"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], [], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError",
|
|
26498
|
+
"opt_evenOdd"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["opt_visParams", "opt_callback"], ["var_args"], ["opt_callback"], ["expression", "opt_map"], ["params", "opt_callback"], ["r", "g", "b"], ["params", "opt_callback"], ["params", "opt_callback"], ["geometry"], ["var_args"], ["var_args"],
|
|
26499
|
+
["opt_args"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["selectors", "opt_names"], ["opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["args"], ["params", "opt_callback"], ["params", "opt_callback"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["string"], []];
|
|
26500
|
+
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.table.toAsset,
|
|
26501
|
+
module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.classifier.toAsset, ee.Collection.prototype.map, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filter, ee.Collection.prototype.filterDate, ee.Collection.prototype.iterate, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.ComputedObject.prototype.serialize,
|
|
26502
|
+
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.getInfo, ee.data.deleteAsset, ee.data.createAssetHome, ee.data.getList, ee.data.listAssets, ee.data.createAsset, ee.data.authenticateViaOauth, ee.data.getTaskStatus, ee.data.getTableDownloadId, ee.data.getFeatureViewTilesKey, ee.data.getDownloadId, ee.data.makeDownloadUrl, ee.data.getInfo, ee.data.getAssetRootQuota, ee.data.computeValue, ee.data.listFeatures, ee.data.setAssetProperties, ee.data.getThumbId,
|
|
26503
|
+
ee.data.authenticateViaPopup, ee.data.getAssetAcl, ee.data.getVideoThumbId, ee.data.getFilmstripThumbId, ee.data.makeThumbUrl, ee.data.resetWorkloadTag, ee.data.authenticateViaPrivateKey, ee.data.getAssetRoots, ee.data.listImages, ee.data.setAssetAcl, ee.data.listBuckets, ee.data.cancelOperation, ee.data.listOperations, ee.data.getTaskList, ee.data.cancelTask, ee.data.setDefaultWorkloadTag, ee.data.copyAsset, ee.data.updateAsset, ee.data.getTaskListWithLimit, ee.data.getAsset, ee.data.renameAsset,
|
|
26504
|
+
ee.data.newTaskId, ee.data.createFolder, ee.data.makeTableDownloadUrl, ee.data.authenticate, ee.data.getOperation, ee.data.getMapId, ee.data.startTableIngestion, ee.data.setWorkloadTag, ee.data.startProcessing, ee.data.updateTask, ee.data.getTileUrl, ee.data.getWorkloadTag, ee.data.startIngestion, ee.Date, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Dictionary, ee.TILE_SIZE, ee.reset, ee.initialize, ee.call, ee.Algorithms,
|
|
26505
|
+
ee.InitState, ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection, ee.FeatureCollection.prototype.getMap, ee.Filter.lt, ee.Filter.and, ee.Filter.or, ee.Filter.gte, ee.Filter.date, ee.Filter.inList, ee.Filter.prototype.not,
|
|
26506
|
+
ee.Filter, ee.Filter.metadata, ee.Filter.eq, ee.Filter.neq, ee.Filter.bounds, ee.Filter.gt, ee.Filter.lte, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSON, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.BBox, ee.Geometry.LinearRing, ee.Geometry.Point, ee.Geometry.prototype.serialize, ee.Geometry.MultiPolygon, ee.Geometry, ee.Geometry.MultiPoint, ee.Geometry.MultiLineString, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Image.prototype.getMap,
|
|
26507
|
+
ee.Image.prototype.rename, ee.Image.prototype.getInfo, ee.Image.prototype.expression, ee.Image.prototype.getThumbId, ee.Image.rgb, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getThumbURL, ee.Image.prototype.clip, ee.Image.prototype.select, ee.Image.cat, ee.Image, ee.Image.prototype.getMapId, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.linkCollection,
|
|
26508
|
+
ee.ImageCollection.prototype.first, ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.List, ee.Number, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.encodeCloudApiPretty, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26462
26509
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
26463
26510
|
});
|
|
26464
26511
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|