@google/earthengine 1.4.5 → 1.4.6
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 +370 -333
- package/build/ee_api_js.js +290 -290
- package/build/ee_api_js_debug.js +350 -312
- package/build/ee_api_js_npm.js +370 -333
- package/build/main.js +370 -333
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/data.js +0 -6
- package/src/geometry.js +0 -1
- package/src/serializer.js +1 -1
package/build/main.js
CHANGED
|
@@ -171,7 +171,7 @@ $jscomp.underscoreProtoCanBeSet = function() {
|
|
|
171
171
|
}
|
|
172
172
|
return !1;
|
|
173
173
|
};
|
|
174
|
-
$jscomp.setPrototypeOf = $jscomp.TRUST_ES6_POLYFILLS && typeof Object.setPrototypeOf == "function" ? Object.setPrototypeOf : $jscomp.underscoreProtoCanBeSet() ? function(target, proto) {
|
|
174
|
+
$jscomp.setPrototypeOf = $jscomp.ASSUME_ES6 || $jscomp.TRUST_ES6_POLYFILLS && typeof Object.setPrototypeOf == "function" ? Object.setPrototypeOf : $jscomp.underscoreProtoCanBeSet() ? function(target, proto) {
|
|
175
175
|
target.__proto__ = proto;
|
|
176
176
|
if (target.__proto__ !== proto) {
|
|
177
177
|
throw new TypeError(target + " is not extensible");
|
|
@@ -181,7 +181,7 @@ $jscomp.setPrototypeOf = $jscomp.TRUST_ES6_POLYFILLS && typeof Object.setPrototy
|
|
|
181
181
|
$jscomp.inherits = function(childCtor, parentCtor) {
|
|
182
182
|
childCtor.prototype = $jscomp.objectCreate(parentCtor.prototype);
|
|
183
183
|
childCtor.prototype.constructor = childCtor;
|
|
184
|
-
if ($jscomp.setPrototypeOf) {
|
|
184
|
+
if ($jscomp.ASSUME_ES6 || $jscomp.setPrototypeOf) {
|
|
185
185
|
var setPrototypeOf = $jscomp.setPrototypeOf;
|
|
186
186
|
setPrototypeOf(childCtor, parentCtor);
|
|
187
187
|
} else {
|
|
@@ -2187,9 +2187,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2187
2187
|
};
|
|
2188
2188
|
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;
|
|
2189
2189
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2190
|
-
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$
|
|
2191
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2192
|
-
var key = $jscomp$key$
|
|
2190
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$44 = {}; !$jscomp$key$m1892927425$40$key.done; $jscomp$loop$m1892927425$44 =
|
|
2191
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2192
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2193
2193
|
if (value != null) {
|
|
2194
2194
|
var copy = void 0;
|
|
2195
2195
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2200,11 +2200,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2200
2200
|
} else if (objects.hasOwnProperty(key)) {
|
|
2201
2201
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2202
2202
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2203
|
-
$jscomp$loop$
|
|
2203
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2204
2204
|
return function(v) {
|
|
2205
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2205
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2206
2206
|
};
|
|
2207
|
-
}($jscomp$loop$
|
|
2207
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2208
2208
|
} else if (Array.isArray(value)) {
|
|
2209
2209
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2210
2210
|
continue;
|
|
@@ -2219,8 +2219,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2219
2219
|
return target;
|
|
2220
2220
|
}
|
|
2221
2221
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2222
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2223
|
-
var mapKey = $jscomp$key$
|
|
2222
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m1892927425$41$mapKey.done; $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next()) {
|
|
2223
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2224
2224
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2225
2225
|
}
|
|
2226
2226
|
return objMap;
|
|
@@ -2250,39 +2250,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2250
2250
|
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))) {
|
|
2251
2251
|
return !1;
|
|
2252
2252
|
}
|
|
2253
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2254
|
-
var key = $jscomp$key$
|
|
2253
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$45 = {}; !$jscomp$key$m1892927425$42$key.done; $jscomp$loop$m1892927425$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next()) {
|
|
2254
|
+
var key = $jscomp$key$m1892927425$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2255
2255
|
if (has1 !== has2) {
|
|
2256
2256
|
return !1;
|
|
2257
2257
|
}
|
|
2258
2258
|
if (has1) {
|
|
2259
2259
|
var value1 = serializable1.Serializable$get(key);
|
|
2260
|
-
$jscomp$loop$
|
|
2260
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2261
2261
|
if (arrays1.hasOwnProperty(key)) {
|
|
2262
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2262
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2263
2263
|
return !1;
|
|
2264
2264
|
}
|
|
2265
2265
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2266
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2266
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2267
2267
|
return !1;
|
|
2268
2268
|
}
|
|
2269
2269
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2270
|
-
if ($jscomp$loop$
|
|
2271
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2270
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2271
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2272
2272
|
return function(v1, i) {
|
|
2273
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2273
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2274
2274
|
};
|
|
2275
|
-
}($jscomp$loop$
|
|
2275
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2276
2276
|
return !1;
|
|
2277
2277
|
}
|
|
2278
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2278
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2279
2279
|
return !1;
|
|
2280
2280
|
}
|
|
2281
2281
|
} else if (Array.isArray(value1)) {
|
|
2282
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2282
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2283
2283
|
return !1;
|
|
2284
2284
|
}
|
|
2285
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2285
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2286
2286
|
return !1;
|
|
2287
2287
|
}
|
|
2288
2288
|
}
|
|
@@ -2304,8 +2304,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2304
2304
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2305
2305
|
return !1;
|
|
2306
2306
|
}
|
|
2307
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2308
|
-
var mapKey = $jscomp$key$
|
|
2307
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m1892927425$43$mapKey.done; $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next()) {
|
|
2308
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2309
2309
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2310
2310
|
return !1;
|
|
2311
2311
|
}
|
|
@@ -2386,15 +2386,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2386
2386
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2387
2387
|
};
|
|
2388
2388
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2389
|
-
var $jscomp$this$
|
|
2389
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2390
2390
|
payload += this._metadataPayload;
|
|
2391
2391
|
return Promise.all(this.files.map(function(f) {
|
|
2392
|
-
return $jscomp$this$
|
|
2392
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2393
2393
|
})).then(function(filePayloads) {
|
|
2394
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2395
|
-
payload += $jscomp$key$
|
|
2394
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m133342051$9$filePayload.done; $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next()) {
|
|
2395
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2396
2396
|
}
|
|
2397
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2397
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2398
2398
|
});
|
|
2399
2399
|
};
|
|
2400
2400
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2735,86 +2735,93 @@ goog.object.transpose = function(obj) {
|
|
|
2735
2735
|
goog.object.unsafeClone = module$contents$goog$object_unsafeClone;
|
|
2736
2736
|
goog.string = {};
|
|
2737
2737
|
goog.string.internal = {};
|
|
2738
|
-
goog
|
|
2738
|
+
function module$contents$goog$string$internal_startsWith(str, prefix) {
|
|
2739
2739
|
return str.lastIndexOf(prefix, 0) == 0;
|
|
2740
|
-
}
|
|
2741
|
-
goog
|
|
2740
|
+
}
|
|
2741
|
+
function module$contents$goog$string$internal_endsWith(str, suffix) {
|
|
2742
2742
|
var l = str.length - suffix.length;
|
|
2743
2743
|
return l >= 0 && str.indexOf(suffix, l) == l;
|
|
2744
|
-
}
|
|
2745
|
-
goog
|
|
2746
|
-
return goog
|
|
2747
|
-
}
|
|
2748
|
-
goog
|
|
2749
|
-
return goog
|
|
2750
|
-
}
|
|
2751
|
-
goog
|
|
2744
|
+
}
|
|
2745
|
+
function module$contents$goog$string$internal_caseInsensitiveStartsWith(str, prefix) {
|
|
2746
|
+
return module$contents$goog$string$internal_caseInsensitiveCompare(prefix, str.slice(0, prefix.length)) == 0;
|
|
2747
|
+
}
|
|
2748
|
+
function module$contents$goog$string$internal_caseInsensitiveEndsWith(str, suffix) {
|
|
2749
|
+
return module$contents$goog$string$internal_caseInsensitiveCompare(suffix, str.slice(str.length - suffix.length)) == 0;
|
|
2750
|
+
}
|
|
2751
|
+
function module$contents$goog$string$internal_caseInsensitiveEquals(str1, str2) {
|
|
2752
2752
|
return str1.toLowerCase() == str2.toLowerCase();
|
|
2753
|
-
}
|
|
2754
|
-
goog
|
|
2753
|
+
}
|
|
2754
|
+
function module$contents$goog$string$internal_isEmptyOrWhitespace(str) {
|
|
2755
2755
|
return /^[\s\xa0]*$/.test(str);
|
|
2756
|
-
}
|
|
2757
|
-
goog
|
|
2756
|
+
}
|
|
2757
|
+
var module$contents$goog$string$internal_trim = goog.TRUSTED_SITE && (goog.FEATURESET_YEAR >= 2018 || String.prototype.trim) ? function(str) {
|
|
2758
2758
|
return str.trim();
|
|
2759
2759
|
} : function(str) {
|
|
2760
2760
|
return /^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(str)[1];
|
|
2761
2761
|
};
|
|
2762
|
-
goog
|
|
2762
|
+
function module$contents$goog$string$internal_caseInsensitiveCompare(str1, str2) {
|
|
2763
2763
|
var test1 = String(str1).toLowerCase(), test2 = String(str2).toLowerCase();
|
|
2764
2764
|
return test1 < test2 ? -1 : test1 == test2 ? 0 : 1;
|
|
2765
|
-
}
|
|
2766
|
-
goog
|
|
2765
|
+
}
|
|
2766
|
+
function module$contents$goog$string$internal_newLineToBr(str, opt_xml) {
|
|
2767
2767
|
return str.replace(/(\r\n|\r|\n)/g, opt_xml ? "<br />" : "<br>");
|
|
2768
|
-
}
|
|
2769
|
-
goog
|
|
2768
|
+
}
|
|
2769
|
+
function module$contents$goog$string$internal_htmlEscape(str, opt_isLikelyToContainHtmlChars) {
|
|
2770
2770
|
if (opt_isLikelyToContainHtmlChars) {
|
|
2771
|
-
str = str.replace(goog
|
|
2771
|
+
str = str.replace(module$contents$goog$string$internal_AMP_RE, "&").replace(module$contents$goog$string$internal_LT_RE, "<").replace(module$contents$goog$string$internal_GT_RE, ">").replace(module$contents$goog$string$internal_QUOT_RE, """).replace(module$contents$goog$string$internal_SINGLE_QUOTE_RE, "'").replace(module$contents$goog$string$internal_NULL_RE, "�");
|
|
2772
2772
|
} else {
|
|
2773
|
-
if (!goog
|
|
2773
|
+
if (!module$contents$goog$string$internal_ALL_RE.test(str)) {
|
|
2774
2774
|
return str;
|
|
2775
2775
|
}
|
|
2776
|
-
str.indexOf("&") != -1 && (str = str.replace(goog
|
|
2777
|
-
str.indexOf("<") != -1 && (str = str.replace(goog
|
|
2778
|
-
str.indexOf(">") != -1 && (str = str.replace(goog
|
|
2779
|
-
str.indexOf('"') != -1 && (str = str.replace(goog
|
|
2780
|
-
str.indexOf("'") != -1 && (str = str.replace(goog
|
|
2781
|
-
str.indexOf("\x00") != -1 && (str = str.replace(goog
|
|
2776
|
+
str.indexOf("&") != -1 && (str = str.replace(module$contents$goog$string$internal_AMP_RE, "&"));
|
|
2777
|
+
str.indexOf("<") != -1 && (str = str.replace(module$contents$goog$string$internal_LT_RE, "<"));
|
|
2778
|
+
str.indexOf(">") != -1 && (str = str.replace(module$contents$goog$string$internal_GT_RE, ">"));
|
|
2779
|
+
str.indexOf('"') != -1 && (str = str.replace(module$contents$goog$string$internal_QUOT_RE, """));
|
|
2780
|
+
str.indexOf("'") != -1 && (str = str.replace(module$contents$goog$string$internal_SINGLE_QUOTE_RE, "'"));
|
|
2781
|
+
str.indexOf("\x00") != -1 && (str = str.replace(module$contents$goog$string$internal_NULL_RE, "�"));
|
|
2782
2782
|
}
|
|
2783
2783
|
return str;
|
|
2784
|
-
}
|
|
2785
|
-
goog
|
|
2786
|
-
goog
|
|
2787
|
-
goog.string.internal.GT_RE_ = />/g;
|
|
2788
|
-
goog.string.internal.QUOT_RE_ = /"/g;
|
|
2789
|
-
goog.string.internal.SINGLE_QUOTE_RE_ = /'/g;
|
|
2790
|
-
goog.string.internal.NULL_RE_ = /\x00/g;
|
|
2791
|
-
goog.string.internal.ALL_RE_ = /[\x00&<>"']/;
|
|
2792
|
-
goog.string.internal.whitespaceEscape = function(str, opt_xml) {
|
|
2793
|
-
return goog.string.internal.newLineToBr(str.replace(/ /g, "  "), opt_xml);
|
|
2794
|
-
};
|
|
2795
|
-
goog.string.internal.contains = function(str, subString) {
|
|
2784
|
+
}
|
|
2785
|
+
var module$contents$goog$string$internal_AMP_RE = /&/g, module$contents$goog$string$internal_LT_RE = /</g, module$contents$goog$string$internal_GT_RE = />/g, module$contents$goog$string$internal_QUOT_RE = /"/g, module$contents$goog$string$internal_SINGLE_QUOTE_RE = /'/g, module$contents$goog$string$internal_NULL_RE = /\x00/g, module$contents$goog$string$internal_ALL_RE = /[\x00&<>"']/;
|
|
2786
|
+
function module$contents$goog$string$internal_contains(str, subString) {
|
|
2796
2787
|
return str.indexOf(subString) != -1;
|
|
2797
|
-
}
|
|
2798
|
-
goog
|
|
2799
|
-
return goog
|
|
2800
|
-
}
|
|
2801
|
-
goog
|
|
2802
|
-
for (var order = 0, v1Subs = goog
|
|
2788
|
+
}
|
|
2789
|
+
function module$contents$goog$string$internal_caseInsensitiveContains(str, subString) {
|
|
2790
|
+
return module$contents$goog$string$internal_contains(str.toLowerCase(), subString.toLowerCase());
|
|
2791
|
+
}
|
|
2792
|
+
function module$contents$goog$string$internal_compareVersions(version1, version2) {
|
|
2793
|
+
for (var order = 0, v1Subs = module$contents$goog$string$internal_trim(String(version1)).split("."), v2Subs = module$contents$goog$string$internal_trim(String(version2)).split("."), subCount = Math.max(v1Subs.length, v2Subs.length), subIdx = 0; order == 0 && subIdx < subCount; subIdx++) {
|
|
2803
2794
|
var v1Sub = v1Subs[subIdx] || "", v2Sub = v2Subs[subIdx] || "";
|
|
2804
2795
|
do {
|
|
2805
2796
|
var v1Comp = /(\d*)(\D*)(.*)/.exec(v1Sub) || ["", "", "", ""], v2Comp = /(\d*)(\D*)(.*)/.exec(v2Sub) || ["", "", "", ""];
|
|
2806
2797
|
if (v1Comp[0].length == 0 && v2Comp[0].length == 0) {
|
|
2807
2798
|
break;
|
|
2808
2799
|
}
|
|
2809
|
-
order = goog
|
|
2800
|
+
order = module$contents$goog$string$internal_compareElements(v1Comp[1].length == 0 ? 0 : parseInt(v1Comp[1], 10), v2Comp[1].length == 0 ? 0 : parseInt(v2Comp[1], 10)) || module$contents$goog$string$internal_compareElements(v1Comp[2].length == 0, v2Comp[2].length == 0) || module$contents$goog$string$internal_compareElements(v1Comp[2], v2Comp[2]);
|
|
2810
2801
|
v1Sub = v1Comp[3];
|
|
2811
2802
|
v2Sub = v2Comp[3];
|
|
2812
2803
|
} while (order == 0);
|
|
2813
2804
|
}
|
|
2814
2805
|
return order;
|
|
2815
|
-
}
|
|
2816
|
-
goog
|
|
2806
|
+
}
|
|
2807
|
+
function module$contents$goog$string$internal_compareElements(left, right) {
|
|
2817
2808
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
2809
|
+
}
|
|
2810
|
+
goog.string.internal.caseInsensitiveCompare = module$contents$goog$string$internal_caseInsensitiveCompare;
|
|
2811
|
+
goog.string.internal.caseInsensitiveContains = module$contents$goog$string$internal_caseInsensitiveContains;
|
|
2812
|
+
goog.string.internal.caseInsensitiveEndsWith = module$contents$goog$string$internal_caseInsensitiveEndsWith;
|
|
2813
|
+
goog.string.internal.caseInsensitiveEquals = module$contents$goog$string$internal_caseInsensitiveEquals;
|
|
2814
|
+
goog.string.internal.caseInsensitiveStartsWith = module$contents$goog$string$internal_caseInsensitiveStartsWith;
|
|
2815
|
+
goog.string.internal.compareVersions = module$contents$goog$string$internal_compareVersions;
|
|
2816
|
+
goog.string.internal.contains = module$contents$goog$string$internal_contains;
|
|
2817
|
+
goog.string.internal.endsWith = module$contents$goog$string$internal_endsWith;
|
|
2818
|
+
goog.string.internal.htmlEscape = module$contents$goog$string$internal_htmlEscape;
|
|
2819
|
+
goog.string.internal.isEmptyOrWhitespace = module$contents$goog$string$internal_isEmptyOrWhitespace;
|
|
2820
|
+
goog.string.internal.newLineToBr = module$contents$goog$string$internal_newLineToBr;
|
|
2821
|
+
goog.string.internal.startsWith = module$contents$goog$string$internal_startsWith;
|
|
2822
|
+
goog.string.internal.trim = module$contents$goog$string$internal_trim;
|
|
2823
|
+
goog.string.internal.whitespaceEscape = function(str, opt_xml) {
|
|
2824
|
+
return module$contents$goog$string$internal_newLineToBr(str.replace(/ /g, "  "), opt_xml);
|
|
2818
2825
|
};
|
|
2819
2826
|
/*
|
|
2820
2827
|
|
|
@@ -2899,8 +2906,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2899
2906
|
throw Error(message);
|
|
2900
2907
|
}
|
|
2901
2908
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2902
|
-
var $jscomp$templatelit$
|
|
2903
|
-
["\\0"]), $jscomp$templatelit$
|
|
2909
|
+
var $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
2910
|
+
["\\0"]), $jscomp$templatelit$m425881384$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
2904
2911
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2905
2912
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2906
2913
|
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 ##############################");
|
|
@@ -2914,14 +2921,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2914
2921
|
return fn.toString().indexOf("`") === -1;
|
|
2915
2922
|
}
|
|
2916
2923
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2917
|
-
return tag($jscomp$templatelit$
|
|
2924
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
2918
2925
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2919
|
-
return tag($jscomp$templatelit$
|
|
2926
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
2920
2927
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2921
|
-
return tag($jscomp$templatelit$
|
|
2928
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
2922
2929
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2923
|
-
return tag($jscomp$templatelit$
|
|
2924
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
2930
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
2931
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$12);
|
|
2925
2932
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2926
2933
|
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)) ?
|
|
2927
2934
|
!0 : !1;
|
|
@@ -3320,9 +3327,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3320
3327
|
}
|
|
3321
3328
|
}
|
|
3322
3329
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3323
|
-
var $jscomp$tmp$error$
|
|
3324
|
-
this.message = $jscomp$tmp$error$
|
|
3325
|
-
"stack" in $jscomp$tmp$error$
|
|
3330
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3331
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
3332
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
3326
3333
|
this.type = type;
|
|
3327
3334
|
this.intent = intent;
|
|
3328
3335
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3436,7 +3443,7 @@ function module$contents$safevalues$dom$globals$window_getStyleNonce(documentOrW
|
|
|
3436
3443
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3437
3444
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, documentOrWindow) {
|
|
3438
3445
|
documentOrWindow = documentOrWindow === void 0 ? document : documentOrWindow;
|
|
3439
|
-
var $jscomp$optchain$
|
|
3446
|
+
var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = "document" in documentOrWindow ? documentOrWindow.document : documentOrWindow).querySelector) == null ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
|
|
3440
3447
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3441
3448
|
}
|
|
3442
3449
|
;var module$exports$safevalues$internals$script_impl = {}, module$contents$safevalues$internals$script_impl_module = module$contents$safevalues$internals$script_impl_module || {id:"third_party/javascript/safevalues/internals/script_impl.closure.js"};
|
|
@@ -4726,9 +4733,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4726
4733
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4727
4734
|
var module$exports$safevalues$dom$globals$fetch = {}, module$contents$safevalues$dom$globals$fetch_module = module$contents$safevalues$dom$globals$fetch_module || {id:"third_party/javascript/safevalues/dom/globals/fetch.closure.js"};
|
|
4728
4735
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4729
|
-
var $jscomp$tmp$error$
|
|
4730
|
-
this.message = $jscomp$tmp$error$
|
|
4731
|
-
"stack" in $jscomp$tmp$error$
|
|
4736
|
+
var $jscomp$tmp$error$1153895636$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
4737
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
4738
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
4732
4739
|
this.url = url;
|
|
4733
4740
|
this.typeName = typeName;
|
|
4734
4741
|
this.contentType = contentType;
|
|
@@ -4740,48 +4747,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4740
4747
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4741
4748
|
}
|
|
4742
4749
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4743
|
-
var response, $jscomp$optchain$
|
|
4744
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4745
|
-
if ($jscomp$generator$context$
|
|
4746
|
-
return $jscomp$generator$context$
|
|
4747
|
-
}
|
|
4748
|
-
response = $jscomp$generator$context$
|
|
4749
|
-
mimeType = ($jscomp$optchain$
|
|
4750
|
-
return $jscomp$generator$context$
|
|
4750
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
4751
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
4752
|
+
if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
|
|
4753
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4754
|
+
}
|
|
4755
|
+
response = $jscomp$generator$context$1153895636$29.yieldResult;
|
|
4756
|
+
mimeType = ($jscomp$optchain$tmp1153895636$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmp1153895636$1 = $jscomp$optchain$tmp1153895636$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmp1153895636$2 = $jscomp$optchain$tmp1153895636$1[0]) == null ? void 0 : $jscomp$optchain$tmp1153895636$2.toLowerCase();
|
|
4757
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
4751
4758
|
var text;
|
|
4752
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4753
|
-
if ($jscomp$generator$context$
|
|
4759
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
4760
|
+
if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
|
|
4754
4761
|
if (mimeType !== "text/html") {
|
|
4755
4762
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4756
4763
|
}
|
|
4757
|
-
return $jscomp$generator$context$
|
|
4764
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
4758
4765
|
}
|
|
4759
|
-
text = $jscomp$generator$context$
|
|
4760
|
-
return $jscomp$generator$context$
|
|
4766
|
+
text = $jscomp$generator$context$1153895636$26.yieldResult;
|
|
4767
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4761
4768
|
});
|
|
4762
4769
|
}, script:function() {
|
|
4763
4770
|
var text;
|
|
4764
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4765
|
-
if ($jscomp$generator$context$
|
|
4771
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
4772
|
+
if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
|
|
4766
4773
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4767
4774
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4768
4775
|
}
|
|
4769
|
-
return $jscomp$generator$context$
|
|
4776
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
4770
4777
|
}
|
|
4771
|
-
text = $jscomp$generator$context$
|
|
4772
|
-
return $jscomp$generator$context$
|
|
4778
|
+
text = $jscomp$generator$context$1153895636$27.yieldResult;
|
|
4779
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4773
4780
|
});
|
|
4774
4781
|
}, styleSheet:function() {
|
|
4775
4782
|
var text;
|
|
4776
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4777
|
-
if ($jscomp$generator$context$
|
|
4783
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
4784
|
+
if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
|
|
4778
4785
|
if (mimeType !== "text/css") {
|
|
4779
4786
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4780
4787
|
}
|
|
4781
|
-
return $jscomp$generator$context$
|
|
4788
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
4782
4789
|
}
|
|
4783
|
-
text = $jscomp$generator$context$
|
|
4784
|
-
return $jscomp$generator$context$
|
|
4790
|
+
text = $jscomp$generator$context$1153895636$28.yieldResult;
|
|
4791
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4785
4792
|
});
|
|
4786
4793
|
}});
|
|
4787
4794
|
});
|
|
@@ -4981,11 +4988,11 @@ safevalues.restricted.reviewed.urlSafeByReview = module$contents$safevalues$rest
|
|
|
4981
4988
|
goog.string.DETECT_DOUBLE_ESCAPING = !1;
|
|
4982
4989
|
goog.string.FORCE_NON_DOM_HTML_UNESCAPING = !1;
|
|
4983
4990
|
goog.string.Unicode = {NBSP:"\u00a0", ZERO_WIDTH_SPACE:"\u200b"};
|
|
4984
|
-
goog.string.startsWith = goog
|
|
4985
|
-
goog.string.endsWith = goog
|
|
4986
|
-
goog.string.caseInsensitiveStartsWith = goog
|
|
4987
|
-
goog.string.caseInsensitiveEndsWith = goog
|
|
4988
|
-
goog.string.caseInsensitiveEquals = goog
|
|
4991
|
+
goog.string.startsWith = module$contents$goog$string$internal_startsWith;
|
|
4992
|
+
goog.string.endsWith = module$contents$goog$string$internal_endsWith;
|
|
4993
|
+
goog.string.caseInsensitiveStartsWith = module$contents$goog$string$internal_caseInsensitiveStartsWith;
|
|
4994
|
+
goog.string.caseInsensitiveEndsWith = module$contents$goog$string$internal_caseInsensitiveEndsWith;
|
|
4995
|
+
goog.string.caseInsensitiveEquals = module$contents$goog$string$internal_caseInsensitiveEquals;
|
|
4989
4996
|
goog.string.subs = function(str, var_args) {
|
|
4990
4997
|
for (var splitParts = str.split("%s"), returnString = "", subsArguments = Array.prototype.slice.call(arguments, 1); subsArguments.length && splitParts.length > 1;) {
|
|
4991
4998
|
returnString += splitParts.shift() + subsArguments.shift();
|
|
@@ -4995,7 +5002,7 @@ goog.string.subs = function(str, var_args) {
|
|
|
4995
5002
|
goog.string.collapseWhitespace = function(str) {
|
|
4996
5003
|
return str.replace(/[\s\xa0]+/g, " ").replace(/^\s+|\s+$/g, "");
|
|
4997
5004
|
};
|
|
4998
|
-
goog.string.isEmptyOrWhitespace = goog
|
|
5005
|
+
goog.string.isEmptyOrWhitespace = module$contents$goog$string$internal_isEmptyOrWhitespace;
|
|
4999
5006
|
goog.string.isEmptyString = function(str) {
|
|
5000
5007
|
return str.length == 0;
|
|
5001
5008
|
};
|
|
@@ -5037,14 +5044,14 @@ goog.string.normalizeSpaces = function(str) {
|
|
|
5037
5044
|
goog.string.collapseBreakingSpaces = function(str) {
|
|
5038
5045
|
return str.replace(/[\t\r\n ]+/g, " ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g, "");
|
|
5039
5046
|
};
|
|
5040
|
-
goog.string.trim = goog
|
|
5047
|
+
goog.string.trim = module$contents$goog$string$internal_trim;
|
|
5041
5048
|
goog.string.trimLeft = function(str) {
|
|
5042
5049
|
return str.replace(/^[\s\xa0]+/, "");
|
|
5043
5050
|
};
|
|
5044
5051
|
goog.string.trimRight = function(str) {
|
|
5045
5052
|
return str.replace(/[\s\xa0]+$/, "");
|
|
5046
5053
|
};
|
|
5047
|
-
goog.string.caseInsensitiveCompare = goog
|
|
5054
|
+
goog.string.caseInsensitiveCompare = module$contents$goog$string$internal_caseInsensitiveCompare;
|
|
5048
5055
|
goog.string.numberAwareCompare_ = function(str1, str2, tokenizerRegExp) {
|
|
5049
5056
|
if (str1 == str2) {
|
|
5050
5057
|
return 0;
|
|
@@ -5083,9 +5090,9 @@ goog.string.urlEncode = function(str) {
|
|
|
5083
5090
|
goog.string.urlDecode = function(str) {
|
|
5084
5091
|
return decodeURIComponent(str.replace(/\+/g, " "));
|
|
5085
5092
|
};
|
|
5086
|
-
goog.string.newLineToBr = goog
|
|
5093
|
+
goog.string.newLineToBr = module$contents$goog$string$internal_newLineToBr;
|
|
5087
5094
|
goog.string.htmlEscape = function(str, opt_isLikelyToContainHtmlChars) {
|
|
5088
|
-
str = goog
|
|
5095
|
+
str = module$contents$goog$string$internal_htmlEscape(str, opt_isLikelyToContainHtmlChars);
|
|
5089
5096
|
goog.string.DETECT_DOUBLE_ESCAPING && (str = str.replace(goog.string.E_RE_, "e"));
|
|
5090
5097
|
return str;
|
|
5091
5098
|
};
|
|
@@ -5206,8 +5213,8 @@ goog.string.escapeChar = function(c) {
|
|
|
5206
5213
|
}
|
|
5207
5214
|
return goog.string.jsEscapeCache_[c] = rv;
|
|
5208
5215
|
};
|
|
5209
|
-
goog.string.contains = goog
|
|
5210
|
-
goog.string.caseInsensitiveContains = goog
|
|
5216
|
+
goog.string.contains = module$contents$goog$string$internal_contains;
|
|
5217
|
+
goog.string.caseInsensitiveContains = module$contents$goog$string$internal_caseInsensitiveContains;
|
|
5211
5218
|
goog.string.countOf = function(s, ss) {
|
|
5212
5219
|
return s && ss ? s.split(ss).length - 1 : 0;
|
|
5213
5220
|
};
|
|
@@ -5251,7 +5258,7 @@ goog.string.makeSafe = function(obj) {
|
|
|
5251
5258
|
goog.string.getRandomString = function() {
|
|
5252
5259
|
return Math.floor(Math.random() * 2147483648).toString(36) + Math.abs(Math.floor(Math.random() * 2147483648) ^ goog.now()).toString(36);
|
|
5253
5260
|
};
|
|
5254
|
-
goog.string.compareVersions = goog
|
|
5261
|
+
goog.string.compareVersions = module$contents$goog$string$internal_compareVersions;
|
|
5255
5262
|
goog.string.hashCode = function(str) {
|
|
5256
5263
|
for (var result = 0, i = 0; i < str.length; ++i) {
|
|
5257
5264
|
result = 31 * result + str.charCodeAt(i) >>> 0;
|
|
@@ -6253,8 +6260,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6253
6260
|
}
|
|
6254
6261
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6255
6262
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6256
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6257
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6263
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$m125199259$0$ = $jscomp$iter$29.next(); !$jscomp$key$m125199259$0$.done; $jscomp$key$m125199259$0$ = $jscomp$iter$29.next()) {
|
|
6264
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
6258
6265
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6259
6266
|
}
|
|
6260
6267
|
return urlQueryParams;
|
|
@@ -6265,8 +6272,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6265
6272
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6266
6273
|
if (params.headers) {
|
|
6267
6274
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6268
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6269
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6275
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$m125199259$1$ = $jscomp$iter$30.next(); !$jscomp$key$m125199259$1$.done; $jscomp$key$m125199259$1$ = $jscomp$iter$30.next()) {
|
|
6276
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6270
6277
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : key === "Content-Type" && module$contents$eeapiclient$request_params_simpleCorsAllowedContentTypes.includes(value) ? (safeHeaders[key] = value, hasSafeContentType = !0) : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6271
6278
|
}
|
|
6272
6279
|
}
|
|
@@ -6306,9 +6313,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6306
6313
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6307
6314
|
};
|
|
6308
6315
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6309
|
-
var $jscomp$this$
|
|
6316
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6310
6317
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6311
|
-
return $jscomp$this$
|
|
6318
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
6312
6319
|
}));
|
|
6313
6320
|
};
|
|
6314
6321
|
var module$exports$eeapiclient$promise_request_service = {}, module$contents$eeapiclient$promise_request_service_module = module$contents$eeapiclient$promise_request_service_module || {id:"javascript/typescript/contrib/apiclient/request_service/promise_request_service.closure.js"};
|
|
@@ -6536,14 +6543,14 @@ function module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(str) {
|
|
|
6536
6543
|
var data = module$contents$goog$labs$userAgent$util_getUserAgentData();
|
|
6537
6544
|
return data ? data.brands.some(function($jscomp$destructuring$var6) {
|
|
6538
6545
|
var brand;
|
|
6539
|
-
return (brand = $jscomp$destructuring$var6.brand) &&
|
|
6546
|
+
return (brand = $jscomp$destructuring$var6.brand) && module$contents$goog$string$internal_contains(brand, str);
|
|
6540
6547
|
}) : !1;
|
|
6541
6548
|
}
|
|
6542
6549
|
function module$contents$goog$labs$userAgent$util_matchUserAgent(str) {
|
|
6543
|
-
return
|
|
6550
|
+
return module$contents$goog$string$internal_contains(module$contents$goog$labs$userAgent$util_getUserAgent(), str);
|
|
6544
6551
|
}
|
|
6545
6552
|
function module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase(str) {
|
|
6546
|
-
return
|
|
6553
|
+
return module$contents$goog$string$internal_caseInsensitiveContains(module$contents$goog$labs$userAgent$util_getUserAgent(), str);
|
|
6547
6554
|
}
|
|
6548
6555
|
function module$contents$goog$labs$userAgent$util_extractVersionTuples(userAgent) {
|
|
6549
6556
|
for (var versionRegExp = RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?", "g"), data = [], match; match = versionRegExp.exec(userAgent);) {
|
|
@@ -6625,7 +6632,7 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version.prototyp
|
|
|
6625
6632
|
return this.versionString_;
|
|
6626
6633
|
};
|
|
6627
6634
|
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version.prototype.isAtLeast = function(version) {
|
|
6628
|
-
return
|
|
6635
|
+
return module$contents$goog$string$internal_compareVersions(this.versionString_, version) >= 0;
|
|
6629
6636
|
};
|
|
6630
6637
|
var module$exports$goog$labs$userAgent$highEntropy$highEntropyData = {};
|
|
6631
6638
|
module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList = new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue("fullVersionList");
|
|
@@ -6739,7 +6746,7 @@ function module$contents$goog$labs$userAgent$browser_getVersion() {
|
|
|
6739
6746
|
}
|
|
6740
6747
|
goog.labs.userAgent.browser.getVersion = module$contents$goog$labs$userAgent$browser_getVersion;
|
|
6741
6748
|
goog.labs.userAgent.browser.isVersionOrHigher = function(version) {
|
|
6742
|
-
return
|
|
6749
|
+
return module$contents$goog$string$internal_compareVersions(module$contents$goog$labs$userAgent$browser_getVersion(), version) >= 0;
|
|
6743
6750
|
};
|
|
6744
6751
|
function module$contents$goog$labs$userAgent$browser_getIEVersion(userAgent) {
|
|
6745
6752
|
var rv = /rv: *([\d\.]*)/.exec(userAgent);
|
|
@@ -6973,7 +6980,7 @@ goog.labs.userAgent.engine.isPresto = function() {
|
|
|
6973
6980
|
};
|
|
6974
6981
|
goog.labs.userAgent.engine.isTrident = module$contents$goog$labs$userAgent$engine_isTrident;
|
|
6975
6982
|
goog.labs.userAgent.engine.isVersionOrHigher = function(version) {
|
|
6976
|
-
return goog
|
|
6983
|
+
return module$contents$goog$string$internal_compareVersions(module$contents$goog$labs$userAgent$engine_getVersion(), version) >= 0;
|
|
6977
6984
|
};
|
|
6978
6985
|
goog.labs.userAgent.engine.isWebKit = module$contents$goog$labs$userAgent$engine_isWebKit;
|
|
6979
6986
|
goog.labs.userAgent.platform = {};
|
|
@@ -7087,7 +7094,7 @@ goog.labs.userAgent.platform.isKaiOS = module$contents$goog$labs$userAgent$platf
|
|
|
7087
7094
|
goog.labs.userAgent.platform.isLinux = module$contents$goog$labs$userAgent$platform_isLinux;
|
|
7088
7095
|
goog.labs.userAgent.platform.isMacintosh = module$contents$goog$labs$userAgent$platform_isMacintosh;
|
|
7089
7096
|
goog.labs.userAgent.platform.isVersionOrHigher = function(version) {
|
|
7090
|
-
return goog
|
|
7097
|
+
return module$contents$goog$string$internal_compareVersions(module$contents$goog$labs$userAgent$platform_getVersion(), version) >= 0;
|
|
7091
7098
|
};
|
|
7092
7099
|
goog.labs.userAgent.platform.isWindows = module$contents$goog$labs$userAgent$platform_isWindows;
|
|
7093
7100
|
goog.labs.userAgent.platform.version = module$contents$goog$labs$userAgent$platform_version;
|
|
@@ -7205,12 +7212,12 @@ goog.userAgent.getDocumentMode_ = function() {
|
|
|
7205
7212
|
};
|
|
7206
7213
|
goog.userAgent.VERSION = goog.userAgent.determineVersion_();
|
|
7207
7214
|
goog.userAgent.compare = function(v1, v2) {
|
|
7208
|
-
return goog
|
|
7215
|
+
return module$contents$goog$string$internal_compareVersions(v1, v2);
|
|
7209
7216
|
};
|
|
7210
7217
|
goog.userAgent.isVersionOrHigherCache_ = {};
|
|
7211
7218
|
goog.userAgent.isVersionOrHigher = function(version) {
|
|
7212
7219
|
return goog.userAgent.ASSUME_ANY_VERSION || goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_, version, function() {
|
|
7213
|
-
return goog
|
|
7220
|
+
return module$contents$goog$string$internal_compareVersions(goog.userAgent.VERSION, version) >= 0;
|
|
7214
7221
|
});
|
|
7215
7222
|
};
|
|
7216
7223
|
goog.userAgent.isDocumentModeOrHigher = function(documentMode) {
|
|
@@ -7356,25 +7363,25 @@ goog.events.Listener.prototype.markAsRemoved = function() {
|
|
|
7356
7363
|
this.removed = !0;
|
|
7357
7364
|
this.handler = this.src = this.proxy = this.listener = null;
|
|
7358
7365
|
};
|
|
7359
|
-
goog
|
|
7366
|
+
function module$contents$goog$events$ListenerMap_ListenerMap(src) {
|
|
7360
7367
|
this.src = src;
|
|
7361
7368
|
this.listeners = {};
|
|
7362
7369
|
this.typeCount_ = 0;
|
|
7363
|
-
}
|
|
7364
|
-
goog
|
|
7370
|
+
}
|
|
7371
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.getTypeCount = function() {
|
|
7365
7372
|
return this.typeCount_;
|
|
7366
7373
|
};
|
|
7367
|
-
goog
|
|
7374
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.getListenerCount = function() {
|
|
7368
7375
|
var count = 0, type;
|
|
7369
7376
|
for (type in this.listeners) {
|
|
7370
7377
|
count += this.listeners[type].length;
|
|
7371
7378
|
}
|
|
7372
7379
|
return count;
|
|
7373
7380
|
};
|
|
7374
|
-
goog
|
|
7381
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.add = function(type, listener, callOnce, opt_useCapture, opt_listenerScope) {
|
|
7375
7382
|
var typeStr = type.toString(), listenerArray = this.listeners[typeStr];
|
|
7376
7383
|
listenerArray || (listenerArray = this.listeners[typeStr] = [], this.typeCount_++);
|
|
7377
|
-
var index = goog
|
|
7384
|
+
var index = module$contents$goog$events$ListenerMap_ListenerMap.findListenerIndex_(listenerArray, listener, opt_useCapture, opt_listenerScope);
|
|
7378
7385
|
if (index > -1) {
|
|
7379
7386
|
var listenerObj = listenerArray[index];
|
|
7380
7387
|
callOnce || (listenerObj.callOnce = !1);
|
|
@@ -7383,15 +7390,15 @@ goog.events.ListenerMap.prototype.add = function(type, listener, callOnce, opt_u
|
|
|
7383
7390
|
}
|
|
7384
7391
|
return listenerObj;
|
|
7385
7392
|
};
|
|
7386
|
-
goog
|
|
7393
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.remove = function(type, listener, opt_useCapture, opt_listenerScope) {
|
|
7387
7394
|
var typeStr = type.toString();
|
|
7388
7395
|
if (!(typeStr in this.listeners)) {
|
|
7389
7396
|
return !1;
|
|
7390
7397
|
}
|
|
7391
|
-
var listenerArray = this.listeners[typeStr], index = goog
|
|
7398
|
+
var listenerArray = this.listeners[typeStr], index = module$contents$goog$events$ListenerMap_ListenerMap.findListenerIndex_(listenerArray, listener, opt_useCapture, opt_listenerScope);
|
|
7392
7399
|
return index > -1 ? (listenerArray[index].markAsRemoved(), module$contents$goog$array_removeAt(listenerArray, index), listenerArray.length == 0 && (delete this.listeners[typeStr], this.typeCount_--), !0) : !1;
|
|
7393
7400
|
};
|
|
7394
|
-
goog
|
|
7401
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.removeByKey = function(listener) {
|
|
7395
7402
|
var type = listener.type;
|
|
7396
7403
|
if (!(type in this.listeners)) {
|
|
7397
7404
|
return !1;
|
|
@@ -7400,7 +7407,7 @@ goog.events.ListenerMap.prototype.removeByKey = function(listener) {
|
|
|
7400
7407
|
removed && (listener.markAsRemoved(), this.listeners[type].length == 0 && (delete this.listeners[type], this.typeCount_--));
|
|
7401
7408
|
return removed;
|
|
7402
7409
|
};
|
|
7403
|
-
goog
|
|
7410
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.removeAll = function(opt_type) {
|
|
7404
7411
|
var typeStr = opt_type && opt_type.toString(), count = 0, type;
|
|
7405
7412
|
for (type in this.listeners) {
|
|
7406
7413
|
if (!typeStr || type == typeStr) {
|
|
@@ -7413,7 +7420,7 @@ goog.events.ListenerMap.prototype.removeAll = function(opt_type) {
|
|
|
7413
7420
|
}
|
|
7414
7421
|
return count;
|
|
7415
7422
|
};
|
|
7416
|
-
goog
|
|
7423
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.getListeners = function(type, capture) {
|
|
7417
7424
|
var listenerArray = this.listeners[type.toString()], rv = [];
|
|
7418
7425
|
if (listenerArray) {
|
|
7419
7426
|
for (var i = 0; i < listenerArray.length; ++i) {
|
|
@@ -7423,12 +7430,12 @@ goog.events.ListenerMap.prototype.getListeners = function(type, capture) {
|
|
|
7423
7430
|
}
|
|
7424
7431
|
return rv;
|
|
7425
7432
|
};
|
|
7426
|
-
goog
|
|
7433
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.getListener = function(type, listener, capture, opt_listenerScope) {
|
|
7427
7434
|
var listenerArray = this.listeners[type.toString()], i = -1;
|
|
7428
|
-
listenerArray && (i = goog
|
|
7435
|
+
listenerArray && (i = module$contents$goog$events$ListenerMap_ListenerMap.findListenerIndex_(listenerArray, listener, capture, opt_listenerScope));
|
|
7429
7436
|
return i > -1 ? listenerArray[i] : null;
|
|
7430
7437
|
};
|
|
7431
|
-
goog
|
|
7438
|
+
module$contents$goog$events$ListenerMap_ListenerMap.prototype.hasListener = function(opt_type, opt_capture) {
|
|
7432
7439
|
var hasType = opt_type !== void 0, typeStr = hasType ? opt_type.toString() : "", hasCapture = opt_capture !== void 0;
|
|
7433
7440
|
return module$contents$goog$object_some(this.listeners, function(listenerArray, type) {
|
|
7434
7441
|
for (var i = 0; i < listenerArray.length; ++i) {
|
|
@@ -7439,7 +7446,7 @@ goog.events.ListenerMap.prototype.hasListener = function(opt_type, opt_capture)
|
|
|
7439
7446
|
return !1;
|
|
7440
7447
|
});
|
|
7441
7448
|
};
|
|
7442
|
-
goog
|
|
7449
|
+
module$contents$goog$events$ListenerMap_ListenerMap.findListenerIndex_ = function(listenerArray, listener, opt_useCapture, opt_listenerScope) {
|
|
7443
7450
|
for (var i = 0; i < listenerArray.length; ++i) {
|
|
7444
7451
|
var listenerObj = listenerArray[i];
|
|
7445
7452
|
if (!listenerObj.removed && listenerObj.listener == listener && listenerObj.capture == !!opt_useCapture && listenerObj.handler == opt_listenerScope) {
|
|
@@ -7448,6 +7455,7 @@ goog.events.ListenerMap.findListenerIndex_ = function(listenerArray, listener, o
|
|
|
7448
7455
|
}
|
|
7449
7456
|
return -1;
|
|
7450
7457
|
};
|
|
7458
|
+
goog.events.ListenerMap = module$contents$goog$events$ListenerMap_ListenerMap;
|
|
7451
7459
|
goog.events.Key = {};
|
|
7452
7460
|
goog.events.ListenableType = {};
|
|
7453
7461
|
goog.events.LISTENER_MAP_PROP_ = "closure_lm_" + (Math.random() * 1E6 | 0);
|
|
@@ -7473,7 +7481,7 @@ goog.events.listen_ = function(src, type, listener, callOnce, opt_options, opt_h
|
|
|
7473
7481
|
throw Error("Invalid event type");
|
|
7474
7482
|
}
|
|
7475
7483
|
var capture = goog.isObject(opt_options) ? !!opt_options.capture : !!opt_options, listenerMap = goog.events.getListenerMap_(src);
|
|
7476
|
-
listenerMap || (src[goog.events.LISTENER_MAP_PROP_] = listenerMap = new goog
|
|
7484
|
+
listenerMap || (src[goog.events.LISTENER_MAP_PROP_] = listenerMap = new module$contents$goog$events$ListenerMap_ListenerMap(src));
|
|
7477
7485
|
var listenerObj = listenerMap.add(type, listener, callOnce, capture, opt_handler);
|
|
7478
7486
|
if (listenerObj.proxy) {
|
|
7479
7487
|
return listenerObj;
|
|
@@ -7676,7 +7684,7 @@ goog.events.getUniqueId = function(identifier) {
|
|
|
7676
7684
|
};
|
|
7677
7685
|
goog.events.getListenerMap_ = function(src) {
|
|
7678
7686
|
var listenerMap = src[goog.events.LISTENER_MAP_PROP_];
|
|
7679
|
-
return listenerMap instanceof goog
|
|
7687
|
+
return listenerMap instanceof module$contents$goog$events$ListenerMap_ListenerMap ? listenerMap : null;
|
|
7680
7688
|
};
|
|
7681
7689
|
goog.events.LISTENER_WRAPPER_PROP_ = "__closure_events_fn_" + (Math.random() * 1E9 >>> 0);
|
|
7682
7690
|
goog.events.wrapListener = function(listener) {
|
|
@@ -7695,7 +7703,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
7695
7703
|
});
|
|
7696
7704
|
goog.events.EventTarget = function() {
|
|
7697
7705
|
goog.Disposable.call(this);
|
|
7698
|
-
this.eventTargetListeners_ = new goog
|
|
7706
|
+
this.eventTargetListeners_ = new module$contents$goog$events$ListenerMap_ListenerMap(this);
|
|
7699
7707
|
this.actualEventTarget_ = this;
|
|
7700
7708
|
this.parentEventTarget_ = null;
|
|
7701
7709
|
};
|
|
@@ -14723,6 +14731,7 @@ goog.async.nextTick = function(callback, opt_context) {
|
|
|
14723
14731
|
cb = goog.async.nextTick.wrapCallback_(cb);
|
|
14724
14732
|
goog.async.nextTick.USE_SET_TIMEOUT ? setTimeout(cb, 0) : (cb = module$exports$common$async$context$propagate.propagateAsyncContext(cb), goog.DEBUG && typeof goog.global.setImmediate === "function" && goog.async.nextTick.useSetImmediate_() ? goog.global.setImmediate(cb) : (goog.async.nextTick.nextTickImpl || (goog.async.nextTick.nextTickImpl = goog.async.nextTick.getNextTickImpl_()), goog.async.nextTick.nextTickImpl(cb)));
|
|
14725
14733
|
};
|
|
14734
|
+
goog.async.nextTick.propagateAsyncContext_ = module$exports$common$async$context$propagate.propagateAsyncContext;
|
|
14726
14735
|
goog.async.nextTick.USE_SET_TIMEOUT = !1;
|
|
14727
14736
|
goog.async.nextTick.useSetImmediate_ = function() {
|
|
14728
14737
|
return goog.global.Window && goog.global.Window.prototype && goog.global.Window.prototype.setImmediate == goog.global.setImmediate ? !1 : !0;
|
|
@@ -15066,6 +15075,20 @@ goog.Promise.prototype.thenAlways = function(onSettled, opt_context) {
|
|
|
15066
15075
|
this.addCallbackEntry_(entry);
|
|
15067
15076
|
return this;
|
|
15068
15077
|
};
|
|
15078
|
+
goog.Promise.prototype.finally = function(onSettled) {
|
|
15079
|
+
var $jscomp$this$m1061044379$32 = this;
|
|
15080
|
+
goog.Promise.LONG_STACK_TRACES && this.addStackTrace_(Error("finally"));
|
|
15081
|
+
onSettled = module$exports$common$async$context$propagate.propagateAsyncContext(onSettled);
|
|
15082
|
+
return new Promise(function(resolve, reject) {
|
|
15083
|
+
$jscomp$this$m1061044379$32.thenVoid(function(value) {
|
|
15084
|
+
onSettled();
|
|
15085
|
+
resolve(value);
|
|
15086
|
+
}, function(cause) {
|
|
15087
|
+
onSettled();
|
|
15088
|
+
reject(cause);
|
|
15089
|
+
});
|
|
15090
|
+
});
|
|
15091
|
+
};
|
|
15069
15092
|
goog.Promise.prototype.thenCatch = function(onRejected, opt_context) {
|
|
15070
15093
|
goog.Promise.LONG_STACK_TRACES && this.addStackTrace_(Error("thenCatch"));
|
|
15071
15094
|
return this.addChildPromise_(null, module$exports$common$async$context$propagate.propagateAsyncContext(onRejected), opt_context);
|
|
@@ -16036,8 +16059,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16036
16059
|
this.replacements = new Map();
|
|
16037
16060
|
};
|
|
16038
16061
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16039
|
-
var $jscomp$this$
|
|
16040
|
-
return $jscomp$this$
|
|
16062
|
+
var $jscomp$this$1018007701$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
16063
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
16041
16064
|
});
|
|
16042
16065
|
if (openedTags.length !== 0) {
|
|
16043
16066
|
if (goog.DEBUG) {
|
|
@@ -16255,8 +16278,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16255
16278
|
if (Array.isArray(token)) {
|
|
16256
16279
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16257
16280
|
} else {
|
|
16258
|
-
var $jscomp$optchain$
|
|
16259
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16281
|
+
var $jscomp$optchain$tmpm282935782$0 = void 0;
|
|
16282
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm282935782$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm282935782$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
16260
16283
|
tokens.push(token);
|
|
16261
16284
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16262
16285
|
return tokens;
|
|
@@ -16502,9 +16525,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16502
16525
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16503
16526
|
};
|
|
16504
16527
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16505
|
-
var $jscomp$this$
|
|
16528
|
+
var $jscomp$this$m282935782$26 = this;
|
|
16506
16529
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16507
|
-
return $jscomp$this$
|
|
16530
|
+
return $jscomp$this$m282935782$26.isWhitespace(c);
|
|
16508
16531
|
});
|
|
16509
16532
|
};
|
|
16510
16533
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16611,8 +16634,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16611
16634
|
return null;
|
|
16612
16635
|
}
|
|
16613
16636
|
if (token.lowercaseName === "url") {
|
|
16614
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16615
|
-
if ((($jscomp$optchain$
|
|
16637
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
|
|
16638
|
+
if ((($jscomp$optchain$tmpm1577590584$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1577590584$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16616
16639
|
return null;
|
|
16617
16640
|
}
|
|
16618
16641
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16635,8 +16658,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16635
16658
|
if (!this.allowKeyframes) {
|
|
16636
16659
|
return null;
|
|
16637
16660
|
}
|
|
16638
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16639
|
-
var rule = $jscomp$key$
|
|
16661
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1577590584$1$rule.done; $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next()) {
|
|
16662
|
+
var rule = $jscomp$key$m1577590584$1$rule.value;
|
|
16640
16663
|
if (rule instanceof CSSKeyframeRule) {
|
|
16641
16664
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16642
16665
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16648,8 +16671,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16648
16671
|
if (!this.propertyAllowlist.has(name)) {
|
|
16649
16672
|
return !1;
|
|
16650
16673
|
}
|
|
16651
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16652
|
-
var discarder = $jscomp$key$
|
|
16674
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1577590584$2$discarder.done; $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next()) {
|
|
16675
|
+
var discarder = $jscomp$key$m1577590584$2$discarder.value;
|
|
16653
16676
|
if (discarder(name)) {
|
|
16654
16677
|
return !1;
|
|
16655
16678
|
}
|
|
@@ -16664,8 +16687,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16664
16687
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16665
16688
|
};
|
|
16666
16689
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16667
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16668
|
-
var name = $jscomp$key$
|
|
16690
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1577590584$3$name.done; $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next()) {
|
|
16691
|
+
var name = $jscomp$key$m1577590584$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16669
16692
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16670
16693
|
}
|
|
16671
16694
|
return sanitizedProperties;
|
|
@@ -16679,8 +16702,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16679
16702
|
return selector + " { " + sanitizedProperties + " }";
|
|
16680
16703
|
};
|
|
16681
16704
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16682
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16683
|
-
var rule = $jscomp$key$
|
|
16705
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1577590584$4$rule.done; $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next()) {
|
|
16706
|
+
var rule = $jscomp$key$m1577590584$4$rule.value;
|
|
16684
16707
|
if (rule instanceof CSSStyleRule) {
|
|
16685
16708
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16686
16709
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16841,8 +16864,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16841
16864
|
return fragment;
|
|
16842
16865
|
};
|
|
16843
16866
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16844
|
-
for (var $jscomp$this$
|
|
16845
|
-
return $jscomp$this$
|
|
16867
|
+
for (var $jscomp$this$m1085474118$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
16868
|
+
return $jscomp$this$m1085474118$13.nodeFilter(n);
|
|
16846
16869
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16847
16870
|
var sanitizedNode = void 0;
|
|
16848
16871
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16877,8 +16900,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16877
16900
|
return this.createTextNode(textNode.data);
|
|
16878
16901
|
};
|
|
16879
16902
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16880
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$
|
|
16881
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
16903
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1085474118$34$.done; $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next()) {
|
|
16904
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1085474118$34$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
16882
16905
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16883
16906
|
switch(policy.policyAction) {
|
|
16884
16907
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16910,9 +16933,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16910
16933
|
break;
|
|
16911
16934
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16912
16935
|
if (this.resourceUrlPolicy) {
|
|
16913
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$
|
|
16936
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1085474118$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1085474118$33$part.done; $jscomp$key$m1085474118$33$part =
|
|
16914
16937
|
$jscomp$iter$35.next()) {
|
|
16915
|
-
var part = $jscomp$key$
|
|
16938
|
+
var part = $jscomp$key$m1085474118$33$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
16916
16939
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16917
16940
|
}
|
|
16918
16941
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16956,8 +16979,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16956
16979
|
if (!conditions) {
|
|
16957
16980
|
return !0;
|
|
16958
16981
|
}
|
|
16959
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
16960
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16982
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1085474118$35$.done; $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next()) {
|
|
16983
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
16961
16984
|
if (value && !expectedValues.has(value)) {
|
|
16962
16985
|
return !1;
|
|
16963
16986
|
}
|
|
@@ -16972,8 +16995,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
16972
16995
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
16973
16996
|
};
|
|
16974
16997
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16975
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
16976
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16998
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1085474118$36$part.done; $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next()) {
|
|
16999
|
+
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$36$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var34.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var34.next().value;
|
|
16977
17000
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
16978
17001
|
}
|
|
16979
17002
|
return {parts:parts};
|
|
@@ -17030,8 +17053,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17030
17053
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17031
17054
|
};
|
|
17032
17055
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17033
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17034
|
-
var element = $jscomp$key$
|
|
17056
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$435282654$21$element = $jscomp$iter$39.next(); !$jscomp$key$435282654$21$element.done; $jscomp$key$435282654$21$element = $jscomp$iter$39.next()) {
|
|
17057
|
+
var element = $jscomp$key$435282654$21$element.value;
|
|
17035
17058
|
element = element.toUpperCase();
|
|
17036
17059
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17037
17060
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17049,8 +17072,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17049
17072
|
throw Error("Element: " + element + " is not a custom element");
|
|
17050
17073
|
}
|
|
17051
17074
|
if (allowedAttributes) {
|
|
17052
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17053
|
-
elementPolicy.set($jscomp$key$
|
|
17075
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$435282654$22$attribute = $jscomp$iter$40.next(); !$jscomp$key$435282654$22$attribute.done; $jscomp$key$435282654$22$attribute = $jscomp$iter$40.next()) {
|
|
17076
|
+
elementPolicy.set($jscomp$key$435282654$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17054
17077
|
}
|
|
17055
17078
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17056
17079
|
} else {
|
|
@@ -17060,15 +17083,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17060
17083
|
return this;
|
|
17061
17084
|
};
|
|
17062
17085
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17063
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17064
|
-
var attribute = $jscomp$key$
|
|
17086
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$435282654$23$attribute = $jscomp$iter$41.next(); !$jscomp$key$435282654$23$attribute.done; $jscomp$key$435282654$23$attribute = $jscomp$iter$41.next()) {
|
|
17087
|
+
var attribute = $jscomp$key$435282654$23$attribute.value;
|
|
17065
17088
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17066
17089
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17067
17090
|
}
|
|
17068
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17069
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17091
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$25$ = $jscomp$iter$43.next(); !$jscomp$key$435282654$25$.done; $jscomp$key$435282654$25$ = $jscomp$iter$43.next()) {
|
|
17092
|
+
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$435282654$25$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var37.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var37.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$24$ = $jscomp$iter$42.next(); !$jscomp$key$435282654$24$.done; $jscomp$key$435282654$24$ =
|
|
17070
17093
|
$jscomp$iter$42.next()) {
|
|
17071
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17094
|
+
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$435282654$24$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var39.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var39.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
17072
17095
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17073
17096
|
}
|
|
17074
17097
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17077,8 +17100,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17077
17100
|
return this;
|
|
17078
17101
|
};
|
|
17079
17102
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
17080
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17081
|
-
var attribute = $jscomp$key$
|
|
17103
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$435282654$26$attribute = $jscomp$iter$44.next(); !$jscomp$key$435282654$26$attribute.done; $jscomp$key$435282654$26$attribute = $jscomp$iter$44.next()) {
|
|
17104
|
+
var attribute = $jscomp$key$435282654$26$attribute.value;
|
|
17082
17105
|
if (attribute.indexOf("data-") !== 0) {
|
|
17083
17106
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17084
17107
|
}
|
|
@@ -17140,7 +17163,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17140
17163
|
return this;
|
|
17141
17164
|
};
|
|
17142
17165
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17143
|
-
var $jscomp$this$
|
|
17166
|
+
var $jscomp$this$435282654$17 = this;
|
|
17144
17167
|
this.extendSanitizerTableForCss();
|
|
17145
17168
|
var propertyDiscarders = [];
|
|
17146
17169
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17150,9 +17173,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17150
17173
|
return /^transition(-|$)/.test(property);
|
|
17151
17174
|
});
|
|
17152
17175
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17153
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
17176
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$17.resourceUrlPolicy, $jscomp$this$435282654$17.animationsAllowed, propertyDiscarders);
|
|
17154
17177
|
}, function(cssText) {
|
|
17155
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
17178
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$17.resourceUrlPolicy, propertyDiscarders);
|
|
17156
17179
|
}, this.resourceUrlPolicy);
|
|
17157
17180
|
};
|
|
17158
17181
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17370,12 +17393,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17370
17393
|
}
|
|
17371
17394
|
try {
|
|
17372
17395
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17373
|
-
} catch ($jscomp$unused$catch$
|
|
17396
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
17374
17397
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17375
17398
|
}
|
|
17376
17399
|
try {
|
|
17377
17400
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17378
|
-
} catch ($jscomp$unused$catch$
|
|
17401
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
17379
17402
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17380
17403
|
}
|
|
17381
17404
|
return !1;
|
|
@@ -18415,6 +18438,18 @@ goog.async.Deferred.prototype.addFinally = function(f, opt_scope) {
|
|
|
18415
18438
|
return result;
|
|
18416
18439
|
}, opt_scope);
|
|
18417
18440
|
};
|
|
18441
|
+
goog.async.Deferred.prototype.finally = function(f) {
|
|
18442
|
+
var $jscomp$this$m1728524513$17 = this;
|
|
18443
|
+
return new Promise(function(resolve, reject) {
|
|
18444
|
+
$jscomp$this$m1728524513$17.addCallbacks(function(v) {
|
|
18445
|
+
f();
|
|
18446
|
+
resolve(v);
|
|
18447
|
+
}, function(err) {
|
|
18448
|
+
f();
|
|
18449
|
+
reject(err);
|
|
18450
|
+
});
|
|
18451
|
+
});
|
|
18452
|
+
};
|
|
18418
18453
|
goog.async.Deferred.prototype.addCallbacks = function(cb, eb, opt_scope) {
|
|
18419
18454
|
goog.asserts.assert(!this.blocking_, "Blocking Deferreds can not be re-used");
|
|
18420
18455
|
var fired = this.hasFired();
|
|
@@ -18845,8 +18880,9 @@ goog.net.XhrLike.prototype.getAllResponseHeaders = function() {
|
|
|
18845
18880
|
};
|
|
18846
18881
|
goog.net.XhrLike.prototype.setTrustToken = function(trustTokenAttribute) {
|
|
18847
18882
|
};
|
|
18848
|
-
goog
|
|
18849
|
-
}
|
|
18883
|
+
function module$contents$goog$net$XmlHttpFactory_XmlHttpFactory() {
|
|
18884
|
+
}
|
|
18885
|
+
goog.net.XmlHttpFactory = module$contents$goog$net$XmlHttpFactory_XmlHttpFactory;
|
|
18850
18886
|
goog.net.XmlHttp = function() {
|
|
18851
18887
|
return goog.net.XmlHttp.factory_.createInstance();
|
|
18852
18888
|
};
|
|
@@ -18856,7 +18892,7 @@ goog.net.XmlHttp.setGlobalFactory = function(factory) {
|
|
|
18856
18892
|
};
|
|
18857
18893
|
goog.net.DefaultXmlHttpFactory = function() {
|
|
18858
18894
|
};
|
|
18859
|
-
goog.inherits(goog.net.DefaultXmlHttpFactory, goog
|
|
18895
|
+
goog.inherits(goog.net.DefaultXmlHttpFactory, module$contents$goog$net$XmlHttpFactory_XmlHttpFactory);
|
|
18860
18896
|
goog.net.DefaultXmlHttpFactory.prototype.createInstance = function() {
|
|
18861
18897
|
return new XMLHttpRequest();
|
|
18862
18898
|
};
|
|
@@ -19218,7 +19254,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19218
19254
|
ee.apiclient = {};
|
|
19219
19255
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19220
19256
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19221
|
-
ee.apiclient.API_CLIENT_VERSION = "1.4.
|
|
19257
|
+
ee.apiclient.API_CLIENT_VERSION = "1.4.6";
|
|
19222
19258
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19223
19259
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19224
19260
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19516,8 +19552,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19516
19552
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19517
19553
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19518
19554
|
method = method || "POST";
|
|
19519
|
-
var headers = {"Content-Type":contentType}, version = "1.4.
|
|
19520
|
-
version === "1.4.
|
|
19555
|
+
var headers = {"Content-Type":contentType}, version = "1.4.6";
|
|
19556
|
+
version === "1.4.6" && (version = "latest");
|
|
19521
19557
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19522
19558
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19523
19559
|
if (authToken != null) {
|
|
@@ -20390,26 +20426,27 @@ ee.rpc_convert.processListImagesParams = function(params) {
|
|
|
20390
20426
|
return params;
|
|
20391
20427
|
};
|
|
20392
20428
|
goog.crypt = {};
|
|
20393
|
-
goog
|
|
20429
|
+
function module$contents$goog$crypt$Hash_Hash() {
|
|
20394
20430
|
this.blockSize = -1;
|
|
20395
|
-
}
|
|
20396
|
-
goog.crypt.
|
|
20397
|
-
|
|
20431
|
+
}
|
|
20432
|
+
goog.crypt.Hash = module$contents$goog$crypt$Hash_Hash;
|
|
20433
|
+
function module$contents$goog$crypt$Md5_Md5() {
|
|
20434
|
+
module$contents$goog$crypt$Hash_Hash.call(this);
|
|
20398
20435
|
this.blockSize = 64;
|
|
20399
20436
|
this.chain_ = Array(4);
|
|
20400
20437
|
this.block_ = Array(this.blockSize);
|
|
20401
20438
|
this.totalLength_ = this.blockLength_ = 0;
|
|
20402
20439
|
this.reset();
|
|
20403
|
-
}
|
|
20404
|
-
goog.inherits(goog
|
|
20405
|
-
goog
|
|
20440
|
+
}
|
|
20441
|
+
goog.inherits(module$contents$goog$crypt$Md5_Md5, module$contents$goog$crypt$Hash_Hash);
|
|
20442
|
+
module$contents$goog$crypt$Md5_Md5.prototype.reset = function() {
|
|
20406
20443
|
this.chain_[0] = 1732584193;
|
|
20407
20444
|
this.chain_[1] = 4023233417;
|
|
20408
20445
|
this.chain_[2] = 2562383102;
|
|
20409
20446
|
this.chain_[3] = 271733878;
|
|
20410
20447
|
this.totalLength_ = this.blockLength_ = 0;
|
|
20411
20448
|
};
|
|
20412
|
-
goog
|
|
20449
|
+
module$contents$goog$crypt$Md5_Md5.prototype.compress_ = function(buf, opt_offset) {
|
|
20413
20450
|
opt_offset || (opt_offset = 0);
|
|
20414
20451
|
var X = Array(16);
|
|
20415
20452
|
if (typeof buf === "string") {
|
|
@@ -20554,7 +20591,7 @@ goog.crypt.Md5.prototype.compress_ = function(buf, opt_offset) {
|
|
|
20554
20591
|
this.chain_[2] = this.chain_[2] + C & 4294967295;
|
|
20555
20592
|
this.chain_[3] = this.chain_[3] + D & 4294967295;
|
|
20556
20593
|
};
|
|
20557
|
-
goog
|
|
20594
|
+
module$contents$goog$crypt$Md5_Md5.prototype.update = function(bytes, opt_length) {
|
|
20558
20595
|
opt_length === void 0 && (opt_length = bytes.length);
|
|
20559
20596
|
for (var lengthMinusBlock = opt_length - this.blockSize, block = this.block_, blockLength = this.blockLength_, i = 0; i < opt_length;) {
|
|
20560
20597
|
if (blockLength == 0) {
|
|
@@ -20583,7 +20620,7 @@ goog.crypt.Md5.prototype.update = function(bytes, opt_length) {
|
|
|
20583
20620
|
this.blockLength_ = blockLength;
|
|
20584
20621
|
this.totalLength_ += opt_length;
|
|
20585
20622
|
};
|
|
20586
|
-
goog
|
|
20623
|
+
module$contents$goog$crypt$Md5_Md5.prototype.digest = function() {
|
|
20587
20624
|
var pad = Array((this.blockLength_ < 56 ? this.blockSize : this.blockSize * 2) - this.blockLength_);
|
|
20588
20625
|
pad[0] = 128;
|
|
20589
20626
|
for (var i = 1; i < pad.length - 8; ++i) {
|
|
@@ -20600,6 +20637,7 @@ goog.crypt.Md5.prototype.digest = function() {
|
|
|
20600
20637
|
}
|
|
20601
20638
|
return digest;
|
|
20602
20639
|
};
|
|
20640
|
+
goog.crypt.Md5 = module$contents$goog$crypt$Md5_Md5;
|
|
20603
20641
|
ee.Serializer = function(opt_isCompound) {
|
|
20604
20642
|
this.HASH_KEY = "__ee_hash__";
|
|
20605
20643
|
this.isCompound_ = opt_isCompound !== !1;
|
|
@@ -20612,7 +20650,7 @@ ee.Serializer = function(opt_isCompound) {
|
|
|
20612
20650
|
};
|
|
20613
20651
|
goog.exportSymbol("ee.Serializer", ee.Serializer);
|
|
20614
20652
|
ee.Serializer.jsonSerializer_ = new goog.json.Serializer();
|
|
20615
|
-
ee.Serializer.hash_ = new goog
|
|
20653
|
+
ee.Serializer.hash_ = new module$contents$goog$crypt$Md5_Md5();
|
|
20616
20654
|
ee.Serializer.encode = function(obj, opt_isCompound) {
|
|
20617
20655
|
return (new ee.Serializer(opt_isCompound !== void 0 ? opt_isCompound : !0)).encode_(obj);
|
|
20618
20656
|
};
|
|
@@ -21165,11 +21203,6 @@ goog.singleton.getInstance = function(ctor) {
|
|
|
21165
21203
|
};
|
|
21166
21204
|
goog.singleton.instantiatedSingletons = module$contents$goog$singleton_instantiatedSingletons;
|
|
21167
21205
|
ee.data = {};
|
|
21168
|
-
ee.data.ClassifierTaskConfig = {};
|
|
21169
|
-
ee.data.ImageTaskConfig = {};
|
|
21170
|
-
ee.data.MapTaskConfig = {};
|
|
21171
|
-
ee.data.TableTaskConfig = {};
|
|
21172
|
-
ee.data.VideoTaskConfig = {};
|
|
21173
21206
|
ee.data.authenticateViaOauth = function(clientId, success, opt_error, opt_extraScopes, opt_onImmediateFailed, opt_suppressDefaultScopes) {
|
|
21174
21207
|
var scopes = module$contents$ee$apiclient_apiclient.mergeAuthScopes_(!opt_suppressDefaultScopes, !1, opt_extraScopes || []);
|
|
21175
21208
|
module$contents$ee$apiclient_apiclient.setAuthClient(clientId, scopes);
|
|
@@ -25000,97 +25033,97 @@ goog.dom.vendor.getPrefixedPropertyName = function(propertyName, opt_object) {
|
|
|
25000
25033
|
goog.dom.vendor.getPrefixedEventType = function(eventType) {
|
|
25001
25034
|
return ((goog.dom.vendor.getVendorJsPrefix() || "") + eventType).toLowerCase();
|
|
25002
25035
|
};
|
|
25003
|
-
goog
|
|
25036
|
+
function module$contents$goog$math$Box_Box(top, right, bottom, left) {
|
|
25004
25037
|
this.top = top;
|
|
25005
25038
|
this.right = right;
|
|
25006
25039
|
this.bottom = bottom;
|
|
25007
25040
|
this.left = left;
|
|
25008
|
-
}
|
|
25009
|
-
goog
|
|
25010
|
-
for (var box = new goog
|
|
25041
|
+
}
|
|
25042
|
+
module$contents$goog$math$Box_Box.boundingBox = function(var_args) {
|
|
25043
|
+
for (var box = new module$contents$goog$math$Box_Box(arguments[0].y, arguments[0].x, arguments[0].y, arguments[0].x), i = 1; i < arguments.length; i++) {
|
|
25011
25044
|
box.expandToIncludeCoordinate(arguments[i]);
|
|
25012
25045
|
}
|
|
25013
25046
|
return box;
|
|
25014
25047
|
};
|
|
25015
|
-
goog
|
|
25048
|
+
module$contents$goog$math$Box_Box.prototype.getWidth = function() {
|
|
25016
25049
|
return this.right - this.left;
|
|
25017
25050
|
};
|
|
25018
|
-
goog
|
|
25051
|
+
module$contents$goog$math$Box_Box.prototype.getHeight = function() {
|
|
25019
25052
|
return this.bottom - this.top;
|
|
25020
25053
|
};
|
|
25021
|
-
goog
|
|
25022
|
-
return new goog
|
|
25054
|
+
module$contents$goog$math$Box_Box.prototype.clone = function() {
|
|
25055
|
+
return new module$contents$goog$math$Box_Box(this.top, this.right, this.bottom, this.left);
|
|
25023
25056
|
};
|
|
25024
|
-
goog.DEBUG && (goog
|
|
25057
|
+
goog.DEBUG && (module$contents$goog$math$Box_Box.prototype.toString = function() {
|
|
25025
25058
|
return "(" + this.top + "t, " + this.right + "r, " + this.bottom + "b, " + this.left + "l)";
|
|
25026
25059
|
});
|
|
25027
|
-
goog
|
|
25028
|
-
return goog
|
|
25060
|
+
module$contents$goog$math$Box_Box.prototype.contains = function(other) {
|
|
25061
|
+
return module$contents$goog$math$Box_Box.contains(this, other);
|
|
25029
25062
|
};
|
|
25030
|
-
goog
|
|
25063
|
+
module$contents$goog$math$Box_Box.prototype.expand = function(top, opt_right, opt_bottom, opt_left) {
|
|
25031
25064
|
goog.isObject(top) ? (this.top -= top.top, this.right += top.right, this.bottom += top.bottom, this.left -= top.left) : (this.top -= top, this.right += Number(opt_right), this.bottom += Number(opt_bottom), this.left -= Number(opt_left));
|
|
25032
25065
|
return this;
|
|
25033
25066
|
};
|
|
25034
|
-
goog
|
|
25067
|
+
module$contents$goog$math$Box_Box.prototype.expandToInclude = function(box) {
|
|
25035
25068
|
this.left = Math.min(this.left, box.left);
|
|
25036
25069
|
this.top = Math.min(this.top, box.top);
|
|
25037
25070
|
this.right = Math.max(this.right, box.right);
|
|
25038
25071
|
this.bottom = Math.max(this.bottom, box.bottom);
|
|
25039
25072
|
};
|
|
25040
|
-
goog
|
|
25073
|
+
module$contents$goog$math$Box_Box.prototype.expandToIncludeCoordinate = function(coord) {
|
|
25041
25074
|
this.top = Math.min(this.top, coord.y);
|
|
25042
25075
|
this.right = Math.max(this.right, coord.x);
|
|
25043
25076
|
this.bottom = Math.max(this.bottom, coord.y);
|
|
25044
25077
|
this.left = Math.min(this.left, coord.x);
|
|
25045
25078
|
};
|
|
25046
|
-
goog
|
|
25079
|
+
module$contents$goog$math$Box_Box.equals = function(a, b) {
|
|
25047
25080
|
return a == b ? !0 : a && b ? a.top == b.top && a.right == b.right && a.bottom == b.bottom && a.left == b.left : !1;
|
|
25048
25081
|
};
|
|
25049
|
-
goog
|
|
25050
|
-
return box && other ? other instanceof goog
|
|
25082
|
+
module$contents$goog$math$Box_Box.contains = function(box, other) {
|
|
25083
|
+
return box && other ? other instanceof module$contents$goog$math$Box_Box ? other.left >= box.left && other.right <= box.right && other.top >= box.top && other.bottom <= box.bottom : other.x >= box.left && other.x <= box.right && other.y >= box.top && other.y <= box.bottom : !1;
|
|
25051
25084
|
};
|
|
25052
|
-
goog
|
|
25085
|
+
module$contents$goog$math$Box_Box.relativePositionX = function(box, coord) {
|
|
25053
25086
|
return coord.x < box.left ? coord.x - box.left : coord.x > box.right ? coord.x - box.right : 0;
|
|
25054
25087
|
};
|
|
25055
|
-
goog
|
|
25088
|
+
module$contents$goog$math$Box_Box.relativePositionY = function(box, coord) {
|
|
25056
25089
|
return coord.y < box.top ? coord.y - box.top : coord.y > box.bottom ? coord.y - box.bottom : 0;
|
|
25057
25090
|
};
|
|
25058
|
-
goog
|
|
25059
|
-
var x = goog
|
|
25091
|
+
module$contents$goog$math$Box_Box.distance = function(box, coord) {
|
|
25092
|
+
var x = module$contents$goog$math$Box_Box.relativePositionX(box, coord), y = module$contents$goog$math$Box_Box.relativePositionY(box, coord);
|
|
25060
25093
|
return Math.sqrt(x * x + y * y);
|
|
25061
25094
|
};
|
|
25062
|
-
goog
|
|
25095
|
+
module$contents$goog$math$Box_Box.intersects = function(a, b) {
|
|
25063
25096
|
return a.left <= b.right && b.left <= a.right && a.top <= b.bottom && b.top <= a.bottom;
|
|
25064
25097
|
};
|
|
25065
|
-
goog
|
|
25098
|
+
module$contents$goog$math$Box_Box.intersectsWithPadding = function(a, b, padding) {
|
|
25066
25099
|
return a.left <= b.right + padding && b.left <= a.right + padding && a.top <= b.bottom + padding && b.top <= a.bottom + padding;
|
|
25067
25100
|
};
|
|
25068
|
-
goog
|
|
25101
|
+
module$contents$goog$math$Box_Box.prototype.ceil = function() {
|
|
25069
25102
|
this.top = Math.ceil(this.top);
|
|
25070
25103
|
this.right = Math.ceil(this.right);
|
|
25071
25104
|
this.bottom = Math.ceil(this.bottom);
|
|
25072
25105
|
this.left = Math.ceil(this.left);
|
|
25073
25106
|
return this;
|
|
25074
25107
|
};
|
|
25075
|
-
goog
|
|
25108
|
+
module$contents$goog$math$Box_Box.prototype.floor = function() {
|
|
25076
25109
|
this.top = Math.floor(this.top);
|
|
25077
25110
|
this.right = Math.floor(this.right);
|
|
25078
25111
|
this.bottom = Math.floor(this.bottom);
|
|
25079
25112
|
this.left = Math.floor(this.left);
|
|
25080
25113
|
return this;
|
|
25081
25114
|
};
|
|
25082
|
-
goog
|
|
25115
|
+
module$contents$goog$math$Box_Box.prototype.round = function() {
|
|
25083
25116
|
this.top = Math.round(this.top);
|
|
25084
25117
|
this.right = Math.round(this.right);
|
|
25085
25118
|
this.bottom = Math.round(this.bottom);
|
|
25086
25119
|
this.left = Math.round(this.left);
|
|
25087
25120
|
return this;
|
|
25088
25121
|
};
|
|
25089
|
-
goog
|
|
25122
|
+
module$contents$goog$math$Box_Box.prototype.translate = function(tx, opt_ty) {
|
|
25090
25123
|
tx instanceof goog.math.Coordinate ? (this.left += tx.x, this.right += tx.x, this.top += tx.y, this.bottom += tx.y) : (goog.asserts.assertNumber(tx), this.left += tx, this.right += tx, typeof opt_ty === "number" && (this.top += opt_ty, this.bottom += opt_ty));
|
|
25091
25124
|
return this;
|
|
25092
25125
|
};
|
|
25093
|
-
goog
|
|
25126
|
+
module$contents$goog$math$Box_Box.prototype.scale = function(sx, opt_sy) {
|
|
25094
25127
|
var sy = typeof opt_sy === "number" ? opt_sy : sx;
|
|
25095
25128
|
this.left *= sx;
|
|
25096
25129
|
this.right *= sx;
|
|
@@ -25098,6 +25131,7 @@ goog.math.Box.prototype.scale = function(sx, opt_sy) {
|
|
|
25098
25131
|
this.bottom *= sy;
|
|
25099
25132
|
return this;
|
|
25100
25133
|
};
|
|
25134
|
+
goog.math.Box = module$contents$goog$math$Box_Box;
|
|
25101
25135
|
goog.math.IRect = function() {
|
|
25102
25136
|
};
|
|
25103
25137
|
goog.math.Rect = function(x, y, w, h) {
|
|
@@ -25110,7 +25144,7 @@ goog.math.Rect.prototype.clone = function() {
|
|
|
25110
25144
|
return new goog.math.Rect(this.left, this.top, this.width, this.height);
|
|
25111
25145
|
};
|
|
25112
25146
|
goog.math.Rect.prototype.toBox = function() {
|
|
25113
|
-
return new goog
|
|
25147
|
+
return new module$contents$goog$math$Box_Box(this.top, this.left + this.width, this.top + this.height, this.left);
|
|
25114
25148
|
};
|
|
25115
25149
|
goog.math.Rect.createFromPositionAndSize = function(position, size) {
|
|
25116
25150
|
return new goog.math.Rect(position.x, position.y, size.width, size.height);
|
|
@@ -25357,7 +25391,7 @@ goog.style.getOffsetParent = function(element) {
|
|
|
25357
25391
|
return null;
|
|
25358
25392
|
};
|
|
25359
25393
|
goog.style.getVisibleRectForElement = function(element) {
|
|
25360
|
-
for (var visibleRect = new goog
|
|
25394
|
+
for (var visibleRect = new module$contents$goog$math$Box_Box(0, Infinity, Infinity, 0), dom = goog.dom.getDomHelper(element), body = dom.getDocument().body, documentElement = dom.getDocument().documentElement, scrollEl = dom.getDocumentScrollElement(), el = element; el = goog.style.getOffsetParent(el);) {
|
|
25361
25395
|
if ((!goog.userAgent.WEBKIT || el.clientHeight != 0 || el != body) && el != body && el != documentElement && goog.style.getStyle_(el, "overflow") != "visible") {
|
|
25362
25396
|
var pos = goog.style.getPageOffset(el), client = goog.style.getClientLeftTop(el);
|
|
25363
25397
|
pos.x += client.x;
|
|
@@ -25643,7 +25677,7 @@ goog.style.getIePixelDistance_ = function(element, propName) {
|
|
|
25643
25677
|
};
|
|
25644
25678
|
goog.style.getBox_ = function(element, stylePrefix) {
|
|
25645
25679
|
var left = goog.style.getComputedStyle(element, stylePrefix + "Left"), right = goog.style.getComputedStyle(element, stylePrefix + "Right"), top = goog.style.getComputedStyle(element, stylePrefix + "Top"), bottom = goog.style.getComputedStyle(element, stylePrefix + "Bottom");
|
|
25646
|
-
return new goog
|
|
25680
|
+
return new module$contents$goog$math$Box_Box(parseFloat(top), parseFloat(right), parseFloat(bottom), parseFloat(left));
|
|
25647
25681
|
};
|
|
25648
25682
|
goog.style.getPaddingBox = function(element) {
|
|
25649
25683
|
return goog.style.getBox_(element, "padding");
|
|
@@ -25661,7 +25695,7 @@ goog.style.getIePixelBorder_ = function(element, prop) {
|
|
|
25661
25695
|
};
|
|
25662
25696
|
goog.style.getBorderBox = function(element) {
|
|
25663
25697
|
var left = goog.style.getComputedStyle(element, "borderLeftWidth"), right = goog.style.getComputedStyle(element, "borderRightWidth"), top = goog.style.getComputedStyle(element, "borderTopWidth"), bottom = goog.style.getComputedStyle(element, "borderBottomWidth");
|
|
25664
|
-
return new goog
|
|
25698
|
+
return new module$contents$goog$math$Box_Box(parseFloat(top), parseFloat(right), parseFloat(bottom), parseFloat(left));
|
|
25665
25699
|
};
|
|
25666
25700
|
goog.style.getFontFamily = function(el) {
|
|
25667
25701
|
var doc = goog.dom.getOwnerDocument(el), font = "";
|
|
@@ -26206,41 +26240,41 @@ module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource.BASE_URL
|
|
|
26206
26240
|
module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource.MISSING_TILE_ERROR_ = "The specified key does not exist.";
|
|
26207
26241
|
module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource.ACCESS_DENIED_ERROR_ = "AccessDenied";
|
|
26208
26242
|
ee.layers.CloudStorageTileSource = module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource;
|
|
26209
|
-
goog
|
|
26243
|
+
function module$contents$goog$structs$Queue_Queue() {
|
|
26210
26244
|
this.front_ = [];
|
|
26211
26245
|
this.back_ = [];
|
|
26212
|
-
}
|
|
26213
|
-
goog
|
|
26246
|
+
}
|
|
26247
|
+
module$contents$goog$structs$Queue_Queue.prototype.maybeFlip_ = function() {
|
|
26214
26248
|
this.front_.length === 0 && (this.front_ = this.back_, this.front_.reverse(), this.back_ = []);
|
|
26215
26249
|
};
|
|
26216
|
-
goog
|
|
26250
|
+
module$contents$goog$structs$Queue_Queue.prototype.enqueue = function(element) {
|
|
26217
26251
|
this.back_.push(element);
|
|
26218
26252
|
};
|
|
26219
|
-
goog
|
|
26253
|
+
module$contents$goog$structs$Queue_Queue.prototype.dequeue = function() {
|
|
26220
26254
|
this.maybeFlip_();
|
|
26221
26255
|
return this.front_.pop();
|
|
26222
26256
|
};
|
|
26223
|
-
goog
|
|
26257
|
+
module$contents$goog$structs$Queue_Queue.prototype.peek = function() {
|
|
26224
26258
|
this.maybeFlip_();
|
|
26225
26259
|
return module$contents$goog$array_peek(this.front_);
|
|
26226
26260
|
};
|
|
26227
|
-
goog
|
|
26261
|
+
module$contents$goog$structs$Queue_Queue.prototype.getCount = function() {
|
|
26228
26262
|
return this.front_.length + this.back_.length;
|
|
26229
26263
|
};
|
|
26230
|
-
goog
|
|
26264
|
+
module$contents$goog$structs$Queue_Queue.prototype.isEmpty = function() {
|
|
26231
26265
|
return this.front_.length === 0 && this.back_.length === 0;
|
|
26232
26266
|
};
|
|
26233
|
-
goog
|
|
26267
|
+
module$contents$goog$structs$Queue_Queue.prototype.clear = function() {
|
|
26234
26268
|
this.front_ = [];
|
|
26235
26269
|
this.back_ = [];
|
|
26236
26270
|
};
|
|
26237
|
-
goog
|
|
26271
|
+
module$contents$goog$structs$Queue_Queue.prototype.contains = function(obj) {
|
|
26238
26272
|
return module$contents$goog$array_contains(this.front_, obj) || module$contents$goog$array_contains(this.back_, obj);
|
|
26239
26273
|
};
|
|
26240
|
-
goog
|
|
26274
|
+
module$contents$goog$structs$Queue_Queue.prototype.remove = function(obj) {
|
|
26241
26275
|
return module$contents$goog$array_removeLast(this.front_, obj) || module$contents$goog$array_remove(this.back_, obj);
|
|
26242
26276
|
};
|
|
26243
|
-
goog
|
|
26277
|
+
module$contents$goog$structs$Queue_Queue.prototype.getValues = function() {
|
|
26244
26278
|
for (var res = [], i = this.front_.length - 1; i >= 0; --i) {
|
|
26245
26279
|
res.push(this.front_[i]);
|
|
26246
26280
|
}
|
|
@@ -26249,6 +26283,7 @@ goog.structs.Queue.prototype.getValues = function() {
|
|
|
26249
26283
|
}
|
|
26250
26284
|
return res;
|
|
26251
26285
|
};
|
|
26286
|
+
goog.structs.Queue = module$contents$goog$structs$Queue_Queue;
|
|
26252
26287
|
goog.structs.Pool = function(opt_minCount, opt_maxCount) {
|
|
26253
26288
|
goog.Disposable.call(this);
|
|
26254
26289
|
this.minCount_ = opt_minCount || 0;
|
|
@@ -26256,7 +26291,7 @@ goog.structs.Pool = function(opt_minCount, opt_maxCount) {
|
|
|
26256
26291
|
if (this.minCount_ > this.maxCount_) {
|
|
26257
26292
|
throw Error(goog.structs.Pool.ERROR_MIN_MAX_);
|
|
26258
26293
|
}
|
|
26259
|
-
this.freeQueue_ = new goog
|
|
26294
|
+
this.freeQueue_ = new module$contents$goog$structs$Queue_Queue();
|
|
26260
26295
|
this.inUseSet_ = new goog.structs.Set();
|
|
26261
26296
|
this.delay = 0;
|
|
26262
26297
|
this.lastAccess = null;
|
|
@@ -26353,26 +26388,27 @@ goog.structs.Pool.prototype.disposeInternal = function() {
|
|
|
26353
26388
|
}
|
|
26354
26389
|
delete this.freeQueue_;
|
|
26355
26390
|
};
|
|
26356
|
-
goog
|
|
26391
|
+
function module$contents$goog$structs$Node_Node(key, value) {
|
|
26357
26392
|
this.key_ = key;
|
|
26358
26393
|
this.value_ = value;
|
|
26359
|
-
}
|
|
26360
|
-
goog
|
|
26394
|
+
}
|
|
26395
|
+
module$contents$goog$structs$Node_Node.prototype.getKey = function() {
|
|
26361
26396
|
return this.key_;
|
|
26362
26397
|
};
|
|
26363
|
-
goog
|
|
26398
|
+
module$contents$goog$structs$Node_Node.prototype.getValue = function() {
|
|
26364
26399
|
return this.value_;
|
|
26365
26400
|
};
|
|
26366
|
-
goog
|
|
26367
|
-
return new goog
|
|
26401
|
+
module$contents$goog$structs$Node_Node.prototype.clone = function() {
|
|
26402
|
+
return new module$contents$goog$structs$Node_Node(this.key_, this.value_);
|
|
26368
26403
|
};
|
|
26404
|
+
goog.structs.Node = module$contents$goog$structs$Node_Node;
|
|
26369
26405
|
var module$contents$goog$structs$Heap_Heap = function(opt_heap) {
|
|
26370
26406
|
this.nodes_ = [];
|
|
26371
26407
|
opt_heap && this.insertAll(opt_heap);
|
|
26372
26408
|
};
|
|
26373
26409
|
module$contents$goog$structs$Heap_Heap.prototype.insert = function(key, value) {
|
|
26374
|
-
var
|
|
26375
|
-
nodes.push(
|
|
26410
|
+
var nodes = this.nodes_;
|
|
26411
|
+
nodes.push(new module$contents$goog$structs$Node_Node(key, value));
|
|
26376
26412
|
this.moveUp_(nodes.length - 1);
|
|
26377
26413
|
};
|
|
26378
26414
|
module$contents$goog$structs$Heap_Heap.prototype.insertAll = function(heap) {
|
|
@@ -26381,7 +26417,7 @@ module$contents$goog$structs$Heap_Heap.prototype.insertAll = function(heap) {
|
|
|
26381
26417
|
var values = heap.getValues();
|
|
26382
26418
|
if (this.getCount() <= 0) {
|
|
26383
26419
|
for (var nodes = this.nodes_, i = 0; i < keys.length; i++) {
|
|
26384
|
-
nodes.push(new goog
|
|
26420
|
+
nodes.push(new module$contents$goog$structs$Node_Node(keys[i], values[i]));
|
|
26385
26421
|
}
|
|
26386
26422
|
return;
|
|
26387
26423
|
}
|
|
@@ -26484,27 +26520,27 @@ module$contents$goog$structs$PriorityQueue_PriorityQueue.prototype.dequeue = fun
|
|
|
26484
26520
|
return this.remove();
|
|
26485
26521
|
};
|
|
26486
26522
|
goog.structs.PriorityQueue = module$contents$goog$structs$PriorityQueue_PriorityQueue;
|
|
26487
|
-
goog
|
|
26523
|
+
function module$contents$goog$structs$PriorityPool_PriorityPool(opt_minCount, opt_maxCount) {
|
|
26488
26524
|
this.delayTimeout_ = void 0;
|
|
26489
26525
|
this.requestQueue_ = new module$contents$goog$structs$PriorityQueue_PriorityQueue();
|
|
26490
26526
|
goog.structs.Pool.call(this, opt_minCount, opt_maxCount);
|
|
26491
|
-
}
|
|
26492
|
-
goog.inherits(goog
|
|
26493
|
-
goog
|
|
26494
|
-
goog
|
|
26495
|
-
goog
|
|
26527
|
+
}
|
|
26528
|
+
goog.inherits(module$contents$goog$structs$PriorityPool_PriorityPool, goog.structs.Pool);
|
|
26529
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.DEFAULT_PRIORITY_ = 100;
|
|
26530
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.prototype.setDelay = function(delay) {
|
|
26531
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.superClass_.setDelay.call(this, delay);
|
|
26496
26532
|
this.lastAccess != null && (goog.global.clearTimeout(this.delayTimeout_), this.delayTimeout_ = goog.global.setTimeout(goog.bind(this.handleQueueRequests_, this), this.delay + this.lastAccess - Date.now()), this.handleQueueRequests_());
|
|
26497
26533
|
};
|
|
26498
|
-
goog
|
|
26534
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.prototype.getObject = function(opt_callback, opt_priority) {
|
|
26499
26535
|
if (!opt_callback) {
|
|
26500
|
-
var result = goog
|
|
26536
|
+
var result = module$contents$goog$structs$PriorityPool_PriorityPool.superClass_.getObject.call(this);
|
|
26501
26537
|
result && this.delay && (this.delayTimeout_ = goog.global.setTimeout(goog.bind(this.handleQueueRequests_, this), this.delay));
|
|
26502
26538
|
return result;
|
|
26503
26539
|
}
|
|
26504
|
-
this.requestQueue_.enqueue(opt_priority !== void 0 ? opt_priority : goog
|
|
26540
|
+
this.requestQueue_.enqueue(opt_priority !== void 0 ? opt_priority : module$contents$goog$structs$PriorityPool_PriorityPool.DEFAULT_PRIORITY_, opt_callback);
|
|
26505
26541
|
this.handleQueueRequests_();
|
|
26506
26542
|
};
|
|
26507
|
-
goog
|
|
26543
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.prototype.handleQueueRequests_ = function() {
|
|
26508
26544
|
for (var requestQueue = this.requestQueue_; requestQueue.getCount() > 0;) {
|
|
26509
26545
|
var obj = this.getObject();
|
|
26510
26546
|
if (obj) {
|
|
@@ -26514,20 +26550,21 @@ goog.structs.PriorityPool.prototype.handleQueueRequests_ = function() {
|
|
|
26514
26550
|
}
|
|
26515
26551
|
}
|
|
26516
26552
|
};
|
|
26517
|
-
goog
|
|
26518
|
-
goog
|
|
26553
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.prototype.addFreeObject = function(obj) {
|
|
26554
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.superClass_.addFreeObject.call(this, obj);
|
|
26519
26555
|
this.handleQueueRequests_();
|
|
26520
26556
|
};
|
|
26521
|
-
goog
|
|
26522
|
-
goog
|
|
26557
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.prototype.adjustForMinMax = function() {
|
|
26558
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.superClass_.adjustForMinMax.call(this);
|
|
26523
26559
|
this.handleQueueRequests_();
|
|
26524
26560
|
};
|
|
26525
|
-
goog
|
|
26526
|
-
goog
|
|
26561
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.prototype.disposeInternal = function() {
|
|
26562
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.superClass_.disposeInternal.call(this);
|
|
26527
26563
|
goog.global.clearTimeout(this.delayTimeout_);
|
|
26528
26564
|
this.requestQueue_.clear();
|
|
26529
26565
|
this.requestQueue_ = null;
|
|
26530
26566
|
};
|
|
26567
|
+
goog.structs.PriorityPool = module$contents$goog$structs$PriorityPool_PriorityPool;
|
|
26531
26568
|
var module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource = function(mapId, opt_profiler) {
|
|
26532
26569
|
module$exports$ee$layers$AbstractTileSource.call(this);
|
|
26533
26570
|
this.mapId_ = mapId;
|
|
@@ -26573,7 +26610,7 @@ module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.
|
|
|
26573
26610
|
return this.profiler_ && this.profiler_.isEnabled() ? url + "&profiling=1" : url;
|
|
26574
26611
|
};
|
|
26575
26612
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.getGlobalTokenPool_ = function() {
|
|
26576
|
-
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ || (module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ = new goog
|
|
26613
|
+
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ || (module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ = new module$contents$goog$structs$PriorityPool_PriorityPool(0, module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.DEFAULT_TOKEN_COUNT_));
|
|
26577
26614
|
return module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_;
|
|
26578
26615
|
};
|
|
26579
26616
|
goog.exportSymbol("ee.layers.EarthEngineTileSource", module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource);
|
|
@@ -26787,9 +26824,9 @@ ee.MapTileManager.Token_.prototype.isActive = function() {
|
|
|
26787
26824
|
return this.active_;
|
|
26788
26825
|
};
|
|
26789
26826
|
ee.MapTileManager.TokenPool_ = function(opt_minCount, opt_maxCount) {
|
|
26790
|
-
goog
|
|
26827
|
+
module$contents$goog$structs$PriorityPool_PriorityPool.call(this, opt_minCount, opt_maxCount);
|
|
26791
26828
|
};
|
|
26792
|
-
$jscomp.inherits(ee.MapTileManager.TokenPool_, goog
|
|
26829
|
+
$jscomp.inherits(ee.MapTileManager.TokenPool_, module$contents$goog$structs$PriorityPool_PriorityPool);
|
|
26793
26830
|
ee.MapTileManager.TokenPool_.prototype.createObject = function() {
|
|
26794
26831
|
return new ee.MapTileManager.Token_();
|
|
26795
26832
|
};
|
|
@@ -26881,46 +26918,47 @@ goog.exportProperty(ee.MapLayerOverlay.prototype, "addTileCallback", ee.MapLayer
|
|
|
26881
26918
|
goog.exportProperty(ee.MapLayerOverlay.prototype, "getTile", ee.MapLayerOverlay.prototype.getTile);
|
|
26882
26919
|
goog.exportProperty(ee.MapLayerOverlay.prototype, "setOpacity", ee.MapLayerOverlay.prototype.setOpacity);
|
|
26883
26920
|
goog.exportProperty(ee.MapLayerOverlay.prototype, "releaseTile", ee.MapLayerOverlay.prototype.releaseTile);
|
|
26884
|
-
goog
|
|
26921
|
+
function module$contents$goog$async$Delay_Delay(listener, opt_interval, opt_handler) {
|
|
26885
26922
|
goog.Disposable.call(this);
|
|
26886
26923
|
this.listener_ = listener;
|
|
26887
26924
|
this.interval_ = opt_interval || 0;
|
|
26888
26925
|
this.handler_ = opt_handler;
|
|
26889
26926
|
this.callback_ = goog.bind(this.doAction_, this);
|
|
26890
|
-
}
|
|
26891
|
-
goog.inherits(goog
|
|
26892
|
-
goog
|
|
26893
|
-
goog
|
|
26894
|
-
goog
|
|
26927
|
+
}
|
|
26928
|
+
goog.inherits(module$contents$goog$async$Delay_Delay, goog.Disposable);
|
|
26929
|
+
module$contents$goog$async$Delay_Delay.prototype.id_ = 0;
|
|
26930
|
+
module$contents$goog$async$Delay_Delay.prototype.disposeInternal = function() {
|
|
26931
|
+
module$contents$goog$async$Delay_Delay.superClass_.disposeInternal.call(this);
|
|
26895
26932
|
this.stop();
|
|
26896
26933
|
delete this.listener_;
|
|
26897
26934
|
delete this.handler_;
|
|
26898
26935
|
};
|
|
26899
|
-
goog
|
|
26936
|
+
module$contents$goog$async$Delay_Delay.prototype.start = function(opt_interval) {
|
|
26900
26937
|
this.stop();
|
|
26901
26938
|
this.id_ = goog.Timer.callOnce(this.callback_, opt_interval !== void 0 ? opt_interval : this.interval_);
|
|
26902
26939
|
};
|
|
26903
|
-
goog
|
|
26940
|
+
module$contents$goog$async$Delay_Delay.prototype.startIfNotActive = function(opt_interval) {
|
|
26904
26941
|
this.isActive() || this.start(opt_interval);
|
|
26905
26942
|
};
|
|
26906
|
-
goog
|
|
26943
|
+
module$contents$goog$async$Delay_Delay.prototype.stop = function() {
|
|
26907
26944
|
this.isActive() && goog.Timer.clear(this.id_);
|
|
26908
26945
|
this.id_ = 0;
|
|
26909
26946
|
};
|
|
26910
|
-
goog
|
|
26947
|
+
module$contents$goog$async$Delay_Delay.prototype.fire = function() {
|
|
26911
26948
|
this.stop();
|
|
26912
26949
|
this.doAction_();
|
|
26913
26950
|
};
|
|
26914
|
-
goog
|
|
26951
|
+
module$contents$goog$async$Delay_Delay.prototype.fireIfActive = function() {
|
|
26915
26952
|
this.isActive() && this.fire();
|
|
26916
26953
|
};
|
|
26917
|
-
goog
|
|
26954
|
+
module$contents$goog$async$Delay_Delay.prototype.isActive = function() {
|
|
26918
26955
|
return this.id_ != 0;
|
|
26919
26956
|
};
|
|
26920
|
-
goog
|
|
26957
|
+
module$contents$goog$async$Delay_Delay.prototype.doAction_ = function() {
|
|
26921
26958
|
this.id_ = 0;
|
|
26922
26959
|
this.listener_ && this.listener_.call(this.handler_);
|
|
26923
26960
|
};
|
|
26961
|
+
goog.async.Delay = module$contents$goog$async$Delay_Delay;
|
|
26924
26962
|
ee.data.Profiler = function(format) {
|
|
26925
26963
|
goog.events.EventTarget.call(this);
|
|
26926
26964
|
this.format_ = format;
|
|
@@ -26930,7 +26968,7 @@ ee.data.Profiler = function(format) {
|
|
|
26930
26968
|
this.tileProfileIds_ = Object.create(null);
|
|
26931
26969
|
this.showInternal_ = !1;
|
|
26932
26970
|
this.profileError_ = null;
|
|
26933
|
-
this.throttledRefresh_ = new goog
|
|
26971
|
+
this.throttledRefresh_ = new module$contents$goog$async$Delay_Delay(goog.bind(this.refresh_, this), ee.data.Profiler.DELAY_BEFORE_REFRESH_);
|
|
26934
26972
|
this.profileData_ = ee.data.Profiler.getEmptyProfile_(format);
|
|
26935
26973
|
this.MAX_RETRY_COUNT_ = 5;
|
|
26936
26974
|
};
|
|
@@ -27031,29 +27069,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27031
27069
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27032
27070
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27033
27071
|
(function() {
|
|
27034
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.
|
|
27035
|
-
orderedParamLists = [["name", "
|
|
27072
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._call ee.ApiFunction._apply ee.ApiFunction.lookup ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filterDate ee.Collection.prototype.filter ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.data.getVideoThumbId ee.data.getTaskStatus ee.data.updateAsset ee.data.getList ee.data.updateTask ee.data.startIngestion ee.data.getFilmstripThumbId ee.data.startProcessing ee.data.createFolder ee.data.setAssetAcl ee.data.makeThumbUrl ee.data.listAssets ee.data.renameAsset ee.data.authenticateViaOauth ee.data.getTableDownloadId ee.data.getMapId ee.data.getTaskList ee.data.setAssetProperties ee.data.authenticate ee.data.copyAsset ee.data.listBuckets ee.data.getTileUrl ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.listOperations ee.data.getWorkloadTag ee.data.getDownloadId ee.data.cancelOperation ee.data.listImages ee.data.makeDownloadUrl ee.data.getAssetAcl ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.listFeatures ee.data.getAssetRoots ee.data.getAsset ee.data.getOperation ee.data.createAssetHome ee.data.setWorkloadTag ee.data.authenticateViaPrivateKey ee.data.newTaskId ee.data.getInfo ee.data.createAsset ee.data.computeValue ee.data.setDefaultWorkloadTag ee.data.cancelTask ee.data.getThumbId ee.data.resetWorkloadTag ee.Date ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromJSON ee.Dictionary ee.initialize ee.call ee.reset ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection ee.Filter.prototype.not ee.Filter.lt ee.Filter.gt ee.Filter.neq ee.Filter.inList ee.Filter.or ee.Filter.gte ee.Filter.lte ee.Filter.eq ee.Filter ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Filter.and ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry ee.Geometry.Point ee.Geometry.Polygon ee.Geometry.prototype.serialize ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiLineString ee.Geometry.LinearRing ee.Geometry.BBox ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPoint ee.Geometry.MultiPolygon ee.Geometry.Rectangle ee.Geometry.LineString ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.select ee.Image ee.Image.prototype.getThumbURL ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.prototype.expression ee.Image.prototype.clip ee.Image.prototype.rename ee.Image.cat ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.List ee.Number ee.Serializer.encode ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
|
|
27073
|
+
orderedParamLists = [["name", "var_args"], ["name", "namedArgs"], ["name"], "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
27036
27074
|
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
27037
27075
|
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27038
|
-
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "
|
|
27039
|
-
["
|
|
27040
|
-
"
|
|
27041
|
-
|
|
27042
|
-
|
|
27043
|
-
["
|
|
27044
|
-
["
|
|
27045
|
-
|
|
27046
|
-
["
|
|
27047
|
-
[
|
|
27048
|
-
|
|
27049
|
-
|
|
27050
|
-
ee.
|
|
27051
|
-
ee.data.
|
|
27052
|
-
ee.
|
|
27053
|
-
ee.
|
|
27054
|
-
ee.
|
|
27055
|
-
ee.
|
|
27056
|
-
ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27076
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["name", "operator", "value"], ["geometry"], ["algorithm", "opt_dropNulls"],
|
|
27077
|
+
["algorithm", "opt_first"], ["start", "opt_end"], ["filter"], ["func", "var_args"], ["legacy"], ["callback"], ["opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["params", "opt_callback"], ["taskId", "action", "opt_callback"], ["taskId", "request", "opt_callback"], ["params", "opt_callback"], ["taskId", "params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["id"], ["parent",
|
|
27078
|
+
"opt_params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["params", "opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["assetId", "properties", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["project", "opt_callback"], ["id", "x", "y", "z"], ["id"],
|
|
27079
|
+
["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["assetId", "opt_callback"], ["rootId", "opt_callback"], ["opt_limit", "opt_callback"], [], ["params", "opt_callback"], ["operationName", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["id"], ["assetId", "opt_callback"], ["opt_success", "opt_error"], ["params", "opt_callback"], ["asset", "params", "opt_callback"], ["opt_callback"], ["id", "opt_callback"], ["operationName", "opt_callback"], ["requestedId", "opt_callback"],
|
|
27080
|
+
["tag"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["opt_count", "opt_callback"], ["id", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["obj", "opt_callback"], ["tag"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["opt_resetDefault"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
27081
|
+
["func", "var_args"], [], [], [], ["func", "namedArgs"], [], ["var_args"], [], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], [], ["name", "value"], ["name", "value"], ["name", "value"],
|
|
27082
|
+
["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "value"], ["opt_filter"], ["start", "opt_end"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], ["var_args"], ["namedArgs"], ["var_args"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["legacy"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"],
|
|
27083
|
+
["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["west", "south", "east", "north"], [], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["var_args"], ["opt_args"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"],
|
|
27084
|
+
["r", "g", "b"], ["expression", "opt_map"], ["geometry"], ["var_args"], ["var_args"], [], ["params", "opt_callback"], ["args"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["list"], ["number"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27085
|
+
[ee.ApiFunction._call, ee.ApiFunction._apply, ee.ApiFunction.lookup, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.classifier.toAsset,
|
|
27086
|
+
module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.filterDate, ee.Collection.prototype.filter, ee.ComputedObject.prototype.aside,
|
|
27087
|
+
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.data.getVideoThumbId, ee.data.getTaskStatus, ee.data.updateAsset, ee.data.getList, ee.data.updateTask, ee.data.startIngestion, ee.data.getFilmstripThumbId, ee.data.startProcessing, ee.data.createFolder, ee.data.setAssetAcl, ee.data.makeThumbUrl, ee.data.listAssets, ee.data.renameAsset, ee.data.authenticateViaOauth, ee.data.getTableDownloadId, ee.data.getMapId, ee.data.getTaskList,
|
|
27088
|
+
ee.data.setAssetProperties, ee.data.authenticate, ee.data.copyAsset, ee.data.listBuckets, ee.data.getTileUrl, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.startTableIngestion, ee.data.deleteAsset, ee.data.getAssetRootQuota, ee.data.listOperations, ee.data.getWorkloadTag, ee.data.getDownloadId, ee.data.cancelOperation, ee.data.listImages, ee.data.makeDownloadUrl, ee.data.getAssetAcl, ee.data.authenticateViaPopup, ee.data.getFeatureViewTilesKey, ee.data.listFeatures, ee.data.getAssetRoots,
|
|
27089
|
+
ee.data.getAsset, ee.data.getOperation, ee.data.createAssetHome, ee.data.setWorkloadTag, ee.data.authenticateViaPrivateKey, ee.data.newTaskId, ee.data.getInfo, ee.data.createAsset, ee.data.computeValue, ee.data.setDefaultWorkloadTag, ee.data.cancelTask, ee.data.getThumbId, ee.data.resetWorkloadTag, ee.Date, ee.Deserializer.decode, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromJSON, ee.Dictionary, ee.initialize, ee.call, ee.reset, ee.Algorithms, ee.InitState,
|
|
27090
|
+
ee.apply, ee.TILE_SIZE, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.Filter.prototype.not, ee.Filter.lt, ee.Filter.gt, ee.Filter.neq, ee.Filter.inList, ee.Filter.or,
|
|
27091
|
+
ee.Filter.gte, ee.Filter.lte, ee.Filter.eq, ee.Filter, ee.Filter.date, ee.Filter.metadata, ee.Filter.bounds, ee.Filter.and, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry, ee.Geometry.Point, ee.Geometry.Polygon, ee.Geometry.prototype.serialize, ee.Geometry.prototype.toGeoJSON, ee.Geometry.MultiLineString, ee.Geometry.LinearRing, ee.Geometry.BBox, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.MultiPoint, ee.Geometry.MultiPolygon, ee.Geometry.Rectangle, ee.Geometry.LineString,
|
|
27092
|
+
ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.select, ee.Image, ee.Image.prototype.getThumbURL, ee.Image.prototype.getMap, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getThumbId, ee.Image.rgb, ee.Image.prototype.expression, ee.Image.prototype.clip, ee.Image.prototype.rename, ee.Image.cat, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId,
|
|
27093
|
+
ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.linkCollection, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27057
27094
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27058
27095
|
});
|
|
27059
27096
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|