@google/earthengine 1.7.0 → 1.7.3
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 +685 -632
- package/build/ee_api_js.js +249 -249
- package/build/ee_api_js_debug.js +662 -609
- package/build/ee_api_js_npm.js +685 -632
- package/build/main.js +685 -632
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/batch.js +6 -2
- package/src/data.js +3 -0
- package/src/encodable_batch.js +4 -2
package/build/main.js
CHANGED
|
@@ -1346,7 +1346,7 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1346
1346
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1347
1347
|
};
|
|
1348
1348
|
}, "es8", "es3");
|
|
1349
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__disable:!1,
|
|
1349
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__disable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__disable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1,
|
|
1350
1350
|
GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable:!1, GoogFlags__jspb_use_constant_default_pivot__enable:!1, GoogFlags__jspb_write_back_bigint__enable:!1, GoogFlags__optimize_get_ei_from_ved__enable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1,
|
|
1351
1351
|
GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1352
1352
|
/*
|
|
@@ -1354,7 +1354,7 @@ GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
|
1354
1354
|
Copyright The Closure Library Authors.
|
|
1355
1355
|
SPDX-License-Identifier: Apache-2.0
|
|
1356
1356
|
*/
|
|
1357
|
-
var
|
|
1357
|
+
var goog = goog || {};
|
|
1358
1358
|
goog.global = this || self;
|
|
1359
1359
|
goog.exportPath_ = function(name, object, overwriteImplicit, objectToExportTo) {
|
|
1360
1360
|
for (var parts = name.split("."), cur = objectToExportTo || goog.global, part; parts.length && (part = parts.shift());) {
|
|
@@ -3665,7 +3665,8 @@ goog.inherits(module$contents$goog$debug$Error_DebugError, Error);
|
|
|
3665
3665
|
module$contents$goog$debug$Error_DebugError.prototype.name = "CustomError";
|
|
3666
3666
|
goog.debug.Error = module$contents$goog$debug$Error_DebugError;
|
|
3667
3667
|
goog.dom = {};
|
|
3668
|
-
goog
|
|
3668
|
+
var module$contents$goog$dom$NodeType_NodeType = {ELEMENT:1, ATTRIBUTE:2, TEXT:3, CDATA_SECTION:4, ENTITY_REFERENCE:5, ENTITY:6, PROCESSING_INSTRUCTION:7, COMMENT:8, DOCUMENT:9, DOCUMENT_TYPE:10, DOCUMENT_FRAGMENT:11, NOTATION:12};
|
|
3669
|
+
goog.dom.NodeType = module$contents$goog$dom$NodeType_NodeType;
|
|
3669
3670
|
goog.asserts = {};
|
|
3670
3671
|
goog.asserts.ENABLE_ASSERTS = module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS;
|
|
3671
3672
|
function module$contents$goog$asserts_AssertionError(messagePattern, messageArgs) {
|
|
@@ -3735,7 +3736,7 @@ goog.asserts.assertBoolean = function(value, opt_message, var_args) {
|
|
|
3735
3736
|
return value;
|
|
3736
3737
|
};
|
|
3737
3738
|
goog.asserts.assertElement = function(value, opt_message, var_args) {
|
|
3738
|
-
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || goog.isObject(value) && value.nodeType == goog
|
|
3739
|
+
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || goog.isObject(value) && value.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT || module$contents$goog$asserts_doAssertFailure("Expected Element but got %s: %s.", [goog.typeOf(value), value], opt_message, Array.prototype.slice.call(arguments, 2));
|
|
3739
3740
|
return value;
|
|
3740
3741
|
};
|
|
3741
3742
|
goog.asserts.assertInstanceof = function(value, type, opt_message, var_args) {
|
|
@@ -5600,8 +5601,8 @@ goog.structs.every = function(col, f, opt_obj) {
|
|
|
5600
5601
|
};
|
|
5601
5602
|
goog.uri = {};
|
|
5602
5603
|
goog.uri.utils = {};
|
|
5603
|
-
goog
|
|
5604
|
-
goog
|
|
5604
|
+
var module$contents$goog$uri$utils_CharCode = {AMPERSAND:38, EQUAL:61, HASH:35, QUESTION:63};
|
|
5605
|
+
function module$contents$goog$uri$utils_buildFromEncodedParts(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_queryData, opt_fragment) {
|
|
5605
5606
|
var out = "";
|
|
5606
5607
|
opt_scheme && (out += opt_scheme + ":");
|
|
5607
5608
|
opt_domain && (out += "//", opt_userInfo && (out += opt_userInfo + "@"), out += opt_domain, opt_port && (out += ":" + opt_port));
|
|
@@ -5609,90 +5610,48 @@ goog.uri.utils.buildFromEncodedParts = function(opt_scheme, opt_userInfo, opt_do
|
|
|
5609
5610
|
opt_queryData && (out += "?" + opt_queryData);
|
|
5610
5611
|
opt_fragment && (out += "#" + opt_fragment);
|
|
5611
5612
|
return out;
|
|
5612
|
-
}
|
|
5613
|
-
goog
|
|
5614
|
-
goog
|
|
5615
|
-
|
|
5616
|
-
goog.uri.
|
|
5617
|
-
goog.uri.utils.urlPackageSupportLoggingHandler_ = handler;
|
|
5618
|
-
};
|
|
5619
|
-
goog.uri.utils.split = function(uri) {
|
|
5620
|
-
var result = uri.match(goog.uri.utils.splitRe_);
|
|
5621
|
-
goog.uri.utils.urlPackageSupportLoggingHandler_ && ["http", "https", "ws", "wss", "ftp"].indexOf(result[goog.uri.utils.ComponentIndex.SCHEME]) >= 0 && goog.uri.utils.urlPackageSupportLoggingHandler_(uri);
|
|
5613
|
+
}
|
|
5614
|
+
var module$contents$goog$uri$utils_splitRe = RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"), module$contents$goog$uri$utils_ComponentIndex = {SCHEME:1, USER_INFO:2, DOMAIN:3, PORT:4, PATH:5, QUERY_DATA:6, FRAGMENT:7}, module$contents$goog$uri$utils_urlPackageSupportLoggingHandler = null;
|
|
5615
|
+
function module$contents$goog$uri$utils_split(uri) {
|
|
5616
|
+
var result = uri.match(module$contents$goog$uri$utils_splitRe);
|
|
5617
|
+
module$contents$goog$uri$utils_urlPackageSupportLoggingHandler && ["http", "https", "ws", "wss", "ftp"].indexOf(result[module$contents$goog$uri$utils_ComponentIndex.SCHEME]) >= 0 && module$contents$goog$uri$utils_urlPackageSupportLoggingHandler(uri);
|
|
5622
5618
|
return result;
|
|
5623
|
-
}
|
|
5624
|
-
goog
|
|
5619
|
+
}
|
|
5620
|
+
function module$contents$goog$uri$utils_decodeIfPossible(uri, opt_preserveReserved) {
|
|
5625
5621
|
return uri ? opt_preserveReserved ? decodeURI(uri) : decodeURIComponent(uri) : uri;
|
|
5626
|
-
}
|
|
5627
|
-
goog
|
|
5628
|
-
return goog
|
|
5629
|
-
}
|
|
5630
|
-
goog
|
|
5631
|
-
return goog
|
|
5632
|
-
}
|
|
5633
|
-
goog
|
|
5634
|
-
var scheme = goog
|
|
5622
|
+
}
|
|
5623
|
+
function module$contents$goog$uri$utils_getComponentByIndex(componentIndex, uri) {
|
|
5624
|
+
return module$contents$goog$uri$utils_split(uri)[componentIndex] || null;
|
|
5625
|
+
}
|
|
5626
|
+
function module$contents$goog$uri$utils_getScheme(uri) {
|
|
5627
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.SCHEME, uri);
|
|
5628
|
+
}
|
|
5629
|
+
function module$contents$goog$uri$utils_getEffectiveScheme(uri) {
|
|
5630
|
+
var scheme = module$contents$goog$uri$utils_getScheme(uri);
|
|
5635
5631
|
!scheme && goog.global.self && goog.global.self.location && (scheme = goog.global.self.location.protocol.slice(0, -1));
|
|
5636
5632
|
return scheme ? scheme.toLowerCase() : "";
|
|
5637
|
-
}
|
|
5638
|
-
goog
|
|
5639
|
-
return goog
|
|
5640
|
-
}
|
|
5641
|
-
goog
|
|
5642
|
-
return goog
|
|
5643
|
-
}
|
|
5644
|
-
goog
|
|
5645
|
-
return goog
|
|
5646
|
-
}
|
|
5647
|
-
goog
|
|
5648
|
-
return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getDomainEncoded(uri), !0);
|
|
5649
|
-
};
|
|
5650
|
-
goog.uri.utils.getPort = function(uri) {
|
|
5651
|
-
return Number(goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.PORT, uri)) || null;
|
|
5652
|
-
};
|
|
5653
|
-
goog.uri.utils.getPathEncoded = function(uri) {
|
|
5654
|
-
return goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.PATH, uri);
|
|
5655
|
-
};
|
|
5656
|
-
goog.uri.utils.getPath = function(uri) {
|
|
5657
|
-
return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getPathEncoded(uri), !0);
|
|
5658
|
-
};
|
|
5659
|
-
goog.uri.utils.getQueryData = function(uri) {
|
|
5660
|
-
return goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.QUERY_DATA, uri);
|
|
5661
|
-
};
|
|
5662
|
-
goog.uri.utils.getFragmentEncoded = function(uri) {
|
|
5633
|
+
}
|
|
5634
|
+
function module$contents$goog$uri$utils_getUserInfoEncoded(uri) {
|
|
5635
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.USER_INFO, uri);
|
|
5636
|
+
}
|
|
5637
|
+
function module$contents$goog$uri$utils_getDomainEncoded(uri) {
|
|
5638
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.DOMAIN, uri);
|
|
5639
|
+
}
|
|
5640
|
+
function module$contents$goog$uri$utils_getPathEncoded(uri) {
|
|
5641
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.PATH, uri);
|
|
5642
|
+
}
|
|
5643
|
+
function module$contents$goog$uri$utils_getFragmentEncoded(uri) {
|
|
5663
5644
|
var hashIndex = uri.indexOf("#");
|
|
5664
5645
|
return hashIndex < 0 ? null : uri.slice(hashIndex + 1);
|
|
5665
|
-
}
|
|
5666
|
-
goog
|
|
5667
|
-
return goog.uri.utils.removeFragment(uri) + (fragment ? "#" + fragment : "");
|
|
5668
|
-
};
|
|
5669
|
-
goog.uri.utils.getFragment = function(uri) {
|
|
5670
|
-
return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getFragmentEncoded(uri));
|
|
5671
|
-
};
|
|
5672
|
-
goog.uri.utils.getHost = function(uri) {
|
|
5673
|
-
var pieces = goog.uri.utils.split(uri);
|
|
5674
|
-
return goog.uri.utils.buildFromEncodedParts(pieces[goog.uri.utils.ComponentIndex.SCHEME], pieces[goog.uri.utils.ComponentIndex.USER_INFO], pieces[goog.uri.utils.ComponentIndex.DOMAIN], pieces[goog.uri.utils.ComponentIndex.PORT]);
|
|
5675
|
-
};
|
|
5676
|
-
goog.uri.utils.getOrigin = function(uri) {
|
|
5677
|
-
var pieces = goog.uri.utils.split(uri);
|
|
5678
|
-
return goog.uri.utils.buildFromEncodedParts(pieces[goog.uri.utils.ComponentIndex.SCHEME], null, pieces[goog.uri.utils.ComponentIndex.DOMAIN], pieces[goog.uri.utils.ComponentIndex.PORT]);
|
|
5679
|
-
};
|
|
5680
|
-
goog.uri.utils.getPathAndAfter = function(uri) {
|
|
5681
|
-
var pieces = goog.uri.utils.split(uri);
|
|
5682
|
-
return goog.uri.utils.buildFromEncodedParts(null, null, null, null, pieces[goog.uri.utils.ComponentIndex.PATH], pieces[goog.uri.utils.ComponentIndex.QUERY_DATA], pieces[goog.uri.utils.ComponentIndex.FRAGMENT]);
|
|
5683
|
-
};
|
|
5684
|
-
goog.uri.utils.removeFragment = function(uri) {
|
|
5646
|
+
}
|
|
5647
|
+
function module$contents$goog$uri$utils_removeFragment(uri) {
|
|
5685
5648
|
var hashIndex = uri.indexOf("#");
|
|
5686
5649
|
return hashIndex < 0 ? uri : uri.slice(0, hashIndex);
|
|
5687
|
-
}
|
|
5688
|
-
goog
|
|
5689
|
-
var pieces1 = goog.uri.utils.split(uri1), pieces2 = goog.uri.utils.split(uri2);
|
|
5690
|
-
return pieces1[goog.uri.utils.ComponentIndex.DOMAIN] == pieces2[goog.uri.utils.ComponentIndex.DOMAIN] && pieces1[goog.uri.utils.ComponentIndex.SCHEME] == pieces2[goog.uri.utils.ComponentIndex.SCHEME] && pieces1[goog.uri.utils.ComponentIndex.PORT] == pieces2[goog.uri.utils.ComponentIndex.PORT];
|
|
5691
|
-
};
|
|
5692
|
-
goog.uri.utils.assertNoFragmentsOrQueries_ = function(uri) {
|
|
5650
|
+
}
|
|
5651
|
+
function module$contents$goog$uri$utils_assertNoFragmentsOrQueries(uri) {
|
|
5693
5652
|
goog.asserts.assert(uri.indexOf("#") < 0 && uri.indexOf("?") < 0, "goog.uri.utils: Fragment or query identifiers are not supported: [%s]", uri);
|
|
5694
|
-
}
|
|
5695
|
-
goog
|
|
5653
|
+
}
|
|
5654
|
+
function module$contents$goog$uri$utils_parseQueryData(encodedQuery, callback) {
|
|
5696
5655
|
if (encodedQuery) {
|
|
5697
5656
|
for (var pairs = encodedQuery.split("&"), i = 0; i < pairs.length; i++) {
|
|
5698
5657
|
var indexOfEquals = pairs[i].indexOf("="), name = null, value = null;
|
|
@@ -5700,8 +5659,8 @@ goog.uri.utils.parseQueryData = function(encodedQuery, callback) {
|
|
|
5700
5659
|
callback(name, value ? goog.string.urlDecode(value) : "");
|
|
5701
5660
|
}
|
|
5702
5661
|
}
|
|
5703
|
-
}
|
|
5704
|
-
goog
|
|
5662
|
+
}
|
|
5663
|
+
function module$contents$goog$uri$utils_splitQueryData(uri) {
|
|
5705
5664
|
var hashIndex = uri.indexOf("#");
|
|
5706
5665
|
hashIndex < 0 && (hashIndex = uri.length);
|
|
5707
5666
|
var questionIndex = uri.indexOf("?");
|
|
@@ -5712,77 +5671,116 @@ goog.uri.utils.splitQueryData_ = function(uri) {
|
|
|
5712
5671
|
queryData = uri.substring(questionIndex + 1, hashIndex);
|
|
5713
5672
|
}
|
|
5714
5673
|
return [uri.slice(0, questionIndex), queryData, uri.slice(hashIndex)];
|
|
5715
|
-
}
|
|
5716
|
-
goog
|
|
5674
|
+
}
|
|
5675
|
+
function module$contents$goog$uri$utils_joinQueryData(parts) {
|
|
5717
5676
|
return parts[0] + (parts[1] ? "?" + parts[1] : "") + parts[2];
|
|
5718
|
-
}
|
|
5719
|
-
goog
|
|
5677
|
+
}
|
|
5678
|
+
function module$contents$goog$uri$utils_appendQueryData(queryData, newData) {
|
|
5720
5679
|
return newData ? queryData ? queryData + "&" + newData : newData : queryData;
|
|
5721
|
-
}
|
|
5722
|
-
goog
|
|
5680
|
+
}
|
|
5681
|
+
function module$contents$goog$uri$utils_appendQueryDataToUri(uri, queryData) {
|
|
5723
5682
|
if (!queryData) {
|
|
5724
5683
|
return uri;
|
|
5725
5684
|
}
|
|
5726
|
-
var parts = goog
|
|
5727
|
-
parts[1] = goog
|
|
5728
|
-
return goog
|
|
5729
|
-
}
|
|
5730
|
-
goog
|
|
5685
|
+
var parts = module$contents$goog$uri$utils_splitQueryData(uri);
|
|
5686
|
+
parts[1] = module$contents$goog$uri$utils_appendQueryData(parts[1], queryData);
|
|
5687
|
+
return module$contents$goog$uri$utils_joinQueryData(parts);
|
|
5688
|
+
}
|
|
5689
|
+
function module$contents$goog$uri$utils_appendKeyValuePairs(key, value, pairs) {
|
|
5731
5690
|
goog.asserts.assertString(key);
|
|
5732
5691
|
if (Array.isArray(value)) {
|
|
5733
5692
|
goog.asserts.assertArray(value);
|
|
5734
5693
|
for (var j = 0; j < value.length; j++) {
|
|
5735
|
-
goog
|
|
5694
|
+
module$contents$goog$uri$utils_appendKeyValuePairs(key, String(value[j]), pairs);
|
|
5736
5695
|
}
|
|
5737
5696
|
} else {
|
|
5738
5697
|
value != null && pairs.push(key + (value === "" ? "" : "=" + goog.string.urlEncode(value)));
|
|
5739
5698
|
}
|
|
5740
|
-
}
|
|
5741
|
-
goog
|
|
5699
|
+
}
|
|
5700
|
+
function module$contents$goog$uri$utils_buildQueryData(keysAndValues, opt_startIndex) {
|
|
5742
5701
|
goog.asserts.assert(Math.max(keysAndValues.length - (opt_startIndex || 0), 0) % 2 == 0, "goog.uri.utils: Key/value lists must be even in length.");
|
|
5743
5702
|
for (var params = [], i = opt_startIndex || 0; i < keysAndValues.length; i += 2) {
|
|
5744
|
-
goog
|
|
5703
|
+
module$contents$goog$uri$utils_appendKeyValuePairs(keysAndValues[i], keysAndValues[i + 1], params);
|
|
5745
5704
|
}
|
|
5746
5705
|
return params.join("&");
|
|
5747
|
-
}
|
|
5748
|
-
goog
|
|
5706
|
+
}
|
|
5707
|
+
function module$contents$goog$uri$utils_buildQueryDataFromMap(map) {
|
|
5749
5708
|
var params = [], key;
|
|
5750
5709
|
for (key in map) {
|
|
5751
|
-
goog
|
|
5710
|
+
module$contents$goog$uri$utils_appendKeyValuePairs(key, map[key], params);
|
|
5752
5711
|
}
|
|
5753
5712
|
return params.join("&");
|
|
5754
|
-
}
|
|
5755
|
-
goog
|
|
5756
|
-
var queryData = arguments.length == 2 ? goog.uri.utils.buildQueryData(arguments[1], 0) : goog.uri.utils.buildQueryData(arguments, 1);
|
|
5757
|
-
return goog.uri.utils.appendQueryDataToUri_(uri, queryData);
|
|
5758
|
-
};
|
|
5759
|
-
goog.uri.utils.appendParamsFromMap = function(uri, map) {
|
|
5760
|
-
var queryData = goog.uri.utils.buildQueryDataFromMap(map);
|
|
5761
|
-
return goog.uri.utils.appendQueryDataToUri_(uri, queryData);
|
|
5762
|
-
};
|
|
5763
|
-
goog.uri.utils.appendParam = function(uri, key, opt_value) {
|
|
5713
|
+
}
|
|
5714
|
+
function module$contents$goog$uri$utils_appendParam(uri, key, opt_value) {
|
|
5764
5715
|
var value = opt_value != null ? "=" + goog.string.urlEncode(opt_value) : "";
|
|
5765
|
-
return goog
|
|
5766
|
-
}
|
|
5767
|
-
goog
|
|
5716
|
+
return module$contents$goog$uri$utils_appendQueryDataToUri(uri, key + value);
|
|
5717
|
+
}
|
|
5718
|
+
function module$contents$goog$uri$utils_findParam(uri, startIndex, keyEncoded, hashOrEndIndex) {
|
|
5768
5719
|
for (var index = startIndex, keyLength = keyEncoded.length; (index = uri.indexOf(keyEncoded, index)) >= 0 && index < hashOrEndIndex;) {
|
|
5769
5720
|
var precedingChar = uri.charCodeAt(index - 1);
|
|
5770
|
-
if (precedingChar == goog
|
|
5721
|
+
if (precedingChar == module$contents$goog$uri$utils_CharCode.AMPERSAND || precedingChar == module$contents$goog$uri$utils_CharCode.QUESTION) {
|
|
5771
5722
|
var followingChar = uri.charCodeAt(index + keyLength);
|
|
5772
|
-
if (!followingChar || followingChar == goog
|
|
5723
|
+
if (!followingChar || followingChar == module$contents$goog$uri$utils_CharCode.EQUAL || followingChar == module$contents$goog$uri$utils_CharCode.AMPERSAND || followingChar == module$contents$goog$uri$utils_CharCode.HASH) {
|
|
5773
5724
|
return index;
|
|
5774
5725
|
}
|
|
5775
5726
|
}
|
|
5776
5727
|
index += keyLength + 1;
|
|
5777
5728
|
}
|
|
5778
5729
|
return -1;
|
|
5730
|
+
}
|
|
5731
|
+
var module$contents$goog$uri$utils_hashOrEndRe = /#|$/, module$contents$goog$uri$utils_trailingQueryPunctuationRe = /[?&]($|#)/;
|
|
5732
|
+
function module$contents$goog$uri$utils_removeParam(uri, keyEncoded) {
|
|
5733
|
+
for (var hashOrEndIndex = uri.search(module$contents$goog$uri$utils_hashOrEndRe), position = 0, foundIndex, buffer = []; (foundIndex = module$contents$goog$uri$utils_findParam(uri, position, keyEncoded, hashOrEndIndex)) >= 0;) {
|
|
5734
|
+
buffer.push(uri.substring(position, foundIndex)), position = Math.min(uri.indexOf("&", foundIndex) + 1 || hashOrEndIndex, hashOrEndIndex);
|
|
5735
|
+
}
|
|
5736
|
+
buffer.push(uri.slice(position));
|
|
5737
|
+
return buffer.join("").replace(module$contents$goog$uri$utils_trailingQueryPunctuationRe, "$1");
|
|
5738
|
+
}
|
|
5739
|
+
function module$contents$goog$uri$utils_setParam(uri, keyEncoded, value) {
|
|
5740
|
+
return module$contents$goog$uri$utils_appendParam(module$contents$goog$uri$utils_removeParam(uri, keyEncoded), keyEncoded, value);
|
|
5741
|
+
}
|
|
5742
|
+
var module$contents$goog$uri$utils_StandardQueryParam = {RANDOM:"zx"};
|
|
5743
|
+
goog.uri.utils.ComponentIndex = module$contents$goog$uri$utils_ComponentIndex;
|
|
5744
|
+
goog.uri.utils.StandardQueryParam = module$contents$goog$uri$utils_StandardQueryParam;
|
|
5745
|
+
goog.uri.utils.QueryArray = void 0;
|
|
5746
|
+
goog.uri.utils.QueryValue = void 0;
|
|
5747
|
+
goog.uri.utils.appendParam = module$contents$goog$uri$utils_appendParam;
|
|
5748
|
+
goog.uri.utils.appendParams = function(uri, var_args) {
|
|
5749
|
+
var queryData = arguments.length == 2 ? module$contents$goog$uri$utils_buildQueryData(arguments[1], 0) : module$contents$goog$uri$utils_buildQueryData(arguments, 1);
|
|
5750
|
+
return module$contents$goog$uri$utils_appendQueryDataToUri(uri, queryData);
|
|
5779
5751
|
};
|
|
5780
|
-
goog.uri.utils.
|
|
5781
|
-
|
|
5782
|
-
return goog
|
|
5752
|
+
goog.uri.utils.appendParamsFromMap = function(uri, map) {
|
|
5753
|
+
var queryData = module$contents$goog$uri$utils_buildQueryDataFromMap(map);
|
|
5754
|
+
return module$contents$goog$uri$utils_appendQueryDataToUri(uri, queryData);
|
|
5755
|
+
};
|
|
5756
|
+
goog.uri.utils.appendPath = function(baseUri, path) {
|
|
5757
|
+
module$contents$goog$uri$utils_assertNoFragmentsOrQueries(baseUri);
|
|
5758
|
+
goog.string.endsWith(baseUri, "/") && (baseUri = baseUri.slice(0, -1));
|
|
5759
|
+
goog.string.startsWith(path, "/") && (path = path.slice(1));
|
|
5760
|
+
return "" + baseUri + "/" + path;
|
|
5761
|
+
};
|
|
5762
|
+
goog.uri.utils.buildFromEncodedParts = module$contents$goog$uri$utils_buildFromEncodedParts;
|
|
5763
|
+
goog.uri.utils.buildQueryData = module$contents$goog$uri$utils_buildQueryData;
|
|
5764
|
+
goog.uri.utils.buildQueryDataFromMap = module$contents$goog$uri$utils_buildQueryDataFromMap;
|
|
5765
|
+
goog.uri.utils.getDomain = function(uri) {
|
|
5766
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getDomainEncoded(uri), !0);
|
|
5767
|
+
};
|
|
5768
|
+
goog.uri.utils.getDomainEncoded = module$contents$goog$uri$utils_getDomainEncoded;
|
|
5769
|
+
goog.uri.utils.getEffectiveScheme = module$contents$goog$uri$utils_getEffectiveScheme;
|
|
5770
|
+
goog.uri.utils.getFragment = function(uri) {
|
|
5771
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getFragmentEncoded(uri));
|
|
5772
|
+
};
|
|
5773
|
+
goog.uri.utils.getFragmentEncoded = module$contents$goog$uri$utils_getFragmentEncoded;
|
|
5774
|
+
goog.uri.utils.getHost = function(uri) {
|
|
5775
|
+
var pieces = module$contents$goog$uri$utils_split(uri);
|
|
5776
|
+
return module$contents$goog$uri$utils_buildFromEncodedParts(pieces[module$contents$goog$uri$utils_ComponentIndex.SCHEME], pieces[module$contents$goog$uri$utils_ComponentIndex.USER_INFO], pieces[module$contents$goog$uri$utils_ComponentIndex.DOMAIN], pieces[module$contents$goog$uri$utils_ComponentIndex.PORT]);
|
|
5777
|
+
};
|
|
5778
|
+
goog.uri.utils.getOrigin = function(uri) {
|
|
5779
|
+
var pieces = module$contents$goog$uri$utils_split(uri);
|
|
5780
|
+
return module$contents$goog$uri$utils_buildFromEncodedParts(pieces[module$contents$goog$uri$utils_ComponentIndex.SCHEME], null, pieces[module$contents$goog$uri$utils_ComponentIndex.DOMAIN], pieces[module$contents$goog$uri$utils_ComponentIndex.PORT]);
|
|
5783
5781
|
};
|
|
5784
5782
|
goog.uri.utils.getParamValue = function(uri, keyEncoded) {
|
|
5785
|
-
var hashOrEndIndex = uri.search(goog
|
|
5783
|
+
var hashOrEndIndex = uri.search(module$contents$goog$uri$utils_hashOrEndRe), foundIndex = module$contents$goog$uri$utils_findParam(uri, 0, keyEncoded, hashOrEndIndex);
|
|
5786
5784
|
if (foundIndex < 0) {
|
|
5787
5785
|
return null;
|
|
5788
5786
|
}
|
|
@@ -5794,7 +5792,7 @@ goog.uri.utils.getParamValue = function(uri, keyEncoded) {
|
|
|
5794
5792
|
return goog.string.urlDecode(uri.slice(foundIndex, endPosition !== -1 ? endPosition : 0));
|
|
5795
5793
|
};
|
|
5796
5794
|
goog.uri.utils.getParamValues = function(uri, keyEncoded) {
|
|
5797
|
-
for (var hashOrEndIndex = uri.search(goog
|
|
5795
|
+
for (var hashOrEndIndex = uri.search(module$contents$goog$uri$utils_hashOrEndRe), position = 0, foundIndex, result = []; (foundIndex = module$contents$goog$uri$utils_findParam(uri, position, keyEncoded, hashOrEndIndex)) >= 0;) {
|
|
5798
5796
|
position = uri.indexOf("&", foundIndex);
|
|
5799
5797
|
if (position < 0 || position > hashOrEndIndex) {
|
|
5800
5798
|
position = hashOrEndIndex;
|
|
@@ -5804,51 +5802,71 @@ goog.uri.utils.getParamValues = function(uri, keyEncoded) {
|
|
|
5804
5802
|
}
|
|
5805
5803
|
return result;
|
|
5806
5804
|
};
|
|
5807
|
-
goog.uri.utils.
|
|
5808
|
-
goog
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5805
|
+
goog.uri.utils.getPath = function(uri) {
|
|
5806
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getPathEncoded(uri), !0);
|
|
5807
|
+
};
|
|
5808
|
+
goog.uri.utils.getPathAndAfter = function(uri) {
|
|
5809
|
+
var pieces = module$contents$goog$uri$utils_split(uri);
|
|
5810
|
+
return module$contents$goog$uri$utils_buildFromEncodedParts(null, null, null, null, pieces[module$contents$goog$uri$utils_ComponentIndex.PATH], pieces[module$contents$goog$uri$utils_ComponentIndex.QUERY_DATA], pieces[module$contents$goog$uri$utils_ComponentIndex.FRAGMENT]);
|
|
5811
|
+
};
|
|
5812
|
+
goog.uri.utils.getPathEncoded = module$contents$goog$uri$utils_getPathEncoded;
|
|
5813
|
+
goog.uri.utils.getPort = function(uri) {
|
|
5814
|
+
return Number(module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.PORT, uri)) || null;
|
|
5814
5815
|
};
|
|
5815
|
-
goog.uri.utils.
|
|
5816
|
-
return goog
|
|
5816
|
+
goog.uri.utils.getQueryData = function(uri) {
|
|
5817
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.QUERY_DATA, uri);
|
|
5817
5818
|
};
|
|
5819
|
+
goog.uri.utils.getScheme = module$contents$goog$uri$utils_getScheme;
|
|
5820
|
+
goog.uri.utils.getUserInfo = function(uri) {
|
|
5821
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getUserInfoEncoded(uri));
|
|
5822
|
+
};
|
|
5823
|
+
goog.uri.utils.getUserInfoEncoded = module$contents$goog$uri$utils_getUserInfoEncoded;
|
|
5824
|
+
goog.uri.utils.hasParam = function(uri, keyEncoded) {
|
|
5825
|
+
return module$contents$goog$uri$utils_findParam(uri, 0, keyEncoded, uri.search(module$contents$goog$uri$utils_hashOrEndRe)) >= 0;
|
|
5826
|
+
};
|
|
5827
|
+
goog.uri.utils.haveSameDomain = function(uri1, uri2) {
|
|
5828
|
+
var pieces1 = module$contents$goog$uri$utils_split(uri1), pieces2 = module$contents$goog$uri$utils_split(uri2);
|
|
5829
|
+
return pieces1[module$contents$goog$uri$utils_ComponentIndex.DOMAIN] == pieces2[module$contents$goog$uri$utils_ComponentIndex.DOMAIN] && pieces1[module$contents$goog$uri$utils_ComponentIndex.SCHEME] == pieces2[module$contents$goog$uri$utils_ComponentIndex.SCHEME] && pieces1[module$contents$goog$uri$utils_ComponentIndex.PORT] == pieces2[module$contents$goog$uri$utils_ComponentIndex.PORT];
|
|
5830
|
+
};
|
|
5831
|
+
goog.uri.utils.makeUnique = function(uri) {
|
|
5832
|
+
return module$contents$goog$uri$utils_setParam(uri, module$contents$goog$uri$utils_StandardQueryParam.RANDOM, goog.string.getRandomString());
|
|
5833
|
+
};
|
|
5834
|
+
goog.uri.utils.parseQueryData = module$contents$goog$uri$utils_parseQueryData;
|
|
5835
|
+
goog.uri.utils.removeFragment = module$contents$goog$uri$utils_removeFragment;
|
|
5836
|
+
goog.uri.utils.removeParam = module$contents$goog$uri$utils_removeParam;
|
|
5837
|
+
goog.uri.utils.setFragmentEncoded = function(uri, fragment) {
|
|
5838
|
+
return module$contents$goog$uri$utils_removeFragment(uri) + (fragment ? "#" + fragment : "");
|
|
5839
|
+
};
|
|
5840
|
+
goog.uri.utils.setParam = module$contents$goog$uri$utils_setParam;
|
|
5818
5841
|
goog.uri.utils.setParamsFromMap = function(uri, params) {
|
|
5819
|
-
var parts = goog
|
|
5842
|
+
var parts = module$contents$goog$uri$utils_splitQueryData(uri), queryData = parts[1], buffer = [];
|
|
5820
5843
|
queryData && queryData.split("&").forEach(function(pair) {
|
|
5821
5844
|
var indexOfEquals = pair.indexOf("="), name = indexOfEquals >= 0 ? pair.slice(0, indexOfEquals) : pair;
|
|
5822
5845
|
params.hasOwnProperty(name) || buffer.push(pair);
|
|
5823
5846
|
});
|
|
5824
|
-
parts[1] = goog
|
|
5825
|
-
return goog
|
|
5826
|
-
};
|
|
5827
|
-
goog.uri.utils.appendPath = function(baseUri, path) {
|
|
5828
|
-
goog.uri.utils.assertNoFragmentsOrQueries_(baseUri);
|
|
5829
|
-
goog.string.endsWith(baseUri, "/") && (baseUri = baseUri.slice(0, -1));
|
|
5830
|
-
goog.string.startsWith(path, "/") && (path = path.slice(1));
|
|
5831
|
-
return "" + baseUri + "/" + path;
|
|
5847
|
+
parts[1] = module$contents$goog$uri$utils_appendQueryData(buffer.join("&"), module$contents$goog$uri$utils_buildQueryDataFromMap(params));
|
|
5848
|
+
return module$contents$goog$uri$utils_joinQueryData(parts);
|
|
5832
5849
|
};
|
|
5833
5850
|
goog.uri.utils.setPath = function(uri, path) {
|
|
5834
5851
|
goog.string.startsWith(path, "/") || (path = "/" + path);
|
|
5835
|
-
var parts = goog
|
|
5836
|
-
return goog
|
|
5852
|
+
var parts = module$contents$goog$uri$utils_split(uri);
|
|
5853
|
+
return module$contents$goog$uri$utils_buildFromEncodedParts(parts[module$contents$goog$uri$utils_ComponentIndex.SCHEME], parts[module$contents$goog$uri$utils_ComponentIndex.USER_INFO], parts[module$contents$goog$uri$utils_ComponentIndex.DOMAIN], parts[module$contents$goog$uri$utils_ComponentIndex.PORT], path, parts[module$contents$goog$uri$utils_ComponentIndex.QUERY_DATA], parts[module$contents$goog$uri$utils_ComponentIndex.FRAGMENT]);
|
|
5837
5854
|
};
|
|
5838
|
-
goog.uri.utils.
|
|
5839
|
-
goog
|
|
5840
|
-
return goog.uri.utils.setParam(uri, goog.uri.utils.StandardQueryParam.RANDOM, goog.string.getRandomString());
|
|
5855
|
+
goog.uri.utils.setUrlPackageSupportLoggingHandler = function(handler) {
|
|
5856
|
+
module$contents$goog$uri$utils_urlPackageSupportLoggingHandler = handler;
|
|
5841
5857
|
};
|
|
5858
|
+
goog.uri.utils.split = module$contents$goog$uri$utils_split;
|
|
5842
5859
|
goog.Uri = function(opt_uri, opt_ignoreCase) {
|
|
5843
5860
|
this.domain_ = this.userInfo_ = this.scheme_ = "";
|
|
5844
5861
|
this.port_ = null;
|
|
5845
5862
|
this.fragment_ = this.path_ = "";
|
|
5846
5863
|
this.ignoreCase_ = this.isReadOnly_ = !1;
|
|
5847
5864
|
var m;
|
|
5848
|
-
opt_uri instanceof goog.Uri ? (this.ignoreCase_ = opt_ignoreCase !== void 0 ? opt_ignoreCase : opt_uri.getIgnoreCase(), this.setScheme(opt_uri.getScheme()), this.setUserInfo(opt_uri.getUserInfo()), this.setDomain(opt_uri.getDomain()), this.setPort(opt_uri.getPort()), this.setPath(opt_uri.getPath()), this.setQueryData(opt_uri.getQueryData().clone()), this.setFragment(opt_uri.getFragment())) : opt_uri && (m = goog
|
|
5849
|
-
"", !0), this.setUserInfo(m[goog
|
|
5865
|
+
opt_uri instanceof goog.Uri ? (this.ignoreCase_ = opt_ignoreCase !== void 0 ? opt_ignoreCase : opt_uri.getIgnoreCase(), this.setScheme(opt_uri.getScheme()), this.setUserInfo(opt_uri.getUserInfo()), this.setDomain(opt_uri.getDomain()), this.setPort(opt_uri.getPort()), this.setPath(opt_uri.getPath()), this.setQueryData(opt_uri.getQueryData().clone()), this.setFragment(opt_uri.getFragment())) : opt_uri && (m = module$contents$goog$uri$utils_split(String(opt_uri))) ? (this.ignoreCase_ = !!opt_ignoreCase,
|
|
5866
|
+
this.setScheme(m[module$contents$goog$uri$utils_ComponentIndex.SCHEME] || "", !0), this.setUserInfo(m[module$contents$goog$uri$utils_ComponentIndex.USER_INFO] || "", !0), this.setDomain(m[module$contents$goog$uri$utils_ComponentIndex.DOMAIN] || "", !0), this.setPort(m[module$contents$goog$uri$utils_ComponentIndex.PORT]), this.setPath(m[module$contents$goog$uri$utils_ComponentIndex.PATH] || "", !0), this.setQueryData(m[module$contents$goog$uri$utils_ComponentIndex.QUERY_DATA] || "", !0), this.setFragment(m[module$contents$goog$uri$utils_ComponentIndex.FRAGMENT] ||
|
|
5867
|
+
"", !0)) : (this.ignoreCase_ = !!opt_ignoreCase, this.queryData_ = new goog.Uri.QueryData(null, this.ignoreCase_));
|
|
5850
5868
|
};
|
|
5851
|
-
goog.Uri.RANDOM_PARAM = goog
|
|
5869
|
+
goog.Uri.RANDOM_PARAM = module$contents$goog$uri$utils_StandardQueryParam.RANDOM;
|
|
5852
5870
|
goog.Uri.prototype.toString = function() {
|
|
5853
5871
|
var out = [], scheme = this.getScheme();
|
|
5854
5872
|
scheme && out.push(goog.Uri.encodeSpecialChars_(scheme, goog.Uri.reDisallowedInSchemeOrUserInfo_, !0), ":");
|
|
@@ -6103,8 +6121,8 @@ goog.Uri.reDisallowedInAbsolutePath_ = /[#\?]/g;
|
|
|
6103
6121
|
goog.Uri.reDisallowedInQuery_ = /[#\?@]/g;
|
|
6104
6122
|
goog.Uri.reDisallowedInFragment_ = /#/g;
|
|
6105
6123
|
goog.Uri.haveSameDomain = function(uri1String, uri2String) {
|
|
6106
|
-
var pieces1 = goog
|
|
6107
|
-
return pieces1[goog
|
|
6124
|
+
var pieces1 = module$contents$goog$uri$utils_split(uri1String), pieces2 = module$contents$goog$uri$utils_split(uri2String);
|
|
6125
|
+
return pieces1[module$contents$goog$uri$utils_ComponentIndex.DOMAIN] == pieces2[module$contents$goog$uri$utils_ComponentIndex.DOMAIN] && pieces1[module$contents$goog$uri$utils_ComponentIndex.PORT] == pieces2[module$contents$goog$uri$utils_ComponentIndex.PORT];
|
|
6108
6126
|
};
|
|
6109
6127
|
goog.Uri.QueryData = function(opt_query, opt_ignoreCase) {
|
|
6110
6128
|
this.count_ = this.keyMap_ = null;
|
|
@@ -6114,7 +6132,7 @@ goog.Uri.QueryData = function(opt_query, opt_ignoreCase) {
|
|
|
6114
6132
|
goog.Uri.QueryData.prototype.ensureKeyMapInitialized_ = function() {
|
|
6115
6133
|
if (!this.keyMap_ && (this.keyMap_ = new Map(), this.count_ = 0, this.encodedQuery_)) {
|
|
6116
6134
|
var self = this;
|
|
6117
|
-
goog
|
|
6135
|
+
module$contents$goog$uri$utils_parseQueryData(this.encodedQuery_, function(name, value) {
|
|
6118
6136
|
self.add(goog.string.urlDecode(name), value);
|
|
6119
6137
|
});
|
|
6120
6138
|
}
|
|
@@ -6296,7 +6314,7 @@ var module$exports$goog$net$rpc$HttpCors = {HTTP_HEADERS_PARAM_NAME:"$httpHeader
|
|
|
6296
6314
|
}
|
|
6297
6315
|
var httpHeaders = module$exports$goog$net$rpc$HttpCors.generateHttpHeadersOverwriteParam(extraHeaders);
|
|
6298
6316
|
if (typeof url === "string") {
|
|
6299
|
-
return goog
|
|
6317
|
+
return module$contents$goog$uri$utils_appendParam(url, goog.string.urlEncode(urlParam), httpHeaders);
|
|
6300
6318
|
}
|
|
6301
6319
|
url.setParameterValue(urlParam, httpHeaders);
|
|
6302
6320
|
return url;
|
|
@@ -6551,7 +6569,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles = !1;
|
|
|
6551
6569
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles = !1;
|
|
6552
6570
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
6553
6571
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
6554
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6572
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__disable = !1;
|
|
6555
6573
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_context_per_component__enable = !1;
|
|
6556
6574
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_lazy_tsx__disable = !1;
|
|
6557
6575
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__fixed_noopener_behavior__enable = !1;
|
|
@@ -6560,7 +6578,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_mes
|
|
|
6560
6578
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_use_constant_default_pivot__enable = !1;
|
|
6561
6579
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable = !1;
|
|
6562
6580
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable = !1;
|
|
6563
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6581
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable = !1;
|
|
6564
6582
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_write_back_bigint__enable = !1;
|
|
6565
6583
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable = !1;
|
|
6566
6584
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
@@ -6571,7 +6589,8 @@ goog.flags = {};
|
|
|
6571
6589
|
var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1, goog.FLAGS_STAGING_DEFAULT);
|
|
6572
6590
|
goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable : goog.readFlagInternalDoNotUseOrElse(610401301, !1);
|
|
6573
6591
|
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
|
|
6574
|
-
goog.flags.CLIENT_ONLY_WIZ_QUEUE_EFFECT_AND_ON_INIT_INITIAL_RUNS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.
|
|
6592
|
+
goog.flags.CLIENT_ONLY_WIZ_QUEUE_EFFECT_AND_ON_INIT_INITIAL_RUNS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__disable) : goog.readFlagInternalDoNotUseOrElse(772657768,
|
|
6593
|
+
module$contents$goog$flags_STAGING);
|
|
6575
6594
|
goog.flags.CLIENT_ONLY_WIZ_CONTEXT_PER_COMPONENT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_context_per_component__enable : goog.readFlagInternalDoNotUseOrElse(513659523, goog.DEBUG);
|
|
6576
6595
|
goog.flags.CLIENT_ONLY_WIZ_LAZY_TSX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_lazy_tsx__disable : goog.readFlagInternalDoNotUseOrElse(568333945, !0);
|
|
6577
6596
|
goog.flags.FIXED_NOOPENER_BEHAVIOR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__fixed_noopener_behavior__enable : goog.readFlagInternalDoNotUseOrElse(1331761403, !1);
|
|
@@ -6581,7 +6600,8 @@ goog.flags.JSPB_USE_CONSTANT_DEFAULT_PIVOT = module$exports$closure$flags$flags$
|
|
|
6581
6600
|
goog.flags.JSPB_SERIALIZE_WITH_DYNAMIC_PIVOT_SELECTOR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable : goog.readFlagInternalDoNotUseOrElse(748402146, goog.DEBUG);
|
|
6582
6601
|
goog.flags.JSPB_THROW_IN_ARRAY_CONSTRUCTOR_IF_ARRAY_IS_ALREADY_CONSTRUCTED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable : goog.readFlagInternalDoNotUseOrElse(748402147,
|
|
6583
6602
|
!0);
|
|
6584
|
-
goog.flags.JSPB_DESERIALIZE_BINARY_INT64S_AS_GBIGINT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.
|
|
6603
|
+
goog.flags.JSPB_DESERIALIZE_BINARY_INT64S_AS_GBIGINT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable) : goog.readFlagInternalDoNotUseOrElse(824648567,
|
|
6604
|
+
module$contents$goog$flags_STAGING);
|
|
6585
6605
|
goog.flags.JSPB_WRITE_BACK_BIGINT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_write_back_bigint__enable : goog.readFlagInternalDoNotUseOrElse(824656860, goog.DEBUG);
|
|
6586
6606
|
goog.flags.OPTIMIZE_GET_EI_FROM_VED = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable : goog.readFlagInternalDoNotUseOrElse(333098724, !1);
|
|
6587
6607
|
goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
|
|
@@ -7432,28 +7452,30 @@ goog.events.Listenable.prototype.getListener = function(type, listener, capture,
|
|
|
7432
7452
|
};
|
|
7433
7453
|
goog.events.Listenable.prototype.hasListener = function(opt_type, opt_capture) {
|
|
7434
7454
|
};
|
|
7435
|
-
goog
|
|
7436
|
-
}
|
|
7437
|
-
goog
|
|
7438
|
-
goog
|
|
7439
|
-
return ++goog
|
|
7455
|
+
function module$contents$goog$events$ListenableKey_ListenableKey() {
|
|
7456
|
+
}
|
|
7457
|
+
module$contents$goog$events$ListenableKey_ListenableKey.counter_ = 0;
|
|
7458
|
+
module$contents$goog$events$ListenableKey_ListenableKey.reserveKey = function() {
|
|
7459
|
+
return ++module$contents$goog$events$ListenableKey_ListenableKey.counter_;
|
|
7440
7460
|
};
|
|
7441
|
-
goog.events.
|
|
7442
|
-
|
|
7461
|
+
goog.events.ListenableKey = module$contents$goog$events$ListenableKey_ListenableKey;
|
|
7462
|
+
function module$contents$goog$events$Listener_Listener(listener, proxy, src, type, capture, opt_handler) {
|
|
7463
|
+
module$contents$goog$events$Listener_Listener.ENABLE_MONITORING && (this.creationStack = Error().stack);
|
|
7443
7464
|
this.listener = listener;
|
|
7444
7465
|
this.proxy = proxy;
|
|
7445
7466
|
this.src = src;
|
|
7446
7467
|
this.type = type;
|
|
7447
7468
|
this.capture = !!capture;
|
|
7448
7469
|
this.handler = opt_handler;
|
|
7449
|
-
this.key = goog
|
|
7470
|
+
this.key = module$contents$goog$events$ListenableKey_ListenableKey.reserveKey();
|
|
7450
7471
|
this.removed = this.callOnce = !1;
|
|
7451
|
-
}
|
|
7452
|
-
goog
|
|
7453
|
-
goog
|
|
7472
|
+
}
|
|
7473
|
+
module$contents$goog$events$Listener_Listener.ENABLE_MONITORING = !1;
|
|
7474
|
+
module$contents$goog$events$Listener_Listener.prototype.markAsRemoved = function() {
|
|
7454
7475
|
this.removed = !0;
|
|
7455
7476
|
this.handler = this.src = this.proxy = this.listener = null;
|
|
7456
7477
|
};
|
|
7478
|
+
goog.events.Listener = module$contents$goog$events$Listener_Listener;
|
|
7457
7479
|
function module$contents$goog$events$ListenerMap_ListenerMap(src) {
|
|
7458
7480
|
this.src = src;
|
|
7459
7481
|
this.listeners = {};
|
|
@@ -7477,7 +7499,7 @@ module$contents$goog$events$ListenerMap_ListenerMap.prototype.add = function(typ
|
|
|
7477
7499
|
var listenerObj = listenerArray[index];
|
|
7478
7500
|
callOnce || (listenerObj.callOnce = !1);
|
|
7479
7501
|
} else {
|
|
7480
|
-
listenerObj = new goog
|
|
7502
|
+
listenerObj = new module$contents$goog$events$Listener_Listener(listener, null, this.src, typeStr, !!opt_useCapture, opt_listenerScope), listenerObj.callOnce = callOnce, listenerArray.push(listenerObj);
|
|
7481
7503
|
}
|
|
7482
7504
|
return listenerObj;
|
|
7483
7505
|
};
|
|
@@ -8148,53 +8170,75 @@ goog.functions.isFunction = function(val) {
|
|
|
8148
8170
|
return typeof val === "function";
|
|
8149
8171
|
};
|
|
8150
8172
|
goog.math = {};
|
|
8151
|
-
goog
|
|
8152
|
-
return Math.floor(Math.random() * a);
|
|
8153
|
-
};
|
|
8154
|
-
goog.math.uniformRandom = function(a, b) {
|
|
8155
|
-
return a + Math.random() * (b - a);
|
|
8156
|
-
};
|
|
8157
|
-
goog.math.clamp = function(value, min, max) {
|
|
8158
|
-
return Math.min(Math.max(value, min), max);
|
|
8159
|
-
};
|
|
8160
|
-
goog.math.modulo = function(a, b) {
|
|
8173
|
+
function module$contents$goog$math_modulo(a, b) {
|
|
8161
8174
|
var r = a % b;
|
|
8162
8175
|
return r * b < 0 ? r + b : r;
|
|
8163
|
-
}
|
|
8164
|
-
goog
|
|
8165
|
-
return
|
|
8166
|
-
}
|
|
8167
|
-
goog
|
|
8168
|
-
return Math.abs(a - b) <= (opt_tolerance || 1E-6);
|
|
8169
|
-
};
|
|
8170
|
-
goog.math.standardAngle = function(angle) {
|
|
8171
|
-
return goog.math.modulo(angle, 360);
|
|
8172
|
-
};
|
|
8173
|
-
goog.math.standardAngleInRadians = function(angle) {
|
|
8174
|
-
return goog.math.modulo(angle, 2 * Math.PI);
|
|
8175
|
-
};
|
|
8176
|
-
goog.math.toRadians = function(angleDegrees) {
|
|
8176
|
+
}
|
|
8177
|
+
function module$contents$goog$math_standardAngle(angle) {
|
|
8178
|
+
return module$contents$goog$math_modulo(angle, 360);
|
|
8179
|
+
}
|
|
8180
|
+
function module$contents$goog$math_toRadians(angleDegrees) {
|
|
8177
8181
|
return angleDegrees * Math.PI / 180;
|
|
8178
|
-
}
|
|
8179
|
-
goog
|
|
8182
|
+
}
|
|
8183
|
+
function module$contents$goog$math_toDegrees(angleRadians) {
|
|
8180
8184
|
return angleRadians * 180 / Math.PI;
|
|
8185
|
+
}
|
|
8186
|
+
function module$contents$goog$math_angle(x1, y1, x2, y2) {
|
|
8187
|
+
return module$contents$goog$math_standardAngle(module$contents$goog$math_toDegrees(Math.atan2(y2 - y1, x2 - x1)));
|
|
8188
|
+
}
|
|
8189
|
+
function module$contents$goog$math_sum(var_args) {
|
|
8190
|
+
return Array.prototype.reduce.call(arguments, function(sum, value) {
|
|
8191
|
+
return sum + value;
|
|
8192
|
+
}, 0);
|
|
8193
|
+
}
|
|
8194
|
+
function module$contents$goog$math_average(var_args) {
|
|
8195
|
+
return module$contents$goog$math_sum.apply(null, arguments) / arguments.length;
|
|
8196
|
+
}
|
|
8197
|
+
function module$contents$goog$math_sampleVariance(var_args) {
|
|
8198
|
+
var sampleSize = arguments.length;
|
|
8199
|
+
if (sampleSize < 2) {
|
|
8200
|
+
return 0;
|
|
8201
|
+
}
|
|
8202
|
+
var mean = module$contents$goog$math_average.apply(null, arguments);
|
|
8203
|
+
return module$contents$goog$math_sum.apply(null, Array.prototype.map.call(arguments, function(val) {
|
|
8204
|
+
return Math.pow(val - mean, 2);
|
|
8205
|
+
})) / (sampleSize - 1);
|
|
8206
|
+
}
|
|
8207
|
+
function module$contents$goog$math_isInt(num) {
|
|
8208
|
+
return isFinite(num) && num % 1 == 0;
|
|
8209
|
+
}
|
|
8210
|
+
goog.math.angle = module$contents$goog$math_angle;
|
|
8211
|
+
goog.math.angleDifference = function(startAngle, endAngle) {
|
|
8212
|
+
var d = module$contents$goog$math_standardAngle(endAngle) - module$contents$goog$math_standardAngle(startAngle);
|
|
8213
|
+
d > 180 ? d -= 360 : d <= -180 && (d = 360 + d);
|
|
8214
|
+
return d;
|
|
8181
8215
|
};
|
|
8182
8216
|
goog.math.angleDx = function(degrees, radius) {
|
|
8183
|
-
return radius * Math.cos(goog
|
|
8217
|
+
return radius * Math.cos(module$contents$goog$math_toRadians(degrees));
|
|
8184
8218
|
};
|
|
8185
8219
|
goog.math.angleDy = function(degrees, radius) {
|
|
8186
|
-
return radius * Math.sin(goog
|
|
8220
|
+
return radius * Math.sin(module$contents$goog$math_toRadians(degrees));
|
|
8187
8221
|
};
|
|
8188
|
-
goog.math.
|
|
8189
|
-
|
|
8222
|
+
goog.math.average = module$contents$goog$math_average;
|
|
8223
|
+
goog.math.clamp = function(value, min, max) {
|
|
8224
|
+
return Math.min(Math.max(value, min), max);
|
|
8190
8225
|
};
|
|
8191
|
-
goog.math.
|
|
8192
|
-
|
|
8193
|
-
d > 180 ? d -= 360 : d <= -180 && (d = 360 + d);
|
|
8194
|
-
return d;
|
|
8226
|
+
goog.math.isFiniteNumber = function(num) {
|
|
8227
|
+
return isFinite(num);
|
|
8195
8228
|
};
|
|
8196
|
-
goog.math.
|
|
8197
|
-
|
|
8229
|
+
goog.math.isInt = module$contents$goog$math_isInt;
|
|
8230
|
+
goog.math.isNegativeZero = function(num) {
|
|
8231
|
+
return num == 0 && 1 / num < 0;
|
|
8232
|
+
};
|
|
8233
|
+
goog.math.lerp = function(a, b, x) {
|
|
8234
|
+
return a + x * (b - a);
|
|
8235
|
+
};
|
|
8236
|
+
goog.math.log10Floor = function(num) {
|
|
8237
|
+
if (num > 0) {
|
|
8238
|
+
var x = Math.round(Math.log(num) * Math.LOG10E);
|
|
8239
|
+
return x - (parseFloat("1e" + x) > num ? 1 : 0);
|
|
8240
|
+
}
|
|
8241
|
+
return num == 0 ? -Infinity : NaN;
|
|
8198
8242
|
};
|
|
8199
8243
|
goog.math.longestCommonSubsequence = function(array1, array2, opt_compareFn, opt_collectorFn) {
|
|
8200
8244
|
var compare = opt_compareFn || function(a, b) {
|
|
@@ -8221,50 +8265,37 @@ goog.math.longestCommonSubsequence = function(array1, array2, opt_compareFn, opt
|
|
|
8221
8265
|
}
|
|
8222
8266
|
return result;
|
|
8223
8267
|
};
|
|
8224
|
-
goog.math.
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
}, 0);
|
|
8228
|
-
};
|
|
8229
|
-
goog.math.average = function(var_args) {
|
|
8230
|
-
return goog.math.sum.apply(null, arguments) / arguments.length;
|
|
8231
|
-
};
|
|
8232
|
-
goog.math.sampleVariance = function(var_args) {
|
|
8233
|
-
var sampleSize = arguments.length;
|
|
8234
|
-
if (sampleSize < 2) {
|
|
8235
|
-
return 0;
|
|
8236
|
-
}
|
|
8237
|
-
var mean = goog.math.average.apply(null, arguments);
|
|
8238
|
-
return goog.math.sum.apply(null, Array.prototype.map.call(arguments, function(val) {
|
|
8239
|
-
return Math.pow(val - mean, 2);
|
|
8240
|
-
})) / (sampleSize - 1);
|
|
8241
|
-
};
|
|
8242
|
-
goog.math.standardDeviation = function(var_args) {
|
|
8243
|
-
return Math.sqrt(goog.math.sampleVariance.apply(null, arguments));
|
|
8244
|
-
};
|
|
8245
|
-
goog.math.isInt = function(num) {
|
|
8246
|
-
return isFinite(num) && num % 1 == 0;
|
|
8247
|
-
};
|
|
8248
|
-
goog.math.isFiniteNumber = function(num) {
|
|
8249
|
-
return isFinite(num);
|
|
8268
|
+
goog.math.modulo = module$contents$goog$math_modulo;
|
|
8269
|
+
goog.math.nearlyEquals = function(a, b, opt_tolerance) {
|
|
8270
|
+
return Math.abs(a - b) <= (opt_tolerance || 1E-6);
|
|
8250
8271
|
};
|
|
8251
|
-
goog.math.
|
|
8252
|
-
return
|
|
8272
|
+
goog.math.randomInt = function(a) {
|
|
8273
|
+
return Math.floor(Math.random() * a);
|
|
8253
8274
|
};
|
|
8254
|
-
goog.math.
|
|
8255
|
-
|
|
8256
|
-
|
|
8257
|
-
return x - (parseFloat("1e" + x) > num ? 1 : 0);
|
|
8258
|
-
}
|
|
8259
|
-
return num == 0 ? -Infinity : NaN;
|
|
8275
|
+
goog.math.safeCeil = function(num, opt_epsilon) {
|
|
8276
|
+
goog.asserts.assert(opt_epsilon === void 0 || opt_epsilon > 0);
|
|
8277
|
+
return Math.ceil(num - (opt_epsilon || 2E-15));
|
|
8260
8278
|
};
|
|
8261
8279
|
goog.math.safeFloor = function(num, opt_epsilon) {
|
|
8262
8280
|
goog.asserts.assert(opt_epsilon === void 0 || opt_epsilon > 0);
|
|
8263
8281
|
return Math.floor(num + (opt_epsilon || 2E-15));
|
|
8264
8282
|
};
|
|
8265
|
-
goog.math.
|
|
8266
|
-
|
|
8267
|
-
return
|
|
8283
|
+
goog.math.sampleVariance = module$contents$goog$math_sampleVariance;
|
|
8284
|
+
goog.math.sign = function(x) {
|
|
8285
|
+
return x > 0 ? 1 : x < 0 ? -1 : x;
|
|
8286
|
+
};
|
|
8287
|
+
goog.math.standardAngle = module$contents$goog$math_standardAngle;
|
|
8288
|
+
goog.math.standardAngleInRadians = function(angle) {
|
|
8289
|
+
return module$contents$goog$math_modulo(angle, 2 * Math.PI);
|
|
8290
|
+
};
|
|
8291
|
+
goog.math.standardDeviation = function(var_args) {
|
|
8292
|
+
return Math.sqrt(module$contents$goog$math_sampleVariance.apply(null, arguments));
|
|
8293
|
+
};
|
|
8294
|
+
goog.math.sum = module$contents$goog$math_sum;
|
|
8295
|
+
goog.math.toDegrees = module$contents$goog$math_toDegrees;
|
|
8296
|
+
goog.math.toRadians = module$contents$goog$math_toRadians;
|
|
8297
|
+
goog.math.uniformRandom = function(a, b) {
|
|
8298
|
+
return a + Math.random() * (b - a);
|
|
8268
8299
|
};
|
|
8269
8300
|
goog.iter = {};
|
|
8270
8301
|
goog.iter.Iterator = function() {
|
|
@@ -8675,7 +8706,7 @@ goog.iter.enumerate = function(iterable, opt_start) {
|
|
|
8675
8706
|
return goog.iter.zip(goog.iter.count(opt_start), iterable);
|
|
8676
8707
|
};
|
|
8677
8708
|
goog.iter.limit = function(iterable, limitSize) {
|
|
8678
|
-
goog.asserts.assert(goog
|
|
8709
|
+
goog.asserts.assert(module$contents$goog$math_isInt(limitSize) && limitSize >= 0);
|
|
8679
8710
|
var iterator = goog.iter.toIterator(iterable), iter = new goog.iter.Iterator(), remaining = limitSize;
|
|
8680
8711
|
iter.next = function() {
|
|
8681
8712
|
return remaining-- > 0 ? iterator.next() : goog.iter.ES6_ITERATOR_DONE;
|
|
@@ -8683,16 +8714,16 @@ goog.iter.limit = function(iterable, limitSize) {
|
|
|
8683
8714
|
return iter;
|
|
8684
8715
|
};
|
|
8685
8716
|
goog.iter.consume = function(iterable, count) {
|
|
8686
|
-
goog.asserts.assert(goog
|
|
8717
|
+
goog.asserts.assert(module$contents$goog$math_isInt(count) && count >= 0);
|
|
8687
8718
|
for (var iterator = goog.iter.toIterator(iterable); count-- > 0;) {
|
|
8688
8719
|
goog.iter.nextOrValue(iterator, null);
|
|
8689
8720
|
}
|
|
8690
8721
|
return iterator;
|
|
8691
8722
|
};
|
|
8692
8723
|
goog.iter.slice = function(iterable, start, opt_end) {
|
|
8693
|
-
goog.asserts.assert(goog
|
|
8724
|
+
goog.asserts.assert(module$contents$goog$math_isInt(start) && start >= 0);
|
|
8694
8725
|
var iterator = goog.iter.consume(iterable, start);
|
|
8695
|
-
typeof opt_end === "number" && (goog.asserts.assert(goog
|
|
8726
|
+
typeof opt_end === "number" && (goog.asserts.assert(module$contents$goog$math_isInt(opt_end) && opt_end >= start), iterator = goog.iter.limit(iterator, opt_end - start));
|
|
8696
8727
|
return iterator;
|
|
8697
8728
|
};
|
|
8698
8729
|
goog.iter.hasDuplicates_ = function(arr) {
|
|
@@ -8807,7 +8838,7 @@ module$contents$goog$iter$es6_ShimEs6Iterator.prototype.next = function() {
|
|
|
8807
8838
|
goog.iter.es6.ShimIterable = module$contents$goog$iter$es6_ShimIterable;
|
|
8808
8839
|
goog.iter.es6.ShimEs6Iterator = module$contents$goog$iter$es6_ShimEs6Iterator;
|
|
8809
8840
|
goog.iter.es6.ShimGoogIterator = module$contents$goog$iter$es6_ShimGoogIterator;
|
|
8810
|
-
goog
|
|
8841
|
+
function module$contents$goog$structs$Map_Map(opt_map, var_args) {
|
|
8811
8842
|
this.map_ = {};
|
|
8812
8843
|
this.keys_ = [];
|
|
8813
8844
|
this.version_ = this.size = 0;
|
|
@@ -8822,44 +8853,44 @@ goog.structs.Map = function(opt_map, var_args) {
|
|
|
8822
8853
|
} else {
|
|
8823
8854
|
opt_map && this.addAll(opt_map);
|
|
8824
8855
|
}
|
|
8825
|
-
}
|
|
8826
|
-
goog
|
|
8856
|
+
}
|
|
8857
|
+
module$contents$goog$structs$Map_Map.prototype.getCount = function() {
|
|
8827
8858
|
return this.size;
|
|
8828
8859
|
};
|
|
8829
|
-
goog
|
|
8860
|
+
module$contents$goog$structs$Map_Map.prototype.getValues = function() {
|
|
8830
8861
|
this.cleanupKeysArray_();
|
|
8831
8862
|
for (var rv = [], i = 0; i < this.keys_.length; i++) {
|
|
8832
8863
|
rv.push(this.map_[this.keys_[i]]);
|
|
8833
8864
|
}
|
|
8834
8865
|
return rv;
|
|
8835
8866
|
};
|
|
8836
|
-
goog
|
|
8867
|
+
module$contents$goog$structs$Map_Map.prototype.getKeys = function() {
|
|
8837
8868
|
this.cleanupKeysArray_();
|
|
8838
8869
|
return this.keys_.concat();
|
|
8839
8870
|
};
|
|
8840
|
-
goog
|
|
8871
|
+
module$contents$goog$structs$Map_Map.prototype.containsKey = function(key) {
|
|
8841
8872
|
return this.has(key);
|
|
8842
8873
|
};
|
|
8843
|
-
goog
|
|
8844
|
-
return goog
|
|
8874
|
+
module$contents$goog$structs$Map_Map.prototype.has = function(key) {
|
|
8875
|
+
return module$contents$goog$structs$Map_Map.hasKey_(this.map_, key);
|
|
8845
8876
|
};
|
|
8846
|
-
goog
|
|
8877
|
+
module$contents$goog$structs$Map_Map.prototype.containsValue = function(val) {
|
|
8847
8878
|
for (var i = 0; i < this.keys_.length; i++) {
|
|
8848
8879
|
var key = this.keys_[i];
|
|
8849
|
-
if (goog
|
|
8880
|
+
if (module$contents$goog$structs$Map_Map.hasKey_(this.map_, key) && this.map_[key] == val) {
|
|
8850
8881
|
return !0;
|
|
8851
8882
|
}
|
|
8852
8883
|
}
|
|
8853
8884
|
return !1;
|
|
8854
8885
|
};
|
|
8855
|
-
goog
|
|
8886
|
+
module$contents$goog$structs$Map_Map.prototype.equals = function(otherMap, opt_equalityFn) {
|
|
8856
8887
|
if (this === otherMap) {
|
|
8857
8888
|
return !0;
|
|
8858
8889
|
}
|
|
8859
8890
|
if (this.size != otherMap.getCount()) {
|
|
8860
8891
|
return !1;
|
|
8861
8892
|
}
|
|
8862
|
-
var equalityFn = opt_equalityFn || goog
|
|
8893
|
+
var equalityFn = opt_equalityFn || module$contents$goog$structs$Map_Map.defaultEquals;
|
|
8863
8894
|
this.cleanupKeysArray_();
|
|
8864
8895
|
for (var key, i = 0; key = this.keys_[i]; i++) {
|
|
8865
8896
|
if (!equalityFn(this.get(key), otherMap.get(key))) {
|
|
@@ -8868,29 +8899,29 @@ goog.structs.Map.prototype.equals = function(otherMap, opt_equalityFn) {
|
|
|
8868
8899
|
}
|
|
8869
8900
|
return !0;
|
|
8870
8901
|
};
|
|
8871
|
-
goog
|
|
8902
|
+
module$contents$goog$structs$Map_Map.defaultEquals = function(a, b) {
|
|
8872
8903
|
return a === b;
|
|
8873
8904
|
};
|
|
8874
|
-
goog
|
|
8905
|
+
module$contents$goog$structs$Map_Map.prototype.isEmpty = function() {
|
|
8875
8906
|
return this.size == 0;
|
|
8876
8907
|
};
|
|
8877
|
-
goog
|
|
8908
|
+
module$contents$goog$structs$Map_Map.prototype.clear = function() {
|
|
8878
8909
|
this.map_ = {};
|
|
8879
8910
|
this.keys_.length = 0;
|
|
8880
8911
|
this.setSizeInternal_(0);
|
|
8881
8912
|
this.version_ = 0;
|
|
8882
8913
|
};
|
|
8883
|
-
goog
|
|
8914
|
+
module$contents$goog$structs$Map_Map.prototype.remove = function(key) {
|
|
8884
8915
|
return this.delete(key);
|
|
8885
8916
|
};
|
|
8886
|
-
goog
|
|
8887
|
-
return goog
|
|
8917
|
+
module$contents$goog$structs$Map_Map.prototype.delete = function(key) {
|
|
8918
|
+
return module$contents$goog$structs$Map_Map.hasKey_(this.map_, key) ? (delete this.map_[key], this.setSizeInternal_(this.size - 1), this.version_++, this.keys_.length > 2 * this.size && this.cleanupKeysArray_(), !0) : !1;
|
|
8888
8919
|
};
|
|
8889
|
-
goog
|
|
8920
|
+
module$contents$goog$structs$Map_Map.prototype.cleanupKeysArray_ = function() {
|
|
8890
8921
|
if (this.size != this.keys_.length) {
|
|
8891
8922
|
for (var srcIndex = 0, destIndex = 0; srcIndex < this.keys_.length;) {
|
|
8892
8923
|
var key = this.keys_[srcIndex];
|
|
8893
|
-
goog
|
|
8924
|
+
module$contents$goog$structs$Map_Map.hasKey_(this.map_, key) && (this.keys_[destIndex++] = key);
|
|
8894
8925
|
srcIndex++;
|
|
8895
8926
|
}
|
|
8896
8927
|
this.keys_.length = destIndex;
|
|
@@ -8898,21 +8929,21 @@ goog.structs.Map.prototype.cleanupKeysArray_ = function() {
|
|
|
8898
8929
|
if (this.size != this.keys_.length) {
|
|
8899
8930
|
for (var seen = {}, srcIndex$jscomp$0 = 0, destIndex$jscomp$0 = 0; srcIndex$jscomp$0 < this.keys_.length;) {
|
|
8900
8931
|
var key$jscomp$0 = this.keys_[srcIndex$jscomp$0];
|
|
8901
|
-
goog
|
|
8932
|
+
module$contents$goog$structs$Map_Map.hasKey_(seen, key$jscomp$0) || (this.keys_[destIndex$jscomp$0++] = key$jscomp$0, seen[key$jscomp$0] = 1);
|
|
8902
8933
|
srcIndex$jscomp$0++;
|
|
8903
8934
|
}
|
|
8904
8935
|
this.keys_.length = destIndex$jscomp$0;
|
|
8905
8936
|
}
|
|
8906
8937
|
};
|
|
8907
|
-
goog
|
|
8908
|
-
return goog
|
|
8938
|
+
module$contents$goog$structs$Map_Map.prototype.get = function(key, opt_val) {
|
|
8939
|
+
return module$contents$goog$structs$Map_Map.hasKey_(this.map_, key) ? this.map_[key] : opt_val;
|
|
8909
8940
|
};
|
|
8910
|
-
goog
|
|
8911
|
-
goog
|
|
8941
|
+
module$contents$goog$structs$Map_Map.prototype.set = function(key, value) {
|
|
8942
|
+
module$contents$goog$structs$Map_Map.hasKey_(this.map_, key) || (this.setSizeInternal_(this.size + 1), this.keys_.push(key), this.version_++);
|
|
8912
8943
|
this.map_[key] = value;
|
|
8913
8944
|
};
|
|
8914
|
-
goog
|
|
8915
|
-
if (map instanceof goog
|
|
8945
|
+
module$contents$goog$structs$Map_Map.prototype.addAll = function(map) {
|
|
8946
|
+
if (map instanceof module$contents$goog$structs$Map_Map) {
|
|
8916
8947
|
for (var keys = map.getKeys(), i = 0; i < keys.length; i++) {
|
|
8917
8948
|
this.set(keys[i], map.get(keys[i]));
|
|
8918
8949
|
}
|
|
@@ -8922,23 +8953,23 @@ goog.structs.Map.prototype.addAll = function(map) {
|
|
|
8922
8953
|
}
|
|
8923
8954
|
}
|
|
8924
8955
|
};
|
|
8925
|
-
goog
|
|
8956
|
+
module$contents$goog$structs$Map_Map.prototype.forEach = function(f, opt_obj) {
|
|
8926
8957
|
for (var keys = this.getKeys(), i = 0; i < keys.length; i++) {
|
|
8927
8958
|
var key = keys[i], value = this.get(key);
|
|
8928
8959
|
f.call(opt_obj, value, key, this);
|
|
8929
8960
|
}
|
|
8930
8961
|
};
|
|
8931
|
-
goog
|
|
8932
|
-
return new goog
|
|
8962
|
+
module$contents$goog$structs$Map_Map.prototype.clone = function() {
|
|
8963
|
+
return new module$contents$goog$structs$Map_Map(this);
|
|
8933
8964
|
};
|
|
8934
|
-
goog
|
|
8935
|
-
for (var transposed = new goog
|
|
8965
|
+
module$contents$goog$structs$Map_Map.prototype.transpose = function() {
|
|
8966
|
+
for (var transposed = new module$contents$goog$structs$Map_Map(), i = 0; i < this.keys_.length; i++) {
|
|
8936
8967
|
var key = this.keys_[i];
|
|
8937
8968
|
transposed.set(this.map_[key], key);
|
|
8938
8969
|
}
|
|
8939
8970
|
return transposed;
|
|
8940
8971
|
};
|
|
8941
|
-
goog
|
|
8972
|
+
module$contents$goog$structs$Map_Map.prototype.toObject = function() {
|
|
8942
8973
|
this.cleanupKeysArray_();
|
|
8943
8974
|
for (var obj = {}, i = 0; i < this.keys_.length; i++) {
|
|
8944
8975
|
var key = this.keys_[i];
|
|
@@ -8946,25 +8977,25 @@ goog.structs.Map.prototype.toObject = function() {
|
|
|
8946
8977
|
}
|
|
8947
8978
|
return obj;
|
|
8948
8979
|
};
|
|
8949
|
-
goog
|
|
8980
|
+
module$contents$goog$structs$Map_Map.prototype.getKeyIterator = function() {
|
|
8950
8981
|
return this.__iterator__(!0);
|
|
8951
8982
|
};
|
|
8952
|
-
goog
|
|
8983
|
+
module$contents$goog$structs$Map_Map.prototype.keys = function() {
|
|
8953
8984
|
return module$contents$goog$iter$es6_ShimIterable.of(this.getKeyIterator()).toEs6();
|
|
8954
8985
|
};
|
|
8955
|
-
goog
|
|
8986
|
+
module$contents$goog$structs$Map_Map.prototype.getValueIterator = function() {
|
|
8956
8987
|
return this.__iterator__(!1);
|
|
8957
8988
|
};
|
|
8958
|
-
goog
|
|
8989
|
+
module$contents$goog$structs$Map_Map.prototype.values = function() {
|
|
8959
8990
|
return module$contents$goog$iter$es6_ShimIterable.of(this.getValueIterator()).toEs6();
|
|
8960
8991
|
};
|
|
8961
|
-
goog
|
|
8992
|
+
module$contents$goog$structs$Map_Map.prototype.entries = function() {
|
|
8962
8993
|
var self = this;
|
|
8963
8994
|
return goog.collections.iters.map(this.keys(), function(key) {
|
|
8964
8995
|
return [key, self.get(key)];
|
|
8965
8996
|
});
|
|
8966
8997
|
};
|
|
8967
|
-
goog
|
|
8998
|
+
module$contents$goog$structs$Map_Map.prototype.__iterator__ = function(opt_keys) {
|
|
8968
8999
|
this.cleanupKeysArray_();
|
|
8969
9000
|
var i = 0, version = this.version_, selfObj = this, newIter = new goog.iter.Iterator();
|
|
8970
9001
|
newIter.next = function() {
|
|
@@ -8979,108 +9010,110 @@ goog.structs.Map.prototype.__iterator__ = function(opt_keys) {
|
|
|
8979
9010
|
};
|
|
8980
9011
|
return newIter;
|
|
8981
9012
|
};
|
|
8982
|
-
goog
|
|
9013
|
+
module$contents$goog$structs$Map_Map.prototype.setSizeInternal_ = function(newSize) {
|
|
8983
9014
|
this.size = newSize;
|
|
8984
9015
|
};
|
|
8985
|
-
goog
|
|
9016
|
+
module$contents$goog$structs$Map_Map.hasKey_ = function(obj, key) {
|
|
8986
9017
|
return Object.prototype.hasOwnProperty.call(obj, key);
|
|
8987
9018
|
};
|
|
8988
|
-
goog.structs.
|
|
8989
|
-
|
|
9019
|
+
goog.structs.Map = module$contents$goog$structs$Map_Map;
|
|
9020
|
+
function module$contents$goog$structs$Set_Set(opt_values) {
|
|
9021
|
+
this.map_ = new module$contents$goog$structs$Map_Map();
|
|
8990
9022
|
this.size = 0;
|
|
8991
9023
|
opt_values && this.addAll(opt_values);
|
|
8992
|
-
}
|
|
8993
|
-
goog
|
|
8994
|
-
goog
|
|
9024
|
+
}
|
|
9025
|
+
module$contents$goog$structs$Set_Set.getUid_ = goog.getUid;
|
|
9026
|
+
module$contents$goog$structs$Set_Set.getKey_ = function(val) {
|
|
8995
9027
|
var type = typeof val;
|
|
8996
9028
|
return type == "object" && val || type == "function" ? "o" + goog.getUid(val) : type.slice(0, 1) + val;
|
|
8997
9029
|
};
|
|
8998
|
-
goog
|
|
9030
|
+
module$contents$goog$structs$Set_Set.prototype.getCount = function() {
|
|
8999
9031
|
return this.map_.size;
|
|
9000
9032
|
};
|
|
9001
|
-
goog
|
|
9002
|
-
this.map_.set(goog
|
|
9033
|
+
module$contents$goog$structs$Set_Set.prototype.add = function(element) {
|
|
9034
|
+
this.map_.set(module$contents$goog$structs$Set_Set.getKey_(element), element);
|
|
9003
9035
|
this.setSizeInternal_(this.map_.size);
|
|
9004
9036
|
};
|
|
9005
|
-
goog
|
|
9037
|
+
module$contents$goog$structs$Set_Set.prototype.addAll = function(col) {
|
|
9006
9038
|
for (var values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
|
|
9007
9039
|
this.add(values[i]);
|
|
9008
9040
|
}
|
|
9009
9041
|
this.setSizeInternal_(this.map_.size);
|
|
9010
9042
|
};
|
|
9011
|
-
goog
|
|
9043
|
+
module$contents$goog$structs$Set_Set.prototype.removeAll = function(col) {
|
|
9012
9044
|
for (var values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
|
|
9013
9045
|
this.remove(values[i]);
|
|
9014
9046
|
}
|
|
9015
9047
|
this.setSizeInternal_(this.map_.size);
|
|
9016
9048
|
};
|
|
9017
|
-
goog
|
|
9018
|
-
var rv = this.map_.remove(goog
|
|
9049
|
+
module$contents$goog$structs$Set_Set.prototype.delete = function(element) {
|
|
9050
|
+
var rv = this.map_.remove(module$contents$goog$structs$Set_Set.getKey_(element));
|
|
9019
9051
|
this.setSizeInternal_(this.map_.size);
|
|
9020
9052
|
return rv;
|
|
9021
9053
|
};
|
|
9022
|
-
goog
|
|
9054
|
+
module$contents$goog$structs$Set_Set.prototype.remove = function(element) {
|
|
9023
9055
|
return this.delete(element);
|
|
9024
9056
|
};
|
|
9025
|
-
goog
|
|
9057
|
+
module$contents$goog$structs$Set_Set.prototype.clear = function() {
|
|
9026
9058
|
this.map_.clear();
|
|
9027
9059
|
this.setSizeInternal_(0);
|
|
9028
9060
|
};
|
|
9029
|
-
goog
|
|
9061
|
+
module$contents$goog$structs$Set_Set.prototype.isEmpty = function() {
|
|
9030
9062
|
return this.map_.size === 0;
|
|
9031
9063
|
};
|
|
9032
|
-
goog
|
|
9033
|
-
return this.map_.containsKey(goog
|
|
9064
|
+
module$contents$goog$structs$Set_Set.prototype.has = function(element) {
|
|
9065
|
+
return this.map_.containsKey(module$contents$goog$structs$Set_Set.getKey_(element));
|
|
9034
9066
|
};
|
|
9035
|
-
goog
|
|
9036
|
-
return this.map_.containsKey(goog
|
|
9067
|
+
module$contents$goog$structs$Set_Set.prototype.contains = function(element) {
|
|
9068
|
+
return this.map_.containsKey(module$contents$goog$structs$Set_Set.getKey_(element));
|
|
9037
9069
|
};
|
|
9038
|
-
goog
|
|
9070
|
+
module$contents$goog$structs$Set_Set.prototype.containsAll = function(col) {
|
|
9039
9071
|
return goog.structs.every(col, this.contains, this);
|
|
9040
9072
|
};
|
|
9041
|
-
goog
|
|
9042
|
-
for (var result = new goog
|
|
9073
|
+
module$contents$goog$structs$Set_Set.prototype.intersection = function(col) {
|
|
9074
|
+
for (var result = new module$contents$goog$structs$Set_Set(), values = goog.structs.getValues(col), i = 0; i < values.length; i++) {
|
|
9043
9075
|
var value = values[i];
|
|
9044
9076
|
this.contains(value) && result.add(value);
|
|
9045
9077
|
}
|
|
9046
9078
|
return result;
|
|
9047
9079
|
};
|
|
9048
|
-
goog
|
|
9080
|
+
module$contents$goog$structs$Set_Set.prototype.difference = function(col) {
|
|
9049
9081
|
var result = this.clone();
|
|
9050
9082
|
result.removeAll(col);
|
|
9051
9083
|
return result;
|
|
9052
9084
|
};
|
|
9053
|
-
goog
|
|
9085
|
+
module$contents$goog$structs$Set_Set.prototype.getValues = function() {
|
|
9054
9086
|
return this.map_.getValues();
|
|
9055
9087
|
};
|
|
9056
|
-
goog
|
|
9088
|
+
module$contents$goog$structs$Set_Set.prototype.values = function() {
|
|
9057
9089
|
return this.map_.values();
|
|
9058
9090
|
};
|
|
9059
|
-
goog
|
|
9060
|
-
return new goog
|
|
9091
|
+
module$contents$goog$structs$Set_Set.prototype.clone = function() {
|
|
9092
|
+
return new module$contents$goog$structs$Set_Set(this);
|
|
9061
9093
|
};
|
|
9062
|
-
goog
|
|
9094
|
+
module$contents$goog$structs$Set_Set.prototype.equals = function(col) {
|
|
9063
9095
|
return this.getCount() == goog.structs.getCount(col) && this.isSubsetOf(col);
|
|
9064
9096
|
};
|
|
9065
|
-
goog
|
|
9097
|
+
module$contents$goog$structs$Set_Set.prototype.isSubsetOf = function(col) {
|
|
9066
9098
|
var colCount = goog.structs.getCount(col);
|
|
9067
9099
|
if (this.getCount() > colCount) {
|
|
9068
9100
|
return !1;
|
|
9069
9101
|
}
|
|
9070
|
-
!(col instanceof goog
|
|
9102
|
+
!(col instanceof module$contents$goog$structs$Set_Set) && colCount > 5 && (col = new module$contents$goog$structs$Set_Set(col));
|
|
9071
9103
|
return goog.structs.every(this, function(value) {
|
|
9072
9104
|
return goog.structs.contains(col, value);
|
|
9073
9105
|
});
|
|
9074
9106
|
};
|
|
9075
|
-
goog
|
|
9107
|
+
module$contents$goog$structs$Set_Set.prototype.__iterator__ = function(opt_keys) {
|
|
9076
9108
|
return this.map_.__iterator__(!1);
|
|
9077
9109
|
};
|
|
9078
|
-
goog
|
|
9110
|
+
module$contents$goog$structs$Set_Set.prototype[Symbol.iterator] = function() {
|
|
9079
9111
|
return this.values();
|
|
9080
9112
|
};
|
|
9081
|
-
goog
|
|
9113
|
+
module$contents$goog$structs$Set_Set.prototype.setSizeInternal_ = function(newSize) {
|
|
9082
9114
|
this.size = newSize;
|
|
9083
9115
|
};
|
|
9116
|
+
goog.structs.Set = module$contents$goog$structs$Set_Set;
|
|
9084
9117
|
var ee_root = {third_party:{}};
|
|
9085
9118
|
ee_root.third_party.earthengine_api = {};
|
|
9086
9119
|
ee_root.third_party.earthengine_api.javascript = {};
|
|
@@ -9090,7 +9123,7 @@ ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay =
|
|
|
9090
9123
|
this.mapId = mapId;
|
|
9091
9124
|
this.token = token;
|
|
9092
9125
|
this.tilesLoading = [];
|
|
9093
|
-
this.tilesFailed = new goog
|
|
9126
|
+
this.tilesFailed = new module$contents$goog$structs$Set_Set();
|
|
9094
9127
|
this.tileCounter = 0;
|
|
9095
9128
|
this.url = url;
|
|
9096
9129
|
};
|
|
@@ -14871,18 +14904,19 @@ module$contents$goog$async$FreeList_FreeList.prototype.occupants = function() {
|
|
|
14871
14904
|
return this.occupants_;
|
|
14872
14905
|
};
|
|
14873
14906
|
goog.async.FreeList = module$contents$goog$async$FreeList_FreeList;
|
|
14874
|
-
goog
|
|
14907
|
+
function module$contents$goog$async$nextTick_nextTick(callback, opt_context) {
|
|
14875
14908
|
var cb = callback;
|
|
14876
14909
|
opt_context && (cb = goog.bind(callback, opt_context));
|
|
14877
|
-
cb = goog
|
|
14878
|
-
goog
|
|
14879
|
-
|
|
14880
|
-
|
|
14881
|
-
goog
|
|
14882
|
-
goog
|
|
14910
|
+
cb = module$contents$goog$async$nextTick_nextTick.wrapCallback_(cb);
|
|
14911
|
+
module$contents$goog$async$nextTick_nextTick.USE_SET_TIMEOUT ? setTimeout(cb, 0) : (cb = module$contents$goog$async$nextTick_nextTick.propagateAsyncContext_(cb), goog.DEBUG && typeof goog.global.setImmediate === "function" && module$contents$goog$async$nextTick_nextTick.useSetImmediate_() ? goog.global.setImmediate(cb) : (module$contents$goog$async$nextTick_nextTick.nextTickImpl || (module$contents$goog$async$nextTick_nextTick.nextTickImpl = module$contents$goog$async$nextTick_nextTick.getNextTickImpl_()),
|
|
14912
|
+
module$contents$goog$async$nextTick_nextTick.nextTickImpl(cb)));
|
|
14913
|
+
}
|
|
14914
|
+
module$contents$goog$async$nextTick_nextTick.propagateAsyncContext_ = module$exports$common$async$context$propagate.propagateAsyncContext;
|
|
14915
|
+
module$contents$goog$async$nextTick_nextTick.USE_SET_TIMEOUT = !1;
|
|
14916
|
+
module$contents$goog$async$nextTick_nextTick.useSetImmediate_ = function() {
|
|
14883
14917
|
return goog.global.Window && goog.global.Window.prototype && goog.global.Window.prototype.setImmediate == goog.global.setImmediate ? !1 : !0;
|
|
14884
14918
|
};
|
|
14885
|
-
goog
|
|
14919
|
+
module$contents$goog$async$nextTick_nextTick.getNextTickImpl_ = function() {
|
|
14886
14920
|
if (typeof MessageChannel !== "undefined") {
|
|
14887
14921
|
var channel = new MessageChannel(), head = {}, tail = head;
|
|
14888
14922
|
channel.port1.onmessage = function() {
|
|
@@ -14903,12 +14937,13 @@ goog.async.nextTick.getNextTickImpl_ = function() {
|
|
|
14903
14937
|
goog.global.setTimeout(cb, 0);
|
|
14904
14938
|
};
|
|
14905
14939
|
};
|
|
14906
|
-
goog
|
|
14940
|
+
module$contents$goog$async$nextTick_nextTick.wrapCallback_ = function(callback) {
|
|
14907
14941
|
return callback;
|
|
14908
14942
|
};
|
|
14909
14943
|
goog.debug.entryPointRegistry.register(function(transformer) {
|
|
14910
|
-
goog
|
|
14944
|
+
module$contents$goog$async$nextTick_nextTick.wrapCallback_ = transformer;
|
|
14911
14945
|
});
|
|
14946
|
+
goog.async.nextTick = module$contents$goog$async$nextTick_nextTick;
|
|
14912
14947
|
function module$contents$goog$async$throwException_throwException(exception) {
|
|
14913
14948
|
goog.global.setTimeout(function() {
|
|
14914
14949
|
throw exception;
|
|
@@ -15011,7 +15046,7 @@ module$contents$goog$async$run_run.forceNextTick = function(realSetTimeout) {
|
|
|
15011
15046
|
throw Error("goog.async.run.forceNextTick is only available with goog.DEBUG");
|
|
15012
15047
|
}
|
|
15013
15048
|
module$contents$goog$async$run_schedule = function() {
|
|
15014
|
-
|
|
15049
|
+
module$contents$goog$async$nextTick_nextTick(module$contents$goog$async$run_processWorkQueueInternal);
|
|
15015
15050
|
realSetTimeout && realSetTimeout(module$contents$goog$async$run_processWorkQueueInternal);
|
|
15016
15051
|
};
|
|
15017
15052
|
};
|
|
@@ -15684,7 +15719,7 @@ goog.dom.TagName.VIDEO = "VIDEO";
|
|
|
15684
15719
|
goog.dom.TagName.WBR = "WBR";
|
|
15685
15720
|
goog.dom.element = {};
|
|
15686
15721
|
var module$contents$goog$dom$element_isElement = function(value) {
|
|
15687
|
-
return goog.isObject(value) && value.nodeType === goog
|
|
15722
|
+
return goog.isObject(value) && value.nodeType === module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
15688
15723
|
}, module$contents$goog$dom$element_isHtmlElement = function(value) {
|
|
15689
15724
|
return goog.isObject(value) && module$contents$goog$dom$element_isElement(value) && (!value.namespaceURI || value.namespaceURI === "http://www.w3.org/1999/xhtml");
|
|
15690
15725
|
}, module$contents$goog$dom$element_isHtmlElementOfType = function(value, tagName) {
|
|
@@ -15807,138 +15842,140 @@ goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
|
15807
15842
|
goog.asserts.dom.assertIsHtmlScriptElement = function(value) {
|
|
15808
15843
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.SCRIPT);
|
|
15809
15844
|
};
|
|
15810
|
-
goog
|
|
15845
|
+
function module$contents$goog$math$Coordinate_Coordinate(opt_x, opt_y) {
|
|
15811
15846
|
this.x = opt_x !== void 0 ? opt_x : 0;
|
|
15812
15847
|
this.y = opt_y !== void 0 ? opt_y : 0;
|
|
15848
|
+
}
|
|
15849
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.clone = function() {
|
|
15850
|
+
return new module$contents$goog$math$Coordinate_Coordinate(this.x, this.y);
|
|
15813
15851
|
};
|
|
15814
|
-
goog.math.
|
|
15815
|
-
return new goog.math.Coordinate(this.x, this.y);
|
|
15816
|
-
};
|
|
15817
|
-
goog.DEBUG && (goog.math.Coordinate.prototype.toString = function() {
|
|
15852
|
+
goog.DEBUG && (module$contents$goog$math$Coordinate_Coordinate.prototype.toString = function() {
|
|
15818
15853
|
return "(" + this.x + ", " + this.y + ")";
|
|
15819
15854
|
});
|
|
15820
|
-
goog
|
|
15821
|
-
return other instanceof goog
|
|
15855
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.equals = function(other) {
|
|
15856
|
+
return other instanceof module$contents$goog$math$Coordinate_Coordinate && module$contents$goog$math$Coordinate_Coordinate.equals(this, other);
|
|
15822
15857
|
};
|
|
15823
|
-
goog
|
|
15858
|
+
module$contents$goog$math$Coordinate_Coordinate.equals = function(a, b) {
|
|
15824
15859
|
return a == b ? !0 : a && b ? a.x == b.x && a.y == b.y : !1;
|
|
15825
15860
|
};
|
|
15826
|
-
goog
|
|
15861
|
+
module$contents$goog$math$Coordinate_Coordinate.distance = function(a, b) {
|
|
15827
15862
|
var dx = a.x - b.x, dy = a.y - b.y;
|
|
15828
15863
|
return Math.sqrt(dx * dx + dy * dy);
|
|
15829
15864
|
};
|
|
15830
|
-
goog
|
|
15865
|
+
module$contents$goog$math$Coordinate_Coordinate.magnitude = function(a) {
|
|
15831
15866
|
return Math.sqrt(a.x * a.x + a.y * a.y);
|
|
15832
15867
|
};
|
|
15833
|
-
goog
|
|
15834
|
-
return goog
|
|
15868
|
+
module$contents$goog$math$Coordinate_Coordinate.azimuth = function(a) {
|
|
15869
|
+
return module$contents$goog$math_angle(0, 0, a.x, a.y);
|
|
15835
15870
|
};
|
|
15836
|
-
goog
|
|
15871
|
+
module$contents$goog$math$Coordinate_Coordinate.squaredDistance = function(a, b) {
|
|
15837
15872
|
var dx = a.x - b.x, dy = a.y - b.y;
|
|
15838
15873
|
return dx * dx + dy * dy;
|
|
15839
15874
|
};
|
|
15840
|
-
goog
|
|
15841
|
-
return new goog
|
|
15875
|
+
module$contents$goog$math$Coordinate_Coordinate.difference = function(a, b) {
|
|
15876
|
+
return new module$contents$goog$math$Coordinate_Coordinate(a.x - b.x, a.y - b.y);
|
|
15842
15877
|
};
|
|
15843
|
-
goog
|
|
15844
|
-
return new goog
|
|
15878
|
+
module$contents$goog$math$Coordinate_Coordinate.sum = function(a, b) {
|
|
15879
|
+
return new module$contents$goog$math$Coordinate_Coordinate(a.x + b.x, a.y + b.y);
|
|
15845
15880
|
};
|
|
15846
|
-
goog
|
|
15881
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.ceil = function() {
|
|
15847
15882
|
this.x = Math.ceil(this.x);
|
|
15848
15883
|
this.y = Math.ceil(this.y);
|
|
15849
15884
|
return this;
|
|
15850
15885
|
};
|
|
15851
|
-
goog
|
|
15886
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.floor = function() {
|
|
15852
15887
|
this.x = Math.floor(this.x);
|
|
15853
15888
|
this.y = Math.floor(this.y);
|
|
15854
15889
|
return this;
|
|
15855
15890
|
};
|
|
15856
|
-
goog
|
|
15891
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.round = function() {
|
|
15857
15892
|
this.x = Math.round(this.x);
|
|
15858
15893
|
this.y = Math.round(this.y);
|
|
15859
15894
|
return this;
|
|
15860
15895
|
};
|
|
15861
|
-
goog
|
|
15862
|
-
tx instanceof goog
|
|
15896
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.translate = function(tx, opt_ty) {
|
|
15897
|
+
tx instanceof module$contents$goog$math$Coordinate_Coordinate ? (this.x += tx.x, this.y += tx.y) : (this.x += Number(tx), typeof opt_ty === "number" && (this.y += opt_ty));
|
|
15863
15898
|
return this;
|
|
15864
15899
|
};
|
|
15865
|
-
goog
|
|
15900
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.scale = function(sx, opt_sy) {
|
|
15866
15901
|
var sy;
|
|
15867
15902
|
this.x *= sx;
|
|
15868
15903
|
this.y *= typeof opt_sy === "number" ? opt_sy : sx;
|
|
15869
15904
|
return this;
|
|
15870
15905
|
};
|
|
15871
|
-
goog
|
|
15872
|
-
var center = opt_center || new goog
|
|
15906
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.rotateRadians = function(radians, opt_center) {
|
|
15907
|
+
var center = opt_center || new module$contents$goog$math$Coordinate_Coordinate(0, 0), x = this.x, y = this.y, cos = Math.cos(radians), sin = Math.sin(radians);
|
|
15873
15908
|
this.x = (x - center.x) * cos - (y - center.y) * sin + center.x;
|
|
15874
15909
|
this.y = (x - center.x) * sin + (y - center.y) * cos + center.y;
|
|
15875
15910
|
};
|
|
15876
|
-
goog
|
|
15877
|
-
this.rotateRadians(goog
|
|
15911
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.rotateDegrees = function(degrees, opt_center) {
|
|
15912
|
+
this.rotateRadians(module$contents$goog$math_toRadians(degrees), opt_center);
|
|
15878
15913
|
};
|
|
15879
|
-
goog.math.
|
|
15914
|
+
goog.math.Coordinate = module$contents$goog$math$Coordinate_Coordinate;
|
|
15915
|
+
function module$contents$goog$math$Size_Size(width, height) {
|
|
15880
15916
|
this.width = width;
|
|
15881
15917
|
this.height = height;
|
|
15882
|
-
}
|
|
15883
|
-
goog
|
|
15918
|
+
}
|
|
15919
|
+
module$contents$goog$math$Size_Size.equals = function(a, b) {
|
|
15884
15920
|
return a == b ? !0 : a && b ? a.width == b.width && a.height == b.height : !1;
|
|
15885
15921
|
};
|
|
15886
|
-
goog
|
|
15887
|
-
return new goog
|
|
15922
|
+
module$contents$goog$math$Size_Size.prototype.clone = function() {
|
|
15923
|
+
return new module$contents$goog$math$Size_Size(this.width, this.height);
|
|
15888
15924
|
};
|
|
15889
|
-
goog.DEBUG && (goog
|
|
15925
|
+
goog.DEBUG && (module$contents$goog$math$Size_Size.prototype.toString = function() {
|
|
15890
15926
|
return "(" + this.width + " x " + this.height + ")";
|
|
15891
15927
|
});
|
|
15892
|
-
goog
|
|
15928
|
+
module$contents$goog$math$Size_Size.prototype.getLongest = function() {
|
|
15893
15929
|
return Math.max(this.width, this.height);
|
|
15894
15930
|
};
|
|
15895
|
-
goog
|
|
15931
|
+
module$contents$goog$math$Size_Size.prototype.getShortest = function() {
|
|
15896
15932
|
return Math.min(this.width, this.height);
|
|
15897
15933
|
};
|
|
15898
|
-
goog
|
|
15934
|
+
module$contents$goog$math$Size_Size.prototype.area = function() {
|
|
15899
15935
|
return this.width * this.height;
|
|
15900
15936
|
};
|
|
15901
|
-
goog
|
|
15937
|
+
module$contents$goog$math$Size_Size.prototype.perimeter = function() {
|
|
15902
15938
|
return (this.width + this.height) * 2;
|
|
15903
15939
|
};
|
|
15904
|
-
goog
|
|
15940
|
+
module$contents$goog$math$Size_Size.prototype.aspectRatio = function() {
|
|
15905
15941
|
return this.width / this.height;
|
|
15906
15942
|
};
|
|
15907
|
-
goog
|
|
15943
|
+
module$contents$goog$math$Size_Size.prototype.isEmpty = function() {
|
|
15908
15944
|
return !this.area();
|
|
15909
15945
|
};
|
|
15910
|
-
goog
|
|
15946
|
+
module$contents$goog$math$Size_Size.prototype.ceil = function() {
|
|
15911
15947
|
this.width = Math.ceil(this.width);
|
|
15912
15948
|
this.height = Math.ceil(this.height);
|
|
15913
15949
|
return this;
|
|
15914
15950
|
};
|
|
15915
|
-
goog
|
|
15951
|
+
module$contents$goog$math$Size_Size.prototype.fitsInside = function(target) {
|
|
15916
15952
|
return this.width <= target.width && this.height <= target.height;
|
|
15917
15953
|
};
|
|
15918
|
-
goog
|
|
15954
|
+
module$contents$goog$math$Size_Size.prototype.floor = function() {
|
|
15919
15955
|
this.width = Math.floor(this.width);
|
|
15920
15956
|
this.height = Math.floor(this.height);
|
|
15921
15957
|
return this;
|
|
15922
15958
|
};
|
|
15923
|
-
goog
|
|
15959
|
+
module$contents$goog$math$Size_Size.prototype.round = function() {
|
|
15924
15960
|
this.width = Math.round(this.width);
|
|
15925
15961
|
this.height = Math.round(this.height);
|
|
15926
15962
|
return this;
|
|
15927
15963
|
};
|
|
15928
|
-
goog
|
|
15964
|
+
module$contents$goog$math$Size_Size.prototype.scale = function(sx, opt_sy) {
|
|
15929
15965
|
var sy;
|
|
15930
15966
|
this.width *= sx;
|
|
15931
15967
|
this.height *= typeof opt_sy === "number" ? opt_sy : sx;
|
|
15932
15968
|
return this;
|
|
15933
15969
|
};
|
|
15934
|
-
goog
|
|
15970
|
+
module$contents$goog$math$Size_Size.prototype.scaleToCover = function(target) {
|
|
15935
15971
|
var s = this.aspectRatio() <= target.aspectRatio() ? target.width / this.width : target.height / this.height;
|
|
15936
15972
|
return this.scale(s);
|
|
15937
15973
|
};
|
|
15938
|
-
goog
|
|
15974
|
+
module$contents$goog$math$Size_Size.prototype.scaleToFit = function(target) {
|
|
15939
15975
|
var s = this.aspectRatio() > target.aspectRatio() ? target.width / this.width : target.height / this.height;
|
|
15940
15976
|
return this.scale(s);
|
|
15941
15977
|
};
|
|
15978
|
+
goog.math.Size = module$contents$goog$math$Size_Size;
|
|
15942
15979
|
goog.string.Const = function(opt_token, opt_content) {
|
|
15943
15980
|
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
15944
15981
|
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
@@ -17877,7 +17914,7 @@ goog.dom.getViewportSize = function(opt_window) {
|
|
|
17877
17914
|
};
|
|
17878
17915
|
goog.dom.getViewportSize_ = function(win) {
|
|
17879
17916
|
var doc = win.document, el = goog.dom.isCss1CompatMode_(doc) ? doc.documentElement : doc.body;
|
|
17880
|
-
return new goog
|
|
17917
|
+
return new module$contents$goog$math$Size_Size(el.clientWidth, el.clientHeight);
|
|
17881
17918
|
};
|
|
17882
17919
|
goog.dom.getDocumentHeight = function() {
|
|
17883
17920
|
return goog.dom.getDocumentHeight_(window);
|
|
@@ -17911,7 +17948,7 @@ goog.dom.getDocumentScroll = function() {
|
|
|
17911
17948
|
};
|
|
17912
17949
|
goog.dom.getDocumentScroll_ = function(doc) {
|
|
17913
17950
|
var el = goog.dom.getDocumentScrollElement_(doc), win = goog.dom.getWindow_(doc);
|
|
17914
|
-
return new goog
|
|
17951
|
+
return new module$contents$goog$math$Coordinate_Coordinate((win == null ? void 0 : win.pageXOffset) || el.scrollLeft, (win == null ? void 0 : win.pageYOffset) || el.scrollTop);
|
|
17915
17952
|
};
|
|
17916
17953
|
goog.dom.getDocumentScrollElement = function() {
|
|
17917
17954
|
return goog.dom.getDocumentScrollElement_(document);
|
|
@@ -17997,7 +18034,7 @@ goog.dom.isCss1CompatMode_ = function(doc) {
|
|
|
17997
18034
|
return goog.dom.COMPAT_MODE_KNOWN_ ? goog.dom.ASSUME_STANDARDS_MODE : doc.compatMode == "CSS1Compat";
|
|
17998
18035
|
};
|
|
17999
18036
|
goog.dom.canHaveChildren = function(node) {
|
|
18000
|
-
if (node.nodeType != goog
|
|
18037
|
+
if (node.nodeType != module$contents$goog$dom$NodeType_NodeType.ELEMENT) {
|
|
18001
18038
|
return !1;
|
|
18002
18039
|
}
|
|
18003
18040
|
switch(node.tagName) {
|
|
@@ -18071,7 +18108,7 @@ goog.dom.copyContents = function(target, source) {
|
|
|
18071
18108
|
};
|
|
18072
18109
|
goog.dom.flattenElement = function(element) {
|
|
18073
18110
|
var child, parent = element.parentNode;
|
|
18074
|
-
if (parent && parent.nodeType != goog
|
|
18111
|
+
if (parent && parent.nodeType != module$contents$goog$dom$NodeType_NodeType.DOCUMENT_FRAGMENT) {
|
|
18075
18112
|
if (element.removeNode) {
|
|
18076
18113
|
return element.removeNode(!1);
|
|
18077
18114
|
}
|
|
@@ -18083,7 +18120,7 @@ goog.dom.flattenElement = function(element) {
|
|
|
18083
18120
|
};
|
|
18084
18121
|
goog.dom.getChildren = function(element) {
|
|
18085
18122
|
return goog.FEATURESET_YEAR > 2018 || element.children != void 0 ? element.children : Array.prototype.filter.call(element.childNodes, function(node) {
|
|
18086
|
-
return node.nodeType == goog
|
|
18123
|
+
return node.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
18087
18124
|
});
|
|
18088
18125
|
};
|
|
18089
18126
|
goog.dom.getFirstElementChild = function(node) {
|
|
@@ -18099,7 +18136,7 @@ goog.dom.getPreviousElementSibling = function(node) {
|
|
|
18099
18136
|
return node.previousElementSibling !== void 0 ? node.previousElementSibling : goog.dom.getNextElementNode_(node.previousSibling, !1);
|
|
18100
18137
|
};
|
|
18101
18138
|
goog.dom.getNextElementNode_ = function(node, forward) {
|
|
18102
|
-
for (; node && node.nodeType != goog
|
|
18139
|
+
for (; node && node.nodeType != module$contents$goog$dom$NodeType_NodeType.ELEMENT;) {
|
|
18103
18140
|
node = forward ? node.nextSibling : node.previousSibling;
|
|
18104
18141
|
}
|
|
18105
18142
|
return node;
|
|
@@ -18132,7 +18169,7 @@ goog.dom.isNodeLike = function(obj) {
|
|
|
18132
18169
|
return goog.isObject(obj) && obj.nodeType > 0;
|
|
18133
18170
|
};
|
|
18134
18171
|
goog.dom.isElement = function(obj) {
|
|
18135
|
-
return goog.isObject(obj) && obj.nodeType == goog
|
|
18172
|
+
return goog.isObject(obj) && obj.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
18136
18173
|
};
|
|
18137
18174
|
goog.dom.isWindow = function(obj) {
|
|
18138
18175
|
return goog.isObject(obj) && obj.window == obj;
|
|
@@ -18144,7 +18181,7 @@ goog.dom.contains = function(parent, descendant) {
|
|
|
18144
18181
|
if (!parent || !descendant) {
|
|
18145
18182
|
return !1;
|
|
18146
18183
|
}
|
|
18147
|
-
if (goog.FEATURESET_YEAR > 2018 || parent.contains && descendant.nodeType == goog
|
|
18184
|
+
if (goog.FEATURESET_YEAR > 2018 || parent.contains && descendant.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT) {
|
|
18148
18185
|
return parent == descendant || parent.contains(descendant);
|
|
18149
18186
|
}
|
|
18150
18187
|
if (typeof parent.compareDocumentPosition != "undefined") {
|
|
@@ -18163,7 +18200,7 @@ goog.dom.compareNodeOrder = function(node1, node2) {
|
|
|
18163
18200
|
return node1.compareDocumentPosition(node2) & 2 ? 1 : -1;
|
|
18164
18201
|
}
|
|
18165
18202
|
if ("sourceIndex" in node1 || node1.parentNode && "sourceIndex" in node1.parentNode) {
|
|
18166
|
-
var isElement1 = node1.nodeType == goog
|
|
18203
|
+
var isElement1 = node1.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT, isElement2 = node2.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
18167
18204
|
if (isElement1 && isElement2) {
|
|
18168
18205
|
return node1.sourceIndex - node2.sourceIndex;
|
|
18169
18206
|
}
|
|
@@ -18229,7 +18266,7 @@ goog.dom.isInDocument = function(node) {
|
|
|
18229
18266
|
};
|
|
18230
18267
|
goog.dom.getOwnerDocument = function(node) {
|
|
18231
18268
|
goog.asserts.assert(node, "Node cannot be null or undefined.");
|
|
18232
|
-
return node.nodeType == goog
|
|
18269
|
+
return node.nodeType == module$contents$goog$dom$NodeType_NodeType.DOCUMENT ? node : node.ownerDocument || node.document;
|
|
18233
18270
|
};
|
|
18234
18271
|
goog.dom.getFrameContentDocument = function(frame) {
|
|
18235
18272
|
return frame.contentDocument || frame.contentWindow.document;
|
|
@@ -18245,9 +18282,9 @@ goog.dom.setTextContent = function(node, text) {
|
|
|
18245
18282
|
goog.asserts.assert(node != null, "goog.dom.setTextContent expects a non-null value for node");
|
|
18246
18283
|
if ("textContent" in node) {
|
|
18247
18284
|
node.textContent = text;
|
|
18248
|
-
} else if (node.nodeType == goog
|
|
18285
|
+
} else if (node.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18249
18286
|
node.data = String(text);
|
|
18250
|
-
} else if (node.firstChild && node.firstChild.nodeType == goog
|
|
18287
|
+
} else if (node.firstChild && node.firstChild.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18251
18288
|
for (; node.lastChild != node.firstChild;) {
|
|
18252
18289
|
node.removeChild(goog.asserts.assert(node.lastChild));
|
|
18253
18290
|
}
|
|
@@ -18310,7 +18347,7 @@ goog.dom.findElements = function(root, pred) {
|
|
|
18310
18347
|
return result;
|
|
18311
18348
|
};
|
|
18312
18349
|
goog.dom.getChildrenReverse_ = function(node) {
|
|
18313
|
-
if (node.nodeType == goog
|
|
18350
|
+
if (node.nodeType == module$contents$goog$dom$NodeType_NodeType.DOCUMENT) {
|
|
18314
18351
|
return [node.documentElement];
|
|
18315
18352
|
}
|
|
18316
18353
|
for (var children = [], c = node.lastElementChild; c; c = c.previousElementSibling) {
|
|
@@ -18360,7 +18397,7 @@ goog.dom.getRawTextContent = function(node) {
|
|
|
18360
18397
|
};
|
|
18361
18398
|
goog.dom.getTextContent_ = function(node, buf, normalizeWhitespace) {
|
|
18362
18399
|
if (!(node.nodeName in goog.dom.TAGS_TO_IGNORE_)) {
|
|
18363
|
-
if (node.nodeType == goog
|
|
18400
|
+
if (node.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18364
18401
|
normalizeWhitespace ? buf.push(String(node.nodeValue).replace(/(\r\n|\r|\n)/g, "")) : buf.push(node.nodeValue);
|
|
18365
18402
|
} else if (node.nodeName in goog.dom.PREDEFINED_TAG_VALUES_) {
|
|
18366
18403
|
buf.push(goog.dom.PREDEFINED_TAG_VALUES_[node.nodeName]);
|
|
@@ -18386,7 +18423,7 @@ goog.dom.getNodeTextOffset = function(node, opt_offsetParent) {
|
|
|
18386
18423
|
goog.dom.getNodeAtOffset = function(parent, offset, opt_result) {
|
|
18387
18424
|
for (var stack = [parent], pos = 0, cur = null; stack.length > 0 && pos < offset;) {
|
|
18388
18425
|
if (cur = stack.pop(), !(cur.nodeName in goog.dom.TAGS_TO_IGNORE_)) {
|
|
18389
|
-
if (cur.nodeType == goog
|
|
18426
|
+
if (cur.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18390
18427
|
var text = cur.nodeValue.replace(/(\r\n|\r|\n)/g, "").replace(/ +/g, " ");
|
|
18391
18428
|
pos += text.length;
|
|
18392
18429
|
} else if (cur.nodeName in goog.dom.PREDEFINED_TAG_VALUES_) {
|
|
@@ -18931,44 +18968,38 @@ goog.net.jsloader.Error = function(code, opt_message) {
|
|
|
18931
18968
|
};
|
|
18932
18969
|
goog.inherits(goog.net.jsloader.Error, module$contents$goog$debug$Error_DebugError);
|
|
18933
18970
|
goog.json = {};
|
|
18934
|
-
goog
|
|
18935
|
-
goog.json.isValid = function(s) {
|
|
18971
|
+
function module$contents$goog$json_isValid(s) {
|
|
18936
18972
|
return /^\s*$/.test(s) ? !1 : /^[\],:{}\s\u2028\u2029]*$/.test(s.replace(/\\["\\\/bfnrtu]/g, "@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g, "]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g, ""));
|
|
18937
|
-
}
|
|
18938
|
-
goog
|
|
18939
|
-
}
|
|
18940
|
-
goog.json.setErrorLogger = function(errorLogger) {
|
|
18941
|
-
goog.json.errorLogger_ = errorLogger;
|
|
18942
|
-
};
|
|
18943
|
-
goog.json.parse = goog.json.USE_NATIVE_JSON ? goog.global.JSON.parse : function(s) {
|
|
18973
|
+
}
|
|
18974
|
+
var module$contents$goog$json_errorLoggerInternal = function() {
|
|
18975
|
+
}, module$contents$goog$json_parse = function(s) {
|
|
18944
18976
|
try {
|
|
18945
18977
|
return goog.global.JSON.parse(s);
|
|
18946
18978
|
} catch (ex) {
|
|
18947
18979
|
var error = ex;
|
|
18948
18980
|
}
|
|
18949
18981
|
var o = String(s);
|
|
18950
|
-
if (goog
|
|
18982
|
+
if (module$contents$goog$json_isValid(o)) {
|
|
18951
18983
|
try {
|
|
18952
18984
|
var result = eval("(" + o + ")");
|
|
18953
|
-
error && goog
|
|
18985
|
+
error && module$contents$goog$json_errorLoggerInternal("Invalid JSON: " + o, error);
|
|
18954
18986
|
return result;
|
|
18955
18987
|
} catch (ex) {
|
|
18956
18988
|
}
|
|
18957
18989
|
}
|
|
18958
18990
|
throw Error("Invalid JSON string: " + o);
|
|
18991
|
+
}, module$contents$goog$json_serialize = function(object, opt_replacer) {
|
|
18992
|
+
return (new module$contents$goog$json_Serializer(opt_replacer)).serialize(object);
|
|
18959
18993
|
};
|
|
18960
|
-
|
|
18961
|
-
return (new goog.json.Serializer(opt_replacer)).serialize(object);
|
|
18962
|
-
};
|
|
18963
|
-
goog.json.Serializer = function(opt_replacer) {
|
|
18994
|
+
function module$contents$goog$json_Serializer(opt_replacer) {
|
|
18964
18995
|
this.replacer_ = opt_replacer;
|
|
18965
|
-
}
|
|
18966
|
-
goog.
|
|
18996
|
+
}
|
|
18997
|
+
module$contents$goog$json_Serializer.prototype.serialize = function(object) {
|
|
18967
18998
|
var sb = [];
|
|
18968
18999
|
this.serializeInternal(object, sb);
|
|
18969
19000
|
return sb.join("");
|
|
18970
19001
|
};
|
|
18971
|
-
goog.
|
|
19002
|
+
module$contents$goog$json_Serializer.prototype.serializeInternal = function(object, sb) {
|
|
18972
19003
|
if (object == null) {
|
|
18973
19004
|
sb.push("null");
|
|
18974
19005
|
} else {
|
|
@@ -19002,19 +19033,19 @@ goog.json.Serializer.prototype.serializeInternal = function(object, sb) {
|
|
|
19002
19033
|
}
|
|
19003
19034
|
}
|
|
19004
19035
|
};
|
|
19005
|
-
goog.
|
|
19006
|
-
goog.
|
|
19007
|
-
goog.
|
|
19008
|
-
sb.push('"', s.replace(goog.
|
|
19009
|
-
var rv = goog.
|
|
19010
|
-
rv || (rv = "\\u" + (c.charCodeAt(0) | 65536).toString(16).slice(1), goog.
|
|
19036
|
+
module$contents$goog$json_Serializer.charToJsonCharCache_ = {'"':'\\"', "\\":"\\\\", "/":"\\/", "\b":"\\b", "\f":"\\f", "\n":"\\n", "\r":"\\r", "\t":"\\t", "\v":"\\u000b"};
|
|
19037
|
+
module$contents$goog$json_Serializer.charsToReplace_ = /\uffff/.test("\uffff") ? /[\\"\x00-\x1f\x7f-\uffff]/g : /[\\"\x00-\x1f\x7f-\xff]/g;
|
|
19038
|
+
module$contents$goog$json_Serializer.prototype.serializeString_ = function(s, sb) {
|
|
19039
|
+
sb.push('"', s.replace(module$contents$goog$json_Serializer.charsToReplace_, function(c) {
|
|
19040
|
+
var rv = module$contents$goog$json_Serializer.charToJsonCharCache_[c];
|
|
19041
|
+
rv || (rv = "\\u" + (c.charCodeAt(0) | 65536).toString(16).slice(1), module$contents$goog$json_Serializer.charToJsonCharCache_[c] = rv);
|
|
19011
19042
|
return rv;
|
|
19012
19043
|
}), '"');
|
|
19013
19044
|
};
|
|
19014
|
-
goog.
|
|
19045
|
+
module$contents$goog$json_Serializer.prototype.serializeNumber_ = function(n, sb) {
|
|
19015
19046
|
sb.push(isFinite(n) && !isNaN(n) ? String(n) : "null");
|
|
19016
19047
|
};
|
|
19017
|
-
goog.
|
|
19048
|
+
module$contents$goog$json_Serializer.prototype.serializeArray = function(arr, sb) {
|
|
19018
19049
|
var l = arr.length;
|
|
19019
19050
|
sb.push("[");
|
|
19020
19051
|
for (var sep = "", i = 0; i < l; i++) {
|
|
@@ -19025,7 +19056,7 @@ goog.json.Serializer.prototype.serializeArray = function(arr, sb) {
|
|
|
19025
19056
|
}
|
|
19026
19057
|
sb.push("]");
|
|
19027
19058
|
};
|
|
19028
|
-
goog.
|
|
19059
|
+
module$contents$goog$json_Serializer.prototype.serializeObject_ = function(obj, sb) {
|
|
19029
19060
|
sb.push("{");
|
|
19030
19061
|
var sep = "", key;
|
|
19031
19062
|
for (key in obj) {
|
|
@@ -19036,57 +19067,68 @@ goog.json.Serializer.prototype.serializeObject_ = function(obj, sb) {
|
|
|
19036
19067
|
}
|
|
19037
19068
|
sb.push("}");
|
|
19038
19069
|
};
|
|
19070
|
+
goog.json.Replacer = void 0;
|
|
19071
|
+
goog.json.Reviver = void 0;
|
|
19072
|
+
goog.json.Serializer = module$contents$goog$json_Serializer;
|
|
19073
|
+
goog.json.USE_NATIVE_JSON = !1;
|
|
19074
|
+
goog.json.isValid = module$contents$goog$json_isValid;
|
|
19075
|
+
goog.json.parse = module$contents$goog$json_parse;
|
|
19076
|
+
goog.json.serialize = module$contents$goog$json_serialize;
|
|
19077
|
+
goog.json.setErrorLogger = function(errorLogger) {
|
|
19078
|
+
module$contents$goog$json_errorLoggerInternal = errorLogger;
|
|
19079
|
+
};
|
|
19039
19080
|
goog.json.hybrid = {};
|
|
19040
|
-
|
|
19081
|
+
function module$contents$goog$json$hybrid_parseInternal(jsonString, fallbackParser) {
|
|
19041
19082
|
if (goog.global.JSON) {
|
|
19042
19083
|
try {
|
|
19043
|
-
|
|
19084
|
+
var obj = goog.global.JSON.parse(jsonString);
|
|
19085
|
+
goog.asserts.assert(typeof obj == "object");
|
|
19086
|
+
return obj;
|
|
19044
19087
|
} catch (e) {
|
|
19045
19088
|
}
|
|
19046
19089
|
}
|
|
19047
|
-
return
|
|
19090
|
+
return fallbackParser(jsonString);
|
|
19091
|
+
}
|
|
19092
|
+
var module$contents$goog$json$hybrid_parse = function(jsonString) {
|
|
19093
|
+
return module$contents$goog$json$hybrid_parseInternal(jsonString, module$contents$goog$json_parse);
|
|
19048
19094
|
};
|
|
19049
|
-
goog.json.hybrid.
|
|
19095
|
+
goog.json.hybrid.parse = module$contents$goog$json$hybrid_parse;
|
|
19096
|
+
goog.json.hybrid.stringify = function(obj) {
|
|
19050
19097
|
if (goog.global.JSON) {
|
|
19051
19098
|
try {
|
|
19052
|
-
|
|
19053
|
-
goog.asserts.assert(typeof obj == "object");
|
|
19054
|
-
return obj;
|
|
19099
|
+
return goog.global.JSON.stringify(obj);
|
|
19055
19100
|
} catch (e) {
|
|
19056
19101
|
}
|
|
19057
19102
|
}
|
|
19058
|
-
return
|
|
19103
|
+
return module$contents$goog$json_serialize(obj);
|
|
19059
19104
|
};
|
|
19060
|
-
goog
|
|
19061
|
-
return goog.json.hybrid.parse_(jsonString, goog.json.parse);
|
|
19062
|
-
};
|
|
19063
|
-
goog.net.ErrorCode = {NO_ERROR:0, ACCESS_DENIED:1, FILE_NOT_FOUND:2, FF_SILENT_ERROR:3, CUSTOM_ERROR:4, EXCEPTION:5, HTTP_ERROR:6, ABORT:7, TIMEOUT:8, OFFLINE:9};
|
|
19064
|
-
goog.net.ErrorCode.getDebugMessage = function(errorCode) {
|
|
19105
|
+
var module$contents$goog$net$ErrorCode_ErrorCode = {NO_ERROR:0, ACCESS_DENIED:1, FILE_NOT_FOUND:2, FF_SILENT_ERROR:3, CUSTOM_ERROR:4, EXCEPTION:5, HTTP_ERROR:6, ABORT:7, TIMEOUT:8, OFFLINE:9, getDebugMessage:function(errorCode) {
|
|
19065
19106
|
switch(errorCode) {
|
|
19066
|
-
case goog
|
|
19107
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.NO_ERROR:
|
|
19067
19108
|
return "No Error";
|
|
19068
|
-
case goog
|
|
19109
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.ACCESS_DENIED:
|
|
19069
19110
|
return "Access denied to content document";
|
|
19070
|
-
case goog
|
|
19111
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.FILE_NOT_FOUND:
|
|
19071
19112
|
return "File not found";
|
|
19072
|
-
case goog
|
|
19113
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.FF_SILENT_ERROR:
|
|
19073
19114
|
return "Firefox silently errored";
|
|
19074
|
-
case goog
|
|
19115
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.CUSTOM_ERROR:
|
|
19075
19116
|
return "Application custom error";
|
|
19076
|
-
case goog
|
|
19117
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.EXCEPTION:
|
|
19077
19118
|
return "An exception occurred";
|
|
19078
|
-
case goog
|
|
19119
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.HTTP_ERROR:
|
|
19079
19120
|
return "Http response at 400 or 500 level";
|
|
19080
|
-
case goog
|
|
19121
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.ABORT:
|
|
19081
19122
|
return "Request was aborted";
|
|
19082
|
-
case goog
|
|
19123
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT:
|
|
19083
19124
|
return "Request timed out";
|
|
19084
|
-
case goog
|
|
19125
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.OFFLINE:
|
|
19085
19126
|
return "The resource is not available offline";
|
|
19086
19127
|
default:
|
|
19087
19128
|
return "Unrecognized error code";
|
|
19088
19129
|
}
|
|
19089
|
-
};
|
|
19130
|
+
}};
|
|
19131
|
+
goog.net.ErrorCode = module$contents$goog$net$ErrorCode_ErrorCode;
|
|
19090
19132
|
goog.net.EventType = {COMPLETE:"complete", SUCCESS:"success", ERROR:"error", ABORT:"abort", READY:"ready", READY_STATE_CHANGE:"readystatechange", TIMEOUT:"timeout", INCREMENTAL_DATA:"incrementaldata", PROGRESS:"progress", DOWNLOAD_PROGRESS:"downloadprogress", UPLOAD_PROGRESS:"uploadprogress"};
|
|
19091
19133
|
goog.net.HttpStatus = {CONTINUE:100, SWITCHING_PROTOCOLS:101, OK:200, CREATED:201, ACCEPTED:202, NON_AUTHORITATIVE_INFORMATION:203, NO_CONTENT:204, RESET_CONTENT:205, PARTIAL_CONTENT:206, MULTI_STATUS:207, MULTIPLE_CHOICES:300, MOVED_PERMANENTLY:301, FOUND:302, SEE_OTHER:303, NOT_MODIFIED:304, USE_PROXY:305, TEMPORARY_REDIRECT:307, PERMANENT_REDIRECT:308, BAD_REQUEST:400, UNAUTHORIZED:401, PAYMENT_REQUIRED:402, FORBIDDEN:403, NOT_FOUND:404, METHOD_NOT_ALLOWED:405, NOT_ACCEPTABLE:406, PROXY_AUTHENTICATION_REQUIRED:407,
|
|
19092
19134
|
REQUEST_TIMEOUT:408, CONFLICT:409, GONE:410, LENGTH_REQUIRED:411, PRECONDITION_FAILED:412, REQUEST_ENTITY_TOO_LARGE:413, REQUEST_URI_TOO_LONG:414, UNSUPPORTED_MEDIA_TYPE:415, REQUEST_RANGE_NOT_SATISFIABLE:416, EXPECTATION_FAILED:417, UNPROCESSABLE_ENTITY:422, LOCKED:423, FAILED_DEPENDENCY:424, PRECONDITION_REQUIRED:428, TOO_MANY_REQUESTS:429, REQUEST_HEADER_FIELDS_TOO_LARGE:431, CLIENT_CLOSED_REQUEST:499, INTERNAL_SERVER_ERROR:500, NOT_IMPLEMENTED:501, BAD_GATEWAY:502, SERVICE_UNAVAILABLE:503, GATEWAY_TIMEOUT:504,
|
|
@@ -19105,22 +19147,24 @@ goog.net.HttpStatus.isSuccess = function(status) {
|
|
|
19105
19147
|
return !1;
|
|
19106
19148
|
}
|
|
19107
19149
|
};
|
|
19108
|
-
goog
|
|
19109
|
-
}
|
|
19110
|
-
goog
|
|
19150
|
+
function module$contents$goog$net$XhrLike_XhrLike() {
|
|
19151
|
+
}
|
|
19152
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.open = function(method, url, opt_async, opt_user, opt_password) {
|
|
19111
19153
|
};
|
|
19112
|
-
goog
|
|
19154
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.send = function(opt_data) {
|
|
19113
19155
|
};
|
|
19114
|
-
goog
|
|
19156
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.abort = function() {
|
|
19115
19157
|
};
|
|
19116
|
-
goog
|
|
19158
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.setRequestHeader = function(header, value) {
|
|
19117
19159
|
};
|
|
19118
|
-
goog
|
|
19160
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.getResponseHeader = function(header) {
|
|
19119
19161
|
};
|
|
19120
|
-
goog
|
|
19162
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.getAllResponseHeaders = function() {
|
|
19121
19163
|
};
|
|
19122
|
-
goog
|
|
19164
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.setTrustToken = function(trustTokenAttribute) {
|
|
19123
19165
|
};
|
|
19166
|
+
goog.net.XhrLike = module$contents$goog$net$XhrLike_XhrLike;
|
|
19167
|
+
module$contents$goog$net$XhrLike_XhrLike.OrNative = void 0;
|
|
19124
19168
|
function module$contents$goog$net$XmlHttpFactory_XmlHttpFactory() {
|
|
19125
19169
|
}
|
|
19126
19170
|
goog.net.XmlHttpFactory = module$contents$goog$net$XmlHttpFactory_XmlHttpFactory;
|
|
@@ -19145,7 +19189,7 @@ goog.net.XhrIo = function(opt_xmlHttpFactory) {
|
|
|
19145
19189
|
this.active_ = !1;
|
|
19146
19190
|
this.xhr_ = null;
|
|
19147
19191
|
this.lastMethod_ = this.lastUri_ = "";
|
|
19148
|
-
this.lastErrorCode_ = goog
|
|
19192
|
+
this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.NO_ERROR;
|
|
19149
19193
|
this.lastError_ = "";
|
|
19150
19194
|
this.inAbort_ = this.inOpen_ = this.inSend_ = this.errorDispatched_ = !1;
|
|
19151
19195
|
this.timeoutInterval_ = 0;
|
|
@@ -19229,7 +19273,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19229
19273
|
var method = opt_method ? opt_method.toUpperCase() : "GET";
|
|
19230
19274
|
this.lastUri_ = url;
|
|
19231
19275
|
this.lastError_ = "";
|
|
19232
|
-
this.lastErrorCode_ = goog
|
|
19276
|
+
this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.NO_ERROR;
|
|
19233
19277
|
this.lastMethod_ = method;
|
|
19234
19278
|
this.errorDispatched_ = !1;
|
|
19235
19279
|
this.active_ = !0;
|
|
@@ -19242,7 +19286,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19242
19286
|
goog.log.fine(this.logger_, this.formatMsg_("Opening Xhr")), this.inOpen_ = !0, this.xhr_.open(method, String(url), !0), this.inOpen_ = !1;
|
|
19243
19287
|
} catch (err) {
|
|
19244
19288
|
goog.log.fine(this.logger_, this.formatMsg_("Error opening Xhr: " + err.message));
|
|
19245
|
-
this.error_(goog
|
|
19289
|
+
this.error_(module$contents$goog$net$ErrorCode_ErrorCode.EXCEPTION, err);
|
|
19246
19290
|
return;
|
|
19247
19291
|
}
|
|
19248
19292
|
var content = opt_content || "", headers = new Map(this.headers);
|
|
@@ -19287,14 +19331,14 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19287
19331
|
try {
|
|
19288
19332
|
this.cleanUpTimeoutTimer_(), this.timeoutInterval_ > 0 && (goog.log.fine(this.logger_, this.formatMsg_("Will abort after " + this.timeoutInterval_ + "ms if incomplete")), this.timeoutId_ = setTimeout(this.timeout_.bind(this), this.timeoutInterval_)), goog.log.fine(this.logger_, this.formatMsg_("Sending request")), this.inSend_ = !0, this.xhr_.send(content), this.inSend_ = !1;
|
|
19289
19333
|
} catch (err) {
|
|
19290
|
-
goog.log.fine(this.logger_, this.formatMsg_("Send error: " + err.message)), this.error_(goog
|
|
19334
|
+
goog.log.fine(this.logger_, this.formatMsg_("Send error: " + err.message)), this.error_(module$contents$goog$net$ErrorCode_ErrorCode.EXCEPTION, err);
|
|
19291
19335
|
}
|
|
19292
19336
|
};
|
|
19293
19337
|
goog.net.XhrIo.prototype.createXhr = function() {
|
|
19294
19338
|
return this.xmlHttpFactory_ ? this.xmlHttpFactory_.createInstance() : goog.net.XmlHttp();
|
|
19295
19339
|
};
|
|
19296
19340
|
goog.net.XhrIo.prototype.timeout_ = function() {
|
|
19297
|
-
typeof goog != "undefined" && this.xhr_ && (this.lastError_ = "Timed out after " + this.timeoutInterval_ + "ms, aborting", this.lastErrorCode_ = goog
|
|
19341
|
+
typeof goog != "undefined" && this.xhr_ && (this.lastError_ = "Timed out after " + this.timeoutInterval_ + "ms, aborting", this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT, goog.log.fine(this.logger_, this.formatMsg_(this.lastError_)), this.dispatchEvent(goog.net.EventType.TIMEOUT), this.abort(module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT));
|
|
19298
19342
|
};
|
|
19299
19343
|
goog.net.XhrIo.prototype.error_ = function(errorCode, err) {
|
|
19300
19344
|
this.active_ = !1;
|
|
@@ -19308,7 +19352,7 @@ goog.net.XhrIo.prototype.dispatchErrors_ = function() {
|
|
|
19308
19352
|
this.errorDispatched_ || (this.errorDispatched_ = !0, this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.ERROR));
|
|
19309
19353
|
};
|
|
19310
19354
|
goog.net.XhrIo.prototype.abort = function(opt_failureCode) {
|
|
19311
|
-
this.xhr_ && this.active_ && (goog.log.fine(this.logger_, this.formatMsg_("Aborting")), this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1, this.lastErrorCode_ = opt_failureCode || goog
|
|
19355
|
+
this.xhr_ && this.active_ && (goog.log.fine(this.logger_, this.formatMsg_("Aborting")), this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1, this.lastErrorCode_ = opt_failureCode || module$contents$goog$net$ErrorCode_ErrorCode.ABORT, this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.ABORT), this.cleanUpXhr_());
|
|
19312
19356
|
};
|
|
19313
19357
|
goog.net.XhrIo.prototype.disposeInternal = function() {
|
|
19314
19358
|
this.xhr_ && (this.active_ && (this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1), this.cleanUpXhr_(!0));
|
|
@@ -19335,7 +19379,7 @@ goog.net.XhrIo.prototype.onReadyStateChangeHelper_ = function() {
|
|
|
19335
19379
|
goog.log.fine(this.logger_, this.formatMsg_("Request complete"));
|
|
19336
19380
|
this.active_ = !1;
|
|
19337
19381
|
try {
|
|
19338
|
-
this.isSuccess() ? (this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.SUCCESS)) : (this.lastErrorCode_ = goog
|
|
19382
|
+
this.isSuccess() ? (this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.SUCCESS)) : (this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.HTTP_ERROR, this.lastError_ = this.getStatusText() + " [" + this.getStatus() + "]", this.dispatchErrors_());
|
|
19339
19383
|
} finally {
|
|
19340
19384
|
this.cleanUpXhr_();
|
|
19341
19385
|
}
|
|
@@ -19378,7 +19422,7 @@ goog.net.XhrIo.prototype.isSuccess = function() {
|
|
|
19378
19422
|
return goog.net.HttpStatus.isSuccess(status) || status === 0 && !this.isLastUriEffectiveSchemeHttp_();
|
|
19379
19423
|
};
|
|
19380
19424
|
goog.net.XhrIo.prototype.isLastUriEffectiveSchemeHttp_ = function() {
|
|
19381
|
-
var scheme = goog
|
|
19425
|
+
var scheme = module$contents$goog$uri$utils_getEffectiveScheme(String(this.lastUri_));
|
|
19382
19426
|
return goog.net.XhrIo.HTTP_SCHEME_PATTERN.test(scheme);
|
|
19383
19427
|
};
|
|
19384
19428
|
goog.net.XhrIo.prototype.getReadyState = function() {
|
|
@@ -19429,7 +19473,7 @@ goog.net.XhrIo.prototype.getResponseJson = function(opt_xssiPrefix) {
|
|
|
19429
19473
|
if (this.xhr_) {
|
|
19430
19474
|
var responseText = this.xhr_.responseText;
|
|
19431
19475
|
opt_xssiPrefix && responseText.indexOf(opt_xssiPrefix) == 0 && (responseText = responseText.substring(opt_xssiPrefix.length));
|
|
19432
|
-
return goog
|
|
19476
|
+
return module$contents$goog$json$hybrid_parse(responseText);
|
|
19433
19477
|
}
|
|
19434
19478
|
};
|
|
19435
19479
|
goog.net.XhrIo.prototype.getResponse = function() {
|
|
@@ -19502,7 +19546,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19502
19546
|
ee.apiclient = {};
|
|
19503
19547
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19504
19548
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19505
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19549
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.3";
|
|
19506
19550
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19507
19551
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19508
19552
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19807,8 +19851,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19807
19851
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19808
19852
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19809
19853
|
method = method || "POST";
|
|
19810
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19811
|
-
version === "1.7.
|
|
19854
|
+
var headers = {"Content-Type":contentType}, version = "1.7.3";
|
|
19855
|
+
version === "1.7.3" && (version = "latest");
|
|
19812
19856
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19813
19857
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19814
19858
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -20912,7 +20956,7 @@ ee.Serializer = function(opt_isCompound) {
|
|
|
20912
20956
|
this.unboundName = void 0;
|
|
20913
20957
|
};
|
|
20914
20958
|
goog.exportSymbol("ee.Serializer", ee.Serializer);
|
|
20915
|
-
ee.Serializer.jsonSerializer_ = new goog
|
|
20959
|
+
ee.Serializer.jsonSerializer_ = new module$contents$goog$json_Serializer();
|
|
20916
20960
|
ee.Serializer.hash_ = new module$contents$goog$crypt$Md5_Md5();
|
|
20917
20961
|
ee.Serializer.encode = function(obj, opt_isCompound) {
|
|
20918
20962
|
return (new ee.Serializer(opt_isCompound !== void 0 ? opt_isCompound : !0)).encode_(obj);
|
|
@@ -21389,7 +21433,7 @@ ee.rpc_convert_batch.buildDriveDestination_ = function(params) {
|
|
|
21389
21433
|
return new module$exports$eeapiclient$ee_api_client.DriveDestination({folder:stringOrNull_(params.driveFolder), filenamePrefix:stringOrNull_(params.driveFileNamePrefix)});
|
|
21390
21434
|
};
|
|
21391
21435
|
ee.rpc_convert_batch.buildEarthEngineDestination_ = function(params) {
|
|
21392
|
-
return new module$exports$eeapiclient$ee_api_client.EarthEngineDestination({name:ee.rpc_convert.assetIdToAssetName(params.assetId)});
|
|
21436
|
+
return new module$exports$eeapiclient$ee_api_client.EarthEngineDestination({name:ee.rpc_convert.assetIdToAssetName(params.assetId), overwrite:!!params.overwrite});
|
|
21393
21437
|
};
|
|
21394
21438
|
ee.rpc_convert_batch.buildFeatureViewDestination_ = function(params) {
|
|
21395
21439
|
return new module$exports$eeapiclient$ee_api_client.FeatureViewDestination({name:ee.rpc_convert.assetIdToAssetName(params.mapName)});
|
|
@@ -22657,7 +22701,7 @@ ee.arguments.extractImpl_ = function(fn, originalArgs, parameterMatcher) {
|
|
|
22657
22701
|
args[paramNames[i]] = originalArgs[i];
|
|
22658
22702
|
}
|
|
22659
22703
|
} else {
|
|
22660
|
-
var seen = new goog
|
|
22704
|
+
var seen = new module$contents$goog$structs$Set_Set(module$contents$goog$object_getKeys(firstArg)), expected = new module$contents$goog$structs$Set_Set(paramNames);
|
|
22661
22705
|
if (expected.intersection(seen).isEmpty()) {
|
|
22662
22706
|
args[paramNames[0]] = originalArgs[0];
|
|
22663
22707
|
} else {
|
|
@@ -22668,7 +22712,7 @@ ee.arguments.extractImpl_ = function(fn, originalArgs, parameterMatcher) {
|
|
|
22668
22712
|
args = module$contents$goog$object_clone(firstArg);
|
|
22669
22713
|
}
|
|
22670
22714
|
}
|
|
22671
|
-
var provided = new goog
|
|
22715
|
+
var provided = new module$contents$goog$structs$Set_Set(module$contents$goog$object_getKeys(args)), missing = (new module$contents$goog$structs$Set_Set(module$contents$goog$array_filter(paramNamesWithOptPrefix, function(param) {
|
|
22672
22716
|
return !goog.string.startsWith(param, "opt_");
|
|
22673
22717
|
}))).difference(provided);
|
|
22674
22718
|
if (missing.size !== 0) {
|
|
@@ -22780,7 +22824,7 @@ ee.Geometry = function(geoJson, opt_proj, opt_geodesic, opt_evenOdd) {
|
|
|
22780
22824
|
if (goog.isObject(geoJson.crs) && geoJson.crs.type == "name" && goog.isObject(geoJson.crs.properties) && typeof geoJson.crs.properties.name === "string") {
|
|
22781
22825
|
this.proj_ = geoJson.crs.properties.name;
|
|
22782
22826
|
} else {
|
|
22783
|
-
throw Error("Invalid CRS declaration in GeoJSON: " + (new goog
|
|
22827
|
+
throw Error("Invalid CRS declaration in GeoJSON: " + (new module$contents$goog$json_Serializer()).serialize(geoJson.crs));
|
|
22784
22828
|
}
|
|
22785
22829
|
}
|
|
22786
22830
|
this.geodesic_ = opt_geodesic;
|
|
@@ -22943,7 +22987,7 @@ ee.Geometry.prototype.toGeoJSONString = function() {
|
|
|
22943
22987
|
if (this.func) {
|
|
22944
22988
|
throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");
|
|
22945
22989
|
}
|
|
22946
|
-
return (new goog
|
|
22990
|
+
return (new module$contents$goog$json_Serializer()).serialize(this.toGeoJSON());
|
|
22947
22991
|
};
|
|
22948
22992
|
goog.exportProperty(ee.Geometry.prototype, "toGeoJSONString", ee.Geometry.prototype.toGeoJSONString);
|
|
22949
22993
|
ee.Geometry.prototype.serialize = function(legacy) {
|
|
@@ -23973,7 +24017,7 @@ module$contents$ee$batch_ExportTask.prototype.start = function(opt_success, opt_
|
|
|
23973
24017
|
}
|
|
23974
24018
|
};
|
|
23975
24019
|
goog.exportProperty(module$contents$ee$batch_ExportTask.prototype, "start", module$contents$ee$batch_ExportTask.prototype.start);
|
|
23976
|
-
module$contents$ee$batch_Export.image.toAsset = function(image, opt_description, opt_assetId, opt_pyramidingPolicy, opt_dimensions, opt_region, opt_scale, opt_crs, opt_crsTransform, opt_maxPixels, opt_shardSize, opt_priority) {
|
|
24020
|
+
module$contents$ee$batch_Export.image.toAsset = function(image, opt_description, opt_assetId, opt_pyramidingPolicy, opt_dimensions, opt_region, opt_scale, opt_crs, opt_crsTransform, opt_maxPixels, opt_shardSize, opt_priority, opt_overwrite) {
|
|
23977
24021
|
var clientConfig = ee.arguments.extractFromFunction(module$contents$ee$batch_Export.image.toAsset, arguments), serverConfig = module$contents$ee$batch_Export.convertToServerParams(clientConfig, ee.data.ExportDestination.ASSET, ee.data.ExportType.IMAGE);
|
|
23978
24022
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
23979
24023
|
};
|
|
@@ -24005,7 +24049,7 @@ module$contents$ee$batch_Export.table.toDrive = function(collection, opt_descrip
|
|
|
24005
24049
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
24006
24050
|
};
|
|
24007
24051
|
goog.exportSymbol("module$contents$ee$batch_Export.table.toDrive", module$contents$ee$batch_Export.table.toDrive);
|
|
24008
|
-
module$contents$ee$batch_Export.table.toAsset = function(collection, opt_description, opt_assetId, opt_maxVertices, opt_priority) {
|
|
24052
|
+
module$contents$ee$batch_Export.table.toAsset = function(collection, opt_description, opt_assetId, opt_maxVertices, opt_priority, opt_overwrite) {
|
|
24009
24053
|
var clientConfig = ee.arguments.extractFromFunction(module$contents$ee$batch_Export.table.toAsset, arguments), serverConfig = module$contents$ee$batch_Export.convertToServerParams(clientConfig, ee.data.ExportDestination.ASSET, ee.data.ExportType.TABLE);
|
|
24010
24054
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
24011
24055
|
};
|
|
@@ -24141,6 +24185,7 @@ module$contents$ee$batch_Export.prepareDestination_ = function(taskConfig, desti
|
|
|
24141
24185
|
break;
|
|
24142
24186
|
case ee.data.ExportDestination.ASSET:
|
|
24143
24187
|
taskConfig.assetId = taskConfig.assetId || "";
|
|
24188
|
+
taskConfig.overwrite = taskConfig.overwrite || !1;
|
|
24144
24189
|
break;
|
|
24145
24190
|
case ee.data.ExportDestination.FEATURE_VIEW:
|
|
24146
24191
|
taskConfig.mapName = taskConfig.mapName || "";
|
|
@@ -24980,8 +25025,8 @@ ee.Function.registerPromoter(ee.promote_);
|
|
|
24980
25025
|
ee.FloatTileOverlay = function(url, mapId, token) {
|
|
24981
25026
|
ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay.call(this, url, mapId, token);
|
|
24982
25027
|
this.tileSize = new google.maps.Size(ee.FloatTileOverlay.TILE_EDGE_LENGTH, ee.FloatTileOverlay.TILE_EDGE_LENGTH);
|
|
24983
|
-
this.floatTiles_ = new goog
|
|
24984
|
-
this.floatTileDivs_ = new goog
|
|
25028
|
+
this.floatTiles_ = new module$contents$goog$structs$Map_Map();
|
|
25029
|
+
this.floatTileDivs_ = new module$contents$goog$structs$Map_Map();
|
|
24985
25030
|
};
|
|
24986
25031
|
$jscomp.inherits(ee.FloatTileOverlay, ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay);
|
|
24987
25032
|
ee.FloatTileOverlay.prototype.getTile = function(coord, zoom, ownerDocument) {
|
|
@@ -25069,21 +25114,21 @@ module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.LayerStatsFo
|
|
|
25069
25114
|
module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.Summary = function() {
|
|
25070
25115
|
};
|
|
25071
25116
|
ee.layers.AbstractOverlayStats = module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats;
|
|
25072
|
-
goog
|
|
25117
|
+
function module$contents$goog$events$EventHandler_EventHandler(opt_scope) {
|
|
25073
25118
|
goog.Disposable.call(this);
|
|
25074
25119
|
this.handler_ = opt_scope;
|
|
25075
25120
|
this.keys_ = {};
|
|
25076
|
-
}
|
|
25077
|
-
goog.inherits(goog
|
|
25078
|
-
goog
|
|
25079
|
-
goog
|
|
25121
|
+
}
|
|
25122
|
+
goog.inherits(module$contents$goog$events$EventHandler_EventHandler, goog.Disposable);
|
|
25123
|
+
module$contents$goog$events$EventHandler_EventHandler.typeArray_ = [];
|
|
25124
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listen = function(src, type, opt_fn, opt_options) {
|
|
25080
25125
|
return this.listen_(src, type, opt_fn, opt_options);
|
|
25081
25126
|
};
|
|
25082
|
-
goog
|
|
25127
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithScope = function(src, type, fn, options, scope) {
|
|
25083
25128
|
return this.listen_(src, type, fn, options, scope);
|
|
25084
25129
|
};
|
|
25085
|
-
goog
|
|
25086
|
-
Array.isArray(type) || (type && (goog
|
|
25130
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listen_ = function(src, type, opt_fn, opt_options, opt_scope) {
|
|
25131
|
+
Array.isArray(type) || (type && (module$contents$goog$events$EventHandler_EventHandler.typeArray_[0] = type.toString()), type = module$contents$goog$events$EventHandler_EventHandler.typeArray_);
|
|
25087
25132
|
for (var i = 0; i < type.length; i++) {
|
|
25088
25133
|
var listenerObj = goog.events.listen(src, type[i], opt_fn || this.handleEvent, opt_options || !1, opt_scope || this.handler_ || this);
|
|
25089
25134
|
if (!listenerObj) {
|
|
@@ -25093,13 +25138,13 @@ goog.events.EventHandler.prototype.listen_ = function(src, type, opt_fn, opt_opt
|
|
|
25093
25138
|
}
|
|
25094
25139
|
return this;
|
|
25095
25140
|
};
|
|
25096
|
-
goog
|
|
25141
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenOnce = function(src, type, opt_fn, opt_options) {
|
|
25097
25142
|
return this.listenOnce_(src, type, opt_fn, opt_options);
|
|
25098
25143
|
};
|
|
25099
|
-
goog
|
|
25144
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenOnceWithScope = function(src, type, fn, capture, scope) {
|
|
25100
25145
|
return this.listenOnce_(src, type, fn, capture, scope);
|
|
25101
25146
|
};
|
|
25102
|
-
goog
|
|
25147
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenOnce_ = function(src, type, opt_fn, opt_options, opt_scope) {
|
|
25103
25148
|
if (Array.isArray(type)) {
|
|
25104
25149
|
for (var i = 0; i < type.length; i++) {
|
|
25105
25150
|
this.listenOnce_(src, type[i], opt_fn, opt_options, opt_scope);
|
|
@@ -25113,24 +25158,24 @@ goog.events.EventHandler.prototype.listenOnce_ = function(src, type, opt_fn, opt
|
|
|
25113
25158
|
}
|
|
25114
25159
|
return this;
|
|
25115
25160
|
};
|
|
25116
|
-
goog
|
|
25161
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithWrapper = function(src, wrapper, listener, opt_capt) {
|
|
25117
25162
|
return this.listenWithWrapper_(src, wrapper, listener, opt_capt);
|
|
25118
25163
|
};
|
|
25119
|
-
goog
|
|
25164
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithWrapperAndScope = function(src, wrapper, listener, capture, scope) {
|
|
25120
25165
|
return this.listenWithWrapper_(src, wrapper, listener, capture, scope);
|
|
25121
25166
|
};
|
|
25122
|
-
goog
|
|
25167
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithWrapper_ = function(src, wrapper, listener, opt_capt, opt_scope) {
|
|
25123
25168
|
wrapper.listen(src, listener, opt_capt, opt_scope || this.handler_ || this, this);
|
|
25124
25169
|
return this;
|
|
25125
25170
|
};
|
|
25126
|
-
goog
|
|
25171
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.getListenerCount = function() {
|
|
25127
25172
|
var count = 0, key;
|
|
25128
25173
|
for (key in this.keys_) {
|
|
25129
25174
|
Object.prototype.hasOwnProperty.call(this.keys_, key) && count++;
|
|
25130
25175
|
}
|
|
25131
25176
|
return count;
|
|
25132
25177
|
};
|
|
25133
|
-
goog
|
|
25178
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.unlisten = function(src, type, opt_fn, opt_options, opt_scope) {
|
|
25134
25179
|
if (Array.isArray(type)) {
|
|
25135
25180
|
for (var i = 0; i < type.length; i++) {
|
|
25136
25181
|
this.unlisten(src, type[i], opt_fn, opt_options, opt_scope);
|
|
@@ -25141,41 +25186,42 @@ goog.events.EventHandler.prototype.unlisten = function(src, type, opt_fn, opt_op
|
|
|
25141
25186
|
}
|
|
25142
25187
|
return this;
|
|
25143
25188
|
};
|
|
25144
|
-
goog
|
|
25189
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.unlistenWithWrapper = function(src, wrapper, listener, opt_capt, opt_scope) {
|
|
25145
25190
|
wrapper.unlisten(src, listener, opt_capt, opt_scope || this.handler_ || this, this);
|
|
25146
25191
|
return this;
|
|
25147
25192
|
};
|
|
25148
|
-
goog
|
|
25193
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.removeAll = function() {
|
|
25149
25194
|
module$contents$goog$object_forEach(this.keys_, function(listenerObj, key) {
|
|
25150
25195
|
this.keys_.hasOwnProperty(key) && goog.events.unlistenByKey(listenerObj);
|
|
25151
25196
|
}, this);
|
|
25152
25197
|
this.keys_ = {};
|
|
25153
25198
|
};
|
|
25154
|
-
goog
|
|
25155
|
-
goog
|
|
25199
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.disposeInternal = function() {
|
|
25200
|
+
module$contents$goog$events$EventHandler_EventHandler.superClass_.disposeInternal.call(this);
|
|
25156
25201
|
this.removeAll();
|
|
25157
25202
|
};
|
|
25158
|
-
goog
|
|
25203
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.handleEvent = function(e) {
|
|
25159
25204
|
throw Error("EventHandler.handleEvent not implemented");
|
|
25160
25205
|
};
|
|
25206
|
+
goog.events.EventHandler = module$contents$goog$events$EventHandler_EventHandler;
|
|
25161
25207
|
goog.fs = {};
|
|
25162
|
-
goog
|
|
25163
|
-
}
|
|
25164
|
-
goog
|
|
25208
|
+
function module$contents$goog$fs$Error_DOMErrorLike() {
|
|
25209
|
+
}
|
|
25210
|
+
function module$contents$goog$fs$Error_FsError(error, action) {
|
|
25165
25211
|
if (error.name !== void 0) {
|
|
25166
|
-
this.name = error.name, this.code = goog
|
|
25212
|
+
this.name = error.name, this.code = module$contents$goog$fs$Error_FsError.getCodeFromName_(error.name);
|
|
25167
25213
|
} else {
|
|
25168
25214
|
var code = goog.asserts.assertNumber(error.code);
|
|
25169
25215
|
this.code = code;
|
|
25170
|
-
this.name = goog
|
|
25216
|
+
this.name = module$contents$goog$fs$Error_FsError.getNameFromCode_(code);
|
|
25171
25217
|
}
|
|
25172
25218
|
module$contents$goog$debug$Error_DebugError.call(this, goog.string.subs("%s %s", this.name, action));
|
|
25173
|
-
}
|
|
25174
|
-
goog.inherits(goog
|
|
25175
|
-
goog
|
|
25176
|
-
goog
|
|
25177
|
-
goog
|
|
25178
|
-
var name = module$contents$goog$object_findKey(goog
|
|
25219
|
+
}
|
|
25220
|
+
goog.inherits(module$contents$goog$fs$Error_FsError, module$contents$goog$debug$Error_DebugError);
|
|
25221
|
+
module$contents$goog$fs$Error_FsError.ErrorName = {ABORT:"AbortError", ENCODING:"EncodingError", INVALID_MODIFICATION:"InvalidModificationError", INVALID_STATE:"InvalidStateError", NOT_FOUND:"NotFoundError", NOT_READABLE:"NotReadableError", NO_MODIFICATION_ALLOWED:"NoModificationAllowedError", PATH_EXISTS:"PathExistsError", QUOTA_EXCEEDED:"QuotaExceededError", SECURITY:"SecurityError", SYNTAX:"SyntaxError", TYPE_MISMATCH:"TypeMismatchError"};
|
|
25222
|
+
module$contents$goog$fs$Error_FsError.ErrorCode = {NOT_FOUND:1, SECURITY:2, ABORT:3, NOT_READABLE:4, ENCODING:5, NO_MODIFICATION_ALLOWED:6, INVALID_STATE:7, SYNTAX:8, INVALID_MODIFICATION:9, QUOTA_EXCEEDED:10, TYPE_MISMATCH:11, PATH_EXISTS:12};
|
|
25223
|
+
module$contents$goog$fs$Error_FsError.getNameFromCode_ = function(code) {
|
|
25224
|
+
var name = module$contents$goog$object_findKey(module$contents$goog$fs$Error_FsError.NameToCodeMap_, function(c) {
|
|
25179
25225
|
return code == c;
|
|
25180
25226
|
});
|
|
25181
25227
|
if (name === void 0) {
|
|
@@ -25183,27 +25229,30 @@ goog.fs.Error.getNameFromCode_ = function(code) {
|
|
|
25183
25229
|
}
|
|
25184
25230
|
return name;
|
|
25185
25231
|
};
|
|
25186
|
-
goog
|
|
25187
|
-
return goog
|
|
25232
|
+
module$contents$goog$fs$Error_FsError.getCodeFromName_ = function(name) {
|
|
25233
|
+
return module$contents$goog$fs$Error_FsError.NameToCodeMap_[name];
|
|
25188
25234
|
};
|
|
25189
25235
|
var $jscomp$compprop18 = {};
|
|
25190
|
-
goog
|
|
25191
|
-
$
|
|
25192
|
-
$jscomp$compprop18[goog.fs.
|
|
25193
|
-
goog.fs.
|
|
25236
|
+
module$contents$goog$fs$Error_FsError.NameToCodeMap_ = ($jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.ABORT] = module$contents$goog$fs$Error_FsError.ErrorCode.ABORT, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.ENCODING] = module$contents$goog$fs$Error_FsError.ErrorCode.ENCODING, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.INVALID_MODIFICATION] = module$contents$goog$fs$Error_FsError.ErrorCode.INVALID_MODIFICATION, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.INVALID_STATE] =
|
|
25237
|
+
module$contents$goog$fs$Error_FsError.ErrorCode.INVALID_STATE, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.NOT_FOUND] = module$contents$goog$fs$Error_FsError.ErrorCode.NOT_FOUND, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.NOT_READABLE] = module$contents$goog$fs$Error_FsError.ErrorCode.NOT_READABLE, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.NO_MODIFICATION_ALLOWED] = module$contents$goog$fs$Error_FsError.ErrorCode.NO_MODIFICATION_ALLOWED,
|
|
25238
|
+
$jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.PATH_EXISTS] = module$contents$goog$fs$Error_FsError.ErrorCode.PATH_EXISTS, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.QUOTA_EXCEEDED] = module$contents$goog$fs$Error_FsError.ErrorCode.QUOTA_EXCEEDED, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.SECURITY] = module$contents$goog$fs$Error_FsError.ErrorCode.SECURITY, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.SYNTAX] =
|
|
25239
|
+
module$contents$goog$fs$Error_FsError.ErrorCode.SYNTAX, $jscomp$compprop18[module$contents$goog$fs$Error_FsError.ErrorName.TYPE_MISMATCH] = module$contents$goog$fs$Error_FsError.ErrorCode.TYPE_MISMATCH, $jscomp$compprop18);
|
|
25240
|
+
goog.fs.Error = module$contents$goog$fs$Error_FsError;
|
|
25241
|
+
function module$contents$goog$fs$ProgressEvent_GoogProgressEvent(event, target) {
|
|
25194
25242
|
goog.events.Event.call(this, event.type, target);
|
|
25195
25243
|
this.event_ = event;
|
|
25196
|
-
}
|
|
25197
|
-
goog.inherits(goog
|
|
25198
|
-
goog
|
|
25244
|
+
}
|
|
25245
|
+
goog.inherits(module$contents$goog$fs$ProgressEvent_GoogProgressEvent, goog.events.Event);
|
|
25246
|
+
module$contents$goog$fs$ProgressEvent_GoogProgressEvent.prototype.isLengthComputable = function() {
|
|
25199
25247
|
return this.event_.lengthComputable;
|
|
25200
25248
|
};
|
|
25201
|
-
goog
|
|
25249
|
+
module$contents$goog$fs$ProgressEvent_GoogProgressEvent.prototype.getLoaded = function() {
|
|
25202
25250
|
return this.event_.loaded;
|
|
25203
25251
|
};
|
|
25204
|
-
goog
|
|
25252
|
+
module$contents$goog$fs$ProgressEvent_GoogProgressEvent.prototype.getTotal = function() {
|
|
25205
25253
|
return this.event_.total;
|
|
25206
25254
|
};
|
|
25255
|
+
goog.fs.ProgressEvent = module$contents$goog$fs$ProgressEvent_GoogProgressEvent;
|
|
25207
25256
|
goog.fs.FileReader = function() {
|
|
25208
25257
|
goog.events.EventTarget.call(this);
|
|
25209
25258
|
this.reader_ = new FileReader();
|
|
@@ -25221,7 +25270,7 @@ goog.fs.FileReader.prototype.abort = function() {
|
|
|
25221
25270
|
try {
|
|
25222
25271
|
this.reader_.abort();
|
|
25223
25272
|
} catch (e) {
|
|
25224
|
-
throw new goog
|
|
25273
|
+
throw new module$contents$goog$fs$Error_FsError(e, "aborting read");
|
|
25225
25274
|
}
|
|
25226
25275
|
};
|
|
25227
25276
|
goog.fs.FileReader.prototype.getReadyState = function() {
|
|
@@ -25231,10 +25280,10 @@ goog.fs.FileReader.prototype.getResult = function() {
|
|
|
25231
25280
|
return this.reader_.result;
|
|
25232
25281
|
};
|
|
25233
25282
|
goog.fs.FileReader.prototype.getError = function() {
|
|
25234
|
-
return this.reader_.error && new goog
|
|
25283
|
+
return this.reader_.error && new module$contents$goog$fs$Error_FsError(this.reader_.error, "reading file");
|
|
25235
25284
|
};
|
|
25236
25285
|
goog.fs.FileReader.prototype.dispatchProgressEvent_ = function(event) {
|
|
25237
|
-
this.dispatchEvent(new goog
|
|
25286
|
+
this.dispatchEvent(new module$contents$goog$fs$ProgressEvent_GoogProgressEvent(event, this));
|
|
25238
25287
|
};
|
|
25239
25288
|
goog.fs.FileReader.prototype.disposeInternal = function() {
|
|
25240
25289
|
goog.fs.FileReader.superClass_.disposeInternal.call(this);
|
|
@@ -25392,7 +25441,7 @@ module$contents$goog$math$Box_Box.prototype.round = function() {
|
|
|
25392
25441
|
return this;
|
|
25393
25442
|
};
|
|
25394
25443
|
module$contents$goog$math$Box_Box.prototype.translate = function(tx, opt_ty) {
|
|
25395
|
-
tx instanceof goog
|
|
25444
|
+
tx instanceof module$contents$goog$math$Coordinate_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));
|
|
25396
25445
|
return this;
|
|
25397
25446
|
};
|
|
25398
25447
|
module$contents$goog$math$Box_Box.prototype.scale = function(sx, opt_sy) {
|
|
@@ -25406,31 +25455,31 @@ module$contents$goog$math$Box_Box.prototype.scale = function(sx, opt_sy) {
|
|
|
25406
25455
|
goog.math.Box = module$contents$goog$math$Box_Box;
|
|
25407
25456
|
goog.math.IRect = function() {
|
|
25408
25457
|
};
|
|
25409
|
-
goog
|
|
25458
|
+
function module$contents$goog$math$Rect_Rect(x, y, w, h) {
|
|
25410
25459
|
this.left = x;
|
|
25411
25460
|
this.top = y;
|
|
25412
25461
|
this.width = w;
|
|
25413
25462
|
this.height = h;
|
|
25463
|
+
}
|
|
25464
|
+
module$contents$goog$math$Rect_Rect.prototype.clone = function() {
|
|
25465
|
+
return new module$contents$goog$math$Rect_Rect(this.left, this.top, this.width, this.height);
|
|
25414
25466
|
};
|
|
25415
|
-
goog
|
|
25416
|
-
return new goog.math.Rect(this.left, this.top, this.width, this.height);
|
|
25417
|
-
};
|
|
25418
|
-
goog.math.Rect.prototype.toBox = function() {
|
|
25467
|
+
module$contents$goog$math$Rect_Rect.prototype.toBox = function() {
|
|
25419
25468
|
return new module$contents$goog$math$Box_Box(this.top, this.left + this.width, this.top + this.height, this.left);
|
|
25420
25469
|
};
|
|
25421
|
-
goog
|
|
25422
|
-
return new goog
|
|
25470
|
+
module$contents$goog$math$Rect_Rect.createFromPositionAndSize = function(position, size) {
|
|
25471
|
+
return new module$contents$goog$math$Rect_Rect(position.x, position.y, size.width, size.height);
|
|
25423
25472
|
};
|
|
25424
|
-
goog
|
|
25425
|
-
return new goog
|
|
25473
|
+
module$contents$goog$math$Rect_Rect.createFromBox = function(box) {
|
|
25474
|
+
return new module$contents$goog$math$Rect_Rect(box.left, box.top, box.right - box.left, box.bottom - box.top);
|
|
25426
25475
|
};
|
|
25427
|
-
goog.DEBUG && (goog
|
|
25476
|
+
goog.DEBUG && (module$contents$goog$math$Rect_Rect.prototype.toString = function() {
|
|
25428
25477
|
return "(" + this.left + ", " + this.top + " - " + this.width + "w x " + this.height + "h)";
|
|
25429
25478
|
});
|
|
25430
|
-
goog
|
|
25479
|
+
module$contents$goog$math$Rect_Rect.equals = function(a, b) {
|
|
25431
25480
|
return a == b ? !0 : a && b ? a.left == b.left && a.width == b.width && a.top == b.top && a.height == b.height : !1;
|
|
25432
25481
|
};
|
|
25433
|
-
goog
|
|
25482
|
+
module$contents$goog$math$Rect_Rect.prototype.intersection = function(rect) {
|
|
25434
25483
|
var x0 = Math.max(this.left, rect.left), x1 = Math.min(this.left + this.width, rect.left + rect.width);
|
|
25435
25484
|
if (x0 <= x1) {
|
|
25436
25485
|
var y0 = Math.max(this.top, rect.top), y1 = Math.min(this.top + this.height, rect.top + rect.height);
|
|
@@ -25440,100 +25489,100 @@ goog.math.Rect.prototype.intersection = function(rect) {
|
|
|
25440
25489
|
}
|
|
25441
25490
|
return !1;
|
|
25442
25491
|
};
|
|
25443
|
-
goog
|
|
25492
|
+
module$contents$goog$math$Rect_Rect.intersection = function(a, b) {
|
|
25444
25493
|
var x0 = Math.max(a.left, b.left), x1 = Math.min(a.left + a.width, b.left + b.width);
|
|
25445
25494
|
if (x0 <= x1) {
|
|
25446
25495
|
var y0 = Math.max(a.top, b.top), y1 = Math.min(a.top + a.height, b.top + b.height);
|
|
25447
25496
|
if (y0 <= y1) {
|
|
25448
|
-
return new goog
|
|
25497
|
+
return new module$contents$goog$math$Rect_Rect(x0, y0, x1 - x0, y1 - y0);
|
|
25449
25498
|
}
|
|
25450
25499
|
}
|
|
25451
25500
|
return null;
|
|
25452
25501
|
};
|
|
25453
|
-
goog
|
|
25502
|
+
module$contents$goog$math$Rect_Rect.intersects = function(a, b) {
|
|
25454
25503
|
return a.left <= b.left + b.width && b.left <= a.left + a.width && a.top <= b.top + b.height && b.top <= a.top + a.height;
|
|
25455
25504
|
};
|
|
25456
|
-
goog
|
|
25457
|
-
return goog
|
|
25505
|
+
module$contents$goog$math$Rect_Rect.prototype.intersects = function(rect) {
|
|
25506
|
+
return module$contents$goog$math$Rect_Rect.intersects(this, rect);
|
|
25458
25507
|
};
|
|
25459
|
-
goog
|
|
25460
|
-
var intersection = goog
|
|
25508
|
+
module$contents$goog$math$Rect_Rect.difference = function(a, b) {
|
|
25509
|
+
var intersection = module$contents$goog$math$Rect_Rect.intersection(a, b);
|
|
25461
25510
|
if (!intersection || !intersection.height || !intersection.width) {
|
|
25462
25511
|
return [a.clone()];
|
|
25463
25512
|
}
|
|
25464
25513
|
var result = [], top = a.top, height = a.height, ar = a.left + a.width, ab = a.top + a.height, br = b.left + b.width, bb = b.top + b.height;
|
|
25465
|
-
b.top > a.top && (result.push(new goog
|
|
25466
|
-
bb < ab && (result.push(new goog
|
|
25467
|
-
b.left > a.left && result.push(new goog
|
|
25468
|
-
br < ar && result.push(new goog
|
|
25514
|
+
b.top > a.top && (result.push(new module$contents$goog$math$Rect_Rect(a.left, a.top, a.width, b.top - a.top)), top = b.top, height -= b.top - a.top);
|
|
25515
|
+
bb < ab && (result.push(new module$contents$goog$math$Rect_Rect(a.left, bb, a.width, ab - bb)), height = bb - top);
|
|
25516
|
+
b.left > a.left && result.push(new module$contents$goog$math$Rect_Rect(a.left, top, b.left - a.left, height));
|
|
25517
|
+
br < ar && result.push(new module$contents$goog$math$Rect_Rect(br, top, ar - br, height));
|
|
25469
25518
|
return result;
|
|
25470
25519
|
};
|
|
25471
|
-
goog
|
|
25472
|
-
return goog
|
|
25520
|
+
module$contents$goog$math$Rect_Rect.prototype.difference = function(rect) {
|
|
25521
|
+
return module$contents$goog$math$Rect_Rect.difference(this, rect);
|
|
25473
25522
|
};
|
|
25474
|
-
goog
|
|
25523
|
+
module$contents$goog$math$Rect_Rect.prototype.boundingRect = function(rect) {
|
|
25475
25524
|
var right = Math.max(this.left + this.width, rect.left + rect.width), bottom = Math.max(this.top + this.height, rect.top + rect.height);
|
|
25476
25525
|
this.left = Math.min(this.left, rect.left);
|
|
25477
25526
|
this.top = Math.min(this.top, rect.top);
|
|
25478
25527
|
this.width = right - this.left;
|
|
25479
25528
|
this.height = bottom - this.top;
|
|
25480
25529
|
};
|
|
25481
|
-
goog
|
|
25530
|
+
module$contents$goog$math$Rect_Rect.boundingRect = function(a, b) {
|
|
25482
25531
|
if (!a || !b) {
|
|
25483
25532
|
return null;
|
|
25484
25533
|
}
|
|
25485
|
-
var newRect = new goog
|
|
25534
|
+
var newRect = new module$contents$goog$math$Rect_Rect(a.left, a.top, a.width, a.height);
|
|
25486
25535
|
newRect.boundingRect(b);
|
|
25487
25536
|
return newRect;
|
|
25488
25537
|
};
|
|
25489
|
-
goog
|
|
25490
|
-
return another instanceof goog
|
|
25538
|
+
module$contents$goog$math$Rect_Rect.prototype.contains = function(another) {
|
|
25539
|
+
return another instanceof module$contents$goog$math$Coordinate_Coordinate ? another.x >= this.left && another.x <= this.left + this.width && another.y >= this.top && another.y <= this.top + this.height : this.left <= another.left && this.left + this.width >= another.left + another.width && this.top <= another.top && this.top + this.height >= another.top + another.height;
|
|
25491
25540
|
};
|
|
25492
|
-
goog
|
|
25541
|
+
module$contents$goog$math$Rect_Rect.prototype.squaredDistance = function(point) {
|
|
25493
25542
|
var dx = point.x < this.left ? this.left - point.x : Math.max(point.x - (this.left + this.width), 0), dy = point.y < this.top ? this.top - point.y : Math.max(point.y - (this.top + this.height), 0);
|
|
25494
25543
|
return dx * dx + dy * dy;
|
|
25495
25544
|
};
|
|
25496
|
-
goog
|
|
25545
|
+
module$contents$goog$math$Rect_Rect.prototype.distance = function(point) {
|
|
25497
25546
|
return Math.sqrt(this.squaredDistance(point));
|
|
25498
25547
|
};
|
|
25499
|
-
goog
|
|
25500
|
-
return new goog
|
|
25548
|
+
module$contents$goog$math$Rect_Rect.prototype.getSize = function() {
|
|
25549
|
+
return new module$contents$goog$math$Size_Size(this.width, this.height);
|
|
25501
25550
|
};
|
|
25502
|
-
goog
|
|
25503
|
-
return new goog
|
|
25551
|
+
module$contents$goog$math$Rect_Rect.prototype.getTopLeft = function() {
|
|
25552
|
+
return new module$contents$goog$math$Coordinate_Coordinate(this.left, this.top);
|
|
25504
25553
|
};
|
|
25505
|
-
goog
|
|
25506
|
-
return new goog
|
|
25554
|
+
module$contents$goog$math$Rect_Rect.prototype.getCenter = function() {
|
|
25555
|
+
return new module$contents$goog$math$Coordinate_Coordinate(this.left + this.width / 2, this.top + this.height / 2);
|
|
25507
25556
|
};
|
|
25508
|
-
goog
|
|
25509
|
-
return new goog
|
|
25557
|
+
module$contents$goog$math$Rect_Rect.prototype.getBottomRight = function() {
|
|
25558
|
+
return new module$contents$goog$math$Coordinate_Coordinate(this.left + this.width, this.top + this.height);
|
|
25510
25559
|
};
|
|
25511
|
-
goog
|
|
25560
|
+
module$contents$goog$math$Rect_Rect.prototype.ceil = function() {
|
|
25512
25561
|
this.left = Math.ceil(this.left);
|
|
25513
25562
|
this.top = Math.ceil(this.top);
|
|
25514
25563
|
this.width = Math.ceil(this.width);
|
|
25515
25564
|
this.height = Math.ceil(this.height);
|
|
25516
25565
|
return this;
|
|
25517
25566
|
};
|
|
25518
|
-
goog
|
|
25567
|
+
module$contents$goog$math$Rect_Rect.prototype.floor = function() {
|
|
25519
25568
|
this.left = Math.floor(this.left);
|
|
25520
25569
|
this.top = Math.floor(this.top);
|
|
25521
25570
|
this.width = Math.floor(this.width);
|
|
25522
25571
|
this.height = Math.floor(this.height);
|
|
25523
25572
|
return this;
|
|
25524
25573
|
};
|
|
25525
|
-
goog
|
|
25574
|
+
module$contents$goog$math$Rect_Rect.prototype.round = function() {
|
|
25526
25575
|
this.left = Math.round(this.left);
|
|
25527
25576
|
this.top = Math.round(this.top);
|
|
25528
25577
|
this.width = Math.round(this.width);
|
|
25529
25578
|
this.height = Math.round(this.height);
|
|
25530
25579
|
return this;
|
|
25531
25580
|
};
|
|
25532
|
-
goog
|
|
25533
|
-
tx instanceof goog
|
|
25581
|
+
module$contents$goog$math$Rect_Rect.prototype.translate = function(tx, opt_ty) {
|
|
25582
|
+
tx instanceof module$contents$goog$math$Coordinate_Coordinate ? (this.left += tx.x, this.top += tx.y) : (this.left += goog.asserts.assertNumber(tx), typeof opt_ty === "number" && (this.top += opt_ty));
|
|
25534
25583
|
return this;
|
|
25535
25584
|
};
|
|
25536
|
-
goog
|
|
25585
|
+
module$contents$goog$math$Rect_Rect.prototype.scale = function(sx, opt_sy) {
|
|
25537
25586
|
var sy = typeof opt_sy === "number" ? opt_sy : sx;
|
|
25538
25587
|
this.left *= sx;
|
|
25539
25588
|
this.width *= sx;
|
|
@@ -25541,6 +25590,7 @@ goog.math.Rect.prototype.scale = function(sx, opt_sy) {
|
|
|
25541
25590
|
this.height *= sy;
|
|
25542
25591
|
return this;
|
|
25543
25592
|
};
|
|
25593
|
+
goog.math.Rect = module$contents$goog$math$Rect_Rect;
|
|
25544
25594
|
goog.style = {};
|
|
25545
25595
|
goog.style.setStyle = function(element, style, opt_value) {
|
|
25546
25596
|
if (typeof style === "string") {
|
|
@@ -25628,7 +25678,7 @@ goog.style.getComputedTransform = function(element) {
|
|
|
25628
25678
|
return goog.style.getStyle_(element, property) || goog.style.getStyle_(element, "transform");
|
|
25629
25679
|
};
|
|
25630
25680
|
goog.style.setPosition = function(el, arg1, opt_arg2) {
|
|
25631
|
-
if (arg1 instanceof goog
|
|
25681
|
+
if (arg1 instanceof module$contents$goog$math$Coordinate_Coordinate) {
|
|
25632
25682
|
var x = arg1.x;
|
|
25633
25683
|
var y = arg1.y;
|
|
25634
25684
|
} else {
|
|
@@ -25638,14 +25688,14 @@ goog.style.setPosition = function(el, arg1, opt_arg2) {
|
|
|
25638
25688
|
el.style.top = goog.style.getPixelStyleValue_(y, !1);
|
|
25639
25689
|
};
|
|
25640
25690
|
goog.style.getPosition = function(element) {
|
|
25641
|
-
return new goog
|
|
25691
|
+
return new module$contents$goog$math$Coordinate_Coordinate(element.offsetLeft, element.offsetTop);
|
|
25642
25692
|
};
|
|
25643
25693
|
goog.style.getClientViewportElement = function(opt_node) {
|
|
25644
25694
|
return (opt_node ? goog.dom.getOwnerDocument(opt_node) : goog.dom.getDocument()).documentElement;
|
|
25645
25695
|
};
|
|
25646
25696
|
goog.style.getViewportPageOffset = function(doc) {
|
|
25647
25697
|
var body = doc.body, documentElement = doc.documentElement;
|
|
25648
|
-
return new goog
|
|
25698
|
+
return new module$contents$goog$math$Coordinate_Coordinate(body.scrollLeft || documentElement.scrollLeft, body.scrollTop || documentElement.scrollTop);
|
|
25649
25699
|
};
|
|
25650
25700
|
goog.style.getBoundingClientRect_ = function(el) {
|
|
25651
25701
|
try {
|
|
@@ -25656,7 +25706,7 @@ goog.style.getBoundingClientRect_ = function(el) {
|
|
|
25656
25706
|
};
|
|
25657
25707
|
goog.style.getOffsetParent = function(element) {
|
|
25658
25708
|
for (var doc = goog.dom.getOwnerDocument(element), positionStyle = goog.style.getStyle_(element, "position"), skipStatic = positionStyle == "fixed" || positionStyle == "absolute", parent = element.parentNode; parent && parent != doc; parent = parent.parentNode) {
|
|
25659
|
-
if (parent.nodeType == goog
|
|
25709
|
+
if (parent.nodeType == module$contents$goog$dom$NodeType_NodeType.DOCUMENT_FRAGMENT && parent.host && (parent = parent.host), positionStyle = goog.style.getStyle_(parent, "position"), skipStatic = skipStatic && positionStyle == "static" && parent != doc.documentElement && parent != doc.body, !skipStatic && (parent.scrollWidth > parent.clientWidth || parent.scrollHeight > parent.clientHeight || positionStyle == "fixed" || positionStyle == "absolute" || positionStyle == "relative")) {
|
|
25660
25710
|
return parent;
|
|
25661
25711
|
}
|
|
25662
25712
|
}
|
|
@@ -25692,7 +25742,7 @@ goog.style.getContainerOffsetToScrollInto = function(element, opt_container, opt
|
|
|
25692
25742
|
}
|
|
25693
25743
|
var elementSize = goog.style.getSizeWithDisplay_(element), spaceX = container.clientWidth - elementSize.width, spaceY = container.clientHeight - elementSize.height, scrollLeft = container.scrollLeft, scrollTop = container.scrollTop;
|
|
25694
25744
|
opt_center ? (scrollLeft += relX - spaceX / 2, scrollTop += relY - spaceY / 2) : (scrollLeft += Math.min(relX, Math.max(relX - spaceX, 0)), scrollTop += Math.min(relY, Math.max(relY - spaceY, 0)));
|
|
25695
|
-
return new goog
|
|
25745
|
+
return new module$contents$goog$math$Coordinate_Coordinate(scrollLeft, scrollTop);
|
|
25696
25746
|
};
|
|
25697
25747
|
goog.style.scrollIntoContainerView = function(element, opt_container, opt_center) {
|
|
25698
25748
|
var container = opt_container || goog.dom.getDocumentScrollElement(), offset = goog.style.getContainerOffsetToScrollInto(element, container, opt_center);
|
|
@@ -25700,12 +25750,12 @@ goog.style.scrollIntoContainerView = function(element, opt_container, opt_center
|
|
|
25700
25750
|
container.scrollTop = offset.y;
|
|
25701
25751
|
};
|
|
25702
25752
|
goog.style.getClientLeftTop = function(el) {
|
|
25703
|
-
return new goog
|
|
25753
|
+
return new module$contents$goog$math$Coordinate_Coordinate(el.clientLeft, el.clientTop);
|
|
25704
25754
|
};
|
|
25705
25755
|
goog.style.getPageOffset = function(el) {
|
|
25706
25756
|
var doc = goog.dom.getOwnerDocument(el);
|
|
25707
25757
|
goog.asserts.assertObject(el, "Parameter is required");
|
|
25708
|
-
var pos = new goog
|
|
25758
|
+
var pos = new module$contents$goog$math$Coordinate_Coordinate(0, 0), viewportElement = goog.style.getClientViewportElement(doc);
|
|
25709
25759
|
if (el == viewportElement) {
|
|
25710
25760
|
return pos;
|
|
25711
25761
|
}
|
|
@@ -25721,7 +25771,7 @@ goog.style.getPageOffsetTop = function(el) {
|
|
|
25721
25771
|
return goog.style.getPageOffset(el).y;
|
|
25722
25772
|
};
|
|
25723
25773
|
goog.style.getFramedPageOffset = function(el, relativeWin) {
|
|
25724
|
-
var position = new goog
|
|
25774
|
+
var position = new module$contents$goog$math$Coordinate_Coordinate(0, 0), currentWin = goog.dom.getWindow(goog.dom.getOwnerDocument(el));
|
|
25725
25775
|
if (!goog.reflect.canAccessProperty(currentWin, "parent")) {
|
|
25726
25776
|
return position;
|
|
25727
25777
|
}
|
|
@@ -25736,35 +25786,35 @@ goog.style.getFramedPageOffset = function(el, relativeWin) {
|
|
|
25736
25786
|
goog.style.translateRectForAnotherFrame = function(rect, origBase, newBase) {
|
|
25737
25787
|
if (origBase.getDocument() != newBase.getDocument()) {
|
|
25738
25788
|
var body = origBase.getDocument().body, pos = goog.style.getFramedPageOffset(body, newBase.getWindow());
|
|
25739
|
-
pos = goog
|
|
25789
|
+
pos = module$contents$goog$math$Coordinate_Coordinate.difference(pos, goog.style.getPageOffset(body));
|
|
25740
25790
|
rect.left += pos.x;
|
|
25741
25791
|
rect.top += pos.y;
|
|
25742
25792
|
}
|
|
25743
25793
|
};
|
|
25744
25794
|
goog.style.getRelativePosition = function(a, b) {
|
|
25745
25795
|
var ap = goog.style.getClientPosition(a), bp = goog.style.getClientPosition(b);
|
|
25746
|
-
return new goog
|
|
25796
|
+
return new module$contents$goog$math$Coordinate_Coordinate(ap.x - bp.x, ap.y - bp.y);
|
|
25747
25797
|
};
|
|
25748
25798
|
goog.style.getClientPositionForElement_ = function(el) {
|
|
25749
25799
|
var box = goog.style.getBoundingClientRect_(el);
|
|
25750
|
-
return new goog
|
|
25800
|
+
return new module$contents$goog$math$Coordinate_Coordinate(box.left, box.top);
|
|
25751
25801
|
};
|
|
25752
25802
|
goog.style.getClientPosition = function(el) {
|
|
25753
25803
|
goog.asserts.assert(el);
|
|
25754
|
-
if (el.nodeType == goog
|
|
25804
|
+
if (el.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT) {
|
|
25755
25805
|
return goog.style.getClientPositionForElement_(el);
|
|
25756
25806
|
}
|
|
25757
25807
|
var targetEvent = el.changedTouches ? el.changedTouches[0] : el;
|
|
25758
|
-
return new goog
|
|
25808
|
+
return new module$contents$goog$math$Coordinate_Coordinate(targetEvent.clientX, targetEvent.clientY);
|
|
25759
25809
|
};
|
|
25760
25810
|
goog.style.setPageOffset = function(el, x, opt_y) {
|
|
25761
25811
|
var cur = goog.style.getPageOffset(el);
|
|
25762
|
-
x instanceof goog
|
|
25812
|
+
x instanceof module$contents$goog$math$Coordinate_Coordinate && (opt_y = x.y, x = x.x);
|
|
25763
25813
|
var dx = goog.asserts.assertNumber(x) - cur.x;
|
|
25764
25814
|
goog.style.setPosition(el, el.offsetLeft + dx, el.offsetTop + (Number(opt_y) - cur.y));
|
|
25765
25815
|
};
|
|
25766
25816
|
goog.style.setSize = function(element, w, opt_h) {
|
|
25767
|
-
if (w instanceof goog
|
|
25817
|
+
if (w instanceof module$contents$goog$math$Size_Size) {
|
|
25768
25818
|
var h = w.height;
|
|
25769
25819
|
w = w.width;
|
|
25770
25820
|
} else {
|
|
@@ -25807,20 +25857,20 @@ goog.style.getSizeWithDisplay_ = function(element) {
|
|
|
25807
25857
|
var offsetWidth = element.offsetWidth, offsetHeight = element.offsetHeight, webkitOffsetsZero = goog.userAgent.WEBKIT && !offsetWidth && !offsetHeight;
|
|
25808
25858
|
if ((offsetWidth === void 0 || webkitOffsetsZero) && element.getBoundingClientRect) {
|
|
25809
25859
|
var clientRect = goog.style.getBoundingClientRect_(element);
|
|
25810
|
-
return new goog
|
|
25860
|
+
return new module$contents$goog$math$Size_Size(clientRect.right - clientRect.left, clientRect.bottom - clientRect.top);
|
|
25811
25861
|
}
|
|
25812
|
-
return new goog
|
|
25862
|
+
return new module$contents$goog$math$Size_Size(offsetWidth, offsetHeight);
|
|
25813
25863
|
};
|
|
25814
25864
|
goog.style.getTransformedSize = function(element) {
|
|
25815
25865
|
if (!element.getBoundingClientRect) {
|
|
25816
25866
|
return null;
|
|
25817
25867
|
}
|
|
25818
25868
|
var clientRect = goog.style.evaluateWithTemporaryDisplay_(goog.style.getBoundingClientRect_, element);
|
|
25819
|
-
return new goog
|
|
25869
|
+
return new module$contents$goog$math$Size_Size(clientRect.right - clientRect.left, clientRect.bottom - clientRect.top);
|
|
25820
25870
|
};
|
|
25821
25871
|
goog.style.getBounds = function(element) {
|
|
25822
25872
|
var o = goog.style.getPageOffset(element), s = goog.style.getSize(element);
|
|
25823
|
-
return new goog
|
|
25873
|
+
return new module$contents$goog$math$Rect_Rect(o.x, o.y, s.width, s.height);
|
|
25824
25874
|
};
|
|
25825
25875
|
goog.style.toCamelCase = function(selector) {
|
|
25826
25876
|
return goog.string.toCamelCase(String(selector));
|
|
@@ -25913,14 +25963,14 @@ goog.style.setUnselectable = function(el, unselectable, opt_noRecurse) {
|
|
|
25913
25963
|
}
|
|
25914
25964
|
};
|
|
25915
25965
|
goog.style.getBorderBoxSize = function(element) {
|
|
25916
|
-
return new goog
|
|
25966
|
+
return new module$contents$goog$math$Size_Size(element.offsetWidth, element.offsetHeight);
|
|
25917
25967
|
};
|
|
25918
25968
|
goog.style.setBorderBoxSize = function(element, size) {
|
|
25919
25969
|
goog.style.setBoxSizingSize_(element, size, "border-box");
|
|
25920
25970
|
};
|
|
25921
25971
|
goog.style.getContentBoxSize = function(element) {
|
|
25922
25972
|
var borderBoxSize = goog.style.getBorderBoxSize(element), paddingBox = goog.style.getPaddingBox(element), borderBox = goog.style.getBorderBox(element);
|
|
25923
|
-
return new goog
|
|
25973
|
+
return new module$contents$goog$math$Size_Size(borderBoxSize.width - borderBox.left - paddingBox.left - paddingBox.right - borderBox.right, borderBoxSize.height - borderBox.top - paddingBox.top - paddingBox.bottom - borderBox.bottom);
|
|
25924
25974
|
};
|
|
25925
25975
|
goog.style.setContentBoxSize = function(element, size) {
|
|
25926
25976
|
goog.style.setBoxSizingSize_(element, size, "content-box");
|
|
@@ -26043,10 +26093,10 @@ goog.style.MATRIX_TRANSLATION_REGEX_ = RegExp("matrix\\([0-9\\.\\-]+, [0-9\\.\\-
|
|
|
26043
26093
|
goog.style.getCssTranslation = function(element) {
|
|
26044
26094
|
var transform = goog.style.getComputedTransform(element);
|
|
26045
26095
|
if (!transform) {
|
|
26046
|
-
return new goog
|
|
26096
|
+
return new module$contents$goog$math$Coordinate_Coordinate(0, 0);
|
|
26047
26097
|
}
|
|
26048
26098
|
var matches = transform.match(goog.style.MATRIX_TRANSLATION_REGEX_);
|
|
26049
|
-
return matches ? new goog
|
|
26099
|
+
return matches ? new module$contents$goog$math$Coordinate_Coordinate(parseFloat(matches[1]), parseFloat(matches[2])) : new module$contents$goog$math$Coordinate_Coordinate(0, 0);
|
|
26050
26100
|
};
|
|
26051
26101
|
ee.layers.AbstractOverlay = function(tileSource, opt_options) {
|
|
26052
26102
|
goog.events.EventTarget.call(this);
|
|
@@ -26061,10 +26111,10 @@ ee.layers.AbstractOverlay = function(tileSource, opt_options) {
|
|
|
26061
26111
|
this.name = options.name;
|
|
26062
26112
|
this.opacity = "opacity" in options ? options.opacity : 1;
|
|
26063
26113
|
this.stats = new module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats(tileSource.getUniqueId());
|
|
26064
|
-
this.tilesById = new goog
|
|
26114
|
+
this.tilesById = new module$contents$goog$structs$Map_Map();
|
|
26065
26115
|
this.tileCounter = 0;
|
|
26066
26116
|
this.tileSource = tileSource;
|
|
26067
|
-
this.handler = new goog
|
|
26117
|
+
this.handler = new module$contents$goog$events$EventHandler_EventHandler(this);
|
|
26068
26118
|
this.radius = 0;
|
|
26069
26119
|
};
|
|
26070
26120
|
$jscomp.inherits(ee.layers.AbstractOverlay, goog.events.EventTarget);
|
|
@@ -26289,8 +26339,8 @@ ee_root.third_party.earthengine_api.javascript.layers = {};
|
|
|
26289
26339
|
ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay = {};
|
|
26290
26340
|
ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay = function(tileSource, opt_options) {
|
|
26291
26341
|
ee.layers.AbstractOverlay.call(this, tileSource, opt_options);
|
|
26292
|
-
this.buffersByCoord_ = new goog
|
|
26293
|
-
this.divsByCoord_ = new goog
|
|
26342
|
+
this.buffersByCoord_ = new module$contents$goog$structs$Map_Map();
|
|
26343
|
+
this.divsByCoord_ = new module$contents$goog$structs$Map_Map();
|
|
26294
26344
|
};
|
|
26295
26345
|
$jscomp.inherits(ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay, ee.layers.AbstractOverlay);
|
|
26296
26346
|
ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay.prototype.createTile = function(coord, zoom, ownerDocument, uniqueId) {
|
|
@@ -26327,7 +26377,7 @@ goog.net.ImageLoader = function(opt_parent) {
|
|
|
26327
26377
|
goog.events.EventTarget.call(this);
|
|
26328
26378
|
this.imageIdToRequestMap_ = {};
|
|
26329
26379
|
this.imageIdToImageMap_ = {};
|
|
26330
|
-
this.handler_ = new goog
|
|
26380
|
+
this.handler_ = new module$contents$goog$events$EventHandler_EventHandler(this);
|
|
26331
26381
|
this.parent_ = opt_parent;
|
|
26332
26382
|
this.completionFired_ = !1;
|
|
26333
26383
|
};
|
|
@@ -26429,27 +26479,30 @@ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.def
|
|
|
26429
26479
|
};
|
|
26430
26480
|
ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.IMAGE_LOADER_EVENTS_ = [goog.events.EventType.LOAD, goog.net.EventType.ABORT, goog.net.EventType.ERROR];
|
|
26431
26481
|
goog.string.path = {};
|
|
26432
|
-
goog
|
|
26482
|
+
function module$contents$goog$string$path_baseName(path) {
|
|
26433
26483
|
var i = path.lastIndexOf("/") + 1;
|
|
26434
26484
|
return path.slice(i);
|
|
26435
|
-
}
|
|
26436
|
-
goog
|
|
26437
|
-
goog.string.path.dirname = function(path) {
|
|
26485
|
+
}
|
|
26486
|
+
function module$contents$goog$string$path_dirname(path) {
|
|
26438
26487
|
var i = path.lastIndexOf("/") + 1, head = path.slice(0, i);
|
|
26439
26488
|
/^\/+$/.test(head) || (head = head.replace(/\/+$/, ""));
|
|
26440
26489
|
return head;
|
|
26441
|
-
}
|
|
26442
|
-
goog
|
|
26443
|
-
var baseName = goog.string.path.baseName(path).replace(/\.+/g, "."), separatorIndex = baseName.lastIndexOf(".");
|
|
26444
|
-
return separatorIndex <= 0 ? "" : baseName.slice(separatorIndex + 1);
|
|
26445
|
-
};
|
|
26446
|
-
goog.string.path.join = function(var_args) {
|
|
26490
|
+
}
|
|
26491
|
+
function module$contents$goog$string$path_join(var_args) {
|
|
26447
26492
|
for (var path = arguments[0], i = 1; i < arguments.length; i++) {
|
|
26448
26493
|
var arg = arguments[i];
|
|
26449
26494
|
path = goog.string.startsWith(arg, "/") ? arg : path == "" || goog.string.endsWith(path, "/") ? path + arg : path + ("/" + arg);
|
|
26450
26495
|
}
|
|
26451
26496
|
return path;
|
|
26497
|
+
}
|
|
26498
|
+
goog.string.path.baseName = module$contents$goog$string$path_baseName;
|
|
26499
|
+
goog.string.path.basename = module$contents$goog$string$path_baseName;
|
|
26500
|
+
goog.string.path.dirname = module$contents$goog$string$path_dirname;
|
|
26501
|
+
goog.string.path.extension = function(path) {
|
|
26502
|
+
var name = module$contents$goog$string$path_baseName(path).replace(/\.+/g, "."), separatorIndex = name.lastIndexOf(".");
|
|
26503
|
+
return separatorIndex <= 0 ? "" : name.slice(separatorIndex + 1);
|
|
26452
26504
|
};
|
|
26505
|
+
goog.string.path.join = module$contents$goog$string$path_join;
|
|
26453
26506
|
goog.string.path.normalizePath = function(path) {
|
|
26454
26507
|
if (path == "") {
|
|
26455
26508
|
return ".";
|
|
@@ -26463,7 +26516,7 @@ goog.string.path.normalizePath = function(path) {
|
|
|
26463
26516
|
return initialSlashes + newParts.join("/") || ".";
|
|
26464
26517
|
};
|
|
26465
26518
|
goog.string.path.split = function(path) {
|
|
26466
|
-
var head = goog
|
|
26519
|
+
var head = module$contents$goog$string$path_dirname(path), tail = module$contents$goog$string$path_baseName(path);
|
|
26467
26520
|
return [head, tail];
|
|
26468
26521
|
};
|
|
26469
26522
|
var module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource = function(bucket, path, maxZoom, opt_suffix) {
|
|
@@ -26492,7 +26545,7 @@ module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource.prototyp
|
|
|
26492
26545
|
return [this.bucket_, this.path_, this.maxZoom_, this.suffix_].join("-");
|
|
26493
26546
|
};
|
|
26494
26547
|
module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource.prototype.getTileUrl_ = function(coord, zoom) {
|
|
26495
|
-
var url = goog
|
|
26548
|
+
var url = module$contents$goog$string$path_join(module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource.BASE_URL, this.bucket_, this.path_, String(zoom), String(coord.x), String(coord.y));
|
|
26496
26549
|
this.suffix_ && (url += this.suffix_);
|
|
26497
26550
|
return url;
|
|
26498
26551
|
};
|
|
@@ -26908,7 +26961,7 @@ goog.exportSymbol("ee.layers.FeatureViewTileSource", module$exports$ee$layers$Fe
|
|
|
26908
26961
|
ee.MapTileManager = function() {
|
|
26909
26962
|
goog.events.EventTarget.call(this);
|
|
26910
26963
|
this.tokenPool_ = new ee.MapTileManager.TokenPool_(0, 60);
|
|
26911
|
-
this.requests_ = new goog
|
|
26964
|
+
this.requests_ = new module$contents$goog$structs$Map_Map();
|
|
26912
26965
|
};
|
|
26913
26966
|
$jscomp.inherits(ee.MapTileManager, goog.events.EventTarget);
|
|
26914
26967
|
ee.MapTileManager.prototype.getOutstandingCount = function() {
|
|
@@ -27121,7 +27174,7 @@ ee.MapLayerOverlay = function(url, mapId, token, init, opt_profiler) {
|
|
|
27121
27174
|
this.tileSize = init.tileSize || new google.maps.Size(256, 256);
|
|
27122
27175
|
this.isPng = init.isPng !== void 0 ? init.isPng : !0;
|
|
27123
27176
|
this.name = init.name;
|
|
27124
|
-
this.tiles_ = new goog
|
|
27177
|
+
this.tiles_ = new module$contents$goog$structs$Set_Set();
|
|
27125
27178
|
this.opacity_ = 1;
|
|
27126
27179
|
this.visible_ = !0;
|
|
27127
27180
|
this.profiler_ = opt_profiler || null;
|
|
@@ -27344,29 +27397,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27344
27397
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27345
27398
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27346
27399
|
(function() {
|
|
27347
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._call ee.ApiFunction._apply ee.ApiFunction.lookup ee.batch.Export.table.
|
|
27348
|
-
orderedParamLists = [["name", "var_args"], ["name", "namedArgs"], ["name"], "collection opt_description
|
|
27349
|
-
"
|
|
27350
|
-
"image opt_description opt_bucket
|
|
27351
|
-
"
|
|
27352
|
-
["
|
|
27353
|
-
[
|
|
27354
|
-
|
|
27355
|
-
"
|
|
27356
|
-
"
|
|
27357
|
-
"
|
|
27358
|
-
|
|
27359
|
-
"opt_callback"], ["
|
|
27360
|
-
[
|
|
27361
|
-
[ee.ApiFunction._call, ee.ApiFunction._apply, ee.ApiFunction.lookup, module$contents$ee$batch_Export.table.
|
|
27362
|
-
module$contents$ee$batch_Export.
|
|
27363
|
-
ee.ComputedObject.prototype.
|
|
27364
|
-
ee.data.
|
|
27365
|
-
ee.data.
|
|
27366
|
-
ee.
|
|
27367
|
-
ee.Filter
|
|
27368
|
-
ee.
|
|
27369
|
-
ee.ImageCollection.prototype.
|
|
27400
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._call ee.ApiFunction._apply ee.ApiFunction.lookup ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.table.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toFeatureView ee.batch.Export.classifier.toAsset ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.video.toCloudStorage ee.Collection.prototype.limit ee.Collection.prototype.filter ee.Collection.prototype.filterMetadata ee.Collection.prototype.sort ee.Collection.prototype.filterBounds ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filterDate ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.data.createAsset ee.data.getTaskStatus ee.data.listBuckets ee.data.newTaskId ee.data.setWorkloadTag ee.data.getTileUrl ee.data.getAssetRoots ee.data.getMapId ee.data.getWorkloadTag ee.data.createAssetHome ee.data.setDefaultWorkloadTag ee.data.startIngestion ee.data.resetWorkloadTag ee.data.createFolder ee.data.getTaskList ee.data.getFeatureViewTilesKey ee.data.getTaskListWithLimit ee.data.listOperations ee.data.renameAsset ee.data.copyAsset ee.data.listFeatures ee.data.startTableIngestion ee.data.computeValue ee.data.cancelOperation ee.data.getVideoThumbId ee.data.deleteAsset ee.data.getThumbId ee.data.getAssetAcl ee.data.getAsset ee.data.authenticateViaOauth ee.data.getOperation ee.data.getFilmstripThumbId ee.data.getInfo ee.data.cancelTask ee.data.authenticate ee.data.makeThumbUrl ee.data.getList ee.data.updateTask ee.data.authenticateViaPopup ee.data.updateAsset ee.data.listAssets ee.data.getDownloadId ee.data.getTableDownloadId ee.data.listImages ee.data.startProcessing ee.data.makeDownloadUrl ee.data.setAssetAcl ee.data.authenticateViaPrivateKey ee.data.getAssetRootQuota ee.data.makeTableDownloadUrl ee.data.setAssetProperties ee.Date ee.Deserializer.fromJSON ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Dictionary ee.InitState ee.call ee.apply ee.TILE_SIZE ee.initialize ee.reset ee.Algorithms ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getMapId ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.FeatureCollection.prototype.getDownloadURL ee.Filter.and ee.Filter.bounds ee.Filter.or ee.Filter.prototype.not ee.Filter.date ee.Filter ee.Filter.gte ee.Filter.metadata ee.Filter.gt ee.Filter.inList ee.Filter.neq ee.Filter.lte ee.Filter.lt ee.Filter.eq ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.serialize ee.Geometry.MultiLineString ee.Geometry.Point ee.Geometry.BBox ee.Geometry.prototype.toGeoJSON ee.Geometry ee.Geometry.MultiPoint ee.Geometry.LineString ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSONString ee.Geometry.Rectangle ee.Geometry.MultiPolygon ee.Geometry.LinearRing ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.prototype.clip ee.Image.prototype.getThumbId ee.Image.prototype.expression ee.Image.prototype.select ee.Image.prototype.rename ee.Image.prototype.getMapId ee.Image.rgb ee.Image ee.Image.cat ee.Image.prototype.getInfo ee.Image.prototype.getThumbURL ee.ImageCollection ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.encode ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApi ee.String ee.Terrain".split(" "),
|
|
27401
|
+
orderedParamLists = [["name", "var_args"], ["name", "namedArgs"], ["name"], "collection opt_description opt_bucket 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(" "), "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(" "),
|
|
27402
|
+
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_assetId opt_maxVertices opt_priority opt_overwrite".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27403
|
+
"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(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority opt_overwrite".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),
|
|
27404
|
+
["classifier", "opt_description", "opt_assetId", "opt_priority"], "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(" "), "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(" "),
|
|
27405
|
+
["max", "opt_property", "opt_ascending"], ["filter"], ["name", "operator", "value"], ["property", "opt_ascending"], ["geometry"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["start", "opt_end"], ["callback"], ["opt_callback"], ["func", "var_args"], ["legacy"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["taskId", "opt_callback"], ["project", "opt_callback"], ["opt_count", "opt_callback"], ["tag"], ["id", "x", "y", "z"], ["opt_callback"], ["params", "opt_callback"],
|
|
27406
|
+
[], ["requestedId", "opt_callback"], ["tag"], ["taskId", "request", "opt_callback"], ["opt_resetDefault"], ["path", "opt_force", "opt_callback"], ["opt_callback"], ["params", "opt_callback"], ["opt_limit", "opt_callback"], ["opt_limit", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["asset", "params", "opt_callback"], ["taskId", "request", "opt_callback"], ["obj", "opt_callback"], ["operationName", "opt_callback"],
|
|
27407
|
+
["params", "opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["assetId", "opt_callback"], ["id", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["operationName", "opt_callback"], ["params", "opt_callback"], ["id", "opt_callback"], ["taskId", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["id"], ["params", "opt_callback"], ["taskId", "action", "opt_callback"],
|
|
27408
|
+
["opt_success", "opt_error"], ["assetId", "asset", "updateFields", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["taskId", "params", "opt_callback"], ["id"], ["assetId", "aclUpdate", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["rootId", "opt_callback"], ["id"], ["assetId", "properties", "opt_callback"], ["date", "opt_tz"],
|
|
27409
|
+
["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], ["func", "var_args"], ["func", "namedArgs"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], [], ["var_args"], [], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_callback"], ["opt_visParams", "opt_callback"],
|
|
27410
|
+
["args", "opt_column"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["var_args"], ["geometry", "opt_errorMargin"], ["var_args"], [], ["start", "opt_end"], ["opt_filter"], ["name", "value"], ["name", "operator", "value"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["name", "value"], ["name", "value"], ["name", "value"], ["namedArgs"], ["var_args"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"],
|
|
27411
|
+
["coords", "opt_proj"], ["west", "south", "east", "north"], [], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["opt_visParams", "opt_callback"], ["params",
|
|
27412
|
+
"opt_callback"], ["geometry"], ["params", "opt_callback"], ["expression", "opt_map"], ["var_args"], ["var_args"], ["opt_visParams", "opt_callback"], ["r", "g", "b"], ["opt_args"], ["var_args"], ["opt_callback"], ["params", "opt_callback"], ["args"], ["opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["selectors", "opt_names"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"],
|
|
27413
|
+
[], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["string"], []];
|
|
27414
|
+
[ee.ApiFunction._call, ee.ApiFunction._apply, ee.ApiFunction.lookup, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.table.toFeatureView,
|
|
27415
|
+
module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.video.toCloudStorage, ee.Collection.prototype.limit, ee.Collection.prototype.filter, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.sort, ee.Collection.prototype.filterBounds, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.filterDate, ee.ComputedObject.prototype.evaluate,
|
|
27416
|
+
ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.serialize, ee.data.createAsset, ee.data.getTaskStatus, ee.data.listBuckets, ee.data.newTaskId, ee.data.setWorkloadTag, ee.data.getTileUrl, ee.data.getAssetRoots, ee.data.getMapId, ee.data.getWorkloadTag, ee.data.createAssetHome, ee.data.setDefaultWorkloadTag, ee.data.startIngestion, ee.data.resetWorkloadTag, ee.data.createFolder, ee.data.getTaskList, ee.data.getFeatureViewTilesKey, ee.data.getTaskListWithLimit,
|
|
27417
|
+
ee.data.listOperations, ee.data.renameAsset, ee.data.copyAsset, ee.data.listFeatures, ee.data.startTableIngestion, ee.data.computeValue, ee.data.cancelOperation, ee.data.getVideoThumbId, ee.data.deleteAsset, ee.data.getThumbId, ee.data.getAssetAcl, ee.data.getAsset, ee.data.authenticateViaOauth, ee.data.getOperation, ee.data.getFilmstripThumbId, ee.data.getInfo, ee.data.cancelTask, ee.data.authenticate, ee.data.makeThumbUrl, ee.data.getList, ee.data.updateTask, ee.data.authenticateViaPopup, ee.data.updateAsset,
|
|
27418
|
+
ee.data.listAssets, ee.data.getDownloadId, ee.data.getTableDownloadId, ee.data.listImages, ee.data.startProcessing, ee.data.makeDownloadUrl, ee.data.setAssetAcl, ee.data.authenticateViaPrivateKey, ee.data.getAssetRootQuota, ee.data.makeTableDownloadUrl, ee.data.setAssetProperties, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decode, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decodeCloudApi, ee.Dictionary, ee.InitState, ee.call, ee.apply, ee.TILE_SIZE, ee.initialize, ee.reset, ee.Algorithms,
|
|
27419
|
+
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.getMap, ee.Feature.prototype.getMapId, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection, ee.FeatureCollection.prototype.getDownloadURL, ee.Filter.and, ee.Filter.bounds, ee.Filter.or, ee.Filter.prototype.not, ee.Filter.date, ee.Filter, ee.Filter.gte, ee.Filter.metadata,
|
|
27420
|
+
ee.Filter.gt, ee.Filter.inList, ee.Filter.neq, ee.Filter.lte, ee.Filter.lt, ee.Filter.eq, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.prototype.serialize, ee.Geometry.MultiLineString, ee.Geometry.Point, ee.Geometry.BBox, ee.Geometry.prototype.toGeoJSON, ee.Geometry, ee.Geometry.MultiPoint, ee.Geometry.LineString, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.Rectangle, ee.Geometry.MultiPolygon, ee.Geometry.LinearRing, ee.Image.prototype.getMap,
|
|
27421
|
+
ee.Image.prototype.getDownloadURL, ee.Image.prototype.clip, ee.Image.prototype.getThumbId, ee.Image.prototype.expression, ee.Image.prototype.select, ee.Image.prototype.rename, ee.Image.prototype.getMapId, ee.Image.rgb, ee.Image, ee.Image.cat, ee.Image.prototype.getInfo, ee.Image.prototype.getThumbURL, ee.ImageCollection, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId,
|
|
27422
|
+
ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.first, ee.List, ee.Number, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.encode, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApi, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27370
27423
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27371
27424
|
});
|
|
27372
27425
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|