@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/browser.js
CHANGED
|
@@ -1344,7 +1344,7 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1344
1344
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1345
1345
|
};
|
|
1346
1346
|
}, "es8", "es3");
|
|
1347
|
-
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,
|
|
1347
|
+
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,
|
|
1348
1348
|
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,
|
|
1349
1349
|
GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1350
1350
|
/*
|
|
@@ -1352,7 +1352,7 @@ GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
|
1352
1352
|
Copyright The Closure Library Authors.
|
|
1353
1353
|
SPDX-License-Identifier: Apache-2.0
|
|
1354
1354
|
*/
|
|
1355
|
-
var
|
|
1355
|
+
var goog = goog || {};
|
|
1356
1356
|
goog.global = this || self;
|
|
1357
1357
|
goog.exportPath_ = function(name, object, overwriteImplicit, objectToExportTo) {
|
|
1358
1358
|
for (var parts = name.split("."), cur = objectToExportTo || goog.global, part; parts.length && (part = parts.shift());) {
|
|
@@ -3663,7 +3663,8 @@ goog.inherits(module$contents$goog$debug$Error_DebugError, Error);
|
|
|
3663
3663
|
module$contents$goog$debug$Error_DebugError.prototype.name = "CustomError";
|
|
3664
3664
|
goog.debug.Error = module$contents$goog$debug$Error_DebugError;
|
|
3665
3665
|
goog.dom = {};
|
|
3666
|
-
goog
|
|
3666
|
+
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};
|
|
3667
|
+
goog.dom.NodeType = module$contents$goog$dom$NodeType_NodeType;
|
|
3667
3668
|
goog.asserts = {};
|
|
3668
3669
|
goog.asserts.ENABLE_ASSERTS = module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS;
|
|
3669
3670
|
function module$contents$goog$asserts_AssertionError(messagePattern, messageArgs) {
|
|
@@ -3733,7 +3734,7 @@ goog.asserts.assertBoolean = function(value, opt_message, var_args) {
|
|
|
3733
3734
|
return value;
|
|
3734
3735
|
};
|
|
3735
3736
|
goog.asserts.assertElement = function(value, opt_message, var_args) {
|
|
3736
|
-
!module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS || goog.isObject(value) && value.nodeType == goog
|
|
3737
|
+
!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));
|
|
3737
3738
|
return value;
|
|
3738
3739
|
};
|
|
3739
3740
|
goog.asserts.assertInstanceof = function(value, type, opt_message, var_args) {
|
|
@@ -5598,8 +5599,8 @@ goog.structs.every = function(col, f, opt_obj) {
|
|
|
5598
5599
|
};
|
|
5599
5600
|
goog.uri = {};
|
|
5600
5601
|
goog.uri.utils = {};
|
|
5601
|
-
goog
|
|
5602
|
-
goog
|
|
5602
|
+
var module$contents$goog$uri$utils_CharCode = {AMPERSAND:38, EQUAL:61, HASH:35, QUESTION:63};
|
|
5603
|
+
function module$contents$goog$uri$utils_buildFromEncodedParts(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_queryData, opt_fragment) {
|
|
5603
5604
|
var out = "";
|
|
5604
5605
|
opt_scheme && (out += opt_scheme + ":");
|
|
5605
5606
|
opt_domain && (out += "//", opt_userInfo && (out += opt_userInfo + "@"), out += opt_domain, opt_port && (out += ":" + opt_port));
|
|
@@ -5607,90 +5608,48 @@ goog.uri.utils.buildFromEncodedParts = function(opt_scheme, opt_userInfo, opt_do
|
|
|
5607
5608
|
opt_queryData && (out += "?" + opt_queryData);
|
|
5608
5609
|
opt_fragment && (out += "#" + opt_fragment);
|
|
5609
5610
|
return out;
|
|
5610
|
-
}
|
|
5611
|
-
goog
|
|
5612
|
-
goog
|
|
5613
|
-
|
|
5614
|
-
goog.uri.
|
|
5615
|
-
goog.uri.utils.urlPackageSupportLoggingHandler_ = handler;
|
|
5616
|
-
};
|
|
5617
|
-
goog.uri.utils.split = function(uri) {
|
|
5618
|
-
var result = uri.match(goog.uri.utils.splitRe_);
|
|
5619
|
-
goog.uri.utils.urlPackageSupportLoggingHandler_ && ["http", "https", "ws", "wss", "ftp"].indexOf(result[goog.uri.utils.ComponentIndex.SCHEME]) >= 0 && goog.uri.utils.urlPackageSupportLoggingHandler_(uri);
|
|
5611
|
+
}
|
|
5612
|
+
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;
|
|
5613
|
+
function module$contents$goog$uri$utils_split(uri) {
|
|
5614
|
+
var result = uri.match(module$contents$goog$uri$utils_splitRe);
|
|
5615
|
+
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);
|
|
5620
5616
|
return result;
|
|
5621
|
-
}
|
|
5622
|
-
goog
|
|
5617
|
+
}
|
|
5618
|
+
function module$contents$goog$uri$utils_decodeIfPossible(uri, opt_preserveReserved) {
|
|
5623
5619
|
return uri ? opt_preserveReserved ? decodeURI(uri) : decodeURIComponent(uri) : uri;
|
|
5624
|
-
}
|
|
5625
|
-
goog
|
|
5626
|
-
return goog
|
|
5627
|
-
}
|
|
5628
|
-
goog
|
|
5629
|
-
return goog
|
|
5630
|
-
}
|
|
5631
|
-
goog
|
|
5632
|
-
var scheme = goog
|
|
5620
|
+
}
|
|
5621
|
+
function module$contents$goog$uri$utils_getComponentByIndex(componentIndex, uri) {
|
|
5622
|
+
return module$contents$goog$uri$utils_split(uri)[componentIndex] || null;
|
|
5623
|
+
}
|
|
5624
|
+
function module$contents$goog$uri$utils_getScheme(uri) {
|
|
5625
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.SCHEME, uri);
|
|
5626
|
+
}
|
|
5627
|
+
function module$contents$goog$uri$utils_getEffectiveScheme(uri) {
|
|
5628
|
+
var scheme = module$contents$goog$uri$utils_getScheme(uri);
|
|
5633
5629
|
!scheme && goog.global.self && goog.global.self.location && (scheme = goog.global.self.location.protocol.slice(0, -1));
|
|
5634
5630
|
return scheme ? scheme.toLowerCase() : "";
|
|
5635
|
-
}
|
|
5636
|
-
goog
|
|
5637
|
-
return goog
|
|
5638
|
-
}
|
|
5639
|
-
goog
|
|
5640
|
-
return goog
|
|
5641
|
-
}
|
|
5642
|
-
goog
|
|
5643
|
-
return goog
|
|
5644
|
-
}
|
|
5645
|
-
goog
|
|
5646
|
-
return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getDomainEncoded(uri), !0);
|
|
5647
|
-
};
|
|
5648
|
-
goog.uri.utils.getPort = function(uri) {
|
|
5649
|
-
return Number(goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.PORT, uri)) || null;
|
|
5650
|
-
};
|
|
5651
|
-
goog.uri.utils.getPathEncoded = function(uri) {
|
|
5652
|
-
return goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.PATH, uri);
|
|
5653
|
-
};
|
|
5654
|
-
goog.uri.utils.getPath = function(uri) {
|
|
5655
|
-
return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getPathEncoded(uri), !0);
|
|
5656
|
-
};
|
|
5657
|
-
goog.uri.utils.getQueryData = function(uri) {
|
|
5658
|
-
return goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex.QUERY_DATA, uri);
|
|
5659
|
-
};
|
|
5660
|
-
goog.uri.utils.getFragmentEncoded = function(uri) {
|
|
5631
|
+
}
|
|
5632
|
+
function module$contents$goog$uri$utils_getUserInfoEncoded(uri) {
|
|
5633
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.USER_INFO, uri);
|
|
5634
|
+
}
|
|
5635
|
+
function module$contents$goog$uri$utils_getDomainEncoded(uri) {
|
|
5636
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.DOMAIN, uri);
|
|
5637
|
+
}
|
|
5638
|
+
function module$contents$goog$uri$utils_getPathEncoded(uri) {
|
|
5639
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.PATH, uri);
|
|
5640
|
+
}
|
|
5641
|
+
function module$contents$goog$uri$utils_getFragmentEncoded(uri) {
|
|
5661
5642
|
var hashIndex = uri.indexOf("#");
|
|
5662
5643
|
return hashIndex < 0 ? null : uri.slice(hashIndex + 1);
|
|
5663
|
-
}
|
|
5664
|
-
goog
|
|
5665
|
-
return goog.uri.utils.removeFragment(uri) + (fragment ? "#" + fragment : "");
|
|
5666
|
-
};
|
|
5667
|
-
goog.uri.utils.getFragment = function(uri) {
|
|
5668
|
-
return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getFragmentEncoded(uri));
|
|
5669
|
-
};
|
|
5670
|
-
goog.uri.utils.getHost = function(uri) {
|
|
5671
|
-
var pieces = goog.uri.utils.split(uri);
|
|
5672
|
-
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]);
|
|
5673
|
-
};
|
|
5674
|
-
goog.uri.utils.getOrigin = function(uri) {
|
|
5675
|
-
var pieces = goog.uri.utils.split(uri);
|
|
5676
|
-
return goog.uri.utils.buildFromEncodedParts(pieces[goog.uri.utils.ComponentIndex.SCHEME], null, pieces[goog.uri.utils.ComponentIndex.DOMAIN], pieces[goog.uri.utils.ComponentIndex.PORT]);
|
|
5677
|
-
};
|
|
5678
|
-
goog.uri.utils.getPathAndAfter = function(uri) {
|
|
5679
|
-
var pieces = goog.uri.utils.split(uri);
|
|
5680
|
-
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]);
|
|
5681
|
-
};
|
|
5682
|
-
goog.uri.utils.removeFragment = function(uri) {
|
|
5644
|
+
}
|
|
5645
|
+
function module$contents$goog$uri$utils_removeFragment(uri) {
|
|
5683
5646
|
var hashIndex = uri.indexOf("#");
|
|
5684
5647
|
return hashIndex < 0 ? uri : uri.slice(0, hashIndex);
|
|
5685
|
-
}
|
|
5686
|
-
goog
|
|
5687
|
-
var pieces1 = goog.uri.utils.split(uri1), pieces2 = goog.uri.utils.split(uri2);
|
|
5688
|
-
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];
|
|
5689
|
-
};
|
|
5690
|
-
goog.uri.utils.assertNoFragmentsOrQueries_ = function(uri) {
|
|
5648
|
+
}
|
|
5649
|
+
function module$contents$goog$uri$utils_assertNoFragmentsOrQueries(uri) {
|
|
5691
5650
|
goog.asserts.assert(uri.indexOf("#") < 0 && uri.indexOf("?") < 0, "goog.uri.utils: Fragment or query identifiers are not supported: [%s]", uri);
|
|
5692
|
-
}
|
|
5693
|
-
goog
|
|
5651
|
+
}
|
|
5652
|
+
function module$contents$goog$uri$utils_parseQueryData(encodedQuery, callback) {
|
|
5694
5653
|
if (encodedQuery) {
|
|
5695
5654
|
for (var pairs = encodedQuery.split("&"), i = 0; i < pairs.length; i++) {
|
|
5696
5655
|
var indexOfEquals = pairs[i].indexOf("="), name = null, value = null;
|
|
@@ -5698,8 +5657,8 @@ goog.uri.utils.parseQueryData = function(encodedQuery, callback) {
|
|
|
5698
5657
|
callback(name, value ? goog.string.urlDecode(value) : "");
|
|
5699
5658
|
}
|
|
5700
5659
|
}
|
|
5701
|
-
}
|
|
5702
|
-
goog
|
|
5660
|
+
}
|
|
5661
|
+
function module$contents$goog$uri$utils_splitQueryData(uri) {
|
|
5703
5662
|
var hashIndex = uri.indexOf("#");
|
|
5704
5663
|
hashIndex < 0 && (hashIndex = uri.length);
|
|
5705
5664
|
var questionIndex = uri.indexOf("?");
|
|
@@ -5710,77 +5669,116 @@ goog.uri.utils.splitQueryData_ = function(uri) {
|
|
|
5710
5669
|
queryData = uri.substring(questionIndex + 1, hashIndex);
|
|
5711
5670
|
}
|
|
5712
5671
|
return [uri.slice(0, questionIndex), queryData, uri.slice(hashIndex)];
|
|
5713
|
-
}
|
|
5714
|
-
goog
|
|
5672
|
+
}
|
|
5673
|
+
function module$contents$goog$uri$utils_joinQueryData(parts) {
|
|
5715
5674
|
return parts[0] + (parts[1] ? "?" + parts[1] : "") + parts[2];
|
|
5716
|
-
}
|
|
5717
|
-
goog
|
|
5675
|
+
}
|
|
5676
|
+
function module$contents$goog$uri$utils_appendQueryData(queryData, newData) {
|
|
5718
5677
|
return newData ? queryData ? queryData + "&" + newData : newData : queryData;
|
|
5719
|
-
}
|
|
5720
|
-
goog
|
|
5678
|
+
}
|
|
5679
|
+
function module$contents$goog$uri$utils_appendQueryDataToUri(uri, queryData) {
|
|
5721
5680
|
if (!queryData) {
|
|
5722
5681
|
return uri;
|
|
5723
5682
|
}
|
|
5724
|
-
var parts = goog
|
|
5725
|
-
parts[1] = goog
|
|
5726
|
-
return goog
|
|
5727
|
-
}
|
|
5728
|
-
goog
|
|
5683
|
+
var parts = module$contents$goog$uri$utils_splitQueryData(uri);
|
|
5684
|
+
parts[1] = module$contents$goog$uri$utils_appendQueryData(parts[1], queryData);
|
|
5685
|
+
return module$contents$goog$uri$utils_joinQueryData(parts);
|
|
5686
|
+
}
|
|
5687
|
+
function module$contents$goog$uri$utils_appendKeyValuePairs(key, value, pairs) {
|
|
5729
5688
|
goog.asserts.assertString(key);
|
|
5730
5689
|
if (Array.isArray(value)) {
|
|
5731
5690
|
goog.asserts.assertArray(value);
|
|
5732
5691
|
for (var j = 0; j < value.length; j++) {
|
|
5733
|
-
goog
|
|
5692
|
+
module$contents$goog$uri$utils_appendKeyValuePairs(key, String(value[j]), pairs);
|
|
5734
5693
|
}
|
|
5735
5694
|
} else {
|
|
5736
5695
|
value != null && pairs.push(key + (value === "" ? "" : "=" + goog.string.urlEncode(value)));
|
|
5737
5696
|
}
|
|
5738
|
-
}
|
|
5739
|
-
goog
|
|
5697
|
+
}
|
|
5698
|
+
function module$contents$goog$uri$utils_buildQueryData(keysAndValues, opt_startIndex) {
|
|
5740
5699
|
goog.asserts.assert(Math.max(keysAndValues.length - (opt_startIndex || 0), 0) % 2 == 0, "goog.uri.utils: Key/value lists must be even in length.");
|
|
5741
5700
|
for (var params = [], i = opt_startIndex || 0; i < keysAndValues.length; i += 2) {
|
|
5742
|
-
goog
|
|
5701
|
+
module$contents$goog$uri$utils_appendKeyValuePairs(keysAndValues[i], keysAndValues[i + 1], params);
|
|
5743
5702
|
}
|
|
5744
5703
|
return params.join("&");
|
|
5745
|
-
}
|
|
5746
|
-
goog
|
|
5704
|
+
}
|
|
5705
|
+
function module$contents$goog$uri$utils_buildQueryDataFromMap(map) {
|
|
5747
5706
|
var params = [], key;
|
|
5748
5707
|
for (key in map) {
|
|
5749
|
-
goog
|
|
5708
|
+
module$contents$goog$uri$utils_appendKeyValuePairs(key, map[key], params);
|
|
5750
5709
|
}
|
|
5751
5710
|
return params.join("&");
|
|
5752
|
-
}
|
|
5753
|
-
goog
|
|
5754
|
-
var queryData = arguments.length == 2 ? goog.uri.utils.buildQueryData(arguments[1], 0) : goog.uri.utils.buildQueryData(arguments, 1);
|
|
5755
|
-
return goog.uri.utils.appendQueryDataToUri_(uri, queryData);
|
|
5756
|
-
};
|
|
5757
|
-
goog.uri.utils.appendParamsFromMap = function(uri, map) {
|
|
5758
|
-
var queryData = goog.uri.utils.buildQueryDataFromMap(map);
|
|
5759
|
-
return goog.uri.utils.appendQueryDataToUri_(uri, queryData);
|
|
5760
|
-
};
|
|
5761
|
-
goog.uri.utils.appendParam = function(uri, key, opt_value) {
|
|
5711
|
+
}
|
|
5712
|
+
function module$contents$goog$uri$utils_appendParam(uri, key, opt_value) {
|
|
5762
5713
|
var value = opt_value != null ? "=" + goog.string.urlEncode(opt_value) : "";
|
|
5763
|
-
return goog
|
|
5764
|
-
}
|
|
5765
|
-
goog
|
|
5714
|
+
return module$contents$goog$uri$utils_appendQueryDataToUri(uri, key + value);
|
|
5715
|
+
}
|
|
5716
|
+
function module$contents$goog$uri$utils_findParam(uri, startIndex, keyEncoded, hashOrEndIndex) {
|
|
5766
5717
|
for (var index = startIndex, keyLength = keyEncoded.length; (index = uri.indexOf(keyEncoded, index)) >= 0 && index < hashOrEndIndex;) {
|
|
5767
5718
|
var precedingChar = uri.charCodeAt(index - 1);
|
|
5768
|
-
if (precedingChar == goog
|
|
5719
|
+
if (precedingChar == module$contents$goog$uri$utils_CharCode.AMPERSAND || precedingChar == module$contents$goog$uri$utils_CharCode.QUESTION) {
|
|
5769
5720
|
var followingChar = uri.charCodeAt(index + keyLength);
|
|
5770
|
-
if (!followingChar || followingChar == goog
|
|
5721
|
+
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) {
|
|
5771
5722
|
return index;
|
|
5772
5723
|
}
|
|
5773
5724
|
}
|
|
5774
5725
|
index += keyLength + 1;
|
|
5775
5726
|
}
|
|
5776
5727
|
return -1;
|
|
5728
|
+
}
|
|
5729
|
+
var module$contents$goog$uri$utils_hashOrEndRe = /#|$/, module$contents$goog$uri$utils_trailingQueryPunctuationRe = /[?&]($|#)/;
|
|
5730
|
+
function module$contents$goog$uri$utils_removeParam(uri, keyEncoded) {
|
|
5731
|
+
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;) {
|
|
5732
|
+
buffer.push(uri.substring(position, foundIndex)), position = Math.min(uri.indexOf("&", foundIndex) + 1 || hashOrEndIndex, hashOrEndIndex);
|
|
5733
|
+
}
|
|
5734
|
+
buffer.push(uri.slice(position));
|
|
5735
|
+
return buffer.join("").replace(module$contents$goog$uri$utils_trailingQueryPunctuationRe, "$1");
|
|
5736
|
+
}
|
|
5737
|
+
function module$contents$goog$uri$utils_setParam(uri, keyEncoded, value) {
|
|
5738
|
+
return module$contents$goog$uri$utils_appendParam(module$contents$goog$uri$utils_removeParam(uri, keyEncoded), keyEncoded, value);
|
|
5739
|
+
}
|
|
5740
|
+
var module$contents$goog$uri$utils_StandardQueryParam = {RANDOM:"zx"};
|
|
5741
|
+
goog.uri.utils.ComponentIndex = module$contents$goog$uri$utils_ComponentIndex;
|
|
5742
|
+
goog.uri.utils.StandardQueryParam = module$contents$goog$uri$utils_StandardQueryParam;
|
|
5743
|
+
goog.uri.utils.QueryArray = void 0;
|
|
5744
|
+
goog.uri.utils.QueryValue = void 0;
|
|
5745
|
+
goog.uri.utils.appendParam = module$contents$goog$uri$utils_appendParam;
|
|
5746
|
+
goog.uri.utils.appendParams = function(uri, var_args) {
|
|
5747
|
+
var queryData = arguments.length == 2 ? module$contents$goog$uri$utils_buildQueryData(arguments[1], 0) : module$contents$goog$uri$utils_buildQueryData(arguments, 1);
|
|
5748
|
+
return module$contents$goog$uri$utils_appendQueryDataToUri(uri, queryData);
|
|
5777
5749
|
};
|
|
5778
|
-
goog.uri.utils.
|
|
5779
|
-
|
|
5780
|
-
return goog
|
|
5750
|
+
goog.uri.utils.appendParamsFromMap = function(uri, map) {
|
|
5751
|
+
var queryData = module$contents$goog$uri$utils_buildQueryDataFromMap(map);
|
|
5752
|
+
return module$contents$goog$uri$utils_appendQueryDataToUri(uri, queryData);
|
|
5753
|
+
};
|
|
5754
|
+
goog.uri.utils.appendPath = function(baseUri, path) {
|
|
5755
|
+
module$contents$goog$uri$utils_assertNoFragmentsOrQueries(baseUri);
|
|
5756
|
+
goog.string.endsWith(baseUri, "/") && (baseUri = baseUri.slice(0, -1));
|
|
5757
|
+
goog.string.startsWith(path, "/") && (path = path.slice(1));
|
|
5758
|
+
return "" + baseUri + "/" + path;
|
|
5759
|
+
};
|
|
5760
|
+
goog.uri.utils.buildFromEncodedParts = module$contents$goog$uri$utils_buildFromEncodedParts;
|
|
5761
|
+
goog.uri.utils.buildQueryData = module$contents$goog$uri$utils_buildQueryData;
|
|
5762
|
+
goog.uri.utils.buildQueryDataFromMap = module$contents$goog$uri$utils_buildQueryDataFromMap;
|
|
5763
|
+
goog.uri.utils.getDomain = function(uri) {
|
|
5764
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getDomainEncoded(uri), !0);
|
|
5765
|
+
};
|
|
5766
|
+
goog.uri.utils.getDomainEncoded = module$contents$goog$uri$utils_getDomainEncoded;
|
|
5767
|
+
goog.uri.utils.getEffectiveScheme = module$contents$goog$uri$utils_getEffectiveScheme;
|
|
5768
|
+
goog.uri.utils.getFragment = function(uri) {
|
|
5769
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getFragmentEncoded(uri));
|
|
5770
|
+
};
|
|
5771
|
+
goog.uri.utils.getFragmentEncoded = module$contents$goog$uri$utils_getFragmentEncoded;
|
|
5772
|
+
goog.uri.utils.getHost = function(uri) {
|
|
5773
|
+
var pieces = module$contents$goog$uri$utils_split(uri);
|
|
5774
|
+
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]);
|
|
5775
|
+
};
|
|
5776
|
+
goog.uri.utils.getOrigin = function(uri) {
|
|
5777
|
+
var pieces = module$contents$goog$uri$utils_split(uri);
|
|
5778
|
+
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]);
|
|
5781
5779
|
};
|
|
5782
5780
|
goog.uri.utils.getParamValue = function(uri, keyEncoded) {
|
|
5783
|
-
var hashOrEndIndex = uri.search(goog
|
|
5781
|
+
var hashOrEndIndex = uri.search(module$contents$goog$uri$utils_hashOrEndRe), foundIndex = module$contents$goog$uri$utils_findParam(uri, 0, keyEncoded, hashOrEndIndex);
|
|
5784
5782
|
if (foundIndex < 0) {
|
|
5785
5783
|
return null;
|
|
5786
5784
|
}
|
|
@@ -5792,7 +5790,7 @@ goog.uri.utils.getParamValue = function(uri, keyEncoded) {
|
|
|
5792
5790
|
return goog.string.urlDecode(uri.slice(foundIndex, endPosition !== -1 ? endPosition : 0));
|
|
5793
5791
|
};
|
|
5794
5792
|
goog.uri.utils.getParamValues = function(uri, keyEncoded) {
|
|
5795
|
-
for (var hashOrEndIndex = uri.search(goog
|
|
5793
|
+
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;) {
|
|
5796
5794
|
position = uri.indexOf("&", foundIndex);
|
|
5797
5795
|
if (position < 0 || position > hashOrEndIndex) {
|
|
5798
5796
|
position = hashOrEndIndex;
|
|
@@ -5802,51 +5800,71 @@ goog.uri.utils.getParamValues = function(uri, keyEncoded) {
|
|
|
5802
5800
|
}
|
|
5803
5801
|
return result;
|
|
5804
5802
|
};
|
|
5805
|
-
goog.uri.utils.
|
|
5806
|
-
goog
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5803
|
+
goog.uri.utils.getPath = function(uri) {
|
|
5804
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getPathEncoded(uri), !0);
|
|
5805
|
+
};
|
|
5806
|
+
goog.uri.utils.getPathAndAfter = function(uri) {
|
|
5807
|
+
var pieces = module$contents$goog$uri$utils_split(uri);
|
|
5808
|
+
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]);
|
|
5809
|
+
};
|
|
5810
|
+
goog.uri.utils.getPathEncoded = module$contents$goog$uri$utils_getPathEncoded;
|
|
5811
|
+
goog.uri.utils.getPort = function(uri) {
|
|
5812
|
+
return Number(module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.PORT, uri)) || null;
|
|
5812
5813
|
};
|
|
5813
|
-
goog.uri.utils.
|
|
5814
|
-
return goog
|
|
5814
|
+
goog.uri.utils.getQueryData = function(uri) {
|
|
5815
|
+
return module$contents$goog$uri$utils_getComponentByIndex(module$contents$goog$uri$utils_ComponentIndex.QUERY_DATA, uri);
|
|
5815
5816
|
};
|
|
5817
|
+
goog.uri.utils.getScheme = module$contents$goog$uri$utils_getScheme;
|
|
5818
|
+
goog.uri.utils.getUserInfo = function(uri) {
|
|
5819
|
+
return module$contents$goog$uri$utils_decodeIfPossible(module$contents$goog$uri$utils_getUserInfoEncoded(uri));
|
|
5820
|
+
};
|
|
5821
|
+
goog.uri.utils.getUserInfoEncoded = module$contents$goog$uri$utils_getUserInfoEncoded;
|
|
5822
|
+
goog.uri.utils.hasParam = function(uri, keyEncoded) {
|
|
5823
|
+
return module$contents$goog$uri$utils_findParam(uri, 0, keyEncoded, uri.search(module$contents$goog$uri$utils_hashOrEndRe)) >= 0;
|
|
5824
|
+
};
|
|
5825
|
+
goog.uri.utils.haveSameDomain = function(uri1, uri2) {
|
|
5826
|
+
var pieces1 = module$contents$goog$uri$utils_split(uri1), pieces2 = module$contents$goog$uri$utils_split(uri2);
|
|
5827
|
+
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];
|
|
5828
|
+
};
|
|
5829
|
+
goog.uri.utils.makeUnique = function(uri) {
|
|
5830
|
+
return module$contents$goog$uri$utils_setParam(uri, module$contents$goog$uri$utils_StandardQueryParam.RANDOM, goog.string.getRandomString());
|
|
5831
|
+
};
|
|
5832
|
+
goog.uri.utils.parseQueryData = module$contents$goog$uri$utils_parseQueryData;
|
|
5833
|
+
goog.uri.utils.removeFragment = module$contents$goog$uri$utils_removeFragment;
|
|
5834
|
+
goog.uri.utils.removeParam = module$contents$goog$uri$utils_removeParam;
|
|
5835
|
+
goog.uri.utils.setFragmentEncoded = function(uri, fragment) {
|
|
5836
|
+
return module$contents$goog$uri$utils_removeFragment(uri) + (fragment ? "#" + fragment : "");
|
|
5837
|
+
};
|
|
5838
|
+
goog.uri.utils.setParam = module$contents$goog$uri$utils_setParam;
|
|
5816
5839
|
goog.uri.utils.setParamsFromMap = function(uri, params) {
|
|
5817
|
-
var parts = goog
|
|
5840
|
+
var parts = module$contents$goog$uri$utils_splitQueryData(uri), queryData = parts[1], buffer = [];
|
|
5818
5841
|
queryData && queryData.split("&").forEach(function(pair) {
|
|
5819
5842
|
var indexOfEquals = pair.indexOf("="), name = indexOfEquals >= 0 ? pair.slice(0, indexOfEquals) : pair;
|
|
5820
5843
|
params.hasOwnProperty(name) || buffer.push(pair);
|
|
5821
5844
|
});
|
|
5822
|
-
parts[1] = goog
|
|
5823
|
-
return goog
|
|
5824
|
-
};
|
|
5825
|
-
goog.uri.utils.appendPath = function(baseUri, path) {
|
|
5826
|
-
goog.uri.utils.assertNoFragmentsOrQueries_(baseUri);
|
|
5827
|
-
goog.string.endsWith(baseUri, "/") && (baseUri = baseUri.slice(0, -1));
|
|
5828
|
-
goog.string.startsWith(path, "/") && (path = path.slice(1));
|
|
5829
|
-
return "" + baseUri + "/" + path;
|
|
5845
|
+
parts[1] = module$contents$goog$uri$utils_appendQueryData(buffer.join("&"), module$contents$goog$uri$utils_buildQueryDataFromMap(params));
|
|
5846
|
+
return module$contents$goog$uri$utils_joinQueryData(parts);
|
|
5830
5847
|
};
|
|
5831
5848
|
goog.uri.utils.setPath = function(uri, path) {
|
|
5832
5849
|
goog.string.startsWith(path, "/") || (path = "/" + path);
|
|
5833
|
-
var parts = goog
|
|
5834
|
-
return goog
|
|
5850
|
+
var parts = module$contents$goog$uri$utils_split(uri);
|
|
5851
|
+
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]);
|
|
5835
5852
|
};
|
|
5836
|
-
goog.uri.utils.
|
|
5837
|
-
goog
|
|
5838
|
-
return goog.uri.utils.setParam(uri, goog.uri.utils.StandardQueryParam.RANDOM, goog.string.getRandomString());
|
|
5853
|
+
goog.uri.utils.setUrlPackageSupportLoggingHandler = function(handler) {
|
|
5854
|
+
module$contents$goog$uri$utils_urlPackageSupportLoggingHandler = handler;
|
|
5839
5855
|
};
|
|
5856
|
+
goog.uri.utils.split = module$contents$goog$uri$utils_split;
|
|
5840
5857
|
goog.Uri = function(opt_uri, opt_ignoreCase) {
|
|
5841
5858
|
this.domain_ = this.userInfo_ = this.scheme_ = "";
|
|
5842
5859
|
this.port_ = null;
|
|
5843
5860
|
this.fragment_ = this.path_ = "";
|
|
5844
5861
|
this.ignoreCase_ = this.isReadOnly_ = !1;
|
|
5845
5862
|
var m;
|
|
5846
|
-
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
|
|
5847
|
-
"", !0), this.setUserInfo(m[goog
|
|
5863
|
+
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,
|
|
5864
|
+
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] ||
|
|
5865
|
+
"", !0)) : (this.ignoreCase_ = !!opt_ignoreCase, this.queryData_ = new goog.Uri.QueryData(null, this.ignoreCase_));
|
|
5848
5866
|
};
|
|
5849
|
-
goog.Uri.RANDOM_PARAM = goog
|
|
5867
|
+
goog.Uri.RANDOM_PARAM = module$contents$goog$uri$utils_StandardQueryParam.RANDOM;
|
|
5850
5868
|
goog.Uri.prototype.toString = function() {
|
|
5851
5869
|
var out = [], scheme = this.getScheme();
|
|
5852
5870
|
scheme && out.push(goog.Uri.encodeSpecialChars_(scheme, goog.Uri.reDisallowedInSchemeOrUserInfo_, !0), ":");
|
|
@@ -6101,8 +6119,8 @@ goog.Uri.reDisallowedInAbsolutePath_ = /[#\?]/g;
|
|
|
6101
6119
|
goog.Uri.reDisallowedInQuery_ = /[#\?@]/g;
|
|
6102
6120
|
goog.Uri.reDisallowedInFragment_ = /#/g;
|
|
6103
6121
|
goog.Uri.haveSameDomain = function(uri1String, uri2String) {
|
|
6104
|
-
var pieces1 = goog
|
|
6105
|
-
return pieces1[goog
|
|
6122
|
+
var pieces1 = module$contents$goog$uri$utils_split(uri1String), pieces2 = module$contents$goog$uri$utils_split(uri2String);
|
|
6123
|
+
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];
|
|
6106
6124
|
};
|
|
6107
6125
|
goog.Uri.QueryData = function(opt_query, opt_ignoreCase) {
|
|
6108
6126
|
this.count_ = this.keyMap_ = null;
|
|
@@ -6112,7 +6130,7 @@ goog.Uri.QueryData = function(opt_query, opt_ignoreCase) {
|
|
|
6112
6130
|
goog.Uri.QueryData.prototype.ensureKeyMapInitialized_ = function() {
|
|
6113
6131
|
if (!this.keyMap_ && (this.keyMap_ = new Map(), this.count_ = 0, this.encodedQuery_)) {
|
|
6114
6132
|
var self = this;
|
|
6115
|
-
goog
|
|
6133
|
+
module$contents$goog$uri$utils_parseQueryData(this.encodedQuery_, function(name, value) {
|
|
6116
6134
|
self.add(goog.string.urlDecode(name), value);
|
|
6117
6135
|
});
|
|
6118
6136
|
}
|
|
@@ -6294,7 +6312,7 @@ var module$exports$goog$net$rpc$HttpCors = {HTTP_HEADERS_PARAM_NAME:"$httpHeader
|
|
|
6294
6312
|
}
|
|
6295
6313
|
var httpHeaders = module$exports$goog$net$rpc$HttpCors.generateHttpHeadersOverwriteParam(extraHeaders);
|
|
6296
6314
|
if (typeof url === "string") {
|
|
6297
|
-
return goog
|
|
6315
|
+
return module$contents$goog$uri$utils_appendParam(url, goog.string.urlEncode(urlParam), httpHeaders);
|
|
6298
6316
|
}
|
|
6299
6317
|
url.setParameterValue(urlParam, httpHeaders);
|
|
6300
6318
|
return url;
|
|
@@ -6549,7 +6567,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles = !1;
|
|
|
6549
6567
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles = !1;
|
|
6550
6568
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
6551
6569
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
6552
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6570
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__disable = !1;
|
|
6553
6571
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_context_per_component__enable = !1;
|
|
6554
6572
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_lazy_tsx__disable = !1;
|
|
6555
6573
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__fixed_noopener_behavior__enable = !1;
|
|
@@ -6558,7 +6576,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_mes
|
|
|
6558
6576
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_use_constant_default_pivot__enable = !1;
|
|
6559
6577
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable = !1;
|
|
6560
6578
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_array_constructor_if_array_is_already_constructed__disable = !1;
|
|
6561
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6579
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable = !1;
|
|
6562
6580
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_write_back_bigint__enable = !1;
|
|
6563
6581
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable = !1;
|
|
6564
6582
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
@@ -6569,7 +6587,8 @@ goog.flags = {};
|
|
|
6569
6587
|
var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1, goog.FLAGS_STAGING_DEFAULT);
|
|
6570
6588
|
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);
|
|
6571
6589
|
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);
|
|
6572
|
-
goog.flags.CLIENT_ONLY_WIZ_QUEUE_EFFECT_AND_ON_INIT_INITIAL_RUNS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.
|
|
6590
|
+
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,
|
|
6591
|
+
module$contents$goog$flags_STAGING);
|
|
6573
6592
|
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);
|
|
6574
6593
|
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);
|
|
6575
6594
|
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);
|
|
@@ -6579,7 +6598,8 @@ goog.flags.JSPB_USE_CONSTANT_DEFAULT_PIVOT = module$exports$closure$flags$flags$
|
|
|
6579
6598
|
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);
|
|
6580
6599
|
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,
|
|
6581
6600
|
!0);
|
|
6582
|
-
goog.flags.JSPB_DESERIALIZE_BINARY_INT64S_AS_GBIGINT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.
|
|
6601
|
+
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,
|
|
6602
|
+
module$contents$goog$flags_STAGING);
|
|
6583
6603
|
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);
|
|
6584
6604
|
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);
|
|
6585
6605
|
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);
|
|
@@ -7430,28 +7450,30 @@ goog.events.Listenable.prototype.getListener = function(type, listener, capture,
|
|
|
7430
7450
|
};
|
|
7431
7451
|
goog.events.Listenable.prototype.hasListener = function(opt_type, opt_capture) {
|
|
7432
7452
|
};
|
|
7433
|
-
goog
|
|
7434
|
-
}
|
|
7435
|
-
goog
|
|
7436
|
-
goog
|
|
7437
|
-
return ++goog
|
|
7453
|
+
function module$contents$goog$events$ListenableKey_ListenableKey() {
|
|
7454
|
+
}
|
|
7455
|
+
module$contents$goog$events$ListenableKey_ListenableKey.counter_ = 0;
|
|
7456
|
+
module$contents$goog$events$ListenableKey_ListenableKey.reserveKey = function() {
|
|
7457
|
+
return ++module$contents$goog$events$ListenableKey_ListenableKey.counter_;
|
|
7438
7458
|
};
|
|
7439
|
-
goog.events.
|
|
7440
|
-
|
|
7459
|
+
goog.events.ListenableKey = module$contents$goog$events$ListenableKey_ListenableKey;
|
|
7460
|
+
function module$contents$goog$events$Listener_Listener(listener, proxy, src, type, capture, opt_handler) {
|
|
7461
|
+
module$contents$goog$events$Listener_Listener.ENABLE_MONITORING && (this.creationStack = Error().stack);
|
|
7441
7462
|
this.listener = listener;
|
|
7442
7463
|
this.proxy = proxy;
|
|
7443
7464
|
this.src = src;
|
|
7444
7465
|
this.type = type;
|
|
7445
7466
|
this.capture = !!capture;
|
|
7446
7467
|
this.handler = opt_handler;
|
|
7447
|
-
this.key = goog
|
|
7468
|
+
this.key = module$contents$goog$events$ListenableKey_ListenableKey.reserveKey();
|
|
7448
7469
|
this.removed = this.callOnce = !1;
|
|
7449
|
-
}
|
|
7450
|
-
goog
|
|
7451
|
-
goog
|
|
7470
|
+
}
|
|
7471
|
+
module$contents$goog$events$Listener_Listener.ENABLE_MONITORING = !1;
|
|
7472
|
+
module$contents$goog$events$Listener_Listener.prototype.markAsRemoved = function() {
|
|
7452
7473
|
this.removed = !0;
|
|
7453
7474
|
this.handler = this.src = this.proxy = this.listener = null;
|
|
7454
7475
|
};
|
|
7476
|
+
goog.events.Listener = module$contents$goog$events$Listener_Listener;
|
|
7455
7477
|
function module$contents$goog$events$ListenerMap_ListenerMap(src) {
|
|
7456
7478
|
this.src = src;
|
|
7457
7479
|
this.listeners = {};
|
|
@@ -7475,7 +7497,7 @@ module$contents$goog$events$ListenerMap_ListenerMap.prototype.add = function(typ
|
|
|
7475
7497
|
var listenerObj = listenerArray[index];
|
|
7476
7498
|
callOnce || (listenerObj.callOnce = !1);
|
|
7477
7499
|
} else {
|
|
7478
|
-
listenerObj = new goog
|
|
7500
|
+
listenerObj = new module$contents$goog$events$Listener_Listener(listener, null, this.src, typeStr, !!opt_useCapture, opt_listenerScope), listenerObj.callOnce = callOnce, listenerArray.push(listenerObj);
|
|
7479
7501
|
}
|
|
7480
7502
|
return listenerObj;
|
|
7481
7503
|
};
|
|
@@ -8146,53 +8168,75 @@ goog.functions.isFunction = function(val) {
|
|
|
8146
8168
|
return typeof val === "function";
|
|
8147
8169
|
};
|
|
8148
8170
|
goog.math = {};
|
|
8149
|
-
goog
|
|
8150
|
-
return Math.floor(Math.random() * a);
|
|
8151
|
-
};
|
|
8152
|
-
goog.math.uniformRandom = function(a, b) {
|
|
8153
|
-
return a + Math.random() * (b - a);
|
|
8154
|
-
};
|
|
8155
|
-
goog.math.clamp = function(value, min, max) {
|
|
8156
|
-
return Math.min(Math.max(value, min), max);
|
|
8157
|
-
};
|
|
8158
|
-
goog.math.modulo = function(a, b) {
|
|
8171
|
+
function module$contents$goog$math_modulo(a, b) {
|
|
8159
8172
|
var r = a % b;
|
|
8160
8173
|
return r * b < 0 ? r + b : r;
|
|
8161
|
-
}
|
|
8162
|
-
goog
|
|
8163
|
-
return
|
|
8164
|
-
}
|
|
8165
|
-
goog
|
|
8166
|
-
return Math.abs(a - b) <= (opt_tolerance || 1E-6);
|
|
8167
|
-
};
|
|
8168
|
-
goog.math.standardAngle = function(angle) {
|
|
8169
|
-
return goog.math.modulo(angle, 360);
|
|
8170
|
-
};
|
|
8171
|
-
goog.math.standardAngleInRadians = function(angle) {
|
|
8172
|
-
return goog.math.modulo(angle, 2 * Math.PI);
|
|
8173
|
-
};
|
|
8174
|
-
goog.math.toRadians = function(angleDegrees) {
|
|
8174
|
+
}
|
|
8175
|
+
function module$contents$goog$math_standardAngle(angle) {
|
|
8176
|
+
return module$contents$goog$math_modulo(angle, 360);
|
|
8177
|
+
}
|
|
8178
|
+
function module$contents$goog$math_toRadians(angleDegrees) {
|
|
8175
8179
|
return angleDegrees * Math.PI / 180;
|
|
8176
|
-
}
|
|
8177
|
-
goog
|
|
8180
|
+
}
|
|
8181
|
+
function module$contents$goog$math_toDegrees(angleRadians) {
|
|
8178
8182
|
return angleRadians * 180 / Math.PI;
|
|
8183
|
+
}
|
|
8184
|
+
function module$contents$goog$math_angle(x1, y1, x2, y2) {
|
|
8185
|
+
return module$contents$goog$math_standardAngle(module$contents$goog$math_toDegrees(Math.atan2(y2 - y1, x2 - x1)));
|
|
8186
|
+
}
|
|
8187
|
+
function module$contents$goog$math_sum(var_args) {
|
|
8188
|
+
return Array.prototype.reduce.call(arguments, function(sum, value) {
|
|
8189
|
+
return sum + value;
|
|
8190
|
+
}, 0);
|
|
8191
|
+
}
|
|
8192
|
+
function module$contents$goog$math_average(var_args) {
|
|
8193
|
+
return module$contents$goog$math_sum.apply(null, arguments) / arguments.length;
|
|
8194
|
+
}
|
|
8195
|
+
function module$contents$goog$math_sampleVariance(var_args) {
|
|
8196
|
+
var sampleSize = arguments.length;
|
|
8197
|
+
if (sampleSize < 2) {
|
|
8198
|
+
return 0;
|
|
8199
|
+
}
|
|
8200
|
+
var mean = module$contents$goog$math_average.apply(null, arguments);
|
|
8201
|
+
return module$contents$goog$math_sum.apply(null, Array.prototype.map.call(arguments, function(val) {
|
|
8202
|
+
return Math.pow(val - mean, 2);
|
|
8203
|
+
})) / (sampleSize - 1);
|
|
8204
|
+
}
|
|
8205
|
+
function module$contents$goog$math_isInt(num) {
|
|
8206
|
+
return isFinite(num) && num % 1 == 0;
|
|
8207
|
+
}
|
|
8208
|
+
goog.math.angle = module$contents$goog$math_angle;
|
|
8209
|
+
goog.math.angleDifference = function(startAngle, endAngle) {
|
|
8210
|
+
var d = module$contents$goog$math_standardAngle(endAngle) - module$contents$goog$math_standardAngle(startAngle);
|
|
8211
|
+
d > 180 ? d -= 360 : d <= -180 && (d = 360 + d);
|
|
8212
|
+
return d;
|
|
8179
8213
|
};
|
|
8180
8214
|
goog.math.angleDx = function(degrees, radius) {
|
|
8181
|
-
return radius * Math.cos(goog
|
|
8215
|
+
return radius * Math.cos(module$contents$goog$math_toRadians(degrees));
|
|
8182
8216
|
};
|
|
8183
8217
|
goog.math.angleDy = function(degrees, radius) {
|
|
8184
|
-
return radius * Math.sin(goog
|
|
8218
|
+
return radius * Math.sin(module$contents$goog$math_toRadians(degrees));
|
|
8185
8219
|
};
|
|
8186
|
-
goog.math.
|
|
8187
|
-
|
|
8220
|
+
goog.math.average = module$contents$goog$math_average;
|
|
8221
|
+
goog.math.clamp = function(value, min, max) {
|
|
8222
|
+
return Math.min(Math.max(value, min), max);
|
|
8188
8223
|
};
|
|
8189
|
-
goog.math.
|
|
8190
|
-
|
|
8191
|
-
d > 180 ? d -= 360 : d <= -180 && (d = 360 + d);
|
|
8192
|
-
return d;
|
|
8224
|
+
goog.math.isFiniteNumber = function(num) {
|
|
8225
|
+
return isFinite(num);
|
|
8193
8226
|
};
|
|
8194
|
-
goog.math.
|
|
8195
|
-
|
|
8227
|
+
goog.math.isInt = module$contents$goog$math_isInt;
|
|
8228
|
+
goog.math.isNegativeZero = function(num) {
|
|
8229
|
+
return num == 0 && 1 / num < 0;
|
|
8230
|
+
};
|
|
8231
|
+
goog.math.lerp = function(a, b, x) {
|
|
8232
|
+
return a + x * (b - a);
|
|
8233
|
+
};
|
|
8234
|
+
goog.math.log10Floor = function(num) {
|
|
8235
|
+
if (num > 0) {
|
|
8236
|
+
var x = Math.round(Math.log(num) * Math.LOG10E);
|
|
8237
|
+
return x - (parseFloat("1e" + x) > num ? 1 : 0);
|
|
8238
|
+
}
|
|
8239
|
+
return num == 0 ? -Infinity : NaN;
|
|
8196
8240
|
};
|
|
8197
8241
|
goog.math.longestCommonSubsequence = function(array1, array2, opt_compareFn, opt_collectorFn) {
|
|
8198
8242
|
var compare = opt_compareFn || function(a, b) {
|
|
@@ -8219,50 +8263,37 @@ goog.math.longestCommonSubsequence = function(array1, array2, opt_compareFn, opt
|
|
|
8219
8263
|
}
|
|
8220
8264
|
return result;
|
|
8221
8265
|
};
|
|
8222
|
-
goog.math.
|
|
8223
|
-
|
|
8224
|
-
|
|
8225
|
-
}, 0);
|
|
8226
|
-
};
|
|
8227
|
-
goog.math.average = function(var_args) {
|
|
8228
|
-
return goog.math.sum.apply(null, arguments) / arguments.length;
|
|
8229
|
-
};
|
|
8230
|
-
goog.math.sampleVariance = function(var_args) {
|
|
8231
|
-
var sampleSize = arguments.length;
|
|
8232
|
-
if (sampleSize < 2) {
|
|
8233
|
-
return 0;
|
|
8234
|
-
}
|
|
8235
|
-
var mean = goog.math.average.apply(null, arguments);
|
|
8236
|
-
return goog.math.sum.apply(null, Array.prototype.map.call(arguments, function(val) {
|
|
8237
|
-
return Math.pow(val - mean, 2);
|
|
8238
|
-
})) / (sampleSize - 1);
|
|
8239
|
-
};
|
|
8240
|
-
goog.math.standardDeviation = function(var_args) {
|
|
8241
|
-
return Math.sqrt(goog.math.sampleVariance.apply(null, arguments));
|
|
8242
|
-
};
|
|
8243
|
-
goog.math.isInt = function(num) {
|
|
8244
|
-
return isFinite(num) && num % 1 == 0;
|
|
8245
|
-
};
|
|
8246
|
-
goog.math.isFiniteNumber = function(num) {
|
|
8247
|
-
return isFinite(num);
|
|
8266
|
+
goog.math.modulo = module$contents$goog$math_modulo;
|
|
8267
|
+
goog.math.nearlyEquals = function(a, b, opt_tolerance) {
|
|
8268
|
+
return Math.abs(a - b) <= (opt_tolerance || 1E-6);
|
|
8248
8269
|
};
|
|
8249
|
-
goog.math.
|
|
8250
|
-
return
|
|
8270
|
+
goog.math.randomInt = function(a) {
|
|
8271
|
+
return Math.floor(Math.random() * a);
|
|
8251
8272
|
};
|
|
8252
|
-
goog.math.
|
|
8253
|
-
|
|
8254
|
-
|
|
8255
|
-
return x - (parseFloat("1e" + x) > num ? 1 : 0);
|
|
8256
|
-
}
|
|
8257
|
-
return num == 0 ? -Infinity : NaN;
|
|
8273
|
+
goog.math.safeCeil = function(num, opt_epsilon) {
|
|
8274
|
+
goog.asserts.assert(opt_epsilon === void 0 || opt_epsilon > 0);
|
|
8275
|
+
return Math.ceil(num - (opt_epsilon || 2E-15));
|
|
8258
8276
|
};
|
|
8259
8277
|
goog.math.safeFloor = function(num, opt_epsilon) {
|
|
8260
8278
|
goog.asserts.assert(opt_epsilon === void 0 || opt_epsilon > 0);
|
|
8261
8279
|
return Math.floor(num + (opt_epsilon || 2E-15));
|
|
8262
8280
|
};
|
|
8263
|
-
goog.math.
|
|
8264
|
-
|
|
8265
|
-
return
|
|
8281
|
+
goog.math.sampleVariance = module$contents$goog$math_sampleVariance;
|
|
8282
|
+
goog.math.sign = function(x) {
|
|
8283
|
+
return x > 0 ? 1 : x < 0 ? -1 : x;
|
|
8284
|
+
};
|
|
8285
|
+
goog.math.standardAngle = module$contents$goog$math_standardAngle;
|
|
8286
|
+
goog.math.standardAngleInRadians = function(angle) {
|
|
8287
|
+
return module$contents$goog$math_modulo(angle, 2 * Math.PI);
|
|
8288
|
+
};
|
|
8289
|
+
goog.math.standardDeviation = function(var_args) {
|
|
8290
|
+
return Math.sqrt(module$contents$goog$math_sampleVariance.apply(null, arguments));
|
|
8291
|
+
};
|
|
8292
|
+
goog.math.sum = module$contents$goog$math_sum;
|
|
8293
|
+
goog.math.toDegrees = module$contents$goog$math_toDegrees;
|
|
8294
|
+
goog.math.toRadians = module$contents$goog$math_toRadians;
|
|
8295
|
+
goog.math.uniformRandom = function(a, b) {
|
|
8296
|
+
return a + Math.random() * (b - a);
|
|
8266
8297
|
};
|
|
8267
8298
|
goog.iter = {};
|
|
8268
8299
|
goog.iter.Iterator = function() {
|
|
@@ -8673,7 +8704,7 @@ goog.iter.enumerate = function(iterable, opt_start) {
|
|
|
8673
8704
|
return goog.iter.zip(goog.iter.count(opt_start), iterable);
|
|
8674
8705
|
};
|
|
8675
8706
|
goog.iter.limit = function(iterable, limitSize) {
|
|
8676
|
-
goog.asserts.assert(goog
|
|
8707
|
+
goog.asserts.assert(module$contents$goog$math_isInt(limitSize) && limitSize >= 0);
|
|
8677
8708
|
var iterator = goog.iter.toIterator(iterable), iter = new goog.iter.Iterator(), remaining = limitSize;
|
|
8678
8709
|
iter.next = function() {
|
|
8679
8710
|
return remaining-- > 0 ? iterator.next() : goog.iter.ES6_ITERATOR_DONE;
|
|
@@ -8681,16 +8712,16 @@ goog.iter.limit = function(iterable, limitSize) {
|
|
|
8681
8712
|
return iter;
|
|
8682
8713
|
};
|
|
8683
8714
|
goog.iter.consume = function(iterable, count) {
|
|
8684
|
-
goog.asserts.assert(goog
|
|
8715
|
+
goog.asserts.assert(module$contents$goog$math_isInt(count) && count >= 0);
|
|
8685
8716
|
for (var iterator = goog.iter.toIterator(iterable); count-- > 0;) {
|
|
8686
8717
|
goog.iter.nextOrValue(iterator, null);
|
|
8687
8718
|
}
|
|
8688
8719
|
return iterator;
|
|
8689
8720
|
};
|
|
8690
8721
|
goog.iter.slice = function(iterable, start, opt_end) {
|
|
8691
|
-
goog.asserts.assert(goog
|
|
8722
|
+
goog.asserts.assert(module$contents$goog$math_isInt(start) && start >= 0);
|
|
8692
8723
|
var iterator = goog.iter.consume(iterable, start);
|
|
8693
|
-
typeof opt_end === "number" && (goog.asserts.assert(goog
|
|
8724
|
+
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));
|
|
8694
8725
|
return iterator;
|
|
8695
8726
|
};
|
|
8696
8727
|
goog.iter.hasDuplicates_ = function(arr) {
|
|
@@ -8805,7 +8836,7 @@ module$contents$goog$iter$es6_ShimEs6Iterator.prototype.next = function() {
|
|
|
8805
8836
|
goog.iter.es6.ShimIterable = module$contents$goog$iter$es6_ShimIterable;
|
|
8806
8837
|
goog.iter.es6.ShimEs6Iterator = module$contents$goog$iter$es6_ShimEs6Iterator;
|
|
8807
8838
|
goog.iter.es6.ShimGoogIterator = module$contents$goog$iter$es6_ShimGoogIterator;
|
|
8808
|
-
goog
|
|
8839
|
+
function module$contents$goog$structs$Map_Map(opt_map, var_args) {
|
|
8809
8840
|
this.map_ = {};
|
|
8810
8841
|
this.keys_ = [];
|
|
8811
8842
|
this.version_ = this.size = 0;
|
|
@@ -8820,44 +8851,44 @@ goog.structs.Map = function(opt_map, var_args) {
|
|
|
8820
8851
|
} else {
|
|
8821
8852
|
opt_map && this.addAll(opt_map);
|
|
8822
8853
|
}
|
|
8823
|
-
}
|
|
8824
|
-
goog
|
|
8854
|
+
}
|
|
8855
|
+
module$contents$goog$structs$Map_Map.prototype.getCount = function() {
|
|
8825
8856
|
return this.size;
|
|
8826
8857
|
};
|
|
8827
|
-
goog
|
|
8858
|
+
module$contents$goog$structs$Map_Map.prototype.getValues = function() {
|
|
8828
8859
|
this.cleanupKeysArray_();
|
|
8829
8860
|
for (var rv = [], i = 0; i < this.keys_.length; i++) {
|
|
8830
8861
|
rv.push(this.map_[this.keys_[i]]);
|
|
8831
8862
|
}
|
|
8832
8863
|
return rv;
|
|
8833
8864
|
};
|
|
8834
|
-
goog
|
|
8865
|
+
module$contents$goog$structs$Map_Map.prototype.getKeys = function() {
|
|
8835
8866
|
this.cleanupKeysArray_();
|
|
8836
8867
|
return this.keys_.concat();
|
|
8837
8868
|
};
|
|
8838
|
-
goog
|
|
8869
|
+
module$contents$goog$structs$Map_Map.prototype.containsKey = function(key) {
|
|
8839
8870
|
return this.has(key);
|
|
8840
8871
|
};
|
|
8841
|
-
goog
|
|
8842
|
-
return goog
|
|
8872
|
+
module$contents$goog$structs$Map_Map.prototype.has = function(key) {
|
|
8873
|
+
return module$contents$goog$structs$Map_Map.hasKey_(this.map_, key);
|
|
8843
8874
|
};
|
|
8844
|
-
goog
|
|
8875
|
+
module$contents$goog$structs$Map_Map.prototype.containsValue = function(val) {
|
|
8845
8876
|
for (var i = 0; i < this.keys_.length; i++) {
|
|
8846
8877
|
var key = this.keys_[i];
|
|
8847
|
-
if (goog
|
|
8878
|
+
if (module$contents$goog$structs$Map_Map.hasKey_(this.map_, key) && this.map_[key] == val) {
|
|
8848
8879
|
return !0;
|
|
8849
8880
|
}
|
|
8850
8881
|
}
|
|
8851
8882
|
return !1;
|
|
8852
8883
|
};
|
|
8853
|
-
goog
|
|
8884
|
+
module$contents$goog$structs$Map_Map.prototype.equals = function(otherMap, opt_equalityFn) {
|
|
8854
8885
|
if (this === otherMap) {
|
|
8855
8886
|
return !0;
|
|
8856
8887
|
}
|
|
8857
8888
|
if (this.size != otherMap.getCount()) {
|
|
8858
8889
|
return !1;
|
|
8859
8890
|
}
|
|
8860
|
-
var equalityFn = opt_equalityFn || goog
|
|
8891
|
+
var equalityFn = opt_equalityFn || module$contents$goog$structs$Map_Map.defaultEquals;
|
|
8861
8892
|
this.cleanupKeysArray_();
|
|
8862
8893
|
for (var key, i = 0; key = this.keys_[i]; i++) {
|
|
8863
8894
|
if (!equalityFn(this.get(key), otherMap.get(key))) {
|
|
@@ -8866,29 +8897,29 @@ goog.structs.Map.prototype.equals = function(otherMap, opt_equalityFn) {
|
|
|
8866
8897
|
}
|
|
8867
8898
|
return !0;
|
|
8868
8899
|
};
|
|
8869
|
-
goog
|
|
8900
|
+
module$contents$goog$structs$Map_Map.defaultEquals = function(a, b) {
|
|
8870
8901
|
return a === b;
|
|
8871
8902
|
};
|
|
8872
|
-
goog
|
|
8903
|
+
module$contents$goog$structs$Map_Map.prototype.isEmpty = function() {
|
|
8873
8904
|
return this.size == 0;
|
|
8874
8905
|
};
|
|
8875
|
-
goog
|
|
8906
|
+
module$contents$goog$structs$Map_Map.prototype.clear = function() {
|
|
8876
8907
|
this.map_ = {};
|
|
8877
8908
|
this.keys_.length = 0;
|
|
8878
8909
|
this.setSizeInternal_(0);
|
|
8879
8910
|
this.version_ = 0;
|
|
8880
8911
|
};
|
|
8881
|
-
goog
|
|
8912
|
+
module$contents$goog$structs$Map_Map.prototype.remove = function(key) {
|
|
8882
8913
|
return this.delete(key);
|
|
8883
8914
|
};
|
|
8884
|
-
goog
|
|
8885
|
-
return goog
|
|
8915
|
+
module$contents$goog$structs$Map_Map.prototype.delete = function(key) {
|
|
8916
|
+
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;
|
|
8886
8917
|
};
|
|
8887
|
-
goog
|
|
8918
|
+
module$contents$goog$structs$Map_Map.prototype.cleanupKeysArray_ = function() {
|
|
8888
8919
|
if (this.size != this.keys_.length) {
|
|
8889
8920
|
for (var srcIndex = 0, destIndex = 0; srcIndex < this.keys_.length;) {
|
|
8890
8921
|
var key = this.keys_[srcIndex];
|
|
8891
|
-
goog
|
|
8922
|
+
module$contents$goog$structs$Map_Map.hasKey_(this.map_, key) && (this.keys_[destIndex++] = key);
|
|
8892
8923
|
srcIndex++;
|
|
8893
8924
|
}
|
|
8894
8925
|
this.keys_.length = destIndex;
|
|
@@ -8896,21 +8927,21 @@ goog.structs.Map.prototype.cleanupKeysArray_ = function() {
|
|
|
8896
8927
|
if (this.size != this.keys_.length) {
|
|
8897
8928
|
for (var seen = {}, srcIndex$jscomp$0 = 0, destIndex$jscomp$0 = 0; srcIndex$jscomp$0 < this.keys_.length;) {
|
|
8898
8929
|
var key$jscomp$0 = this.keys_[srcIndex$jscomp$0];
|
|
8899
|
-
goog
|
|
8930
|
+
module$contents$goog$structs$Map_Map.hasKey_(seen, key$jscomp$0) || (this.keys_[destIndex$jscomp$0++] = key$jscomp$0, seen[key$jscomp$0] = 1);
|
|
8900
8931
|
srcIndex$jscomp$0++;
|
|
8901
8932
|
}
|
|
8902
8933
|
this.keys_.length = destIndex$jscomp$0;
|
|
8903
8934
|
}
|
|
8904
8935
|
};
|
|
8905
|
-
goog
|
|
8906
|
-
return goog
|
|
8936
|
+
module$contents$goog$structs$Map_Map.prototype.get = function(key, opt_val) {
|
|
8937
|
+
return module$contents$goog$structs$Map_Map.hasKey_(this.map_, key) ? this.map_[key] : opt_val;
|
|
8907
8938
|
};
|
|
8908
|
-
goog
|
|
8909
|
-
goog
|
|
8939
|
+
module$contents$goog$structs$Map_Map.prototype.set = function(key, value) {
|
|
8940
|
+
module$contents$goog$structs$Map_Map.hasKey_(this.map_, key) || (this.setSizeInternal_(this.size + 1), this.keys_.push(key), this.version_++);
|
|
8910
8941
|
this.map_[key] = value;
|
|
8911
8942
|
};
|
|
8912
|
-
goog
|
|
8913
|
-
if (map instanceof goog
|
|
8943
|
+
module$contents$goog$structs$Map_Map.prototype.addAll = function(map) {
|
|
8944
|
+
if (map instanceof module$contents$goog$structs$Map_Map) {
|
|
8914
8945
|
for (var keys = map.getKeys(), i = 0; i < keys.length; i++) {
|
|
8915
8946
|
this.set(keys[i], map.get(keys[i]));
|
|
8916
8947
|
}
|
|
@@ -8920,23 +8951,23 @@ goog.structs.Map.prototype.addAll = function(map) {
|
|
|
8920
8951
|
}
|
|
8921
8952
|
}
|
|
8922
8953
|
};
|
|
8923
|
-
goog
|
|
8954
|
+
module$contents$goog$structs$Map_Map.prototype.forEach = function(f, opt_obj) {
|
|
8924
8955
|
for (var keys = this.getKeys(), i = 0; i < keys.length; i++) {
|
|
8925
8956
|
var key = keys[i], value = this.get(key);
|
|
8926
8957
|
f.call(opt_obj, value, key, this);
|
|
8927
8958
|
}
|
|
8928
8959
|
};
|
|
8929
|
-
goog
|
|
8930
|
-
return new goog
|
|
8960
|
+
module$contents$goog$structs$Map_Map.prototype.clone = function() {
|
|
8961
|
+
return new module$contents$goog$structs$Map_Map(this);
|
|
8931
8962
|
};
|
|
8932
|
-
goog
|
|
8933
|
-
for (var transposed = new goog
|
|
8963
|
+
module$contents$goog$structs$Map_Map.prototype.transpose = function() {
|
|
8964
|
+
for (var transposed = new module$contents$goog$structs$Map_Map(), i = 0; i < this.keys_.length; i++) {
|
|
8934
8965
|
var key = this.keys_[i];
|
|
8935
8966
|
transposed.set(this.map_[key], key);
|
|
8936
8967
|
}
|
|
8937
8968
|
return transposed;
|
|
8938
8969
|
};
|
|
8939
|
-
goog
|
|
8970
|
+
module$contents$goog$structs$Map_Map.prototype.toObject = function() {
|
|
8940
8971
|
this.cleanupKeysArray_();
|
|
8941
8972
|
for (var obj = {}, i = 0; i < this.keys_.length; i++) {
|
|
8942
8973
|
var key = this.keys_[i];
|
|
@@ -8944,25 +8975,25 @@ goog.structs.Map.prototype.toObject = function() {
|
|
|
8944
8975
|
}
|
|
8945
8976
|
return obj;
|
|
8946
8977
|
};
|
|
8947
|
-
goog
|
|
8978
|
+
module$contents$goog$structs$Map_Map.prototype.getKeyIterator = function() {
|
|
8948
8979
|
return this.__iterator__(!0);
|
|
8949
8980
|
};
|
|
8950
|
-
goog
|
|
8981
|
+
module$contents$goog$structs$Map_Map.prototype.keys = function() {
|
|
8951
8982
|
return module$contents$goog$iter$es6_ShimIterable.of(this.getKeyIterator()).toEs6();
|
|
8952
8983
|
};
|
|
8953
|
-
goog
|
|
8984
|
+
module$contents$goog$structs$Map_Map.prototype.getValueIterator = function() {
|
|
8954
8985
|
return this.__iterator__(!1);
|
|
8955
8986
|
};
|
|
8956
|
-
goog
|
|
8987
|
+
module$contents$goog$structs$Map_Map.prototype.values = function() {
|
|
8957
8988
|
return module$contents$goog$iter$es6_ShimIterable.of(this.getValueIterator()).toEs6();
|
|
8958
8989
|
};
|
|
8959
|
-
goog
|
|
8990
|
+
module$contents$goog$structs$Map_Map.prototype.entries = function() {
|
|
8960
8991
|
var self = this;
|
|
8961
8992
|
return goog.collections.iters.map(this.keys(), function(key) {
|
|
8962
8993
|
return [key, self.get(key)];
|
|
8963
8994
|
});
|
|
8964
8995
|
};
|
|
8965
|
-
goog
|
|
8996
|
+
module$contents$goog$structs$Map_Map.prototype.__iterator__ = function(opt_keys) {
|
|
8966
8997
|
this.cleanupKeysArray_();
|
|
8967
8998
|
var i = 0, version = this.version_, selfObj = this, newIter = new goog.iter.Iterator();
|
|
8968
8999
|
newIter.next = function() {
|
|
@@ -8977,108 +9008,110 @@ goog.structs.Map.prototype.__iterator__ = function(opt_keys) {
|
|
|
8977
9008
|
};
|
|
8978
9009
|
return newIter;
|
|
8979
9010
|
};
|
|
8980
|
-
goog
|
|
9011
|
+
module$contents$goog$structs$Map_Map.prototype.setSizeInternal_ = function(newSize) {
|
|
8981
9012
|
this.size = newSize;
|
|
8982
9013
|
};
|
|
8983
|
-
goog
|
|
9014
|
+
module$contents$goog$structs$Map_Map.hasKey_ = function(obj, key) {
|
|
8984
9015
|
return Object.prototype.hasOwnProperty.call(obj, key);
|
|
8985
9016
|
};
|
|
8986
|
-
goog.structs.
|
|
8987
|
-
|
|
9017
|
+
goog.structs.Map = module$contents$goog$structs$Map_Map;
|
|
9018
|
+
function module$contents$goog$structs$Set_Set(opt_values) {
|
|
9019
|
+
this.map_ = new module$contents$goog$structs$Map_Map();
|
|
8988
9020
|
this.size = 0;
|
|
8989
9021
|
opt_values && this.addAll(opt_values);
|
|
8990
|
-
}
|
|
8991
|
-
goog
|
|
8992
|
-
goog
|
|
9022
|
+
}
|
|
9023
|
+
module$contents$goog$structs$Set_Set.getUid_ = goog.getUid;
|
|
9024
|
+
module$contents$goog$structs$Set_Set.getKey_ = function(val) {
|
|
8993
9025
|
var type = typeof val;
|
|
8994
9026
|
return type == "object" && val || type == "function" ? "o" + goog.getUid(val) : type.slice(0, 1) + val;
|
|
8995
9027
|
};
|
|
8996
|
-
goog
|
|
9028
|
+
module$contents$goog$structs$Set_Set.prototype.getCount = function() {
|
|
8997
9029
|
return this.map_.size;
|
|
8998
9030
|
};
|
|
8999
|
-
goog
|
|
9000
|
-
this.map_.set(goog
|
|
9031
|
+
module$contents$goog$structs$Set_Set.prototype.add = function(element) {
|
|
9032
|
+
this.map_.set(module$contents$goog$structs$Set_Set.getKey_(element), element);
|
|
9001
9033
|
this.setSizeInternal_(this.map_.size);
|
|
9002
9034
|
};
|
|
9003
|
-
goog
|
|
9035
|
+
module$contents$goog$structs$Set_Set.prototype.addAll = function(col) {
|
|
9004
9036
|
for (var values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
|
|
9005
9037
|
this.add(values[i]);
|
|
9006
9038
|
}
|
|
9007
9039
|
this.setSizeInternal_(this.map_.size);
|
|
9008
9040
|
};
|
|
9009
|
-
goog
|
|
9041
|
+
module$contents$goog$structs$Set_Set.prototype.removeAll = function(col) {
|
|
9010
9042
|
for (var values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
|
|
9011
9043
|
this.remove(values[i]);
|
|
9012
9044
|
}
|
|
9013
9045
|
this.setSizeInternal_(this.map_.size);
|
|
9014
9046
|
};
|
|
9015
|
-
goog
|
|
9016
|
-
var rv = this.map_.remove(goog
|
|
9047
|
+
module$contents$goog$structs$Set_Set.prototype.delete = function(element) {
|
|
9048
|
+
var rv = this.map_.remove(module$contents$goog$structs$Set_Set.getKey_(element));
|
|
9017
9049
|
this.setSizeInternal_(this.map_.size);
|
|
9018
9050
|
return rv;
|
|
9019
9051
|
};
|
|
9020
|
-
goog
|
|
9052
|
+
module$contents$goog$structs$Set_Set.prototype.remove = function(element) {
|
|
9021
9053
|
return this.delete(element);
|
|
9022
9054
|
};
|
|
9023
|
-
goog
|
|
9055
|
+
module$contents$goog$structs$Set_Set.prototype.clear = function() {
|
|
9024
9056
|
this.map_.clear();
|
|
9025
9057
|
this.setSizeInternal_(0);
|
|
9026
9058
|
};
|
|
9027
|
-
goog
|
|
9059
|
+
module$contents$goog$structs$Set_Set.prototype.isEmpty = function() {
|
|
9028
9060
|
return this.map_.size === 0;
|
|
9029
9061
|
};
|
|
9030
|
-
goog
|
|
9031
|
-
return this.map_.containsKey(goog
|
|
9062
|
+
module$contents$goog$structs$Set_Set.prototype.has = function(element) {
|
|
9063
|
+
return this.map_.containsKey(module$contents$goog$structs$Set_Set.getKey_(element));
|
|
9032
9064
|
};
|
|
9033
|
-
goog
|
|
9034
|
-
return this.map_.containsKey(goog
|
|
9065
|
+
module$contents$goog$structs$Set_Set.prototype.contains = function(element) {
|
|
9066
|
+
return this.map_.containsKey(module$contents$goog$structs$Set_Set.getKey_(element));
|
|
9035
9067
|
};
|
|
9036
|
-
goog
|
|
9068
|
+
module$contents$goog$structs$Set_Set.prototype.containsAll = function(col) {
|
|
9037
9069
|
return goog.structs.every(col, this.contains, this);
|
|
9038
9070
|
};
|
|
9039
|
-
goog
|
|
9040
|
-
for (var result = new goog
|
|
9071
|
+
module$contents$goog$structs$Set_Set.prototype.intersection = function(col) {
|
|
9072
|
+
for (var result = new module$contents$goog$structs$Set_Set(), values = goog.structs.getValues(col), i = 0; i < values.length; i++) {
|
|
9041
9073
|
var value = values[i];
|
|
9042
9074
|
this.contains(value) && result.add(value);
|
|
9043
9075
|
}
|
|
9044
9076
|
return result;
|
|
9045
9077
|
};
|
|
9046
|
-
goog
|
|
9078
|
+
module$contents$goog$structs$Set_Set.prototype.difference = function(col) {
|
|
9047
9079
|
var result = this.clone();
|
|
9048
9080
|
result.removeAll(col);
|
|
9049
9081
|
return result;
|
|
9050
9082
|
};
|
|
9051
|
-
goog
|
|
9083
|
+
module$contents$goog$structs$Set_Set.prototype.getValues = function() {
|
|
9052
9084
|
return this.map_.getValues();
|
|
9053
9085
|
};
|
|
9054
|
-
goog
|
|
9086
|
+
module$contents$goog$structs$Set_Set.prototype.values = function() {
|
|
9055
9087
|
return this.map_.values();
|
|
9056
9088
|
};
|
|
9057
|
-
goog
|
|
9058
|
-
return new goog
|
|
9089
|
+
module$contents$goog$structs$Set_Set.prototype.clone = function() {
|
|
9090
|
+
return new module$contents$goog$structs$Set_Set(this);
|
|
9059
9091
|
};
|
|
9060
|
-
goog
|
|
9092
|
+
module$contents$goog$structs$Set_Set.prototype.equals = function(col) {
|
|
9061
9093
|
return this.getCount() == goog.structs.getCount(col) && this.isSubsetOf(col);
|
|
9062
9094
|
};
|
|
9063
|
-
goog
|
|
9095
|
+
module$contents$goog$structs$Set_Set.prototype.isSubsetOf = function(col) {
|
|
9064
9096
|
var colCount = goog.structs.getCount(col);
|
|
9065
9097
|
if (this.getCount() > colCount) {
|
|
9066
9098
|
return !1;
|
|
9067
9099
|
}
|
|
9068
|
-
!(col instanceof goog
|
|
9100
|
+
!(col instanceof module$contents$goog$structs$Set_Set) && colCount > 5 && (col = new module$contents$goog$structs$Set_Set(col));
|
|
9069
9101
|
return goog.structs.every(this, function(value) {
|
|
9070
9102
|
return goog.structs.contains(col, value);
|
|
9071
9103
|
});
|
|
9072
9104
|
};
|
|
9073
|
-
goog
|
|
9105
|
+
module$contents$goog$structs$Set_Set.prototype.__iterator__ = function(opt_keys) {
|
|
9074
9106
|
return this.map_.__iterator__(!1);
|
|
9075
9107
|
};
|
|
9076
|
-
goog
|
|
9108
|
+
module$contents$goog$structs$Set_Set.prototype[Symbol.iterator] = function() {
|
|
9077
9109
|
return this.values();
|
|
9078
9110
|
};
|
|
9079
|
-
goog
|
|
9111
|
+
module$contents$goog$structs$Set_Set.prototype.setSizeInternal_ = function(newSize) {
|
|
9080
9112
|
this.size = newSize;
|
|
9081
9113
|
};
|
|
9114
|
+
goog.structs.Set = module$contents$goog$structs$Set_Set;
|
|
9082
9115
|
var ee_root = {third_party:{}};
|
|
9083
9116
|
ee_root.third_party.earthengine_api = {};
|
|
9084
9117
|
ee_root.third_party.earthengine_api.javascript = {};
|
|
@@ -9088,7 +9121,7 @@ ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay =
|
|
|
9088
9121
|
this.mapId = mapId;
|
|
9089
9122
|
this.token = token;
|
|
9090
9123
|
this.tilesLoading = [];
|
|
9091
|
-
this.tilesFailed = new goog
|
|
9124
|
+
this.tilesFailed = new module$contents$goog$structs$Set_Set();
|
|
9092
9125
|
this.tileCounter = 0;
|
|
9093
9126
|
this.url = url;
|
|
9094
9127
|
};
|
|
@@ -14869,18 +14902,19 @@ module$contents$goog$async$FreeList_FreeList.prototype.occupants = function() {
|
|
|
14869
14902
|
return this.occupants_;
|
|
14870
14903
|
};
|
|
14871
14904
|
goog.async.FreeList = module$contents$goog$async$FreeList_FreeList;
|
|
14872
|
-
goog
|
|
14905
|
+
function module$contents$goog$async$nextTick_nextTick(callback, opt_context) {
|
|
14873
14906
|
var cb = callback;
|
|
14874
14907
|
opt_context && (cb = goog.bind(callback, opt_context));
|
|
14875
|
-
cb = goog
|
|
14876
|
-
goog
|
|
14877
|
-
|
|
14878
|
-
|
|
14879
|
-
goog
|
|
14880
|
-
goog
|
|
14908
|
+
cb = module$contents$goog$async$nextTick_nextTick.wrapCallback_(cb);
|
|
14909
|
+
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_()),
|
|
14910
|
+
module$contents$goog$async$nextTick_nextTick.nextTickImpl(cb)));
|
|
14911
|
+
}
|
|
14912
|
+
module$contents$goog$async$nextTick_nextTick.propagateAsyncContext_ = module$exports$common$async$context$propagate.propagateAsyncContext;
|
|
14913
|
+
module$contents$goog$async$nextTick_nextTick.USE_SET_TIMEOUT = !1;
|
|
14914
|
+
module$contents$goog$async$nextTick_nextTick.useSetImmediate_ = function() {
|
|
14881
14915
|
return goog.global.Window && goog.global.Window.prototype && goog.global.Window.prototype.setImmediate == goog.global.setImmediate ? !1 : !0;
|
|
14882
14916
|
};
|
|
14883
|
-
goog
|
|
14917
|
+
module$contents$goog$async$nextTick_nextTick.getNextTickImpl_ = function() {
|
|
14884
14918
|
if (typeof MessageChannel !== "undefined") {
|
|
14885
14919
|
var channel = new MessageChannel(), head = {}, tail = head;
|
|
14886
14920
|
channel.port1.onmessage = function() {
|
|
@@ -14901,12 +14935,13 @@ goog.async.nextTick.getNextTickImpl_ = function() {
|
|
|
14901
14935
|
goog.global.setTimeout(cb, 0);
|
|
14902
14936
|
};
|
|
14903
14937
|
};
|
|
14904
|
-
goog
|
|
14938
|
+
module$contents$goog$async$nextTick_nextTick.wrapCallback_ = function(callback) {
|
|
14905
14939
|
return callback;
|
|
14906
14940
|
};
|
|
14907
14941
|
goog.debug.entryPointRegistry.register(function(transformer) {
|
|
14908
|
-
goog
|
|
14942
|
+
module$contents$goog$async$nextTick_nextTick.wrapCallback_ = transformer;
|
|
14909
14943
|
});
|
|
14944
|
+
goog.async.nextTick = module$contents$goog$async$nextTick_nextTick;
|
|
14910
14945
|
function module$contents$goog$async$throwException_throwException(exception) {
|
|
14911
14946
|
goog.global.setTimeout(function() {
|
|
14912
14947
|
throw exception;
|
|
@@ -15009,7 +15044,7 @@ module$contents$goog$async$run_run.forceNextTick = function(realSetTimeout) {
|
|
|
15009
15044
|
throw Error("goog.async.run.forceNextTick is only available with goog.DEBUG");
|
|
15010
15045
|
}
|
|
15011
15046
|
module$contents$goog$async$run_schedule = function() {
|
|
15012
|
-
|
|
15047
|
+
module$contents$goog$async$nextTick_nextTick(module$contents$goog$async$run_processWorkQueueInternal);
|
|
15013
15048
|
realSetTimeout && realSetTimeout(module$contents$goog$async$run_processWorkQueueInternal);
|
|
15014
15049
|
};
|
|
15015
15050
|
};
|
|
@@ -15682,7 +15717,7 @@ goog.dom.TagName.VIDEO = "VIDEO";
|
|
|
15682
15717
|
goog.dom.TagName.WBR = "WBR";
|
|
15683
15718
|
goog.dom.element = {};
|
|
15684
15719
|
var module$contents$goog$dom$element_isElement = function(value) {
|
|
15685
|
-
return goog.isObject(value) && value.nodeType === goog
|
|
15720
|
+
return goog.isObject(value) && value.nodeType === module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
15686
15721
|
}, module$contents$goog$dom$element_isHtmlElement = function(value) {
|
|
15687
15722
|
return goog.isObject(value) && module$contents$goog$dom$element_isElement(value) && (!value.namespaceURI || value.namespaceURI === "http://www.w3.org/1999/xhtml");
|
|
15688
15723
|
}, module$contents$goog$dom$element_isHtmlElementOfType = function(value, tagName) {
|
|
@@ -15805,138 +15840,140 @@ goog.asserts.dom.assertIsHtmlObjectElement = function(value) {
|
|
|
15805
15840
|
goog.asserts.dom.assertIsHtmlScriptElement = function(value) {
|
|
15806
15841
|
return module$contents$goog$asserts$dom_assertIsHtmlElementOfType(value, goog.dom.TagName.SCRIPT);
|
|
15807
15842
|
};
|
|
15808
|
-
goog
|
|
15843
|
+
function module$contents$goog$math$Coordinate_Coordinate(opt_x, opt_y) {
|
|
15809
15844
|
this.x = opt_x !== void 0 ? opt_x : 0;
|
|
15810
15845
|
this.y = opt_y !== void 0 ? opt_y : 0;
|
|
15846
|
+
}
|
|
15847
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.clone = function() {
|
|
15848
|
+
return new module$contents$goog$math$Coordinate_Coordinate(this.x, this.y);
|
|
15811
15849
|
};
|
|
15812
|
-
goog.math.
|
|
15813
|
-
return new goog.math.Coordinate(this.x, this.y);
|
|
15814
|
-
};
|
|
15815
|
-
goog.DEBUG && (goog.math.Coordinate.prototype.toString = function() {
|
|
15850
|
+
goog.DEBUG && (module$contents$goog$math$Coordinate_Coordinate.prototype.toString = function() {
|
|
15816
15851
|
return "(" + this.x + ", " + this.y + ")";
|
|
15817
15852
|
});
|
|
15818
|
-
goog
|
|
15819
|
-
return other instanceof goog
|
|
15853
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.equals = function(other) {
|
|
15854
|
+
return other instanceof module$contents$goog$math$Coordinate_Coordinate && module$contents$goog$math$Coordinate_Coordinate.equals(this, other);
|
|
15820
15855
|
};
|
|
15821
|
-
goog
|
|
15856
|
+
module$contents$goog$math$Coordinate_Coordinate.equals = function(a, b) {
|
|
15822
15857
|
return a == b ? !0 : a && b ? a.x == b.x && a.y == b.y : !1;
|
|
15823
15858
|
};
|
|
15824
|
-
goog
|
|
15859
|
+
module$contents$goog$math$Coordinate_Coordinate.distance = function(a, b) {
|
|
15825
15860
|
var dx = a.x - b.x, dy = a.y - b.y;
|
|
15826
15861
|
return Math.sqrt(dx * dx + dy * dy);
|
|
15827
15862
|
};
|
|
15828
|
-
goog
|
|
15863
|
+
module$contents$goog$math$Coordinate_Coordinate.magnitude = function(a) {
|
|
15829
15864
|
return Math.sqrt(a.x * a.x + a.y * a.y);
|
|
15830
15865
|
};
|
|
15831
|
-
goog
|
|
15832
|
-
return goog
|
|
15866
|
+
module$contents$goog$math$Coordinate_Coordinate.azimuth = function(a) {
|
|
15867
|
+
return module$contents$goog$math_angle(0, 0, a.x, a.y);
|
|
15833
15868
|
};
|
|
15834
|
-
goog
|
|
15869
|
+
module$contents$goog$math$Coordinate_Coordinate.squaredDistance = function(a, b) {
|
|
15835
15870
|
var dx = a.x - b.x, dy = a.y - b.y;
|
|
15836
15871
|
return dx * dx + dy * dy;
|
|
15837
15872
|
};
|
|
15838
|
-
goog
|
|
15839
|
-
return new goog
|
|
15873
|
+
module$contents$goog$math$Coordinate_Coordinate.difference = function(a, b) {
|
|
15874
|
+
return new module$contents$goog$math$Coordinate_Coordinate(a.x - b.x, a.y - b.y);
|
|
15840
15875
|
};
|
|
15841
|
-
goog
|
|
15842
|
-
return new goog
|
|
15876
|
+
module$contents$goog$math$Coordinate_Coordinate.sum = function(a, b) {
|
|
15877
|
+
return new module$contents$goog$math$Coordinate_Coordinate(a.x + b.x, a.y + b.y);
|
|
15843
15878
|
};
|
|
15844
|
-
goog
|
|
15879
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.ceil = function() {
|
|
15845
15880
|
this.x = Math.ceil(this.x);
|
|
15846
15881
|
this.y = Math.ceil(this.y);
|
|
15847
15882
|
return this;
|
|
15848
15883
|
};
|
|
15849
|
-
goog
|
|
15884
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.floor = function() {
|
|
15850
15885
|
this.x = Math.floor(this.x);
|
|
15851
15886
|
this.y = Math.floor(this.y);
|
|
15852
15887
|
return this;
|
|
15853
15888
|
};
|
|
15854
|
-
goog
|
|
15889
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.round = function() {
|
|
15855
15890
|
this.x = Math.round(this.x);
|
|
15856
15891
|
this.y = Math.round(this.y);
|
|
15857
15892
|
return this;
|
|
15858
15893
|
};
|
|
15859
|
-
goog
|
|
15860
|
-
tx instanceof goog
|
|
15894
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.translate = function(tx, opt_ty) {
|
|
15895
|
+
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));
|
|
15861
15896
|
return this;
|
|
15862
15897
|
};
|
|
15863
|
-
goog
|
|
15898
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.scale = function(sx, opt_sy) {
|
|
15864
15899
|
var sy;
|
|
15865
15900
|
this.x *= sx;
|
|
15866
15901
|
this.y *= typeof opt_sy === "number" ? opt_sy : sx;
|
|
15867
15902
|
return this;
|
|
15868
15903
|
};
|
|
15869
|
-
goog
|
|
15870
|
-
var center = opt_center || new goog
|
|
15904
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.rotateRadians = function(radians, opt_center) {
|
|
15905
|
+
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);
|
|
15871
15906
|
this.x = (x - center.x) * cos - (y - center.y) * sin + center.x;
|
|
15872
15907
|
this.y = (x - center.x) * sin + (y - center.y) * cos + center.y;
|
|
15873
15908
|
};
|
|
15874
|
-
goog
|
|
15875
|
-
this.rotateRadians(goog
|
|
15909
|
+
module$contents$goog$math$Coordinate_Coordinate.prototype.rotateDegrees = function(degrees, opt_center) {
|
|
15910
|
+
this.rotateRadians(module$contents$goog$math_toRadians(degrees), opt_center);
|
|
15876
15911
|
};
|
|
15877
|
-
goog.math.
|
|
15912
|
+
goog.math.Coordinate = module$contents$goog$math$Coordinate_Coordinate;
|
|
15913
|
+
function module$contents$goog$math$Size_Size(width, height) {
|
|
15878
15914
|
this.width = width;
|
|
15879
15915
|
this.height = height;
|
|
15880
|
-
}
|
|
15881
|
-
goog
|
|
15916
|
+
}
|
|
15917
|
+
module$contents$goog$math$Size_Size.equals = function(a, b) {
|
|
15882
15918
|
return a == b ? !0 : a && b ? a.width == b.width && a.height == b.height : !1;
|
|
15883
15919
|
};
|
|
15884
|
-
goog
|
|
15885
|
-
return new goog
|
|
15920
|
+
module$contents$goog$math$Size_Size.prototype.clone = function() {
|
|
15921
|
+
return new module$contents$goog$math$Size_Size(this.width, this.height);
|
|
15886
15922
|
};
|
|
15887
|
-
goog.DEBUG && (goog
|
|
15923
|
+
goog.DEBUG && (module$contents$goog$math$Size_Size.prototype.toString = function() {
|
|
15888
15924
|
return "(" + this.width + " x " + this.height + ")";
|
|
15889
15925
|
});
|
|
15890
|
-
goog
|
|
15926
|
+
module$contents$goog$math$Size_Size.prototype.getLongest = function() {
|
|
15891
15927
|
return Math.max(this.width, this.height);
|
|
15892
15928
|
};
|
|
15893
|
-
goog
|
|
15929
|
+
module$contents$goog$math$Size_Size.prototype.getShortest = function() {
|
|
15894
15930
|
return Math.min(this.width, this.height);
|
|
15895
15931
|
};
|
|
15896
|
-
goog
|
|
15932
|
+
module$contents$goog$math$Size_Size.prototype.area = function() {
|
|
15897
15933
|
return this.width * this.height;
|
|
15898
15934
|
};
|
|
15899
|
-
goog
|
|
15935
|
+
module$contents$goog$math$Size_Size.prototype.perimeter = function() {
|
|
15900
15936
|
return (this.width + this.height) * 2;
|
|
15901
15937
|
};
|
|
15902
|
-
goog
|
|
15938
|
+
module$contents$goog$math$Size_Size.prototype.aspectRatio = function() {
|
|
15903
15939
|
return this.width / this.height;
|
|
15904
15940
|
};
|
|
15905
|
-
goog
|
|
15941
|
+
module$contents$goog$math$Size_Size.prototype.isEmpty = function() {
|
|
15906
15942
|
return !this.area();
|
|
15907
15943
|
};
|
|
15908
|
-
goog
|
|
15944
|
+
module$contents$goog$math$Size_Size.prototype.ceil = function() {
|
|
15909
15945
|
this.width = Math.ceil(this.width);
|
|
15910
15946
|
this.height = Math.ceil(this.height);
|
|
15911
15947
|
return this;
|
|
15912
15948
|
};
|
|
15913
|
-
goog
|
|
15949
|
+
module$contents$goog$math$Size_Size.prototype.fitsInside = function(target) {
|
|
15914
15950
|
return this.width <= target.width && this.height <= target.height;
|
|
15915
15951
|
};
|
|
15916
|
-
goog
|
|
15952
|
+
module$contents$goog$math$Size_Size.prototype.floor = function() {
|
|
15917
15953
|
this.width = Math.floor(this.width);
|
|
15918
15954
|
this.height = Math.floor(this.height);
|
|
15919
15955
|
return this;
|
|
15920
15956
|
};
|
|
15921
|
-
goog
|
|
15957
|
+
module$contents$goog$math$Size_Size.prototype.round = function() {
|
|
15922
15958
|
this.width = Math.round(this.width);
|
|
15923
15959
|
this.height = Math.round(this.height);
|
|
15924
15960
|
return this;
|
|
15925
15961
|
};
|
|
15926
|
-
goog
|
|
15962
|
+
module$contents$goog$math$Size_Size.prototype.scale = function(sx, opt_sy) {
|
|
15927
15963
|
var sy;
|
|
15928
15964
|
this.width *= sx;
|
|
15929
15965
|
this.height *= typeof opt_sy === "number" ? opt_sy : sx;
|
|
15930
15966
|
return this;
|
|
15931
15967
|
};
|
|
15932
|
-
goog
|
|
15968
|
+
module$contents$goog$math$Size_Size.prototype.scaleToCover = function(target) {
|
|
15933
15969
|
var s = this.aspectRatio() <= target.aspectRatio() ? target.width / this.width : target.height / this.height;
|
|
15934
15970
|
return this.scale(s);
|
|
15935
15971
|
};
|
|
15936
|
-
goog
|
|
15972
|
+
module$contents$goog$math$Size_Size.prototype.scaleToFit = function(target) {
|
|
15937
15973
|
var s = this.aspectRatio() > target.aspectRatio() ? target.width / this.width : target.height / this.height;
|
|
15938
15974
|
return this.scale(s);
|
|
15939
15975
|
};
|
|
15976
|
+
goog.math.Size = module$contents$goog$math$Size_Size;
|
|
15940
15977
|
goog.string.Const = function(opt_token, opt_content) {
|
|
15941
15978
|
this.stringConstValueWithSecurityContract__googStringSecurityPrivate_ = opt_token === goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ && opt_content || "";
|
|
15942
15979
|
this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_ = goog.string.Const.TYPE_MARKER_;
|
|
@@ -17875,7 +17912,7 @@ goog.dom.getViewportSize = function(opt_window) {
|
|
|
17875
17912
|
};
|
|
17876
17913
|
goog.dom.getViewportSize_ = function(win) {
|
|
17877
17914
|
var doc = win.document, el = goog.dom.isCss1CompatMode_(doc) ? doc.documentElement : doc.body;
|
|
17878
|
-
return new goog
|
|
17915
|
+
return new module$contents$goog$math$Size_Size(el.clientWidth, el.clientHeight);
|
|
17879
17916
|
};
|
|
17880
17917
|
goog.dom.getDocumentHeight = function() {
|
|
17881
17918
|
return goog.dom.getDocumentHeight_(window);
|
|
@@ -17909,7 +17946,7 @@ goog.dom.getDocumentScroll = function() {
|
|
|
17909
17946
|
};
|
|
17910
17947
|
goog.dom.getDocumentScroll_ = function(doc) {
|
|
17911
17948
|
var el = goog.dom.getDocumentScrollElement_(doc), win = goog.dom.getWindow_(doc);
|
|
17912
|
-
return new goog
|
|
17949
|
+
return new module$contents$goog$math$Coordinate_Coordinate((win == null ? void 0 : win.pageXOffset) || el.scrollLeft, (win == null ? void 0 : win.pageYOffset) || el.scrollTop);
|
|
17913
17950
|
};
|
|
17914
17951
|
goog.dom.getDocumentScrollElement = function() {
|
|
17915
17952
|
return goog.dom.getDocumentScrollElement_(document);
|
|
@@ -17995,7 +18032,7 @@ goog.dom.isCss1CompatMode_ = function(doc) {
|
|
|
17995
18032
|
return goog.dom.COMPAT_MODE_KNOWN_ ? goog.dom.ASSUME_STANDARDS_MODE : doc.compatMode == "CSS1Compat";
|
|
17996
18033
|
};
|
|
17997
18034
|
goog.dom.canHaveChildren = function(node) {
|
|
17998
|
-
if (node.nodeType != goog
|
|
18035
|
+
if (node.nodeType != module$contents$goog$dom$NodeType_NodeType.ELEMENT) {
|
|
17999
18036
|
return !1;
|
|
18000
18037
|
}
|
|
18001
18038
|
switch(node.tagName) {
|
|
@@ -18069,7 +18106,7 @@ goog.dom.copyContents = function(target, source) {
|
|
|
18069
18106
|
};
|
|
18070
18107
|
goog.dom.flattenElement = function(element) {
|
|
18071
18108
|
var child, parent = element.parentNode;
|
|
18072
|
-
if (parent && parent.nodeType != goog
|
|
18109
|
+
if (parent && parent.nodeType != module$contents$goog$dom$NodeType_NodeType.DOCUMENT_FRAGMENT) {
|
|
18073
18110
|
if (element.removeNode) {
|
|
18074
18111
|
return element.removeNode(!1);
|
|
18075
18112
|
}
|
|
@@ -18081,7 +18118,7 @@ goog.dom.flattenElement = function(element) {
|
|
|
18081
18118
|
};
|
|
18082
18119
|
goog.dom.getChildren = function(element) {
|
|
18083
18120
|
return goog.FEATURESET_YEAR > 2018 || element.children != void 0 ? element.children : Array.prototype.filter.call(element.childNodes, function(node) {
|
|
18084
|
-
return node.nodeType == goog
|
|
18121
|
+
return node.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
18085
18122
|
});
|
|
18086
18123
|
};
|
|
18087
18124
|
goog.dom.getFirstElementChild = function(node) {
|
|
@@ -18097,7 +18134,7 @@ goog.dom.getPreviousElementSibling = function(node) {
|
|
|
18097
18134
|
return node.previousElementSibling !== void 0 ? node.previousElementSibling : goog.dom.getNextElementNode_(node.previousSibling, !1);
|
|
18098
18135
|
};
|
|
18099
18136
|
goog.dom.getNextElementNode_ = function(node, forward) {
|
|
18100
|
-
for (; node && node.nodeType != goog
|
|
18137
|
+
for (; node && node.nodeType != module$contents$goog$dom$NodeType_NodeType.ELEMENT;) {
|
|
18101
18138
|
node = forward ? node.nextSibling : node.previousSibling;
|
|
18102
18139
|
}
|
|
18103
18140
|
return node;
|
|
@@ -18130,7 +18167,7 @@ goog.dom.isNodeLike = function(obj) {
|
|
|
18130
18167
|
return goog.isObject(obj) && obj.nodeType > 0;
|
|
18131
18168
|
};
|
|
18132
18169
|
goog.dom.isElement = function(obj) {
|
|
18133
|
-
return goog.isObject(obj) && obj.nodeType == goog
|
|
18170
|
+
return goog.isObject(obj) && obj.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
18134
18171
|
};
|
|
18135
18172
|
goog.dom.isWindow = function(obj) {
|
|
18136
18173
|
return goog.isObject(obj) && obj.window == obj;
|
|
@@ -18142,7 +18179,7 @@ goog.dom.contains = function(parent, descendant) {
|
|
|
18142
18179
|
if (!parent || !descendant) {
|
|
18143
18180
|
return !1;
|
|
18144
18181
|
}
|
|
18145
|
-
if (goog.FEATURESET_YEAR > 2018 || parent.contains && descendant.nodeType == goog
|
|
18182
|
+
if (goog.FEATURESET_YEAR > 2018 || parent.contains && descendant.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT) {
|
|
18146
18183
|
return parent == descendant || parent.contains(descendant);
|
|
18147
18184
|
}
|
|
18148
18185
|
if (typeof parent.compareDocumentPosition != "undefined") {
|
|
@@ -18161,7 +18198,7 @@ goog.dom.compareNodeOrder = function(node1, node2) {
|
|
|
18161
18198
|
return node1.compareDocumentPosition(node2) & 2 ? 1 : -1;
|
|
18162
18199
|
}
|
|
18163
18200
|
if ("sourceIndex" in node1 || node1.parentNode && "sourceIndex" in node1.parentNode) {
|
|
18164
|
-
var isElement1 = node1.nodeType == goog
|
|
18201
|
+
var isElement1 = node1.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT, isElement2 = node2.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT;
|
|
18165
18202
|
if (isElement1 && isElement2) {
|
|
18166
18203
|
return node1.sourceIndex - node2.sourceIndex;
|
|
18167
18204
|
}
|
|
@@ -18227,7 +18264,7 @@ goog.dom.isInDocument = function(node) {
|
|
|
18227
18264
|
};
|
|
18228
18265
|
goog.dom.getOwnerDocument = function(node) {
|
|
18229
18266
|
goog.asserts.assert(node, "Node cannot be null or undefined.");
|
|
18230
|
-
return node.nodeType == goog
|
|
18267
|
+
return node.nodeType == module$contents$goog$dom$NodeType_NodeType.DOCUMENT ? node : node.ownerDocument || node.document;
|
|
18231
18268
|
};
|
|
18232
18269
|
goog.dom.getFrameContentDocument = function(frame) {
|
|
18233
18270
|
return frame.contentDocument || frame.contentWindow.document;
|
|
@@ -18243,9 +18280,9 @@ goog.dom.setTextContent = function(node, text) {
|
|
|
18243
18280
|
goog.asserts.assert(node != null, "goog.dom.setTextContent expects a non-null value for node");
|
|
18244
18281
|
if ("textContent" in node) {
|
|
18245
18282
|
node.textContent = text;
|
|
18246
|
-
} else if (node.nodeType == goog
|
|
18283
|
+
} else if (node.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18247
18284
|
node.data = String(text);
|
|
18248
|
-
} else if (node.firstChild && node.firstChild.nodeType == goog
|
|
18285
|
+
} else if (node.firstChild && node.firstChild.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18249
18286
|
for (; node.lastChild != node.firstChild;) {
|
|
18250
18287
|
node.removeChild(goog.asserts.assert(node.lastChild));
|
|
18251
18288
|
}
|
|
@@ -18308,7 +18345,7 @@ goog.dom.findElements = function(root, pred) {
|
|
|
18308
18345
|
return result;
|
|
18309
18346
|
};
|
|
18310
18347
|
goog.dom.getChildrenReverse_ = function(node) {
|
|
18311
|
-
if (node.nodeType == goog
|
|
18348
|
+
if (node.nodeType == module$contents$goog$dom$NodeType_NodeType.DOCUMENT) {
|
|
18312
18349
|
return [node.documentElement];
|
|
18313
18350
|
}
|
|
18314
18351
|
for (var children = [], c = node.lastElementChild; c; c = c.previousElementSibling) {
|
|
@@ -18358,7 +18395,7 @@ goog.dom.getRawTextContent = function(node) {
|
|
|
18358
18395
|
};
|
|
18359
18396
|
goog.dom.getTextContent_ = function(node, buf, normalizeWhitespace) {
|
|
18360
18397
|
if (!(node.nodeName in goog.dom.TAGS_TO_IGNORE_)) {
|
|
18361
|
-
if (node.nodeType == goog
|
|
18398
|
+
if (node.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18362
18399
|
normalizeWhitespace ? buf.push(String(node.nodeValue).replace(/(\r\n|\r|\n)/g, "")) : buf.push(node.nodeValue);
|
|
18363
18400
|
} else if (node.nodeName in goog.dom.PREDEFINED_TAG_VALUES_) {
|
|
18364
18401
|
buf.push(goog.dom.PREDEFINED_TAG_VALUES_[node.nodeName]);
|
|
@@ -18384,7 +18421,7 @@ goog.dom.getNodeTextOffset = function(node, opt_offsetParent) {
|
|
|
18384
18421
|
goog.dom.getNodeAtOffset = function(parent, offset, opt_result) {
|
|
18385
18422
|
for (var stack = [parent], pos = 0, cur = null; stack.length > 0 && pos < offset;) {
|
|
18386
18423
|
if (cur = stack.pop(), !(cur.nodeName in goog.dom.TAGS_TO_IGNORE_)) {
|
|
18387
|
-
if (cur.nodeType == goog
|
|
18424
|
+
if (cur.nodeType == module$contents$goog$dom$NodeType_NodeType.TEXT) {
|
|
18388
18425
|
var text = cur.nodeValue.replace(/(\r\n|\r|\n)/g, "").replace(/ +/g, " ");
|
|
18389
18426
|
pos += text.length;
|
|
18390
18427
|
} else if (cur.nodeName in goog.dom.PREDEFINED_TAG_VALUES_) {
|
|
@@ -18929,44 +18966,38 @@ goog.net.jsloader.Error = function(code, opt_message) {
|
|
|
18929
18966
|
};
|
|
18930
18967
|
goog.inherits(goog.net.jsloader.Error, module$contents$goog$debug$Error_DebugError);
|
|
18931
18968
|
goog.json = {};
|
|
18932
|
-
goog
|
|
18933
|
-
goog.json.isValid = function(s) {
|
|
18969
|
+
function module$contents$goog$json_isValid(s) {
|
|
18934
18970
|
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, ""));
|
|
18935
|
-
}
|
|
18936
|
-
goog
|
|
18937
|
-
}
|
|
18938
|
-
goog.json.setErrorLogger = function(errorLogger) {
|
|
18939
|
-
goog.json.errorLogger_ = errorLogger;
|
|
18940
|
-
};
|
|
18941
|
-
goog.json.parse = goog.json.USE_NATIVE_JSON ? goog.global.JSON.parse : function(s) {
|
|
18971
|
+
}
|
|
18972
|
+
var module$contents$goog$json_errorLoggerInternal = function() {
|
|
18973
|
+
}, module$contents$goog$json_parse = function(s) {
|
|
18942
18974
|
try {
|
|
18943
18975
|
return goog.global.JSON.parse(s);
|
|
18944
18976
|
} catch (ex) {
|
|
18945
18977
|
var error = ex;
|
|
18946
18978
|
}
|
|
18947
18979
|
var o = String(s);
|
|
18948
|
-
if (goog
|
|
18980
|
+
if (module$contents$goog$json_isValid(o)) {
|
|
18949
18981
|
try {
|
|
18950
18982
|
var result = eval("(" + o + ")");
|
|
18951
|
-
error && goog
|
|
18983
|
+
error && module$contents$goog$json_errorLoggerInternal("Invalid JSON: " + o, error);
|
|
18952
18984
|
return result;
|
|
18953
18985
|
} catch (ex) {
|
|
18954
18986
|
}
|
|
18955
18987
|
}
|
|
18956
18988
|
throw Error("Invalid JSON string: " + o);
|
|
18989
|
+
}, module$contents$goog$json_serialize = function(object, opt_replacer) {
|
|
18990
|
+
return (new module$contents$goog$json_Serializer(opt_replacer)).serialize(object);
|
|
18957
18991
|
};
|
|
18958
|
-
|
|
18959
|
-
return (new goog.json.Serializer(opt_replacer)).serialize(object);
|
|
18960
|
-
};
|
|
18961
|
-
goog.json.Serializer = function(opt_replacer) {
|
|
18992
|
+
function module$contents$goog$json_Serializer(opt_replacer) {
|
|
18962
18993
|
this.replacer_ = opt_replacer;
|
|
18963
|
-
}
|
|
18964
|
-
goog.
|
|
18994
|
+
}
|
|
18995
|
+
module$contents$goog$json_Serializer.prototype.serialize = function(object) {
|
|
18965
18996
|
var sb = [];
|
|
18966
18997
|
this.serializeInternal(object, sb);
|
|
18967
18998
|
return sb.join("");
|
|
18968
18999
|
};
|
|
18969
|
-
goog.
|
|
19000
|
+
module$contents$goog$json_Serializer.prototype.serializeInternal = function(object, sb) {
|
|
18970
19001
|
if (object == null) {
|
|
18971
19002
|
sb.push("null");
|
|
18972
19003
|
} else {
|
|
@@ -19000,19 +19031,19 @@ goog.json.Serializer.prototype.serializeInternal = function(object, sb) {
|
|
|
19000
19031
|
}
|
|
19001
19032
|
}
|
|
19002
19033
|
};
|
|
19003
|
-
goog.
|
|
19004
|
-
goog.
|
|
19005
|
-
goog.
|
|
19006
|
-
sb.push('"', s.replace(goog.
|
|
19007
|
-
var rv = goog.
|
|
19008
|
-
rv || (rv = "\\u" + (c.charCodeAt(0) | 65536).toString(16).slice(1), goog.
|
|
19034
|
+
module$contents$goog$json_Serializer.charToJsonCharCache_ = {'"':'\\"', "\\":"\\\\", "/":"\\/", "\b":"\\b", "\f":"\\f", "\n":"\\n", "\r":"\\r", "\t":"\\t", "\v":"\\u000b"};
|
|
19035
|
+
module$contents$goog$json_Serializer.charsToReplace_ = /\uffff/.test("\uffff") ? /[\\"\x00-\x1f\x7f-\uffff]/g : /[\\"\x00-\x1f\x7f-\xff]/g;
|
|
19036
|
+
module$contents$goog$json_Serializer.prototype.serializeString_ = function(s, sb) {
|
|
19037
|
+
sb.push('"', s.replace(module$contents$goog$json_Serializer.charsToReplace_, function(c) {
|
|
19038
|
+
var rv = module$contents$goog$json_Serializer.charToJsonCharCache_[c];
|
|
19039
|
+
rv || (rv = "\\u" + (c.charCodeAt(0) | 65536).toString(16).slice(1), module$contents$goog$json_Serializer.charToJsonCharCache_[c] = rv);
|
|
19009
19040
|
return rv;
|
|
19010
19041
|
}), '"');
|
|
19011
19042
|
};
|
|
19012
|
-
goog.
|
|
19043
|
+
module$contents$goog$json_Serializer.prototype.serializeNumber_ = function(n, sb) {
|
|
19013
19044
|
sb.push(isFinite(n) && !isNaN(n) ? String(n) : "null");
|
|
19014
19045
|
};
|
|
19015
|
-
goog.
|
|
19046
|
+
module$contents$goog$json_Serializer.prototype.serializeArray = function(arr, sb) {
|
|
19016
19047
|
var l = arr.length;
|
|
19017
19048
|
sb.push("[");
|
|
19018
19049
|
for (var sep = "", i = 0; i < l; i++) {
|
|
@@ -19023,7 +19054,7 @@ goog.json.Serializer.prototype.serializeArray = function(arr, sb) {
|
|
|
19023
19054
|
}
|
|
19024
19055
|
sb.push("]");
|
|
19025
19056
|
};
|
|
19026
|
-
goog.
|
|
19057
|
+
module$contents$goog$json_Serializer.prototype.serializeObject_ = function(obj, sb) {
|
|
19027
19058
|
sb.push("{");
|
|
19028
19059
|
var sep = "", key;
|
|
19029
19060
|
for (key in obj) {
|
|
@@ -19034,57 +19065,68 @@ goog.json.Serializer.prototype.serializeObject_ = function(obj, sb) {
|
|
|
19034
19065
|
}
|
|
19035
19066
|
sb.push("}");
|
|
19036
19067
|
};
|
|
19068
|
+
goog.json.Replacer = void 0;
|
|
19069
|
+
goog.json.Reviver = void 0;
|
|
19070
|
+
goog.json.Serializer = module$contents$goog$json_Serializer;
|
|
19071
|
+
goog.json.USE_NATIVE_JSON = !1;
|
|
19072
|
+
goog.json.isValid = module$contents$goog$json_isValid;
|
|
19073
|
+
goog.json.parse = module$contents$goog$json_parse;
|
|
19074
|
+
goog.json.serialize = module$contents$goog$json_serialize;
|
|
19075
|
+
goog.json.setErrorLogger = function(errorLogger) {
|
|
19076
|
+
module$contents$goog$json_errorLoggerInternal = errorLogger;
|
|
19077
|
+
};
|
|
19037
19078
|
goog.json.hybrid = {};
|
|
19038
|
-
|
|
19079
|
+
function module$contents$goog$json$hybrid_parseInternal(jsonString, fallbackParser) {
|
|
19039
19080
|
if (goog.global.JSON) {
|
|
19040
19081
|
try {
|
|
19041
|
-
|
|
19082
|
+
var obj = goog.global.JSON.parse(jsonString);
|
|
19083
|
+
goog.asserts.assert(typeof obj == "object");
|
|
19084
|
+
return obj;
|
|
19042
19085
|
} catch (e) {
|
|
19043
19086
|
}
|
|
19044
19087
|
}
|
|
19045
|
-
return
|
|
19088
|
+
return fallbackParser(jsonString);
|
|
19089
|
+
}
|
|
19090
|
+
var module$contents$goog$json$hybrid_parse = function(jsonString) {
|
|
19091
|
+
return module$contents$goog$json$hybrid_parseInternal(jsonString, module$contents$goog$json_parse);
|
|
19046
19092
|
};
|
|
19047
|
-
goog.json.hybrid.
|
|
19093
|
+
goog.json.hybrid.parse = module$contents$goog$json$hybrid_parse;
|
|
19094
|
+
goog.json.hybrid.stringify = function(obj) {
|
|
19048
19095
|
if (goog.global.JSON) {
|
|
19049
19096
|
try {
|
|
19050
|
-
|
|
19051
|
-
goog.asserts.assert(typeof obj == "object");
|
|
19052
|
-
return obj;
|
|
19097
|
+
return goog.global.JSON.stringify(obj);
|
|
19053
19098
|
} catch (e) {
|
|
19054
19099
|
}
|
|
19055
19100
|
}
|
|
19056
|
-
return
|
|
19101
|
+
return module$contents$goog$json_serialize(obj);
|
|
19057
19102
|
};
|
|
19058
|
-
goog
|
|
19059
|
-
return goog.json.hybrid.parse_(jsonString, goog.json.parse);
|
|
19060
|
-
};
|
|
19061
|
-
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};
|
|
19062
|
-
goog.net.ErrorCode.getDebugMessage = function(errorCode) {
|
|
19103
|
+
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) {
|
|
19063
19104
|
switch(errorCode) {
|
|
19064
|
-
case goog
|
|
19105
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.NO_ERROR:
|
|
19065
19106
|
return "No Error";
|
|
19066
|
-
case goog
|
|
19107
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.ACCESS_DENIED:
|
|
19067
19108
|
return "Access denied to content document";
|
|
19068
|
-
case goog
|
|
19109
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.FILE_NOT_FOUND:
|
|
19069
19110
|
return "File not found";
|
|
19070
|
-
case goog
|
|
19111
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.FF_SILENT_ERROR:
|
|
19071
19112
|
return "Firefox silently errored";
|
|
19072
|
-
case goog
|
|
19113
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.CUSTOM_ERROR:
|
|
19073
19114
|
return "Application custom error";
|
|
19074
|
-
case goog
|
|
19115
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.EXCEPTION:
|
|
19075
19116
|
return "An exception occurred";
|
|
19076
|
-
case goog
|
|
19117
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.HTTP_ERROR:
|
|
19077
19118
|
return "Http response at 400 or 500 level";
|
|
19078
|
-
case goog
|
|
19119
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.ABORT:
|
|
19079
19120
|
return "Request was aborted";
|
|
19080
|
-
case goog
|
|
19121
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT:
|
|
19081
19122
|
return "Request timed out";
|
|
19082
|
-
case goog
|
|
19123
|
+
case module$contents$goog$net$ErrorCode_ErrorCode.OFFLINE:
|
|
19083
19124
|
return "The resource is not available offline";
|
|
19084
19125
|
default:
|
|
19085
19126
|
return "Unrecognized error code";
|
|
19086
19127
|
}
|
|
19087
|
-
};
|
|
19128
|
+
}};
|
|
19129
|
+
goog.net.ErrorCode = module$contents$goog$net$ErrorCode_ErrorCode;
|
|
19088
19130
|
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"};
|
|
19089
19131
|
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,
|
|
19090
19132
|
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,
|
|
@@ -19103,22 +19145,24 @@ goog.net.HttpStatus.isSuccess = function(status) {
|
|
|
19103
19145
|
return !1;
|
|
19104
19146
|
}
|
|
19105
19147
|
};
|
|
19106
|
-
goog
|
|
19107
|
-
}
|
|
19108
|
-
goog
|
|
19148
|
+
function module$contents$goog$net$XhrLike_XhrLike() {
|
|
19149
|
+
}
|
|
19150
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.open = function(method, url, opt_async, opt_user, opt_password) {
|
|
19109
19151
|
};
|
|
19110
|
-
goog
|
|
19152
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.send = function(opt_data) {
|
|
19111
19153
|
};
|
|
19112
|
-
goog
|
|
19154
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.abort = function() {
|
|
19113
19155
|
};
|
|
19114
|
-
goog
|
|
19156
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.setRequestHeader = function(header, value) {
|
|
19115
19157
|
};
|
|
19116
|
-
goog
|
|
19158
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.getResponseHeader = function(header) {
|
|
19117
19159
|
};
|
|
19118
|
-
goog
|
|
19160
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.getAllResponseHeaders = function() {
|
|
19119
19161
|
};
|
|
19120
|
-
goog
|
|
19162
|
+
module$contents$goog$net$XhrLike_XhrLike.prototype.setTrustToken = function(trustTokenAttribute) {
|
|
19121
19163
|
};
|
|
19164
|
+
goog.net.XhrLike = module$contents$goog$net$XhrLike_XhrLike;
|
|
19165
|
+
module$contents$goog$net$XhrLike_XhrLike.OrNative = void 0;
|
|
19122
19166
|
function module$contents$goog$net$XmlHttpFactory_XmlHttpFactory() {
|
|
19123
19167
|
}
|
|
19124
19168
|
goog.net.XmlHttpFactory = module$contents$goog$net$XmlHttpFactory_XmlHttpFactory;
|
|
@@ -19143,7 +19187,7 @@ goog.net.XhrIo = function(opt_xmlHttpFactory) {
|
|
|
19143
19187
|
this.active_ = !1;
|
|
19144
19188
|
this.xhr_ = null;
|
|
19145
19189
|
this.lastMethod_ = this.lastUri_ = "";
|
|
19146
|
-
this.lastErrorCode_ = goog
|
|
19190
|
+
this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.NO_ERROR;
|
|
19147
19191
|
this.lastError_ = "";
|
|
19148
19192
|
this.inAbort_ = this.inOpen_ = this.inSend_ = this.errorDispatched_ = !1;
|
|
19149
19193
|
this.timeoutInterval_ = 0;
|
|
@@ -19227,7 +19271,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19227
19271
|
var method = opt_method ? opt_method.toUpperCase() : "GET";
|
|
19228
19272
|
this.lastUri_ = url;
|
|
19229
19273
|
this.lastError_ = "";
|
|
19230
|
-
this.lastErrorCode_ = goog
|
|
19274
|
+
this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.NO_ERROR;
|
|
19231
19275
|
this.lastMethod_ = method;
|
|
19232
19276
|
this.errorDispatched_ = !1;
|
|
19233
19277
|
this.active_ = !0;
|
|
@@ -19240,7 +19284,7 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19240
19284
|
goog.log.fine(this.logger_, this.formatMsg_("Opening Xhr")), this.inOpen_ = !0, this.xhr_.open(method, String(url), !0), this.inOpen_ = !1;
|
|
19241
19285
|
} catch (err) {
|
|
19242
19286
|
goog.log.fine(this.logger_, this.formatMsg_("Error opening Xhr: " + err.message));
|
|
19243
|
-
this.error_(goog
|
|
19287
|
+
this.error_(module$contents$goog$net$ErrorCode_ErrorCode.EXCEPTION, err);
|
|
19244
19288
|
return;
|
|
19245
19289
|
}
|
|
19246
19290
|
var content = opt_content || "", headers = new Map(this.headers);
|
|
@@ -19285,14 +19329,14 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
|
|
|
19285
19329
|
try {
|
|
19286
19330
|
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;
|
|
19287
19331
|
} catch (err) {
|
|
19288
|
-
goog.log.fine(this.logger_, this.formatMsg_("Send error: " + err.message)), this.error_(goog
|
|
19332
|
+
goog.log.fine(this.logger_, this.formatMsg_("Send error: " + err.message)), this.error_(module$contents$goog$net$ErrorCode_ErrorCode.EXCEPTION, err);
|
|
19289
19333
|
}
|
|
19290
19334
|
};
|
|
19291
19335
|
goog.net.XhrIo.prototype.createXhr = function() {
|
|
19292
19336
|
return this.xmlHttpFactory_ ? this.xmlHttpFactory_.createInstance() : goog.net.XmlHttp();
|
|
19293
19337
|
};
|
|
19294
19338
|
goog.net.XhrIo.prototype.timeout_ = function() {
|
|
19295
|
-
typeof goog != "undefined" && this.xhr_ && (this.lastError_ = "Timed out after " + this.timeoutInterval_ + "ms, aborting", this.lastErrorCode_ = goog
|
|
19339
|
+
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));
|
|
19296
19340
|
};
|
|
19297
19341
|
goog.net.XhrIo.prototype.error_ = function(errorCode, err) {
|
|
19298
19342
|
this.active_ = !1;
|
|
@@ -19306,7 +19350,7 @@ goog.net.XhrIo.prototype.dispatchErrors_ = function() {
|
|
|
19306
19350
|
this.errorDispatched_ || (this.errorDispatched_ = !0, this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.ERROR));
|
|
19307
19351
|
};
|
|
19308
19352
|
goog.net.XhrIo.prototype.abort = function(opt_failureCode) {
|
|
19309
|
-
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
|
|
19353
|
+
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_());
|
|
19310
19354
|
};
|
|
19311
19355
|
goog.net.XhrIo.prototype.disposeInternal = function() {
|
|
19312
19356
|
this.xhr_ && (this.active_ && (this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1), this.cleanUpXhr_(!0));
|
|
@@ -19333,7 +19377,7 @@ goog.net.XhrIo.prototype.onReadyStateChangeHelper_ = function() {
|
|
|
19333
19377
|
goog.log.fine(this.logger_, this.formatMsg_("Request complete"));
|
|
19334
19378
|
this.active_ = !1;
|
|
19335
19379
|
try {
|
|
19336
|
-
this.isSuccess() ? (this.dispatchEvent(goog.net.EventType.COMPLETE), this.dispatchEvent(goog.net.EventType.SUCCESS)) : (this.lastErrorCode_ = goog
|
|
19380
|
+
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_());
|
|
19337
19381
|
} finally {
|
|
19338
19382
|
this.cleanUpXhr_();
|
|
19339
19383
|
}
|
|
@@ -19376,7 +19420,7 @@ goog.net.XhrIo.prototype.isSuccess = function() {
|
|
|
19376
19420
|
return goog.net.HttpStatus.isSuccess(status) || status === 0 && !this.isLastUriEffectiveSchemeHttp_();
|
|
19377
19421
|
};
|
|
19378
19422
|
goog.net.XhrIo.prototype.isLastUriEffectiveSchemeHttp_ = function() {
|
|
19379
|
-
var scheme = goog
|
|
19423
|
+
var scheme = module$contents$goog$uri$utils_getEffectiveScheme(String(this.lastUri_));
|
|
19380
19424
|
return goog.net.XhrIo.HTTP_SCHEME_PATTERN.test(scheme);
|
|
19381
19425
|
};
|
|
19382
19426
|
goog.net.XhrIo.prototype.getReadyState = function() {
|
|
@@ -19427,7 +19471,7 @@ goog.net.XhrIo.prototype.getResponseJson = function(opt_xssiPrefix) {
|
|
|
19427
19471
|
if (this.xhr_) {
|
|
19428
19472
|
var responseText = this.xhr_.responseText;
|
|
19429
19473
|
opt_xssiPrefix && responseText.indexOf(opt_xssiPrefix) == 0 && (responseText = responseText.substring(opt_xssiPrefix.length));
|
|
19430
|
-
return goog
|
|
19474
|
+
return module$contents$goog$json$hybrid_parse(responseText);
|
|
19431
19475
|
}
|
|
19432
19476
|
};
|
|
19433
19477
|
goog.net.XhrIo.prototype.getResponse = function() {
|
|
@@ -19500,7 +19544,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19500
19544
|
ee.apiclient = {};
|
|
19501
19545
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19502
19546
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19503
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19547
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.3";
|
|
19504
19548
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19505
19549
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19506
19550
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19805,8 +19849,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19805
19849
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19806
19850
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19807
19851
|
method = method || "POST";
|
|
19808
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19809
|
-
version === "1.7.
|
|
19852
|
+
var headers = {"Content-Type":contentType}, version = "1.7.3";
|
|
19853
|
+
version === "1.7.3" && (version = "latest");
|
|
19810
19854
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19811
19855
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19812
19856
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -20910,7 +20954,7 @@ ee.Serializer = function(opt_isCompound) {
|
|
|
20910
20954
|
this.unboundName = void 0;
|
|
20911
20955
|
};
|
|
20912
20956
|
goog.exportSymbol("ee.Serializer", ee.Serializer);
|
|
20913
|
-
ee.Serializer.jsonSerializer_ = new goog
|
|
20957
|
+
ee.Serializer.jsonSerializer_ = new module$contents$goog$json_Serializer();
|
|
20914
20958
|
ee.Serializer.hash_ = new module$contents$goog$crypt$Md5_Md5();
|
|
20915
20959
|
ee.Serializer.encode = function(obj, opt_isCompound) {
|
|
20916
20960
|
return (new ee.Serializer(opt_isCompound !== void 0 ? opt_isCompound : !0)).encode_(obj);
|
|
@@ -21387,7 +21431,7 @@ ee.rpc_convert_batch.buildDriveDestination_ = function(params) {
|
|
|
21387
21431
|
return new module$exports$eeapiclient$ee_api_client.DriveDestination({folder:stringOrNull_(params.driveFolder), filenamePrefix:stringOrNull_(params.driveFileNamePrefix)});
|
|
21388
21432
|
};
|
|
21389
21433
|
ee.rpc_convert_batch.buildEarthEngineDestination_ = function(params) {
|
|
21390
|
-
return new module$exports$eeapiclient$ee_api_client.EarthEngineDestination({name:ee.rpc_convert.assetIdToAssetName(params.assetId)});
|
|
21434
|
+
return new module$exports$eeapiclient$ee_api_client.EarthEngineDestination({name:ee.rpc_convert.assetIdToAssetName(params.assetId), overwrite:!!params.overwrite});
|
|
21391
21435
|
};
|
|
21392
21436
|
ee.rpc_convert_batch.buildFeatureViewDestination_ = function(params) {
|
|
21393
21437
|
return new module$exports$eeapiclient$ee_api_client.FeatureViewDestination({name:ee.rpc_convert.assetIdToAssetName(params.mapName)});
|
|
@@ -22655,7 +22699,7 @@ ee.arguments.extractImpl_ = function(fn, originalArgs, parameterMatcher) {
|
|
|
22655
22699
|
args[paramNames[i]] = originalArgs[i];
|
|
22656
22700
|
}
|
|
22657
22701
|
} else {
|
|
22658
|
-
var seen = new goog
|
|
22702
|
+
var seen = new module$contents$goog$structs$Set_Set(module$contents$goog$object_getKeys(firstArg)), expected = new module$contents$goog$structs$Set_Set(paramNames);
|
|
22659
22703
|
if (expected.intersection(seen).isEmpty()) {
|
|
22660
22704
|
args[paramNames[0]] = originalArgs[0];
|
|
22661
22705
|
} else {
|
|
@@ -22666,7 +22710,7 @@ ee.arguments.extractImpl_ = function(fn, originalArgs, parameterMatcher) {
|
|
|
22666
22710
|
args = module$contents$goog$object_clone(firstArg);
|
|
22667
22711
|
}
|
|
22668
22712
|
}
|
|
22669
|
-
var provided = new goog
|
|
22713
|
+
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) {
|
|
22670
22714
|
return !goog.string.startsWith(param, "opt_");
|
|
22671
22715
|
}))).difference(provided);
|
|
22672
22716
|
if (missing.size !== 0) {
|
|
@@ -22778,7 +22822,7 @@ ee.Geometry = function(geoJson, opt_proj, opt_geodesic, opt_evenOdd) {
|
|
|
22778
22822
|
if (goog.isObject(geoJson.crs) && geoJson.crs.type == "name" && goog.isObject(geoJson.crs.properties) && typeof geoJson.crs.properties.name === "string") {
|
|
22779
22823
|
this.proj_ = geoJson.crs.properties.name;
|
|
22780
22824
|
} else {
|
|
22781
|
-
throw Error("Invalid CRS declaration in GeoJSON: " + (new goog
|
|
22825
|
+
throw Error("Invalid CRS declaration in GeoJSON: " + (new module$contents$goog$json_Serializer()).serialize(geoJson.crs));
|
|
22782
22826
|
}
|
|
22783
22827
|
}
|
|
22784
22828
|
this.geodesic_ = opt_geodesic;
|
|
@@ -22941,7 +22985,7 @@ ee.Geometry.prototype.toGeoJSONString = function() {
|
|
|
22941
22985
|
if (this.func) {
|
|
22942
22986
|
throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");
|
|
22943
22987
|
}
|
|
22944
|
-
return (new goog
|
|
22988
|
+
return (new module$contents$goog$json_Serializer()).serialize(this.toGeoJSON());
|
|
22945
22989
|
};
|
|
22946
22990
|
goog.exportProperty(ee.Geometry.prototype, "toGeoJSONString", ee.Geometry.prototype.toGeoJSONString);
|
|
22947
22991
|
ee.Geometry.prototype.serialize = function(legacy) {
|
|
@@ -23971,7 +24015,7 @@ module$contents$ee$batch_ExportTask.prototype.start = function(opt_success, opt_
|
|
|
23971
24015
|
}
|
|
23972
24016
|
};
|
|
23973
24017
|
goog.exportProperty(module$contents$ee$batch_ExportTask.prototype, "start", module$contents$ee$batch_ExportTask.prototype.start);
|
|
23974
|
-
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) {
|
|
24018
|
+
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) {
|
|
23975
24019
|
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);
|
|
23976
24020
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
23977
24021
|
};
|
|
@@ -24003,7 +24047,7 @@ module$contents$ee$batch_Export.table.toDrive = function(collection, opt_descrip
|
|
|
24003
24047
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
24004
24048
|
};
|
|
24005
24049
|
goog.exportSymbol("module$contents$ee$batch_Export.table.toDrive", module$contents$ee$batch_Export.table.toDrive);
|
|
24006
|
-
module$contents$ee$batch_Export.table.toAsset = function(collection, opt_description, opt_assetId, opt_maxVertices, opt_priority) {
|
|
24050
|
+
module$contents$ee$batch_Export.table.toAsset = function(collection, opt_description, opt_assetId, opt_maxVertices, opt_priority, opt_overwrite) {
|
|
24007
24051
|
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);
|
|
24008
24052
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
24009
24053
|
};
|
|
@@ -24139,6 +24183,7 @@ module$contents$ee$batch_Export.prepareDestination_ = function(taskConfig, desti
|
|
|
24139
24183
|
break;
|
|
24140
24184
|
case ee.data.ExportDestination.ASSET:
|
|
24141
24185
|
taskConfig.assetId = taskConfig.assetId || "";
|
|
24186
|
+
taskConfig.overwrite = taskConfig.overwrite || !1;
|
|
24142
24187
|
break;
|
|
24143
24188
|
case ee.data.ExportDestination.FEATURE_VIEW:
|
|
24144
24189
|
taskConfig.mapName = taskConfig.mapName || "";
|
|
@@ -24978,8 +25023,8 @@ ee.Function.registerPromoter(ee.promote_);
|
|
|
24978
25023
|
ee.FloatTileOverlay = function(url, mapId, token) {
|
|
24979
25024
|
ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay.call(this, url, mapId, token);
|
|
24980
25025
|
this.tileSize = new google.maps.Size(ee.FloatTileOverlay.TILE_EDGE_LENGTH, ee.FloatTileOverlay.TILE_EDGE_LENGTH);
|
|
24981
|
-
this.floatTiles_ = new goog
|
|
24982
|
-
this.floatTileDivs_ = new goog
|
|
25026
|
+
this.floatTiles_ = new module$contents$goog$structs$Map_Map();
|
|
25027
|
+
this.floatTileDivs_ = new module$contents$goog$structs$Map_Map();
|
|
24983
25028
|
};
|
|
24984
25029
|
$jscomp.inherits(ee.FloatTileOverlay, ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay);
|
|
24985
25030
|
ee.FloatTileOverlay.prototype.getTile = function(coord, zoom, ownerDocument) {
|
|
@@ -25067,21 +25112,21 @@ module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.LayerStatsFo
|
|
|
25067
25112
|
module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.Summary = function() {
|
|
25068
25113
|
};
|
|
25069
25114
|
ee.layers.AbstractOverlayStats = module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats;
|
|
25070
|
-
goog
|
|
25115
|
+
function module$contents$goog$events$EventHandler_EventHandler(opt_scope) {
|
|
25071
25116
|
goog.Disposable.call(this);
|
|
25072
25117
|
this.handler_ = opt_scope;
|
|
25073
25118
|
this.keys_ = {};
|
|
25074
|
-
}
|
|
25075
|
-
goog.inherits(goog
|
|
25076
|
-
goog
|
|
25077
|
-
goog
|
|
25119
|
+
}
|
|
25120
|
+
goog.inherits(module$contents$goog$events$EventHandler_EventHandler, goog.Disposable);
|
|
25121
|
+
module$contents$goog$events$EventHandler_EventHandler.typeArray_ = [];
|
|
25122
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listen = function(src, type, opt_fn, opt_options) {
|
|
25078
25123
|
return this.listen_(src, type, opt_fn, opt_options);
|
|
25079
25124
|
};
|
|
25080
|
-
goog
|
|
25125
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithScope = function(src, type, fn, options, scope) {
|
|
25081
25126
|
return this.listen_(src, type, fn, options, scope);
|
|
25082
25127
|
};
|
|
25083
|
-
goog
|
|
25084
|
-
Array.isArray(type) || (type && (goog
|
|
25128
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listen_ = function(src, type, opt_fn, opt_options, opt_scope) {
|
|
25129
|
+
Array.isArray(type) || (type && (module$contents$goog$events$EventHandler_EventHandler.typeArray_[0] = type.toString()), type = module$contents$goog$events$EventHandler_EventHandler.typeArray_);
|
|
25085
25130
|
for (var i = 0; i < type.length; i++) {
|
|
25086
25131
|
var listenerObj = goog.events.listen(src, type[i], opt_fn || this.handleEvent, opt_options || !1, opt_scope || this.handler_ || this);
|
|
25087
25132
|
if (!listenerObj) {
|
|
@@ -25091,13 +25136,13 @@ goog.events.EventHandler.prototype.listen_ = function(src, type, opt_fn, opt_opt
|
|
|
25091
25136
|
}
|
|
25092
25137
|
return this;
|
|
25093
25138
|
};
|
|
25094
|
-
goog
|
|
25139
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenOnce = function(src, type, opt_fn, opt_options) {
|
|
25095
25140
|
return this.listenOnce_(src, type, opt_fn, opt_options);
|
|
25096
25141
|
};
|
|
25097
|
-
goog
|
|
25142
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenOnceWithScope = function(src, type, fn, capture, scope) {
|
|
25098
25143
|
return this.listenOnce_(src, type, fn, capture, scope);
|
|
25099
25144
|
};
|
|
25100
|
-
goog
|
|
25145
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenOnce_ = function(src, type, opt_fn, opt_options, opt_scope) {
|
|
25101
25146
|
if (Array.isArray(type)) {
|
|
25102
25147
|
for (var i = 0; i < type.length; i++) {
|
|
25103
25148
|
this.listenOnce_(src, type[i], opt_fn, opt_options, opt_scope);
|
|
@@ -25111,24 +25156,24 @@ goog.events.EventHandler.prototype.listenOnce_ = function(src, type, opt_fn, opt
|
|
|
25111
25156
|
}
|
|
25112
25157
|
return this;
|
|
25113
25158
|
};
|
|
25114
|
-
goog
|
|
25159
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithWrapper = function(src, wrapper, listener, opt_capt) {
|
|
25115
25160
|
return this.listenWithWrapper_(src, wrapper, listener, opt_capt);
|
|
25116
25161
|
};
|
|
25117
|
-
goog
|
|
25162
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithWrapperAndScope = function(src, wrapper, listener, capture, scope) {
|
|
25118
25163
|
return this.listenWithWrapper_(src, wrapper, listener, capture, scope);
|
|
25119
25164
|
};
|
|
25120
|
-
goog
|
|
25165
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.listenWithWrapper_ = function(src, wrapper, listener, opt_capt, opt_scope) {
|
|
25121
25166
|
wrapper.listen(src, listener, opt_capt, opt_scope || this.handler_ || this, this);
|
|
25122
25167
|
return this;
|
|
25123
25168
|
};
|
|
25124
|
-
goog
|
|
25169
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.getListenerCount = function() {
|
|
25125
25170
|
var count = 0, key;
|
|
25126
25171
|
for (key in this.keys_) {
|
|
25127
25172
|
Object.prototype.hasOwnProperty.call(this.keys_, key) && count++;
|
|
25128
25173
|
}
|
|
25129
25174
|
return count;
|
|
25130
25175
|
};
|
|
25131
|
-
goog
|
|
25176
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.unlisten = function(src, type, opt_fn, opt_options, opt_scope) {
|
|
25132
25177
|
if (Array.isArray(type)) {
|
|
25133
25178
|
for (var i = 0; i < type.length; i++) {
|
|
25134
25179
|
this.unlisten(src, type[i], opt_fn, opt_options, opt_scope);
|
|
@@ -25139,41 +25184,42 @@ goog.events.EventHandler.prototype.unlisten = function(src, type, opt_fn, opt_op
|
|
|
25139
25184
|
}
|
|
25140
25185
|
return this;
|
|
25141
25186
|
};
|
|
25142
|
-
goog
|
|
25187
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.unlistenWithWrapper = function(src, wrapper, listener, opt_capt, opt_scope) {
|
|
25143
25188
|
wrapper.unlisten(src, listener, opt_capt, opt_scope || this.handler_ || this, this);
|
|
25144
25189
|
return this;
|
|
25145
25190
|
};
|
|
25146
|
-
goog
|
|
25191
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.removeAll = function() {
|
|
25147
25192
|
module$contents$goog$object_forEach(this.keys_, function(listenerObj, key) {
|
|
25148
25193
|
this.keys_.hasOwnProperty(key) && goog.events.unlistenByKey(listenerObj);
|
|
25149
25194
|
}, this);
|
|
25150
25195
|
this.keys_ = {};
|
|
25151
25196
|
};
|
|
25152
|
-
goog
|
|
25153
|
-
goog
|
|
25197
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.disposeInternal = function() {
|
|
25198
|
+
module$contents$goog$events$EventHandler_EventHandler.superClass_.disposeInternal.call(this);
|
|
25154
25199
|
this.removeAll();
|
|
25155
25200
|
};
|
|
25156
|
-
goog
|
|
25201
|
+
module$contents$goog$events$EventHandler_EventHandler.prototype.handleEvent = function(e) {
|
|
25157
25202
|
throw Error("EventHandler.handleEvent not implemented");
|
|
25158
25203
|
};
|
|
25204
|
+
goog.events.EventHandler = module$contents$goog$events$EventHandler_EventHandler;
|
|
25159
25205
|
goog.fs = {};
|
|
25160
|
-
goog
|
|
25161
|
-
}
|
|
25162
|
-
goog
|
|
25206
|
+
function module$contents$goog$fs$Error_DOMErrorLike() {
|
|
25207
|
+
}
|
|
25208
|
+
function module$contents$goog$fs$Error_FsError(error, action) {
|
|
25163
25209
|
if (error.name !== void 0) {
|
|
25164
|
-
this.name = error.name, this.code = goog
|
|
25210
|
+
this.name = error.name, this.code = module$contents$goog$fs$Error_FsError.getCodeFromName_(error.name);
|
|
25165
25211
|
} else {
|
|
25166
25212
|
var code = goog.asserts.assertNumber(error.code);
|
|
25167
25213
|
this.code = code;
|
|
25168
|
-
this.name = goog
|
|
25214
|
+
this.name = module$contents$goog$fs$Error_FsError.getNameFromCode_(code);
|
|
25169
25215
|
}
|
|
25170
25216
|
module$contents$goog$debug$Error_DebugError.call(this, goog.string.subs("%s %s", this.name, action));
|
|
25171
|
-
}
|
|
25172
|
-
goog.inherits(goog
|
|
25173
|
-
goog
|
|
25174
|
-
goog
|
|
25175
|
-
goog
|
|
25176
|
-
var name = module$contents$goog$object_findKey(goog
|
|
25217
|
+
}
|
|
25218
|
+
goog.inherits(module$contents$goog$fs$Error_FsError, module$contents$goog$debug$Error_DebugError);
|
|
25219
|
+
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"};
|
|
25220
|
+
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};
|
|
25221
|
+
module$contents$goog$fs$Error_FsError.getNameFromCode_ = function(code) {
|
|
25222
|
+
var name = module$contents$goog$object_findKey(module$contents$goog$fs$Error_FsError.NameToCodeMap_, function(c) {
|
|
25177
25223
|
return code == c;
|
|
25178
25224
|
});
|
|
25179
25225
|
if (name === void 0) {
|
|
@@ -25181,27 +25227,30 @@ goog.fs.Error.getNameFromCode_ = function(code) {
|
|
|
25181
25227
|
}
|
|
25182
25228
|
return name;
|
|
25183
25229
|
};
|
|
25184
|
-
goog
|
|
25185
|
-
return goog
|
|
25230
|
+
module$contents$goog$fs$Error_FsError.getCodeFromName_ = function(name) {
|
|
25231
|
+
return module$contents$goog$fs$Error_FsError.NameToCodeMap_[name];
|
|
25186
25232
|
};
|
|
25187
25233
|
var $jscomp$compprop18 = {};
|
|
25188
|
-
goog
|
|
25189
|
-
$
|
|
25190
|
-
$jscomp$compprop18[goog.fs.
|
|
25191
|
-
goog.fs.
|
|
25234
|
+
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] =
|
|
25235
|
+
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,
|
|
25236
|
+
$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] =
|
|
25237
|
+
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);
|
|
25238
|
+
goog.fs.Error = module$contents$goog$fs$Error_FsError;
|
|
25239
|
+
function module$contents$goog$fs$ProgressEvent_GoogProgressEvent(event, target) {
|
|
25192
25240
|
goog.events.Event.call(this, event.type, target);
|
|
25193
25241
|
this.event_ = event;
|
|
25194
|
-
}
|
|
25195
|
-
goog.inherits(goog
|
|
25196
|
-
goog
|
|
25242
|
+
}
|
|
25243
|
+
goog.inherits(module$contents$goog$fs$ProgressEvent_GoogProgressEvent, goog.events.Event);
|
|
25244
|
+
module$contents$goog$fs$ProgressEvent_GoogProgressEvent.prototype.isLengthComputable = function() {
|
|
25197
25245
|
return this.event_.lengthComputable;
|
|
25198
25246
|
};
|
|
25199
|
-
goog
|
|
25247
|
+
module$contents$goog$fs$ProgressEvent_GoogProgressEvent.prototype.getLoaded = function() {
|
|
25200
25248
|
return this.event_.loaded;
|
|
25201
25249
|
};
|
|
25202
|
-
goog
|
|
25250
|
+
module$contents$goog$fs$ProgressEvent_GoogProgressEvent.prototype.getTotal = function() {
|
|
25203
25251
|
return this.event_.total;
|
|
25204
25252
|
};
|
|
25253
|
+
goog.fs.ProgressEvent = module$contents$goog$fs$ProgressEvent_GoogProgressEvent;
|
|
25205
25254
|
goog.fs.FileReader = function() {
|
|
25206
25255
|
goog.events.EventTarget.call(this);
|
|
25207
25256
|
this.reader_ = new FileReader();
|
|
@@ -25219,7 +25268,7 @@ goog.fs.FileReader.prototype.abort = function() {
|
|
|
25219
25268
|
try {
|
|
25220
25269
|
this.reader_.abort();
|
|
25221
25270
|
} catch (e) {
|
|
25222
|
-
throw new goog
|
|
25271
|
+
throw new module$contents$goog$fs$Error_FsError(e, "aborting read");
|
|
25223
25272
|
}
|
|
25224
25273
|
};
|
|
25225
25274
|
goog.fs.FileReader.prototype.getReadyState = function() {
|
|
@@ -25229,10 +25278,10 @@ goog.fs.FileReader.prototype.getResult = function() {
|
|
|
25229
25278
|
return this.reader_.result;
|
|
25230
25279
|
};
|
|
25231
25280
|
goog.fs.FileReader.prototype.getError = function() {
|
|
25232
|
-
return this.reader_.error && new goog
|
|
25281
|
+
return this.reader_.error && new module$contents$goog$fs$Error_FsError(this.reader_.error, "reading file");
|
|
25233
25282
|
};
|
|
25234
25283
|
goog.fs.FileReader.prototype.dispatchProgressEvent_ = function(event) {
|
|
25235
|
-
this.dispatchEvent(new goog
|
|
25284
|
+
this.dispatchEvent(new module$contents$goog$fs$ProgressEvent_GoogProgressEvent(event, this));
|
|
25236
25285
|
};
|
|
25237
25286
|
goog.fs.FileReader.prototype.disposeInternal = function() {
|
|
25238
25287
|
goog.fs.FileReader.superClass_.disposeInternal.call(this);
|
|
@@ -25390,7 +25439,7 @@ module$contents$goog$math$Box_Box.prototype.round = function() {
|
|
|
25390
25439
|
return this;
|
|
25391
25440
|
};
|
|
25392
25441
|
module$contents$goog$math$Box_Box.prototype.translate = function(tx, opt_ty) {
|
|
25393
|
-
tx instanceof goog
|
|
25442
|
+
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));
|
|
25394
25443
|
return this;
|
|
25395
25444
|
};
|
|
25396
25445
|
module$contents$goog$math$Box_Box.prototype.scale = function(sx, opt_sy) {
|
|
@@ -25404,31 +25453,31 @@ module$contents$goog$math$Box_Box.prototype.scale = function(sx, opt_sy) {
|
|
|
25404
25453
|
goog.math.Box = module$contents$goog$math$Box_Box;
|
|
25405
25454
|
goog.math.IRect = function() {
|
|
25406
25455
|
};
|
|
25407
|
-
goog
|
|
25456
|
+
function module$contents$goog$math$Rect_Rect(x, y, w, h) {
|
|
25408
25457
|
this.left = x;
|
|
25409
25458
|
this.top = y;
|
|
25410
25459
|
this.width = w;
|
|
25411
25460
|
this.height = h;
|
|
25461
|
+
}
|
|
25462
|
+
module$contents$goog$math$Rect_Rect.prototype.clone = function() {
|
|
25463
|
+
return new module$contents$goog$math$Rect_Rect(this.left, this.top, this.width, this.height);
|
|
25412
25464
|
};
|
|
25413
|
-
goog
|
|
25414
|
-
return new goog.math.Rect(this.left, this.top, this.width, this.height);
|
|
25415
|
-
};
|
|
25416
|
-
goog.math.Rect.prototype.toBox = function() {
|
|
25465
|
+
module$contents$goog$math$Rect_Rect.prototype.toBox = function() {
|
|
25417
25466
|
return new module$contents$goog$math$Box_Box(this.top, this.left + this.width, this.top + this.height, this.left);
|
|
25418
25467
|
};
|
|
25419
|
-
goog
|
|
25420
|
-
return new goog
|
|
25468
|
+
module$contents$goog$math$Rect_Rect.createFromPositionAndSize = function(position, size) {
|
|
25469
|
+
return new module$contents$goog$math$Rect_Rect(position.x, position.y, size.width, size.height);
|
|
25421
25470
|
};
|
|
25422
|
-
goog
|
|
25423
|
-
return new goog
|
|
25471
|
+
module$contents$goog$math$Rect_Rect.createFromBox = function(box) {
|
|
25472
|
+
return new module$contents$goog$math$Rect_Rect(box.left, box.top, box.right - box.left, box.bottom - box.top);
|
|
25424
25473
|
};
|
|
25425
|
-
goog.DEBUG && (goog
|
|
25474
|
+
goog.DEBUG && (module$contents$goog$math$Rect_Rect.prototype.toString = function() {
|
|
25426
25475
|
return "(" + this.left + ", " + this.top + " - " + this.width + "w x " + this.height + "h)";
|
|
25427
25476
|
});
|
|
25428
|
-
goog
|
|
25477
|
+
module$contents$goog$math$Rect_Rect.equals = function(a, b) {
|
|
25429
25478
|
return a == b ? !0 : a && b ? a.left == b.left && a.width == b.width && a.top == b.top && a.height == b.height : !1;
|
|
25430
25479
|
};
|
|
25431
|
-
goog
|
|
25480
|
+
module$contents$goog$math$Rect_Rect.prototype.intersection = function(rect) {
|
|
25432
25481
|
var x0 = Math.max(this.left, rect.left), x1 = Math.min(this.left + this.width, rect.left + rect.width);
|
|
25433
25482
|
if (x0 <= x1) {
|
|
25434
25483
|
var y0 = Math.max(this.top, rect.top), y1 = Math.min(this.top + this.height, rect.top + rect.height);
|
|
@@ -25438,100 +25487,100 @@ goog.math.Rect.prototype.intersection = function(rect) {
|
|
|
25438
25487
|
}
|
|
25439
25488
|
return !1;
|
|
25440
25489
|
};
|
|
25441
|
-
goog
|
|
25490
|
+
module$contents$goog$math$Rect_Rect.intersection = function(a, b) {
|
|
25442
25491
|
var x0 = Math.max(a.left, b.left), x1 = Math.min(a.left + a.width, b.left + b.width);
|
|
25443
25492
|
if (x0 <= x1) {
|
|
25444
25493
|
var y0 = Math.max(a.top, b.top), y1 = Math.min(a.top + a.height, b.top + b.height);
|
|
25445
25494
|
if (y0 <= y1) {
|
|
25446
|
-
return new goog
|
|
25495
|
+
return new module$contents$goog$math$Rect_Rect(x0, y0, x1 - x0, y1 - y0);
|
|
25447
25496
|
}
|
|
25448
25497
|
}
|
|
25449
25498
|
return null;
|
|
25450
25499
|
};
|
|
25451
|
-
goog
|
|
25500
|
+
module$contents$goog$math$Rect_Rect.intersects = function(a, b) {
|
|
25452
25501
|
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;
|
|
25453
25502
|
};
|
|
25454
|
-
goog
|
|
25455
|
-
return goog
|
|
25503
|
+
module$contents$goog$math$Rect_Rect.prototype.intersects = function(rect) {
|
|
25504
|
+
return module$contents$goog$math$Rect_Rect.intersects(this, rect);
|
|
25456
25505
|
};
|
|
25457
|
-
goog
|
|
25458
|
-
var intersection = goog
|
|
25506
|
+
module$contents$goog$math$Rect_Rect.difference = function(a, b) {
|
|
25507
|
+
var intersection = module$contents$goog$math$Rect_Rect.intersection(a, b);
|
|
25459
25508
|
if (!intersection || !intersection.height || !intersection.width) {
|
|
25460
25509
|
return [a.clone()];
|
|
25461
25510
|
}
|
|
25462
25511
|
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;
|
|
25463
|
-
b.top > a.top && (result.push(new goog
|
|
25464
|
-
bb < ab && (result.push(new goog
|
|
25465
|
-
b.left > a.left && result.push(new goog
|
|
25466
|
-
br < ar && result.push(new goog
|
|
25512
|
+
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);
|
|
25513
|
+
bb < ab && (result.push(new module$contents$goog$math$Rect_Rect(a.left, bb, a.width, ab - bb)), height = bb - top);
|
|
25514
|
+
b.left > a.left && result.push(new module$contents$goog$math$Rect_Rect(a.left, top, b.left - a.left, height));
|
|
25515
|
+
br < ar && result.push(new module$contents$goog$math$Rect_Rect(br, top, ar - br, height));
|
|
25467
25516
|
return result;
|
|
25468
25517
|
};
|
|
25469
|
-
goog
|
|
25470
|
-
return goog
|
|
25518
|
+
module$contents$goog$math$Rect_Rect.prototype.difference = function(rect) {
|
|
25519
|
+
return module$contents$goog$math$Rect_Rect.difference(this, rect);
|
|
25471
25520
|
};
|
|
25472
|
-
goog
|
|
25521
|
+
module$contents$goog$math$Rect_Rect.prototype.boundingRect = function(rect) {
|
|
25473
25522
|
var right = Math.max(this.left + this.width, rect.left + rect.width), bottom = Math.max(this.top + this.height, rect.top + rect.height);
|
|
25474
25523
|
this.left = Math.min(this.left, rect.left);
|
|
25475
25524
|
this.top = Math.min(this.top, rect.top);
|
|
25476
25525
|
this.width = right - this.left;
|
|
25477
25526
|
this.height = bottom - this.top;
|
|
25478
25527
|
};
|
|
25479
|
-
goog
|
|
25528
|
+
module$contents$goog$math$Rect_Rect.boundingRect = function(a, b) {
|
|
25480
25529
|
if (!a || !b) {
|
|
25481
25530
|
return null;
|
|
25482
25531
|
}
|
|
25483
|
-
var newRect = new goog
|
|
25532
|
+
var newRect = new module$contents$goog$math$Rect_Rect(a.left, a.top, a.width, a.height);
|
|
25484
25533
|
newRect.boundingRect(b);
|
|
25485
25534
|
return newRect;
|
|
25486
25535
|
};
|
|
25487
|
-
goog
|
|
25488
|
-
return another instanceof goog
|
|
25536
|
+
module$contents$goog$math$Rect_Rect.prototype.contains = function(another) {
|
|
25537
|
+
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;
|
|
25489
25538
|
};
|
|
25490
|
-
goog
|
|
25539
|
+
module$contents$goog$math$Rect_Rect.prototype.squaredDistance = function(point) {
|
|
25491
25540
|
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);
|
|
25492
25541
|
return dx * dx + dy * dy;
|
|
25493
25542
|
};
|
|
25494
|
-
goog
|
|
25543
|
+
module$contents$goog$math$Rect_Rect.prototype.distance = function(point) {
|
|
25495
25544
|
return Math.sqrt(this.squaredDistance(point));
|
|
25496
25545
|
};
|
|
25497
|
-
goog
|
|
25498
|
-
return new goog
|
|
25546
|
+
module$contents$goog$math$Rect_Rect.prototype.getSize = function() {
|
|
25547
|
+
return new module$contents$goog$math$Size_Size(this.width, this.height);
|
|
25499
25548
|
};
|
|
25500
|
-
goog
|
|
25501
|
-
return new goog
|
|
25549
|
+
module$contents$goog$math$Rect_Rect.prototype.getTopLeft = function() {
|
|
25550
|
+
return new module$contents$goog$math$Coordinate_Coordinate(this.left, this.top);
|
|
25502
25551
|
};
|
|
25503
|
-
goog
|
|
25504
|
-
return new goog
|
|
25552
|
+
module$contents$goog$math$Rect_Rect.prototype.getCenter = function() {
|
|
25553
|
+
return new module$contents$goog$math$Coordinate_Coordinate(this.left + this.width / 2, this.top + this.height / 2);
|
|
25505
25554
|
};
|
|
25506
|
-
goog
|
|
25507
|
-
return new goog
|
|
25555
|
+
module$contents$goog$math$Rect_Rect.prototype.getBottomRight = function() {
|
|
25556
|
+
return new module$contents$goog$math$Coordinate_Coordinate(this.left + this.width, this.top + this.height);
|
|
25508
25557
|
};
|
|
25509
|
-
goog
|
|
25558
|
+
module$contents$goog$math$Rect_Rect.prototype.ceil = function() {
|
|
25510
25559
|
this.left = Math.ceil(this.left);
|
|
25511
25560
|
this.top = Math.ceil(this.top);
|
|
25512
25561
|
this.width = Math.ceil(this.width);
|
|
25513
25562
|
this.height = Math.ceil(this.height);
|
|
25514
25563
|
return this;
|
|
25515
25564
|
};
|
|
25516
|
-
goog
|
|
25565
|
+
module$contents$goog$math$Rect_Rect.prototype.floor = function() {
|
|
25517
25566
|
this.left = Math.floor(this.left);
|
|
25518
25567
|
this.top = Math.floor(this.top);
|
|
25519
25568
|
this.width = Math.floor(this.width);
|
|
25520
25569
|
this.height = Math.floor(this.height);
|
|
25521
25570
|
return this;
|
|
25522
25571
|
};
|
|
25523
|
-
goog
|
|
25572
|
+
module$contents$goog$math$Rect_Rect.prototype.round = function() {
|
|
25524
25573
|
this.left = Math.round(this.left);
|
|
25525
25574
|
this.top = Math.round(this.top);
|
|
25526
25575
|
this.width = Math.round(this.width);
|
|
25527
25576
|
this.height = Math.round(this.height);
|
|
25528
25577
|
return this;
|
|
25529
25578
|
};
|
|
25530
|
-
goog
|
|
25531
|
-
tx instanceof goog
|
|
25579
|
+
module$contents$goog$math$Rect_Rect.prototype.translate = function(tx, opt_ty) {
|
|
25580
|
+
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));
|
|
25532
25581
|
return this;
|
|
25533
25582
|
};
|
|
25534
|
-
goog
|
|
25583
|
+
module$contents$goog$math$Rect_Rect.prototype.scale = function(sx, opt_sy) {
|
|
25535
25584
|
var sy = typeof opt_sy === "number" ? opt_sy : sx;
|
|
25536
25585
|
this.left *= sx;
|
|
25537
25586
|
this.width *= sx;
|
|
@@ -25539,6 +25588,7 @@ goog.math.Rect.prototype.scale = function(sx, opt_sy) {
|
|
|
25539
25588
|
this.height *= sy;
|
|
25540
25589
|
return this;
|
|
25541
25590
|
};
|
|
25591
|
+
goog.math.Rect = module$contents$goog$math$Rect_Rect;
|
|
25542
25592
|
goog.style = {};
|
|
25543
25593
|
goog.style.setStyle = function(element, style, opt_value) {
|
|
25544
25594
|
if (typeof style === "string") {
|
|
@@ -25626,7 +25676,7 @@ goog.style.getComputedTransform = function(element) {
|
|
|
25626
25676
|
return goog.style.getStyle_(element, property) || goog.style.getStyle_(element, "transform");
|
|
25627
25677
|
};
|
|
25628
25678
|
goog.style.setPosition = function(el, arg1, opt_arg2) {
|
|
25629
|
-
if (arg1 instanceof goog
|
|
25679
|
+
if (arg1 instanceof module$contents$goog$math$Coordinate_Coordinate) {
|
|
25630
25680
|
var x = arg1.x;
|
|
25631
25681
|
var y = arg1.y;
|
|
25632
25682
|
} else {
|
|
@@ -25636,14 +25686,14 @@ goog.style.setPosition = function(el, arg1, opt_arg2) {
|
|
|
25636
25686
|
el.style.top = goog.style.getPixelStyleValue_(y, !1);
|
|
25637
25687
|
};
|
|
25638
25688
|
goog.style.getPosition = function(element) {
|
|
25639
|
-
return new goog
|
|
25689
|
+
return new module$contents$goog$math$Coordinate_Coordinate(element.offsetLeft, element.offsetTop);
|
|
25640
25690
|
};
|
|
25641
25691
|
goog.style.getClientViewportElement = function(opt_node) {
|
|
25642
25692
|
return (opt_node ? goog.dom.getOwnerDocument(opt_node) : goog.dom.getDocument()).documentElement;
|
|
25643
25693
|
};
|
|
25644
25694
|
goog.style.getViewportPageOffset = function(doc) {
|
|
25645
25695
|
var body = doc.body, documentElement = doc.documentElement;
|
|
25646
|
-
return new goog
|
|
25696
|
+
return new module$contents$goog$math$Coordinate_Coordinate(body.scrollLeft || documentElement.scrollLeft, body.scrollTop || documentElement.scrollTop);
|
|
25647
25697
|
};
|
|
25648
25698
|
goog.style.getBoundingClientRect_ = function(el) {
|
|
25649
25699
|
try {
|
|
@@ -25654,7 +25704,7 @@ goog.style.getBoundingClientRect_ = function(el) {
|
|
|
25654
25704
|
};
|
|
25655
25705
|
goog.style.getOffsetParent = function(element) {
|
|
25656
25706
|
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) {
|
|
25657
|
-
if (parent.nodeType == goog
|
|
25707
|
+
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")) {
|
|
25658
25708
|
return parent;
|
|
25659
25709
|
}
|
|
25660
25710
|
}
|
|
@@ -25690,7 +25740,7 @@ goog.style.getContainerOffsetToScrollInto = function(element, opt_container, opt
|
|
|
25690
25740
|
}
|
|
25691
25741
|
var elementSize = goog.style.getSizeWithDisplay_(element), spaceX = container.clientWidth - elementSize.width, spaceY = container.clientHeight - elementSize.height, scrollLeft = container.scrollLeft, scrollTop = container.scrollTop;
|
|
25692
25742
|
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)));
|
|
25693
|
-
return new goog
|
|
25743
|
+
return new module$contents$goog$math$Coordinate_Coordinate(scrollLeft, scrollTop);
|
|
25694
25744
|
};
|
|
25695
25745
|
goog.style.scrollIntoContainerView = function(element, opt_container, opt_center) {
|
|
25696
25746
|
var container = opt_container || goog.dom.getDocumentScrollElement(), offset = goog.style.getContainerOffsetToScrollInto(element, container, opt_center);
|
|
@@ -25698,12 +25748,12 @@ goog.style.scrollIntoContainerView = function(element, opt_container, opt_center
|
|
|
25698
25748
|
container.scrollTop = offset.y;
|
|
25699
25749
|
};
|
|
25700
25750
|
goog.style.getClientLeftTop = function(el) {
|
|
25701
|
-
return new goog
|
|
25751
|
+
return new module$contents$goog$math$Coordinate_Coordinate(el.clientLeft, el.clientTop);
|
|
25702
25752
|
};
|
|
25703
25753
|
goog.style.getPageOffset = function(el) {
|
|
25704
25754
|
var doc = goog.dom.getOwnerDocument(el);
|
|
25705
25755
|
goog.asserts.assertObject(el, "Parameter is required");
|
|
25706
|
-
var pos = new goog
|
|
25756
|
+
var pos = new module$contents$goog$math$Coordinate_Coordinate(0, 0), viewportElement = goog.style.getClientViewportElement(doc);
|
|
25707
25757
|
if (el == viewportElement) {
|
|
25708
25758
|
return pos;
|
|
25709
25759
|
}
|
|
@@ -25719,7 +25769,7 @@ goog.style.getPageOffsetTop = function(el) {
|
|
|
25719
25769
|
return goog.style.getPageOffset(el).y;
|
|
25720
25770
|
};
|
|
25721
25771
|
goog.style.getFramedPageOffset = function(el, relativeWin) {
|
|
25722
|
-
var position = new goog
|
|
25772
|
+
var position = new module$contents$goog$math$Coordinate_Coordinate(0, 0), currentWin = goog.dom.getWindow(goog.dom.getOwnerDocument(el));
|
|
25723
25773
|
if (!goog.reflect.canAccessProperty(currentWin, "parent")) {
|
|
25724
25774
|
return position;
|
|
25725
25775
|
}
|
|
@@ -25734,35 +25784,35 @@ goog.style.getFramedPageOffset = function(el, relativeWin) {
|
|
|
25734
25784
|
goog.style.translateRectForAnotherFrame = function(rect, origBase, newBase) {
|
|
25735
25785
|
if (origBase.getDocument() != newBase.getDocument()) {
|
|
25736
25786
|
var body = origBase.getDocument().body, pos = goog.style.getFramedPageOffset(body, newBase.getWindow());
|
|
25737
|
-
pos = goog
|
|
25787
|
+
pos = module$contents$goog$math$Coordinate_Coordinate.difference(pos, goog.style.getPageOffset(body));
|
|
25738
25788
|
rect.left += pos.x;
|
|
25739
25789
|
rect.top += pos.y;
|
|
25740
25790
|
}
|
|
25741
25791
|
};
|
|
25742
25792
|
goog.style.getRelativePosition = function(a, b) {
|
|
25743
25793
|
var ap = goog.style.getClientPosition(a), bp = goog.style.getClientPosition(b);
|
|
25744
|
-
return new goog
|
|
25794
|
+
return new module$contents$goog$math$Coordinate_Coordinate(ap.x - bp.x, ap.y - bp.y);
|
|
25745
25795
|
};
|
|
25746
25796
|
goog.style.getClientPositionForElement_ = function(el) {
|
|
25747
25797
|
var box = goog.style.getBoundingClientRect_(el);
|
|
25748
|
-
return new goog
|
|
25798
|
+
return new module$contents$goog$math$Coordinate_Coordinate(box.left, box.top);
|
|
25749
25799
|
};
|
|
25750
25800
|
goog.style.getClientPosition = function(el) {
|
|
25751
25801
|
goog.asserts.assert(el);
|
|
25752
|
-
if (el.nodeType == goog
|
|
25802
|
+
if (el.nodeType == module$contents$goog$dom$NodeType_NodeType.ELEMENT) {
|
|
25753
25803
|
return goog.style.getClientPositionForElement_(el);
|
|
25754
25804
|
}
|
|
25755
25805
|
var targetEvent = el.changedTouches ? el.changedTouches[0] : el;
|
|
25756
|
-
return new goog
|
|
25806
|
+
return new module$contents$goog$math$Coordinate_Coordinate(targetEvent.clientX, targetEvent.clientY);
|
|
25757
25807
|
};
|
|
25758
25808
|
goog.style.setPageOffset = function(el, x, opt_y) {
|
|
25759
25809
|
var cur = goog.style.getPageOffset(el);
|
|
25760
|
-
x instanceof goog
|
|
25810
|
+
x instanceof module$contents$goog$math$Coordinate_Coordinate && (opt_y = x.y, x = x.x);
|
|
25761
25811
|
var dx = goog.asserts.assertNumber(x) - cur.x;
|
|
25762
25812
|
goog.style.setPosition(el, el.offsetLeft + dx, el.offsetTop + (Number(opt_y) - cur.y));
|
|
25763
25813
|
};
|
|
25764
25814
|
goog.style.setSize = function(element, w, opt_h) {
|
|
25765
|
-
if (w instanceof goog
|
|
25815
|
+
if (w instanceof module$contents$goog$math$Size_Size) {
|
|
25766
25816
|
var h = w.height;
|
|
25767
25817
|
w = w.width;
|
|
25768
25818
|
} else {
|
|
@@ -25805,20 +25855,20 @@ goog.style.getSizeWithDisplay_ = function(element) {
|
|
|
25805
25855
|
var offsetWidth = element.offsetWidth, offsetHeight = element.offsetHeight, webkitOffsetsZero = goog.userAgent.WEBKIT && !offsetWidth && !offsetHeight;
|
|
25806
25856
|
if ((offsetWidth === void 0 || webkitOffsetsZero) && element.getBoundingClientRect) {
|
|
25807
25857
|
var clientRect = goog.style.getBoundingClientRect_(element);
|
|
25808
|
-
return new goog
|
|
25858
|
+
return new module$contents$goog$math$Size_Size(clientRect.right - clientRect.left, clientRect.bottom - clientRect.top);
|
|
25809
25859
|
}
|
|
25810
|
-
return new goog
|
|
25860
|
+
return new module$contents$goog$math$Size_Size(offsetWidth, offsetHeight);
|
|
25811
25861
|
};
|
|
25812
25862
|
goog.style.getTransformedSize = function(element) {
|
|
25813
25863
|
if (!element.getBoundingClientRect) {
|
|
25814
25864
|
return null;
|
|
25815
25865
|
}
|
|
25816
25866
|
var clientRect = goog.style.evaluateWithTemporaryDisplay_(goog.style.getBoundingClientRect_, element);
|
|
25817
|
-
return new goog
|
|
25867
|
+
return new module$contents$goog$math$Size_Size(clientRect.right - clientRect.left, clientRect.bottom - clientRect.top);
|
|
25818
25868
|
};
|
|
25819
25869
|
goog.style.getBounds = function(element) {
|
|
25820
25870
|
var o = goog.style.getPageOffset(element), s = goog.style.getSize(element);
|
|
25821
|
-
return new goog
|
|
25871
|
+
return new module$contents$goog$math$Rect_Rect(o.x, o.y, s.width, s.height);
|
|
25822
25872
|
};
|
|
25823
25873
|
goog.style.toCamelCase = function(selector) {
|
|
25824
25874
|
return goog.string.toCamelCase(String(selector));
|
|
@@ -25911,14 +25961,14 @@ goog.style.setUnselectable = function(el, unselectable, opt_noRecurse) {
|
|
|
25911
25961
|
}
|
|
25912
25962
|
};
|
|
25913
25963
|
goog.style.getBorderBoxSize = function(element) {
|
|
25914
|
-
return new goog
|
|
25964
|
+
return new module$contents$goog$math$Size_Size(element.offsetWidth, element.offsetHeight);
|
|
25915
25965
|
};
|
|
25916
25966
|
goog.style.setBorderBoxSize = function(element, size) {
|
|
25917
25967
|
goog.style.setBoxSizingSize_(element, size, "border-box");
|
|
25918
25968
|
};
|
|
25919
25969
|
goog.style.getContentBoxSize = function(element) {
|
|
25920
25970
|
var borderBoxSize = goog.style.getBorderBoxSize(element), paddingBox = goog.style.getPaddingBox(element), borderBox = goog.style.getBorderBox(element);
|
|
25921
|
-
return new goog
|
|
25971
|
+
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);
|
|
25922
25972
|
};
|
|
25923
25973
|
goog.style.setContentBoxSize = function(element, size) {
|
|
25924
25974
|
goog.style.setBoxSizingSize_(element, size, "content-box");
|
|
@@ -26041,10 +26091,10 @@ goog.style.MATRIX_TRANSLATION_REGEX_ = RegExp("matrix\\([0-9\\.\\-]+, [0-9\\.\\-
|
|
|
26041
26091
|
goog.style.getCssTranslation = function(element) {
|
|
26042
26092
|
var transform = goog.style.getComputedTransform(element);
|
|
26043
26093
|
if (!transform) {
|
|
26044
|
-
return new goog
|
|
26094
|
+
return new module$contents$goog$math$Coordinate_Coordinate(0, 0);
|
|
26045
26095
|
}
|
|
26046
26096
|
var matches = transform.match(goog.style.MATRIX_TRANSLATION_REGEX_);
|
|
26047
|
-
return matches ? new goog
|
|
26097
|
+
return matches ? new module$contents$goog$math$Coordinate_Coordinate(parseFloat(matches[1]), parseFloat(matches[2])) : new module$contents$goog$math$Coordinate_Coordinate(0, 0);
|
|
26048
26098
|
};
|
|
26049
26099
|
ee.layers.AbstractOverlay = function(tileSource, opt_options) {
|
|
26050
26100
|
goog.events.EventTarget.call(this);
|
|
@@ -26059,10 +26109,10 @@ ee.layers.AbstractOverlay = function(tileSource, opt_options) {
|
|
|
26059
26109
|
this.name = options.name;
|
|
26060
26110
|
this.opacity = "opacity" in options ? options.opacity : 1;
|
|
26061
26111
|
this.stats = new module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats(tileSource.getUniqueId());
|
|
26062
|
-
this.tilesById = new goog
|
|
26112
|
+
this.tilesById = new module$contents$goog$structs$Map_Map();
|
|
26063
26113
|
this.tileCounter = 0;
|
|
26064
26114
|
this.tileSource = tileSource;
|
|
26065
|
-
this.handler = new goog
|
|
26115
|
+
this.handler = new module$contents$goog$events$EventHandler_EventHandler(this);
|
|
26066
26116
|
this.radius = 0;
|
|
26067
26117
|
};
|
|
26068
26118
|
$jscomp.inherits(ee.layers.AbstractOverlay, goog.events.EventTarget);
|
|
@@ -26287,8 +26337,8 @@ ee_root.third_party.earthengine_api.javascript.layers = {};
|
|
|
26287
26337
|
ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay = {};
|
|
26288
26338
|
ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay = function(tileSource, opt_options) {
|
|
26289
26339
|
ee.layers.AbstractOverlay.call(this, tileSource, opt_options);
|
|
26290
|
-
this.buffersByCoord_ = new goog
|
|
26291
|
-
this.divsByCoord_ = new goog
|
|
26340
|
+
this.buffersByCoord_ = new module$contents$goog$structs$Map_Map();
|
|
26341
|
+
this.divsByCoord_ = new module$contents$goog$structs$Map_Map();
|
|
26292
26342
|
};
|
|
26293
26343
|
$jscomp.inherits(ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay, ee.layers.AbstractOverlay);
|
|
26294
26344
|
ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay.prototype.createTile = function(coord, zoom, ownerDocument, uniqueId) {
|
|
@@ -26325,7 +26375,7 @@ goog.net.ImageLoader = function(opt_parent) {
|
|
|
26325
26375
|
goog.events.EventTarget.call(this);
|
|
26326
26376
|
this.imageIdToRequestMap_ = {};
|
|
26327
26377
|
this.imageIdToImageMap_ = {};
|
|
26328
|
-
this.handler_ = new goog
|
|
26378
|
+
this.handler_ = new module$contents$goog$events$EventHandler_EventHandler(this);
|
|
26329
26379
|
this.parent_ = opt_parent;
|
|
26330
26380
|
this.completionFired_ = !1;
|
|
26331
26381
|
};
|
|
@@ -26427,27 +26477,30 @@ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.def
|
|
|
26427
26477
|
};
|
|
26428
26478
|
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];
|
|
26429
26479
|
goog.string.path = {};
|
|
26430
|
-
goog
|
|
26480
|
+
function module$contents$goog$string$path_baseName(path) {
|
|
26431
26481
|
var i = path.lastIndexOf("/") + 1;
|
|
26432
26482
|
return path.slice(i);
|
|
26433
|
-
}
|
|
26434
|
-
goog
|
|
26435
|
-
goog.string.path.dirname = function(path) {
|
|
26483
|
+
}
|
|
26484
|
+
function module$contents$goog$string$path_dirname(path) {
|
|
26436
26485
|
var i = path.lastIndexOf("/") + 1, head = path.slice(0, i);
|
|
26437
26486
|
/^\/+$/.test(head) || (head = head.replace(/\/+$/, ""));
|
|
26438
26487
|
return head;
|
|
26439
|
-
}
|
|
26440
|
-
goog
|
|
26441
|
-
var baseName = goog.string.path.baseName(path).replace(/\.+/g, "."), separatorIndex = baseName.lastIndexOf(".");
|
|
26442
|
-
return separatorIndex <= 0 ? "" : baseName.slice(separatorIndex + 1);
|
|
26443
|
-
};
|
|
26444
|
-
goog.string.path.join = function(var_args) {
|
|
26488
|
+
}
|
|
26489
|
+
function module$contents$goog$string$path_join(var_args) {
|
|
26445
26490
|
for (var path = arguments[0], i = 1; i < arguments.length; i++) {
|
|
26446
26491
|
var arg = arguments[i];
|
|
26447
26492
|
path = goog.string.startsWith(arg, "/") ? arg : path == "" || goog.string.endsWith(path, "/") ? path + arg : path + ("/" + arg);
|
|
26448
26493
|
}
|
|
26449
26494
|
return path;
|
|
26495
|
+
}
|
|
26496
|
+
goog.string.path.baseName = module$contents$goog$string$path_baseName;
|
|
26497
|
+
goog.string.path.basename = module$contents$goog$string$path_baseName;
|
|
26498
|
+
goog.string.path.dirname = module$contents$goog$string$path_dirname;
|
|
26499
|
+
goog.string.path.extension = function(path) {
|
|
26500
|
+
var name = module$contents$goog$string$path_baseName(path).replace(/\.+/g, "."), separatorIndex = name.lastIndexOf(".");
|
|
26501
|
+
return separatorIndex <= 0 ? "" : name.slice(separatorIndex + 1);
|
|
26450
26502
|
};
|
|
26503
|
+
goog.string.path.join = module$contents$goog$string$path_join;
|
|
26451
26504
|
goog.string.path.normalizePath = function(path) {
|
|
26452
26505
|
if (path == "") {
|
|
26453
26506
|
return ".";
|
|
@@ -26461,7 +26514,7 @@ goog.string.path.normalizePath = function(path) {
|
|
|
26461
26514
|
return initialSlashes + newParts.join("/") || ".";
|
|
26462
26515
|
};
|
|
26463
26516
|
goog.string.path.split = function(path) {
|
|
26464
|
-
var head = goog
|
|
26517
|
+
var head = module$contents$goog$string$path_dirname(path), tail = module$contents$goog$string$path_baseName(path);
|
|
26465
26518
|
return [head, tail];
|
|
26466
26519
|
};
|
|
26467
26520
|
var module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource = function(bucket, path, maxZoom, opt_suffix) {
|
|
@@ -26490,7 +26543,7 @@ module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource.prototyp
|
|
|
26490
26543
|
return [this.bucket_, this.path_, this.maxZoom_, this.suffix_].join("-");
|
|
26491
26544
|
};
|
|
26492
26545
|
module$contents$ee$layers$CloudStorageTileSource_CloudStorageTileSource.prototype.getTileUrl_ = function(coord, zoom) {
|
|
26493
|
-
var url = goog
|
|
26546
|
+
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));
|
|
26494
26547
|
this.suffix_ && (url += this.suffix_);
|
|
26495
26548
|
return url;
|
|
26496
26549
|
};
|
|
@@ -26906,7 +26959,7 @@ goog.exportSymbol("ee.layers.FeatureViewTileSource", module$exports$ee$layers$Fe
|
|
|
26906
26959
|
ee.MapTileManager = function() {
|
|
26907
26960
|
goog.events.EventTarget.call(this);
|
|
26908
26961
|
this.tokenPool_ = new ee.MapTileManager.TokenPool_(0, 60);
|
|
26909
|
-
this.requests_ = new goog
|
|
26962
|
+
this.requests_ = new module$contents$goog$structs$Map_Map();
|
|
26910
26963
|
};
|
|
26911
26964
|
$jscomp.inherits(ee.MapTileManager, goog.events.EventTarget);
|
|
26912
26965
|
ee.MapTileManager.prototype.getOutstandingCount = function() {
|
|
@@ -27119,7 +27172,7 @@ ee.MapLayerOverlay = function(url, mapId, token, init, opt_profiler) {
|
|
|
27119
27172
|
this.tileSize = init.tileSize || new google.maps.Size(256, 256);
|
|
27120
27173
|
this.isPng = init.isPng !== void 0 ? init.isPng : !0;
|
|
27121
27174
|
this.name = init.name;
|
|
27122
|
-
this.tiles_ = new goog
|
|
27175
|
+
this.tiles_ = new module$contents$goog$structs$Set_Set();
|
|
27123
27176
|
this.opacity_ = 1;
|
|
27124
27177
|
this.visible_ = !0;
|
|
27125
27178
|
this.profiler_ = opt_profiler || null;
|
|
@@ -27342,29 +27395,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27342
27395
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27343
27396
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27344
27397
|
(function() {
|
|
27345
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._call ee.ApiFunction._apply ee.ApiFunction.lookup ee.batch.Export.table.
|
|
27346
|
-
orderedParamLists = [["name", "var_args"], ["name", "namedArgs"], ["name"], "collection opt_description
|
|
27347
|
-
"
|
|
27348
|
-
"image opt_description opt_bucket
|
|
27349
|
-
"
|
|
27350
|
-
["
|
|
27351
|
-
[
|
|
27352
|
-
|
|
27353
|
-
"
|
|
27354
|
-
"
|
|
27355
|
-
"
|
|
27356
|
-
|
|
27357
|
-
"opt_callback"], ["
|
|
27358
|
-
[
|
|
27359
|
-
[ee.ApiFunction._call, ee.ApiFunction._apply, ee.ApiFunction.lookup, module$contents$ee$batch_Export.table.
|
|
27360
|
-
module$contents$ee$batch_Export.
|
|
27361
|
-
ee.ComputedObject.prototype.
|
|
27362
|
-
ee.data.
|
|
27363
|
-
ee.data.
|
|
27364
|
-
ee.
|
|
27365
|
-
ee.Filter
|
|
27366
|
-
ee.
|
|
27367
|
-
ee.ImageCollection.prototype.
|
|
27398
|
+
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(" "),
|
|
27399
|
+
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(" "),
|
|
27400
|
+
"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(" "),
|
|
27401
|
+
"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(" "),
|
|
27402
|
+
["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(" "),
|
|
27403
|
+
["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"],
|
|
27404
|
+
[], ["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"],
|
|
27405
|
+
["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"],
|
|
27406
|
+
["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"],
|
|
27407
|
+
["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"],
|
|
27408
|
+
["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"],
|
|
27409
|
+
["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",
|
|
27410
|
+
"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"],
|
|
27411
|
+
[], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["string"], []];
|
|
27412
|
+
[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,
|
|
27413
|
+
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,
|
|
27414
|
+
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,
|
|
27415
|
+
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,
|
|
27416
|
+
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,
|
|
27417
|
+
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,
|
|
27418
|
+
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,
|
|
27419
|
+
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,
|
|
27420
|
+
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) {
|
|
27368
27421
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27369
27422
|
});
|
|
27370
27423
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|