@google/earthengine 1.7.10 → 1.7.13
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 +482 -428
- package/build/ee_api_js.js +361 -360
- package/build/ee_api_js_debug.js +460 -406
- package/build/ee_api_js_npm.js +482 -428
- package/build/main.js +482 -428
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/apifunction.js +56 -42
package/build/main.js
CHANGED
|
@@ -256,18 +256,33 @@ $jscomp.generator.Context.prototype.throw_ = function(e) {
|
|
|
256
256
|
this.abruptCompletion_ = {exception:e, isException:!0};
|
|
257
257
|
this.jumpToErrorHandler_();
|
|
258
258
|
};
|
|
259
|
+
$jscomp.generator.Context.prototype.getNextAddressJsc = function() {
|
|
260
|
+
return this.nextAddress;
|
|
261
|
+
};
|
|
262
|
+
$jscomp.generator.Context.prototype.getNextAddressJsc = function() {
|
|
263
|
+
return this.nextAddress;
|
|
264
|
+
};
|
|
265
|
+
$jscomp.generator.Context.prototype.getYieldResultJsc = function() {
|
|
266
|
+
return this.yieldResult;
|
|
267
|
+
};
|
|
268
|
+
$jscomp.generator.Context.prototype.getYieldResultJsc = function() {
|
|
269
|
+
return this.yieldResult;
|
|
270
|
+
};
|
|
259
271
|
$jscomp.generator.Context.prototype.return = function(value) {
|
|
260
272
|
this.abruptCompletion_ = {return:value};
|
|
261
273
|
this.nextAddress = this.finallyAddress_;
|
|
262
274
|
};
|
|
275
|
+
$jscomp.generator.Context.prototype["return"] = $jscomp.generator.Context.prototype.return;
|
|
263
276
|
$jscomp.generator.Context.prototype.jumpThroughFinallyBlocks = function(nextAddress) {
|
|
264
277
|
this.abruptCompletion_ = {jumpTo:nextAddress};
|
|
265
278
|
this.nextAddress = this.finallyAddress_;
|
|
266
279
|
};
|
|
280
|
+
$jscomp.generator.Context.prototype.jumpThroughFinallyBlocks = $jscomp.generator.Context.prototype.jumpThroughFinallyBlocks;
|
|
267
281
|
$jscomp.generator.Context.prototype.yield = function(value, resumeAddress) {
|
|
268
282
|
this.nextAddress = resumeAddress;
|
|
269
283
|
return {value:value};
|
|
270
284
|
};
|
|
285
|
+
$jscomp.generator.Context.prototype.yield = $jscomp.generator.Context.prototype.yield;
|
|
271
286
|
$jscomp.generator.Context.prototype.yieldAll = function(iterable, resumeAddress) {
|
|
272
287
|
var iterator = $jscomp.makeIterator(iterable), result = iterator.next();
|
|
273
288
|
$jscomp.generator.ensureIteratorResultIsObject_(result);
|
|
@@ -277,35 +292,43 @@ $jscomp.generator.Context.prototype.yieldAll = function(iterable, resumeAddress)
|
|
|
277
292
|
return this.yieldAllIterator_ = iterator, this.yield(result.value, resumeAddress);
|
|
278
293
|
}
|
|
279
294
|
};
|
|
295
|
+
$jscomp.generator.Context.prototype.yieldAll = $jscomp.generator.Context.prototype.yieldAll;
|
|
280
296
|
$jscomp.generator.Context.prototype.jumpTo = function(nextAddress) {
|
|
281
297
|
this.nextAddress = nextAddress;
|
|
282
298
|
};
|
|
299
|
+
$jscomp.generator.Context.prototype.jumpTo = $jscomp.generator.Context.prototype.jumpTo;
|
|
283
300
|
$jscomp.generator.Context.prototype.jumpToEnd = function() {
|
|
284
301
|
this.nextAddress = 0;
|
|
285
302
|
};
|
|
303
|
+
$jscomp.generator.Context.prototype.jumpToEnd = $jscomp.generator.Context.prototype.jumpToEnd;
|
|
286
304
|
$jscomp.generator.Context.prototype.setCatchFinallyBlocks = function(catchAddress, finallyAddress) {
|
|
287
305
|
this.catchAddress_ = catchAddress;
|
|
288
306
|
finallyAddress != void 0 && (this.finallyAddress_ = finallyAddress);
|
|
289
307
|
};
|
|
308
|
+
$jscomp.generator.Context.prototype.setCatchFinallyBlocks = $jscomp.generator.Context.prototype.setCatchFinallyBlocks;
|
|
290
309
|
$jscomp.generator.Context.prototype.setFinallyBlock = function(finallyAddress) {
|
|
291
310
|
this.catchAddress_ = 0;
|
|
292
311
|
this.finallyAddress_ = finallyAddress || 0;
|
|
293
312
|
};
|
|
313
|
+
$jscomp.generator.Context.prototype.setFinallyBlock = $jscomp.generator.Context.prototype.setFinallyBlock;
|
|
294
314
|
$jscomp.generator.Context.prototype.leaveTryBlock = function(nextAddress, catchAddress) {
|
|
295
315
|
this.nextAddress = nextAddress;
|
|
296
316
|
this.catchAddress_ = catchAddress || 0;
|
|
297
317
|
};
|
|
318
|
+
$jscomp.generator.Context.prototype.leaveTryBlock = $jscomp.generator.Context.prototype.leaveTryBlock;
|
|
298
319
|
$jscomp.generator.Context.prototype.enterCatchBlock = function(nextCatchBlockAddress) {
|
|
299
320
|
this.catchAddress_ = nextCatchBlockAddress || 0;
|
|
300
321
|
var exception = this.abruptCompletion_.exception;
|
|
301
322
|
this.abruptCompletion_ = null;
|
|
302
323
|
return exception;
|
|
303
324
|
};
|
|
325
|
+
$jscomp.generator.Context.prototype.enterCatchBlock = $jscomp.generator.Context.prototype.enterCatchBlock;
|
|
304
326
|
$jscomp.generator.Context.prototype.enterFinallyBlock = function(nextCatchAddress, nextFinallyAddress, finallyDepth) {
|
|
305
327
|
finallyDepth ? this.finallyContexts_[finallyDepth] = this.abruptCompletion_ : this.finallyContexts_ = [this.abruptCompletion_];
|
|
306
328
|
this.catchAddress_ = nextCatchAddress || 0;
|
|
307
329
|
this.finallyAddress_ = nextFinallyAddress || 0;
|
|
308
330
|
};
|
|
331
|
+
$jscomp.generator.Context.prototype.enterFinallyBlock = $jscomp.generator.Context.prototype.enterFinallyBlock;
|
|
309
332
|
$jscomp.generator.Context.prototype.leaveFinallyBlock = function(nextAddress, finallyDepth) {
|
|
310
333
|
var preservedContext = this.finallyContexts_.splice(finallyDepth || 0)[0], abruptCompletion = this.abruptCompletion_ = this.abruptCompletion_ || preservedContext;
|
|
311
334
|
if (abruptCompletion) {
|
|
@@ -317,9 +340,11 @@ $jscomp.generator.Context.prototype.leaveFinallyBlock = function(nextAddress, fi
|
|
|
317
340
|
this.nextAddress = nextAddress;
|
|
318
341
|
}
|
|
319
342
|
};
|
|
343
|
+
$jscomp.generator.Context.prototype.leaveFinallyBlock = $jscomp.generator.Context.prototype.leaveFinallyBlock;
|
|
320
344
|
$jscomp.generator.Context.prototype.forIn = function(object) {
|
|
321
345
|
return new $jscomp.generator.Context.PropertyIterator(object);
|
|
322
346
|
};
|
|
347
|
+
$jscomp.generator.Context.prototype.forIn = $jscomp.generator.Context.prototype.forIn;
|
|
323
348
|
$jscomp.generator.Context.PropertyIterator = function(object) {
|
|
324
349
|
this.object_ = object;
|
|
325
350
|
this.properties_ = [];
|
|
@@ -337,6 +362,7 @@ $jscomp.generator.Context.PropertyIterator.prototype.getNext = function() {
|
|
|
337
362
|
}
|
|
338
363
|
return null;
|
|
339
364
|
};
|
|
365
|
+
$jscomp.generator.Context.PropertyIterator.prototype.getNext = $jscomp.generator.Context.PropertyIterator.prototype.getNext;
|
|
340
366
|
$jscomp.generator.Engine_ = function(program) {
|
|
341
367
|
this.context_ = new $jscomp.generator.Context();
|
|
342
368
|
this.program_ = program;
|
|
@@ -1018,6 +1044,19 @@ $jscomp.polyfill("Map", function(NativeMap) {
|
|
|
1018
1044
|
};
|
|
1019
1045
|
return PolyfillMap;
|
|
1020
1046
|
}, "es6", "es3");
|
|
1047
|
+
$jscomp.polyfill("Map.groupBy", function(orig) {
|
|
1048
|
+
return orig ? orig : function(items, callbackFn) {
|
|
1049
|
+
if (typeof callbackFn !== "function") {
|
|
1050
|
+
throw new TypeError("callbackFn must be a function");
|
|
1051
|
+
}
|
|
1052
|
+
for (var result = new Map(), index = 0, iter = $jscomp.makeIterator(items), entry = iter.next(); !entry.done; entry = iter.next()) {
|
|
1053
|
+
var item = entry.value, key = callbackFn(item, index++), group = result.get(key);
|
|
1054
|
+
group || (group = [], result.set(key, group));
|
|
1055
|
+
group.push(item);
|
|
1056
|
+
}
|
|
1057
|
+
return result;
|
|
1058
|
+
};
|
|
1059
|
+
}, "es_next", "es3");
|
|
1021
1060
|
$jscomp.polyfill("Set", function(NativeSet) {
|
|
1022
1061
|
function isConformant() {
|
|
1023
1062
|
if ($jscomp.ASSUME_NO_NATIVE_SET || !NativeSet || typeof NativeSet != "function" || !NativeSet.prototype.entries || typeof Object.seal != "function") {
|
|
@@ -1346,9 +1385,9 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1346
1385
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1347
1386
|
};
|
|
1348
1387
|
}, "es8", "es3");
|
|
1349
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_lazy_tsx__disable:!1, GoogFlags__client_only_wiz_queue_effect_and_on_init_initial_runs__disable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__jspb_serialize_with_dynamic_pivot_selector__enable:!1,
|
|
1350
|
-
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__disable:!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,
|
|
1351
|
-
GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1388
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__batch_fc_data_fetches_in_microtask__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,
|
|
1389
|
+
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__disable:!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_unobfuscated_rpc_method_names__enable:!1,
|
|
1390
|
+
GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1352
1391
|
/*
|
|
1353
1392
|
|
|
1354
1393
|
Copyright The Closure Library Authors.
|
|
@@ -2245,9 +2284,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2245
2284
|
};
|
|
2246
2285
|
var module$contents$eeapiclient$domain_object_CopyValueGetter, module$contents$eeapiclient$domain_object_CopyValueSetter, module$contents$eeapiclient$domain_object_CopyConstructor, module$contents$eeapiclient$domain_object_CopyInstanciator;
|
|
2247
2286
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2248
|
-
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$
|
|
2249
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2250
|
-
var key = $jscomp$key$
|
|
2287
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = (0,$jscomp.makeIterator)(metadata.keys || []), $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$44 = {}; !$jscomp$key$m1892927425$40$key.done; $jscomp$loop$m1892927425$44 =
|
|
2288
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2289
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2251
2290
|
if (value != null) {
|
|
2252
2291
|
var copy = void 0;
|
|
2253
2292
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2258,11 +2297,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2258
2297
|
} else if (objects.hasOwnProperty(key)) {
|
|
2259
2298
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2260
2299
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2261
|
-
$jscomp$loop$
|
|
2300
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2262
2301
|
return function(v) {
|
|
2263
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2302
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2264
2303
|
};
|
|
2265
|
-
}($jscomp$loop$
|
|
2304
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2266
2305
|
} else if (Array.isArray(value)) {
|
|
2267
2306
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2268
2307
|
continue;
|
|
@@ -2277,8 +2316,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2277
2316
|
return target;
|
|
2278
2317
|
}
|
|
2279
2318
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2280
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2281
|
-
var mapKey = $jscomp$key$
|
|
2319
|
+
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m1892927425$41$mapKey.done; $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next()) {
|
|
2320
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2282
2321
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2283
2322
|
}
|
|
2284
2323
|
return objMap;
|
|
@@ -2308,39 +2347,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2308
2347
|
if (!(module$contents$eeapiclient$domain_object_sameKeys(keys1, metadata2.keys || []) && module$contents$eeapiclient$domain_object_sameKeys(arrays1, arrays2) && module$contents$eeapiclient$domain_object_sameKeys(objects1, objects2) && module$contents$eeapiclient$domain_object_sameKeys(objectMaps1, objectMaps2))) {
|
|
2309
2348
|
return !1;
|
|
2310
2349
|
}
|
|
2311
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2312
|
-
var key = $jscomp$key$
|
|
2350
|
+
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$45 = {}; !$jscomp$key$m1892927425$42$key.done; $jscomp$loop$m1892927425$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next()) {
|
|
2351
|
+
var key = $jscomp$key$m1892927425$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
2313
2352
|
if (has1 !== has2) {
|
|
2314
2353
|
return !1;
|
|
2315
2354
|
}
|
|
2316
2355
|
if (has1) {
|
|
2317
2356
|
var value1 = serializable1.Serializable$get(key);
|
|
2318
|
-
$jscomp$loop$
|
|
2357
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2319
2358
|
if (arrays1.hasOwnProperty(key)) {
|
|
2320
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2359
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2321
2360
|
return !1;
|
|
2322
2361
|
}
|
|
2323
2362
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2324
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2363
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2325
2364
|
return !1;
|
|
2326
2365
|
}
|
|
2327
2366
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2328
|
-
if ($jscomp$loop$
|
|
2329
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2367
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2368
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2330
2369
|
return function(v1, i) {
|
|
2331
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2370
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2332
2371
|
};
|
|
2333
|
-
}($jscomp$loop$
|
|
2372
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2334
2373
|
return !1;
|
|
2335
2374
|
}
|
|
2336
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2375
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2337
2376
|
return !1;
|
|
2338
2377
|
}
|
|
2339
2378
|
} else if (Array.isArray(value1)) {
|
|
2340
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2379
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2341
2380
|
return !1;
|
|
2342
2381
|
}
|
|
2343
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2382
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2344
2383
|
return !1;
|
|
2345
2384
|
}
|
|
2346
2385
|
}
|
|
@@ -2362,8 +2401,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2362
2401
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2363
2402
|
return !1;
|
|
2364
2403
|
}
|
|
2365
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2366
|
-
var mapKey = $jscomp$key$
|
|
2404
|
+
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m1892927425$43$mapKey.done; $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next()) {
|
|
2405
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2367
2406
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2368
2407
|
return !1;
|
|
2369
2408
|
}
|
|
@@ -2444,15 +2483,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2444
2483
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2445
2484
|
};
|
|
2446
2485
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2447
|
-
var $jscomp$this$
|
|
2486
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2448
2487
|
payload += this._metadataPayload;
|
|
2449
2488
|
return Promise.all(this.files.map(function(f) {
|
|
2450
|
-
return $jscomp$this$
|
|
2489
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2451
2490
|
})).then(function(filePayloads) {
|
|
2452
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2453
|
-
payload += $jscomp$key$
|
|
2491
|
+
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next(); !$jscomp$key$m133342051$9$filePayload.done; $jscomp$key$m133342051$9$filePayload = $jscomp$iter$23.next()) {
|
|
2492
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2454
2493
|
}
|
|
2455
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2494
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2456
2495
|
});
|
|
2457
2496
|
};
|
|
2458
2497
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2964,8 +3003,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2964
3003
|
throw Error(message);
|
|
2965
3004
|
}
|
|
2966
3005
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2967
|
-
var $jscomp$templatelit$
|
|
2968
|
-
["\\0"]), $jscomp$templatelit$
|
|
3006
|
+
var $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
3007
|
+
["\\0"]), $jscomp$templatelit$m425881384$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
2969
3008
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2970
3009
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2971
3010
|
throw new TypeError("\n ############################## ERROR ##############################\n\n It looks like you are trying to call a template tag function (fn`...`)\n using the normal function syntax (fn(...)), which is not supported.\n\n The functions in the safevalues library are not designed to be called\n like normal functions, and doing so invalidates the security guarantees\n that safevalues provides.\n\n If you are stuck and not sure how to proceed, please reach out to us\n instead through:\n - go/ise-hardening-yaqs (preferred) // LINE-INTERNAL\n - g/ise-hardening // LINE-INTERNAL\n - https://github.com/google/safevalues/issues\n\n ############################## ERROR ##############################");
|
|
@@ -2979,14 +3018,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2979
3018
|
return fn.toString().indexOf("`") === -1;
|
|
2980
3019
|
}
|
|
2981
3020
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2982
|
-
return tag($jscomp$templatelit$
|
|
3021
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
2983
3022
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2984
|
-
return tag($jscomp$templatelit$
|
|
3023
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
2985
3024
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2986
|
-
return tag($jscomp$templatelit$
|
|
3025
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
2987
3026
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2988
|
-
return tag($jscomp$templatelit$
|
|
2989
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
3027
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
3028
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$12);
|
|
2990
3029
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2991
3030
|
return Array.isArray(templateObj) && Array.isArray(templateObj.raw) && templateObj.length === templateObj.raw.length && (module$contents$safevalues$internals$string_literal_isTranspiled || templateObj !== templateObj.raw) && (module$contents$safevalues$internals$string_literal_isTranspiled && !module$contents$safevalues$internals$string_literal_frozenTSA || module$contents$safevalues$internals$string_literal_checkFrozen(templateObj)) ?
|
|
2992
3031
|
!0 : !1;
|
|
@@ -3312,9 +3351,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3312
3351
|
}
|
|
3313
3352
|
}
|
|
3314
3353
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIframeIntentError = function(type, intent) {
|
|
3315
|
-
var $jscomp$tmp$error$
|
|
3316
|
-
this.message = $jscomp$tmp$error$
|
|
3317
|
-
"stack" in $jscomp$tmp$error$
|
|
3354
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3355
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
3356
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
3318
3357
|
this.type = type;
|
|
3319
3358
|
this.intent = intent;
|
|
3320
3359
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3410,7 +3449,7 @@ function module$contents$safevalues$dom$globals$window_getStyleNonce(doc) {
|
|
|
3410
3449
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3411
3450
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, doc) {
|
|
3412
3451
|
doc = doc === void 0 ? document : doc;
|
|
3413
|
-
var $jscomp$optchain$
|
|
3452
|
+
var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = doc).querySelector) == null ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
|
|
3414
3453
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3415
3454
|
}
|
|
3416
3455
|
;var module$exports$safevalues$internals$script_impl = {}, module$contents$safevalues$internals$script_impl_module = module$contents$safevalues$internals$script_impl_module || {id:"third_party/javascript/safevalues/internals/script_impl.closure.js"};
|
|
@@ -4843,9 +4882,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4843
4882
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4844
4883
|
var module$exports$safevalues$dom$globals$fetch = {}, module$contents$safevalues$dom$globals$fetch_module = module$contents$safevalues$dom$globals$fetch_module || {id:"third_party/javascript/safevalues/dom/globals/fetch.closure.js"};
|
|
4845
4884
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4846
|
-
var $jscomp$tmp$error$
|
|
4847
|
-
this.message = $jscomp$tmp$error$
|
|
4848
|
-
"stack" in $jscomp$tmp$error$
|
|
4885
|
+
var $jscomp$tmp$error$1153895636$25 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
4886
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
4887
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
4849
4888
|
this.url = url;
|
|
4850
4889
|
this.typeName = typeName;
|
|
4851
4890
|
this.contentType = contentType;
|
|
@@ -4857,48 +4896,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4857
4896
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4858
4897
|
}
|
|
4859
4898
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4860
|
-
var response, $jscomp$optchain$
|
|
4861
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4862
|
-
if ($jscomp$generator$context$
|
|
4863
|
-
return $jscomp$generator$context$
|
|
4864
|
-
}
|
|
4865
|
-
response = $jscomp$generator$context$
|
|
4866
|
-
mimeType = ($jscomp$optchain$
|
|
4867
|
-
return $jscomp$generator$context$
|
|
4899
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
4900
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
4901
|
+
if ($jscomp$generator$context$1153895636$29.getNextAddressJsc() == 1) {
|
|
4902
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4903
|
+
}
|
|
4904
|
+
response = $jscomp$generator$context$1153895636$29.getYieldResultJsc();
|
|
4905
|
+
mimeType = ($jscomp$optchain$tmp1153895636$0 = response.headers.get("Content-Type")) == null ? void 0 : ($jscomp$optchain$tmp1153895636$1 = $jscomp$optchain$tmp1153895636$0.split(";", 2)) == null ? void 0 : ($jscomp$optchain$tmp1153895636$2 = $jscomp$optchain$tmp1153895636$1[0]) == null ? void 0 : $jscomp$optchain$tmp1153895636$2.toLowerCase();
|
|
4906
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
4868
4907
|
var text;
|
|
4869
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4870
|
-
if ($jscomp$generator$context$
|
|
4908
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
4909
|
+
if ($jscomp$generator$context$1153895636$26.getNextAddressJsc() == 1) {
|
|
4871
4910
|
if (mimeType !== "text/html") {
|
|
4872
4911
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4873
4912
|
}
|
|
4874
|
-
return $jscomp$generator$context$
|
|
4913
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
4875
4914
|
}
|
|
4876
|
-
text = $jscomp$generator$context$
|
|
4877
|
-
return $jscomp$generator$context$
|
|
4915
|
+
text = $jscomp$generator$context$1153895636$26.getYieldResultJsc();
|
|
4916
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4878
4917
|
});
|
|
4879
4918
|
}, script:function() {
|
|
4880
4919
|
var text;
|
|
4881
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4882
|
-
if ($jscomp$generator$context$
|
|
4920
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
4921
|
+
if ($jscomp$generator$context$1153895636$27.getNextAddressJsc() == 1) {
|
|
4883
4922
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4884
4923
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4885
4924
|
}
|
|
4886
|
-
return $jscomp$generator$context$
|
|
4925
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
4887
4926
|
}
|
|
4888
|
-
text = $jscomp$generator$context$
|
|
4889
|
-
return $jscomp$generator$context$
|
|
4927
|
+
text = $jscomp$generator$context$1153895636$27.getYieldResultJsc();
|
|
4928
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4890
4929
|
});
|
|
4891
4930
|
}, styleSheet:function() {
|
|
4892
4931
|
var text;
|
|
4893
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4894
|
-
if ($jscomp$generator$context$
|
|
4932
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
4933
|
+
if ($jscomp$generator$context$1153895636$28.getNextAddressJsc() == 1) {
|
|
4895
4934
|
if (mimeType !== "text/css") {
|
|
4896
4935
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4897
4936
|
}
|
|
4898
|
-
return $jscomp$generator$context$
|
|
4937
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
4899
4938
|
}
|
|
4900
|
-
text = $jscomp$generator$context$
|
|
4901
|
-
return $jscomp$generator$context$
|
|
4939
|
+
text = $jscomp$generator$context$1153895636$28.getYieldResultJsc();
|
|
4940
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4902
4941
|
});
|
|
4903
4942
|
}});
|
|
4904
4943
|
});
|
|
@@ -5854,38 +5893,38 @@ goog.uri.utils.setUrlPackageSupportLoggingHandler = function(handler) {
|
|
|
5854
5893
|
module$contents$goog$uri$utils_urlPackageSupportLoggingHandler = handler;
|
|
5855
5894
|
};
|
|
5856
5895
|
goog.uri.utils.split = module$contents$goog$uri$utils_split;
|
|
5857
|
-
goog
|
|
5896
|
+
function module$contents$goog$Uri_Uri(opt_uri, opt_ignoreCase) {
|
|
5858
5897
|
this.domain_ = this.userInfo_ = this.scheme_ = "";
|
|
5859
5898
|
this.port_ = null;
|
|
5860
5899
|
this.fragment_ = this.path_ = "";
|
|
5861
5900
|
this.ignoreCase_ = this.isReadOnly_ = !1;
|
|
5862
5901
|
var m;
|
|
5863
|
-
opt_uri instanceof goog
|
|
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] ||
|
|
5865
|
-
"", !0)) : (this.ignoreCase_ = !!opt_ignoreCase, this.queryData_ = new goog.
|
|
5866
|
-
}
|
|
5867
|
-
goog.
|
|
5868
|
-
goog.
|
|
5902
|
+
opt_uri instanceof module$contents$goog$Uri_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_ =
|
|
5903
|
+
!!opt_ignoreCase, 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] ||
|
|
5904
|
+
"", !0), this.setFragment(m[module$contents$goog$uri$utils_ComponentIndex.FRAGMENT] || "", !0)) : (this.ignoreCase_ = !!opt_ignoreCase, this.queryData_ = new module$contents$goog$Uri_Uri.QueryData(null, this.ignoreCase_));
|
|
5905
|
+
}
|
|
5906
|
+
module$contents$goog$Uri_Uri.RANDOM_PARAM = module$contents$goog$uri$utils_StandardQueryParam.RANDOM;
|
|
5907
|
+
module$contents$goog$Uri_Uri.prototype.toString = function() {
|
|
5869
5908
|
var out = [], scheme = this.getScheme();
|
|
5870
|
-
scheme && out.push(goog.
|
|
5909
|
+
scheme && out.push(module$contents$goog$Uri_Uri.encodeSpecialChars_(scheme, module$contents$goog$Uri_Uri.reDisallowedInSchemeOrUserInfo_, !0), ":");
|
|
5871
5910
|
var domain = this.getDomain();
|
|
5872
5911
|
if (domain || scheme == "file") {
|
|
5873
5912
|
out.push("//");
|
|
5874
5913
|
var userInfo = this.getUserInfo();
|
|
5875
|
-
userInfo && out.push(goog.
|
|
5876
|
-
out.push(goog.
|
|
5914
|
+
userInfo && out.push(module$contents$goog$Uri_Uri.encodeSpecialChars_(userInfo, module$contents$goog$Uri_Uri.reDisallowedInSchemeOrUserInfo_, !0), "@");
|
|
5915
|
+
out.push(module$contents$goog$Uri_Uri.removeDoubleEncoding_(goog.string.urlEncode(domain)));
|
|
5877
5916
|
var port = this.getPort();
|
|
5878
5917
|
port != null && out.push(":", String(port));
|
|
5879
5918
|
}
|
|
5880
5919
|
var path = this.getPath();
|
|
5881
|
-
path && (this.hasDomain() && path.charAt(0) != "/" && out.push("/"), out.push(goog.
|
|
5920
|
+
path && (this.hasDomain() && path.charAt(0) != "/" && out.push("/"), out.push(module$contents$goog$Uri_Uri.encodeSpecialChars_(path, path.charAt(0) == "/" ? module$contents$goog$Uri_Uri.reDisallowedInAbsolutePath_ : module$contents$goog$Uri_Uri.reDisallowedInRelativePath_, !0)));
|
|
5882
5921
|
var query = this.getEncodedQuery();
|
|
5883
5922
|
query && out.push("?", query);
|
|
5884
5923
|
var fragment = this.getFragment();
|
|
5885
|
-
fragment && out.push("#", goog.
|
|
5924
|
+
fragment && out.push("#", module$contents$goog$Uri_Uri.encodeSpecialChars_(fragment, module$contents$goog$Uri_Uri.reDisallowedInFragment_));
|
|
5886
5925
|
return out.join("");
|
|
5887
5926
|
};
|
|
5888
|
-
goog.
|
|
5927
|
+
module$contents$goog$Uri_Uri.prototype.resolve = function(relativeUri) {
|
|
5889
5928
|
var absoluteUri = this.clone(), overridden = relativeUri.hasScheme();
|
|
5890
5929
|
overridden ? absoluteUri.setScheme(relativeUri.getScheme()) : overridden = relativeUri.hasUserInfo();
|
|
5891
5930
|
overridden ? absoluteUri.setUserInfo(relativeUri.getUserInfo()) : overridden = relativeUri.hasDomain();
|
|
@@ -5903,7 +5942,7 @@ goog.Uri.prototype.resolve = function(relativeUri) {
|
|
|
5903
5942
|
lastSlashIndex != -1 && (path = absoluteUri.getPath().slice(0, lastSlashIndex + 1) + path);
|
|
5904
5943
|
}
|
|
5905
5944
|
}
|
|
5906
|
-
path = goog.
|
|
5945
|
+
path = module$contents$goog$Uri_Uri.removeDotSegments(path);
|
|
5907
5946
|
}
|
|
5908
5947
|
}
|
|
5909
5948
|
overridden ? absoluteUri.setPath(path) : overridden = relativeUri.hasQuery();
|
|
@@ -5911,48 +5950,48 @@ goog.Uri.prototype.resolve = function(relativeUri) {
|
|
|
5911
5950
|
overridden && absoluteUri.setFragment(relativeUri.getFragment());
|
|
5912
5951
|
return absoluteUri;
|
|
5913
5952
|
};
|
|
5914
|
-
goog.
|
|
5915
|
-
return new goog
|
|
5953
|
+
module$contents$goog$Uri_Uri.prototype.clone = function() {
|
|
5954
|
+
return new module$contents$goog$Uri_Uri(this);
|
|
5916
5955
|
};
|
|
5917
|
-
goog.
|
|
5956
|
+
module$contents$goog$Uri_Uri.prototype.getScheme = function() {
|
|
5918
5957
|
return this.scheme_;
|
|
5919
5958
|
};
|
|
5920
|
-
goog.
|
|
5959
|
+
module$contents$goog$Uri_Uri.prototype.setScheme = function(newScheme, opt_decode) {
|
|
5921
5960
|
this.enforceReadOnly();
|
|
5922
|
-
if (this.scheme_ = opt_decode ? goog.
|
|
5961
|
+
if (this.scheme_ = opt_decode ? module$contents$goog$Uri_Uri.decodeOrEmpty_(newScheme, !0) : newScheme) {
|
|
5923
5962
|
this.scheme_ = this.scheme_.replace(/:$/, "");
|
|
5924
5963
|
}
|
|
5925
5964
|
return this;
|
|
5926
5965
|
};
|
|
5927
|
-
goog.
|
|
5966
|
+
module$contents$goog$Uri_Uri.prototype.hasScheme = function() {
|
|
5928
5967
|
return !!this.scheme_;
|
|
5929
5968
|
};
|
|
5930
|
-
goog.
|
|
5969
|
+
module$contents$goog$Uri_Uri.prototype.getUserInfo = function() {
|
|
5931
5970
|
return this.userInfo_;
|
|
5932
5971
|
};
|
|
5933
|
-
goog.
|
|
5972
|
+
module$contents$goog$Uri_Uri.prototype.setUserInfo = function(newUserInfo, opt_decode) {
|
|
5934
5973
|
this.enforceReadOnly();
|
|
5935
|
-
this.userInfo_ = opt_decode ? goog.
|
|
5974
|
+
this.userInfo_ = opt_decode ? module$contents$goog$Uri_Uri.decodeOrEmpty_(newUserInfo) : newUserInfo;
|
|
5936
5975
|
return this;
|
|
5937
5976
|
};
|
|
5938
|
-
goog.
|
|
5977
|
+
module$contents$goog$Uri_Uri.prototype.hasUserInfo = function() {
|
|
5939
5978
|
return !!this.userInfo_;
|
|
5940
5979
|
};
|
|
5941
|
-
goog.
|
|
5980
|
+
module$contents$goog$Uri_Uri.prototype.getDomain = function() {
|
|
5942
5981
|
return this.domain_;
|
|
5943
5982
|
};
|
|
5944
|
-
goog.
|
|
5983
|
+
module$contents$goog$Uri_Uri.prototype.setDomain = function(newDomain, opt_decode) {
|
|
5945
5984
|
this.enforceReadOnly();
|
|
5946
|
-
this.domain_ = opt_decode ? goog.
|
|
5985
|
+
this.domain_ = opt_decode ? module$contents$goog$Uri_Uri.decodeOrEmpty_(newDomain, !0) : newDomain;
|
|
5947
5986
|
return this;
|
|
5948
5987
|
};
|
|
5949
|
-
goog.
|
|
5988
|
+
module$contents$goog$Uri_Uri.prototype.hasDomain = function() {
|
|
5950
5989
|
return !!this.domain_;
|
|
5951
5990
|
};
|
|
5952
|
-
goog.
|
|
5991
|
+
module$contents$goog$Uri_Uri.prototype.getPort = function() {
|
|
5953
5992
|
return this.port_;
|
|
5954
5993
|
};
|
|
5955
|
-
goog.
|
|
5994
|
+
module$contents$goog$Uri_Uri.prototype.setPort = function(newPort) {
|
|
5956
5995
|
this.enforceReadOnly();
|
|
5957
5996
|
if (newPort) {
|
|
5958
5997
|
newPort = Number(newPort);
|
|
@@ -5965,109 +6004,109 @@ goog.Uri.prototype.setPort = function(newPort) {
|
|
|
5965
6004
|
}
|
|
5966
6005
|
return this;
|
|
5967
6006
|
};
|
|
5968
|
-
goog.
|
|
6007
|
+
module$contents$goog$Uri_Uri.prototype.hasPort = function() {
|
|
5969
6008
|
return this.port_ != null;
|
|
5970
6009
|
};
|
|
5971
|
-
goog.
|
|
6010
|
+
module$contents$goog$Uri_Uri.prototype.getPath = function() {
|
|
5972
6011
|
return this.path_;
|
|
5973
6012
|
};
|
|
5974
|
-
goog.
|
|
6013
|
+
module$contents$goog$Uri_Uri.prototype.setPath = function(newPath, opt_decode) {
|
|
5975
6014
|
this.enforceReadOnly();
|
|
5976
|
-
this.path_ = opt_decode ? goog.
|
|
6015
|
+
this.path_ = opt_decode ? module$contents$goog$Uri_Uri.decodeOrEmpty_(newPath, !0) : newPath;
|
|
5977
6016
|
return this;
|
|
5978
6017
|
};
|
|
5979
|
-
goog.
|
|
6018
|
+
module$contents$goog$Uri_Uri.prototype.hasPath = function() {
|
|
5980
6019
|
return !!this.path_;
|
|
5981
6020
|
};
|
|
5982
|
-
goog.
|
|
6021
|
+
module$contents$goog$Uri_Uri.prototype.hasQuery = function() {
|
|
5983
6022
|
return this.queryData_.toString() !== "";
|
|
5984
6023
|
};
|
|
5985
|
-
goog.
|
|
6024
|
+
module$contents$goog$Uri_Uri.prototype.setQueryData = function(queryData, opt_decode) {
|
|
5986
6025
|
this.enforceReadOnly();
|
|
5987
|
-
queryData instanceof goog.
|
|
6026
|
+
queryData instanceof module$contents$goog$Uri_Uri.QueryData ? (this.queryData_ = queryData, this.queryData_.setIgnoreCase(this.ignoreCase_)) : (opt_decode || (queryData = module$contents$goog$Uri_Uri.encodeSpecialChars_(queryData, module$contents$goog$Uri_Uri.reDisallowedInQuery_)), this.queryData_ = new module$contents$goog$Uri_Uri.QueryData(queryData, this.ignoreCase_));
|
|
5988
6027
|
return this;
|
|
5989
6028
|
};
|
|
5990
|
-
goog.
|
|
6029
|
+
module$contents$goog$Uri_Uri.prototype.setQuery = function(newQuery, opt_decode) {
|
|
5991
6030
|
return this.setQueryData(newQuery, opt_decode);
|
|
5992
6031
|
};
|
|
5993
|
-
goog.
|
|
6032
|
+
module$contents$goog$Uri_Uri.prototype.getEncodedQuery = function() {
|
|
5994
6033
|
return this.queryData_.toString();
|
|
5995
6034
|
};
|
|
5996
|
-
goog.
|
|
6035
|
+
module$contents$goog$Uri_Uri.prototype.getDecodedQuery = function() {
|
|
5997
6036
|
return this.queryData_.toDecodedString();
|
|
5998
6037
|
};
|
|
5999
|
-
goog.
|
|
6038
|
+
module$contents$goog$Uri_Uri.prototype.getQueryData = function() {
|
|
6000
6039
|
return this.queryData_;
|
|
6001
6040
|
};
|
|
6002
|
-
goog.
|
|
6041
|
+
module$contents$goog$Uri_Uri.prototype.getQuery = function() {
|
|
6003
6042
|
return this.getEncodedQuery();
|
|
6004
6043
|
};
|
|
6005
|
-
goog.
|
|
6044
|
+
module$contents$goog$Uri_Uri.prototype.setParameterValue = function(key, value) {
|
|
6006
6045
|
this.enforceReadOnly();
|
|
6007
6046
|
this.queryData_.set(key, value);
|
|
6008
6047
|
return this;
|
|
6009
6048
|
};
|
|
6010
|
-
goog.
|
|
6049
|
+
module$contents$goog$Uri_Uri.prototype.setParameterValues = function(key, values) {
|
|
6011
6050
|
this.enforceReadOnly();
|
|
6012
6051
|
Array.isArray(values) || (values = [String(values)]);
|
|
6013
6052
|
this.queryData_.setValues(key, values);
|
|
6014
6053
|
return this;
|
|
6015
6054
|
};
|
|
6016
|
-
goog.
|
|
6055
|
+
module$contents$goog$Uri_Uri.prototype.getParameterValues = function(name) {
|
|
6017
6056
|
return this.queryData_.getValues(name);
|
|
6018
6057
|
};
|
|
6019
|
-
goog.
|
|
6058
|
+
module$contents$goog$Uri_Uri.prototype.getParameterValue = function(paramName) {
|
|
6020
6059
|
return this.queryData_.get(paramName);
|
|
6021
6060
|
};
|
|
6022
|
-
goog.
|
|
6061
|
+
module$contents$goog$Uri_Uri.prototype.getFragment = function() {
|
|
6023
6062
|
return this.fragment_;
|
|
6024
6063
|
};
|
|
6025
|
-
goog.
|
|
6064
|
+
module$contents$goog$Uri_Uri.prototype.setFragment = function(newFragment, opt_decode) {
|
|
6026
6065
|
this.enforceReadOnly();
|
|
6027
|
-
this.fragment_ = opt_decode ? goog.
|
|
6066
|
+
this.fragment_ = opt_decode ? module$contents$goog$Uri_Uri.decodeOrEmpty_(newFragment) : newFragment;
|
|
6028
6067
|
return this;
|
|
6029
6068
|
};
|
|
6030
|
-
goog.
|
|
6069
|
+
module$contents$goog$Uri_Uri.prototype.hasFragment = function() {
|
|
6031
6070
|
return !!this.fragment_;
|
|
6032
6071
|
};
|
|
6033
|
-
goog.
|
|
6072
|
+
module$contents$goog$Uri_Uri.prototype.hasSameDomainAs = function(uri2) {
|
|
6034
6073
|
return (!this.hasDomain() && !uri2.hasDomain() || this.getDomain() == uri2.getDomain()) && (!this.hasPort() && !uri2.hasPort() || this.getPort() == uri2.getPort());
|
|
6035
6074
|
};
|
|
6036
|
-
goog.
|
|
6075
|
+
module$contents$goog$Uri_Uri.prototype.makeUnique = function() {
|
|
6037
6076
|
this.enforceReadOnly();
|
|
6038
|
-
this.setParameterValue(goog.
|
|
6077
|
+
this.setParameterValue(module$contents$goog$Uri_Uri.RANDOM_PARAM, goog.string.getRandomString());
|
|
6039
6078
|
return this;
|
|
6040
6079
|
};
|
|
6041
|
-
goog.
|
|
6080
|
+
module$contents$goog$Uri_Uri.prototype.removeParameter = function(key) {
|
|
6042
6081
|
this.enforceReadOnly();
|
|
6043
6082
|
this.queryData_.remove(key);
|
|
6044
6083
|
return this;
|
|
6045
6084
|
};
|
|
6046
|
-
goog.
|
|
6085
|
+
module$contents$goog$Uri_Uri.prototype.setReadOnly = function(isReadOnly) {
|
|
6047
6086
|
this.isReadOnly_ = isReadOnly;
|
|
6048
6087
|
return this;
|
|
6049
6088
|
};
|
|
6050
|
-
goog.
|
|
6089
|
+
module$contents$goog$Uri_Uri.prototype.isReadOnly = function() {
|
|
6051
6090
|
return this.isReadOnly_;
|
|
6052
6091
|
};
|
|
6053
|
-
goog.
|
|
6092
|
+
module$contents$goog$Uri_Uri.prototype.enforceReadOnly = function() {
|
|
6054
6093
|
if (this.isReadOnly_) {
|
|
6055
6094
|
throw Error("Tried to modify a read-only Uri");
|
|
6056
6095
|
}
|
|
6057
6096
|
};
|
|
6058
|
-
goog.
|
|
6097
|
+
module$contents$goog$Uri_Uri.prototype.setIgnoreCase = function(ignoreCase) {
|
|
6059
6098
|
this.ignoreCase_ = ignoreCase;
|
|
6060
6099
|
this.queryData_ && this.queryData_.setIgnoreCase(ignoreCase);
|
|
6061
6100
|
return this;
|
|
6062
6101
|
};
|
|
6063
|
-
goog.
|
|
6102
|
+
module$contents$goog$Uri_Uri.prototype.getIgnoreCase = function() {
|
|
6064
6103
|
return this.ignoreCase_;
|
|
6065
6104
|
};
|
|
6066
|
-
goog.
|
|
6067
|
-
return uri instanceof goog
|
|
6105
|
+
module$contents$goog$Uri_Uri.parse = function(uri, opt_ignoreCase) {
|
|
6106
|
+
return uri instanceof module$contents$goog$Uri_Uri ? uri.clone() : new module$contents$goog$Uri_Uri(uri, opt_ignoreCase);
|
|
6068
6107
|
};
|
|
6069
|
-
goog.
|
|
6070
|
-
var uri = new goog
|
|
6108
|
+
module$contents$goog$Uri_Uri.create = function(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_query, opt_fragment, opt_ignoreCase) {
|
|
6109
|
+
var uri = new module$contents$goog$Uri_Uri(null, opt_ignoreCase);
|
|
6071
6110
|
opt_scheme && uri.setScheme(opt_scheme);
|
|
6072
6111
|
opt_userInfo && uri.setUserInfo(opt_userInfo);
|
|
6073
6112
|
opt_domain && uri.setDomain(opt_domain);
|
|
@@ -6077,12 +6116,12 @@ goog.Uri.create = function(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_p
|
|
|
6077
6116
|
opt_fragment && uri.setFragment(opt_fragment);
|
|
6078
6117
|
return uri;
|
|
6079
6118
|
};
|
|
6080
|
-
goog.
|
|
6081
|
-
base instanceof goog
|
|
6082
|
-
rel instanceof goog
|
|
6119
|
+
module$contents$goog$Uri_Uri.resolve = function(base, rel) {
|
|
6120
|
+
base instanceof module$contents$goog$Uri_Uri || (base = module$contents$goog$Uri_Uri.parse(base));
|
|
6121
|
+
rel instanceof module$contents$goog$Uri_Uri || (rel = module$contents$goog$Uri_Uri.parse(rel));
|
|
6083
6122
|
return base.resolve(rel);
|
|
6084
6123
|
};
|
|
6085
|
-
goog.
|
|
6124
|
+
module$contents$goog$Uri_Uri.removeDotSegments = function(path) {
|
|
6086
6125
|
if (path == ".." || path == ".") {
|
|
6087
6126
|
return "";
|
|
6088
6127
|
}
|
|
@@ -6095,39 +6134,39 @@ goog.Uri.removeDotSegments = function(path) {
|
|
|
6095
6134
|
}
|
|
6096
6135
|
return path;
|
|
6097
6136
|
};
|
|
6098
|
-
goog.
|
|
6137
|
+
module$contents$goog$Uri_Uri.decodeOrEmpty_ = function(val, opt_preserveReserved) {
|
|
6099
6138
|
return val ? opt_preserveReserved ? decodeURI(val.replace(/%25/g, "%2525")) : decodeURIComponent(val) : "";
|
|
6100
6139
|
};
|
|
6101
|
-
goog.
|
|
6140
|
+
module$contents$goog$Uri_Uri.encodeSpecialChars_ = function(unescapedPart, extra, opt_removeDoubleEncoding) {
|
|
6102
6141
|
if (typeof unescapedPart === "string") {
|
|
6103
|
-
var encoded = encodeURI(unescapedPart).replace(extra, goog.
|
|
6104
|
-
opt_removeDoubleEncoding && (encoded = goog.
|
|
6142
|
+
var encoded = encodeURI(unescapedPart).replace(extra, module$contents$goog$Uri_Uri.encodeChar_);
|
|
6143
|
+
opt_removeDoubleEncoding && (encoded = module$contents$goog$Uri_Uri.removeDoubleEncoding_(encoded));
|
|
6105
6144
|
return encoded;
|
|
6106
6145
|
}
|
|
6107
6146
|
return null;
|
|
6108
6147
|
};
|
|
6109
|
-
goog.
|
|
6148
|
+
module$contents$goog$Uri_Uri.encodeChar_ = function(ch) {
|
|
6110
6149
|
var n = ch.charCodeAt(0);
|
|
6111
6150
|
return "%" + (n >> 4 & 15).toString(16) + (n & 15).toString(16);
|
|
6112
6151
|
};
|
|
6113
|
-
goog.
|
|
6152
|
+
module$contents$goog$Uri_Uri.removeDoubleEncoding_ = function(doubleEncodedString) {
|
|
6114
6153
|
return doubleEncodedString.replace(/%25([0-9a-fA-F]{2})/g, "%$1");
|
|
6115
6154
|
};
|
|
6116
|
-
goog.
|
|
6117
|
-
goog.
|
|
6118
|
-
goog.
|
|
6119
|
-
goog.
|
|
6120
|
-
goog.
|
|
6121
|
-
goog.
|
|
6155
|
+
module$contents$goog$Uri_Uri.reDisallowedInSchemeOrUserInfo_ = /[#\/\?@]/g;
|
|
6156
|
+
module$contents$goog$Uri_Uri.reDisallowedInRelativePath_ = /[#\?:]/g;
|
|
6157
|
+
module$contents$goog$Uri_Uri.reDisallowedInAbsolutePath_ = /[#\?]/g;
|
|
6158
|
+
module$contents$goog$Uri_Uri.reDisallowedInQuery_ = /[#\?@]/g;
|
|
6159
|
+
module$contents$goog$Uri_Uri.reDisallowedInFragment_ = /#/g;
|
|
6160
|
+
module$contents$goog$Uri_Uri.haveSameDomain = function(uri1String, uri2String) {
|
|
6122
6161
|
var pieces1 = module$contents$goog$uri$utils_split(uri1String), pieces2 = module$contents$goog$uri$utils_split(uri2String);
|
|
6123
6162
|
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];
|
|
6124
6163
|
};
|
|
6125
|
-
goog.
|
|
6164
|
+
module$contents$goog$Uri_Uri.QueryData = function(opt_query, opt_ignoreCase) {
|
|
6126
6165
|
this.count_ = this.keyMap_ = null;
|
|
6127
6166
|
this.encodedQuery_ = opt_query || null;
|
|
6128
6167
|
this.ignoreCase_ = !!opt_ignoreCase;
|
|
6129
6168
|
};
|
|
6130
|
-
goog.
|
|
6169
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.ensureKeyMapInitialized_ = function() {
|
|
6131
6170
|
if (!this.keyMap_ && (this.keyMap_ = new Map(), this.count_ = 0, this.encodedQuery_)) {
|
|
6132
6171
|
var self = this;
|
|
6133
6172
|
module$contents$goog$uri$utils_parseQueryData(this.encodedQuery_, function(name, value) {
|
|
@@ -6135,31 +6174,31 @@ goog.Uri.QueryData.prototype.ensureKeyMapInitialized_ = function() {
|
|
|
6135
6174
|
});
|
|
6136
6175
|
}
|
|
6137
6176
|
};
|
|
6138
|
-
goog.
|
|
6177
|
+
module$contents$goog$Uri_Uri.QueryData.createFromMap = function(map, opt_ignoreCase) {
|
|
6139
6178
|
var keys = goog.structs.getKeys(map);
|
|
6140
6179
|
if (typeof keys == "undefined") {
|
|
6141
6180
|
throw Error("Keys are undefined");
|
|
6142
6181
|
}
|
|
6143
|
-
for (var queryData = new goog.
|
|
6182
|
+
for (var queryData = new module$contents$goog$Uri_Uri.QueryData(null, opt_ignoreCase), values = goog.structs.getValues(map), i = 0; i < keys.length; i++) {
|
|
6144
6183
|
var key = keys[i], value = values[i];
|
|
6145
6184
|
Array.isArray(value) ? queryData.setValues(key, value) : queryData.add(key, value);
|
|
6146
6185
|
}
|
|
6147
6186
|
return queryData;
|
|
6148
6187
|
};
|
|
6149
|
-
goog.
|
|
6188
|
+
module$contents$goog$Uri_Uri.QueryData.createFromKeysValues = function(keys, values, opt_ignoreCase) {
|
|
6150
6189
|
if (keys.length != values.length) {
|
|
6151
6190
|
throw Error("Mismatched lengths for keys/values");
|
|
6152
6191
|
}
|
|
6153
|
-
for (var queryData = new goog.
|
|
6192
|
+
for (var queryData = new module$contents$goog$Uri_Uri.QueryData(null, opt_ignoreCase), i = 0; i < keys.length; i++) {
|
|
6154
6193
|
queryData.add(keys[i], values[i]);
|
|
6155
6194
|
}
|
|
6156
6195
|
return queryData;
|
|
6157
6196
|
};
|
|
6158
|
-
goog.
|
|
6197
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.getCount = function() {
|
|
6159
6198
|
this.ensureKeyMapInitialized_();
|
|
6160
6199
|
return this.count_;
|
|
6161
6200
|
};
|
|
6162
|
-
goog.
|
|
6201
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.add = function(key, value) {
|
|
6163
6202
|
this.ensureKeyMapInitialized_();
|
|
6164
6203
|
this.invalidateCache_();
|
|
6165
6204
|
key = this.getKeyName_(key);
|
|
@@ -6169,30 +6208,30 @@ goog.Uri.QueryData.prototype.add = function(key, value) {
|
|
|
6169
6208
|
this.count_ = goog.asserts.assertNumber(this.count_) + 1;
|
|
6170
6209
|
return this;
|
|
6171
6210
|
};
|
|
6172
|
-
goog.
|
|
6211
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.remove = function(key) {
|
|
6173
6212
|
this.ensureKeyMapInitialized_();
|
|
6174
6213
|
key = this.getKeyName_(key);
|
|
6175
6214
|
return this.keyMap_.has(key) ? (this.invalidateCache_(), this.count_ = goog.asserts.assertNumber(this.count_) - this.keyMap_.get(key).length, this.keyMap_.delete(key)) : !1;
|
|
6176
6215
|
};
|
|
6177
|
-
goog.
|
|
6216
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.clear = function() {
|
|
6178
6217
|
this.invalidateCache_();
|
|
6179
6218
|
this.keyMap_ = null;
|
|
6180
6219
|
this.count_ = 0;
|
|
6181
6220
|
};
|
|
6182
|
-
goog.
|
|
6221
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.isEmpty = function() {
|
|
6183
6222
|
this.ensureKeyMapInitialized_();
|
|
6184
6223
|
return this.count_ == 0;
|
|
6185
6224
|
};
|
|
6186
|
-
goog.
|
|
6225
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.containsKey = function(key) {
|
|
6187
6226
|
this.ensureKeyMapInitialized_();
|
|
6188
6227
|
key = this.getKeyName_(key);
|
|
6189
6228
|
return this.keyMap_.has(key);
|
|
6190
6229
|
};
|
|
6191
|
-
goog.
|
|
6230
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.containsValue = function(value) {
|
|
6192
6231
|
var vals = this.getValues();
|
|
6193
6232
|
return module$contents$goog$array_contains(vals, value);
|
|
6194
6233
|
};
|
|
6195
|
-
goog.
|
|
6234
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.forEach = function(f, opt_scope) {
|
|
6196
6235
|
this.ensureKeyMapInitialized_();
|
|
6197
6236
|
this.keyMap_.forEach(function(values, key) {
|
|
6198
6237
|
values.forEach(function(value) {
|
|
@@ -6200,7 +6239,7 @@ goog.Uri.QueryData.prototype.forEach = function(f, opt_scope) {
|
|
|
6200
6239
|
}, this);
|
|
6201
6240
|
}, this);
|
|
6202
6241
|
};
|
|
6203
|
-
goog.
|
|
6242
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.getKeys = function() {
|
|
6204
6243
|
this.ensureKeyMapInitialized_();
|
|
6205
6244
|
for (var vals = Array.from(this.keyMap_.values()), keys = Array.from(this.keyMap_.keys()), rv = [], i = 0; i < keys.length; i++) {
|
|
6206
6245
|
for (var val = vals[i], j = 0; j < val.length; j++) {
|
|
@@ -6209,7 +6248,7 @@ goog.Uri.QueryData.prototype.getKeys = function() {
|
|
|
6209
6248
|
}
|
|
6210
6249
|
return rv;
|
|
6211
6250
|
};
|
|
6212
|
-
goog.
|
|
6251
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.getValues = function(opt_key) {
|
|
6213
6252
|
this.ensureKeyMapInitialized_();
|
|
6214
6253
|
var rv = [];
|
|
6215
6254
|
if (typeof opt_key === "string") {
|
|
@@ -6221,7 +6260,7 @@ goog.Uri.QueryData.prototype.getValues = function(opt_key) {
|
|
|
6221
6260
|
}
|
|
6222
6261
|
return rv;
|
|
6223
6262
|
};
|
|
6224
|
-
goog.
|
|
6263
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.set = function(key, value) {
|
|
6225
6264
|
this.ensureKeyMapInitialized_();
|
|
6226
6265
|
this.invalidateCache_();
|
|
6227
6266
|
key = this.getKeyName_(key);
|
|
@@ -6230,18 +6269,18 @@ goog.Uri.QueryData.prototype.set = function(key, value) {
|
|
|
6230
6269
|
this.count_ = goog.asserts.assertNumber(this.count_) + 1;
|
|
6231
6270
|
return this;
|
|
6232
6271
|
};
|
|
6233
|
-
goog.
|
|
6272
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.get = function(key, opt_default) {
|
|
6234
6273
|
if (!key) {
|
|
6235
6274
|
return opt_default;
|
|
6236
6275
|
}
|
|
6237
6276
|
var values = this.getValues(key);
|
|
6238
6277
|
return values.length > 0 ? String(values[0]) : opt_default;
|
|
6239
6278
|
};
|
|
6240
|
-
goog.
|
|
6279
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.setValues = function(key, values) {
|
|
6241
6280
|
this.remove(key);
|
|
6242
6281
|
values.length > 0 && (this.invalidateCache_(), this.keyMap_.set(this.getKeyName_(key), module$contents$goog$array_toArray(values)), this.count_ = goog.asserts.assertNumber(this.count_) + values.length);
|
|
6243
6282
|
};
|
|
6244
|
-
goog.
|
|
6283
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.toString = function() {
|
|
6245
6284
|
if (this.encodedQuery_) {
|
|
6246
6285
|
return this.encodedQuery_;
|
|
6247
6286
|
}
|
|
@@ -6257,44 +6296,45 @@ goog.Uri.QueryData.prototype.toString = function() {
|
|
|
6257
6296
|
}
|
|
6258
6297
|
return this.encodedQuery_ = sb.join("&");
|
|
6259
6298
|
};
|
|
6260
|
-
goog.
|
|
6261
|
-
return goog.
|
|
6299
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.toDecodedString = function() {
|
|
6300
|
+
return module$contents$goog$Uri_Uri.decodeOrEmpty_(this.toString());
|
|
6262
6301
|
};
|
|
6263
|
-
goog.
|
|
6302
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.invalidateCache_ = function() {
|
|
6264
6303
|
this.encodedQuery_ = null;
|
|
6265
6304
|
};
|
|
6266
|
-
goog.
|
|
6305
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.filterKeys = function(keys) {
|
|
6267
6306
|
this.ensureKeyMapInitialized_();
|
|
6268
6307
|
this.keyMap_.forEach(function(value, key) {
|
|
6269
6308
|
module$contents$goog$array_contains(keys, key) || this.remove(key);
|
|
6270
6309
|
}, this);
|
|
6271
6310
|
return this;
|
|
6272
6311
|
};
|
|
6273
|
-
goog.
|
|
6274
|
-
var rv = new goog.
|
|
6312
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.clone = function() {
|
|
6313
|
+
var rv = new module$contents$goog$Uri_Uri.QueryData();
|
|
6275
6314
|
rv.encodedQuery_ = this.encodedQuery_;
|
|
6276
6315
|
this.keyMap_ && (rv.keyMap_ = new Map(this.keyMap_), rv.count_ = this.count_);
|
|
6277
6316
|
return rv;
|
|
6278
6317
|
};
|
|
6279
|
-
goog.
|
|
6318
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.getKeyName_ = function(arg) {
|
|
6280
6319
|
var keyName = String(arg);
|
|
6281
6320
|
this.ignoreCase_ && (keyName = keyName.toLowerCase());
|
|
6282
6321
|
return keyName;
|
|
6283
6322
|
};
|
|
6284
|
-
goog.
|
|
6323
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.setIgnoreCase = function(ignoreCase) {
|
|
6285
6324
|
ignoreCase && !this.ignoreCase_ && (this.ensureKeyMapInitialized_(), this.invalidateCache_(), this.keyMap_.forEach(function(value, key) {
|
|
6286
6325
|
var lowerCase = key.toLowerCase();
|
|
6287
6326
|
key != lowerCase && (this.remove(key), this.setValues(lowerCase, value));
|
|
6288
6327
|
}, this));
|
|
6289
6328
|
this.ignoreCase_ = ignoreCase;
|
|
6290
6329
|
};
|
|
6291
|
-
goog.
|
|
6330
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.extend = function(var_args) {
|
|
6292
6331
|
for (var i = 0; i < arguments.length; i++) {
|
|
6293
6332
|
goog.structs.forEach(arguments[i], function(value, key) {
|
|
6294
6333
|
this.add(key, value);
|
|
6295
6334
|
}, this);
|
|
6296
6335
|
}
|
|
6297
6336
|
};
|
|
6337
|
+
goog.Uri = module$contents$goog$Uri_Uri;
|
|
6298
6338
|
var module$exports$goog$net$rpc$HttpCors = {HTTP_HEADERS_PARAM_NAME:"$httpHeaders", HTTP_METHOD_PARAM_NAME:"$httpMethod", generateHttpHeadersOverwriteParam:function(headers) {
|
|
6299
6339
|
var result = "";
|
|
6300
6340
|
module$contents$goog$object_forEach(headers, function(value, key) {
|
|
@@ -6335,8 +6375,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6335
6375
|
}
|
|
6336
6376
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6337
6377
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6338
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6339
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6378
|
+
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$m125199259$0$ = $jscomp$iter$29.next(); !$jscomp$key$m125199259$0$.done; $jscomp$key$m125199259$0$ = $jscomp$iter$29.next()) {
|
|
6379
|
+
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var3.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var3.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
6340
6380
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6341
6381
|
}
|
|
6342
6382
|
return urlQueryParams;
|
|
@@ -6348,8 +6388,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params,
|
|
|
6348
6388
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6349
6389
|
if (params.headers) {
|
|
6350
6390
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6351
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6352
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6391
|
+
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$m125199259$1$ = $jscomp$iter$30.next(); !$jscomp$key$m125199259$1$.done; $jscomp$key$m125199259$1$ = $jscomp$iter$30.next()) {
|
|
6392
|
+
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$m125199259$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6353
6393
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : key === "Content-Type" && module$contents$eeapiclient$request_params_simpleCorsAllowedContentTypes.includes(value) ? (safeHeaders[key] = value, hasSafeContentType = !0) : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6354
6394
|
}
|
|
6355
6395
|
}
|
|
@@ -6384,8 +6424,8 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$addHoo
|
|
|
6384
6424
|
}, function(error) {
|
|
6385
6425
|
throw error;
|
|
6386
6426
|
}).finally(function() {
|
|
6387
|
-
var $jscomp$optchain$
|
|
6388
|
-
($jscomp$optchain$
|
|
6427
|
+
var $jscomp$optchain$tmpm296226325$1;
|
|
6428
|
+
($jscomp$optchain$tmpm296226325$1 = hook.onFinalize) == null || $jscomp$optchain$tmpm296226325$1.call(hook);
|
|
6389
6429
|
});
|
|
6390
6430
|
};
|
|
6391
6431
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$request = function(requestParams) {
|
|
@@ -6393,9 +6433,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6393
6433
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6394
6434
|
};
|
|
6395
6435
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6396
|
-
var $jscomp$this$
|
|
6436
|
+
var $jscomp$this$m296226325$6 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6397
6437
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6398
|
-
return $jscomp$this$
|
|
6438
|
+
return $jscomp$this$m296226325$6.requestService.send(params, responseCtor);
|
|
6399
6439
|
}));
|
|
6400
6440
|
};
|
|
6401
6441
|
var module$exports$eeapiclient$promise_request_service = {}, module$contents$eeapiclient$promise_request_service_module = module$contents$eeapiclient$promise_request_service_module || {id:"javascript/typescript/contrib/apiclient/request_service/promise_request_service.closure.js"};
|
|
@@ -6580,6 +6620,8 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_throw_in_arr
|
|
|
6580
6620
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_deserialize_binary_int64s_as_gbigint__disable = !1;
|
|
6581
6621
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_write_back_bigint__disable = !1;
|
|
6582
6622
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__optimize_get_ei_from_ved__enable = !1;
|
|
6623
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__batch_fc_data_fetches_in_microtask__enable = !1;
|
|
6624
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_unobfuscated_rpc_method_names__enable = !1;
|
|
6583
6625
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
|
|
6584
6626
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
|
|
6585
6627
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable = !1;
|
|
@@ -6602,6 +6644,8 @@ goog.flags.JSPB_THROW_IN_ARRAY_CONSTRUCTOR_IF_ARRAY_IS_ALREADY_CONSTRUCTED = mod
|
|
|
6602
6644
|
goog.flags.JSPB_DESERIALIZE_BINARY_INT64S_AS_GBIGINT = 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_deserialize_binary_int64s_as_gbigint__disable : goog.readFlagInternalDoNotUseOrElse(824648567, !0);
|
|
6603
6645
|
goog.flags.JSPB_WRITE_BACK_BIGINT = 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_write_back_bigint__disable) : goog.readFlagInternalDoNotUseOrElse(824656860, module$contents$goog$flags_STAGING);
|
|
6604
6646
|
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);
|
|
6647
|
+
goog.flags.BATCH_FC_DATA_FETCHES_IN_MICROTASK = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__batch_fc_data_fetches_in_microtask__enable : goog.readFlagInternalDoNotUseOrElse(861377723, goog.DEBUG);
|
|
6648
|
+
goog.flags.USE_UNOBFUSCATED_RPC_METHOD_NAMES = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_unobfuscated_rpc_method_names__enable : goog.readFlagInternalDoNotUseOrElse(861377724, goog.DEBUG);
|
|
6605
6649
|
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);
|
|
6606
6650
|
goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
|
|
6607
6651
|
goog.flags.TESTONLY_STAGING_FLAG = 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__testonly_staging_flag__disable) : goog.readFlagInternalDoNotUseOrElse(2147483646, module$contents$goog$flags_STAGING);
|
|
@@ -6702,7 +6746,7 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
|
|
|
6702
6746
|
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.load = function() {
|
|
6703
6747
|
var $jscomp$async$this$m2110036436$9 = this, userAgentData;
|
|
6704
6748
|
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m2110036436$35) {
|
|
6705
|
-
if ($jscomp$generator$context$m2110036436$35.
|
|
6749
|
+
if ($jscomp$generator$context$m2110036436$35.getNextAddressJsc() == 1) {
|
|
6706
6750
|
userAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData();
|
|
6707
6751
|
if (!userAgentData) {
|
|
6708
6752
|
return $jscomp$generator$context$m2110036436$35.return(void 0);
|
|
@@ -6710,11 +6754,11 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
|
|
|
6710
6754
|
$jscomp$async$this$m2110036436$9.promise_ || ($jscomp$async$this$m2110036436$9.pending_ = !0, $jscomp$async$this$m2110036436$9.promise_ = function() {
|
|
6711
6755
|
var dataValues;
|
|
6712
6756
|
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m2110036436$34) {
|
|
6713
|
-
if ($jscomp$generator$context$m2110036436$34.
|
|
6757
|
+
if ($jscomp$generator$context$m2110036436$34.getNextAddressJsc() == 1) {
|
|
6714
6758
|
return $jscomp$generator$context$m2110036436$34.setFinallyBlock(2), $jscomp$generator$context$m2110036436$34.yield(userAgentData.getHighEntropyValues([$jscomp$async$this$m2110036436$9.key_]), 4);
|
|
6715
6759
|
}
|
|
6716
|
-
if ($jscomp$generator$context$m2110036436$34.
|
|
6717
|
-
return dataValues = $jscomp$generator$context$m2110036436$34.
|
|
6760
|
+
if ($jscomp$generator$context$m2110036436$34.getNextAddressJsc() != 2) {
|
|
6761
|
+
return dataValues = $jscomp$generator$context$m2110036436$34.getYieldResultJsc(), $jscomp$async$this$m2110036436$9.value_ = dataValues[$jscomp$async$this$m2110036436$9.key_], $jscomp$generator$context$m2110036436$34.return($jscomp$async$this$m2110036436$9.value_);
|
|
6718
6762
|
}
|
|
6719
6763
|
$jscomp$generator$context$m2110036436$34.enterFinallyBlock();
|
|
6720
6764
|
$jscomp$async$this$m2110036436$9.pending_ = !1;
|
|
@@ -6723,7 +6767,7 @@ module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue
|
|
|
6723
6767
|
}());
|
|
6724
6768
|
return $jscomp$generator$context$m2110036436$35.yield($jscomp$async$this$m2110036436$9.promise_, 2);
|
|
6725
6769
|
}
|
|
6726
|
-
return $jscomp$generator$context$m2110036436$35.return($jscomp$generator$context$m2110036436$35.
|
|
6770
|
+
return $jscomp$generator$context$m2110036436$35.return($jscomp$generator$context$m2110036436$35.getYieldResultJsc());
|
|
6727
6771
|
});
|
|
6728
6772
|
};
|
|
6729
6773
|
module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.resetForTesting = function() {
|
|
@@ -6973,10 +7017,10 @@ module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.ge
|
|
|
6973
7017
|
module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.load = function() {
|
|
6974
7018
|
var $jscomp$async$this$1683157560$59 = this, loadedVersionList, matchingBrand;
|
|
6975
7019
|
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1683157560$106) {
|
|
6976
|
-
if ($jscomp$generator$context$1683157560$106.
|
|
7020
|
+
if ($jscomp$generator$context$1683157560$106.getNextAddressJsc() == 1) {
|
|
6977
7021
|
return $jscomp$async$this$1683157560$59.useUach_ ? $jscomp$generator$context$1683157560$106.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(), 5) : $jscomp$generator$context$1683157560$106.yield(0, 3);
|
|
6978
7022
|
}
|
|
6979
|
-
if ($jscomp$generator$context$1683157560$106.
|
|
7023
|
+
if ($jscomp$generator$context$1683157560$106.getNextAddressJsc() != 3 && (loadedVersionList = $jscomp$generator$context$1683157560$106.getYieldResultJsc(), loadedVersionList !== void 0)) {
|
|
6980
7024
|
return matchingBrand = loadedVersionList.find(function($jscomp$destructuring$var11) {
|
|
6981
7025
|
return $jscomp$async$this$1683157560$59.brand_ === $jscomp$destructuring$var11.brand;
|
|
6982
7026
|
}), (0,goog.asserts.assertExists)(matchingBrand), $jscomp$generator$context$1683157560$106.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(matchingBrand.version));
|
|
@@ -6988,7 +7032,7 @@ module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.lo
|
|
|
6988
7032
|
var module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !1;
|
|
6989
7033
|
goog.labs.userAgent.browser.loadFullVersions = function() {
|
|
6990
7034
|
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1683157560$107) {
|
|
6991
|
-
if ($jscomp$generator$context$1683157560$107.
|
|
7035
|
+
if ($jscomp$generator$context$1683157560$107.getNextAddressJsc() == 1) {
|
|
6992
7036
|
return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0) ? $jscomp$generator$context$1683157560$107.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(), 2) : $jscomp$generator$context$1683157560$107.jumpTo(2);
|
|
6993
7037
|
}
|
|
6994
7038
|
module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !0;
|
|
@@ -7173,14 +7217,14 @@ module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.getIfLoad
|
|
|
7173
7217
|
module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.load = function() {
|
|
7174
7218
|
var $jscomp$async$this$m1628565157$33 = this, JSCompiler_temp_const;
|
|
7175
7219
|
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m1628565157$37) {
|
|
7176
|
-
if ($jscomp$generator$context$m1628565157$37.
|
|
7220
|
+
if ($jscomp$generator$context$m1628565157$37.getNextAddressJsc() == 1) {
|
|
7177
7221
|
if (!module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(!0)) {
|
|
7178
7222
|
return $jscomp$async$this$m1628565157$33.preUachHasLoaded_ = !0, $jscomp$generator$context$m1628565157$37.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion()));
|
|
7179
7223
|
}
|
|
7180
7224
|
JSCompiler_temp_const = module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version;
|
|
7181
7225
|
return $jscomp$generator$context$m1628565157$37.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.load(), 3);
|
|
7182
7226
|
}
|
|
7183
|
-
return $jscomp$generator$context$m1628565157$37.return(new JSCompiler_temp_const($jscomp$generator$context$m1628565157$37.
|
|
7227
|
+
return $jscomp$generator$context$m1628565157$37.return(new JSCompiler_temp_const($jscomp$generator$context$m1628565157$37.getYieldResultJsc()));
|
|
7184
7228
|
});
|
|
7185
7229
|
};
|
|
7186
7230
|
module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.resetForTesting = function() {
|
|
@@ -7345,16 +7389,17 @@ goog.events.eventTypeHelpers.getPointerFallbackEventName = function(pointerEvent
|
|
|
7345
7389
|
return goog.events.BrowserFeature.POINTER_EVENTS ? pointerEventName : fallbackEventName;
|
|
7346
7390
|
};
|
|
7347
7391
|
goog.events.eventTypeHelpers.getVendorPrefixedName = module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName;
|
|
7348
|
-
goog
|
|
7349
|
-
CHANGE:"change", RESET:"reset", SELECT:"select", SUBMIT:"submit", INPUT:"input", PROPERTYCHANGE:"propertychange", DRAGSTART:"dragstart", DRAG:"drag", DRAGENTER:"dragenter", DRAGOVER:"dragover", DRAGLEAVE:"dragleave", DROP:"drop", DRAGEND:"dragend", TOUCHSTART:"touchstart", TOUCHMOVE:"touchmove", TOUCHEND:"touchend", TOUCHCANCEL:"touchcancel", BEFOREUNLOAD:"beforeunload", CONSOLEMESSAGE:"consolemessage", CONTEXTMENU:"contextmenu", DEVICECHANGE:"devicechange",
|
|
7350
|
-
DOMCONTENTLOADED:"DOMContentLoaded", ERROR:"error", HELP:"help", LOAD:"load", LOSECAPTURE:"losecapture", ORIENTATIONCHANGE:"orientationchange", READYSTATECHANGE:"readystatechange", RESIZE:"resize", SCROLL:"scroll", UNLOAD:"unload", CANPLAY:"canplay", CANPLAYTHROUGH:"canplaythrough", DURATIONCHANGE:"durationchange", EMPTIED:"emptied", ENDED:"ended", LOADEDDATA:"loadeddata", LOADEDMETADATA:"loadedmetadata", PAUSE:"pause", PLAY:"play",
|
|
7351
|
-
SEEKED:"seeked", SEEKING:"seeking", STALLED:"stalled", SUSPEND:"suspend", TIMEUPDATE:"timeupdate", VOLUMECHANGE:"volumechange", WAITING:"waiting", SOURCEOPEN:"sourceopen", SOURCEENDED:"sourceended", SOURCECLOSED:"sourceclosed", ABORT:"abort", UPDATE:"update", UPDATESTART:"updatestart", UPDATEEND:"updateend", HASHCHANGE:"hashchange", PAGEHIDE:"pagehide", PAGESHOW:"pageshow", POPSTATE:"popstate", COPY:"copy", PASTE:"paste", CUT:"cut",
|
|
7352
|
-
ONLINE:"online", OFFLINE:"offline", MESSAGE:"message", CONNECT:"connect", INSTALL:"install", ACTIVATE:"activate", FETCH:"fetch", FOREIGNFETCH:"foreignfetch", MESSAGEERROR:"messageerror", STATECHANGE:"statechange", UPDATEFOUND:"updatefound", CONTROLLERCHANGE:"controllerchange", ANIMATIONSTART:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationStart"), ANIMATIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationEnd"),
|
|
7353
|
-
TRANSITIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("TransitionEnd"), POINTERDOWN:"pointerdown", POINTERUP:"pointerup", POINTERCANCEL:"pointercancel", POINTERMOVE:"pointermove", POINTEROVER:"pointerover", POINTEROUT:"pointerout", POINTERENTER:"pointerenter", POINTERLEAVE:"pointerleave", GOTPOINTERCAPTURE:"gotpointercapture", LOSTPOINTERCAPTURE:"lostpointercapture",
|
|
7354
|
-
MSGESTURETAP:"MSGestureTap", MSGOTPOINTERCAPTURE:"MSGotPointerCapture", MSINERTIASTART:"MSInertiaStart", MSLOSTPOINTERCAPTURE:"MSLostPointerCapture", MSPOINTERCANCEL:"MSPointerCancel", MSPOINTERDOWN:"MSPointerDown", MSPOINTERENTER:"MSPointerEnter", MSPOINTERHOVER:"MSPointerHover", MSPOINTERLEAVE:"MSPointerLeave", MSPOINTERMOVE:"MSPointerMove", MSPOINTEROUT:"MSPointerOut",
|
|
7355
|
-
COMPOSITIONUPDATE:"compositionupdate", COMPOSITIONEND:"compositionend", BEFOREINPUT:"beforeinput", FULLSCREENCHANGE:"fullscreenchange", WEBKITBEGINFULLSCREEN:"webkitbeginfullscreen", WEBKITENDFULLSCREEN:"webkitendfullscreen", EXIT:"exit", LOADABORT:"loadabort", LOADCOMMIT:"loadcommit", LOADREDIRECT:"loadredirect", LOADSTART:"loadstart", LOADSTOP:"loadstop", RESPONSIVE:"responsive",
|
|
7356
|
-
AFTERPRINT:"afterprint", BEFOREINSTALLPROMPT:"beforeinstallprompt", APPINSTALLED:"appinstalled", CANCEL:"cancel", FINISH:"finish", REMOVE:"remove"};
|
|
7357
|
-
goog.events.
|
|
7392
|
+
var module$contents$goog$events$EventType_EventType = {CLICK:"click", RIGHTCLICK:"rightclick", DBLCLICK:"dblclick", AUXCLICK:"auxclick", MOUSEDOWN:"mousedown", MOUSEUP:"mouseup", MOUSEOVER:"mouseover", MOUSEOUT:"mouseout", MOUSEMOVE:"mousemove", MOUSEENTER:"mouseenter", MOUSELEAVE:"mouseleave", MOUSECANCEL:"mousecancel", SELECTIONCHANGE:"selectionchange", SELECTSTART:"selectstart", WHEEL:"wheel", KEYPRESS:"keypress", KEYDOWN:"keydown", KEYUP:"keyup", BLUR:"blur", FOCUS:"focus", DEACTIVATE:"deactivate",
|
|
7393
|
+
FOCUSIN:"focusin", FOCUSOUT:"focusout", CHANGE:"change", RESET:"reset", SELECT:"select", SUBMIT:"submit", INPUT:"input", PROPERTYCHANGE:"propertychange", DRAGSTART:"dragstart", DRAG:"drag", DRAGENTER:"dragenter", DRAGOVER:"dragover", DRAGLEAVE:"dragleave", DROP:"drop", DRAGEND:"dragend", TOUCHSTART:"touchstart", TOUCHMOVE:"touchmove", TOUCHEND:"touchend", TOUCHCANCEL:"touchcancel", BEFOREUNLOAD:"beforeunload", CONSOLEMESSAGE:"consolemessage", CONTEXTMENU:"contextmenu", DEVICECHANGE:"devicechange",
|
|
7394
|
+
DEVICEMOTION:"devicemotion", DEVICEORIENTATION:"deviceorientation", DOMCONTENTLOADED:"DOMContentLoaded", ERROR:"error", HELP:"help", LOAD:"load", LOSECAPTURE:"losecapture", ORIENTATIONCHANGE:"orientationchange", READYSTATECHANGE:"readystatechange", RESIZE:"resize", SCROLL:"scroll", UNLOAD:"unload", CANPLAY:"canplay", CANPLAYTHROUGH:"canplaythrough", DURATIONCHANGE:"durationchange", EMPTIED:"emptied", ENDED:"ended", LOADEDDATA:"loadeddata", LOADEDMETADATA:"loadedmetadata", PAUSE:"pause", PLAY:"play",
|
|
7395
|
+
PLAYING:"playing", PROGRESS:"progress", RATECHANGE:"ratechange", SEEKED:"seeked", SEEKING:"seeking", STALLED:"stalled", SUSPEND:"suspend", TIMEUPDATE:"timeupdate", VOLUMECHANGE:"volumechange", WAITING:"waiting", SOURCEOPEN:"sourceopen", SOURCEENDED:"sourceended", SOURCECLOSED:"sourceclosed", ABORT:"abort", UPDATE:"update", UPDATESTART:"updatestart", UPDATEEND:"updateend", HASHCHANGE:"hashchange", PAGEHIDE:"pagehide", PAGESHOW:"pageshow", POPSTATE:"popstate", COPY:"copy", PASTE:"paste", CUT:"cut",
|
|
7396
|
+
BEFORECOPY:"beforecopy", BEFORECUT:"beforecut", BEFOREPASTE:"beforepaste", ONLINE:"online", OFFLINE:"offline", MESSAGE:"message", CONNECT:"connect", INSTALL:"install", ACTIVATE:"activate", FETCH:"fetch", FOREIGNFETCH:"foreignfetch", MESSAGEERROR:"messageerror", STATECHANGE:"statechange", UPDATEFOUND:"updatefound", CONTROLLERCHANGE:"controllerchange", ANIMATIONSTART:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationStart"), ANIMATIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationEnd"),
|
|
7397
|
+
ANIMATIONITERATION:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("AnimationIteration"), TRANSITIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName("TransitionEnd"), POINTERDOWN:"pointerdown", POINTERUP:"pointerup", POINTERCANCEL:"pointercancel", POINTERMOVE:"pointermove", POINTEROVER:"pointerover", POINTEROUT:"pointerout", POINTERENTER:"pointerenter", POINTERLEAVE:"pointerleave", GOTPOINTERCAPTURE:"gotpointercapture", LOSTPOINTERCAPTURE:"lostpointercapture",
|
|
7398
|
+
MSGESTURECHANGE:"MSGestureChange", MSGESTUREEND:"MSGestureEnd", MSGESTUREHOLD:"MSGestureHold", MSGESTURESTART:"MSGestureStart", MSGESTURETAP:"MSGestureTap", MSGOTPOINTERCAPTURE:"MSGotPointerCapture", MSINERTIASTART:"MSInertiaStart", MSLOSTPOINTERCAPTURE:"MSLostPointerCapture", MSPOINTERCANCEL:"MSPointerCancel", MSPOINTERDOWN:"MSPointerDown", MSPOINTERENTER:"MSPointerEnter", MSPOINTERHOVER:"MSPointerHover", MSPOINTERLEAVE:"MSPointerLeave", MSPOINTERMOVE:"MSPointerMove", MSPOINTEROUT:"MSPointerOut",
|
|
7399
|
+
MSPOINTEROVER:"MSPointerOver", MSPOINTERUP:"MSPointerUp", TEXT:"text", TEXTINPUT:"textInput", COMPOSITIONSTART:"compositionstart", COMPOSITIONUPDATE:"compositionupdate", COMPOSITIONEND:"compositionend", BEFOREINPUT:"beforeinput", FULLSCREENCHANGE:"fullscreenchange", WEBKITBEGINFULLSCREEN:"webkitbeginfullscreen", WEBKITENDFULLSCREEN:"webkitendfullscreen", EXIT:"exit", LOADABORT:"loadabort", LOADCOMMIT:"loadcommit", LOADREDIRECT:"loadredirect", LOADSTART:"loadstart", LOADSTOP:"loadstop", RESPONSIVE:"responsive",
|
|
7400
|
+
SIZECHANGED:"sizechanged", UNRESPONSIVE:"unresponsive", VISIBILITYCHANGE:"visibilitychange", STORAGE:"storage", BEFOREPRINT:"beforeprint", AFTERPRINT:"afterprint", BEFOREINSTALLPROMPT:"beforeinstallprompt", APPINSTALLED:"appinstalled", CANCEL:"cancel", FINISH:"finish", REMOVE:"remove"};
|
|
7401
|
+
goog.events.EventType = module$contents$goog$events$EventType_EventType;
|
|
7402
|
+
function module$contents$goog$events$BrowserEvent_BrowserEvent(opt_e, opt_currentTarget) {
|
|
7358
7403
|
goog.events.Event.call(this, opt_e ? opt_e.type : "");
|
|
7359
7404
|
this.relatedTarget = this.currentTarget = this.target = null;
|
|
7360
7405
|
this.button = this.screenY = this.screenX = this.clientY = this.clientX = this.offsetY = this.offsetX = 0;
|
|
@@ -7368,20 +7413,20 @@ goog.events.BrowserEvent = function(opt_e, opt_currentTarget) {
|
|
|
7368
7413
|
this.timeStamp = 0;
|
|
7369
7414
|
this.event_ = null;
|
|
7370
7415
|
opt_e && this.init(opt_e, opt_currentTarget);
|
|
7371
|
-
}
|
|
7372
|
-
goog.inherits(goog
|
|
7373
|
-
goog
|
|
7374
|
-
goog
|
|
7375
|
-
goog
|
|
7376
|
-
goog
|
|
7416
|
+
}
|
|
7417
|
+
goog.inherits(module$contents$goog$events$BrowserEvent_BrowserEvent, goog.events.Event);
|
|
7418
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY = !1;
|
|
7419
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.MouseButton = {LEFT:0, MIDDLE:1, RIGHT:2, BACK:3, FORWARD:4};
|
|
7420
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.PointerType = {MOUSE:"mouse", PEN:"pen", TOUCH:"touch"};
|
|
7421
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.prototype.init = function(e, opt_currentTarget) {
|
|
7377
7422
|
var type = this.type = e.type, relevantTouch = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : null;
|
|
7378
7423
|
this.target = e.target || e.srcElement;
|
|
7379
7424
|
this.currentTarget = opt_currentTarget;
|
|
7380
7425
|
var relatedTarget = e.relatedTarget;
|
|
7381
|
-
relatedTarget || (type == goog
|
|
7426
|
+
relatedTarget || (type == module$contents$goog$events$EventType_EventType.MOUSEOVER ? relatedTarget = e.fromElement : type == module$contents$goog$events$EventType_EventType.MOUSEOUT && (relatedTarget = e.toElement));
|
|
7382
7427
|
this.relatedTarget = relatedTarget;
|
|
7383
|
-
relevantTouch ? (this.clientX = relevantTouch.clientX !== void 0 ? relevantTouch.clientX : relevantTouch.pageX, this.clientY = relevantTouch.clientY !== void 0 ? relevantTouch.clientY : relevantTouch.pageY, this.screenX = relevantTouch.screenX || 0, this.screenY = relevantTouch.screenY || 0) : (goog
|
|
7384
|
-
e.offsetX !== void 0 ? e.offsetX : e.layerX, this.offsetY = goog.userAgent.WEBKIT || e.offsetY !== void 0 ? e.offsetY : e.layerY), this.clientX = e.clientX !== void 0 ? e.clientX : e.pageX, this.clientY = e.clientY !== void 0 ? e.clientY : e.pageY, this.screenX = e.screenX || 0, this.screenY = e.screenY || 0);
|
|
7428
|
+
relevantTouch ? (this.clientX = relevantTouch.clientX !== void 0 ? relevantTouch.clientX : relevantTouch.pageX, this.clientY = relevantTouch.clientY !== void 0 ? relevantTouch.clientY : relevantTouch.pageY, this.screenX = relevantTouch.screenX || 0, this.screenY = relevantTouch.screenY || 0) : (module$contents$goog$events$BrowserEvent_BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY ? (this.offsetX = e.layerX !== void 0 ? e.layerX : e.offsetX, this.offsetY = e.layerY !== void 0 ? e.layerY : e.offsetY) :
|
|
7429
|
+
(this.offsetX = goog.userAgent.WEBKIT || e.offsetX !== void 0 ? e.offsetX : e.layerX, this.offsetY = goog.userAgent.WEBKIT || e.offsetY !== void 0 ? e.offsetY : e.layerY), this.clientX = e.clientX !== void 0 ? e.clientX : e.pageX, this.clientY = e.clientY !== void 0 ? e.clientY : e.pageY, this.screenX = e.screenX || 0, this.screenY = e.screenY || 0);
|
|
7385
7430
|
this.button = e.button;
|
|
7386
7431
|
this.keyCode = e.keyCode || 0;
|
|
7387
7432
|
this.key = e.key || "";
|
|
@@ -7392,33 +7437,34 @@ goog.events.BrowserEvent.prototype.init = function(e, opt_currentTarget) {
|
|
|
7392
7437
|
this.metaKey = e.metaKey;
|
|
7393
7438
|
this.platformModifierKey = goog.userAgent.MAC ? e.metaKey : e.ctrlKey;
|
|
7394
7439
|
this.pointerId = e.pointerId || 0;
|
|
7395
|
-
this.pointerType = goog
|
|
7440
|
+
this.pointerType = module$contents$goog$events$BrowserEvent_BrowserEvent.getPointerType_(e);
|
|
7396
7441
|
this.state = e.state;
|
|
7397
7442
|
this.timeStamp = e.timeStamp;
|
|
7398
7443
|
this.event_ = e;
|
|
7399
|
-
e.defaultPrevented && goog
|
|
7444
|
+
e.defaultPrevented && module$contents$goog$events$BrowserEvent_BrowserEvent.superClass_.preventDefault.call(this);
|
|
7400
7445
|
};
|
|
7401
|
-
goog
|
|
7446
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.prototype.isButton = function(button) {
|
|
7402
7447
|
return this.event_.button == button;
|
|
7403
7448
|
};
|
|
7404
|
-
goog
|
|
7405
|
-
return this.isButton(goog
|
|
7449
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.prototype.isMouseActionButton = function() {
|
|
7450
|
+
return this.isButton(module$contents$goog$events$BrowserEvent_BrowserEvent.MouseButton.LEFT) && !(goog.userAgent.MAC && this.ctrlKey);
|
|
7406
7451
|
};
|
|
7407
|
-
goog
|
|
7408
|
-
goog
|
|
7452
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.prototype.stopPropagation = function() {
|
|
7453
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.superClass_.stopPropagation.call(this);
|
|
7409
7454
|
this.event_.stopPropagation ? this.event_.stopPropagation() : this.event_.cancelBubble = !0;
|
|
7410
7455
|
};
|
|
7411
|
-
goog
|
|
7412
|
-
goog
|
|
7456
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.prototype.preventDefault = function() {
|
|
7457
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.superClass_.preventDefault.call(this);
|
|
7413
7458
|
var be = this.event_;
|
|
7414
7459
|
be.preventDefault ? be.preventDefault() : be.returnValue = !1;
|
|
7415
7460
|
};
|
|
7416
|
-
goog
|
|
7461
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.prototype.getBrowserEvent = function() {
|
|
7417
7462
|
return this.event_;
|
|
7418
7463
|
};
|
|
7419
|
-
goog
|
|
7464
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.getPointerType_ = function(e) {
|
|
7420
7465
|
return e.pointerType;
|
|
7421
7466
|
};
|
|
7467
|
+
goog.events.BrowserEvent = module$contents$goog$events$BrowserEvent_BrowserEvent;
|
|
7422
7468
|
goog.events.Listenable = function() {
|
|
7423
7469
|
};
|
|
7424
7470
|
goog.events.Listenable.IMPLEMENTED_BY_PROP = "closure_listenable_" + (Math.random() * 1E6 | 0);
|
|
@@ -7768,7 +7814,7 @@ goog.events.protectBrowserEventEntryPoint = function(errorHandler) {
|
|
|
7768
7814
|
goog.events.handleBrowserEvent_ = errorHandler.protectEntryPoint(goog.events.handleBrowserEvent_);
|
|
7769
7815
|
};
|
|
7770
7816
|
goog.events.handleBrowserEvent_ = function(listener, opt_evt) {
|
|
7771
|
-
return listener.removed ? !0 : goog.events.fireListener(listener, new goog
|
|
7817
|
+
return listener.removed ? !0 : goog.events.fireListener(listener, new module$contents$goog$events$BrowserEvent_BrowserEvent(opt_evt, this));
|
|
7772
7818
|
};
|
|
7773
7819
|
goog.events.markIeEvent_ = function(e) {
|
|
7774
7820
|
var useReturnValue = !1;
|
|
@@ -15500,51 +15546,51 @@ goog.Promise.Resolver_ = function(promise, resolve, reject) {
|
|
|
15500
15546
|
this.resolve = resolve;
|
|
15501
15547
|
this.reject = reject;
|
|
15502
15548
|
};
|
|
15503
|
-
goog
|
|
15549
|
+
function module$contents$goog$Timer_Timer(opt_interval, opt_timerObject) {
|
|
15504
15550
|
goog.events.EventTarget.call(this);
|
|
15505
15551
|
this.interval_ = opt_interval || 1;
|
|
15506
|
-
this.timerObject_ = opt_timerObject || goog.
|
|
15552
|
+
this.timerObject_ = opt_timerObject || module$contents$goog$Timer_Timer.defaultTimerObject;
|
|
15507
15553
|
this.boundTick_ = goog.bind(this.tick_, this);
|
|
15508
15554
|
this.last_ = goog.now();
|
|
15509
|
-
}
|
|
15510
|
-
goog.inherits(goog
|
|
15511
|
-
goog.
|
|
15512
|
-
goog.
|
|
15513
|
-
goog.
|
|
15514
|
-
goog.
|
|
15515
|
-
goog.
|
|
15516
|
-
goog.
|
|
15517
|
-
goog.
|
|
15555
|
+
}
|
|
15556
|
+
goog.inherits(module$contents$goog$Timer_Timer, goog.events.EventTarget);
|
|
15557
|
+
module$contents$goog$Timer_Timer.MAX_TIMEOUT_ = 2147483647;
|
|
15558
|
+
module$contents$goog$Timer_Timer.INVALID_TIMEOUT_ID_ = -1;
|
|
15559
|
+
module$contents$goog$Timer_Timer.prototype.enabled = !1;
|
|
15560
|
+
module$contents$goog$Timer_Timer.defaultTimerObject = goog.global;
|
|
15561
|
+
module$contents$goog$Timer_Timer.intervalScale = .8;
|
|
15562
|
+
module$contents$goog$Timer_Timer.prototype.timer_ = null;
|
|
15563
|
+
module$contents$goog$Timer_Timer.prototype.getInterval = function() {
|
|
15518
15564
|
return this.interval_;
|
|
15519
15565
|
};
|
|
15520
|
-
goog.
|
|
15566
|
+
module$contents$goog$Timer_Timer.prototype.setInterval = function(interval) {
|
|
15521
15567
|
this.interval_ = interval;
|
|
15522
15568
|
this.timer_ && this.enabled ? (this.stop(), this.start()) : this.timer_ && this.stop();
|
|
15523
15569
|
};
|
|
15524
|
-
goog.
|
|
15570
|
+
module$contents$goog$Timer_Timer.prototype.tick_ = function() {
|
|
15525
15571
|
if (this.enabled) {
|
|
15526
15572
|
var elapsed = goog.now() - this.last_;
|
|
15527
|
-
elapsed > 0 && elapsed < this.interval_ * goog.
|
|
15573
|
+
elapsed > 0 && elapsed < this.interval_ * module$contents$goog$Timer_Timer.intervalScale ? this.timer_ = this.timerObject_.setTimeout(this.boundTick_, this.interval_ - elapsed) : (this.timer_ && (this.timerObject_.clearTimeout(this.timer_), this.timer_ = null), this.dispatchTick(), this.enabled && (this.stop(), this.start()));
|
|
15528
15574
|
}
|
|
15529
15575
|
};
|
|
15530
|
-
goog.
|
|
15531
|
-
this.dispatchEvent(goog.
|
|
15576
|
+
module$contents$goog$Timer_Timer.prototype.dispatchTick = function() {
|
|
15577
|
+
this.dispatchEvent(module$contents$goog$Timer_Timer.TICK);
|
|
15532
15578
|
};
|
|
15533
|
-
goog.
|
|
15579
|
+
module$contents$goog$Timer_Timer.prototype.start = function() {
|
|
15534
15580
|
this.enabled = !0;
|
|
15535
15581
|
this.timer_ || (this.timer_ = this.timerObject_.setTimeout(this.boundTick_, this.interval_), this.last_ = goog.now());
|
|
15536
15582
|
};
|
|
15537
|
-
goog.
|
|
15583
|
+
module$contents$goog$Timer_Timer.prototype.stop = function() {
|
|
15538
15584
|
this.enabled = !1;
|
|
15539
15585
|
this.timer_ && (this.timerObject_.clearTimeout(this.timer_), this.timer_ = null);
|
|
15540
15586
|
};
|
|
15541
|
-
goog.
|
|
15542
|
-
goog.
|
|
15587
|
+
module$contents$goog$Timer_Timer.prototype.disposeInternal = function() {
|
|
15588
|
+
module$contents$goog$Timer_Timer.superClass_.disposeInternal.call(this);
|
|
15543
15589
|
this.stop();
|
|
15544
15590
|
delete this.timerObject_;
|
|
15545
15591
|
};
|
|
15546
|
-
goog.
|
|
15547
|
-
goog.
|
|
15592
|
+
module$contents$goog$Timer_Timer.TICK = "tick";
|
|
15593
|
+
module$contents$goog$Timer_Timer.callOnce = function(listener, opt_delay, opt_handler) {
|
|
15548
15594
|
if (typeof listener === "function") {
|
|
15549
15595
|
opt_handler && (listener = goog.bind(listener, opt_handler));
|
|
15550
15596
|
} else if (listener && typeof listener.handleEvent == "function") {
|
|
@@ -15552,23 +15598,24 @@ goog.Timer.callOnce = function(listener, opt_delay, opt_handler) {
|
|
|
15552
15598
|
} else {
|
|
15553
15599
|
throw Error("Invalid listener argument");
|
|
15554
15600
|
}
|
|
15555
|
-
return Number(opt_delay) > goog.
|
|
15601
|
+
return Number(opt_delay) > module$contents$goog$Timer_Timer.MAX_TIMEOUT_ ? module$contents$goog$Timer_Timer.INVALID_TIMEOUT_ID_ : module$contents$goog$Timer_Timer.defaultTimerObject.setTimeout(listener, opt_delay || 0);
|
|
15556
15602
|
};
|
|
15557
|
-
goog.
|
|
15558
|
-
goog.
|
|
15603
|
+
module$contents$goog$Timer_Timer.clear = function(timerId) {
|
|
15604
|
+
module$contents$goog$Timer_Timer.defaultTimerObject.clearTimeout(timerId);
|
|
15559
15605
|
};
|
|
15560
|
-
goog.
|
|
15606
|
+
module$contents$goog$Timer_Timer.promise = function(delay, opt_result) {
|
|
15561
15607
|
var timerKey = null;
|
|
15562
15608
|
return (new goog.Promise(function(resolve, reject) {
|
|
15563
|
-
timerKey = goog.
|
|
15609
|
+
timerKey = module$contents$goog$Timer_Timer.callOnce(function() {
|
|
15564
15610
|
resolve(opt_result);
|
|
15565
15611
|
}, delay);
|
|
15566
|
-
timerKey == goog.
|
|
15612
|
+
timerKey == module$contents$goog$Timer_Timer.INVALID_TIMEOUT_ID_ && reject(Error("Failed to schedule timer."));
|
|
15567
15613
|
})).thenCatch(function(error) {
|
|
15568
|
-
goog.
|
|
15614
|
+
module$contents$goog$Timer_Timer.clear(timerKey);
|
|
15569
15615
|
throw error;
|
|
15570
15616
|
});
|
|
15571
15617
|
};
|
|
15618
|
+
goog.Timer = module$contents$goog$Timer_Timer;
|
|
15572
15619
|
var module$contents$goog$async$Throttle_Throttle = function(listener, interval, handler) {
|
|
15573
15620
|
goog.Disposable.call(this);
|
|
15574
15621
|
this.listener_ = handler != null ? listener.bind(handler) : listener;
|
|
@@ -15584,7 +15631,7 @@ module$contents$goog$async$Throttle_Throttle.prototype.fire = function(var_args)
|
|
|
15584
15631
|
this.timer_ || this.pauseCount_ ? this.shouldFire_ = !0 : this.doAction_();
|
|
15585
15632
|
};
|
|
15586
15633
|
module$contents$goog$async$Throttle_Throttle.prototype.stop = function() {
|
|
15587
|
-
this.timer_ && (goog.
|
|
15634
|
+
this.timer_ && (module$contents$goog$Timer_Timer.clear(this.timer_), this.timer_ = null, this.shouldFire_ = !1, this.args_ = null);
|
|
15588
15635
|
};
|
|
15589
15636
|
module$contents$goog$async$Throttle_Throttle.prototype.pause = function() {
|
|
15590
15637
|
this.pauseCount_++;
|
|
@@ -15603,7 +15650,7 @@ module$contents$goog$async$Throttle_Throttle.prototype.onTimer_ = function() {
|
|
|
15603
15650
|
};
|
|
15604
15651
|
module$contents$goog$async$Throttle_Throttle.prototype.doAction_ = function() {
|
|
15605
15652
|
var $jscomp$this$m92829211$8 = this;
|
|
15606
|
-
this.timer_ = goog.
|
|
15653
|
+
this.timer_ = module$contents$goog$Timer_Timer.callOnce(function() {
|
|
15607
15654
|
return $jscomp$this$m92829211$8.onTimer_();
|
|
15608
15655
|
}, this.interval_);
|
|
15609
15656
|
var args = this.args_;
|
|
@@ -16326,8 +16373,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16326
16373
|
this.replacements = new Map();
|
|
16327
16374
|
};
|
|
16328
16375
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16329
|
-
var $jscomp$this$
|
|
16330
|
-
return $jscomp$this$
|
|
16376
|
+
var $jscomp$this$1018007701$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
16377
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
16331
16378
|
});
|
|
16332
16379
|
if (openedTags.length !== 0) {
|
|
16333
16380
|
if (goog.DEBUG) {
|
|
@@ -16545,8 +16592,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16545
16592
|
if (Array.isArray(token)) {
|
|
16546
16593
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16547
16594
|
} else {
|
|
16548
|
-
var $jscomp$optchain$
|
|
16549
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16595
|
+
var $jscomp$optchain$tmpm282935782$0 = void 0;
|
|
16596
|
+
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$tmpm282935782$0 = lastToken) == null ? void 0 : $jscomp$optchain$tmpm282935782$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE) {
|
|
16550
16597
|
tokens.push(token);
|
|
16551
16598
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16552
16599
|
return tokens;
|
|
@@ -16792,9 +16839,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16792
16839
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16793
16840
|
};
|
|
16794
16841
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16795
|
-
var $jscomp$this$
|
|
16842
|
+
var $jscomp$this$m282935782$26 = this;
|
|
16796
16843
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16797
|
-
return $jscomp$this$
|
|
16844
|
+
return $jscomp$this$m282935782$26.isWhitespace(c);
|
|
16798
16845
|
});
|
|
16799
16846
|
};
|
|
16800
16847
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16901,8 +16948,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16901
16948
|
return null;
|
|
16902
16949
|
}
|
|
16903
16950
|
if (token.lowercaseName === "url") {
|
|
16904
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16905
|
-
if ((($jscomp$optchain$
|
|
16951
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
|
|
16952
|
+
if ((($jscomp$optchain$tmpm1577590584$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1577590584$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16906
16953
|
return null;
|
|
16907
16954
|
}
|
|
16908
16955
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(nextToken.value);
|
|
@@ -16925,8 +16972,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16925
16972
|
if (!this.allowKeyframes) {
|
|
16926
16973
|
return null;
|
|
16927
16974
|
}
|
|
16928
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16929
|
-
var rule = $jscomp$key$
|
|
16975
|
+
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next(); !$jscomp$key$m1577590584$1$rule.done; $jscomp$key$m1577590584$1$rule = $jscomp$iter$31.next()) {
|
|
16976
|
+
var rule = $jscomp$key$m1577590584$1$rule.value;
|
|
16930
16977
|
if (rule instanceof CSSKeyframeRule) {
|
|
16931
16978
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16932
16979
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16938,8 +16985,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16938
16985
|
if (!this.propertyAllowlist.has(name)) {
|
|
16939
16986
|
return !1;
|
|
16940
16987
|
}
|
|
16941
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16942
|
-
var discarder = $jscomp$key$
|
|
16988
|
+
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next(); !$jscomp$key$m1577590584$2$discarder.done; $jscomp$key$m1577590584$2$discarder = $jscomp$iter$32.next()) {
|
|
16989
|
+
var discarder = $jscomp$key$m1577590584$2$discarder.value;
|
|
16943
16990
|
if (discarder(name)) {
|
|
16944
16991
|
return !1;
|
|
16945
16992
|
}
|
|
@@ -16954,8 +17001,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16954
17001
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16955
17002
|
};
|
|
16956
17003
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16957
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16958
|
-
var name = $jscomp$key$
|
|
17004
|
+
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next(); !$jscomp$key$m1577590584$3$name.done; $jscomp$key$m1577590584$3$name = $jscomp$iter$33.next()) {
|
|
17005
|
+
var name = $jscomp$key$m1577590584$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16959
17006
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16960
17007
|
}
|
|
16961
17008
|
return sanitizedProperties;
|
|
@@ -16969,8 +17016,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16969
17016
|
return selector + " { " + sanitizedProperties + " }";
|
|
16970
17017
|
};
|
|
16971
17018
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16972
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16973
|
-
var rule = $jscomp$key$
|
|
17019
|
+
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next(); !$jscomp$key$m1577590584$4$rule.done; $jscomp$key$m1577590584$4$rule = $jscomp$iter$34.next()) {
|
|
17020
|
+
var rule = $jscomp$key$m1577590584$4$rule.value;
|
|
16974
17021
|
if (rule instanceof CSSStyleRule) {
|
|
16975
17022
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16976
17023
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -17134,8 +17181,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17134
17181
|
return fragment;
|
|
17135
17182
|
};
|
|
17136
17183
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
17137
|
-
for (var $jscomp$this$
|
|
17138
|
-
return $jscomp$this$
|
|
17184
|
+
for (var $jscomp$this$m1085474118$13 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
17185
|
+
return $jscomp$this$m1085474118$13.nodeFilter(n);
|
|
17139
17186
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
17140
17187
|
var sanitizedNode = void 0;
|
|
17141
17188
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -17170,8 +17217,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17170
17217
|
return this.createTextNode(textNode.data);
|
|
17171
17218
|
};
|
|
17172
17219
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
17173
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$
|
|
17174
|
-
var $jscomp$destructuring$var30 = $jscomp$key$
|
|
17220
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$36 = (0,$jscomp.makeIterator)(dirtyAttributes), $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next(); !$jscomp$key$m1085474118$34$.done; $jscomp$key$m1085474118$34$ = $jscomp$iter$36.next()) {
|
|
17221
|
+
var $jscomp$destructuring$var30 = $jscomp$key$m1085474118$34$.value, name = $jscomp$destructuring$var30.name, value = $jscomp$destructuring$var30.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
17175
17222
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
17176
17223
|
switch(policy.policyAction) {
|
|
17177
17224
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -17203,9 +17250,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17203
17250
|
break;
|
|
17204
17251
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
17205
17252
|
if (this.resourceUrlPolicy) {
|
|
17206
|
-
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$
|
|
17253
|
+
for (var hints$jscomp$0 = {type:module$exports$safevalues$builders$html_sanitizer$url_policy.UrlPolicyHintsType.HTML_ATTRIBUTE, attributeName:name, elementName:elementName}, srcset = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(value), sanitizedSrcset = {parts:[]}, $jscomp$iter$35 = (0,$jscomp.makeIterator)(srcset.parts), $jscomp$key$m1085474118$33$part = $jscomp$iter$35.next(); !$jscomp$key$m1085474118$33$part.done; $jscomp$key$m1085474118$33$part =
|
|
17207
17254
|
$jscomp$iter$35.next()) {
|
|
17208
|
-
var part = $jscomp$key$
|
|
17255
|
+
var part = $jscomp$key$m1085474118$33$part.value, url$jscomp$0 = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(part.url), sanitizedUrl$jscomp$0 = this.resourceUrlPolicy(url$jscomp$0, hints$jscomp$0);
|
|
17209
17256
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
17210
17257
|
}
|
|
17211
17258
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -17263,8 +17310,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17263
17310
|
if (!conditions) {
|
|
17264
17311
|
return !0;
|
|
17265
17312
|
}
|
|
17266
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
17267
|
-
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17313
|
+
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next(); !$jscomp$key$m1085474118$35$.done; $jscomp$key$m1085474118$35$ = $jscomp$iter$37.next()) {
|
|
17314
|
+
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$35$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var32.next().value, expectedValues = $jscomp$destructuring$var32.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) == null ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
17268
17315
|
if (value && !expectedValues.has(value)) {
|
|
17269
17316
|
return !1;
|
|
17270
17317
|
}
|
|
@@ -17279,8 +17326,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
17279
17326
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
17280
17327
|
};
|
|
17281
17328
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
17282
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
17283
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17329
|
+
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next(); !$jscomp$key$m1085474118$36$part.done; $jscomp$key$m1085474118$36$part = $jscomp$iter$38.next()) {
|
|
17330
|
+
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$m1085474118$36$part.value.trim().split(/\s+/, 2)), url__tsickle_destructured_3 = $jscomp$destructuring$var33.next().value, descriptor__tsickle_destructured_4 = $jscomp$destructuring$var33.next().value;
|
|
17284
17331
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
17285
17332
|
}
|
|
17286
17333
|
return {parts:parts};
|
|
@@ -17337,8 +17384,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17337
17384
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17338
17385
|
};
|
|
17339
17386
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
17340
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
17341
|
-
var element = $jscomp$key$
|
|
17387
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$435282654$23$element = $jscomp$iter$39.next(); !$jscomp$key$435282654$23$element.done; $jscomp$key$435282654$23$element = $jscomp$iter$39.next()) {
|
|
17388
|
+
var element = $jscomp$key$435282654$23$element.value;
|
|
17342
17389
|
element = element.toUpperCase();
|
|
17343
17390
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17344
17391
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17356,8 +17403,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17356
17403
|
throw Error("Element: " + element + " is not a custom element");
|
|
17357
17404
|
}
|
|
17358
17405
|
if (allowedAttributes) {
|
|
17359
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17360
|
-
elementPolicy.set($jscomp$key$
|
|
17406
|
+
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$435282654$24$attribute = $jscomp$iter$40.next(); !$jscomp$key$435282654$24$attribute.done; $jscomp$key$435282654$24$attribute = $jscomp$iter$40.next()) {
|
|
17407
|
+
elementPolicy.set($jscomp$key$435282654$24$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17361
17408
|
}
|
|
17362
17409
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17363
17410
|
} else {
|
|
@@ -17367,15 +17414,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17367
17414
|
return this;
|
|
17368
17415
|
};
|
|
17369
17416
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
17370
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
17371
|
-
var attribute = $jscomp$key$
|
|
17417
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$435282654$25$attribute = $jscomp$iter$41.next(); !$jscomp$key$435282654$25$attribute.done; $jscomp$key$435282654$25$attribute = $jscomp$iter$41.next()) {
|
|
17418
|
+
var attribute = $jscomp$key$435282654$25$attribute.value;
|
|
17372
17419
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17373
17420
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17374
17421
|
}
|
|
17375
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
17376
|
-
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17422
|
+
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$27$ = $jscomp$iter$43.next(); !$jscomp$key$435282654$27$.done; $jscomp$key$435282654$27$ = $jscomp$iter$43.next()) {
|
|
17423
|
+
for (var $jscomp$destructuring$var36 = (0,$jscomp.makeIterator)($jscomp$key$435282654$27$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var36.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var36.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$42 = (0,$jscomp.makeIterator)(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$26$ = $jscomp$iter$42.next(); !$jscomp$key$435282654$26$.done; $jscomp$key$435282654$26$ =
|
|
17377
17424
|
$jscomp$iter$42.next()) {
|
|
17378
|
-
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17425
|
+
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$435282654$26$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var38.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var38.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
17379
17426
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17380
17427
|
}
|
|
17381
17428
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17390,8 +17437,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17390
17437
|
this.sanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies, globallyAllowedAttributePrefixes);
|
|
17391
17438
|
return this;
|
|
17392
17439
|
}
|
|
17393
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17394
|
-
var attribute = $jscomp$key$
|
|
17440
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$435282654$28$attribute = $jscomp$iter$44.next(); !$jscomp$key$435282654$28$attribute.done; $jscomp$key$435282654$28$attribute = $jscomp$iter$44.next()) {
|
|
17441
|
+
var attribute = $jscomp$key$435282654$28$attribute.value;
|
|
17395
17442
|
if (attribute.indexOf("data-") !== 0) {
|
|
17396
17443
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17397
17444
|
}
|
|
@@ -17461,7 +17508,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17461
17508
|
return this;
|
|
17462
17509
|
};
|
|
17463
17510
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17464
|
-
var $jscomp$this$
|
|
17511
|
+
var $jscomp$this$435282654$19 = this;
|
|
17465
17512
|
this.extendSanitizerTableForCss();
|
|
17466
17513
|
var propertyDiscarders = [];
|
|
17467
17514
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17471,9 +17518,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17471
17518
|
return /^transition(-|$)/.test(property);
|
|
17472
17519
|
});
|
|
17473
17520
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
17474
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
17521
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleElement(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$19.resourceUrlPolicy, $jscomp$this$435282654$19.animationsAllowed, propertyDiscarders);
|
|
17475
17522
|
}, function(cssText) {
|
|
17476
|
-
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$
|
|
17523
|
+
return module$contents$safevalues$builders$html_sanitizer$css$sanitizer_sanitizeStyleAttribute(cssText, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_PROPERTY_ALLOWLIST, module$exports$safevalues$builders$html_sanitizer$css$allowlists.CSS_FUNCTION_ALLOWLIST, $jscomp$this$435282654$19.resourceUrlPolicy, propertyDiscarders);
|
|
17477
17524
|
}, this.resourceUrlPolicy, this.navigationUrlPolicy, this.openShadow);
|
|
17478
17525
|
};
|
|
17479
17526
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17693,12 +17740,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17693
17740
|
}
|
|
17694
17741
|
try {
|
|
17695
17742
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17696
|
-
} catch ($jscomp$unused$catch$
|
|
17743
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
17697
17744
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17698
17745
|
}
|
|
17699
17746
|
try {
|
|
17700
17747
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17701
|
-
} catch ($jscomp$unused$catch$
|
|
17748
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
17702
17749
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17703
17750
|
}
|
|
17704
17751
|
return !1;
|
|
@@ -19162,24 +19209,25 @@ var module$contents$goog$net$ErrorCode_ErrorCode = {NO_ERROR:0, ACCESS_DENIED:1,
|
|
|
19162
19209
|
}
|
|
19163
19210
|
}};
|
|
19164
19211
|
goog.net.ErrorCode = module$contents$goog$net$ErrorCode_ErrorCode;
|
|
19165
|
-
goog
|
|
19166
|
-
goog.net.
|
|
19167
|
-
|
|
19168
|
-
|
|
19169
|
-
|
|
19212
|
+
var module$contents$goog$net$EventType_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"};
|
|
19213
|
+
goog.net.EventType = module$contents$goog$net$EventType_EventType;
|
|
19214
|
+
var module$contents$goog$net$HttpStatus_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,
|
|
19215
|
+
PROXY_AUTHENTICATION_REQUIRED:407, 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,
|
|
19216
|
+
SERVICE_UNAVAILABLE:503, GATEWAY_TIMEOUT:504, HTTP_VERSION_NOT_SUPPORTED:505, INSUFFICIENT_STORAGE:507, NETWORK_AUTHENTICATION_REQUIRED:511, QUIRK_IE_NO_CONTENT:1223, isSuccess:function(status) {
|
|
19170
19217
|
switch(status) {
|
|
19171
|
-
case goog
|
|
19172
|
-
case goog
|
|
19173
|
-
case goog
|
|
19174
|
-
case goog
|
|
19175
|
-
case goog
|
|
19176
|
-
case goog
|
|
19177
|
-
case goog
|
|
19218
|
+
case module$contents$goog$net$HttpStatus_HttpStatus.OK:
|
|
19219
|
+
case module$contents$goog$net$HttpStatus_HttpStatus.CREATED:
|
|
19220
|
+
case module$contents$goog$net$HttpStatus_HttpStatus.ACCEPTED:
|
|
19221
|
+
case module$contents$goog$net$HttpStatus_HttpStatus.NO_CONTENT:
|
|
19222
|
+
case module$contents$goog$net$HttpStatus_HttpStatus.PARTIAL_CONTENT:
|
|
19223
|
+
case module$contents$goog$net$HttpStatus_HttpStatus.NOT_MODIFIED:
|
|
19224
|
+
case module$contents$goog$net$HttpStatus_HttpStatus.QUIRK_IE_NO_CONTENT:
|
|
19178
19225
|
return !0;
|
|
19179
19226
|
default:
|
|
19180
19227
|
return !1;
|
|
19181
19228
|
}
|
|
19182
|
-
};
|
|
19229
|
+
}};
|
|
19230
|
+
goog.net.HttpStatus = module$contents$goog$net$HttpStatus_HttpStatus;
|
|
19183
19231
|
function module$contents$goog$net$XhrLike_XhrLike() {
|
|
19184
19232
|
}
|
|
19185
19233
|
module$contents$goog$net$XhrLike_XhrLike.prototype.open = function(method, url, opt_async, opt_user, opt_password) {
|
|
@@ -19243,8 +19291,8 @@ goog.net.XhrIo.sendInstances_ = [];
|
|
|
19243
19291
|
goog.net.XhrIo.send = function(url, opt_callback, opt_method, opt_content, opt_headers, opt_timeoutInterval, opt_withCredentials) {
|
|
19244
19292
|
var x = new goog.net.XhrIo();
|
|
19245
19293
|
goog.net.XhrIo.sendInstances_.push(x);
|
|
19246
|
-
opt_callback && x.listen(goog
|
|
19247
|
-
x.listenOnce(goog
|
|
19294
|
+
opt_callback && x.listen(module$contents$goog$net$EventType_EventType.COMPLETE, opt_callback);
|
|
19295
|
+
x.listenOnce(module$contents$goog$net$EventType_EventType.READY, x.cleanupSend_);
|
|
19248
19296
|
opt_timeoutInterval && x.setTimeoutInterval(opt_timeoutInterval);
|
|
19249
19297
|
opt_withCredentials && x.setWithCredentials(opt_withCredentials);
|
|
19250
19298
|
x.send(url, opt_method, opt_content, opt_headers);
|
|
@@ -19371,7 +19419,7 @@ goog.net.XhrIo.prototype.createXhr = function() {
|
|
|
19371
19419
|
return this.xmlHttpFactory_ ? this.xmlHttpFactory_.createInstance() : goog.net.XmlHttp();
|
|
19372
19420
|
};
|
|
19373
19421
|
goog.net.XhrIo.prototype.timeout_ = function() {
|
|
19374
|
-
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
|
|
19422
|
+
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(module$contents$goog$net$EventType_EventType.TIMEOUT), this.abort(module$contents$goog$net$ErrorCode_ErrorCode.TIMEOUT));
|
|
19375
19423
|
};
|
|
19376
19424
|
goog.net.XhrIo.prototype.error_ = function(errorCode, err) {
|
|
19377
19425
|
this.active_ = !1;
|
|
@@ -19382,10 +19430,10 @@ goog.net.XhrIo.prototype.error_ = function(errorCode, err) {
|
|
|
19382
19430
|
this.cleanUpXhr_();
|
|
19383
19431
|
};
|
|
19384
19432
|
goog.net.XhrIo.prototype.dispatchErrors_ = function() {
|
|
19385
|
-
this.errorDispatched_ || (this.errorDispatched_ = !0, this.dispatchEvent(goog
|
|
19433
|
+
this.errorDispatched_ || (this.errorDispatched_ = !0, this.dispatchEvent(module$contents$goog$net$EventType_EventType.COMPLETE), this.dispatchEvent(module$contents$goog$net$EventType_EventType.ERROR));
|
|
19386
19434
|
};
|
|
19387
19435
|
goog.net.XhrIo.prototype.abort = function(opt_failureCode) {
|
|
19388
|
-
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
|
|
19436
|
+
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(module$contents$goog$net$EventType_EventType.COMPLETE), this.dispatchEvent(module$contents$goog$net$EventType_EventType.ABORT), this.cleanUpXhr_());
|
|
19389
19437
|
};
|
|
19390
19438
|
goog.net.XhrIo.prototype.disposeInternal = function() {
|
|
19391
19439
|
this.xhr_ && (this.active_ && (this.active_ = !1, this.inAbort_ = !0, this.xhr_.abort(), this.inAbort_ = !1), this.cleanUpXhr_(!0));
|
|
@@ -19408,11 +19456,11 @@ goog.net.XhrIo.prototype.onReadyStateChangeHelper_ = function() {
|
|
|
19408
19456
|
if (this.inSend_ && this.getReadyState() == goog.net.XmlHttp.ReadyState.COMPLETE) {
|
|
19409
19457
|
setTimeout(this.onReadyStateChange_.bind(this), 0);
|
|
19410
19458
|
} else {
|
|
19411
|
-
if (this.dispatchEvent(goog
|
|
19459
|
+
if (this.dispatchEvent(module$contents$goog$net$EventType_EventType.READY_STATE_CHANGE), this.isComplete()) {
|
|
19412
19460
|
goog.log.fine(this.logger_, this.formatMsg_("Request complete"));
|
|
19413
19461
|
this.active_ = !1;
|
|
19414
19462
|
try {
|
|
19415
|
-
this.isSuccess() ? (this.dispatchEvent(goog
|
|
19463
|
+
this.isSuccess() ? (this.dispatchEvent(module$contents$goog$net$EventType_EventType.COMPLETE), this.dispatchEvent(module$contents$goog$net$EventType_EventType.SUCCESS)) : (this.lastErrorCode_ = module$contents$goog$net$ErrorCode_ErrorCode.HTTP_ERROR, this.lastError_ = this.getStatusText() + " [" + this.getStatus() + "]", this.dispatchErrors_());
|
|
19416
19464
|
} finally {
|
|
19417
19465
|
this.cleanUpXhr_();
|
|
19418
19466
|
}
|
|
@@ -19421,9 +19469,9 @@ goog.net.XhrIo.prototype.onReadyStateChangeHelper_ = function() {
|
|
|
19421
19469
|
}
|
|
19422
19470
|
};
|
|
19423
19471
|
goog.net.XhrIo.prototype.onProgressHandler_ = function(e, opt_isDownload) {
|
|
19424
|
-
goog.asserts.assert(e.type === goog
|
|
19425
|
-
this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(e, goog
|
|
19426
|
-
this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(e, opt_isDownload ? goog
|
|
19472
|
+
goog.asserts.assert(e.type === module$contents$goog$net$EventType_EventType.PROGRESS, "goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");
|
|
19473
|
+
this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(e, module$contents$goog$net$EventType_EventType.PROGRESS));
|
|
19474
|
+
this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(e, opt_isDownload ? module$contents$goog$net$EventType_EventType.DOWNLOAD_PROGRESS : module$contents$goog$net$EventType_EventType.UPLOAD_PROGRESS));
|
|
19427
19475
|
};
|
|
19428
19476
|
goog.net.XhrIo.buildProgressEvent_ = function(e, eventType) {
|
|
19429
19477
|
return {type:eventType, lengthComputable:e.lengthComputable, loaded:e.loaded, total:e.total};
|
|
@@ -19433,7 +19481,7 @@ goog.net.XhrIo.prototype.cleanUpXhr_ = function(opt_fromDispose) {
|
|
|
19433
19481
|
this.cleanUpTimeoutTimer_();
|
|
19434
19482
|
var xhr = this.xhr_;
|
|
19435
19483
|
this.xhr_ = null;
|
|
19436
|
-
opt_fromDispose || this.dispatchEvent(goog
|
|
19484
|
+
opt_fromDispose || this.dispatchEvent(module$contents$goog$net$EventType_EventType.READY);
|
|
19437
19485
|
try {
|
|
19438
19486
|
xhr.onreadystatechange = null;
|
|
19439
19487
|
} catch (e) {
|
|
@@ -19452,7 +19500,7 @@ goog.net.XhrIo.prototype.isComplete = function() {
|
|
|
19452
19500
|
};
|
|
19453
19501
|
goog.net.XhrIo.prototype.isSuccess = function() {
|
|
19454
19502
|
var status = this.getStatus();
|
|
19455
|
-
return goog
|
|
19503
|
+
return module$contents$goog$net$HttpStatus_HttpStatus.isSuccess(status) || status === 0 && !this.isLastUriEffectiveSchemeHttp_();
|
|
19456
19504
|
};
|
|
19457
19505
|
goog.net.XhrIo.prototype.isLastUriEffectiveSchemeHttp_ = function() {
|
|
19458
19506
|
var scheme = module$contents$goog$uri$utils_getEffectiveScheme(String(this.lastUri_));
|
|
@@ -19579,7 +19627,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19579
19627
|
ee.apiclient = {};
|
|
19580
19628
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19581
19629
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19582
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19630
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.13";
|
|
19583
19631
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19584
19632
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19585
19633
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19884,8 +19932,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19884
19932
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19885
19933
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19886
19934
|
method = method || "POST";
|
|
19887
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19888
|
-
version === "1.7.
|
|
19935
|
+
var headers = {"Content-Type":contentType}, version = "1.7.13";
|
|
19936
|
+
version === "1.7.13" && (version = "latest");
|
|
19889
19937
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19890
19938
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19891
19939
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -19898,7 +19946,7 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19898
19946
|
});
|
|
19899
19947
|
}), null;
|
|
19900
19948
|
}
|
|
19901
|
-
params = params ? params.clone() : new goog.
|
|
19949
|
+
params = params ? params.clone() : new module$contents$goog$Uri_Uri.QueryData();
|
|
19902
19950
|
module$contents$ee$apiclient_apiclient.cloudApiKey_ != null && params.add("key", module$contents$ee$apiclient_apiclient.cloudApiKey_);
|
|
19903
19951
|
profileHookAtCallTime && (headers[module$contents$ee$apiclient_apiclient.PROFILE_REQUEST_HEADER] = "1");
|
|
19904
19952
|
module$contents$ee$apiclient_apiclient.getProject() && module$contents$ee$apiclient_apiclient.getProject() !== module$contents$ee$apiclient_apiclient.DEFAULT_PROJECT_ && (headers[module$contents$ee$apiclient_apiclient.USER_PROJECT_OVERRIDE_HEADER_] = module$contents$ee$apiclient_apiclient.getProject());
|
|
@@ -20014,7 +20062,7 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
20014
20062
|
}
|
|
20015
20063
|
};
|
|
20016
20064
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
20017
|
-
for (var request = new goog.
|
|
20065
|
+
for (var request = new module$contents$goog$Uri_Uri.QueryData(), $jscomp$iter$48 = (0,$jscomp.makeIterator)(Object.entries(params)), $jscomp$key$m1153655765$103$ = $jscomp$iter$48.next(); !$jscomp$key$m1153655765$103$.done; $jscomp$key$m1153655765$103$ = $jscomp$iter$48.next()) {
|
|
20018
20066
|
var $jscomp$destructuring$var48 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$103$.value), name = $jscomp$destructuring$var48.next().value, item = $jscomp$destructuring$var48.next().value;
|
|
20019
20067
|
request.set(name, item);
|
|
20020
20068
|
}
|
|
@@ -22660,7 +22708,7 @@ ee.ApiFunction.lookup = function(name) {
|
|
|
22660
22708
|
goog.exportSymbol("ee.ApiFunction.lookup", ee.ApiFunction.lookup);
|
|
22661
22709
|
ee.ApiFunction.lookupInternal = function(name) {
|
|
22662
22710
|
ee.ApiFunction.initialize();
|
|
22663
|
-
return ee.ApiFunction.api_[name]
|
|
22711
|
+
return ee.ApiFunction.api_.hasOwnProperty(name) ? ee.ApiFunction.api_[name] : null;
|
|
22664
22712
|
};
|
|
22665
22713
|
ee.ApiFunction.initialize = function(opt_successCallback, opt_failureCallback) {
|
|
22666
22714
|
if (ee.ApiFunction.api_) {
|
|
@@ -22684,23 +22732,28 @@ ee.ApiFunction.reset = function() {
|
|
|
22684
22732
|
};
|
|
22685
22733
|
ee.ApiFunction.importApi = function(target, prefix, typeName, opt_prepend) {
|
|
22686
22734
|
ee.ApiFunction.initialize();
|
|
22687
|
-
var prepend = opt_prepend || "";
|
|
22688
|
-
|
|
22689
|
-
|
|
22690
|
-
|
|
22691
|
-
var
|
|
22692
|
-
|
|
22693
|
-
|
|
22694
|
-
|
|
22695
|
-
|
|
22696
|
-
|
|
22735
|
+
var prepend = opt_prepend || "", api = ee.ApiFunction.api_, $jscomp$loop$2006059326$0 = {}, name;
|
|
22736
|
+
for (name in api) {
|
|
22737
|
+
if ($jscomp$loop$2006059326$0 = {apiFunc:void 0, isInstance$jscomp$2:void 0}, Object.prototype.hasOwnProperty.call(api, name)) {
|
|
22738
|
+
$jscomp$loop$2006059326$0.apiFunc = api[name];
|
|
22739
|
+
var parts = name.split(".");
|
|
22740
|
+
if (parts.length === 2 && parts[0] === prefix) {
|
|
22741
|
+
var fname = prepend + parts[1], signature = $jscomp$loop$2006059326$0.apiFunc.getSignature();
|
|
22742
|
+
ee.ApiFunction.boundSignatures_[name] = !0;
|
|
22743
|
+
$jscomp$loop$2006059326$0.isInstance$jscomp$2 = !1;
|
|
22744
|
+
if (signature.args.length) {
|
|
22745
|
+
var firstArgType = signature.args[0].type;
|
|
22746
|
+
$jscomp$loop$2006059326$0.isInstance$jscomp$2 = firstArgType != "Object" && ee.Types.isSubtype(firstArgType, typeName);
|
|
22747
|
+
}
|
|
22748
|
+
var destination = $jscomp$loop$2006059326$0.isInstance$jscomp$2 ? target.prototype : target;
|
|
22749
|
+
fname in destination && !destination[fname].signature || (destination[fname] = function($jscomp$loop$2006059326$0) {
|
|
22750
|
+
return function(var_args) {
|
|
22751
|
+
return $jscomp$loop$2006059326$0.apiFunc.callOrApply($jscomp$loop$2006059326$0.isInstance$jscomp$2 ? this : void 0, Array.prototype.slice.call(arguments, 0));
|
|
22752
|
+
};
|
|
22753
|
+
}($jscomp$loop$2006059326$0), destination[fname].toString = goog.bind($jscomp$loop$2006059326$0.apiFunc.toString, $jscomp$loop$2006059326$0.apiFunc, fname, $jscomp$loop$2006059326$0.isInstance$jscomp$2), destination[fname].signature = signature);
|
|
22697
22754
|
}
|
|
22698
|
-
var destination = isInstance ? target.prototype : target;
|
|
22699
|
-
fname in destination && !destination[fname].signature || (destination[fname] = function(var_args) {
|
|
22700
|
-
return apiFunc.callOrApply(isInstance ? this : void 0, Array.prototype.slice.call(arguments, 0));
|
|
22701
|
-
}, destination[fname].toString = goog.bind(apiFunc.toString, apiFunc, fname, isInstance), destination[fname].signature = signature);
|
|
22702
22755
|
}
|
|
22703
|
-
}
|
|
22756
|
+
}
|
|
22704
22757
|
};
|
|
22705
22758
|
ee.ApiFunction.clearApi = function(target) {
|
|
22706
22759
|
var clear = function(target) {
|
|
@@ -25289,7 +25342,7 @@ module$contents$goog$fs$ProgressEvent_GoogProgressEvent.prototype.getTotal = fun
|
|
|
25289
25342
|
return this.event_.total;
|
|
25290
25343
|
};
|
|
25291
25344
|
goog.fs.ProgressEvent = module$contents$goog$fs$ProgressEvent_GoogProgressEvent;
|
|
25292
|
-
goog
|
|
25345
|
+
function module$contents$goog$fs$FileReader_GoogFileReader() {
|
|
25293
25346
|
goog.events.EventTarget.call(this);
|
|
25294
25347
|
this.reader_ = new FileReader();
|
|
25295
25348
|
this.reader_.onloadstart = goog.bind(this.dispatchProgressEvent_, this);
|
|
@@ -25298,74 +25351,75 @@ goog.fs.FileReader = function() {
|
|
|
25298
25351
|
this.reader_.onabort = goog.bind(this.dispatchProgressEvent_, this);
|
|
25299
25352
|
this.reader_.onerror = goog.bind(this.dispatchProgressEvent_, this);
|
|
25300
25353
|
this.reader_.onloadend = goog.bind(this.dispatchProgressEvent_, this);
|
|
25301
|
-
}
|
|
25302
|
-
goog.inherits(goog
|
|
25303
|
-
goog
|
|
25304
|
-
goog
|
|
25305
|
-
goog
|
|
25354
|
+
}
|
|
25355
|
+
goog.inherits(module$contents$goog$fs$FileReader_GoogFileReader, goog.events.EventTarget);
|
|
25356
|
+
module$contents$goog$fs$FileReader_GoogFileReader.ReadyState = {INIT:0, LOADING:1, DONE:2};
|
|
25357
|
+
module$contents$goog$fs$FileReader_GoogFileReader.EventType = {LOAD_START:"loadstart", PROGRESS:"progress", LOAD:"load", ABORT:"abort", ERROR:"error", LOAD_END:"loadend"};
|
|
25358
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.abort = function() {
|
|
25306
25359
|
try {
|
|
25307
25360
|
this.reader_.abort();
|
|
25308
25361
|
} catch (e) {
|
|
25309
25362
|
throw new module$contents$goog$fs$Error_FsError(e, "aborting read");
|
|
25310
25363
|
}
|
|
25311
25364
|
};
|
|
25312
|
-
goog
|
|
25365
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.getReadyState = function() {
|
|
25313
25366
|
return this.reader_.readyState;
|
|
25314
25367
|
};
|
|
25315
|
-
goog
|
|
25368
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.getResult = function() {
|
|
25316
25369
|
return this.reader_.result;
|
|
25317
25370
|
};
|
|
25318
|
-
goog
|
|
25371
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.getError = function() {
|
|
25319
25372
|
return this.reader_.error && new module$contents$goog$fs$Error_FsError(this.reader_.error, "reading file");
|
|
25320
25373
|
};
|
|
25321
|
-
goog
|
|
25374
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.dispatchProgressEvent_ = function(event) {
|
|
25322
25375
|
this.dispatchEvent(new module$contents$goog$fs$ProgressEvent_GoogProgressEvent(event, this));
|
|
25323
25376
|
};
|
|
25324
|
-
goog
|
|
25325
|
-
goog
|
|
25377
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.disposeInternal = function() {
|
|
25378
|
+
module$contents$goog$fs$FileReader_GoogFileReader.superClass_.disposeInternal.call(this);
|
|
25326
25379
|
delete this.reader_;
|
|
25327
25380
|
};
|
|
25328
|
-
goog
|
|
25381
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.readAsBinaryString = function(blob) {
|
|
25329
25382
|
this.reader_.readAsBinaryString(blob);
|
|
25330
25383
|
};
|
|
25331
|
-
goog
|
|
25332
|
-
var reader = new goog
|
|
25384
|
+
module$contents$goog$fs$FileReader_GoogFileReader.readAsBinaryString = function(blob) {
|
|
25385
|
+
var reader = new module$contents$goog$fs$FileReader_GoogFileReader(), d = module$contents$goog$fs$FileReader_GoogFileReader.createDeferred_(reader);
|
|
25333
25386
|
reader.readAsBinaryString(blob);
|
|
25334
25387
|
return d;
|
|
25335
25388
|
};
|
|
25336
|
-
goog
|
|
25389
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.readAsArrayBuffer = function(blob) {
|
|
25337
25390
|
this.reader_.readAsArrayBuffer(blob);
|
|
25338
25391
|
};
|
|
25339
|
-
goog
|
|
25340
|
-
var reader = new goog
|
|
25392
|
+
module$contents$goog$fs$FileReader_GoogFileReader.readAsArrayBuffer = function(blob) {
|
|
25393
|
+
var reader = new module$contents$goog$fs$FileReader_GoogFileReader(), d = module$contents$goog$fs$FileReader_GoogFileReader.createDeferred_(reader);
|
|
25341
25394
|
reader.readAsArrayBuffer(blob);
|
|
25342
25395
|
return d;
|
|
25343
25396
|
};
|
|
25344
|
-
goog
|
|
25397
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.readAsText = function(blob, opt_encoding) {
|
|
25345
25398
|
this.reader_.readAsText(blob, opt_encoding);
|
|
25346
25399
|
};
|
|
25347
|
-
goog
|
|
25348
|
-
var reader = new goog
|
|
25400
|
+
module$contents$goog$fs$FileReader_GoogFileReader.readAsText = function(blob, opt_encoding) {
|
|
25401
|
+
var reader = new module$contents$goog$fs$FileReader_GoogFileReader(), d = module$contents$goog$fs$FileReader_GoogFileReader.createDeferred_(reader);
|
|
25349
25402
|
reader.readAsText(blob, opt_encoding);
|
|
25350
25403
|
return d;
|
|
25351
25404
|
};
|
|
25352
|
-
goog
|
|
25405
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.readAsDataUrl = function(blob) {
|
|
25353
25406
|
this.reader_.readAsDataURL(blob);
|
|
25354
25407
|
};
|
|
25355
|
-
goog
|
|
25356
|
-
var reader = new goog
|
|
25408
|
+
module$contents$goog$fs$FileReader_GoogFileReader.readAsDataUrl = function(blob) {
|
|
25409
|
+
var reader = new module$contents$goog$fs$FileReader_GoogFileReader(), d = module$contents$goog$fs$FileReader_GoogFileReader.createDeferred_(reader);
|
|
25357
25410
|
reader.readAsDataUrl(blob);
|
|
25358
25411
|
return d;
|
|
25359
25412
|
};
|
|
25360
|
-
goog
|
|
25413
|
+
module$contents$goog$fs$FileReader_GoogFileReader.createDeferred_ = function(reader) {
|
|
25361
25414
|
var deferred = new goog.async.Deferred();
|
|
25362
|
-
reader.listen(goog
|
|
25415
|
+
reader.listen(module$contents$goog$fs$FileReader_GoogFileReader.EventType.LOAD_END, goog.partial(function(d, r, e) {
|
|
25363
25416
|
var result = r.getResult(), error = r.getError();
|
|
25364
25417
|
result == null || error ? d.errback(error) : d.callback(result);
|
|
25365
25418
|
r.dispose();
|
|
25366
25419
|
}, deferred, reader));
|
|
25367
25420
|
return deferred;
|
|
25368
25421
|
};
|
|
25422
|
+
goog.fs.FileReader = module$contents$goog$fs$FileReader_GoogFileReader;
|
|
25369
25423
|
goog.dom.vendor = {};
|
|
25370
25424
|
function module$contents$goog$dom$vendor_getVendorJsPrefix() {
|
|
25371
25425
|
return goog.userAgent.WEBKIT ? "Webkit" : goog.userAgent.GECKO ? "Moz" : null;
|
|
@@ -26297,10 +26351,10 @@ ee.layers.AbstractTile.prototype.startLoad = function() {
|
|
|
26297
26351
|
this.loadingStartTs_ = (new Date()).getTime();
|
|
26298
26352
|
this.xhrIo_ = new goog.net.XhrIo();
|
|
26299
26353
|
this.xhrIo_.setResponseType(goog.net.XhrIo.ResponseType.BLOB);
|
|
26300
|
-
this.xhrIo_.listen(goog
|
|
26301
|
-
var blob = $jscomp$this$800656669$27.xhrIo_.getResponse(), status = $jscomp$this$800656669$27.xhrIo_.getStatus()
|
|
26302
|
-
status ==
|
|
26303
|
-
if (
|
|
26354
|
+
this.xhrIo_.listen(module$contents$goog$net$EventType_EventType.COMPLETE, function(event) {
|
|
26355
|
+
var blob = $jscomp$this$800656669$27.xhrIo_.getResponse(), status = $jscomp$this$800656669$27.xhrIo_.getStatus();
|
|
26356
|
+
status == module$contents$goog$net$HttpStatus_HttpStatus.TOO_MANY_REQUESTS && $jscomp$this$800656669$27.setStatus(ee.layers.AbstractTile.Status.THROTTLED);
|
|
26357
|
+
if (module$contents$goog$net$HttpStatus_HttpStatus.isSuccess(status)) {
|
|
26304
26358
|
var sourceResponseHeaders = {};
|
|
26305
26359
|
module$contents$goog$object_forEach($jscomp$this$800656669$27.xhrIo_.getResponseHeaders(), function(value, name) {
|
|
26306
26360
|
sourceResponseHeaders[name.toLowerCase()] = value;
|
|
@@ -26309,8 +26363,8 @@ ee.layers.AbstractTile.prototype.startLoad = function() {
|
|
|
26309
26363
|
$jscomp$this$800656669$27.sourceData = blob;
|
|
26310
26364
|
$jscomp$this$800656669$27.finishLoad();
|
|
26311
26365
|
} else if (blob) {
|
|
26312
|
-
var reader = new goog
|
|
26313
|
-
reader.listen(goog
|
|
26366
|
+
var reader = new module$contents$goog$fs$FileReader_GoogFileReader();
|
|
26367
|
+
reader.listen(module$contents$goog$fs$FileReader_GoogFileReader.EventType.LOAD_END, function() {
|
|
26314
26368
|
$jscomp$this$800656669$27.retryLoad(reader.getResult());
|
|
26315
26369
|
}, void 0);
|
|
26316
26370
|
reader.readAsText(blob);
|
|
@@ -26318,7 +26372,7 @@ ee.layers.AbstractTile.prototype.startLoad = function() {
|
|
|
26318
26372
|
$jscomp$this$800656669$27.retryLoad("Failed to load tile.");
|
|
26319
26373
|
}
|
|
26320
26374
|
}, !1);
|
|
26321
|
-
this.xhrIo_.listenOnce(goog
|
|
26375
|
+
this.xhrIo_.listenOnce(module$contents$goog$net$EventType_EventType.READY, goog.partial(module$contents$goog$dispose_dispose, this.xhrIo_));
|
|
26322
26376
|
this.sourceUrl && this.sourceUrl.endsWith("&profiling=1") && (this.sourceUrl = this.sourceUrl.replace("&profiling=1", ""), this.xhrIo_.headers.set(module$contents$ee$apiclient_apiclient.PROFILE_REQUEST_HEADER, "1"));
|
|
26323
26377
|
this.xhrIo_.send(this.sourceUrl, "GET");
|
|
26324
26378
|
};
|
|
@@ -26402,25 +26456,22 @@ ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryTile =
|
|
|
26402
26456
|
};
|
|
26403
26457
|
$jscomp.inherits(ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryTile, ee.layers.AbstractTile);
|
|
26404
26458
|
ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryTile.prototype.finishLoad = function() {
|
|
26405
|
-
var reader = new goog
|
|
26406
|
-
reader.listen(goog
|
|
26459
|
+
var reader = new module$contents$goog$fs$FileReader_GoogFileReader();
|
|
26460
|
+
reader.listen(module$contents$goog$fs$FileReader_GoogFileReader.EventType.LOAD_END, function() {
|
|
26407
26461
|
this.buffer_ = reader.getResult();
|
|
26408
26462
|
ee.layers.AbstractTile.prototype.finishLoad.call(this);
|
|
26409
26463
|
}, void 0, this);
|
|
26410
26464
|
reader.readAsArrayBuffer(this.sourceData);
|
|
26411
26465
|
};
|
|
26412
|
-
|
|
26466
|
+
var module$contents$goog$net$ImageLoader_ImageLoader = function(opt_parent) {
|
|
26413
26467
|
goog.events.EventTarget.call(this);
|
|
26414
26468
|
this.imageIdToRequestMap_ = {};
|
|
26415
26469
|
this.imageIdToImageMap_ = {};
|
|
26416
26470
|
this.handler_ = new module$contents$goog$events$EventHandler_EventHandler(this);
|
|
26417
26471
|
this.parent_ = opt_parent;
|
|
26418
26472
|
this.completionFired_ = !1;
|
|
26419
|
-
}
|
|
26420
|
-
|
|
26421
|
-
module$contents$goog$net$ImageLoader_ImageLoader.CorsRequestType = {ANONYMOUS:"anonymous", USE_CREDENTIALS:"use-credentials"};
|
|
26422
|
-
var module$contents$goog$net$ImageLoader_ImageRequest;
|
|
26423
|
-
module$contents$goog$net$ImageLoader_ImageLoader.IMAGE_LOAD_EVENTS_ = [goog.events.EventType.LOAD, goog.net.EventType.ABORT, goog.net.EventType.ERROR];
|
|
26473
|
+
};
|
|
26474
|
+
$jscomp.inherits(module$contents$goog$net$ImageLoader_ImageLoader, goog.events.EventTarget);
|
|
26424
26475
|
module$contents$goog$net$ImageLoader_ImageLoader.prototype.addImage = function(id, image, opt_corsRequestType) {
|
|
26425
26476
|
var src = typeof image === "string" ? image : image.src;
|
|
26426
26477
|
src && (this.completionFired_ = !1, this.imageIdToRequestMap_[id] = {src:src, corsRequestType:opt_corsRequestType !== void 0 ? opt_corsRequestType : null});
|
|
@@ -26450,28 +26501,31 @@ module$contents$goog$net$ImageLoader_ImageLoader.prototype.loadImage_ = function
|
|
|
26450
26501
|
module$contents$goog$net$ImageLoader_ImageLoader.prototype.onNetworkEvent_ = function(evt) {
|
|
26451
26502
|
var image = evt.currentTarget;
|
|
26452
26503
|
if (image) {
|
|
26453
|
-
if (evt.type == goog
|
|
26454
|
-
if (image.readyState == goog
|
|
26455
|
-
evt.type = goog
|
|
26504
|
+
if (evt.type == module$contents$goog$net$EventType_EventType.READY_STATE_CHANGE) {
|
|
26505
|
+
if (image.readyState == module$contents$goog$net$EventType_EventType.COMPLETE) {
|
|
26506
|
+
evt.type = module$contents$goog$events$EventType_EventType.LOAD;
|
|
26456
26507
|
} else {
|
|
26457
26508
|
return;
|
|
26458
26509
|
}
|
|
26459
26510
|
}
|
|
26460
|
-
typeof image.naturalWidth == "undefined" && (evt.type == goog
|
|
26511
|
+
typeof image.naturalWidth == "undefined" && (evt.type == module$contents$goog$events$EventType_EventType.LOAD ? (image.naturalWidth = image.width, image.naturalHeight = image.height) : (image.naturalWidth = 0, image.naturalHeight = 0));
|
|
26461
26512
|
this.removeImage(image.id);
|
|
26462
26513
|
this.dispatchEvent({type:evt.type, target:image});
|
|
26463
26514
|
this.isDisposed() || this.maybeFireCompletionEvent_();
|
|
26464
26515
|
}
|
|
26465
26516
|
};
|
|
26466
26517
|
module$contents$goog$net$ImageLoader_ImageLoader.prototype.maybeFireCompletionEvent_ = function() {
|
|
26467
|
-
module$contents$goog$object_isEmpty(this.imageIdToImageMap_) && module$contents$goog$object_isEmpty(this.imageIdToRequestMap_) && !this.completionFired_ && (this.completionFired_ = !0, this.dispatchEvent(goog
|
|
26518
|
+
module$contents$goog$object_isEmpty(this.imageIdToImageMap_) && module$contents$goog$object_isEmpty(this.imageIdToRequestMap_) && !this.completionFired_ && (this.completionFired_ = !0, this.dispatchEvent(module$contents$goog$net$EventType_EventType.COMPLETE));
|
|
26468
26519
|
};
|
|
26469
26520
|
module$contents$goog$net$ImageLoader_ImageLoader.prototype.disposeInternal = function() {
|
|
26470
26521
|
delete this.imageIdToRequestMap_;
|
|
26471
26522
|
delete this.imageIdToImageMap_;
|
|
26472
26523
|
module$contents$goog$dispose_dispose(this.handler_);
|
|
26473
|
-
|
|
26524
|
+
goog.events.EventTarget.prototype.disposeInternal.call(this);
|
|
26474
26525
|
};
|
|
26526
|
+
module$contents$goog$net$ImageLoader_ImageLoader.CorsRequestType = {ANONYMOUS:"anonymous", USE_CREDENTIALS:"use-credentials"};
|
|
26527
|
+
var module$contents$goog$net$ImageLoader_ImageRequest;
|
|
26528
|
+
module$contents$goog$net$ImageLoader_ImageLoader.IMAGE_LOAD_EVENTS_ = [module$contents$goog$events$EventType_EventType.LOAD, module$contents$goog$net$EventType_EventType.ABORT, module$contents$goog$net$EventType_EventType.ERROR];
|
|
26475
26529
|
goog.net.ImageLoader = module$contents$goog$net$ImageLoader_ImageLoader;
|
|
26476
26530
|
ee_root.third_party.earthengine_api.javascript.layers.imageoverlay = {};
|
|
26477
26531
|
ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageOverlay = function(tileSource, opt_options) {
|
|
@@ -26500,7 +26554,7 @@ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.pro
|
|
|
26500
26554
|
this.imageLoader_ = new module$contents$goog$net$ImageLoader_ImageLoader();
|
|
26501
26555
|
this.imageLoader_.addImage(this.div.id + "-image", imageUrl);
|
|
26502
26556
|
this.imageLoaderListenerKey_ = goog.events.listenOnce(this.imageLoader_, ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.IMAGE_LOADER_EVENTS_, function(event) {
|
|
26503
|
-
event.type == goog
|
|
26557
|
+
event.type == module$contents$goog$events$EventType_EventType.LOAD ? (this.imageEl = event.target, ee.layers.AbstractTile.prototype.finishLoad.call(this)) : this.retryLoad();
|
|
26504
26558
|
}, void 0, this);
|
|
26505
26559
|
this.imageLoader_.start();
|
|
26506
26560
|
};
|
|
@@ -26515,7 +26569,7 @@ ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.pro
|
|
|
26515
26569
|
ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.defaultRenderer_ = function(tile) {
|
|
26516
26570
|
tile.div.appendChild(tile.imageEl);
|
|
26517
26571
|
};
|
|
26518
|
-
ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.IMAGE_LOADER_EVENTS_ = [goog
|
|
26572
|
+
ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageTile.IMAGE_LOADER_EVENTS_ = [module$contents$goog$events$EventType_EventType.LOAD, module$contents$goog$net$EventType_EventType.ABORT, module$contents$goog$net$EventType_EventType.ERROR];
|
|
26519
26573
|
goog.string.path = {};
|
|
26520
26574
|
function module$contents$goog$string$path_baseName(path) {
|
|
26521
26575
|
var i = path.lastIndexOf("/") + 1;
|
|
@@ -27102,7 +27156,7 @@ ee.MapTileManager.Request_.prototype.hasReachedMaxRetries = function() {
|
|
|
27102
27156
|
return this.attemptCount_ > this.maxRetries_;
|
|
27103
27157
|
};
|
|
27104
27158
|
ee.MapTileManager.Request_.prototype.setAborted = function(aborted) {
|
|
27105
|
-
aborted && !this.aborted_ && (this.aborted_ = aborted, this.event_ = new goog.events.Event(goog
|
|
27159
|
+
aborted && !this.aborted_ && (this.aborted_ = aborted, this.event_ = new goog.events.Event(module$contents$goog$net$EventType_EventType.ABORT));
|
|
27106
27160
|
};
|
|
27107
27161
|
ee.MapTileManager.Request_.prototype.getAborted = function() {
|
|
27108
27162
|
return this.aborted_;
|
|
@@ -27112,12 +27166,12 @@ ee.MapTileManager.Request_.prototype.handleImageEvent_ = function(e) {
|
|
|
27112
27166
|
this.markCompleted_();
|
|
27113
27167
|
} else {
|
|
27114
27168
|
switch(e.type) {
|
|
27115
|
-
case goog
|
|
27169
|
+
case module$contents$goog$events$EventType_EventType.LOAD:
|
|
27116
27170
|
this.handleSuccess_(e);
|
|
27117
27171
|
this.markCompleted_();
|
|
27118
27172
|
break;
|
|
27119
|
-
case goog
|
|
27120
|
-
case goog
|
|
27173
|
+
case module$contents$goog$net$EventType_EventType.ERROR:
|
|
27174
|
+
case module$contents$goog$net$EventType_EventType.ABORT:
|
|
27121
27175
|
this.handleError_(e);
|
|
27122
27176
|
}
|
|
27123
27177
|
}
|
|
@@ -27150,10 +27204,10 @@ ee.MapTileManager.Request_.prototype.start_ = function() {
|
|
|
27150
27204
|
var actuallyLoadImage = goog.bind(function(imageUrl) {
|
|
27151
27205
|
this.getAborted() || (this.imageLoader_.addImage(this.id_, imageUrl), this.addImageEventListener(), this.imageLoader_.start());
|
|
27152
27206
|
}, this), sourceUrl = this.getUrl();
|
|
27153
|
-
if (goog.
|
|
27207
|
+
if (module$contents$goog$Uri_Uri.parse(sourceUrl).getQueryData().containsKey("profiling")) {
|
|
27154
27208
|
var xhrIo = new goog.net.XhrIo();
|
|
27155
27209
|
xhrIo.setResponseType(goog.net.XhrIo.ResponseType.BLOB);
|
|
27156
|
-
xhrIo.listen(goog
|
|
27210
|
+
xhrIo.listen(module$contents$goog$net$EventType_EventType.COMPLETE, goog.bind(function(event) {
|
|
27157
27211
|
this.profileId_ = xhrIo.getResponseHeader(module$contents$ee$apiclient_apiclient.PROFILE_HEADER) || null;
|
|
27158
27212
|
if (xhrIo.getStatus() >= 200 && xhrIo.getStatus() < 300) {
|
|
27159
27213
|
try {
|
|
@@ -27164,7 +27218,7 @@ ee.MapTileManager.Request_.prototype.start_ = function() {
|
|
|
27164
27218
|
}
|
|
27165
27219
|
actuallyLoadImage(ok ? objectUrl : sourceUrl);
|
|
27166
27220
|
}, this));
|
|
27167
|
-
xhrIo.listenOnce(goog
|
|
27221
|
+
xhrIo.listenOnce(module$contents$goog$net$EventType_EventType.READY, goog.bind(xhrIo.dispose, xhrIo));
|
|
27168
27222
|
xhrIo.send(sourceUrl, "GET");
|
|
27169
27223
|
} else {
|
|
27170
27224
|
actuallyLoadImage(sourceUrl);
|
|
@@ -27177,7 +27231,7 @@ ee.MapTileManager.Request_.prototype.imageLoader_ = null;
|
|
|
27177
27231
|
ee.MapTileManager.Request_.prototype.token_ = null;
|
|
27178
27232
|
ee.MapTileManager.Request_.prototype.event_ = null;
|
|
27179
27233
|
ee.MapTileManager.Request_.prototype.profileId_ = null;
|
|
27180
|
-
ee.MapTileManager.Request_.IMAGE_LOADER_EVENT_TYPES_ = [goog
|
|
27234
|
+
ee.MapTileManager.Request_.IMAGE_LOADER_EVENT_TYPES_ = [module$contents$goog$events$EventType_EventType.LOAD, module$contents$goog$net$EventType_EventType.ABORT, module$contents$goog$net$EventType_EventType.ERROR];
|
|
27181
27235
|
ee.MapTileManager.Token_ = function() {
|
|
27182
27236
|
goog.Disposable.call(this);
|
|
27183
27237
|
this.active_ = !1;
|
|
@@ -27264,11 +27318,11 @@ ee.MapLayerOverlay.prototype.setOpacity = function(opacity) {
|
|
|
27264
27318
|
});
|
|
27265
27319
|
};
|
|
27266
27320
|
ee.MapLayerOverlay.prototype.handleImageCompleted_ = function(div, tileId, e, profileId) {
|
|
27267
|
-
if (e.type == goog
|
|
27321
|
+
if (e.type == module$contents$goog$net$EventType_EventType.ERROR) {
|
|
27268
27322
|
module$contents$goog$array_remove(this.tilesLoading, tileId), this.tilesFailed.add(tileId), this.dispatchEvent(e);
|
|
27269
27323
|
} else {
|
|
27270
27324
|
module$contents$goog$array_remove(this.tilesLoading, tileId);
|
|
27271
|
-
if (e.target && e.type == goog
|
|
27325
|
+
if (e.target && e.type == module$contents$goog$events$EventType_EventType.LOAD) {
|
|
27272
27326
|
var tile = e.target;
|
|
27273
27327
|
this.tiles_.add(tile);
|
|
27274
27328
|
this.opacity_ != 1 && goog.style.setOpacity(tile, this.opacity_);
|
|
@@ -27301,13 +27355,13 @@ module$contents$goog$async$Delay_Delay.prototype.disposeInternal = function() {
|
|
|
27301
27355
|
};
|
|
27302
27356
|
module$contents$goog$async$Delay_Delay.prototype.start = function(opt_interval) {
|
|
27303
27357
|
this.stop();
|
|
27304
|
-
this.id_ = goog.
|
|
27358
|
+
this.id_ = module$contents$goog$Timer_Timer.callOnce(this.callback_, opt_interval !== void 0 ? opt_interval : this.interval_);
|
|
27305
27359
|
};
|
|
27306
27360
|
module$contents$goog$async$Delay_Delay.prototype.startIfNotActive = function(opt_interval) {
|
|
27307
27361
|
this.isActive() || this.start(opt_interval);
|
|
27308
27362
|
};
|
|
27309
27363
|
module$contents$goog$async$Delay_Delay.prototype.stop = function() {
|
|
27310
|
-
this.isActive() && goog.
|
|
27364
|
+
this.isActive() && module$contents$goog$Timer_Timer.clear(this.id_);
|
|
27311
27365
|
this.id_ = 0;
|
|
27312
27366
|
};
|
|
27313
27367
|
module$contents$goog$async$Delay_Delay.prototype.fire = function() {
|
|
@@ -27391,7 +27445,7 @@ ee.data.Profiler.prototype.refresh_ = function(retryAttempt) {
|
|
|
27391
27445
|
var marker = {};
|
|
27392
27446
|
this.lastRefreshToken_ = marker;
|
|
27393
27447
|
var handleResponse = function(result, error) {
|
|
27394
|
-
marker == $jscomp$this$722023317$13.lastRefreshToken_ && (error && typeof retryAttempt === "number" && retryAttempt < $jscomp$this$722023317$13.MAX_RETRY_COUNT_ ? goog.
|
|
27448
|
+
marker == $jscomp$this$722023317$13.lastRefreshToken_ && (error && typeof retryAttempt === "number" && retryAttempt < $jscomp$this$722023317$13.MAX_RETRY_COUNT_ ? module$contents$goog$Timer_Timer.callOnce(goog.bind($jscomp$this$722023317$13.refresh_, $jscomp$this$722023317$13, retryAttempt + 1), 2 * ee.data.Profiler.DELAY_BEFORE_REFRESH_) : ($jscomp$this$722023317$13.profileError_ = error || null, $jscomp$this$722023317$13.profileData_ = error ? ee.data.Profiler.getEmptyProfile_($jscomp$this$722023317$13.format_) :
|
|
27395
27449
|
result, $jscomp$this$722023317$13.lastRefreshToken_ = null, $jscomp$this$722023317$13.dispatchEvent(ee.data.Profiler.EventType.STATE_CHANGED), $jscomp$this$722023317$13.dispatchEvent(ee.data.Profiler.EventType.DATA_CHANGED)));
|
|
27396
27450
|
}, ids = module$contents$goog$object_getKeys(this.profileIds_);
|
|
27397
27451
|
ids.length === 0 ? handleResponse(ee.data.Profiler.getEmptyProfile_(this.format_), void 0) : (ee.ApiFunction._apply(this.showInternal_ ? "Profile.getProfilesInternal" : "Profile.getProfiles", {ids:ids, format:this.format_.toString()}).getInfo(handleResponse), this.dispatchEvent(ee.data.Profiler.EventType.STATE_CHANGED));
|
|
@@ -27435,28 +27489,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27435
27489
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27436
27490
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27437
27491
|
(function() {
|
|
27438
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27439
|
-
orderedParamLists = [["name", "
|
|
27440
|
-
"
|
|
27441
|
-
|
|
27442
|
-
"collection opt_description
|
|
27443
|
-
"
|
|
27444
|
-
["assetId", "
|
|
27445
|
-
|
|
27446
|
-
["
|
|
27447
|
-
[
|
|
27448
|
-
["
|
|
27449
|
-
["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "
|
|
27450
|
-
["
|
|
27451
|
-
[ee.ApiFunction.
|
|
27452
|
-
module$contents$ee$batch_Export.
|
|
27453
|
-
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.
|
|
27454
|
-
ee.data.
|
|
27455
|
-
ee.data.
|
|
27456
|
-
ee.
|
|
27457
|
-
ee.Filter.
|
|
27458
|
-
ee.Image.prototype.
|
|
27459
|
-
ee.ImageCollection
|
|
27492
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._call ee.ApiFunction._apply ee.ApiFunction.lookup ee.batch.Export.image.toDrive ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.table.toAsset ee.batch.Export.image.toAsset ee.batch.Export.video.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.table.toFeatureView ee.batch.Export.table.toCloudStorage ee.batch.Export.map.toCloudStorage ee.Collection.prototype.sort ee.Collection.prototype.filter ee.Collection.prototype.filterBounds ee.Collection.prototype.map ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.copyAsset ee.data.getTaskListWithLimit ee.data.deleteAsset ee.data.getThumbId ee.data.cancelOperation ee.data.getAsset ee.data.computeValue ee.data.authenticateViaOauth ee.data.getAssetAcl ee.data.getInfo ee.data.getVideoThumbId ee.data.listFeatures ee.data.getOperation ee.data.setAssetAcl ee.data.makeDownloadUrl ee.data.getList ee.data.getTableDownloadId ee.data.listAssets ee.data.getFilmstripThumbId ee.data.cancelTask ee.data.listImages ee.data.authenticate ee.data.makeThumbUrl ee.data.updateAsset ee.data.updateTask ee.data.getDownloadId ee.data.listBuckets ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.startProcessing ee.data.setAssetProperties ee.data.getAssetRootQuota ee.data.authenticateViaPrivateKey ee.data.makeTableDownloadUrl ee.data.getAssetRoots ee.data.setWorkloadTag ee.data.getWorkloadTag ee.data.newTaskId ee.data.createAssetHome ee.data.setDefaultWorkloadTag ee.data.getMapId ee.data.startIngestion ee.data.resetWorkloadTag ee.data.createAsset ee.data.getTaskStatus ee.data.getTileUrl ee.data.createFolder ee.data.getTaskList ee.data.renameAsset ee.data.listOperations ee.data.startTableIngestion ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.apply ee.initialize ee.TILE_SIZE ee.Algorithms ee.call ee.reset ee.InitState ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMapId ee.Feature.prototype.getInfo ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.Filter.lt ee.Filter.or ee.Filter.and ee.Filter.prototype.not ee.Filter.eq ee.Filter ee.Filter.date ee.Filter.metadata ee.Filter.lte ee.Filter.gt ee.Filter.bounds ee.Filter.inList ee.Filter.neq ee.Filter.gte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.LinearRing ee.Geometry.MultiPoint ee.Geometry.MultiPolygon ee.Geometry.Rectangle ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Geometry.Polygon ee.Geometry.LineString ee.Geometry ee.Geometry.BBox ee.Geometry.prototype.toGeoJSONString ee.Geometry.Point ee.Geometry.prototype.serialize ee.Image.prototype.expression ee.Image.prototype.select ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.clip ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.prototype.rename ee.Image.cat ee.Image ee.Image.prototype.getThumbURL ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.select ee.ImageCollection ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getVideoThumbURL ee.List ee.Number ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
|
|
27493
|
+
orderedParamLists = [["name", "var_args"], ["name", "namedArgs"], ["name"], "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(" "), "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(" "),
|
|
27494
|
+
"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(" "), "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_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
27495
|
+
["classifier", "opt_description", "opt_assetId", "opt_priority"], "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
27496
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices 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(" "), ["property", "opt_ascending"],
|
|
27497
|
+
["filter"], ["geometry"], ["algorithm", "opt_dropNulls"], ["name", "operator", "value"], ["start", "opt_end"], ["algorithm", "opt_first"], ["max", "opt_property", "opt_ascending"], ["func", "var_args"], ["callback"], ["opt_callback"], ["legacy"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["operationName", "opt_callback"], ["id", "opt_callback"], ["obj", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),
|
|
27498
|
+
["assetId", "opt_callback"], ["id", "opt_callback"], ["params", "opt_callback"], ["asset", "params", "opt_callback"], ["operationName", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["id"], ["params", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["id"], ["assetId",
|
|
27499
|
+
"asset", "updateFields", "opt_callback"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["project", "opt_callback"], ["opt_success", "opt_error"], ["params", "opt_callback"], ["taskId", "params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["rootId", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["id"], ["opt_callback"], ["tag"], [], ["opt_count", "opt_callback"], ["requestedId", "opt_callback"],
|
|
27500
|
+
["tag"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["opt_resetDefault"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["taskId", "opt_callback"], ["id", "x", "y", "z"], ["path", "opt_force", "opt_callback"], ["opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], ["func", "namedArgs"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
27501
|
+
[], [], ["func", "var_args"], [], [], ["var_args"], [], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["args", "opt_column"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["name", "value"], ["var_args"], ["var_args"], [], ["name", "value"], ["opt_filter"],
|
|
27502
|
+
["start", "opt_end"], ["name", "operator", "value"], ["name", "value"], ["name", "value"], ["geometry", "opt_errorMargin"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["name", "value"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic",
|
|
27503
|
+
"opt_maxError"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["west", "south", "east", "north"], [], ["coords", "opt_proj"], ["legacy"], ["expression", "opt_map"], ["var_args"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["geometry"], ["params", "opt_callback"], ["r", "g", "b"], ["var_args"], ["var_args"], ["opt_args"], ["params", "opt_callback"],
|
|
27504
|
+
["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["params", "opt_callback"], ["selectors", "opt_names"], ["args"], ["opt_visParams", "opt_callback"], [], ["params", "opt_callback"], ["list"], ["number"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27505
|
+
[ee.ApiFunction._call, ee.ApiFunction._apply, ee.ApiFunction.lookup, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage,
|
|
27506
|
+
module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.map.toCloudStorage, ee.Collection.prototype.sort, ee.Collection.prototype.filter, ee.Collection.prototype.filterBounds, ee.Collection.prototype.map, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterDate, ee.Collection.prototype.iterate, ee.Collection.prototype.limit, ee.ComputedObject.prototype.aside,
|
|
27507
|
+
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.copyAsset, ee.data.getTaskListWithLimit, ee.data.deleteAsset, ee.data.getThumbId, ee.data.cancelOperation, ee.data.getAsset, ee.data.computeValue, ee.data.authenticateViaOauth, ee.data.getAssetAcl, ee.data.getInfo, ee.data.getVideoThumbId, ee.data.listFeatures, ee.data.getOperation, ee.data.setAssetAcl, ee.data.makeDownloadUrl, ee.data.getList, ee.data.getTableDownloadId, ee.data.listAssets,
|
|
27508
|
+
ee.data.getFilmstripThumbId, ee.data.cancelTask, ee.data.listImages, ee.data.authenticate, ee.data.makeThumbUrl, ee.data.updateAsset, ee.data.updateTask, ee.data.getDownloadId, ee.data.listBuckets, ee.data.authenticateViaPopup, ee.data.getFeatureViewTilesKey, ee.data.startProcessing, ee.data.setAssetProperties, ee.data.getAssetRootQuota, ee.data.authenticateViaPrivateKey, ee.data.makeTableDownloadUrl, ee.data.getAssetRoots, ee.data.setWorkloadTag, ee.data.getWorkloadTag, ee.data.newTaskId, ee.data.createAssetHome,
|
|
27509
|
+
ee.data.setDefaultWorkloadTag, ee.data.getMapId, ee.data.startIngestion, ee.data.resetWorkloadTag, ee.data.createAsset, ee.data.getTaskStatus, ee.data.getTileUrl, ee.data.createFolder, ee.data.getTaskList, ee.data.renameAsset, ee.data.listOperations, ee.data.startTableIngestion, ee.Date, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Dictionary, ee.apply, ee.initialize, ee.TILE_SIZE, ee.Algorithms, ee.call, ee.reset, ee.InitState,
|
|
27510
|
+
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMapId, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMap, ee.Feature, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getDownloadURL, ee.Filter.lt, ee.Filter.or, ee.Filter.and, ee.Filter.prototype.not, ee.Filter.eq, ee.Filter, ee.Filter.date, ee.Filter.metadata,
|
|
27511
|
+
ee.Filter.lte, ee.Filter.gt, ee.Filter.bounds, ee.Filter.inList, ee.Filter.neq, ee.Filter.gte, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.LinearRing, ee.Geometry.MultiPoint, ee.Geometry.MultiPolygon, ee.Geometry.Rectangle, ee.Geometry.MultiLineString, ee.Geometry.prototype.toGeoJSON, ee.Geometry.Polygon, ee.Geometry.LineString, ee.Geometry, ee.Geometry.BBox, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.Point, ee.Geometry.prototype.serialize, ee.Image.prototype.expression,
|
|
27512
|
+
ee.Image.prototype.select, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.clip, ee.Image.prototype.getThumbId, ee.Image.rgb, ee.Image.prototype.rename, ee.Image.cat, ee.Image, ee.Image.prototype.getThumbURL, ee.Image.prototype.getMap, ee.Image.prototype.getDownloadURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.select,
|
|
27513
|
+
ee.ImageCollection, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getVideoThumbURL, ee.List, ee.Number, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27460
27514
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27461
27515
|
});
|
|
27462
27516
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|