@google/earthengine 0.1.384 → 0.1.386
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 +278 -337
- package/build/ee_api_js.js +372 -368
- package/build/ee_api_js_debug.js +256 -314
- package/build/ee_api_js_npm.js +278 -337
- package/build/main.js +278 -337
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/eeapiclient/api_client.ts +17 -14
- package/src/eeapiclient/api_request_hook.ts +7 -6
- package/src/eeapiclient/domain_object.ts +171 -96
- package/src/eeapiclient/generated_types.ts +9 -4
- package/src/eeapiclient/multipart_request.ts +23 -18
- package/src/eeapiclient/promise_api_client.ts +46 -27
- package/src/eeapiclient/promise_request_service.ts +15 -8
- package/src/eeapiclient/request_params.ts +26 -13
- package/src/eeapiclient/request_params_test.ts +77 -76
package/build/main.js
CHANGED
|
@@ -1202,8 +1202,7 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1202
1202
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1203
1203
|
};
|
|
1204
1204
|
}, "es8", "es3");
|
|
1205
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1,
|
|
1206
|
-
GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1};
|
|
1205
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__jspb_disable_serializing_empty_repeated_and_map_fields__disable:!1, 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};
|
|
1207
1206
|
/*
|
|
1208
1207
|
|
|
1209
1208
|
Copyright The Closure Library Authors.
|
|
@@ -2968,8 +2967,6 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles = !1;
|
|
|
2968
2967
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles = !1;
|
|
2969
2968
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
2970
2969
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
2971
|
-
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_attribute_sanitization__disable = !1;
|
|
2972
|
-
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_hook_context_fix__enable = !1;
|
|
2973
2970
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disable_serializing_empty_repeated_and_map_fields__disable = !1;
|
|
2974
2971
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
2975
2972
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
@@ -2979,8 +2976,6 @@ goog.flags = {};
|
|
|
2979
2976
|
var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1, goog.FLAGS_STAGING_DEFAULT);
|
|
2980
2977
|
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);
|
|
2981
2978
|
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);
|
|
2982
|
-
goog.flags.CLIENT_ONLY_WIZ_ATTRIBUTE_SANITIZATION = 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_attribute_sanitization__disable : goog.readFlagInternalDoNotUseOrElse(533565600, !0);
|
|
2983
|
-
goog.flags.CLIENT_ONLY_WIZ_HOOK_CONTEXT_FIX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_hook_context_fix__enable : goog.readFlagInternalDoNotUseOrElse(563486499, !1);
|
|
2984
2979
|
goog.flags.JSPB_DISABLE_SERIALIZING_EMPTY_REPEATED_AND_MAP_FIELDS = 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_disable_serializing_empty_repeated_and_map_fields__disable : goog.readFlagInternalDoNotUseOrElse(572417392,
|
|
2985
2980
|
!0);
|
|
2986
2981
|
goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
|
|
@@ -3159,29 +3154,29 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
|
|
|
3159
3154
|
};
|
|
3160
3155
|
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.load = function() {
|
|
3161
3156
|
var $jscomp$async$this = this, userAgentData;
|
|
3162
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m2110036436$
|
|
3163
|
-
if (1 == $jscomp$generator$context$m2110036436$
|
|
3157
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m2110036436$14) {
|
|
3158
|
+
if (1 == $jscomp$generator$context$m2110036436$14.nextAddress) {
|
|
3164
3159
|
userAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData();
|
|
3165
3160
|
if (!userAgentData) {
|
|
3166
|
-
return $jscomp$generator$context$m2110036436$
|
|
3161
|
+
return $jscomp$generator$context$m2110036436$14.return(void 0);
|
|
3167
3162
|
}
|
|
3168
3163
|
$jscomp$async$this.promise_ || ($jscomp$async$this.pending_ = !0, $jscomp$async$this.promise_ = function() {
|
|
3169
3164
|
var dataValues;
|
|
3170
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m2110036436$
|
|
3171
|
-
if (1 == $jscomp$generator$context$m2110036436$
|
|
3172
|
-
return $jscomp$generator$context$m2110036436$
|
|
3165
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m2110036436$13) {
|
|
3166
|
+
if (1 == $jscomp$generator$context$m2110036436$13.nextAddress) {
|
|
3167
|
+
return $jscomp$generator$context$m2110036436$13.setFinallyBlock(2), $jscomp$generator$context$m2110036436$13.yield(userAgentData.getHighEntropyValues([$jscomp$async$this.key_]), 4);
|
|
3173
3168
|
}
|
|
3174
|
-
if (2 != $jscomp$generator$context$m2110036436$
|
|
3175
|
-
return dataValues = $jscomp$generator$context$m2110036436$
|
|
3169
|
+
if (2 != $jscomp$generator$context$m2110036436$13.nextAddress) {
|
|
3170
|
+
return dataValues = $jscomp$generator$context$m2110036436$13.yieldResult, $jscomp$async$this.value_ = dataValues[$jscomp$async$this.key_], $jscomp$generator$context$m2110036436$13.return($jscomp$async$this.value_);
|
|
3176
3171
|
}
|
|
3177
|
-
$jscomp$generator$context$m2110036436$
|
|
3172
|
+
$jscomp$generator$context$m2110036436$13.enterFinallyBlock();
|
|
3178
3173
|
$jscomp$async$this.pending_ = !1;
|
|
3179
|
-
return $jscomp$generator$context$m2110036436$
|
|
3174
|
+
return $jscomp$generator$context$m2110036436$13.leaveFinallyBlock(0);
|
|
3180
3175
|
});
|
|
3181
3176
|
}());
|
|
3182
|
-
return $jscomp$generator$context$m2110036436$
|
|
3177
|
+
return $jscomp$generator$context$m2110036436$14.yield($jscomp$async$this.promise_, 2);
|
|
3183
3178
|
}
|
|
3184
|
-
return $jscomp$generator$context$m2110036436$
|
|
3179
|
+
return $jscomp$generator$context$m2110036436$14.return($jscomp$generator$context$m2110036436$14.yieldResult);
|
|
3185
3180
|
});
|
|
3186
3181
|
};
|
|
3187
3182
|
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.resetForTesting = function() {
|
|
@@ -3413,12 +3408,12 @@ var module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion = functi
|
|
|
3413
3408
|
this.useUach_ = useUach;
|
|
3414
3409
|
};
|
|
3415
3410
|
module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.getIfLoaded = function() {
|
|
3416
|
-
var $jscomp$this = this;
|
|
3411
|
+
var $jscomp$this$1683157560$24 = this;
|
|
3417
3412
|
if (this.useUach_) {
|
|
3418
3413
|
var loadedVersionList = module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.getIfLoaded();
|
|
3419
3414
|
if (void 0 !== loadedVersionList) {
|
|
3420
3415
|
var matchingBrand = loadedVersionList.find(function($jscomp$destructuring$var4) {
|
|
3421
|
-
return $jscomp$this.brand_ === $jscomp$destructuring$var4.brand;
|
|
3416
|
+
return $jscomp$this$1683157560$24.brand_ === $jscomp$destructuring$var4.brand;
|
|
3422
3417
|
});
|
|
3423
3418
|
(0,goog.asserts.assertExists)(matchingBrand);
|
|
3424
3419
|
return new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(matchingBrand.version);
|
|
@@ -3430,27 +3425,27 @@ module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.ge
|
|
|
3430
3425
|
};
|
|
3431
3426
|
module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.load = function() {
|
|
3432
3427
|
var $jscomp$async$this = this, loadedVersionList, matchingBrand;
|
|
3433
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1683157560$
|
|
3434
|
-
if (1 == $jscomp$generator$context$1683157560$
|
|
3435
|
-
return $jscomp$async$this.useUach_ ? $jscomp$generator$context$1683157560$
|
|
3428
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1683157560$31) {
|
|
3429
|
+
if (1 == $jscomp$generator$context$1683157560$31.nextAddress) {
|
|
3430
|
+
return $jscomp$async$this.useUach_ ? $jscomp$generator$context$1683157560$31.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(), 5) : $jscomp$generator$context$1683157560$31.yield(0, 3);
|
|
3436
3431
|
}
|
|
3437
|
-
if (3 != $jscomp$generator$context$1683157560$
|
|
3432
|
+
if (3 != $jscomp$generator$context$1683157560$31.nextAddress && (loadedVersionList = $jscomp$generator$context$1683157560$31.yieldResult, void 0 !== loadedVersionList)) {
|
|
3438
3433
|
return matchingBrand = loadedVersionList.find(function($jscomp$destructuring$var6) {
|
|
3439
3434
|
return $jscomp$async$this.brand_ === $jscomp$destructuring$var6.brand;
|
|
3440
|
-
}), (0,goog.asserts.assertExists)(matchingBrand), $jscomp$generator$context$1683157560$
|
|
3435
|
+
}), (0,goog.asserts.assertExists)(matchingBrand), $jscomp$generator$context$1683157560$31.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(matchingBrand.version));
|
|
3441
3436
|
}
|
|
3442
3437
|
module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !0;
|
|
3443
|
-
return $jscomp$generator$context$1683157560$
|
|
3438
|
+
return $jscomp$generator$context$1683157560$31.return($jscomp$async$this.version_);
|
|
3444
3439
|
});
|
|
3445
3440
|
};
|
|
3446
3441
|
var module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !1;
|
|
3447
3442
|
goog.labs.userAgent.browser.loadFullVersions = function() {
|
|
3448
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1683157560$
|
|
3449
|
-
if (1 == $jscomp$generator$context$1683157560$
|
|
3450
|
-
return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0) ? $jscomp$generator$context$1683157560$
|
|
3443
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1683157560$32) {
|
|
3444
|
+
if (1 == $jscomp$generator$context$1683157560$32.nextAddress) {
|
|
3445
|
+
return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0) ? $jscomp$generator$context$1683157560$32.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(), 2) : $jscomp$generator$context$1683157560$32.jumpTo(2);
|
|
3451
3446
|
}
|
|
3452
3447
|
module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !0;
|
|
3453
|
-
$jscomp$generator$context$1683157560$
|
|
3448
|
+
$jscomp$generator$context$1683157560$32.jumpToEnd();
|
|
3454
3449
|
});
|
|
3455
3450
|
};
|
|
3456
3451
|
goog.labs.userAgent.browser.resetForTesting = function() {
|
|
@@ -6064,7 +6059,7 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
6064
6059
|
};
|
|
6065
6060
|
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;
|
|
6066
6061
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
6067
|
-
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$m192531680$
|
|
6062
|
+
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$m192531680$40 = {}; !$jscomp$key$key.done; $jscomp$loop$m192531680$40 = {mapMetadata:void 0},
|
|
6068
6063
|
$jscomp$key$key = $jscomp$iter$19.next()) {
|
|
6069
6064
|
var key = $jscomp$key$key.value, value = valueGetter(key, source);
|
|
6070
6065
|
if (null != value) {
|
|
@@ -6077,11 +6072,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6077
6072
|
} else if (objects.hasOwnProperty(key)) {
|
|
6078
6073
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
6079
6074
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
6080
|
-
$jscomp$loop$m192531680$
|
|
6075
|
+
$jscomp$loop$m192531680$40.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$40.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$40) {
|
|
6081
6076
|
return function(v) {
|
|
6082
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$
|
|
6077
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$40.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6083
6078
|
};
|
|
6084
|
-
}($jscomp$loop$m192531680$
|
|
6079
|
+
}($jscomp$loop$m192531680$40)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$40.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6085
6080
|
} else if (Array.isArray(value)) {
|
|
6086
6081
|
if (metadata.emptyArrayIsUnset && 0 === value.length) {
|
|
6087
6082
|
continue;
|
|
@@ -6127,39 +6122,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
6127
6122
|
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))) {
|
|
6128
6123
|
return !1;
|
|
6129
6124
|
}
|
|
6130
|
-
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$
|
|
6125
|
+
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$41 = {}; !$jscomp$key$key.done; $jscomp$loop$m192531680$41 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$key = $jscomp$iter$21.next()) {
|
|
6131
6126
|
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);
|
|
6132
6127
|
if (has1 !== has2) {
|
|
6133
6128
|
return !1;
|
|
6134
6129
|
}
|
|
6135
6130
|
if (has1) {
|
|
6136
6131
|
var value1 = serializable1.Serializable$get(key);
|
|
6137
|
-
$jscomp$loop$m192531680$
|
|
6132
|
+
$jscomp$loop$m192531680$41.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
6138
6133
|
if (arrays1.hasOwnProperty(key)) {
|
|
6139
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$
|
|
6134
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$41.value2$jscomp$7, !0, !0)) {
|
|
6140
6135
|
return !1;
|
|
6141
6136
|
}
|
|
6142
6137
|
} else if (objects1.hasOwnProperty(key)) {
|
|
6143
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$
|
|
6138
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$41.value2$jscomp$7, !1, !0)) {
|
|
6144
6139
|
return !1;
|
|
6145
6140
|
}
|
|
6146
6141
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
6147
|
-
if ($jscomp$loop$m192531680$
|
|
6148
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$
|
|
6142
|
+
if ($jscomp$loop$m192531680$41.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$41.mapMetadata$jscomp$2.isPropertyArray) {
|
|
6143
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$41.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$41) {
|
|
6149
6144
|
return function(v1, i) {
|
|
6150
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$
|
|
6145
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$41.value2$jscomp$7[i], $jscomp$loop$m192531680$41.mapMetadata$jscomp$2);
|
|
6151
6146
|
};
|
|
6152
|
-
}($jscomp$loop$m192531680$
|
|
6147
|
+
}($jscomp$loop$m192531680$41))) {
|
|
6153
6148
|
return !1;
|
|
6154
6149
|
}
|
|
6155
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$
|
|
6150
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$41.value2$jscomp$7, $jscomp$loop$m192531680$41.mapMetadata$jscomp$2)) {
|
|
6156
6151
|
return !1;
|
|
6157
6152
|
}
|
|
6158
6153
|
} else if (Array.isArray(value1)) {
|
|
6159
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$
|
|
6154
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$41.value2$jscomp$7, !0, !1)) {
|
|
6160
6155
|
return !1;
|
|
6161
6156
|
}
|
|
6162
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$
|
|
6157
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$41.value2$jscomp$7, !1, !1)) {
|
|
6163
6158
|
return !1;
|
|
6164
6159
|
}
|
|
6165
6160
|
}
|
|
@@ -6454,16 +6449,10 @@ var module$contents$goog$asserts$dom_assertIsHtmlElement = function(value) {
|
|
|
6454
6449
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.VIDEO);
|
|
6455
6450
|
}, module$contents$goog$asserts$dom_assertIsHtmlInputElement = function(value) {
|
|
6456
6451
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.INPUT);
|
|
6457
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlEmbedElement = function(value) {
|
|
6458
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.EMBED);
|
|
6459
6452
|
}, module$contents$goog$asserts$dom_assertIsHtmlFormElement = function(value) {
|
|
6460
6453
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FORM);
|
|
6461
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlFrameElement = function(value) {
|
|
6462
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FRAME);
|
|
6463
6454
|
}, module$contents$goog$asserts$dom_assertIsHtmlIFrameElement = function(value) {
|
|
6464
6455
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.IFRAME);
|
|
6465
|
-
}, module$contents$goog$asserts$dom_assertIsHtmlObjectElement = function(value) {
|
|
6466
|
-
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.OBJECT);
|
|
6467
6456
|
}, module$contents$goog$asserts$dom_assertIsHtmlScriptElement = function(value) {
|
|
6468
6457
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.SCRIPT);
|
|
6469
6458
|
}, module$contents$goog$asserts$dom_debugStringForType = function(value) {
|
|
@@ -6498,11 +6487,17 @@ goog.asserts.dom.assertIsHtmlTextAreaElement = function(value) {
|
|
|
6498
6487
|
goog.asserts.dom.assertIsHtmlCanvasElement = function(value) {
|
|
6499
6488
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.CANVAS);
|
|
6500
6489
|
};
|
|
6501
|
-
goog.asserts.dom.assertIsHtmlEmbedElement =
|
|
6490
|
+
goog.asserts.dom.assertIsHtmlEmbedElement = function(value) {
|
|
6491
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.EMBED);
|
|
6492
|
+
};
|
|
6502
6493
|
goog.asserts.dom.assertIsHtmlFormElement = module$contents$goog$asserts$dom_assertIsHtmlFormElement;
|
|
6503
|
-
goog.asserts.dom.assertIsHtmlFrameElement =
|
|
6494
|
+
goog.asserts.dom.assertIsHtmlFrameElement = function(value) {
|
|
6495
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.FRAME);
|
|
6496
|
+
};
|
|
6504
6497
|
goog.asserts.dom.assertIsHtmlIFrameElement = module$contents$goog$asserts$dom_assertIsHtmlIFrameElement;
|
|
6505
|
-
goog.asserts.dom.assertIsHtmlObjectElement =
|
|
6498
|
+
goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
6499
|
+
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.OBJECT);
|
|
6500
|
+
};
|
|
6506
6501
|
goog.asserts.dom.assertIsHtmlScriptElement = module$contents$goog$asserts$dom_assertIsHtmlScriptElement;
|
|
6507
6502
|
goog.dom.asserts = {};
|
|
6508
6503
|
goog.dom.asserts.assertIsLocation = function(o) {
|
|
@@ -6539,83 +6534,6 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
|
|
|
6539
6534
|
goog.dom.tags.isVoidTag = function(tagName) {
|
|
6540
6535
|
return !0 === goog.dom.tags.VOID_TAGS_[tagName];
|
|
6541
6536
|
};
|
|
6542
|
-
goog.html = {};
|
|
6543
|
-
goog.html.trustedtypes = {};
|
|
6544
|
-
goog.html.trustedtypes.POLICY_NAME = goog.TRUSTED_TYPES_POLICY_NAME ? goog.TRUSTED_TYPES_POLICY_NAME + "#html" : "";
|
|
6545
|
-
goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse = function() {
|
|
6546
|
-
if (!goog.html.trustedtypes.POLICY_NAME) {
|
|
6547
|
-
return null;
|
|
6548
|
-
}
|
|
6549
|
-
void 0 === goog.html.trustedtypes.cachedPolicy_ && (goog.html.trustedtypes.cachedPolicy_ = goog.createTrustedTypesPolicy(goog.html.trustedtypes.POLICY_NAME));
|
|
6550
|
-
return goog.html.trustedtypes.cachedPolicy_;
|
|
6551
|
-
};
|
|
6552
|
-
goog.string.TypedString = function() {
|
|
6553
|
-
};
|
|
6554
|
-
goog.string.Const = function(opt_token, opt_content) {
|
|
6555
|
-
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
6556
|
-
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
6557
|
-
};
|
|
6558
|
-
goog.string.Const.prototype.implementsGoogStringTypedString = !0;
|
|
6559
|
-
goog.string.Const.prototype.getTypedStringValue = function() {
|
|
6560
|
-
return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
6561
|
-
};
|
|
6562
|
-
goog.string.Const.prototype.toString = function() {
|
|
6563
|
-
return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
6564
|
-
};
|
|
6565
|
-
goog.string.Const.unwrap = function(stringConst) {
|
|
6566
|
-
if (stringConst instanceof goog.string.Const && stringConst.constructor === goog.string.Const && stringConst.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ === goog.string.Const.TYPE_MARKER_) {
|
|
6567
|
-
return stringConst.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
6568
|
-
}
|
|
6569
|
-
goog.asserts.fail("expected object of type Const, got '" + stringConst + "'");
|
|
6570
|
-
return "type_error:Const";
|
|
6571
|
-
};
|
|
6572
|
-
goog.string.Const.from = function(s) {
|
|
6573
|
-
return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_, s);
|
|
6574
|
-
};
|
|
6575
|
-
goog.string.Const.TYPE_MARKER_ = {};
|
|
6576
|
-
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
6577
|
-
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
6578
|
-
var module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeScript_SafeScript = function(value, token) {
|
|
6579
|
-
if (goog.DEBUG && token !== module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
6580
|
-
throw Error("SafeScript is not meant to be built directly");
|
|
6581
|
-
}
|
|
6582
|
-
this.privateDoNotAccessOrElseSafeScriptWrappedValue_ = value;
|
|
6583
|
-
this.implementsGoogStringTypedString = !0;
|
|
6584
|
-
};
|
|
6585
|
-
module$contents$goog$html$SafeScript_SafeScript.prototype.toString = function() {
|
|
6586
|
-
return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString();
|
|
6587
|
-
};
|
|
6588
|
-
module$contents$goog$html$SafeScript_SafeScript.fromConstant = function(script) {
|
|
6589
|
-
var scriptString = goog.string.Const.unwrap(script);
|
|
6590
|
-
return 0 === scriptString.length ? module$contents$goog$html$SafeScript_SafeScript.EMPTY : module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(scriptString);
|
|
6591
|
-
};
|
|
6592
|
-
module$contents$goog$html$SafeScript_SafeScript.fromJson = function(val) {
|
|
6593
|
-
return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(module$contents$goog$html$SafeScript_SafeScript.stringify_(val));
|
|
6594
|
-
};
|
|
6595
|
-
module$contents$goog$html$SafeScript_SafeScript.prototype.getTypedStringValue = function() {
|
|
6596
|
-
return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString();
|
|
6597
|
-
};
|
|
6598
|
-
module$contents$goog$html$SafeScript_SafeScript.unwrap = function(safeScript) {
|
|
6599
|
-
return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(safeScript).toString();
|
|
6600
|
-
};
|
|
6601
|
-
module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript = function(safeScript) {
|
|
6602
|
-
if (safeScript instanceof module$contents$goog$html$SafeScript_SafeScript && safeScript.constructor === module$contents$goog$html$SafeScript_SafeScript) {
|
|
6603
|
-
return safeScript.privateDoNotAccessOrElseSafeScriptWrappedValue_;
|
|
6604
|
-
}
|
|
6605
|
-
(0,goog.asserts.fail)("expected object of type SafeScript, got '" + safeScript + "' of type " + goog.typeOf(safeScript));
|
|
6606
|
-
return "type_error:SafeScript";
|
|
6607
|
-
};
|
|
6608
|
-
module$contents$goog$html$SafeScript_SafeScript.stringify_ = function(val) {
|
|
6609
|
-
return JSON.stringify(val).replace(/</g, "\\x3c");
|
|
6610
|
-
};
|
|
6611
|
-
module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse = function(script) {
|
|
6612
|
-
var noinlineScript = script, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), trustedScript = policy ? policy.createScript(noinlineScript) : noinlineScript;
|
|
6613
|
-
return new module$contents$goog$html$SafeScript_SafeScript(trustedScript, module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
6614
|
-
};
|
|
6615
|
-
module$contents$goog$html$SafeScript_SafeScript.EMPTY = function() {
|
|
6616
|
-
return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("");
|
|
6617
|
-
}();
|
|
6618
|
-
goog.html.SafeScript = module$contents$goog$html$SafeScript_SafeScript;
|
|
6619
6537
|
goog.fs = {};
|
|
6620
6538
|
goog.fs.url = {};
|
|
6621
6539
|
goog.fs.url.createObjectUrl = function(obj) {
|
|
@@ -6643,33 +6561,36 @@ goog.fs.url.findUrlObject_ = function() {
|
|
|
6643
6561
|
goog.fs.url.browserSupportsObjectUrls = function() {
|
|
6644
6562
|
return null != goog.fs.url.findUrlObject_();
|
|
6645
6563
|
};
|
|
6646
|
-
goog.
|
|
6647
|
-
goog.
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
}
|
|
6653
|
-
return bb.getBlob();
|
|
6564
|
+
goog.html = {};
|
|
6565
|
+
goog.html.trustedtypes = {};
|
|
6566
|
+
goog.html.trustedtypes.POLICY_NAME = goog.TRUSTED_TYPES_POLICY_NAME ? goog.TRUSTED_TYPES_POLICY_NAME + "#html" : "";
|
|
6567
|
+
goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse = function() {
|
|
6568
|
+
if (!goog.html.trustedtypes.POLICY_NAME) {
|
|
6569
|
+
return null;
|
|
6654
6570
|
}
|
|
6655
|
-
|
|
6571
|
+
void 0 === goog.html.trustedtypes.cachedPolicy_ && (goog.html.trustedtypes.cachedPolicy_ = goog.createTrustedTypesPolicy(goog.html.trustedtypes.POLICY_NAME));
|
|
6572
|
+
return goog.html.trustedtypes.cachedPolicy_;
|
|
6656
6573
|
};
|
|
6657
|
-
goog.
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
if (
|
|
6666
|
-
|
|
6667
|
-
opt_type && (properties.type = opt_type);
|
|
6668
|
-
opt_endings && (properties.endings = opt_endings);
|
|
6669
|
-
return new Blob(parts, properties);
|
|
6574
|
+
goog.string.Const = function(opt_token, opt_content) {
|
|
6575
|
+
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
6576
|
+
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
6577
|
+
};
|
|
6578
|
+
goog.string.Const.prototype.toString = function() {
|
|
6579
|
+
return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
6580
|
+
};
|
|
6581
|
+
goog.string.Const.unwrap = function(stringConst) {
|
|
6582
|
+
if (stringConst instanceof goog.string.Const && stringConst.constructor === goog.string.Const && stringConst.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ === goog.string.Const.TYPE_MARKER_) {
|
|
6583
|
+
return stringConst.stringConstValueWithSecurityContract__googStringSecurityPrivate_;
|
|
6670
6584
|
}
|
|
6671
|
-
|
|
6585
|
+
goog.asserts.fail("expected object of type Const, got '" + stringConst + "'");
|
|
6586
|
+
return "type_error:Const";
|
|
6672
6587
|
};
|
|
6588
|
+
goog.string.Const.from = function(s) {
|
|
6589
|
+
return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_, s);
|
|
6590
|
+
};
|
|
6591
|
+
goog.string.Const.TYPE_MARKER_ = {};
|
|
6592
|
+
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
6593
|
+
goog.string.Const.EMPTY = goog.string.Const.from("");
|
|
6673
6594
|
goog.html.TrustedResourceUrl = function(value, token) {
|
|
6674
6595
|
if (goog.DEBUG && token !== goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_) {
|
|
6675
6596
|
throw Error("TrustedResourceUrl is not meant to be built directly");
|
|
@@ -6679,10 +6600,6 @@ goog.html.TrustedResourceUrl = function(value, token) {
|
|
|
6679
6600
|
goog.html.TrustedResourceUrl.prototype.toString = function() {
|
|
6680
6601
|
return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ + "";
|
|
6681
6602
|
};
|
|
6682
|
-
goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString = !0;
|
|
6683
|
-
goog.html.TrustedResourceUrl.prototype.getTypedStringValue = function() {
|
|
6684
|
-
return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString();
|
|
6685
|
-
};
|
|
6686
6603
|
goog.html.TrustedResourceUrl.prototype.cloneWithParams = function(searchParams, opt_hashParams) {
|
|
6687
6604
|
var url = goog.html.TrustedResourceUrl.unwrap(this), parts = goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(url), urlHash = parts[3] || "";
|
|
6688
6605
|
return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(parts[1] + goog.html.TrustedResourceUrl.stringifyParams_("?", parts[2] || "", searchParams) + goog.html.TrustedResourceUrl.stringifyParams_("#", urlHash, opt_hashParams));
|
|
@@ -6726,10 +6643,6 @@ goog.html.TrustedResourceUrl.fromConstants = function(parts) {
|
|
|
6726
6643
|
}
|
|
6727
6644
|
return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(unwrapped);
|
|
6728
6645
|
};
|
|
6729
|
-
goog.html.TrustedResourceUrl.fromSafeScript = function(safeScript) {
|
|
6730
|
-
var blob = goog.fs.blob.getBlobWithProperties([module$contents$goog$html$SafeScript_SafeScript.unwrap(safeScript)], "text/javascript"), url = goog.fs.url.createObjectUrl(blob);
|
|
6731
|
-
return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
6732
|
-
};
|
|
6733
6646
|
goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_ = {};
|
|
6734
6647
|
goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse = function(url) {
|
|
6735
6648
|
var noinlineUrl = url, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), value = policy ? policy.createScriptURL(noinlineUrl) : noinlineUrl;
|
|
@@ -6752,6 +6665,8 @@ goog.html.TrustedResourceUrl.stringifyParams_ = function(prefix, currentString,
|
|
|
6752
6665
|
}
|
|
6753
6666
|
return currentString;
|
|
6754
6667
|
};
|
|
6668
|
+
goog.string.TypedString = function() {
|
|
6669
|
+
};
|
|
6755
6670
|
goog.html.SafeUrl = function(value, token) {
|
|
6756
6671
|
if (goog.DEBUG && token !== goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_) {
|
|
6757
6672
|
throw Error("SafeUrl is not meant to be built directly");
|
|
@@ -6789,7 +6704,7 @@ goog.html.SafeUrl.fromBlob = function(blob) {
|
|
|
6789
6704
|
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
6790
6705
|
};
|
|
6791
6706
|
goog.html.SafeUrl.revokeObjectUrl = function(safeUrl) {
|
|
6792
|
-
var url = safeUrl.
|
|
6707
|
+
var url = safeUrl.toString();
|
|
6793
6708
|
url !== goog.html.SafeUrl.INNOCUOUS_STRING && goog.fs.url.revokeObjectUrl(url);
|
|
6794
6709
|
};
|
|
6795
6710
|
goog.html.SafeUrl.fromMediaSource = function(mediaSource) {
|
|
@@ -6881,7 +6796,7 @@ goog.html.SafeUrl.trySanitize = function(url) {
|
|
|
6881
6796
|
if (url instanceof goog.html.SafeUrl) {
|
|
6882
6797
|
return url;
|
|
6883
6798
|
}
|
|
6884
|
-
url =
|
|
6799
|
+
url = String(url);
|
|
6885
6800
|
return goog.html.SAFE_URL_PATTERN_.test(url) ? goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url) : goog.html.SafeUrl.tryFromDataUrl(url);
|
|
6886
6801
|
};
|
|
6887
6802
|
goog.html.SafeUrl.sanitize = function(url) {
|
|
@@ -6891,10 +6806,10 @@ goog.html.SafeUrl.sanitizeAssertUnchanged = function(url, opt_allowDataUrl) {
|
|
|
6891
6806
|
if (url instanceof goog.html.SafeUrl) {
|
|
6892
6807
|
return url;
|
|
6893
6808
|
}
|
|
6894
|
-
url =
|
|
6809
|
+
url = String(url);
|
|
6895
6810
|
if (opt_allowDataUrl && /^data:/i.test(url)) {
|
|
6896
6811
|
var safeUrl = goog.html.SafeUrl.fromDataUrl(url);
|
|
6897
|
-
if (safeUrl.
|
|
6812
|
+
if (safeUrl.toString() == url) {
|
|
6898
6813
|
return safeUrl;
|
|
6899
6814
|
}
|
|
6900
6815
|
}
|
|
@@ -6937,7 +6852,7 @@ goog.html.SafeUrl.sanitizeJavascriptUrlAssertUnchanged = function(url) {
|
|
|
6937
6852
|
if (url instanceof goog.html.SafeUrl) {
|
|
6938
6853
|
return url;
|
|
6939
6854
|
}
|
|
6940
|
-
url =
|
|
6855
|
+
url = String(url);
|
|
6941
6856
|
var parsedScheme = goog.html.SafeUrl.extractScheme(url);
|
|
6942
6857
|
goog.asserts.assert("javascript:" !== parsedScheme, "%s is a javascript: URL", url) || (url = goog.html.SafeUrl.INNOCUOUS_STRING);
|
|
6943
6858
|
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
@@ -6953,7 +6868,6 @@ var module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$c
|
|
|
6953
6868
|
throw Error("SafeStyle is not meant to be built directly");
|
|
6954
6869
|
}
|
|
6955
6870
|
this.privateDoNotAccessOrElseSafeStyleWrappedValue_ = value;
|
|
6956
|
-
this.implementsGoogStringTypedString = !0;
|
|
6957
6871
|
};
|
|
6958
6872
|
module$contents$goog$html$SafeStyle_SafeStyle.fromConstant = function(style) {
|
|
6959
6873
|
var styleString = goog.string.Const.unwrap(style);
|
|
@@ -6964,9 +6878,6 @@ module$contents$goog$html$SafeStyle_SafeStyle.fromConstant = function(style) {
|
|
|
6964
6878
|
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
6965
6879
|
return module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(styleString);
|
|
6966
6880
|
};
|
|
6967
|
-
module$contents$goog$html$SafeStyle_SafeStyle.prototype.getTypedStringValue = function() {
|
|
6968
|
-
return this.privateDoNotAccessOrElseSafeStyleWrappedValue_;
|
|
6969
|
-
};
|
|
6970
6881
|
module$contents$goog$html$SafeStyle_SafeStyle.prototype.toString = function() {
|
|
6971
6882
|
return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString();
|
|
6972
6883
|
};
|
|
@@ -7064,7 +6975,7 @@ function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
|
7064
6975
|
quote = start;
|
|
7065
6976
|
return inside;
|
|
7066
6977
|
});
|
|
7067
|
-
var sanitized = goog.html.SafeUrl.sanitize(url).
|
|
6978
|
+
var sanitized = goog.html.SafeUrl.sanitize(url).toString();
|
|
7068
6979
|
return before + quote + sanitized + quote + after;
|
|
7069
6980
|
});
|
|
7070
6981
|
}
|
|
@@ -7074,7 +6985,6 @@ var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE = {}, mod
|
|
|
7074
6985
|
throw Error("SafeStyleSheet is not meant to be built directly");
|
|
7075
6986
|
}
|
|
7076
6987
|
this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_ = value;
|
|
7077
|
-
this.implementsGoogStringTypedString = !0;
|
|
7078
6988
|
};
|
|
7079
6989
|
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString = function() {
|
|
7080
6990
|
return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString();
|
|
@@ -7120,9 +7030,6 @@ module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant = function(
|
|
|
7120
7030
|
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
7121
7031
|
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheetString);
|
|
7122
7032
|
};
|
|
7123
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.getTypedStringValue = function() {
|
|
7124
|
-
return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;
|
|
7125
|
-
};
|
|
7126
7033
|
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap = function(safeStyleSheet) {
|
|
7127
7034
|
if (safeStyleSheet instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet && safeStyleSheet.constructor === module$contents$goog$html$SafeStyleSheet_SafeStyleSheet) {
|
|
7128
7035
|
return safeStyleSheet.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;
|
|
@@ -7140,10 +7047,6 @@ var module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$co
|
|
|
7140
7047
|
throw Error("SafeHtml is not meant to be built directly");
|
|
7141
7048
|
}
|
|
7142
7049
|
this.privateDoNotAccessOrElseSafeHtmlWrappedValue_ = value;
|
|
7143
|
-
this.implementsGoogStringTypedString = !0;
|
|
7144
|
-
};
|
|
7145
|
-
module$contents$goog$html$SafeHtml_SafeHtml.prototype.getTypedStringValue = function() {
|
|
7146
|
-
return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString();
|
|
7147
7050
|
};
|
|
7148
7051
|
module$contents$goog$html$SafeHtml_SafeHtml.prototype.toString = function() {
|
|
7149
7052
|
return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString();
|
|
@@ -7159,7 +7062,7 @@ module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML = function(safeHtm
|
|
|
7159
7062
|
return "type_error:SafeHtml";
|
|
7160
7063
|
};
|
|
7161
7064
|
module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape = function(textOrHtml) {
|
|
7162
|
-
return textOrHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml ? textOrHtml : module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(
|
|
7065
|
+
return textOrHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml ? textOrHtml : module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(String(textOrHtml)));
|
|
7163
7066
|
};
|
|
7164
7067
|
module$contents$goog$html$SafeHtml_SafeHtml.htmlEscapePreservingNewlines = function(textOrHtml) {
|
|
7165
7068
|
if (textOrHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml) {
|
|
@@ -7214,23 +7117,6 @@ module$contents$goog$html$SafeHtml_SafeHtml.createScriptSrc = function(src, attr
|
|
|
7214
7117
|
var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes({src:src}, {}, attributes);
|
|
7215
7118
|
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", combinedAttrs);
|
|
7216
7119
|
};
|
|
7217
|
-
module$contents$goog$html$SafeHtml_SafeHtml.createScript = function(script, attributes) {
|
|
7218
|
-
for (var attr in attributes) {
|
|
7219
|
-
if (Object.prototype.hasOwnProperty.call(attributes, attr)) {
|
|
7220
|
-
var attrLower = attr.toLowerCase();
|
|
7221
|
-
if ("language" == attrLower || "src" == attrLower || "text" == attrLower) {
|
|
7222
|
-
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Cannot set "' + attrLower + '" attribute' : "");
|
|
7223
|
-
}
|
|
7224
|
-
}
|
|
7225
|
-
}
|
|
7226
|
-
var content = "";
|
|
7227
|
-
script = module$contents$goog$array_concat(script);
|
|
7228
|
-
for (var i = 0; i < script.length; i++) {
|
|
7229
|
-
content += module$contents$goog$html$SafeScript_SafeScript.unwrap(script[i]);
|
|
7230
|
-
}
|
|
7231
|
-
var htmlContent = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(content);
|
|
7232
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", attributes, htmlContent);
|
|
7233
|
-
};
|
|
7234
7120
|
module$contents$goog$html$SafeHtml_SafeHtml.createStyle = function(styleSheet, attributes) {
|
|
7235
7121
|
var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes({type:"text/css"}, {}, attributes), content = "";
|
|
7236
7122
|
styleSheet = module$contents$goog$array_concat(styleSheet);
|
|
@@ -7336,14 +7222,13 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
|
|
|
7336
7222
|
} else if (value instanceof goog.html.SafeUrl) {
|
|
7337
7223
|
value = goog.html.SafeUrl.unwrap(value);
|
|
7338
7224
|
} else if ("string" === typeof value) {
|
|
7339
|
-
value = goog.html.SafeUrl.sanitize(value).
|
|
7225
|
+
value = goog.html.SafeUrl.sanitize(value).toString();
|
|
7340
7226
|
} else {
|
|
7341
7227
|
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" on tag "' + tagName + '" requires goog.html.SafeUrl, goog.string.Const, or string, value "' + value + '" given.' : "");
|
|
7342
7228
|
}
|
|
7343
7229
|
}
|
|
7344
7230
|
}
|
|
7345
|
-
value.
|
|
7346
|
-
goog.asserts.assert("string" === typeof value || "number" === typeof value, "String or number value expected, got " + typeof value + " with value: " + value);
|
|
7231
|
+
goog.asserts.assert(value instanceof goog.html.SafeUrl || value instanceof goog.html.TrustedResourceUrl || value instanceof module$contents$goog$html$SafeStyle_SafeStyle || value instanceof module$contents$goog$html$SafeHtml_SafeHtml || "string" === typeof value || "number" === typeof value, "String or number value expected, got " + typeof value + " with value: " + value);
|
|
7347
7232
|
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
7348
7233
|
}
|
|
7349
7234
|
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
@@ -7366,6 +7251,43 @@ goog.html.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
|
|
|
7366
7251
|
SPDX-License-Identifier: Apache-2.0
|
|
7367
7252
|
*/
|
|
7368
7253
|
var module$contents$safevalues$environment$dev_module = module$contents$safevalues$environment$dev_module || {id:"third_party/javascript/safevalues/environment/dev.closure.js"};
|
|
7254
|
+
var module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeScript_SafeScript = function(value, token) {
|
|
7255
|
+
if (goog.DEBUG && token !== module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
7256
|
+
throw Error("SafeScript is not meant to be built directly");
|
|
7257
|
+
}
|
|
7258
|
+
this.privateDoNotAccessOrElseSafeScriptWrappedValue_ = value;
|
|
7259
|
+
};
|
|
7260
|
+
module$contents$goog$html$SafeScript_SafeScript.prototype.toString = function() {
|
|
7261
|
+
return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString();
|
|
7262
|
+
};
|
|
7263
|
+
module$contents$goog$html$SafeScript_SafeScript.fromConstant = function(script) {
|
|
7264
|
+
var scriptString = goog.string.Const.unwrap(script);
|
|
7265
|
+
return 0 === scriptString.length ? module$contents$goog$html$SafeScript_SafeScript.EMPTY : module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(scriptString);
|
|
7266
|
+
};
|
|
7267
|
+
module$contents$goog$html$SafeScript_SafeScript.fromJson = function(val) {
|
|
7268
|
+
return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(module$contents$goog$html$SafeScript_SafeScript.stringify_(val));
|
|
7269
|
+
};
|
|
7270
|
+
module$contents$goog$html$SafeScript_SafeScript.unwrap = function(safeScript) {
|
|
7271
|
+
return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(safeScript).toString();
|
|
7272
|
+
};
|
|
7273
|
+
module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript = function(safeScript) {
|
|
7274
|
+
if (safeScript instanceof module$contents$goog$html$SafeScript_SafeScript && safeScript.constructor === module$contents$goog$html$SafeScript_SafeScript) {
|
|
7275
|
+
return safeScript.privateDoNotAccessOrElseSafeScriptWrappedValue_;
|
|
7276
|
+
}
|
|
7277
|
+
(0,goog.asserts.fail)("expected object of type SafeScript, got '" + safeScript + "' of type " + goog.typeOf(safeScript));
|
|
7278
|
+
return "type_error:SafeScript";
|
|
7279
|
+
};
|
|
7280
|
+
module$contents$goog$html$SafeScript_SafeScript.stringify_ = function(val) {
|
|
7281
|
+
return JSON.stringify(val).replace(/</g, "\\x3c");
|
|
7282
|
+
};
|
|
7283
|
+
module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse = function(script) {
|
|
7284
|
+
var noinlineScript = script, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), trustedScript = policy ? policy.createScript(noinlineScript) : noinlineScript;
|
|
7285
|
+
return new module$contents$goog$html$SafeScript_SafeScript(trustedScript, module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
7286
|
+
};
|
|
7287
|
+
module$contents$goog$html$SafeScript_SafeScript.EMPTY = function() {
|
|
7288
|
+
return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("");
|
|
7289
|
+
}();
|
|
7290
|
+
goog.html.SafeScript = module$contents$goog$html$SafeScript_SafeScript;
|
|
7369
7291
|
var module$exports$goog$html$internals = {};
|
|
7370
7292
|
module$exports$goog$html$internals.createSafeHtml = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse;
|
|
7371
7293
|
module$exports$goog$html$internals.createSafeScript = module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse;
|
|
@@ -7468,36 +7390,33 @@ function module$contents$safevalues$restricted$reviewed_assertValidJustification
|
|
|
7468
7390
|
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
7391
|
}
|
|
7470
7392
|
}
|
|
7471
|
-
function module$contents$safevalues$restricted$reviewed_getJustificationDuringMigration(options) {
|
|
7472
|
-
return "string" === typeof options ? options : options.justification;
|
|
7473
|
-
}
|
|
7474
7393
|
function module$contents$safevalues$restricted$reviewed_htmlSafeByReview(html, options) {
|
|
7475
|
-
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(
|
|
7394
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(options.justification);
|
|
7476
7395
|
return module$contents$safevalues$internals$html_impl_createHtmlInternal(html);
|
|
7477
7396
|
}
|
|
7478
7397
|
module$exports$safevalues$restricted$reviewed.htmlSafeByReview = module$contents$safevalues$restricted$reviewed_htmlSafeByReview;
|
|
7479
7398
|
function module$contents$safevalues$restricted$reviewed_scriptSafeByReview(script, options) {
|
|
7480
|
-
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(
|
|
7399
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(options.justification);
|
|
7481
7400
|
return module$contents$safevalues$internals$script_impl_createScriptInternal(script);
|
|
7482
7401
|
}
|
|
7483
7402
|
module$exports$safevalues$restricted$reviewed.scriptSafeByReview = module$contents$safevalues$restricted$reviewed_scriptSafeByReview;
|
|
7484
7403
|
function module$contents$safevalues$restricted$reviewed_resourceUrlSafeByReview(url, options) {
|
|
7485
|
-
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(
|
|
7404
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(options.justification);
|
|
7486
7405
|
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url);
|
|
7487
7406
|
}
|
|
7488
7407
|
module$exports$safevalues$restricted$reviewed.resourceUrlSafeByReview = module$contents$safevalues$restricted$reviewed_resourceUrlSafeByReview;
|
|
7489
7408
|
function module$contents$safevalues$restricted$reviewed_styleSheetSafeByReview(stylesheet, options) {
|
|
7490
|
-
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(
|
|
7409
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(options.justification);
|
|
7491
7410
|
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(stylesheet);
|
|
7492
7411
|
}
|
|
7493
7412
|
module$exports$safevalues$restricted$reviewed.styleSheetSafeByReview = module$contents$safevalues$restricted$reviewed_styleSheetSafeByReview;
|
|
7494
7413
|
function module$contents$safevalues$restricted$reviewed_urlSafeByReview(url, options) {
|
|
7495
|
-
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(
|
|
7414
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(options.justification);
|
|
7496
7415
|
return module$contents$safevalues$internals$url_impl_createUrlInternal(url);
|
|
7497
7416
|
}
|
|
7498
7417
|
module$exports$safevalues$restricted$reviewed.urlSafeByReview = module$contents$safevalues$restricted$reviewed_urlSafeByReview;
|
|
7499
7418
|
function module$contents$safevalues$restricted$reviewed_styleSafeByReview(style, options) {
|
|
7500
|
-
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(
|
|
7419
|
+
goog.DEBUG && module$contents$safevalues$restricted$reviewed_assertValidJustification(options.justification);
|
|
7501
7420
|
return module$contents$safevalues$internals$style_impl_createStyleInternal(style);
|
|
7502
7421
|
}
|
|
7503
7422
|
module$exports$safevalues$restricted$reviewed.styleSafeByReview = module$contents$safevalues$restricted$reviewed_styleSafeByReview;
|
|
@@ -7544,7 +7463,7 @@ goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
|
7544
7463
|
goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(elem, html);
|
|
7545
7464
|
};
|
|
7546
7465
|
goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
|
|
7547
|
-
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), "Constant HTML to be immediatelly used."));
|
|
7466
|
+
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), {justification:"Constant HTML to be immediatelly used."}));
|
|
7548
7467
|
};
|
|
7549
7468
|
goog.dom.safe.setOuterHtml = function(elem, html) {
|
|
7550
7469
|
elem.outerHTML = module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html);
|
|
@@ -7561,9 +7480,6 @@ goog.dom.safe.setInputFormAction = function(input, url) {
|
|
|
7561
7480
|
var safeUrl = url instanceof goog.html.SafeUrl ? url : goog.html.SafeUrl.sanitizeJavascriptUrlAssertUnchanged(url);
|
|
7562
7481
|
module$contents$goog$asserts$dom_assertIsHtmlInputElement(input).formAction = goog.html.SafeUrl.unwrap(safeUrl);
|
|
7563
7482
|
};
|
|
7564
|
-
goog.dom.safe.setStyle = function(elem, style) {
|
|
7565
|
-
elem.style.cssText = module$contents$goog$html$SafeStyle_SafeStyle.unwrap(style);
|
|
7566
|
-
};
|
|
7567
7483
|
goog.dom.safe.documentWrite = function(doc, html) {
|
|
7568
7484
|
doc.write(module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html));
|
|
7569
7485
|
};
|
|
@@ -7582,14 +7498,6 @@ goog.dom.safe.setVideoSrc = function(videoElement, url) {
|
|
|
7582
7498
|
var safeUrl = url instanceof goog.html.SafeUrl ? url : goog.html.SafeUrl.sanitizeJavascriptUrlAssertUnchanged(url);
|
|
7583
7499
|
videoElement.src = goog.html.SafeUrl.unwrap(safeUrl);
|
|
7584
7500
|
};
|
|
7585
|
-
goog.dom.safe.setEmbedSrc = function(embed, url) {
|
|
7586
|
-
module$contents$goog$asserts$dom_assertIsHtmlEmbedElement(embed);
|
|
7587
|
-
embed.src = goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(url);
|
|
7588
|
-
};
|
|
7589
|
-
goog.dom.safe.setFrameSrc = function(frame, url) {
|
|
7590
|
-
module$contents$goog$asserts$dom_assertIsHtmlFrameElement(frame);
|
|
7591
|
-
frame.src = goog.html.TrustedResourceUrl.unwrap(url);
|
|
7592
|
-
};
|
|
7593
7501
|
goog.dom.safe.setIframeSrc = function(iframe, url) {
|
|
7594
7502
|
module$contents$goog$asserts$dom_assertIsHtmlIFrameElement(iframe);
|
|
7595
7503
|
iframe.src = goog.html.TrustedResourceUrl.unwrap(url);
|
|
@@ -7610,20 +7518,11 @@ goog.dom.safe.setLinkHrefAndRel = function(link, url, rel) {
|
|
|
7610
7518
|
link.href = url instanceof goog.html.TrustedResourceUrl ? goog.html.TrustedResourceUrl.unwrap(url) : url instanceof goog.html.SafeUrl ? goog.html.SafeUrl.unwrap(url) : goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitizeJavascriptUrlAssertUnchanged(url));
|
|
7611
7519
|
}
|
|
7612
7520
|
};
|
|
7613
|
-
goog.dom.safe.setObjectData = function(object, url) {
|
|
7614
|
-
module$contents$goog$asserts$dom_assertIsHtmlObjectElement(object);
|
|
7615
|
-
object.data = goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(url);
|
|
7616
|
-
};
|
|
7617
7521
|
goog.dom.safe.setScriptSrc = function(script, url) {
|
|
7618
7522
|
module$contents$goog$asserts$dom_assertIsHtmlScriptElement(script);
|
|
7619
7523
|
goog.dom.safe.setNonceForScriptElement_(script);
|
|
7620
7524
|
script.src = goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(url);
|
|
7621
7525
|
};
|
|
7622
|
-
goog.dom.safe.setScriptContent = function(script, content) {
|
|
7623
|
-
module$contents$goog$asserts$dom_assertIsHtmlScriptElement(script);
|
|
7624
|
-
goog.dom.safe.setNonceForScriptElement_(script);
|
|
7625
|
-
script.textContent = module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(content);
|
|
7626
|
-
};
|
|
7627
7526
|
goog.dom.safe.setNonceForScriptElement_ = function(script) {
|
|
7628
7527
|
var nonce = goog.dom.safe.getScriptNonce(script.ownerDocument && script.ownerDocument.defaultView);
|
|
7629
7528
|
nonce && script.setAttribute("nonce", nonce);
|
|
@@ -7664,9 +7563,6 @@ goog.dom.safe.createImageFromBlob = function(blob) {
|
|
|
7664
7563
|
image.src = objectUrl;
|
|
7665
7564
|
return image;
|
|
7666
7565
|
};
|
|
7667
|
-
goog.dom.safe.createContextualFragment = function(range, html) {
|
|
7668
|
-
return range.createContextualFragment(module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(html));
|
|
7669
|
-
};
|
|
7670
7566
|
goog.dom.safe.getScriptNonce = function(opt_window) {
|
|
7671
7567
|
return goog.dom.safe.getNonce_("script[nonce]", opt_window);
|
|
7672
7568
|
};
|
|
@@ -7818,7 +7714,7 @@ goog.string.unescapeEntitiesUsingDom_ = function(str, opt_document) {
|
|
|
7818
7714
|
var n = Number("0" + entity.slice(1));
|
|
7819
7715
|
isNaN(n) || (value = String.fromCharCode(n));
|
|
7820
7716
|
}
|
|
7821
|
-
value || (goog.dom.safe.setInnerHtml(div, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(s + " ", "Single HTML entity.")), value = div.firstChild.nodeValue.slice(0, -1));
|
|
7717
|
+
value || (goog.dom.safe.setInnerHtml(div, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(s + " ", {justification:"Single HTML entity."})), value = div.firstChild.nodeValue.slice(0, -1));
|
|
7822
7718
|
return seen[s] = value;
|
|
7823
7719
|
});
|
|
7824
7720
|
};
|
|
@@ -8891,15 +8787,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
8891
8787
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
8892
8788
|
};
|
|
8893
8789
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
8894
|
-
var $jscomp$this = this, payload = "--" + this._boundary + "\r\n";
|
|
8790
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
8895
8791
|
payload += this._metadataPayload;
|
|
8896
8792
|
return Promise.all(this.files.map(function(f) {
|
|
8897
|
-
return $jscomp$this.encodeFile(f);
|
|
8793
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
8898
8794
|
})).then(function(filePayloads) {
|
|
8899
8795
|
for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$filePayload = $jscomp$iter$30.next(); !$jscomp$key$filePayload.done; $jscomp$key$filePayload = $jscomp$iter$30.next()) {
|
|
8900
8796
|
payload += $jscomp$key$filePayload.value;
|
|
8901
8797
|
}
|
|
8902
|
-
return payload += "\r\n--" + $jscomp$this._boundary + "--";
|
|
8798
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
8903
8799
|
});
|
|
8904
8800
|
};
|
|
8905
8801
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -8987,9 +8883,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
8987
8883
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
8988
8884
|
};
|
|
8989
8885
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
8990
|
-
var $jscomp$this = this, responseCtor = requestParams.responseCtor || void 0;
|
|
8886
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
8991
8887
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
8992
|
-
return $jscomp$this.requestService.send(params, responseCtor);
|
|
8888
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
8993
8889
|
}));
|
|
8994
8890
|
};
|
|
8995
8891
|
var module$exports$eeapiclient$ee_api_client = {}, module$contents$eeapiclient$ee_api_client_module = module$contents$eeapiclient$ee_api_client_module || {id:"geo/gestalt/client/javascript/v1/ee_api_client.closure.js"};
|
|
@@ -10417,13 +10313,14 @@ module$exports$eeapiclient$ee_api_client.ExportClassifierRequest = function(para
|
|
|
10417
10313
|
this.Serializable$set("assetExportOptions", null == parameters.assetExportOptions ? null : parameters.assetExportOptions);
|
|
10418
10314
|
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
|
|
10419
10315
|
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
|
|
10316
|
+
this.Serializable$set("priority", null == parameters.priority ? null : parameters.priority);
|
|
10420
10317
|
};
|
|
10421
10318
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportClassifierRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
10422
10319
|
module$exports$eeapiclient$ee_api_client.ExportClassifierRequest.prototype.getConstructor = function() {
|
|
10423
10320
|
return module$exports$eeapiclient$ee_api_client.ExportClassifierRequest;
|
|
10424
10321
|
};
|
|
10425
10322
|
module$exports$eeapiclient$ee_api_client.ExportClassifierRequest.prototype.getPartialClassMetadata = function() {
|
|
10426
|
-
return {keys:"assetExportOptions description expression maxWorkers requestId workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.ClassifierAssetExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression}};
|
|
10323
|
+
return {keys:"assetExportOptions description expression maxWorkers priority requestId workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.ClassifierAssetExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression}};
|
|
10427
10324
|
};
|
|
10428
10325
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportClassifierRequest.prototype, {assetExportOptions:{configurable:!0, enumerable:!0, get:function() {
|
|
10429
10326
|
return this.Serializable$has("assetExportOptions") ? this.Serializable$get("assetExportOptions") : null;
|
|
@@ -10441,6 +10338,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10441
10338
|
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
|
|
10442
10339
|
}, set:function(value) {
|
|
10443
10340
|
this.Serializable$set("maxWorkers", value);
|
|
10341
|
+
}}, priority:{configurable:!0, enumerable:!0, get:function() {
|
|
10342
|
+
return this.Serializable$has("priority") ? this.Serializable$get("priority") : null;
|
|
10343
|
+
}, set:function(value) {
|
|
10344
|
+
this.Serializable$set("priority", value);
|
|
10444
10345
|
}}, requestId:{configurable:!0, enumerable:!0, get:function() {
|
|
10445
10346
|
return this.Serializable$has("requestId") ? this.Serializable$get("requestId") : null;
|
|
10446
10347
|
}, set:function(value) {
|
|
@@ -10464,13 +10365,14 @@ module$exports$eeapiclient$ee_api_client.ExportImageRequest = function(parameter
|
|
|
10464
10365
|
this.Serializable$set("requestId", null == parameters.requestId ? null : parameters.requestId);
|
|
10465
10366
|
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
|
|
10466
10367
|
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
|
|
10368
|
+
this.Serializable$set("priority", null == parameters.priority ? null : parameters.priority);
|
|
10467
10369
|
};
|
|
10468
10370
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportImageRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
10469
10371
|
module$exports$eeapiclient$ee_api_client.ExportImageRequest.prototype.getConstructor = function() {
|
|
10470
10372
|
return module$exports$eeapiclient$ee_api_client.ExportImageRequest;
|
|
10471
10373
|
};
|
|
10472
10374
|
module$exports$eeapiclient$ee_api_client.ExportImageRequest.prototype.getPartialClassMetadata = function() {
|
|
10473
|
-
return {keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkers requestId workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.ImageAssetExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression, fileExportOptions:module$exports$eeapiclient$ee_api_client.ImageFileExportOptions, grid:module$exports$eeapiclient$ee_api_client.PixelGrid}};
|
|
10375
|
+
return {keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkers priority requestId workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.ImageAssetExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression, fileExportOptions:module$exports$eeapiclient$ee_api_client.ImageFileExportOptions, grid:module$exports$eeapiclient$ee_api_client.PixelGrid}};
|
|
10474
10376
|
};
|
|
10475
10377
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportImageRequest.prototype, {assetExportOptions:{configurable:!0, enumerable:!0, get:function() {
|
|
10476
10378
|
return this.Serializable$has("assetExportOptions") ? this.Serializable$get("assetExportOptions") : null;
|
|
@@ -10500,6 +10402,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10500
10402
|
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
|
|
10501
10403
|
}, set:function(value) {
|
|
10502
10404
|
this.Serializable$set("maxWorkers", value);
|
|
10405
|
+
}}, priority:{configurable:!0, enumerable:!0, get:function() {
|
|
10406
|
+
return this.Serializable$has("priority") ? this.Serializable$get("priority") : null;
|
|
10407
|
+
}, set:function(value) {
|
|
10408
|
+
this.Serializable$set("priority", value);
|
|
10503
10409
|
}}, requestId:{configurable:!0, enumerable:!0, get:function() {
|
|
10504
10410
|
return this.Serializable$has("requestId") ? this.Serializable$get("requestId") : null;
|
|
10505
10411
|
}, set:function(value) {
|
|
@@ -10521,13 +10427,14 @@ module$exports$eeapiclient$ee_api_client.ExportMapRequest = function(parameters)
|
|
|
10521
10427
|
this.Serializable$set("requestId", null == parameters.requestId ? null : parameters.requestId);
|
|
10522
10428
|
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
|
|
10523
10429
|
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
|
|
10430
|
+
this.Serializable$set("priority", null == parameters.priority ? null : parameters.priority);
|
|
10524
10431
|
};
|
|
10525
10432
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportMapRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
10526
10433
|
module$exports$eeapiclient$ee_api_client.ExportMapRequest.prototype.getConstructor = function() {
|
|
10527
10434
|
return module$exports$eeapiclient$ee_api_client.ExportMapRequest;
|
|
10528
10435
|
};
|
|
10529
10436
|
module$exports$eeapiclient$ee_api_client.ExportMapRequest.prototype.getPartialClassMetadata = function() {
|
|
10530
|
-
return {keys:"description expression maxWorkers requestId tileExportOptions tileOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, tileExportOptions:module$exports$eeapiclient$ee_api_client.ImageFileExportOptions, tileOptions:module$exports$eeapiclient$ee_api_client.TileOptions}};
|
|
10437
|
+
return {keys:"description expression maxWorkers priority requestId tileExportOptions tileOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, tileExportOptions:module$exports$eeapiclient$ee_api_client.ImageFileExportOptions, tileOptions:module$exports$eeapiclient$ee_api_client.TileOptions}};
|
|
10531
10438
|
};
|
|
10532
10439
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportMapRequest.prototype, {description:{configurable:!0, enumerable:!0, get:function() {
|
|
10533
10440
|
return this.Serializable$has("description") ? this.Serializable$get("description") : null;
|
|
@@ -10541,6 +10448,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10541
10448
|
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
|
|
10542
10449
|
}, set:function(value) {
|
|
10543
10450
|
this.Serializable$set("maxWorkers", value);
|
|
10451
|
+
}}, priority:{configurable:!0, enumerable:!0, get:function() {
|
|
10452
|
+
return this.Serializable$has("priority") ? this.Serializable$get("priority") : null;
|
|
10453
|
+
}, set:function(value) {
|
|
10454
|
+
this.Serializable$set("priority", value);
|
|
10544
10455
|
}}, requestId:{configurable:!0, enumerable:!0, get:function() {
|
|
10545
10456
|
return this.Serializable$has("requestId") ? this.Serializable$get("requestId") : null;
|
|
10546
10457
|
}, set:function(value) {
|
|
@@ -10576,13 +10487,14 @@ module$exports$eeapiclient$ee_api_client.ExportTableRequest = function(parameter
|
|
|
10576
10487
|
this.Serializable$set("maxVertices", null == parameters.maxVertices ? null : parameters.maxVertices);
|
|
10577
10488
|
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
|
|
10578
10489
|
this.Serializable$set("policy", null == parameters.policy ? null : parameters.policy);
|
|
10490
|
+
this.Serializable$set("priority", null == parameters.priority ? null : parameters.priority);
|
|
10579
10491
|
};
|
|
10580
10492
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportTableRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
10581
10493
|
module$exports$eeapiclient$ee_api_client.ExportTableRequest.prototype.getConstructor = function() {
|
|
10582
10494
|
return module$exports$eeapiclient$ee_api_client.ExportTableRequest;
|
|
10583
10495
|
};
|
|
10584
10496
|
module$exports$eeapiclient$ee_api_client.ExportTableRequest.prototype.getPartialClassMetadata = function() {
|
|
10585
|
-
return {keys:"assetExportOptions bigqueryExportOptions description expression featureViewExportOptions fileExportOptions maxErrorMeters maxVertices maxWorkers policy requestId selectors workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.TableAssetExportOptions, bigqueryExportOptions:module$exports$eeapiclient$ee_api_client.BigQueryExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression,
|
|
10497
|
+
return {keys:"assetExportOptions bigqueryExportOptions description expression featureViewExportOptions fileExportOptions maxErrorMeters maxVertices maxWorkers policy priority requestId selectors workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.TableAssetExportOptions, bigqueryExportOptions:module$exports$eeapiclient$ee_api_client.BigQueryExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression,
|
|
10586
10498
|
featureViewExportOptions:module$exports$eeapiclient$ee_api_client.FeatureViewAssetExportOptions, fileExportOptions:module$exports$eeapiclient$ee_api_client.TableFileExportOptions, policy:module$exports$eeapiclient$ee_api_client.Policy}};
|
|
10587
10499
|
};
|
|
10588
10500
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportTableRequest.prototype, {assetExportOptions:{configurable:!0, enumerable:!0, get:function() {
|
|
@@ -10625,6 +10537,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10625
10537
|
return this.Serializable$has("policy") ? this.Serializable$get("policy") : null;
|
|
10626
10538
|
}, set:function(value) {
|
|
10627
10539
|
this.Serializable$set("policy", value);
|
|
10540
|
+
}}, priority:{configurable:!0, enumerable:!0, get:function() {
|
|
10541
|
+
return this.Serializable$has("priority") ? this.Serializable$get("priority") : null;
|
|
10542
|
+
}, set:function(value) {
|
|
10543
|
+
this.Serializable$set("priority", value);
|
|
10628
10544
|
}}, requestId:{configurable:!0, enumerable:!0, get:function() {
|
|
10629
10545
|
return this.Serializable$has("requestId") ? this.Serializable$get("requestId") : null;
|
|
10630
10546
|
}, set:function(value) {
|
|
@@ -10652,13 +10568,14 @@ module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest = function(parame
|
|
|
10652
10568
|
this.Serializable$set("version", null == parameters.version ? null : parameters.version);
|
|
10653
10569
|
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
|
|
10654
10570
|
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
|
|
10571
|
+
this.Serializable$set("priority", null == parameters.priority ? null : parameters.priority);
|
|
10655
10572
|
};
|
|
10656
10573
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
10657
10574
|
module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest.prototype.getConstructor = function() {
|
|
10658
10575
|
return module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest;
|
|
10659
10576
|
};
|
|
10660
10577
|
module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest.prototype.getPartialClassMetadata = function() {
|
|
10661
|
-
return {enums:{version:module$exports$eeapiclient$ee_api_client.ExportVideoMapRequestVersionEnum}, keys:"description expression maxWorkers requestId tileExportOptions tileOptions version videoOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, tileExportOptions:module$exports$eeapiclient$ee_api_client.VideoFileExportOptions, tileOptions:module$exports$eeapiclient$ee_api_client.TileOptions,
|
|
10578
|
+
return {enums:{version:module$exports$eeapiclient$ee_api_client.ExportVideoMapRequestVersionEnum}, keys:"description expression maxWorkers priority requestId tileExportOptions tileOptions version videoOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, tileExportOptions:module$exports$eeapiclient$ee_api_client.VideoFileExportOptions, tileOptions:module$exports$eeapiclient$ee_api_client.TileOptions,
|
|
10662
10579
|
videoOptions:module$exports$eeapiclient$ee_api_client.VideoOptions}};
|
|
10663
10580
|
};
|
|
10664
10581
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest.prototype, {description:{configurable:!0, enumerable:!0, get:function() {
|
|
@@ -10673,6 +10590,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10673
10590
|
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
|
|
10674
10591
|
}, set:function(value) {
|
|
10675
10592
|
this.Serializable$set("maxWorkers", value);
|
|
10593
|
+
}}, priority:{configurable:!0, enumerable:!0, get:function() {
|
|
10594
|
+
return this.Serializable$has("priority") ? this.Serializable$get("priority") : null;
|
|
10595
|
+
}, set:function(value) {
|
|
10596
|
+
this.Serializable$set("priority", value);
|
|
10676
10597
|
}}, requestId:{configurable:!0, enumerable:!0, get:function() {
|
|
10677
10598
|
return this.Serializable$has("requestId") ? this.Serializable$get("requestId") : null;
|
|
10678
10599
|
}, set:function(value) {
|
|
@@ -10713,13 +10634,14 @@ module$exports$eeapiclient$ee_api_client.ExportVideoRequest = function(parameter
|
|
|
10713
10634
|
this.Serializable$set("requestId", null == parameters.requestId ? null : parameters.requestId);
|
|
10714
10635
|
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
|
|
10715
10636
|
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
|
|
10637
|
+
this.Serializable$set("priority", null == parameters.priority ? null : parameters.priority);
|
|
10716
10638
|
};
|
|
10717
10639
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportVideoRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
10718
10640
|
module$exports$eeapiclient$ee_api_client.ExportVideoRequest.prototype.getConstructor = function() {
|
|
10719
10641
|
return module$exports$eeapiclient$ee_api_client.ExportVideoRequest;
|
|
10720
10642
|
};
|
|
10721
10643
|
module$exports$eeapiclient$ee_api_client.ExportVideoRequest.prototype.getPartialClassMetadata = function() {
|
|
10722
|
-
return {keys:"description expression fileExportOptions maxWorkers requestId videoOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, fileExportOptions:module$exports$eeapiclient$ee_api_client.VideoFileExportOptions, videoOptions:module$exports$eeapiclient$ee_api_client.VideoOptions}};
|
|
10644
|
+
return {keys:"description expression fileExportOptions maxWorkers priority requestId videoOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, fileExportOptions:module$exports$eeapiclient$ee_api_client.VideoFileExportOptions, videoOptions:module$exports$eeapiclient$ee_api_client.VideoOptions}};
|
|
10723
10645
|
};
|
|
10724
10646
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportVideoRequest.prototype, {description:{configurable:!0, enumerable:!0, get:function() {
|
|
10725
10647
|
return this.Serializable$has("description") ? this.Serializable$get("description") : null;
|
|
@@ -10737,6 +10659,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
10737
10659
|
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
|
|
10738
10660
|
}, set:function(value) {
|
|
10739
10661
|
this.Serializable$set("maxWorkers", value);
|
|
10662
|
+
}}, priority:{configurable:!0, enumerable:!0, get:function() {
|
|
10663
|
+
return this.Serializable$has("priority") ? this.Serializable$get("priority") : null;
|
|
10664
|
+
}, set:function(value) {
|
|
10665
|
+
this.Serializable$set("priority", value);
|
|
10740
10666
|
}}, requestId:{configurable:!0, enumerable:!0, get:function() {
|
|
10741
10667
|
return this.Serializable$has("requestId") ? this.Serializable$get("requestId") : null;
|
|
10742
10668
|
}, set:function(value) {
|
|
@@ -14926,7 +14852,6 @@ goog.dom.getElementByTagNameAndClass_ = function(doc, opt_tag, opt_class, opt_el
|
|
|
14926
14852
|
goog.dom.$$ = goog.dom.getElementsByTagNameAndClass;
|
|
14927
14853
|
goog.dom.setProperties = function(element, properties) {
|
|
14928
14854
|
module$contents$goog$object_forEach(properties, function(val, key) {
|
|
14929
|
-
val && "object" == typeof val && val.implementsGoogStringTypedString && (val = val.getTypedStringValue());
|
|
14930
14855
|
"style" == key ? element.style.cssText = val : "class" == key ? element.className = val : "for" == key ? element.htmlFor = val : goog.dom.DIRECT_ATTRIBUTE_MAP_.hasOwnProperty(key) ? element.setAttribute(goog.dom.DIRECT_ATTRIBUTE_MAP_[key], val) : goog.string.startsWith(key, "aria-") || goog.string.startsWith(key, "data-") ? element.setAttribute(key, val) : element[key] = val;
|
|
14931
14856
|
});
|
|
14932
14857
|
};
|
|
@@ -15029,7 +14954,7 @@ goog.dom.createTable_ = function(doc, rows, columns, fillWithNbsp) {
|
|
|
15029
14954
|
return table;
|
|
15030
14955
|
};
|
|
15031
14956
|
goog.dom.constHtmlToNode = function(var_args) {
|
|
15032
|
-
var stringArray = Array.prototype.map.call(arguments, goog.string.Const.unwrap), safeHtml = module$contents$safevalues$restricted$reviewed_htmlSafeByReview(stringArray.join(""), "Constant HTML string, that gets turned into a Node later, so it will be automatically balanced.");
|
|
14957
|
+
var stringArray = Array.prototype.map.call(arguments, goog.string.Const.unwrap), safeHtml = module$contents$safevalues$restricted$reviewed_htmlSafeByReview(stringArray.join(""), {justification:"Constant HTML string, that gets turned into a Node later, so it will be automatically balanced."});
|
|
15033
14958
|
return goog.dom.safeHtmlToNode(safeHtml);
|
|
15034
14959
|
};
|
|
15035
14960
|
goog.dom.safeHtmlToNode = function(html) {
|
|
@@ -15746,9 +15671,9 @@ goog.debug.asyncStackTag = {};
|
|
|
15746
15671
|
var module$contents$goog$debug$asyncStackTag_createTask = goog.DEBUG && goog.global.console && goog.global.console.createTask ? goog.global.console.createTask.bind(goog.global.console) : void 0, module$contents$goog$debug$asyncStackTag_CONSOLE_TASK_SYMBOL = module$contents$goog$debug$asyncStackTag_createTask ? Symbol("consoleTask") : void 0;
|
|
15747
15672
|
function module$contents$goog$debug$asyncStackTag_wrap(fn, name) {
|
|
15748
15673
|
function wrappedFn() {
|
|
15749
|
-
var args = $jscomp.getRestArguments.apply(0, arguments), $jscomp$this = this;
|
|
15674
|
+
var args = $jscomp.getRestArguments.apply(0, arguments), $jscomp$this$1621498202$2 = this;
|
|
15750
15675
|
return consoleTask.run(function() {
|
|
15751
|
-
return fn.call.apply(fn, [$jscomp$this].concat($jscomp.arrayFromIterable(args)));
|
|
15676
|
+
return fn.call.apply(fn, [$jscomp$this$1621498202$2].concat($jscomp.arrayFromIterable(args)));
|
|
15752
15677
|
});
|
|
15753
15678
|
}
|
|
15754
15679
|
name = void 0 === name ? "anonymous" : name;
|
|
@@ -16283,9 +16208,9 @@ module$contents$goog$async$Throttle_Throttle.prototype.onTimer_ = function() {
|
|
|
16283
16208
|
this.shouldFire_ && !this.pauseCount_ && (this.shouldFire_ = !1, this.doAction_());
|
|
16284
16209
|
};
|
|
16285
16210
|
module$contents$goog$async$Throttle_Throttle.prototype.doAction_ = function() {
|
|
16286
|
-
var $jscomp$this = this;
|
|
16211
|
+
var $jscomp$this$m92829211$8 = this;
|
|
16287
16212
|
this.timer_ = goog.Timer.callOnce(function() {
|
|
16288
|
-
return $jscomp$this.onTimer_();
|
|
16213
|
+
return $jscomp$this$m92829211$8.onTimer_();
|
|
16289
16214
|
}, this.interval_);
|
|
16290
16215
|
var args = this.args_;
|
|
16291
16216
|
this.args_ = null;
|
|
@@ -16958,9 +16883,9 @@ third_party$javascript$closure$log$log$classdecl$var5.prototype.getLogRegistryEn
|
|
|
16958
16883
|
return logRegistryEntry;
|
|
16959
16884
|
};
|
|
16960
16885
|
third_party$javascript$closure$log$log$classdecl$var5.prototype.getAllLoggers = function() {
|
|
16961
|
-
var $jscomp$this = this;
|
|
16886
|
+
var $jscomp$this$17096019$34 = this;
|
|
16962
16887
|
return Object.keys(this.entries).map(function(loggerName) {
|
|
16963
|
-
return $jscomp$this.entries[loggerName].logger;
|
|
16888
|
+
return $jscomp$this$17096019$34.entries[loggerName].logger;
|
|
16964
16889
|
});
|
|
16965
16890
|
};
|
|
16966
16891
|
goog.log.LogRegistry_ = third_party$javascript$closure$log$log$classdecl$var5;
|
|
@@ -17555,8 +17480,8 @@ function module$contents$safevalues$internals$attribute_impl_unwrapAttributePref
|
|
|
17555
17480
|
throw Error(message);
|
|
17556
17481
|
}
|
|
17557
17482
|
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
17558
|
-
var $jscomp$templatelit$1274514361$
|
|
17559
|
-
["\\0"]), $jscomp$templatelit$1274514361$
|
|
17483
|
+
var $jscomp$templatelit$1274514361$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$1274514361$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$1274514361$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
17484
|
+
["\\0"]), $jscomp$templatelit$1274514361$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
17560
17485
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
17561
17486
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
17562
17487
|
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 ##############################");
|
|
@@ -17570,14 +17495,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
17570
17495
|
return -1 === fn.toString().indexOf("`");
|
|
17571
17496
|
}
|
|
17572
17497
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17573
|
-
return tag($jscomp$templatelit$1274514361$
|
|
17498
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
17574
17499
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17575
|
-
return tag($jscomp$templatelit$1274514361$
|
|
17500
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
17576
17501
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17577
|
-
return tag($jscomp$templatelit$1274514361$
|
|
17502
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
17578
17503
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17579
|
-
return tag($jscomp$templatelit$1274514361$
|
|
17580
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$
|
|
17504
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
17505
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$12);
|
|
17581
17506
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
17582
17507
|
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)) ?
|
|
17583
17508
|
!0 : !1;
|
|
@@ -17598,12 +17523,24 @@ function module$contents$safevalues$builders$attribute_builders_safeAttrPrefix(t
|
|
|
17598
17523
|
}
|
|
17599
17524
|
return module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal(attrPrefix);
|
|
17600
17525
|
}
|
|
17601
|
-
;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"};
|
|
17526
|
+
;var module$exports$safevalues$builders$document_fragment_builders = {}, 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"};
|
|
17602
17527
|
function module$contents$safevalues$builders$document_fragment_builders_safeFragment(templateObj) {
|
|
17528
|
+
return module$contents$safevalues$builders$document_fragment_builders_htmlFragment(templateObj);
|
|
17529
|
+
}
|
|
17530
|
+
module$exports$safevalues$builders$document_fragment_builders.safeFragment = module$contents$safevalues$builders$document_fragment_builders_safeFragment;
|
|
17531
|
+
function module$contents$safevalues$builders$document_fragment_builders_htmlFragment(templateObj) {
|
|
17603
17532
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, 0);
|
|
17604
17533
|
return document.createRange().createContextualFragment(module$contents$safevalues$internals$html_impl_unwrapHtml(module$contents$safevalues$internals$html_impl_createHtmlInternal(templateObj[0])));
|
|
17605
17534
|
}
|
|
17606
|
-
|
|
17535
|
+
module$exports$safevalues$builders$document_fragment_builders.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
17536
|
+
function module$contents$safevalues$builders$document_fragment_builders_svgFragment(templateObj) {
|
|
17537
|
+
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, 0);
|
|
17538
|
+
var svgElem = document.createElementNS("http://www.w3.org/2000/svg", "svg"), range = document.createRange();
|
|
17539
|
+
range.selectNodeContents(svgElem);
|
|
17540
|
+
return range.createContextualFragment(module$contents$safevalues$internals$html_impl_unwrapHtml(module$contents$safevalues$internals$html_impl_createHtmlInternal(templateObj[0])));
|
|
17541
|
+
}
|
|
17542
|
+
module$exports$safevalues$builders$document_fragment_builders.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
17543
|
+
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;
|
|
17607
17544
|
module$exports$safevalues$builders$style_sheet_builders.safeStyleRule = function(templateObj) {
|
|
17608
17545
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
17609
17546
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, rest.length);
|
|
@@ -17953,8 +17890,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
17953
17890
|
this.replacements = new Map();
|
|
17954
17891
|
};
|
|
17955
17892
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
17956
|
-
var $jscomp$this = 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) {
|
|
17957
|
-
return $jscomp$this.replaceFormattingString(openedTags, match);
|
|
17893
|
+
var $jscomp$this$380122516$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
17894
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
17958
17895
|
});
|
|
17959
17896
|
if (0 !== openedTags.length) {
|
|
17960
17897
|
if (goog.DEBUG) {
|
|
@@ -18143,8 +18080,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
18143
18080
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
18144
18081
|
};
|
|
18145
18082
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
18146
|
-
for (var $jscomp$this = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
18147
|
-
return $jscomp$this.nodeFilter(n);
|
|
18083
|
+
for (var $jscomp$this$m1803429925$10 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
18084
|
+
return $jscomp$this$m1803429925$10.nodeFilter(n);
|
|
18148
18085
|
}, !1), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; null !== currentNode;) {
|
|
18149
18086
|
var sanitizedNode = void 0;
|
|
18150
18087
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -18604,7 +18541,9 @@ module$exports$safevalues$reporting$reporting.TEST_ONLY = {reset:function() {
|
|
|
18604
18541
|
}};
|
|
18605
18542
|
var module$exports$safevalues$index = {}, module$contents$safevalues$index_module = module$contents$safevalues$index_module || {id:"third_party/javascript/safevalues/index.closure.js"};
|
|
18606
18543
|
module$exports$safevalues$index.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
18544
|
+
module$exports$safevalues$index.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
18607
18545
|
module$exports$safevalues$index.safeFragment = module$contents$safevalues$builders$document_fragment_builders_safeFragment;
|
|
18546
|
+
module$exports$safevalues$index.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
18608
18547
|
module$exports$safevalues$index.concatHtmls = module$exports$safevalues$builders$html_builders.concatHtmls;
|
|
18609
18548
|
module$exports$safevalues$index.doctypeHtml = module$exports$safevalues$builders$html_builders.doctypeHtml;
|
|
18610
18549
|
module$exports$safevalues$index.htmlEscape = module$exports$safevalues$builders$html_builders.htmlEscape;
|
|
@@ -18668,7 +18607,9 @@ module$exports$safevalues$index.createHtml = module$exports$safevalues$builders$
|
|
|
18668
18607
|
module$exports$safevalues$index.styleSheetToHtml = module$exports$safevalues$builders$html_builders.styleSheetToHtml;
|
|
18669
18608
|
module$exports$safevalues$index.safeStyleRule = module$exports$safevalues$builders$style_sheet_builders.safeStyleRule;
|
|
18670
18609
|
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
18610
|
+
safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
18671
18611
|
safevalues.safeFragment = module$contents$safevalues$builders$document_fragment_builders_safeFragment;
|
|
18612
|
+
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
18672
18613
|
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
18673
18614
|
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
18674
18615
|
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
@@ -18733,11 +18674,11 @@ safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.Htm
|
|
|
18733
18674
|
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
18734
18675
|
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
18735
18676
|
safevalues.safeStyleRule = module$exports$safevalues$index.safeStyleRule;
|
|
18736
|
-
var $jscomp$templatelit$294235699$
|
|
18677
|
+
var $jscomp$templatelit$294235699$94 = $jscomp.createTemplateTagFirstArg(["https://apis.google.com/js/client.js?onload=", ""]);
|
|
18737
18678
|
ee.apiclient = {};
|
|
18738
18679
|
var module$contents$ee$apiclient_apiclient = {};
|
|
18739
18680
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
18740
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
18681
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.386";
|
|
18741
18682
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
18742
18683
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
18743
18684
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -18753,12 +18694,12 @@ module$contents$ee$apiclient_Call.prototype.withDetectPartialError = function(de
|
|
|
18753
18694
|
return this;
|
|
18754
18695
|
};
|
|
18755
18696
|
module$contents$ee$apiclient_Call.prototype.handle = function(response) {
|
|
18756
|
-
var $jscomp$this = this;
|
|
18697
|
+
var $jscomp$this$294235699$3 = this;
|
|
18757
18698
|
if (response instanceof Promise) {
|
|
18758
18699
|
if (this.callback) {
|
|
18759
18700
|
var callback = function(result, error) {
|
|
18760
18701
|
try {
|
|
18761
|
-
return $jscomp$this.callback(result, error);
|
|
18702
|
+
return $jscomp$this$294235699$3.callback(result, error);
|
|
18762
18703
|
} catch (callbackError) {
|
|
18763
18704
|
setTimeout(function() {
|
|
18764
18705
|
throw callbackError;
|
|
@@ -18837,7 +18778,7 @@ var module$contents$ee$apiclient_EERequestService = function(sync, retries) {
|
|
|
18837
18778
|
};
|
|
18838
18779
|
$jscomp.inherits(module$contents$ee$apiclient_EERequestService, module$exports$eeapiclient$promise_request_service.PromiseRequestService);
|
|
18839
18780
|
module$contents$ee$apiclient_EERequestService.prototype.send = function(params, responseCtor) {
|
|
18840
|
-
var $jscomp$this = this;
|
|
18781
|
+
var $jscomp$this$294235699$23 = this;
|
|
18841
18782
|
module$contents$eeapiclient$request_params_processParams(params);
|
|
18842
18783
|
var path = params.path || "", url = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + path, args = module$contents$ee$apiclient_apiclient.makeRequest_(params.queryParams || {}), body = params.body ? JSON.stringify(params.body) : void 0;
|
|
18843
18784
|
if (this.sync) {
|
|
@@ -18851,7 +18792,7 @@ module$contents$ee$apiclient_EERequestService.prototype.send = function(params,
|
|
|
18851
18792
|
return (new Promise(function(resolve, reject) {
|
|
18852
18793
|
module$contents$ee$apiclient_apiclient.send(url, args, function(value, error) {
|
|
18853
18794
|
error ? reject(error) : resolve(value);
|
|
18854
|
-
}, params.httpMethod, body, $jscomp$this.retries, $jscomp$this.detectPartialError);
|
|
18795
|
+
}, params.httpMethod, body, $jscomp$this$294235699$23.retries, $jscomp$this$294235699$23.detectPartialError);
|
|
18855
18796
|
})).then(function(r) {
|
|
18856
18797
|
return responseCtor ? module$contents$eeapiclient$domain_object_deserialize(responseCtor, r) : r;
|
|
18857
18798
|
});
|
|
@@ -18869,7 +18810,7 @@ module$contents$ee$apiclient_BatchCall.prototype.withDetectPartialError = functi
|
|
|
18869
18810
|
return this;
|
|
18870
18811
|
};
|
|
18871
18812
|
module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getResponse) {
|
|
18872
|
-
var $jscomp$this = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var40) {
|
|
18813
|
+
var $jscomp$this$294235699$27 = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var40) {
|
|
18873
18814
|
var $jscomp$destructuring$var41 = $jscomp.makeIterator($jscomp$destructuring$var40), id = $jscomp$destructuring$var41.next().value, $jscomp$destructuring$var42 = $jscomp.makeIterator($jscomp$destructuring$var41.next().value), partBody = $jscomp$destructuring$var42.next().value, ctor = $jscomp$destructuring$var42.next().value;
|
|
18874
18815
|
return "--batch_EARTHENGINE_batch\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nMIME-Version: 1.0\r\nContent-ID: <" + id + ">\r\n\r\n" + partBody + "\r\n";
|
|
18875
18816
|
}).join("") + "--batch_EARTHENGINE_batch--\r\n", deserializeResponses = function(response) {
|
|
@@ -18881,7 +18822,7 @@ module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getRespo
|
|
|
18881
18822
|
return getResponse ? getResponse(result) : result;
|
|
18882
18823
|
};
|
|
18883
18824
|
return this.callback ? (module$contents$ee$apiclient_apiclient.send(batchUrl, null, function(result, err) {
|
|
18884
|
-
return $jscomp$this.callback(err ? result : deserializeResponses(result), err);
|
|
18825
|
+
return $jscomp$this$294235699$27.callback(err ? result : deserializeResponses(result), err);
|
|
18885
18826
|
}, "multipart/mixed; boundary=batch_EARTHENGINE_batch", body, void 0, this.detectPartialError), null) : deserializeResponses(module$contents$ee$apiclient_apiclient.send(batchUrl, null, void 0, "multipart/mixed; boundary=batch_EARTHENGINE_batch", body, void 0, this.detectPartialError));
|
|
18886
18827
|
};
|
|
18887
18828
|
var module$contents$ee$apiclient_BatchRequestService = function() {
|
|
@@ -19028,8 +18969,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19028
18969
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19029
18970
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19030
18971
|
method = method || "POST";
|
|
19031
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19032
|
-
"0.1.
|
|
18972
|
+
var headers = {"Content-Type":contentType}, version = "0.1.386";
|
|
18973
|
+
"0.1.386" === version && (version = "latest");
|
|
19033
18974
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19034
18975
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19035
18976
|
if (null != authToken) {
|
|
@@ -19152,7 +19093,7 @@ module$contents$ee$apiclient_apiclient.ensureAuthLibLoaded_ = function(callback)
|
|
|
19152
19093
|
delete goog.global[callbackName];
|
|
19153
19094
|
done();
|
|
19154
19095
|
};
|
|
19155
|
-
goog.net.jsloader.safeLoad(module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl($jscomp$templatelit$294235699$
|
|
19096
|
+
goog.net.jsloader.safeLoad(module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl($jscomp$templatelit$294235699$94, callbackName));
|
|
19156
19097
|
}
|
|
19157
19098
|
};
|
|
19158
19099
|
module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, error, result) {
|
|
@@ -20262,15 +20203,15 @@ ee.Serializer.prototype.encodeForCloudApi_ = function(obj) {
|
|
|
20262
20203
|
}
|
|
20263
20204
|
};
|
|
20264
20205
|
ee.Serializer.prototype.makeReference = function(obj) {
|
|
20265
|
-
var $jscomp$this = this, makeRef = function(result) {
|
|
20206
|
+
var $jscomp$this$1175707268$21 = this, makeRef = function(result) {
|
|
20266
20207
|
var hash = ee.Serializer.computeHash(result);
|
|
20267
|
-
goog.isObject(obj) && $jscomp$this.hashes_.set(obj, hash);
|
|
20268
|
-
if ($jscomp$this.encoded_[hash]) {
|
|
20269
|
-
return $jscomp$this.encoded_[hash];
|
|
20208
|
+
goog.isObject(obj) && $jscomp$this$1175707268$21.hashes_.set(obj, hash);
|
|
20209
|
+
if ($jscomp$this$1175707268$21.encoded_[hash]) {
|
|
20210
|
+
return $jscomp$this$1175707268$21.encoded_[hash];
|
|
20270
20211
|
}
|
|
20271
|
-
var name = String($jscomp$this.scope_.length);
|
|
20272
|
-
$jscomp$this.scope_.push([name, result]);
|
|
20273
|
-
return $jscomp$this.encoded_[hash] = name;
|
|
20212
|
+
var name = String($jscomp$this$1175707268$21.scope_.length);
|
|
20213
|
+
$jscomp$this$1175707268$21.scope_.push([name, result]);
|
|
20214
|
+
return $jscomp$this$1175707268$21.encoded_[hash] = name;
|
|
20274
20215
|
};
|
|
20275
20216
|
if (goog.isObject(obj) && this.encoded_[this.hashes_.get(obj)]) {
|
|
20276
20217
|
return this.encoded_[this.hashes_.get(obj)];
|
|
@@ -20288,24 +20229,24 @@ ee.Serializer.prototype.makeReference = function(obj) {
|
|
|
20288
20229
|
}
|
|
20289
20230
|
if (Array.isArray(obj)) {
|
|
20290
20231
|
return makeRef(ee.rpc_node.array(obj.map(function(x) {
|
|
20291
|
-
return ee.rpc_node.reference($jscomp$this.makeReference(x));
|
|
20232
|
+
return ee.rpc_node.reference($jscomp$this$1175707268$21.makeReference(x));
|
|
20292
20233
|
})));
|
|
20293
20234
|
}
|
|
20294
20235
|
if (goog.isObject(obj) && "function" !== typeof obj) {
|
|
20295
20236
|
var values = {};
|
|
20296
20237
|
Object.keys(obj).sort().forEach(function(k) {
|
|
20297
|
-
values[k] = ee.rpc_node.reference($jscomp$this.makeReference(obj[k]));
|
|
20238
|
+
values[k] = ee.rpc_node.reference($jscomp$this$1175707268$21.makeReference(obj[k]));
|
|
20298
20239
|
});
|
|
20299
20240
|
return makeRef(ee.rpc_node.dictionary(values));
|
|
20300
20241
|
}
|
|
20301
20242
|
throw Error("Can't encode object: " + obj);
|
|
20302
20243
|
};
|
|
20303
20244
|
var ExpressionOptimizer = function(rootReference, values, isCompound, sourceNodeMap) {
|
|
20304
|
-
var $jscomp$this = this;
|
|
20245
|
+
var $jscomp$this$1175707268$22 = this;
|
|
20305
20246
|
this.rootReference = rootReference;
|
|
20306
20247
|
this.values = {};
|
|
20307
20248
|
values.forEach(function(tuple) {
|
|
20308
|
-
return $jscomp$this.values[tuple[0]] = tuple[1];
|
|
20249
|
+
return $jscomp$this$1175707268$22.values[tuple[0]] = tuple[1];
|
|
20309
20250
|
});
|
|
20310
20251
|
this.referenceCounts = isCompound ? this.countReferences() : null;
|
|
20311
20252
|
this.optimizedValues = {};
|
|
@@ -20327,12 +20268,12 @@ ExpressionOptimizer.prototype.optimizeReference = function(ref) {
|
|
|
20327
20268
|
return mappedRef;
|
|
20328
20269
|
};
|
|
20329
20270
|
ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
20330
|
-
var $jscomp$this = this, isConst = function(v) {
|
|
20271
|
+
var $jscomp$this$1175707268$25 = this, isConst = function(v) {
|
|
20331
20272
|
return null !== v.constantValue;
|
|
20332
20273
|
}, serializeConst = function(v) {
|
|
20333
20274
|
return v === module$exports$eeapiclient$domain_object.NULL_VALUE ? null : v;
|
|
20334
20275
|
}, storeInSourceMap = function(parentValue, valueNode) {
|
|
20335
|
-
$jscomp$this.sourceNodeMap && $jscomp$this.sourceNodeMap.has(parentValue) && !$jscomp$this.sourceNodeMap.has(valueNode) && $jscomp$this.sourceNodeMap.set(valueNode, $jscomp$this.sourceNodeMap.get(parentValue));
|
|
20276
|
+
$jscomp$this$1175707268$25.sourceNodeMap && $jscomp$this$1175707268$25.sourceNodeMap.has(parentValue) && !$jscomp$this$1175707268$25.sourceNodeMap.has(valueNode) && $jscomp$this$1175707268$25.sourceNodeMap.set(valueNode, $jscomp$this$1175707268$25.sourceNodeMap.get(parentValue));
|
|
20336
20277
|
return valueNode;
|
|
20337
20278
|
};
|
|
20338
20279
|
if (isConst(value) || null != value.integerValue || null != value.bytesValue || null != value.argumentReference) {
|
|
@@ -20352,7 +20293,7 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
|
|
|
20352
20293
|
}
|
|
20353
20294
|
if (null != value.arrayValue) {
|
|
20354
20295
|
var arr = value.arrayValue.values.map(function(v) {
|
|
20355
|
-
return $jscomp$this.optimizeValue(v, depth + 3);
|
|
20296
|
+
return $jscomp$this$1175707268$25.optimizeValue(v, depth + 3);
|
|
20356
20297
|
}), optimized$jscomp$1 = arr.every(isConst) ? ee.rpc_node.constant(arr.map(function(v) {
|
|
20357
20298
|
return serializeConst(v.constantValue);
|
|
20358
20299
|
})) : ee.rpc_node.array(arr);
|
|
@@ -20385,8 +20326,8 @@ ExpressionOptimizer.isAlwaysLiftable = function(value) {
|
|
|
20385
20326
|
return null !== constant ? constant === module$exports$eeapiclient$domain_object.NULL_VALUE || "number" === typeof constant || "boolean" === typeof constant : null != value.argumentReference;
|
|
20386
20327
|
};
|
|
20387
20328
|
ExpressionOptimizer.prototype.countReferences = function() {
|
|
20388
|
-
var $jscomp$this = this, counts = {}, visitReference = function(reference) {
|
|
20389
|
-
counts[reference] ? counts[reference]++ : (counts[reference] = 1, visitValue($jscomp$this.values[reference]));
|
|
20329
|
+
var $jscomp$this$1175707268$27 = this, counts = {}, visitReference = function(reference) {
|
|
20330
|
+
counts[reference] ? counts[reference]++ : (counts[reference] = 1, visitValue($jscomp$this$1175707268$27.values[reference]));
|
|
20390
20331
|
}, visitValue = function(value) {
|
|
20391
20332
|
if (null != value.arrayValue) {
|
|
20392
20333
|
value.arrayValue.values.forEach(visitValue);
|
|
@@ -20676,13 +20617,14 @@ var module$contents$goog$singleton_instantiatedSingletons = [], module$contents$
|
|
|
20676
20617
|
};
|
|
20677
20618
|
goog.singleton.getInstance = function(ctor) {
|
|
20678
20619
|
(0,goog.asserts.assert)(!Object.isSealed(ctor), "Cannot use getInstance() with a sealed constructor.");
|
|
20679
|
-
|
|
20620
|
+
var prop = "instance_";
|
|
20621
|
+
if (ctor.instance_ && ctor.hasOwnProperty(prop)) {
|
|
20680
20622
|
return ctor.instance_;
|
|
20681
20623
|
}
|
|
20682
20624
|
goog.DEBUG && module$contents$goog$singleton_instantiatedSingletons.push(ctor);
|
|
20683
20625
|
var instance = new ctor();
|
|
20684
20626
|
ctor.instance_ = instance;
|
|
20685
|
-
(0,goog.asserts.assert)(ctor.hasOwnProperty(
|
|
20627
|
+
(0,goog.asserts.assert)(ctor.hasOwnProperty(prop), "Could not instantiate singleton.");
|
|
20686
20628
|
return instance;
|
|
20687
20629
|
};
|
|
20688
20630
|
goog.singleton.instantiatedSingletons = module$contents$goog$singleton_instantiatedSingletons;
|
|
@@ -22763,11 +22705,11 @@ ee.Image.prototype.getInfo = function(opt_callback) {
|
|
|
22763
22705
|
};
|
|
22764
22706
|
goog.exportProperty(ee.Image.prototype, "getInfo", ee.Image.prototype.getInfo);
|
|
22765
22707
|
ee.Image.prototype.getMapId = function(opt_visParams, opt_callback) {
|
|
22766
|
-
var $jscomp$this = this, args = ee.arguments.extractFromFunction(ee.Image.prototype.getMap, arguments), request = ee.data.images.applyVisualization(this, args.visParams);
|
|
22708
|
+
var $jscomp$this$m870018051$6 = this, args = ee.arguments.extractFromFunction(ee.Image.prototype.getMap, arguments), request = ee.data.images.applyVisualization(this, args.visParams);
|
|
22767
22709
|
if (args.callback) {
|
|
22768
22710
|
var callback = args.callback;
|
|
22769
22711
|
ee.data.getMapId(request, function(data, error) {
|
|
22770
|
-
var mapId = data ? Object.assign(data, {image:$jscomp$this}) : void 0;
|
|
22712
|
+
var mapId = data ? Object.assign(data, {image:$jscomp$this$m870018051$6}) : void 0;
|
|
22771
22713
|
callback(mapId, error);
|
|
22772
22714
|
});
|
|
22773
22715
|
} else {
|
|
@@ -23167,7 +23109,7 @@ module$contents$ee$batch_ExportTask.create = function(exportArgs) {
|
|
|
23167
23109
|
return new module$contents$ee$batch_ExportTask(config);
|
|
23168
23110
|
};
|
|
23169
23111
|
module$contents$ee$batch_ExportTask.prototype.start = function(opt_success, opt_error) {
|
|
23170
|
-
var $jscomp$this = this;
|
|
23112
|
+
var $jscomp$this$m1704548930$3 = this;
|
|
23171
23113
|
goog.asserts.assert(this.config_, "Task config must be specified for tasks to be started.");
|
|
23172
23114
|
this.id = this.id || ee.data.newTaskId(1)[0];
|
|
23173
23115
|
goog.asserts.assertString(this.id, "Failed to obtain task ID.");
|
|
@@ -23177,7 +23119,7 @@ module$contents$ee$batch_ExportTask.prototype.start = function(opt_success, opt_
|
|
|
23177
23119
|
opt_error(error);
|
|
23178
23120
|
} else {
|
|
23179
23121
|
var $jscomp$nullish$tmp11;
|
|
23180
|
-
$jscomp$this.id = null != ($jscomp$nullish$tmp11 = response.taskId) ? $jscomp$nullish$tmp11 : null;
|
|
23122
|
+
$jscomp$this$m1704548930$3.id = null != ($jscomp$nullish$tmp11 = response.taskId) ? $jscomp$nullish$tmp11 : null;
|
|
23181
23123
|
opt_success();
|
|
23182
23124
|
}
|
|
23183
23125
|
});
|
|
@@ -24265,9 +24207,9 @@ module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.prototype.ha
|
|
|
24265
24207
|
return 0 < this.statsByZoom_.size;
|
|
24266
24208
|
};
|
|
24267
24209
|
module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.prototype.getSummaryList = function() {
|
|
24268
|
-
var $jscomp$this = this, summaryList = [];
|
|
24210
|
+
var $jscomp$this$m1171058278$7 = this, summaryList = [];
|
|
24269
24211
|
this.statsByZoom_.forEach(function(stats, zoom) {
|
|
24270
|
-
return summaryList.push({layerId:$jscomp$this.uniqueId_, zoomLevel:zoom, tileLatencies:stats.tileLatencies, throttleCount:stats.throttleCount, errorCount:stats.errorCount});
|
|
24212
|
+
return summaryList.push({layerId:$jscomp$this$m1171058278$7.uniqueId_, zoomLevel:zoom, tileLatencies:stats.tileLatencies, throttleCount:stats.throttleCount, errorCount:stats.errorCount});
|
|
24271
24213
|
});
|
|
24272
24214
|
return summaryList;
|
|
24273
24215
|
};
|
|
@@ -25453,7 +25395,7 @@ ee.layers.AbstractTile.prototype.getDiv = function() {
|
|
|
25453
25395
|
return this.div;
|
|
25454
25396
|
};
|
|
25455
25397
|
ee.layers.AbstractTile.prototype.startLoad = function() {
|
|
25456
|
-
var $jscomp$this = this;
|
|
25398
|
+
var $jscomp$this$m442005483$27 = this;
|
|
25457
25399
|
if (!this.isRetrying_ && this.getStatus() == ee.layers.AbstractTile.Status.LOADING) {
|
|
25458
25400
|
throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");
|
|
25459
25401
|
}
|
|
@@ -25462,24 +25404,24 @@ ee.layers.AbstractTile.prototype.startLoad = function() {
|
|
|
25462
25404
|
this.xhrIo_ = new goog.net.XhrIo();
|
|
25463
25405
|
this.xhrIo_.setResponseType(goog.net.XhrIo.ResponseType.BLOB);
|
|
25464
25406
|
this.xhrIo_.listen(goog.net.EventType.COMPLETE, function(event) {
|
|
25465
|
-
var blob = $jscomp$this.xhrIo_.getResponse(), status = $jscomp$this.xhrIo_.getStatus(), HttpStatus = goog.net.HttpStatus;
|
|
25466
|
-
status == HttpStatus.TOO_MANY_REQUESTS && $jscomp$this.setStatus(ee.layers.AbstractTile.Status.THROTTLED);
|
|
25407
|
+
var blob = $jscomp$this$m442005483$27.xhrIo_.getResponse(), status = $jscomp$this$m442005483$27.xhrIo_.getStatus(), HttpStatus = goog.net.HttpStatus;
|
|
25408
|
+
status == HttpStatus.TOO_MANY_REQUESTS && $jscomp$this$m442005483$27.setStatus(ee.layers.AbstractTile.Status.THROTTLED);
|
|
25467
25409
|
if (HttpStatus.isSuccess(status)) {
|
|
25468
25410
|
var sourceResponseHeaders = {};
|
|
25469
|
-
module$contents$goog$object_forEach($jscomp$this.xhrIo_.getResponseHeaders(), function(value, name) {
|
|
25411
|
+
module$contents$goog$object_forEach($jscomp$this$m442005483$27.xhrIo_.getResponseHeaders(), function(value, name) {
|
|
25470
25412
|
sourceResponseHeaders[name.toLowerCase()] = value;
|
|
25471
25413
|
});
|
|
25472
|
-
$jscomp$this.sourceResponseHeaders = sourceResponseHeaders;
|
|
25473
|
-
$jscomp$this.sourceData = blob;
|
|
25474
|
-
$jscomp$this.finishLoad();
|
|
25414
|
+
$jscomp$this$m442005483$27.sourceResponseHeaders = sourceResponseHeaders;
|
|
25415
|
+
$jscomp$this$m442005483$27.sourceData = blob;
|
|
25416
|
+
$jscomp$this$m442005483$27.finishLoad();
|
|
25475
25417
|
} else if (blob) {
|
|
25476
25418
|
var reader = new goog.fs.FileReader();
|
|
25477
25419
|
reader.listen(goog.fs.FileReader.EventType.LOAD_END, function() {
|
|
25478
|
-
$jscomp$this.retryLoad(reader.getResult());
|
|
25420
|
+
$jscomp$this$m442005483$27.retryLoad(reader.getResult());
|
|
25479
25421
|
}, void 0);
|
|
25480
25422
|
reader.readAsText(blob);
|
|
25481
25423
|
} else {
|
|
25482
|
-
$jscomp$this.retryLoad("Failed to load tile.");
|
|
25424
|
+
$jscomp$this$m442005483$27.retryLoad("Failed to load tile.");
|
|
25483
25425
|
}
|
|
25484
25426
|
}, !1);
|
|
25485
25427
|
this.xhrIo_.listenOnce(goog.net.EventType.READY, goog.partial(module$contents$goog$dispose_dispose, this.xhrIo_));
|
|
@@ -26537,13 +26479,13 @@ ee.data.Profiler.prototype.removeProfile_ = function(profileId) {
|
|
|
26537
26479
|
1 < count ? this.profileIds_[profileId]-- : void 0 !== count && (delete this.profileIds_[profileId], this.throttledRefresh_.start());
|
|
26538
26480
|
};
|
|
26539
26481
|
ee.data.Profiler.prototype.refresh_ = function(retryAttempt) {
|
|
26540
|
-
var $jscomp$this = this;
|
|
26482
|
+
var $jscomp$this$491634829$13 = this;
|
|
26541
26483
|
retryAttempt = void 0 === retryAttempt ? 0 : retryAttempt;
|
|
26542
26484
|
var marker = {};
|
|
26543
26485
|
this.lastRefreshToken_ = marker;
|
|
26544
26486
|
var handleResponse = function(result, error) {
|
|
26545
|
-
marker == $jscomp$this.lastRefreshToken_ && (error && "number" === typeof retryAttempt && retryAttempt < $jscomp$this.MAX_RETRY_COUNT_ ? goog.Timer.callOnce(goog.bind($jscomp$this.refresh_, $jscomp$this, retryAttempt + 1), 2 * ee.data.Profiler.DELAY_BEFORE_REFRESH_) : ($jscomp$this.profileError_ = error || null, $jscomp$this.profileData_ = error ? ee.data.Profiler.getEmptyProfile_($jscomp$this.format_) :
|
|
26546
|
-
$jscomp$this.dispatchEvent(ee.data.Profiler.EventType.DATA_CHANGED)));
|
|
26487
|
+
marker == $jscomp$this$491634829$13.lastRefreshToken_ && (error && "number" === typeof retryAttempt && retryAttempt < $jscomp$this$491634829$13.MAX_RETRY_COUNT_ ? goog.Timer.callOnce(goog.bind($jscomp$this$491634829$13.refresh_, $jscomp$this$491634829$13, retryAttempt + 1), 2 * ee.data.Profiler.DELAY_BEFORE_REFRESH_) : ($jscomp$this$491634829$13.profileError_ = error || null, $jscomp$this$491634829$13.profileData_ = error ? ee.data.Profiler.getEmptyProfile_($jscomp$this$491634829$13.format_) :
|
|
26488
|
+
result, $jscomp$this$491634829$13.lastRefreshToken_ = null, $jscomp$this$491634829$13.dispatchEvent(ee.data.Profiler.EventType.STATE_CHANGED), $jscomp$this$491634829$13.dispatchEvent(ee.data.Profiler.EventType.DATA_CHANGED)));
|
|
26547
26489
|
}, ids = module$contents$goog$object_getKeys(this.profileIds_);
|
|
26548
26490
|
0 === ids.length ? handleResponse(ee.data.Profiler.getEmptyProfile_(this.format_), void 0) : (ee.ApiFunction._apply(this.showInternal_ ? "Profile.getProfilesInternal" : "Profile.getProfiles", {ids:ids, format:this.format_.toString()}).getInfo(handleResponse), this.dispatchEvent(ee.data.Profiler.EventType.STATE_CHANGED));
|
|
26549
26491
|
};
|
|
@@ -26586,29 +26528,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26586
26528
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26587
26529
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26588
26530
|
(function() {
|
|
26589
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
26590
|
-
orderedParamLists = [["name", "
|
|
26591
|
-
"collection opt_description
|
|
26592
|
-
"collection opt_description
|
|
26593
|
-
"
|
|
26594
|
-
["
|
|
26595
|
-
"params", "opt_callback"], ["
|
|
26596
|
-
|
|
26597
|
-
|
|
26598
|
-
"
|
|
26599
|
-
|
|
26600
|
-
"
|
|
26601
|
-
"opt_callback"], ["
|
|
26602
|
-
[
|
|
26603
|
-
|
|
26604
|
-
|
|
26605
|
-
ee.
|
|
26606
|
-
ee.data.
|
|
26607
|
-
ee.
|
|
26608
|
-
ee.
|
|
26609
|
-
ee.
|
|
26610
|
-
ee.
|
|
26611
|
-
ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection, ee.ImageCollection.prototype.getInfo, ee.List, ee.Number, ee.Serializer.encodeCloudApi, ee.Serializer.toJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26531
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toAsset ee.batch.Export.video.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.table.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.image.toDrive ee.batch.Export.table.toBigQuery ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.computeValue ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.getThumbId ee.data.resetWorkloadTag ee.data.startIngestion ee.data.getVideoThumbId ee.data.getTaskStatus ee.data.updateTask ee.data.updateAsset ee.data.startProcessing ee.data.getFilmstripThumbId ee.data.createFolder ee.data.getList ee.data.listAssets ee.data.setAssetAcl ee.data.makeThumbUrl ee.data.renameAsset ee.data.authenticateViaOauth ee.data.getTaskList ee.data.getMapId ee.data.setAssetProperties ee.data.getDownloadId ee.data.copyAsset ee.data.startTableIngestion ee.data.makeDownloadUrl ee.data.authenticate ee.data.getTaskListWithLimit ee.data.listImages ee.data.getTileUrl ee.data.cancelOperation ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.listOperations ee.data.listBuckets ee.data.getTableDownloadId ee.data.getWorkloadTag ee.data.getAssetAcl ee.data.getAsset ee.data.makeTableDownloadUrl ee.data.getFeatureViewTilesKey ee.data.authenticateViaPopup ee.data.getAssetRoots ee.data.getInfo ee.data.getOperation ee.data.listFeatures ee.data.createAssetHome ee.data.newTaskId ee.data.setWorkloadTag ee.data.createAsset ee.data.authenticateViaPrivateKey ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Dictionary ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.InitState ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.select ee.Filter.neq ee.Filter.gte ee.Filter.prototype.not ee.Filter.date ee.Filter.eq ee.Filter ee.Filter.bounds ee.Filter.metadata ee.Filter.and ee.Filter.gt ee.Filter.lte ee.Filter.lt ee.Filter.inList ee.Filter.or ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.MultiPolygon ee.Geometry ee.Geometry.prototype.serialize ee.Geometry.Point ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiLineString ee.Geometry.BBox ee.Geometry.prototype.toGeoJSONString ee.Geometry.LineString ee.Geometry.LinearRing ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Image ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.expression ee.Image.prototype.getMap ee.Image.rgb ee.Image.prototype.rename ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.Image.cat ee.Image.prototype.select ee.Image.prototype.clip ee.Image.prototype.getThumbURL ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMap ee.List ee.Number ee.Serializer.toReadableCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApi ee.Serializer.toJSON ee.String ee.Terrain".split(" "),
|
|
26532
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "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(" "), "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_assetId", "opt_maxVertices"], "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),
|
|
26533
|
+
"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "), ["classifier", "opt_description", "opt_assetId"], "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".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(" "),
|
|
26534
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "), "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_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "),
|
|
26535
|
+
"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(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices".split(" "), ["name", "operator", "value"], ["geometry"], ["filter"], ["start", "opt_end"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["max", "opt_property", "opt_ascending"],
|
|
26536
|
+
["property", "opt_ascending"], ["func", "var_args"], ["callback"], ["opt_callback"], ["legacy"], ["obj", "opt_callback"], ["taskId", "opt_callback"], ["tag"], ["params", "opt_callback"], ["opt_resetDefault"], ["taskId", "request", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["taskId", "action", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "params", "opt_callback"], ["params", "opt_callback"], ["path", "opt_force", "opt_callback"],
|
|
26537
|
+
["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["id"], ["sourceId", "destinationId", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["opt_callback"], ["params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["taskId", "request", "opt_callback"], ["id"],
|
|
26538
|
+
["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["opt_limit", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["id", "x", "y", "z"], ["operationName", "opt_callback"], ["assetId", "opt_callback"], ["rootId", "opt_callback"], ["opt_limit", "opt_callback"], ["project", "opt_callback"], ["params", "opt_callback"], [], ["assetId", "opt_callback"], ["id", "opt_callback"], ["id"], ["params", "opt_callback"], ["opt_success", "opt_error"], ["opt_callback"],
|
|
26539
|
+
["id", "opt_callback"], ["operationName", "opt_callback"], ["asset", "params", "opt_callback"], ["requestedId", "opt_callback"], ["opt_count", "opt_callback"], ["tag"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
26540
|
+
["func", "var_args"], [], [], [], ["func", "namedArgs"], ["var_args"], [], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["args", "opt_column"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["name", "value"], ["name", "value"], [], ["start", "opt_end"],
|
|
26541
|
+
["name", "value"], ["opt_filter"], ["geometry", "opt_errorMargin"], ["name", "operator", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["var_args"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["legacy"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError",
|
|
26542
|
+
"opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["west", "south", "east", "north"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["opt_args"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["expression", "opt_map"], ["opt_visParams", "opt_callback"], ["r", "g", "b"], ["var_args"], ["params", "opt_callback"], ["params",
|
|
26543
|
+
"opt_callback"], ["var_args"], ["var_args"], ["geometry"], ["params", "opt_callback"], [], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["args"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
26544
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage,
|
|
26545
|
+
module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toBigQuery, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filter, ee.Collection.prototype.filterDate, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.ComputedObject.prototype.aside,
|
|
26546
|
+
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.computeValue, ee.data.cancelTask, ee.data.setDefaultWorkloadTag, ee.data.getThumbId, ee.data.resetWorkloadTag, ee.data.startIngestion, ee.data.getVideoThumbId, ee.data.getTaskStatus, ee.data.updateTask, ee.data.updateAsset, ee.data.startProcessing, ee.data.getFilmstripThumbId, ee.data.createFolder, ee.data.getList, ee.data.listAssets, ee.data.setAssetAcl, ee.data.makeThumbUrl,
|
|
26547
|
+
ee.data.renameAsset, ee.data.authenticateViaOauth, ee.data.getTaskList, ee.data.getMapId, ee.data.setAssetProperties, ee.data.getDownloadId, ee.data.copyAsset, ee.data.startTableIngestion, ee.data.makeDownloadUrl, ee.data.authenticate, ee.data.getTaskListWithLimit, ee.data.listImages, ee.data.getTileUrl, ee.data.cancelOperation, ee.data.deleteAsset, ee.data.getAssetRootQuota, ee.data.listOperations, ee.data.listBuckets, ee.data.getTableDownloadId, ee.data.getWorkloadTag, ee.data.getAssetAcl, ee.data.getAsset,
|
|
26548
|
+
ee.data.makeTableDownloadUrl, ee.data.getFeatureViewTilesKey, ee.data.authenticateViaPopup, ee.data.getAssetRoots, ee.data.getInfo, ee.data.getOperation, ee.data.listFeatures, ee.data.createAssetHome, ee.data.newTaskId, ee.data.setWorkloadTag, ee.data.createAsset, ee.data.authenticateViaPrivateKey, ee.Date, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Dictionary, ee.TILE_SIZE, ee.initialize, ee.call, ee.reset, ee.Algorithms,
|
|
26549
|
+
ee.InitState, ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.select, ee.Filter.neq, ee.Filter.gte, ee.Filter.prototype.not, ee.Filter.date, ee.Filter.eq, ee.Filter,
|
|
26550
|
+
ee.Filter.bounds, ee.Filter.metadata, ee.Filter.and, ee.Filter.gt, ee.Filter.lte, ee.Filter.lt, ee.Filter.inList, ee.Filter.or, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.MultiPolygon, ee.Geometry, ee.Geometry.prototype.serialize, ee.Geometry.Point, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSON, ee.Geometry.MultiLineString, ee.Geometry.BBox, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.LineString, ee.Geometry.LinearRing, ee.Geometry.MultiPoint, ee.Geometry.Rectangle,
|
|
26551
|
+
ee.Image, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.expression, ee.Image.prototype.getMap, ee.Image.rgb, ee.Image.prototype.rename, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getThumbId, ee.Image.cat, ee.Image.prototype.select, ee.Image.prototype.clip, ee.Image.prototype.getThumbURL, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select,
|
|
26552
|
+
ee.ImageCollection.prototype.linkCollection, ee.ImageCollection, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMap, ee.List, ee.Number, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toCloudApiJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26612
26553
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
26613
26554
|
});
|
|
26614
26555
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|