@google/earthengine 1.7.9 → 1.7.12
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 +416 -384
- package/build/ee_api_js.js +400 -399
- package/build/ee_api_js_debug.js +393 -362
- package/build/ee_api_js_npm.js +416 -384
- package/build/main.js +416 -384
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/apifunction.js +56 -42
- package/src/floattileoverlay.js +1 -1
- package/src/layers/abstractoverlay.js +3 -3
- package/src/maptilemanager.js +3 -3
package/build/main.js
CHANGED
|
@@ -256,18 +256,29 @@ $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.getNextAddress = function() {
|
|
260
|
+
return this.nextAddress;
|
|
261
|
+
};
|
|
262
|
+
$jscomp.generator.Context.prototype.getNextAddress = $jscomp.generator.Context.prototype.getNextAddress;
|
|
263
|
+
$jscomp.generator.Context.prototype.getYieldResult = function() {
|
|
264
|
+
return this.yieldResult;
|
|
265
|
+
};
|
|
266
|
+
$jscomp.generator.Context.prototype.getYieldResult = $jscomp.generator.Context.prototype.getYieldResult;
|
|
259
267
|
$jscomp.generator.Context.prototype.return = function(value) {
|
|
260
268
|
this.abruptCompletion_ = {return:value};
|
|
261
269
|
this.nextAddress = this.finallyAddress_;
|
|
262
270
|
};
|
|
271
|
+
$jscomp.generator.Context.prototype["return"] = $jscomp.generator.Context.prototype.return;
|
|
263
272
|
$jscomp.generator.Context.prototype.jumpThroughFinallyBlocks = function(nextAddress) {
|
|
264
273
|
this.abruptCompletion_ = {jumpTo:nextAddress};
|
|
265
274
|
this.nextAddress = this.finallyAddress_;
|
|
266
275
|
};
|
|
276
|
+
$jscomp.generator.Context.prototype.jumpThroughFinallyBlocks = $jscomp.generator.Context.prototype.jumpThroughFinallyBlocks;
|
|
267
277
|
$jscomp.generator.Context.prototype.yield = function(value, resumeAddress) {
|
|
268
278
|
this.nextAddress = resumeAddress;
|
|
269
279
|
return {value:value};
|
|
270
280
|
};
|
|
281
|
+
$jscomp.generator.Context.prototype.yield = $jscomp.generator.Context.prototype.yield;
|
|
271
282
|
$jscomp.generator.Context.prototype.yieldAll = function(iterable, resumeAddress) {
|
|
272
283
|
var iterator = $jscomp.makeIterator(iterable), result = iterator.next();
|
|
273
284
|
$jscomp.generator.ensureIteratorResultIsObject_(result);
|
|
@@ -277,35 +288,43 @@ $jscomp.generator.Context.prototype.yieldAll = function(iterable, resumeAddress)
|
|
|
277
288
|
return this.yieldAllIterator_ = iterator, this.yield(result.value, resumeAddress);
|
|
278
289
|
}
|
|
279
290
|
};
|
|
291
|
+
$jscomp.generator.Context.prototype.yieldAll = $jscomp.generator.Context.prototype.yieldAll;
|
|
280
292
|
$jscomp.generator.Context.prototype.jumpTo = function(nextAddress) {
|
|
281
293
|
this.nextAddress = nextAddress;
|
|
282
294
|
};
|
|
295
|
+
$jscomp.generator.Context.prototype.jumpTo = $jscomp.generator.Context.prototype.jumpTo;
|
|
283
296
|
$jscomp.generator.Context.prototype.jumpToEnd = function() {
|
|
284
297
|
this.nextAddress = 0;
|
|
285
298
|
};
|
|
299
|
+
$jscomp.generator.Context.prototype.jumpToEnd = $jscomp.generator.Context.prototype.jumpToEnd;
|
|
286
300
|
$jscomp.generator.Context.prototype.setCatchFinallyBlocks = function(catchAddress, finallyAddress) {
|
|
287
301
|
this.catchAddress_ = catchAddress;
|
|
288
302
|
finallyAddress != void 0 && (this.finallyAddress_ = finallyAddress);
|
|
289
303
|
};
|
|
304
|
+
$jscomp.generator.Context.prototype.setCatchFinallyBlocks = $jscomp.generator.Context.prototype.setCatchFinallyBlocks;
|
|
290
305
|
$jscomp.generator.Context.prototype.setFinallyBlock = function(finallyAddress) {
|
|
291
306
|
this.catchAddress_ = 0;
|
|
292
307
|
this.finallyAddress_ = finallyAddress || 0;
|
|
293
308
|
};
|
|
309
|
+
$jscomp.generator.Context.prototype.setFinallyBlock = $jscomp.generator.Context.prototype.setFinallyBlock;
|
|
294
310
|
$jscomp.generator.Context.prototype.leaveTryBlock = function(nextAddress, catchAddress) {
|
|
295
311
|
this.nextAddress = nextAddress;
|
|
296
312
|
this.catchAddress_ = catchAddress || 0;
|
|
297
313
|
};
|
|
314
|
+
$jscomp.generator.Context.prototype.leaveTryBlock = $jscomp.generator.Context.prototype.leaveTryBlock;
|
|
298
315
|
$jscomp.generator.Context.prototype.enterCatchBlock = function(nextCatchBlockAddress) {
|
|
299
316
|
this.catchAddress_ = nextCatchBlockAddress || 0;
|
|
300
317
|
var exception = this.abruptCompletion_.exception;
|
|
301
318
|
this.abruptCompletion_ = null;
|
|
302
319
|
return exception;
|
|
303
320
|
};
|
|
321
|
+
$jscomp.generator.Context.prototype.enterCatchBlock = $jscomp.generator.Context.prototype.enterCatchBlock;
|
|
304
322
|
$jscomp.generator.Context.prototype.enterFinallyBlock = function(nextCatchAddress, nextFinallyAddress, finallyDepth) {
|
|
305
323
|
finallyDepth ? this.finallyContexts_[finallyDepth] = this.abruptCompletion_ : this.finallyContexts_ = [this.abruptCompletion_];
|
|
306
324
|
this.catchAddress_ = nextCatchAddress || 0;
|
|
307
325
|
this.finallyAddress_ = nextFinallyAddress || 0;
|
|
308
326
|
};
|
|
327
|
+
$jscomp.generator.Context.prototype.enterFinallyBlock = $jscomp.generator.Context.prototype.enterFinallyBlock;
|
|
309
328
|
$jscomp.generator.Context.prototype.leaveFinallyBlock = function(nextAddress, finallyDepth) {
|
|
310
329
|
var preservedContext = this.finallyContexts_.splice(finallyDepth || 0)[0], abruptCompletion = this.abruptCompletion_ = this.abruptCompletion_ || preservedContext;
|
|
311
330
|
if (abruptCompletion) {
|
|
@@ -317,9 +336,11 @@ $jscomp.generator.Context.prototype.leaveFinallyBlock = function(nextAddress, fi
|
|
|
317
336
|
this.nextAddress = nextAddress;
|
|
318
337
|
}
|
|
319
338
|
};
|
|
339
|
+
$jscomp.generator.Context.prototype.leaveFinallyBlock = $jscomp.generator.Context.prototype.leaveFinallyBlock;
|
|
320
340
|
$jscomp.generator.Context.prototype.forIn = function(object) {
|
|
321
341
|
return new $jscomp.generator.Context.PropertyIterator(object);
|
|
322
342
|
};
|
|
343
|
+
$jscomp.generator.Context.prototype.forIn = $jscomp.generator.Context.prototype.forIn;
|
|
323
344
|
$jscomp.generator.Context.PropertyIterator = function(object) {
|
|
324
345
|
this.object_ = object;
|
|
325
346
|
this.properties_ = [];
|
|
@@ -337,6 +358,7 @@ $jscomp.generator.Context.PropertyIterator.prototype.getNext = function() {
|
|
|
337
358
|
}
|
|
338
359
|
return null;
|
|
339
360
|
};
|
|
361
|
+
$jscomp.generator.Context.PropertyIterator.prototype.getNext = $jscomp.generator.Context.PropertyIterator.prototype.getNext;
|
|
340
362
|
$jscomp.generator.Engine_ = function(program) {
|
|
341
363
|
this.context_ = new $jscomp.generator.Context();
|
|
342
364
|
this.program_ = program;
|
|
@@ -2245,9 +2267,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2245
2267
|
};
|
|
2246
2268
|
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
2269
|
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$
|
|
2270
|
+
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 =
|
|
2271
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
2272
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
2251
2273
|
if (value != null) {
|
|
2252
2274
|
var copy = void 0;
|
|
2253
2275
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2258,11 +2280,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2258
2280
|
} else if (objects.hasOwnProperty(key)) {
|
|
2259
2281
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2260
2282
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2261
|
-
$jscomp$loop$
|
|
2283
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
2262
2284
|
return function(v) {
|
|
2263
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2285
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2264
2286
|
};
|
|
2265
|
-
}($jscomp$loop$
|
|
2287
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2266
2288
|
} else if (Array.isArray(value)) {
|
|
2267
2289
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2268
2290
|
continue;
|
|
@@ -2277,8 +2299,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2277
2299
|
return target;
|
|
2278
2300
|
}
|
|
2279
2301
|
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$
|
|
2302
|
+
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()) {
|
|
2303
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
2282
2304
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2283
2305
|
}
|
|
2284
2306
|
return objMap;
|
|
@@ -2308,39 +2330,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2308
2330
|
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
2331
|
return !1;
|
|
2310
2332
|
}
|
|
2311
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2312
|
-
var key = $jscomp$key$
|
|
2333
|
+
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()) {
|
|
2334
|
+
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
2335
|
if (has1 !== has2) {
|
|
2314
2336
|
return !1;
|
|
2315
2337
|
}
|
|
2316
2338
|
if (has1) {
|
|
2317
2339
|
var value1 = serializable1.Serializable$get(key);
|
|
2318
|
-
$jscomp$loop$
|
|
2340
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2319
2341
|
if (arrays1.hasOwnProperty(key)) {
|
|
2320
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2342
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
2321
2343
|
return !1;
|
|
2322
2344
|
}
|
|
2323
2345
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2324
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2346
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
2325
2347
|
return !1;
|
|
2326
2348
|
}
|
|
2327
2349
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2328
|
-
if ($jscomp$loop$
|
|
2329
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2350
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2351
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
2330
2352
|
return function(v1, i) {
|
|
2331
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2353
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
2332
2354
|
};
|
|
2333
|
-
}($jscomp$loop$
|
|
2355
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
2334
2356
|
return !1;
|
|
2335
2357
|
}
|
|
2336
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2358
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
2337
2359
|
return !1;
|
|
2338
2360
|
}
|
|
2339
2361
|
} else if (Array.isArray(value1)) {
|
|
2340
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2362
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
2341
2363
|
return !1;
|
|
2342
2364
|
}
|
|
2343
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2365
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
2344
2366
|
return !1;
|
|
2345
2367
|
}
|
|
2346
2368
|
}
|
|
@@ -2362,8 +2384,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2362
2384
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2363
2385
|
return !1;
|
|
2364
2386
|
}
|
|
2365
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2366
|
-
var mapKey = $jscomp$key$
|
|
2387
|
+
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()) {
|
|
2388
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
2367
2389
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2368
2390
|
return !1;
|
|
2369
2391
|
}
|
|
@@ -2444,15 +2466,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2444
2466
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2445
2467
|
};
|
|
2446
2468
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2447
|
-
var $jscomp$this$
|
|
2469
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2448
2470
|
payload += this._metadataPayload;
|
|
2449
2471
|
return Promise.all(this.files.map(function(f) {
|
|
2450
|
-
return $jscomp$this$
|
|
2472
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
2451
2473
|
})).then(function(filePayloads) {
|
|
2452
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2453
|
-
payload += $jscomp$key$
|
|
2474
|
+
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()) {
|
|
2475
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
2454
2476
|
}
|
|
2455
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2477
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
2456
2478
|
});
|
|
2457
2479
|
};
|
|
2458
2480
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2964,8 +2986,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
2964
2986
|
throw Error(message);
|
|
2965
2987
|
}
|
|
2966
2988
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
2967
|
-
var $jscomp$templatelit$
|
|
2968
|
-
["\\0"]), $jscomp$templatelit$
|
|
2989
|
+
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"],
|
|
2990
|
+
["\\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
2991
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
2970
2992
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
2971
2993
|
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 +3001,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
2979
3001
|
return fn.toString().indexOf("`") === -1;
|
|
2980
3002
|
}
|
|
2981
3003
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2982
|
-
return tag($jscomp$templatelit$
|
|
3004
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
2983
3005
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2984
|
-
return tag($jscomp$templatelit$
|
|
3006
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
2985
3007
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
2986
|
-
return tag($jscomp$templatelit$
|
|
3008
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
2987
3009
|
}) || 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$
|
|
3010
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
3011
|
+
}), 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
3012
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
2991
3013
|
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
3014
|
!0 : !1;
|
|
@@ -3312,9 +3334,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3312
3334
|
}
|
|
3313
3335
|
}
|
|
3314
3336
|
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$
|
|
3337
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.IframeIntent[intent]);
|
|
3338
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
3339
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
3318
3340
|
this.type = type;
|
|
3319
3341
|
this.intent = intent;
|
|
3320
3342
|
this.name = "TypeCannotBeUsedWithIframeIntentError";
|
|
@@ -3410,7 +3432,7 @@ function module$contents$safevalues$dom$globals$window_getStyleNonce(doc) {
|
|
|
3410
3432
|
module$exports$safevalues$dom$globals$window.getStyleNonce = module$contents$safevalues$dom$globals$window_getStyleNonce;
|
|
3411
3433
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, doc) {
|
|
3412
3434
|
doc = doc === void 0 ? document : doc;
|
|
3413
|
-
var $jscomp$optchain$
|
|
3435
|
+
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
3436
|
return el == null ? "" : el.nonce || el.getAttribute("nonce") || "";
|
|
3415
3437
|
}
|
|
3416
3438
|
;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 +4865,9 @@ function module$contents$safevalues$dom$globals$dom_parser_domParserParseFromStr
|
|
|
4843
4865
|
module$exports$safevalues$dom$globals$dom_parser.domParserParseFromString = module$contents$safevalues$dom$globals$dom_parser_domParserParseFromString;
|
|
4844
4866
|
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
4867
|
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$
|
|
4868
|
+
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.");
|
|
4869
|
+
this.message = $jscomp$tmp$error$1153895636$25.message;
|
|
4870
|
+
"stack" in $jscomp$tmp$error$1153895636$25 && (this.stack = $jscomp$tmp$error$1153895636$25.stack);
|
|
4849
4871
|
this.url = url;
|
|
4850
4872
|
this.typeName = typeName;
|
|
4851
4873
|
this.contentType = contentType;
|
|
@@ -4857,48 +4879,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4857
4879
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4858
4880
|
}
|
|
4859
4881
|
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$
|
|
4882
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
4883
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$29) {
|
|
4884
|
+
if ($jscomp$generator$context$1153895636$29.nextAddress == 1) {
|
|
4885
|
+
return $jscomp$generator$context$1153895636$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4886
|
+
}
|
|
4887
|
+
response = $jscomp$generator$context$1153895636$29.yieldResult;
|
|
4888
|
+
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();
|
|
4889
|
+
return $jscomp$generator$context$1153895636$29.return({html:function() {
|
|
4868
4890
|
var text;
|
|
4869
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4870
|
-
if ($jscomp$generator$context$
|
|
4891
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$26) {
|
|
4892
|
+
if ($jscomp$generator$context$1153895636$26.nextAddress == 1) {
|
|
4871
4893
|
if (mimeType !== "text/html") {
|
|
4872
4894
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4873
4895
|
}
|
|
4874
|
-
return $jscomp$generator$context$
|
|
4896
|
+
return $jscomp$generator$context$1153895636$26.yield(response.text(), 2);
|
|
4875
4897
|
}
|
|
4876
|
-
text = $jscomp$generator$context$
|
|
4877
|
-
return $jscomp$generator$context$
|
|
4898
|
+
text = $jscomp$generator$context$1153895636$26.yieldResult;
|
|
4899
|
+
return $jscomp$generator$context$1153895636$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4878
4900
|
});
|
|
4879
4901
|
}, script:function() {
|
|
4880
4902
|
var text;
|
|
4881
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4882
|
-
if ($jscomp$generator$context$
|
|
4903
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$27) {
|
|
4904
|
+
if ($jscomp$generator$context$1153895636$27.nextAddress == 1) {
|
|
4883
4905
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4884
4906
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4885
4907
|
}
|
|
4886
|
-
return $jscomp$generator$context$
|
|
4908
|
+
return $jscomp$generator$context$1153895636$27.yield(response.text(), 2);
|
|
4887
4909
|
}
|
|
4888
|
-
text = $jscomp$generator$context$
|
|
4889
|
-
return $jscomp$generator$context$
|
|
4910
|
+
text = $jscomp$generator$context$1153895636$27.yieldResult;
|
|
4911
|
+
return $jscomp$generator$context$1153895636$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4890
4912
|
});
|
|
4891
4913
|
}, styleSheet:function() {
|
|
4892
4914
|
var text;
|
|
4893
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4894
|
-
if ($jscomp$generator$context$
|
|
4915
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$1153895636$28) {
|
|
4916
|
+
if ($jscomp$generator$context$1153895636$28.nextAddress == 1) {
|
|
4895
4917
|
if (mimeType !== "text/css") {
|
|
4896
4918
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4897
4919
|
}
|
|
4898
|
-
return $jscomp$generator$context$
|
|
4920
|
+
return $jscomp$generator$context$1153895636$28.yield(response.text(), 2);
|
|
4899
4921
|
}
|
|
4900
|
-
text = $jscomp$generator$context$
|
|
4901
|
-
return $jscomp$generator$context$
|
|
4922
|
+
text = $jscomp$generator$context$1153895636$28.yieldResult;
|
|
4923
|
+
return $jscomp$generator$context$1153895636$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4902
4924
|
});
|
|
4903
4925
|
}});
|
|
4904
4926
|
});
|
|
@@ -5854,38 +5876,38 @@ goog.uri.utils.setUrlPackageSupportLoggingHandler = function(handler) {
|
|
|
5854
5876
|
module$contents$goog$uri$utils_urlPackageSupportLoggingHandler = handler;
|
|
5855
5877
|
};
|
|
5856
5878
|
goog.uri.utils.split = module$contents$goog$uri$utils_split;
|
|
5857
|
-
goog
|
|
5879
|
+
function module$contents$goog$Uri_Uri(opt_uri, opt_ignoreCase) {
|
|
5858
5880
|
this.domain_ = this.userInfo_ = this.scheme_ = "";
|
|
5859
5881
|
this.port_ = null;
|
|
5860
5882
|
this.fragment_ = this.path_ = "";
|
|
5861
5883
|
this.ignoreCase_ = this.isReadOnly_ = !1;
|
|
5862
5884
|
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.
|
|
5885
|
+
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_ =
|
|
5886
|
+
!!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] ||
|
|
5887
|
+
"", !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_));
|
|
5888
|
+
}
|
|
5889
|
+
module$contents$goog$Uri_Uri.RANDOM_PARAM = module$contents$goog$uri$utils_StandardQueryParam.RANDOM;
|
|
5890
|
+
module$contents$goog$Uri_Uri.prototype.toString = function() {
|
|
5869
5891
|
var out = [], scheme = this.getScheme();
|
|
5870
|
-
scheme && out.push(goog.
|
|
5892
|
+
scheme && out.push(module$contents$goog$Uri_Uri.encodeSpecialChars_(scheme, module$contents$goog$Uri_Uri.reDisallowedInSchemeOrUserInfo_, !0), ":");
|
|
5871
5893
|
var domain = this.getDomain();
|
|
5872
5894
|
if (domain || scheme == "file") {
|
|
5873
5895
|
out.push("//");
|
|
5874
5896
|
var userInfo = this.getUserInfo();
|
|
5875
|
-
userInfo && out.push(goog.
|
|
5876
|
-
out.push(goog.
|
|
5897
|
+
userInfo && out.push(module$contents$goog$Uri_Uri.encodeSpecialChars_(userInfo, module$contents$goog$Uri_Uri.reDisallowedInSchemeOrUserInfo_, !0), "@");
|
|
5898
|
+
out.push(module$contents$goog$Uri_Uri.removeDoubleEncoding_(goog.string.urlEncode(domain)));
|
|
5877
5899
|
var port = this.getPort();
|
|
5878
5900
|
port != null && out.push(":", String(port));
|
|
5879
5901
|
}
|
|
5880
5902
|
var path = this.getPath();
|
|
5881
|
-
path && (this.hasDomain() && path.charAt(0) != "/" && out.push("/"), out.push(goog.
|
|
5903
|
+
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
5904
|
var query = this.getEncodedQuery();
|
|
5883
5905
|
query && out.push("?", query);
|
|
5884
5906
|
var fragment = this.getFragment();
|
|
5885
|
-
fragment && out.push("#", goog.
|
|
5907
|
+
fragment && out.push("#", module$contents$goog$Uri_Uri.encodeSpecialChars_(fragment, module$contents$goog$Uri_Uri.reDisallowedInFragment_));
|
|
5886
5908
|
return out.join("");
|
|
5887
5909
|
};
|
|
5888
|
-
goog.
|
|
5910
|
+
module$contents$goog$Uri_Uri.prototype.resolve = function(relativeUri) {
|
|
5889
5911
|
var absoluteUri = this.clone(), overridden = relativeUri.hasScheme();
|
|
5890
5912
|
overridden ? absoluteUri.setScheme(relativeUri.getScheme()) : overridden = relativeUri.hasUserInfo();
|
|
5891
5913
|
overridden ? absoluteUri.setUserInfo(relativeUri.getUserInfo()) : overridden = relativeUri.hasDomain();
|
|
@@ -5903,7 +5925,7 @@ goog.Uri.prototype.resolve = function(relativeUri) {
|
|
|
5903
5925
|
lastSlashIndex != -1 && (path = absoluteUri.getPath().slice(0, lastSlashIndex + 1) + path);
|
|
5904
5926
|
}
|
|
5905
5927
|
}
|
|
5906
|
-
path = goog.
|
|
5928
|
+
path = module$contents$goog$Uri_Uri.removeDotSegments(path);
|
|
5907
5929
|
}
|
|
5908
5930
|
}
|
|
5909
5931
|
overridden ? absoluteUri.setPath(path) : overridden = relativeUri.hasQuery();
|
|
@@ -5911,48 +5933,48 @@ goog.Uri.prototype.resolve = function(relativeUri) {
|
|
|
5911
5933
|
overridden && absoluteUri.setFragment(relativeUri.getFragment());
|
|
5912
5934
|
return absoluteUri;
|
|
5913
5935
|
};
|
|
5914
|
-
goog.
|
|
5915
|
-
return new goog
|
|
5936
|
+
module$contents$goog$Uri_Uri.prototype.clone = function() {
|
|
5937
|
+
return new module$contents$goog$Uri_Uri(this);
|
|
5916
5938
|
};
|
|
5917
|
-
goog.
|
|
5939
|
+
module$contents$goog$Uri_Uri.prototype.getScheme = function() {
|
|
5918
5940
|
return this.scheme_;
|
|
5919
5941
|
};
|
|
5920
|
-
goog.
|
|
5942
|
+
module$contents$goog$Uri_Uri.prototype.setScheme = function(newScheme, opt_decode) {
|
|
5921
5943
|
this.enforceReadOnly();
|
|
5922
|
-
if (this.scheme_ = opt_decode ? goog.
|
|
5944
|
+
if (this.scheme_ = opt_decode ? module$contents$goog$Uri_Uri.decodeOrEmpty_(newScheme, !0) : newScheme) {
|
|
5923
5945
|
this.scheme_ = this.scheme_.replace(/:$/, "");
|
|
5924
5946
|
}
|
|
5925
5947
|
return this;
|
|
5926
5948
|
};
|
|
5927
|
-
goog.
|
|
5949
|
+
module$contents$goog$Uri_Uri.prototype.hasScheme = function() {
|
|
5928
5950
|
return !!this.scheme_;
|
|
5929
5951
|
};
|
|
5930
|
-
goog.
|
|
5952
|
+
module$contents$goog$Uri_Uri.prototype.getUserInfo = function() {
|
|
5931
5953
|
return this.userInfo_;
|
|
5932
5954
|
};
|
|
5933
|
-
goog.
|
|
5955
|
+
module$contents$goog$Uri_Uri.prototype.setUserInfo = function(newUserInfo, opt_decode) {
|
|
5934
5956
|
this.enforceReadOnly();
|
|
5935
|
-
this.userInfo_ = opt_decode ? goog.
|
|
5957
|
+
this.userInfo_ = opt_decode ? module$contents$goog$Uri_Uri.decodeOrEmpty_(newUserInfo) : newUserInfo;
|
|
5936
5958
|
return this;
|
|
5937
5959
|
};
|
|
5938
|
-
goog.
|
|
5960
|
+
module$contents$goog$Uri_Uri.prototype.hasUserInfo = function() {
|
|
5939
5961
|
return !!this.userInfo_;
|
|
5940
5962
|
};
|
|
5941
|
-
goog.
|
|
5963
|
+
module$contents$goog$Uri_Uri.prototype.getDomain = function() {
|
|
5942
5964
|
return this.domain_;
|
|
5943
5965
|
};
|
|
5944
|
-
goog.
|
|
5966
|
+
module$contents$goog$Uri_Uri.prototype.setDomain = function(newDomain, opt_decode) {
|
|
5945
5967
|
this.enforceReadOnly();
|
|
5946
|
-
this.domain_ = opt_decode ? goog.
|
|
5968
|
+
this.domain_ = opt_decode ? module$contents$goog$Uri_Uri.decodeOrEmpty_(newDomain, !0) : newDomain;
|
|
5947
5969
|
return this;
|
|
5948
5970
|
};
|
|
5949
|
-
goog.
|
|
5971
|
+
module$contents$goog$Uri_Uri.prototype.hasDomain = function() {
|
|
5950
5972
|
return !!this.domain_;
|
|
5951
5973
|
};
|
|
5952
|
-
goog.
|
|
5974
|
+
module$contents$goog$Uri_Uri.prototype.getPort = function() {
|
|
5953
5975
|
return this.port_;
|
|
5954
5976
|
};
|
|
5955
|
-
goog.
|
|
5977
|
+
module$contents$goog$Uri_Uri.prototype.setPort = function(newPort) {
|
|
5956
5978
|
this.enforceReadOnly();
|
|
5957
5979
|
if (newPort) {
|
|
5958
5980
|
newPort = Number(newPort);
|
|
@@ -5965,109 +5987,109 @@ goog.Uri.prototype.setPort = function(newPort) {
|
|
|
5965
5987
|
}
|
|
5966
5988
|
return this;
|
|
5967
5989
|
};
|
|
5968
|
-
goog.
|
|
5990
|
+
module$contents$goog$Uri_Uri.prototype.hasPort = function() {
|
|
5969
5991
|
return this.port_ != null;
|
|
5970
5992
|
};
|
|
5971
|
-
goog.
|
|
5993
|
+
module$contents$goog$Uri_Uri.prototype.getPath = function() {
|
|
5972
5994
|
return this.path_;
|
|
5973
5995
|
};
|
|
5974
|
-
goog.
|
|
5996
|
+
module$contents$goog$Uri_Uri.prototype.setPath = function(newPath, opt_decode) {
|
|
5975
5997
|
this.enforceReadOnly();
|
|
5976
|
-
this.path_ = opt_decode ? goog.
|
|
5998
|
+
this.path_ = opt_decode ? module$contents$goog$Uri_Uri.decodeOrEmpty_(newPath, !0) : newPath;
|
|
5977
5999
|
return this;
|
|
5978
6000
|
};
|
|
5979
|
-
goog.
|
|
6001
|
+
module$contents$goog$Uri_Uri.prototype.hasPath = function() {
|
|
5980
6002
|
return !!this.path_;
|
|
5981
6003
|
};
|
|
5982
|
-
goog.
|
|
6004
|
+
module$contents$goog$Uri_Uri.prototype.hasQuery = function() {
|
|
5983
6005
|
return this.queryData_.toString() !== "";
|
|
5984
6006
|
};
|
|
5985
|
-
goog.
|
|
6007
|
+
module$contents$goog$Uri_Uri.prototype.setQueryData = function(queryData, opt_decode) {
|
|
5986
6008
|
this.enforceReadOnly();
|
|
5987
|
-
queryData instanceof goog.
|
|
6009
|
+
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
6010
|
return this;
|
|
5989
6011
|
};
|
|
5990
|
-
goog.
|
|
6012
|
+
module$contents$goog$Uri_Uri.prototype.setQuery = function(newQuery, opt_decode) {
|
|
5991
6013
|
return this.setQueryData(newQuery, opt_decode);
|
|
5992
6014
|
};
|
|
5993
|
-
goog.
|
|
6015
|
+
module$contents$goog$Uri_Uri.prototype.getEncodedQuery = function() {
|
|
5994
6016
|
return this.queryData_.toString();
|
|
5995
6017
|
};
|
|
5996
|
-
goog.
|
|
6018
|
+
module$contents$goog$Uri_Uri.prototype.getDecodedQuery = function() {
|
|
5997
6019
|
return this.queryData_.toDecodedString();
|
|
5998
6020
|
};
|
|
5999
|
-
goog.
|
|
6021
|
+
module$contents$goog$Uri_Uri.prototype.getQueryData = function() {
|
|
6000
6022
|
return this.queryData_;
|
|
6001
6023
|
};
|
|
6002
|
-
goog.
|
|
6024
|
+
module$contents$goog$Uri_Uri.prototype.getQuery = function() {
|
|
6003
6025
|
return this.getEncodedQuery();
|
|
6004
6026
|
};
|
|
6005
|
-
goog.
|
|
6027
|
+
module$contents$goog$Uri_Uri.prototype.setParameterValue = function(key, value) {
|
|
6006
6028
|
this.enforceReadOnly();
|
|
6007
6029
|
this.queryData_.set(key, value);
|
|
6008
6030
|
return this;
|
|
6009
6031
|
};
|
|
6010
|
-
goog.
|
|
6032
|
+
module$contents$goog$Uri_Uri.prototype.setParameterValues = function(key, values) {
|
|
6011
6033
|
this.enforceReadOnly();
|
|
6012
6034
|
Array.isArray(values) || (values = [String(values)]);
|
|
6013
6035
|
this.queryData_.setValues(key, values);
|
|
6014
6036
|
return this;
|
|
6015
6037
|
};
|
|
6016
|
-
goog.
|
|
6038
|
+
module$contents$goog$Uri_Uri.prototype.getParameterValues = function(name) {
|
|
6017
6039
|
return this.queryData_.getValues(name);
|
|
6018
6040
|
};
|
|
6019
|
-
goog.
|
|
6041
|
+
module$contents$goog$Uri_Uri.prototype.getParameterValue = function(paramName) {
|
|
6020
6042
|
return this.queryData_.get(paramName);
|
|
6021
6043
|
};
|
|
6022
|
-
goog.
|
|
6044
|
+
module$contents$goog$Uri_Uri.prototype.getFragment = function() {
|
|
6023
6045
|
return this.fragment_;
|
|
6024
6046
|
};
|
|
6025
|
-
goog.
|
|
6047
|
+
module$contents$goog$Uri_Uri.prototype.setFragment = function(newFragment, opt_decode) {
|
|
6026
6048
|
this.enforceReadOnly();
|
|
6027
|
-
this.fragment_ = opt_decode ? goog.
|
|
6049
|
+
this.fragment_ = opt_decode ? module$contents$goog$Uri_Uri.decodeOrEmpty_(newFragment) : newFragment;
|
|
6028
6050
|
return this;
|
|
6029
6051
|
};
|
|
6030
|
-
goog.
|
|
6052
|
+
module$contents$goog$Uri_Uri.prototype.hasFragment = function() {
|
|
6031
6053
|
return !!this.fragment_;
|
|
6032
6054
|
};
|
|
6033
|
-
goog.
|
|
6055
|
+
module$contents$goog$Uri_Uri.prototype.hasSameDomainAs = function(uri2) {
|
|
6034
6056
|
return (!this.hasDomain() && !uri2.hasDomain() || this.getDomain() == uri2.getDomain()) && (!this.hasPort() && !uri2.hasPort() || this.getPort() == uri2.getPort());
|
|
6035
6057
|
};
|
|
6036
|
-
goog.
|
|
6058
|
+
module$contents$goog$Uri_Uri.prototype.makeUnique = function() {
|
|
6037
6059
|
this.enforceReadOnly();
|
|
6038
|
-
this.setParameterValue(goog.
|
|
6060
|
+
this.setParameterValue(module$contents$goog$Uri_Uri.RANDOM_PARAM, goog.string.getRandomString());
|
|
6039
6061
|
return this;
|
|
6040
6062
|
};
|
|
6041
|
-
goog.
|
|
6063
|
+
module$contents$goog$Uri_Uri.prototype.removeParameter = function(key) {
|
|
6042
6064
|
this.enforceReadOnly();
|
|
6043
6065
|
this.queryData_.remove(key);
|
|
6044
6066
|
return this;
|
|
6045
6067
|
};
|
|
6046
|
-
goog.
|
|
6068
|
+
module$contents$goog$Uri_Uri.prototype.setReadOnly = function(isReadOnly) {
|
|
6047
6069
|
this.isReadOnly_ = isReadOnly;
|
|
6048
6070
|
return this;
|
|
6049
6071
|
};
|
|
6050
|
-
goog.
|
|
6072
|
+
module$contents$goog$Uri_Uri.prototype.isReadOnly = function() {
|
|
6051
6073
|
return this.isReadOnly_;
|
|
6052
6074
|
};
|
|
6053
|
-
goog.
|
|
6075
|
+
module$contents$goog$Uri_Uri.prototype.enforceReadOnly = function() {
|
|
6054
6076
|
if (this.isReadOnly_) {
|
|
6055
6077
|
throw Error("Tried to modify a read-only Uri");
|
|
6056
6078
|
}
|
|
6057
6079
|
};
|
|
6058
|
-
goog.
|
|
6080
|
+
module$contents$goog$Uri_Uri.prototype.setIgnoreCase = function(ignoreCase) {
|
|
6059
6081
|
this.ignoreCase_ = ignoreCase;
|
|
6060
6082
|
this.queryData_ && this.queryData_.setIgnoreCase(ignoreCase);
|
|
6061
6083
|
return this;
|
|
6062
6084
|
};
|
|
6063
|
-
goog.
|
|
6085
|
+
module$contents$goog$Uri_Uri.prototype.getIgnoreCase = function() {
|
|
6064
6086
|
return this.ignoreCase_;
|
|
6065
6087
|
};
|
|
6066
|
-
goog.
|
|
6067
|
-
return uri instanceof goog
|
|
6088
|
+
module$contents$goog$Uri_Uri.parse = function(uri, opt_ignoreCase) {
|
|
6089
|
+
return uri instanceof module$contents$goog$Uri_Uri ? uri.clone() : new module$contents$goog$Uri_Uri(uri, opt_ignoreCase);
|
|
6068
6090
|
};
|
|
6069
|
-
goog.
|
|
6070
|
-
var uri = new goog
|
|
6091
|
+
module$contents$goog$Uri_Uri.create = function(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_query, opt_fragment, opt_ignoreCase) {
|
|
6092
|
+
var uri = new module$contents$goog$Uri_Uri(null, opt_ignoreCase);
|
|
6071
6093
|
opt_scheme && uri.setScheme(opt_scheme);
|
|
6072
6094
|
opt_userInfo && uri.setUserInfo(opt_userInfo);
|
|
6073
6095
|
opt_domain && uri.setDomain(opt_domain);
|
|
@@ -6077,12 +6099,12 @@ goog.Uri.create = function(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_p
|
|
|
6077
6099
|
opt_fragment && uri.setFragment(opt_fragment);
|
|
6078
6100
|
return uri;
|
|
6079
6101
|
};
|
|
6080
|
-
goog.
|
|
6081
|
-
base instanceof goog
|
|
6082
|
-
rel instanceof goog
|
|
6102
|
+
module$contents$goog$Uri_Uri.resolve = function(base, rel) {
|
|
6103
|
+
base instanceof module$contents$goog$Uri_Uri || (base = module$contents$goog$Uri_Uri.parse(base));
|
|
6104
|
+
rel instanceof module$contents$goog$Uri_Uri || (rel = module$contents$goog$Uri_Uri.parse(rel));
|
|
6083
6105
|
return base.resolve(rel);
|
|
6084
6106
|
};
|
|
6085
|
-
goog.
|
|
6107
|
+
module$contents$goog$Uri_Uri.removeDotSegments = function(path) {
|
|
6086
6108
|
if (path == ".." || path == ".") {
|
|
6087
6109
|
return "";
|
|
6088
6110
|
}
|
|
@@ -6095,39 +6117,39 @@ goog.Uri.removeDotSegments = function(path) {
|
|
|
6095
6117
|
}
|
|
6096
6118
|
return path;
|
|
6097
6119
|
};
|
|
6098
|
-
goog.
|
|
6120
|
+
module$contents$goog$Uri_Uri.decodeOrEmpty_ = function(val, opt_preserveReserved) {
|
|
6099
6121
|
return val ? opt_preserveReserved ? decodeURI(val.replace(/%25/g, "%2525")) : decodeURIComponent(val) : "";
|
|
6100
6122
|
};
|
|
6101
|
-
goog.
|
|
6123
|
+
module$contents$goog$Uri_Uri.encodeSpecialChars_ = function(unescapedPart, extra, opt_removeDoubleEncoding) {
|
|
6102
6124
|
if (typeof unescapedPart === "string") {
|
|
6103
|
-
var encoded = encodeURI(unescapedPart).replace(extra, goog.
|
|
6104
|
-
opt_removeDoubleEncoding && (encoded = goog.
|
|
6125
|
+
var encoded = encodeURI(unescapedPart).replace(extra, module$contents$goog$Uri_Uri.encodeChar_);
|
|
6126
|
+
opt_removeDoubleEncoding && (encoded = module$contents$goog$Uri_Uri.removeDoubleEncoding_(encoded));
|
|
6105
6127
|
return encoded;
|
|
6106
6128
|
}
|
|
6107
6129
|
return null;
|
|
6108
6130
|
};
|
|
6109
|
-
goog.
|
|
6131
|
+
module$contents$goog$Uri_Uri.encodeChar_ = function(ch) {
|
|
6110
6132
|
var n = ch.charCodeAt(0);
|
|
6111
6133
|
return "%" + (n >> 4 & 15).toString(16) + (n & 15).toString(16);
|
|
6112
6134
|
};
|
|
6113
|
-
goog.
|
|
6135
|
+
module$contents$goog$Uri_Uri.removeDoubleEncoding_ = function(doubleEncodedString) {
|
|
6114
6136
|
return doubleEncodedString.replace(/%25([0-9a-fA-F]{2})/g, "%$1");
|
|
6115
6137
|
};
|
|
6116
|
-
goog.
|
|
6117
|
-
goog.
|
|
6118
|
-
goog.
|
|
6119
|
-
goog.
|
|
6120
|
-
goog.
|
|
6121
|
-
goog.
|
|
6138
|
+
module$contents$goog$Uri_Uri.reDisallowedInSchemeOrUserInfo_ = /[#\/\?@]/g;
|
|
6139
|
+
module$contents$goog$Uri_Uri.reDisallowedInRelativePath_ = /[#\?:]/g;
|
|
6140
|
+
module$contents$goog$Uri_Uri.reDisallowedInAbsolutePath_ = /[#\?]/g;
|
|
6141
|
+
module$contents$goog$Uri_Uri.reDisallowedInQuery_ = /[#\?@]/g;
|
|
6142
|
+
module$contents$goog$Uri_Uri.reDisallowedInFragment_ = /#/g;
|
|
6143
|
+
module$contents$goog$Uri_Uri.haveSameDomain = function(uri1String, uri2String) {
|
|
6122
6144
|
var pieces1 = module$contents$goog$uri$utils_split(uri1String), pieces2 = module$contents$goog$uri$utils_split(uri2String);
|
|
6123
6145
|
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
6146
|
};
|
|
6125
|
-
goog.
|
|
6147
|
+
module$contents$goog$Uri_Uri.QueryData = function(opt_query, opt_ignoreCase) {
|
|
6126
6148
|
this.count_ = this.keyMap_ = null;
|
|
6127
6149
|
this.encodedQuery_ = opt_query || null;
|
|
6128
6150
|
this.ignoreCase_ = !!opt_ignoreCase;
|
|
6129
6151
|
};
|
|
6130
|
-
goog.
|
|
6152
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.ensureKeyMapInitialized_ = function() {
|
|
6131
6153
|
if (!this.keyMap_ && (this.keyMap_ = new Map(), this.count_ = 0, this.encodedQuery_)) {
|
|
6132
6154
|
var self = this;
|
|
6133
6155
|
module$contents$goog$uri$utils_parseQueryData(this.encodedQuery_, function(name, value) {
|
|
@@ -6135,31 +6157,31 @@ goog.Uri.QueryData.prototype.ensureKeyMapInitialized_ = function() {
|
|
|
6135
6157
|
});
|
|
6136
6158
|
}
|
|
6137
6159
|
};
|
|
6138
|
-
goog.
|
|
6160
|
+
module$contents$goog$Uri_Uri.QueryData.createFromMap = function(map, opt_ignoreCase) {
|
|
6139
6161
|
var keys = goog.structs.getKeys(map);
|
|
6140
6162
|
if (typeof keys == "undefined") {
|
|
6141
6163
|
throw Error("Keys are undefined");
|
|
6142
6164
|
}
|
|
6143
|
-
for (var queryData = new goog.
|
|
6165
|
+
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
6166
|
var key = keys[i], value = values[i];
|
|
6145
6167
|
Array.isArray(value) ? queryData.setValues(key, value) : queryData.add(key, value);
|
|
6146
6168
|
}
|
|
6147
6169
|
return queryData;
|
|
6148
6170
|
};
|
|
6149
|
-
goog.
|
|
6171
|
+
module$contents$goog$Uri_Uri.QueryData.createFromKeysValues = function(keys, values, opt_ignoreCase) {
|
|
6150
6172
|
if (keys.length != values.length) {
|
|
6151
6173
|
throw Error("Mismatched lengths for keys/values");
|
|
6152
6174
|
}
|
|
6153
|
-
for (var queryData = new goog.
|
|
6175
|
+
for (var queryData = new module$contents$goog$Uri_Uri.QueryData(null, opt_ignoreCase), i = 0; i < keys.length; i++) {
|
|
6154
6176
|
queryData.add(keys[i], values[i]);
|
|
6155
6177
|
}
|
|
6156
6178
|
return queryData;
|
|
6157
6179
|
};
|
|
6158
|
-
goog.
|
|
6180
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.getCount = function() {
|
|
6159
6181
|
this.ensureKeyMapInitialized_();
|
|
6160
6182
|
return this.count_;
|
|
6161
6183
|
};
|
|
6162
|
-
goog.
|
|
6184
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.add = function(key, value) {
|
|
6163
6185
|
this.ensureKeyMapInitialized_();
|
|
6164
6186
|
this.invalidateCache_();
|
|
6165
6187
|
key = this.getKeyName_(key);
|
|
@@ -6169,30 +6191,30 @@ goog.Uri.QueryData.prototype.add = function(key, value) {
|
|
|
6169
6191
|
this.count_ = goog.asserts.assertNumber(this.count_) + 1;
|
|
6170
6192
|
return this;
|
|
6171
6193
|
};
|
|
6172
|
-
goog.
|
|
6194
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.remove = function(key) {
|
|
6173
6195
|
this.ensureKeyMapInitialized_();
|
|
6174
6196
|
key = this.getKeyName_(key);
|
|
6175
6197
|
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
6198
|
};
|
|
6177
|
-
goog.
|
|
6199
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.clear = function() {
|
|
6178
6200
|
this.invalidateCache_();
|
|
6179
6201
|
this.keyMap_ = null;
|
|
6180
6202
|
this.count_ = 0;
|
|
6181
6203
|
};
|
|
6182
|
-
goog.
|
|
6204
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.isEmpty = function() {
|
|
6183
6205
|
this.ensureKeyMapInitialized_();
|
|
6184
6206
|
return this.count_ == 0;
|
|
6185
6207
|
};
|
|
6186
|
-
goog.
|
|
6208
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.containsKey = function(key) {
|
|
6187
6209
|
this.ensureKeyMapInitialized_();
|
|
6188
6210
|
key = this.getKeyName_(key);
|
|
6189
6211
|
return this.keyMap_.has(key);
|
|
6190
6212
|
};
|
|
6191
|
-
goog.
|
|
6213
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.containsValue = function(value) {
|
|
6192
6214
|
var vals = this.getValues();
|
|
6193
6215
|
return module$contents$goog$array_contains(vals, value);
|
|
6194
6216
|
};
|
|
6195
|
-
goog.
|
|
6217
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.forEach = function(f, opt_scope) {
|
|
6196
6218
|
this.ensureKeyMapInitialized_();
|
|
6197
6219
|
this.keyMap_.forEach(function(values, key) {
|
|
6198
6220
|
values.forEach(function(value) {
|
|
@@ -6200,7 +6222,7 @@ goog.Uri.QueryData.prototype.forEach = function(f, opt_scope) {
|
|
|
6200
6222
|
}, this);
|
|
6201
6223
|
}, this);
|
|
6202
6224
|
};
|
|
6203
|
-
goog.
|
|
6225
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.getKeys = function() {
|
|
6204
6226
|
this.ensureKeyMapInitialized_();
|
|
6205
6227
|
for (var vals = Array.from(this.keyMap_.values()), keys = Array.from(this.keyMap_.keys()), rv = [], i = 0; i < keys.length; i++) {
|
|
6206
6228
|
for (var val = vals[i], j = 0; j < val.length; j++) {
|
|
@@ -6209,7 +6231,7 @@ goog.Uri.QueryData.prototype.getKeys = function() {
|
|
|
6209
6231
|
}
|
|
6210
6232
|
return rv;
|
|
6211
6233
|
};
|
|
6212
|
-
goog.
|
|
6234
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.getValues = function(opt_key) {
|
|
6213
6235
|
this.ensureKeyMapInitialized_();
|
|
6214
6236
|
var rv = [];
|
|
6215
6237
|
if (typeof opt_key === "string") {
|
|
@@ -6221,7 +6243,7 @@ goog.Uri.QueryData.prototype.getValues = function(opt_key) {
|
|
|
6221
6243
|
}
|
|
6222
6244
|
return rv;
|
|
6223
6245
|
};
|
|
6224
|
-
goog.
|
|
6246
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.set = function(key, value) {
|
|
6225
6247
|
this.ensureKeyMapInitialized_();
|
|
6226
6248
|
this.invalidateCache_();
|
|
6227
6249
|
key = this.getKeyName_(key);
|
|
@@ -6230,18 +6252,18 @@ goog.Uri.QueryData.prototype.set = function(key, value) {
|
|
|
6230
6252
|
this.count_ = goog.asserts.assertNumber(this.count_) + 1;
|
|
6231
6253
|
return this;
|
|
6232
6254
|
};
|
|
6233
|
-
goog.
|
|
6255
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.get = function(key, opt_default) {
|
|
6234
6256
|
if (!key) {
|
|
6235
6257
|
return opt_default;
|
|
6236
6258
|
}
|
|
6237
6259
|
var values = this.getValues(key);
|
|
6238
6260
|
return values.length > 0 ? String(values[0]) : opt_default;
|
|
6239
6261
|
};
|
|
6240
|
-
goog.
|
|
6262
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.setValues = function(key, values) {
|
|
6241
6263
|
this.remove(key);
|
|
6242
6264
|
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
6265
|
};
|
|
6244
|
-
goog.
|
|
6266
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.toString = function() {
|
|
6245
6267
|
if (this.encodedQuery_) {
|
|
6246
6268
|
return this.encodedQuery_;
|
|
6247
6269
|
}
|
|
@@ -6257,44 +6279,45 @@ goog.Uri.QueryData.prototype.toString = function() {
|
|
|
6257
6279
|
}
|
|
6258
6280
|
return this.encodedQuery_ = sb.join("&");
|
|
6259
6281
|
};
|
|
6260
|
-
goog.
|
|
6261
|
-
return goog.
|
|
6282
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.toDecodedString = function() {
|
|
6283
|
+
return module$contents$goog$Uri_Uri.decodeOrEmpty_(this.toString());
|
|
6262
6284
|
};
|
|
6263
|
-
goog.
|
|
6285
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.invalidateCache_ = function() {
|
|
6264
6286
|
this.encodedQuery_ = null;
|
|
6265
6287
|
};
|
|
6266
|
-
goog.
|
|
6288
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.filterKeys = function(keys) {
|
|
6267
6289
|
this.ensureKeyMapInitialized_();
|
|
6268
6290
|
this.keyMap_.forEach(function(value, key) {
|
|
6269
6291
|
module$contents$goog$array_contains(keys, key) || this.remove(key);
|
|
6270
6292
|
}, this);
|
|
6271
6293
|
return this;
|
|
6272
6294
|
};
|
|
6273
|
-
goog.
|
|
6274
|
-
var rv = new goog.
|
|
6295
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.clone = function() {
|
|
6296
|
+
var rv = new module$contents$goog$Uri_Uri.QueryData();
|
|
6275
6297
|
rv.encodedQuery_ = this.encodedQuery_;
|
|
6276
6298
|
this.keyMap_ && (rv.keyMap_ = new Map(this.keyMap_), rv.count_ = this.count_);
|
|
6277
6299
|
return rv;
|
|
6278
6300
|
};
|
|
6279
|
-
goog.
|
|
6301
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.getKeyName_ = function(arg) {
|
|
6280
6302
|
var keyName = String(arg);
|
|
6281
6303
|
this.ignoreCase_ && (keyName = keyName.toLowerCase());
|
|
6282
6304
|
return keyName;
|
|
6283
6305
|
};
|
|
6284
|
-
goog.
|
|
6306
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.setIgnoreCase = function(ignoreCase) {
|
|
6285
6307
|
ignoreCase && !this.ignoreCase_ && (this.ensureKeyMapInitialized_(), this.invalidateCache_(), this.keyMap_.forEach(function(value, key) {
|
|
6286
6308
|
var lowerCase = key.toLowerCase();
|
|
6287
6309
|
key != lowerCase && (this.remove(key), this.setValues(lowerCase, value));
|
|
6288
6310
|
}, this));
|
|
6289
6311
|
this.ignoreCase_ = ignoreCase;
|
|
6290
6312
|
};
|
|
6291
|
-
goog.
|
|
6313
|
+
module$contents$goog$Uri_Uri.QueryData.prototype.extend = function(var_args) {
|
|
6292
6314
|
for (var i = 0; i < arguments.length; i++) {
|
|
6293
6315
|
goog.structs.forEach(arguments[i], function(value, key) {
|
|
6294
6316
|
this.add(key, value);
|
|
6295
6317
|
}, this);
|
|
6296
6318
|
}
|
|
6297
6319
|
};
|
|
6320
|
+
goog.Uri = module$contents$goog$Uri_Uri;
|
|
6298
6321
|
var module$exports$goog$net$rpc$HttpCors = {HTTP_HEADERS_PARAM_NAME:"$httpHeaders", HTTP_METHOD_PARAM_NAME:"$httpMethod", generateHttpHeadersOverwriteParam:function(headers) {
|
|
6299
6322
|
var result = "";
|
|
6300
6323
|
module$contents$goog$object_forEach(headers, function(value, key) {
|
|
@@ -6335,8 +6358,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6335
6358
|
}
|
|
6336
6359
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6337
6360
|
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$
|
|
6361
|
+
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()) {
|
|
6362
|
+
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
6363
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6341
6364
|
}
|
|
6342
6365
|
return urlQueryParams;
|
|
@@ -6348,8 +6371,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params,
|
|
|
6348
6371
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6349
6372
|
if (params.headers) {
|
|
6350
6373
|
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$
|
|
6374
|
+
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()) {
|
|
6375
|
+
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
6376
|
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
6377
|
}
|
|
6355
6378
|
}
|
|
@@ -6384,8 +6407,8 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$addHoo
|
|
|
6384
6407
|
}, function(error) {
|
|
6385
6408
|
throw error;
|
|
6386
6409
|
}).finally(function() {
|
|
6387
|
-
var $jscomp$optchain$
|
|
6388
|
-
($jscomp$optchain$
|
|
6410
|
+
var $jscomp$optchain$tmpm296226325$1;
|
|
6411
|
+
($jscomp$optchain$tmpm296226325$1 = hook.onFinalize) == null || $jscomp$optchain$tmpm296226325$1.call(hook);
|
|
6389
6412
|
});
|
|
6390
6413
|
};
|
|
6391
6414
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$request = function(requestParams) {
|
|
@@ -6393,9 +6416,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6393
6416
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6394
6417
|
};
|
|
6395
6418
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6396
|
-
var $jscomp$this$
|
|
6419
|
+
var $jscomp$this$m296226325$6 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6397
6420
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6398
|
-
return $jscomp$this$
|
|
6421
|
+
return $jscomp$this$m296226325$6.requestService.send(params, responseCtor);
|
|
6399
6422
|
}));
|
|
6400
6423
|
};
|
|
6401
6424
|
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"};
|
|
@@ -7354,7 +7377,7 @@ TRANSITIONEND:module$contents$goog$events$eventTypeHelpers_getVendorPrefixedName
|
|
|
7354
7377
|
MSGESTURETAP:"MSGestureTap", MSGOTPOINTERCAPTURE:"MSGotPointerCapture", MSINERTIASTART:"MSInertiaStart", MSLOSTPOINTERCAPTURE:"MSLostPointerCapture", MSPOINTERCANCEL:"MSPointerCancel", MSPOINTERDOWN:"MSPointerDown", MSPOINTERENTER:"MSPointerEnter", MSPOINTERHOVER:"MSPointerHover", MSPOINTERLEAVE:"MSPointerLeave", MSPOINTERMOVE:"MSPointerMove", MSPOINTEROUT:"MSPointerOut", MSPOINTEROVER:"MSPointerOver", MSPOINTERUP:"MSPointerUp", TEXT:"text", TEXTINPUT:"textInput", COMPOSITIONSTART:"compositionstart",
|
|
7355
7378
|
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", SIZECHANGED:"sizechanged", UNRESPONSIVE:"unresponsive", VISIBILITYCHANGE:"visibilitychange", STORAGE:"storage", BEFOREPRINT:"beforeprint",
|
|
7356
7379
|
AFTERPRINT:"afterprint", BEFOREINSTALLPROMPT:"beforeinstallprompt", APPINSTALLED:"appinstalled", CANCEL:"cancel", FINISH:"finish", REMOVE:"remove"};
|
|
7357
|
-
goog
|
|
7380
|
+
function module$contents$goog$events$BrowserEvent_BrowserEvent(opt_e, opt_currentTarget) {
|
|
7358
7381
|
goog.events.Event.call(this, opt_e ? opt_e.type : "");
|
|
7359
7382
|
this.relatedTarget = this.currentTarget = this.target = null;
|
|
7360
7383
|
this.button = this.screenY = this.screenX = this.clientY = this.clientX = this.offsetY = this.offsetX = 0;
|
|
@@ -7368,20 +7391,20 @@ goog.events.BrowserEvent = function(opt_e, opt_currentTarget) {
|
|
|
7368
7391
|
this.timeStamp = 0;
|
|
7369
7392
|
this.event_ = null;
|
|
7370
7393
|
opt_e && this.init(opt_e, opt_currentTarget);
|
|
7371
|
-
}
|
|
7372
|
-
goog.inherits(goog
|
|
7373
|
-
goog
|
|
7374
|
-
goog
|
|
7375
|
-
goog
|
|
7376
|
-
goog
|
|
7394
|
+
}
|
|
7395
|
+
goog.inherits(module$contents$goog$events$BrowserEvent_BrowserEvent, goog.events.Event);
|
|
7396
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY = !1;
|
|
7397
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.MouseButton = {LEFT:0, MIDDLE:1, RIGHT:2, BACK:3, FORWARD:4};
|
|
7398
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.PointerType = {MOUSE:"mouse", PEN:"pen", TOUCH:"touch"};
|
|
7399
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.prototype.init = function(e, opt_currentTarget) {
|
|
7377
7400
|
var type = this.type = e.type, relevantTouch = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : null;
|
|
7378
7401
|
this.target = e.target || e.srcElement;
|
|
7379
7402
|
this.currentTarget = opt_currentTarget;
|
|
7380
7403
|
var relatedTarget = e.relatedTarget;
|
|
7381
7404
|
relatedTarget || (type == goog.events.EventType.MOUSEOVER ? relatedTarget = e.fromElement : type == goog.events.EventType.MOUSEOUT && (relatedTarget = e.toElement));
|
|
7382
7405
|
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);
|
|
7406
|
+
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) :
|
|
7407
|
+
(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
7408
|
this.button = e.button;
|
|
7386
7409
|
this.keyCode = e.keyCode || 0;
|
|
7387
7410
|
this.key = e.key || "";
|
|
@@ -7392,33 +7415,34 @@ goog.events.BrowserEvent.prototype.init = function(e, opt_currentTarget) {
|
|
|
7392
7415
|
this.metaKey = e.metaKey;
|
|
7393
7416
|
this.platformModifierKey = goog.userAgent.MAC ? e.metaKey : e.ctrlKey;
|
|
7394
7417
|
this.pointerId = e.pointerId || 0;
|
|
7395
|
-
this.pointerType = goog
|
|
7418
|
+
this.pointerType = module$contents$goog$events$BrowserEvent_BrowserEvent.getPointerType_(e);
|
|
7396
7419
|
this.state = e.state;
|
|
7397
7420
|
this.timeStamp = e.timeStamp;
|
|
7398
7421
|
this.event_ = e;
|
|
7399
|
-
e.defaultPrevented && goog
|
|
7422
|
+
e.defaultPrevented && module$contents$goog$events$BrowserEvent_BrowserEvent.superClass_.preventDefault.call(this);
|
|
7400
7423
|
};
|
|
7401
|
-
goog
|
|
7424
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.prototype.isButton = function(button) {
|
|
7402
7425
|
return this.event_.button == button;
|
|
7403
7426
|
};
|
|
7404
|
-
goog
|
|
7405
|
-
return this.isButton(goog
|
|
7427
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.prototype.isMouseActionButton = function() {
|
|
7428
|
+
return this.isButton(module$contents$goog$events$BrowserEvent_BrowserEvent.MouseButton.LEFT) && !(goog.userAgent.MAC && this.ctrlKey);
|
|
7406
7429
|
};
|
|
7407
|
-
goog
|
|
7408
|
-
goog
|
|
7430
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.prototype.stopPropagation = function() {
|
|
7431
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.superClass_.stopPropagation.call(this);
|
|
7409
7432
|
this.event_.stopPropagation ? this.event_.stopPropagation() : this.event_.cancelBubble = !0;
|
|
7410
7433
|
};
|
|
7411
|
-
goog
|
|
7412
|
-
goog
|
|
7434
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.prototype.preventDefault = function() {
|
|
7435
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.superClass_.preventDefault.call(this);
|
|
7413
7436
|
var be = this.event_;
|
|
7414
7437
|
be.preventDefault ? be.preventDefault() : be.returnValue = !1;
|
|
7415
7438
|
};
|
|
7416
|
-
goog
|
|
7439
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.prototype.getBrowserEvent = function() {
|
|
7417
7440
|
return this.event_;
|
|
7418
7441
|
};
|
|
7419
|
-
goog
|
|
7442
|
+
module$contents$goog$events$BrowserEvent_BrowserEvent.getPointerType_ = function(e) {
|
|
7420
7443
|
return e.pointerType;
|
|
7421
7444
|
};
|
|
7445
|
+
goog.events.BrowserEvent = module$contents$goog$events$BrowserEvent_BrowserEvent;
|
|
7422
7446
|
goog.events.Listenable = function() {
|
|
7423
7447
|
};
|
|
7424
7448
|
goog.events.Listenable.IMPLEMENTED_BY_PROP = "closure_listenable_" + (Math.random() * 1E6 | 0);
|
|
@@ -7768,7 +7792,7 @@ goog.events.protectBrowserEventEntryPoint = function(errorHandler) {
|
|
|
7768
7792
|
goog.events.handleBrowserEvent_ = errorHandler.protectEntryPoint(goog.events.handleBrowserEvent_);
|
|
7769
7793
|
};
|
|
7770
7794
|
goog.events.handleBrowserEvent_ = function(listener, opt_evt) {
|
|
7771
|
-
return listener.removed ? !0 : goog.events.fireListener(listener, new goog
|
|
7795
|
+
return listener.removed ? !0 : goog.events.fireListener(listener, new module$contents$goog$events$BrowserEvent_BrowserEvent(opt_evt, this));
|
|
7772
7796
|
};
|
|
7773
7797
|
goog.events.markIeEvent_ = function(e) {
|
|
7774
7798
|
var useReturnValue = !1;
|
|
@@ -15500,51 +15524,51 @@ goog.Promise.Resolver_ = function(promise, resolve, reject) {
|
|
|
15500
15524
|
this.resolve = resolve;
|
|
15501
15525
|
this.reject = reject;
|
|
15502
15526
|
};
|
|
15503
|
-
goog
|
|
15527
|
+
function module$contents$goog$Timer_Timer(opt_interval, opt_timerObject) {
|
|
15504
15528
|
goog.events.EventTarget.call(this);
|
|
15505
15529
|
this.interval_ = opt_interval || 1;
|
|
15506
|
-
this.timerObject_ = opt_timerObject || goog.
|
|
15530
|
+
this.timerObject_ = opt_timerObject || module$contents$goog$Timer_Timer.defaultTimerObject;
|
|
15507
15531
|
this.boundTick_ = goog.bind(this.tick_, this);
|
|
15508
15532
|
this.last_ = goog.now();
|
|
15509
|
-
}
|
|
15510
|
-
goog.inherits(goog
|
|
15511
|
-
goog.
|
|
15512
|
-
goog.
|
|
15513
|
-
goog.
|
|
15514
|
-
goog.
|
|
15515
|
-
goog.
|
|
15516
|
-
goog.
|
|
15517
|
-
goog.
|
|
15533
|
+
}
|
|
15534
|
+
goog.inherits(module$contents$goog$Timer_Timer, goog.events.EventTarget);
|
|
15535
|
+
module$contents$goog$Timer_Timer.MAX_TIMEOUT_ = 2147483647;
|
|
15536
|
+
module$contents$goog$Timer_Timer.INVALID_TIMEOUT_ID_ = -1;
|
|
15537
|
+
module$contents$goog$Timer_Timer.prototype.enabled = !1;
|
|
15538
|
+
module$contents$goog$Timer_Timer.defaultTimerObject = goog.global;
|
|
15539
|
+
module$contents$goog$Timer_Timer.intervalScale = .8;
|
|
15540
|
+
module$contents$goog$Timer_Timer.prototype.timer_ = null;
|
|
15541
|
+
module$contents$goog$Timer_Timer.prototype.getInterval = function() {
|
|
15518
15542
|
return this.interval_;
|
|
15519
15543
|
};
|
|
15520
|
-
goog.
|
|
15544
|
+
module$contents$goog$Timer_Timer.prototype.setInterval = function(interval) {
|
|
15521
15545
|
this.interval_ = interval;
|
|
15522
15546
|
this.timer_ && this.enabled ? (this.stop(), this.start()) : this.timer_ && this.stop();
|
|
15523
15547
|
};
|
|
15524
|
-
goog.
|
|
15548
|
+
module$contents$goog$Timer_Timer.prototype.tick_ = function() {
|
|
15525
15549
|
if (this.enabled) {
|
|
15526
15550
|
var elapsed = goog.now() - this.last_;
|
|
15527
|
-
elapsed > 0 && elapsed < this.interval_ * goog.
|
|
15551
|
+
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
15552
|
}
|
|
15529
15553
|
};
|
|
15530
|
-
goog.
|
|
15531
|
-
this.dispatchEvent(goog.
|
|
15554
|
+
module$contents$goog$Timer_Timer.prototype.dispatchTick = function() {
|
|
15555
|
+
this.dispatchEvent(module$contents$goog$Timer_Timer.TICK);
|
|
15532
15556
|
};
|
|
15533
|
-
goog.
|
|
15557
|
+
module$contents$goog$Timer_Timer.prototype.start = function() {
|
|
15534
15558
|
this.enabled = !0;
|
|
15535
15559
|
this.timer_ || (this.timer_ = this.timerObject_.setTimeout(this.boundTick_, this.interval_), this.last_ = goog.now());
|
|
15536
15560
|
};
|
|
15537
|
-
goog.
|
|
15561
|
+
module$contents$goog$Timer_Timer.prototype.stop = function() {
|
|
15538
15562
|
this.enabled = !1;
|
|
15539
15563
|
this.timer_ && (this.timerObject_.clearTimeout(this.timer_), this.timer_ = null);
|
|
15540
15564
|
};
|
|
15541
|
-
goog.
|
|
15542
|
-
goog.
|
|
15565
|
+
module$contents$goog$Timer_Timer.prototype.disposeInternal = function() {
|
|
15566
|
+
module$contents$goog$Timer_Timer.superClass_.disposeInternal.call(this);
|
|
15543
15567
|
this.stop();
|
|
15544
15568
|
delete this.timerObject_;
|
|
15545
15569
|
};
|
|
15546
|
-
goog.
|
|
15547
|
-
goog.
|
|
15570
|
+
module$contents$goog$Timer_Timer.TICK = "tick";
|
|
15571
|
+
module$contents$goog$Timer_Timer.callOnce = function(listener, opt_delay, opt_handler) {
|
|
15548
15572
|
if (typeof listener === "function") {
|
|
15549
15573
|
opt_handler && (listener = goog.bind(listener, opt_handler));
|
|
15550
15574
|
} else if (listener && typeof listener.handleEvent == "function") {
|
|
@@ -15552,23 +15576,24 @@ goog.Timer.callOnce = function(listener, opt_delay, opt_handler) {
|
|
|
15552
15576
|
} else {
|
|
15553
15577
|
throw Error("Invalid listener argument");
|
|
15554
15578
|
}
|
|
15555
|
-
return Number(opt_delay) > goog.
|
|
15579
|
+
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
15580
|
};
|
|
15557
|
-
goog.
|
|
15558
|
-
goog.
|
|
15581
|
+
module$contents$goog$Timer_Timer.clear = function(timerId) {
|
|
15582
|
+
module$contents$goog$Timer_Timer.defaultTimerObject.clearTimeout(timerId);
|
|
15559
15583
|
};
|
|
15560
|
-
goog.
|
|
15584
|
+
module$contents$goog$Timer_Timer.promise = function(delay, opt_result) {
|
|
15561
15585
|
var timerKey = null;
|
|
15562
15586
|
return (new goog.Promise(function(resolve, reject) {
|
|
15563
|
-
timerKey = goog.
|
|
15587
|
+
timerKey = module$contents$goog$Timer_Timer.callOnce(function() {
|
|
15564
15588
|
resolve(opt_result);
|
|
15565
15589
|
}, delay);
|
|
15566
|
-
timerKey == goog.
|
|
15590
|
+
timerKey == module$contents$goog$Timer_Timer.INVALID_TIMEOUT_ID_ && reject(Error("Failed to schedule timer."));
|
|
15567
15591
|
})).thenCatch(function(error) {
|
|
15568
|
-
goog.
|
|
15592
|
+
module$contents$goog$Timer_Timer.clear(timerKey);
|
|
15569
15593
|
throw error;
|
|
15570
15594
|
});
|
|
15571
15595
|
};
|
|
15596
|
+
goog.Timer = module$contents$goog$Timer_Timer;
|
|
15572
15597
|
var module$contents$goog$async$Throttle_Throttle = function(listener, interval, handler) {
|
|
15573
15598
|
goog.Disposable.call(this);
|
|
15574
15599
|
this.listener_ = handler != null ? listener.bind(handler) : listener;
|
|
@@ -15584,7 +15609,7 @@ module$contents$goog$async$Throttle_Throttle.prototype.fire = function(var_args)
|
|
|
15584
15609
|
this.timer_ || this.pauseCount_ ? this.shouldFire_ = !0 : this.doAction_();
|
|
15585
15610
|
};
|
|
15586
15611
|
module$contents$goog$async$Throttle_Throttle.prototype.stop = function() {
|
|
15587
|
-
this.timer_ && (goog.
|
|
15612
|
+
this.timer_ && (module$contents$goog$Timer_Timer.clear(this.timer_), this.timer_ = null, this.shouldFire_ = !1, this.args_ = null);
|
|
15588
15613
|
};
|
|
15589
15614
|
module$contents$goog$async$Throttle_Throttle.prototype.pause = function() {
|
|
15590
15615
|
this.pauseCount_++;
|
|
@@ -15603,7 +15628,7 @@ module$contents$goog$async$Throttle_Throttle.prototype.onTimer_ = function() {
|
|
|
15603
15628
|
};
|
|
15604
15629
|
module$contents$goog$async$Throttle_Throttle.prototype.doAction_ = function() {
|
|
15605
15630
|
var $jscomp$this$m92829211$8 = this;
|
|
15606
|
-
this.timer_ = goog.
|
|
15631
|
+
this.timer_ = module$contents$goog$Timer_Timer.callOnce(function() {
|
|
15607
15632
|
return $jscomp$this$m92829211$8.onTimer_();
|
|
15608
15633
|
}, this.interval_);
|
|
15609
15634
|
var args = this.args_;
|
|
@@ -16326,8 +16351,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
16326
16351
|
this.replacements = new Map();
|
|
16327
16352
|
};
|
|
16328
16353
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
16329
|
-
var $jscomp$this$
|
|
16330
|
-
return $jscomp$this$
|
|
16354
|
+
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) {
|
|
16355
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
16331
16356
|
});
|
|
16332
16357
|
if (openedTags.length !== 0) {
|
|
16333
16358
|
if (goog.DEBUG) {
|
|
@@ -16545,8 +16570,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16545
16570
|
if (Array.isArray(token)) {
|
|
16546
16571
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
16547
16572
|
} else {
|
|
16548
|
-
var $jscomp$optchain$
|
|
16549
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
16573
|
+
var $jscomp$optchain$tmpm282935782$0 = void 0;
|
|
16574
|
+
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
16575
|
tokens.push(token);
|
|
16551
16576
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
16552
16577
|
return tokens;
|
|
@@ -16792,9 +16817,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16792
16817
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16793
16818
|
};
|
|
16794
16819
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16795
|
-
var $jscomp$this$
|
|
16820
|
+
var $jscomp$this$m282935782$26 = this;
|
|
16796
16821
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16797
|
-
return $jscomp$this$
|
|
16822
|
+
return $jscomp$this$m282935782$26.isWhitespace(c);
|
|
16798
16823
|
});
|
|
16799
16824
|
};
|
|
16800
16825
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16901,8 +16926,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16901
16926
|
return null;
|
|
16902
16927
|
}
|
|
16903
16928
|
if (token.lowercaseName === "url") {
|
|
16904
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16905
|
-
if ((($jscomp$optchain$
|
|
16929
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1577590584$0 = void 0;
|
|
16930
|
+
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
16931
|
return null;
|
|
16907
16932
|
}
|
|
16908
16933
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$url_policy_parseUrl(nextToken.value);
|
|
@@ -16925,8 +16950,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16925
16950
|
if (!this.allowKeyframes) {
|
|
16926
16951
|
return null;
|
|
16927
16952
|
}
|
|
16928
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16929
|
-
var rule = $jscomp$key$
|
|
16953
|
+
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()) {
|
|
16954
|
+
var rule = $jscomp$key$m1577590584$1$rule.value;
|
|
16930
16955
|
if (rule instanceof CSSKeyframeRule) {
|
|
16931
16956
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16932
16957
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16938,8 +16963,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16938
16963
|
if (!this.propertyAllowlist.has(name)) {
|
|
16939
16964
|
return !1;
|
|
16940
16965
|
}
|
|
16941
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16942
|
-
var discarder = $jscomp$key$
|
|
16966
|
+
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()) {
|
|
16967
|
+
var discarder = $jscomp$key$m1577590584$2$discarder.value;
|
|
16943
16968
|
if (discarder(name)) {
|
|
16944
16969
|
return !1;
|
|
16945
16970
|
}
|
|
@@ -16954,8 +16979,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16954
16979
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16955
16980
|
};
|
|
16956
16981
|
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$
|
|
16982
|
+
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()) {
|
|
16983
|
+
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
16984
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16960
16985
|
}
|
|
16961
16986
|
return sanitizedProperties;
|
|
@@ -16969,8 +16994,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16969
16994
|
return selector + " { " + sanitizedProperties + " }";
|
|
16970
16995
|
};
|
|
16971
16996
|
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$
|
|
16997
|
+
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()) {
|
|
16998
|
+
var rule = $jscomp$key$m1577590584$4$rule.value;
|
|
16974
16999
|
if (rule instanceof CSSStyleRule) {
|
|
16975
17000
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16976
17001
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -17067,14 +17092,14 @@ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanit
|
|
|
17067
17092
|
["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY, conditions:new Map([["rel", new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])], ["SOURCE", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}],
|
|
17068
17093
|
["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])], ["IMG", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}], ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])],
|
|
17069
17094
|
["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])], ["AUDIO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])]], module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES =
|
|
17070
|
-
"title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked cite color cols colspan controls controlslist coords crossorigin datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden inert ismap label lang loop max maxlength media minlength min multiple muted nonce open playsinline placeholder
|
|
17095
|
+
"title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked cite color cols colspan controls controlslist coords crossorigin datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden inert ismap label lang loop max maxlength media minlength min multiple muted nonce open playsinline placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type usemap valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
|
|
17071
17096
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES = [["dir", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
17072
17097
|
return new Map([["dir", new Set(["auto", "ltr", "rtl"])]]);
|
|
17073
17098
|
})}], ["async", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
17074
17099
|
return new Map([["async", new Set(["async"])]]);
|
|
17075
17100
|
})}], ["loading", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
17076
17101
|
return new Map([["loading", new Set(["eager", "lazy"])]]);
|
|
17077
|
-
})}], ["target", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
17102
|
+
})}], ["poster", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}], ["target", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
17078
17103
|
return new Map([["target", new Set(["_self", "_blank"])]]);
|
|
17079
17104
|
})}]];
|
|
17080
17105
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
|
|
@@ -17134,8 +17159,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17134
17159
|
return fragment;
|
|
17135
17160
|
};
|
|
17136
17161
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
17137
|
-
for (var $jscomp$this$
|
|
17138
|
-
return $jscomp$this$
|
|
17162
|
+
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) {
|
|
17163
|
+
return $jscomp$this$m1085474118$13.nodeFilter(n);
|
|
17139
17164
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
17140
17165
|
var sanitizedNode = void 0;
|
|
17141
17166
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -17170,8 +17195,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17170
17195
|
return this.createTextNode(textNode.data);
|
|
17171
17196
|
};
|
|
17172
17197
|
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$
|
|
17198
|
+
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()) {
|
|
17199
|
+
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
17200
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
17176
17201
|
switch(policy.policyAction) {
|
|
17177
17202
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -17203,9 +17228,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17203
17228
|
break;
|
|
17204
17229
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
17205
17230
|
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$
|
|
17231
|
+
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
17232
|
$jscomp$iter$35.next()) {
|
|
17208
|
-
var part = $jscomp$key$
|
|
17233
|
+
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
17234
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
17210
17235
|
}
|
|
17211
17236
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -17263,8 +17288,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17263
17288
|
if (!conditions) {
|
|
17264
17289
|
return !0;
|
|
17265
17290
|
}
|
|
17266
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
17267
|
-
var $jscomp$destructuring$var32 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17291
|
+
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()) {
|
|
17292
|
+
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
17293
|
if (value && !expectedValues.has(value)) {
|
|
17269
17294
|
return !1;
|
|
17270
17295
|
}
|
|
@@ -17279,8 +17304,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
17279
17304
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
17280
17305
|
};
|
|
17281
17306
|
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$
|
|
17307
|
+
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()) {
|
|
17308
|
+
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
17309
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
17285
17310
|
}
|
|
17286
17311
|
return {parts:parts};
|
|
@@ -17337,8 +17362,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17337
17362
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
17338
17363
|
};
|
|
17339
17364
|
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$
|
|
17365
|
+
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()) {
|
|
17366
|
+
var element = $jscomp$key$435282654$23$element.value;
|
|
17342
17367
|
element = element.toUpperCase();
|
|
17343
17368
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
17344
17369
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -17356,8 +17381,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17356
17381
|
throw Error("Element: " + element + " is not a custom element");
|
|
17357
17382
|
}
|
|
17358
17383
|
if (allowedAttributes) {
|
|
17359
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
17360
|
-
elementPolicy.set($jscomp$key$
|
|
17384
|
+
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()) {
|
|
17385
|
+
elementPolicy.set($jscomp$key$435282654$24$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
17361
17386
|
}
|
|
17362
17387
|
allowedElementPolicies.set(element, elementPolicy);
|
|
17363
17388
|
} else {
|
|
@@ -17367,15 +17392,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17367
17392
|
return this;
|
|
17368
17393
|
};
|
|
17369
17394
|
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$
|
|
17395
|
+
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()) {
|
|
17396
|
+
var attribute = $jscomp$key$435282654$25$attribute.value;
|
|
17372
17397
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
17373
17398
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
17374
17399
|
}
|
|
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$
|
|
17400
|
+
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()) {
|
|
17401
|
+
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
17402
|
$jscomp$iter$42.next()) {
|
|
17378
|
-
var $jscomp$destructuring$var38 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
17403
|
+
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
17404
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
17380
17405
|
}
|
|
17381
17406
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -17390,8 +17415,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
17390
17415
|
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
17416
|
return this;
|
|
17392
17417
|
}
|
|
17393
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
17394
|
-
var attribute = $jscomp$key$
|
|
17418
|
+
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()) {
|
|
17419
|
+
var attribute = $jscomp$key$435282654$28$attribute.value;
|
|
17395
17420
|
if (attribute.indexOf("data-") !== 0) {
|
|
17396
17421
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
17397
17422
|
}
|
|
@@ -17461,7 +17486,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17461
17486
|
return this;
|
|
17462
17487
|
};
|
|
17463
17488
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
17464
|
-
var $jscomp$this$
|
|
17489
|
+
var $jscomp$this$435282654$19 = this;
|
|
17465
17490
|
this.extendSanitizerTableForCss();
|
|
17466
17491
|
var propertyDiscarders = [];
|
|
17467
17492
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -17471,9 +17496,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
17471
17496
|
return /^transition(-|$)/.test(property);
|
|
17472
17497
|
});
|
|
17473
17498
|
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$
|
|
17499
|
+
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
17500
|
}, 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$
|
|
17501
|
+
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
17502
|
}, this.resourceUrlPolicy, this.navigationUrlPolicy, this.openShadow);
|
|
17478
17503
|
};
|
|
17479
17504
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -17693,12 +17718,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17693
17718
|
}
|
|
17694
17719
|
try {
|
|
17695
17720
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17696
|
-
} catch ($jscomp$unused$catch$
|
|
17721
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
17697
17722
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17698
17723
|
}
|
|
17699
17724
|
try {
|
|
17700
17725
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17701
|
-
} catch ($jscomp$unused$catch$
|
|
17726
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
17702
17727
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17703
17728
|
}
|
|
17704
17729
|
return !1;
|
|
@@ -19163,23 +19188,23 @@ var module$contents$goog$net$ErrorCode_ErrorCode = {NO_ERROR:0, ACCESS_DENIED:1,
|
|
|
19163
19188
|
}};
|
|
19164
19189
|
goog.net.ErrorCode = module$contents$goog$net$ErrorCode_ErrorCode;
|
|
19165
19190
|
goog.net.EventType = {COMPLETE:"complete", SUCCESS:"success", ERROR:"error", ABORT:"abort", READY:"ready", READY_STATE_CHANGE:"readystatechange", TIMEOUT:"timeout", INCREMENTAL_DATA:"incrementaldata", PROGRESS:"progress", DOWNLOAD_PROGRESS:"downloadprogress", UPLOAD_PROGRESS:"uploadprogress"};
|
|
19166
|
-
goog
|
|
19167
|
-
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,
|
|
19168
|
-
HTTP_VERSION_NOT_SUPPORTED:505, INSUFFICIENT_STORAGE:507, NETWORK_AUTHENTICATION_REQUIRED:511, QUIRK_IE_NO_CONTENT:1223
|
|
19169
|
-
goog.net.HttpStatus.isSuccess = function(status) {
|
|
19191
|
+
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,
|
|
19192
|
+
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,
|
|
19193
|
+
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
19194
|
switch(status) {
|
|
19171
|
-
case goog
|
|
19172
|
-
case goog
|
|
19173
|
-
case goog
|
|
19174
|
-
case goog
|
|
19175
|
-
case goog
|
|
19176
|
-
case goog
|
|
19177
|
-
case goog
|
|
19195
|
+
case module$contents$goog$net$HttpStatus_HttpStatus.OK:
|
|
19196
|
+
case module$contents$goog$net$HttpStatus_HttpStatus.CREATED:
|
|
19197
|
+
case module$contents$goog$net$HttpStatus_HttpStatus.ACCEPTED:
|
|
19198
|
+
case module$contents$goog$net$HttpStatus_HttpStatus.NO_CONTENT:
|
|
19199
|
+
case module$contents$goog$net$HttpStatus_HttpStatus.PARTIAL_CONTENT:
|
|
19200
|
+
case module$contents$goog$net$HttpStatus_HttpStatus.NOT_MODIFIED:
|
|
19201
|
+
case module$contents$goog$net$HttpStatus_HttpStatus.QUIRK_IE_NO_CONTENT:
|
|
19178
19202
|
return !0;
|
|
19179
19203
|
default:
|
|
19180
19204
|
return !1;
|
|
19181
19205
|
}
|
|
19182
|
-
};
|
|
19206
|
+
}};
|
|
19207
|
+
goog.net.HttpStatus = module$contents$goog$net$HttpStatus_HttpStatus;
|
|
19183
19208
|
function module$contents$goog$net$XhrLike_XhrLike() {
|
|
19184
19209
|
}
|
|
19185
19210
|
module$contents$goog$net$XhrLike_XhrLike.prototype.open = function(method, url, opt_async, opt_user, opt_password) {
|
|
@@ -19452,7 +19477,7 @@ goog.net.XhrIo.prototype.isComplete = function() {
|
|
|
19452
19477
|
};
|
|
19453
19478
|
goog.net.XhrIo.prototype.isSuccess = function() {
|
|
19454
19479
|
var status = this.getStatus();
|
|
19455
|
-
return goog
|
|
19480
|
+
return module$contents$goog$net$HttpStatus_HttpStatus.isSuccess(status) || status === 0 && !this.isLastUriEffectiveSchemeHttp_();
|
|
19456
19481
|
};
|
|
19457
19482
|
goog.net.XhrIo.prototype.isLastUriEffectiveSchemeHttp_ = function() {
|
|
19458
19483
|
var scheme = module$contents$goog$uri$utils_getEffectiveScheme(String(this.lastUri_));
|
|
@@ -19579,7 +19604,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19579
19604
|
ee.apiclient = {};
|
|
19580
19605
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19581
19606
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19582
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19607
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.12";
|
|
19583
19608
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19584
19609
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19585
19610
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19884,8 +19909,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19884
19909
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19885
19910
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19886
19911
|
method = method || "POST";
|
|
19887
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19888
|
-
version === "1.7.
|
|
19912
|
+
var headers = {"Content-Type":contentType}, version = "1.7.12";
|
|
19913
|
+
version === "1.7.12" && (version = "latest");
|
|
19889
19914
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19890
19915
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19891
19916
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -19898,7 +19923,7 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19898
19923
|
});
|
|
19899
19924
|
}), null;
|
|
19900
19925
|
}
|
|
19901
|
-
params = params ? params.clone() : new goog.
|
|
19926
|
+
params = params ? params.clone() : new module$contents$goog$Uri_Uri.QueryData();
|
|
19902
19927
|
module$contents$ee$apiclient_apiclient.cloudApiKey_ != null && params.add("key", module$contents$ee$apiclient_apiclient.cloudApiKey_);
|
|
19903
19928
|
profileHookAtCallTime && (headers[module$contents$ee$apiclient_apiclient.PROFILE_REQUEST_HEADER] = "1");
|
|
19904
19929
|
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 +20039,7 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
20014
20039
|
}
|
|
20015
20040
|
};
|
|
20016
20041
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
20017
|
-
for (var request = new goog.
|
|
20042
|
+
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
20043
|
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
20044
|
request.set(name, item);
|
|
20020
20045
|
}
|
|
@@ -22660,7 +22685,7 @@ ee.ApiFunction.lookup = function(name) {
|
|
|
22660
22685
|
goog.exportSymbol("ee.ApiFunction.lookup", ee.ApiFunction.lookup);
|
|
22661
22686
|
ee.ApiFunction.lookupInternal = function(name) {
|
|
22662
22687
|
ee.ApiFunction.initialize();
|
|
22663
|
-
return ee.ApiFunction.api_[name]
|
|
22688
|
+
return ee.ApiFunction.api_.hasOwnProperty(name) ? ee.ApiFunction.api_[name] : null;
|
|
22664
22689
|
};
|
|
22665
22690
|
ee.ApiFunction.initialize = function(opt_successCallback, opt_failureCallback) {
|
|
22666
22691
|
if (ee.ApiFunction.api_) {
|
|
@@ -22684,23 +22709,28 @@ ee.ApiFunction.reset = function() {
|
|
|
22684
22709
|
};
|
|
22685
22710
|
ee.ApiFunction.importApi = function(target, prefix, typeName, opt_prepend) {
|
|
22686
22711
|
ee.ApiFunction.initialize();
|
|
22687
|
-
var prepend = opt_prepend || "";
|
|
22688
|
-
|
|
22689
|
-
|
|
22690
|
-
|
|
22691
|
-
var
|
|
22692
|
-
|
|
22693
|
-
|
|
22694
|
-
|
|
22695
|
-
|
|
22696
|
-
|
|
22712
|
+
var prepend = opt_prepend || "", api = ee.ApiFunction.api_, $jscomp$loop$2006059326$0 = {}, name;
|
|
22713
|
+
for (name in api) {
|
|
22714
|
+
if ($jscomp$loop$2006059326$0 = {apiFunc:void 0, isInstance$jscomp$2:void 0}, Object.prototype.hasOwnProperty.call(api, name)) {
|
|
22715
|
+
$jscomp$loop$2006059326$0.apiFunc = api[name];
|
|
22716
|
+
var parts = name.split(".");
|
|
22717
|
+
if (parts.length === 2 && parts[0] === prefix) {
|
|
22718
|
+
var fname = prepend + parts[1], signature = $jscomp$loop$2006059326$0.apiFunc.getSignature();
|
|
22719
|
+
ee.ApiFunction.boundSignatures_[name] = !0;
|
|
22720
|
+
$jscomp$loop$2006059326$0.isInstance$jscomp$2 = !1;
|
|
22721
|
+
if (signature.args.length) {
|
|
22722
|
+
var firstArgType = signature.args[0].type;
|
|
22723
|
+
$jscomp$loop$2006059326$0.isInstance$jscomp$2 = firstArgType != "Object" && ee.Types.isSubtype(firstArgType, typeName);
|
|
22724
|
+
}
|
|
22725
|
+
var destination = $jscomp$loop$2006059326$0.isInstance$jscomp$2 ? target.prototype : target;
|
|
22726
|
+
fname in destination && !destination[fname].signature || (destination[fname] = function($jscomp$loop$2006059326$0) {
|
|
22727
|
+
return function(var_args) {
|
|
22728
|
+
return $jscomp$loop$2006059326$0.apiFunc.callOrApply($jscomp$loop$2006059326$0.isInstance$jscomp$2 ? this : void 0, Array.prototype.slice.call(arguments, 0));
|
|
22729
|
+
};
|
|
22730
|
+
}($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
22731
|
}
|
|
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
22732
|
}
|
|
22703
|
-
}
|
|
22733
|
+
}
|
|
22704
22734
|
};
|
|
22705
22735
|
ee.ApiFunction.clearApi = function(target) {
|
|
22706
22736
|
var clear = function(target) {
|
|
@@ -25103,7 +25133,7 @@ ee.FloatTileOverlay.prototype.getAllFloatTileDivs = function() {
|
|
|
25103
25133
|
return this.floatTileDivs_;
|
|
25104
25134
|
};
|
|
25105
25135
|
ee.FloatTileOverlay.prototype.getLoadedFloatTilesCount = function() {
|
|
25106
|
-
return this.floatTiles_.
|
|
25136
|
+
return this.floatTiles_.size;
|
|
25107
25137
|
};
|
|
25108
25138
|
ee.FloatTileOverlay.prototype.dispatchTileEvent_ = function() {
|
|
25109
25139
|
this.dispatchEvent(new ee_root.third_party.earthengine_api.javascript.abstractoverlay.TileEvent(this.tilesLoading.length));
|
|
@@ -25289,7 +25319,7 @@ module$contents$goog$fs$ProgressEvent_GoogProgressEvent.prototype.getTotal = fun
|
|
|
25289
25319
|
return this.event_.total;
|
|
25290
25320
|
};
|
|
25291
25321
|
goog.fs.ProgressEvent = module$contents$goog$fs$ProgressEvent_GoogProgressEvent;
|
|
25292
|
-
goog
|
|
25322
|
+
function module$contents$goog$fs$FileReader_GoogFileReader() {
|
|
25293
25323
|
goog.events.EventTarget.call(this);
|
|
25294
25324
|
this.reader_ = new FileReader();
|
|
25295
25325
|
this.reader_.onloadstart = goog.bind(this.dispatchProgressEvent_, this);
|
|
@@ -25298,74 +25328,75 @@ goog.fs.FileReader = function() {
|
|
|
25298
25328
|
this.reader_.onabort = goog.bind(this.dispatchProgressEvent_, this);
|
|
25299
25329
|
this.reader_.onerror = goog.bind(this.dispatchProgressEvent_, this);
|
|
25300
25330
|
this.reader_.onloadend = goog.bind(this.dispatchProgressEvent_, this);
|
|
25301
|
-
}
|
|
25302
|
-
goog.inherits(goog
|
|
25303
|
-
goog
|
|
25304
|
-
goog
|
|
25305
|
-
goog
|
|
25331
|
+
}
|
|
25332
|
+
goog.inherits(module$contents$goog$fs$FileReader_GoogFileReader, goog.events.EventTarget);
|
|
25333
|
+
module$contents$goog$fs$FileReader_GoogFileReader.ReadyState = {INIT:0, LOADING:1, DONE:2};
|
|
25334
|
+
module$contents$goog$fs$FileReader_GoogFileReader.EventType = {LOAD_START:"loadstart", PROGRESS:"progress", LOAD:"load", ABORT:"abort", ERROR:"error", LOAD_END:"loadend"};
|
|
25335
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.abort = function() {
|
|
25306
25336
|
try {
|
|
25307
25337
|
this.reader_.abort();
|
|
25308
25338
|
} catch (e) {
|
|
25309
25339
|
throw new module$contents$goog$fs$Error_FsError(e, "aborting read");
|
|
25310
25340
|
}
|
|
25311
25341
|
};
|
|
25312
|
-
goog
|
|
25342
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.getReadyState = function() {
|
|
25313
25343
|
return this.reader_.readyState;
|
|
25314
25344
|
};
|
|
25315
|
-
goog
|
|
25345
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.getResult = function() {
|
|
25316
25346
|
return this.reader_.result;
|
|
25317
25347
|
};
|
|
25318
|
-
goog
|
|
25348
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.getError = function() {
|
|
25319
25349
|
return this.reader_.error && new module$contents$goog$fs$Error_FsError(this.reader_.error, "reading file");
|
|
25320
25350
|
};
|
|
25321
|
-
goog
|
|
25351
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.dispatchProgressEvent_ = function(event) {
|
|
25322
25352
|
this.dispatchEvent(new module$contents$goog$fs$ProgressEvent_GoogProgressEvent(event, this));
|
|
25323
25353
|
};
|
|
25324
|
-
goog
|
|
25325
|
-
goog
|
|
25354
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.disposeInternal = function() {
|
|
25355
|
+
module$contents$goog$fs$FileReader_GoogFileReader.superClass_.disposeInternal.call(this);
|
|
25326
25356
|
delete this.reader_;
|
|
25327
25357
|
};
|
|
25328
|
-
goog
|
|
25358
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.readAsBinaryString = function(blob) {
|
|
25329
25359
|
this.reader_.readAsBinaryString(blob);
|
|
25330
25360
|
};
|
|
25331
|
-
goog
|
|
25332
|
-
var reader = new goog
|
|
25361
|
+
module$contents$goog$fs$FileReader_GoogFileReader.readAsBinaryString = function(blob) {
|
|
25362
|
+
var reader = new module$contents$goog$fs$FileReader_GoogFileReader(), d = module$contents$goog$fs$FileReader_GoogFileReader.createDeferred_(reader);
|
|
25333
25363
|
reader.readAsBinaryString(blob);
|
|
25334
25364
|
return d;
|
|
25335
25365
|
};
|
|
25336
|
-
goog
|
|
25366
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.readAsArrayBuffer = function(blob) {
|
|
25337
25367
|
this.reader_.readAsArrayBuffer(blob);
|
|
25338
25368
|
};
|
|
25339
|
-
goog
|
|
25340
|
-
var reader = new goog
|
|
25369
|
+
module$contents$goog$fs$FileReader_GoogFileReader.readAsArrayBuffer = function(blob) {
|
|
25370
|
+
var reader = new module$contents$goog$fs$FileReader_GoogFileReader(), d = module$contents$goog$fs$FileReader_GoogFileReader.createDeferred_(reader);
|
|
25341
25371
|
reader.readAsArrayBuffer(blob);
|
|
25342
25372
|
return d;
|
|
25343
25373
|
};
|
|
25344
|
-
goog
|
|
25374
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.readAsText = function(blob, opt_encoding) {
|
|
25345
25375
|
this.reader_.readAsText(blob, opt_encoding);
|
|
25346
25376
|
};
|
|
25347
|
-
goog
|
|
25348
|
-
var reader = new goog
|
|
25377
|
+
module$contents$goog$fs$FileReader_GoogFileReader.readAsText = function(blob, opt_encoding) {
|
|
25378
|
+
var reader = new module$contents$goog$fs$FileReader_GoogFileReader(), d = module$contents$goog$fs$FileReader_GoogFileReader.createDeferred_(reader);
|
|
25349
25379
|
reader.readAsText(blob, opt_encoding);
|
|
25350
25380
|
return d;
|
|
25351
25381
|
};
|
|
25352
|
-
goog
|
|
25382
|
+
module$contents$goog$fs$FileReader_GoogFileReader.prototype.readAsDataUrl = function(blob) {
|
|
25353
25383
|
this.reader_.readAsDataURL(blob);
|
|
25354
25384
|
};
|
|
25355
|
-
goog
|
|
25356
|
-
var reader = new goog
|
|
25385
|
+
module$contents$goog$fs$FileReader_GoogFileReader.readAsDataUrl = function(blob) {
|
|
25386
|
+
var reader = new module$contents$goog$fs$FileReader_GoogFileReader(), d = module$contents$goog$fs$FileReader_GoogFileReader.createDeferred_(reader);
|
|
25357
25387
|
reader.readAsDataUrl(blob);
|
|
25358
25388
|
return d;
|
|
25359
25389
|
};
|
|
25360
|
-
goog
|
|
25390
|
+
module$contents$goog$fs$FileReader_GoogFileReader.createDeferred_ = function(reader) {
|
|
25361
25391
|
var deferred = new goog.async.Deferred();
|
|
25362
|
-
reader.listen(goog
|
|
25392
|
+
reader.listen(module$contents$goog$fs$FileReader_GoogFileReader.EventType.LOAD_END, goog.partial(function(d, r, e) {
|
|
25363
25393
|
var result = r.getResult(), error = r.getError();
|
|
25364
25394
|
result == null || error ? d.errback(error) : d.callback(result);
|
|
25365
25395
|
r.dispose();
|
|
25366
25396
|
}, deferred, reader));
|
|
25367
25397
|
return deferred;
|
|
25368
25398
|
};
|
|
25399
|
+
goog.fs.FileReader = module$contents$goog$fs$FileReader_GoogFileReader;
|
|
25369
25400
|
goog.dom.vendor = {};
|
|
25370
25401
|
function module$contents$goog$dom$vendor_getVendorJsPrefix() {
|
|
25371
25402
|
return goog.userAgent.WEBKIT ? "Webkit" : goog.userAgent.GECKO ? "Moz" : null;
|
|
@@ -26173,7 +26204,7 @@ ee.layers.AbstractOverlay.prototype.setOpacity = function(opacity) {
|
|
|
26173
26204
|
this.opacity = opacity;
|
|
26174
26205
|
this.tilesById.forEach(function(tile) {
|
|
26175
26206
|
goog.style.setOpacity(tile.div, this.opacity);
|
|
26176
|
-
}
|
|
26207
|
+
}.bind(this));
|
|
26177
26208
|
};
|
|
26178
26209
|
ee.layers.AbstractOverlay.prototype.getTilesById = function() {
|
|
26179
26210
|
return this.tilesById;
|
|
@@ -26199,7 +26230,7 @@ ee.layers.AbstractOverlay.prototype.getTile = function(coord, zoom, ownerDocumen
|
|
|
26199
26230
|
};
|
|
26200
26231
|
ee.layers.AbstractOverlay.prototype.releaseTile = function(tileDiv) {
|
|
26201
26232
|
var tile = this.tilesById.get(tileDiv.id);
|
|
26202
|
-
this.tilesById.
|
|
26233
|
+
this.tilesById.delete(tileDiv.id);
|
|
26203
26234
|
tile && (tile.abort(), module$contents$goog$dispose_dispose(tile));
|
|
26204
26235
|
};
|
|
26205
26236
|
ee.layers.AbstractOverlay.prototype.registerStatusChangeListener_ = function(tile) {
|
|
@@ -26236,7 +26267,7 @@ ee.layers.AbstractOverlay.prototype.disposeInternal = function() {
|
|
|
26236
26267
|
this.tileSource = this.handler = null;
|
|
26237
26268
|
};
|
|
26238
26269
|
ee.layers.AbstractOverlay.prototype.getTileCountForStatus_ = function(status) {
|
|
26239
|
-
return module$contents$goog$array_count(this.tilesById.
|
|
26270
|
+
return module$contents$goog$array_count([].concat((0,$jscomp.arrayFromIterable)(this.tilesById.values())), function(tile) {
|
|
26240
26271
|
return tile.getStatus() == status;
|
|
26241
26272
|
});
|
|
26242
26273
|
};
|
|
@@ -26298,9 +26329,9 @@ ee.layers.AbstractTile.prototype.startLoad = function() {
|
|
|
26298
26329
|
this.xhrIo_ = new goog.net.XhrIo();
|
|
26299
26330
|
this.xhrIo_.setResponseType(goog.net.XhrIo.ResponseType.BLOB);
|
|
26300
26331
|
this.xhrIo_.listen(goog.net.EventType.COMPLETE, function(event) {
|
|
26301
|
-
var blob = $jscomp$this$800656669$27.xhrIo_.getResponse(), status = $jscomp$this$800656669$27.xhrIo_.getStatus()
|
|
26302
|
-
status ==
|
|
26303
|
-
if (
|
|
26332
|
+
var blob = $jscomp$this$800656669$27.xhrIo_.getResponse(), status = $jscomp$this$800656669$27.xhrIo_.getStatus();
|
|
26333
|
+
status == module$contents$goog$net$HttpStatus_HttpStatus.TOO_MANY_REQUESTS && $jscomp$this$800656669$27.setStatus(ee.layers.AbstractTile.Status.THROTTLED);
|
|
26334
|
+
if (module$contents$goog$net$HttpStatus_HttpStatus.isSuccess(status)) {
|
|
26304
26335
|
var sourceResponseHeaders = {};
|
|
26305
26336
|
module$contents$goog$object_forEach($jscomp$this$800656669$27.xhrIo_.getResponseHeaders(), function(value, name) {
|
|
26306
26337
|
sourceResponseHeaders[name.toLowerCase()] = value;
|
|
@@ -26309,8 +26340,8 @@ ee.layers.AbstractTile.prototype.startLoad = function() {
|
|
|
26309
26340
|
$jscomp$this$800656669$27.sourceData = blob;
|
|
26310
26341
|
$jscomp$this$800656669$27.finishLoad();
|
|
26311
26342
|
} else if (blob) {
|
|
26312
|
-
var reader = new goog
|
|
26313
|
-
reader.listen(goog
|
|
26343
|
+
var reader = new module$contents$goog$fs$FileReader_GoogFileReader();
|
|
26344
|
+
reader.listen(module$contents$goog$fs$FileReader_GoogFileReader.EventType.LOAD_END, function() {
|
|
26314
26345
|
$jscomp$this$800656669$27.retryLoad(reader.getResult());
|
|
26315
26346
|
}, void 0);
|
|
26316
26347
|
reader.readAsText(blob);
|
|
@@ -26402,25 +26433,22 @@ ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryTile =
|
|
|
26402
26433
|
};
|
|
26403
26434
|
$jscomp.inherits(ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryTile, ee.layers.AbstractTile);
|
|
26404
26435
|
ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryTile.prototype.finishLoad = function() {
|
|
26405
|
-
var reader = new goog
|
|
26406
|
-
reader.listen(goog
|
|
26436
|
+
var reader = new module$contents$goog$fs$FileReader_GoogFileReader();
|
|
26437
|
+
reader.listen(module$contents$goog$fs$FileReader_GoogFileReader.EventType.LOAD_END, function() {
|
|
26407
26438
|
this.buffer_ = reader.getResult();
|
|
26408
26439
|
ee.layers.AbstractTile.prototype.finishLoad.call(this);
|
|
26409
26440
|
}, void 0, this);
|
|
26410
26441
|
reader.readAsArrayBuffer(this.sourceData);
|
|
26411
26442
|
};
|
|
26412
|
-
|
|
26443
|
+
var module$contents$goog$net$ImageLoader_ImageLoader = function(opt_parent) {
|
|
26413
26444
|
goog.events.EventTarget.call(this);
|
|
26414
26445
|
this.imageIdToRequestMap_ = {};
|
|
26415
26446
|
this.imageIdToImageMap_ = {};
|
|
26416
26447
|
this.handler_ = new module$contents$goog$events$EventHandler_EventHandler(this);
|
|
26417
26448
|
this.parent_ = opt_parent;
|
|
26418
26449
|
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];
|
|
26450
|
+
};
|
|
26451
|
+
$jscomp.inherits(module$contents$goog$net$ImageLoader_ImageLoader, goog.events.EventTarget);
|
|
26424
26452
|
module$contents$goog$net$ImageLoader_ImageLoader.prototype.addImage = function(id, image, opt_corsRequestType) {
|
|
26425
26453
|
var src = typeof image === "string" ? image : image.src;
|
|
26426
26454
|
src && (this.completionFired_ = !1, this.imageIdToRequestMap_[id] = {src:src, corsRequestType:opt_corsRequestType !== void 0 ? opt_corsRequestType : null});
|
|
@@ -26470,8 +26498,11 @@ module$contents$goog$net$ImageLoader_ImageLoader.prototype.disposeInternal = fun
|
|
|
26470
26498
|
delete this.imageIdToRequestMap_;
|
|
26471
26499
|
delete this.imageIdToImageMap_;
|
|
26472
26500
|
module$contents$goog$dispose_dispose(this.handler_);
|
|
26473
|
-
|
|
26501
|
+
goog.events.EventTarget.prototype.disposeInternal.call(this);
|
|
26474
26502
|
};
|
|
26503
|
+
module$contents$goog$net$ImageLoader_ImageLoader.CorsRequestType = {ANONYMOUS:"anonymous", USE_CREDENTIALS:"use-credentials"};
|
|
26504
|
+
var module$contents$goog$net$ImageLoader_ImageRequest;
|
|
26505
|
+
module$contents$goog$net$ImageLoader_ImageLoader.IMAGE_LOAD_EVENTS_ = [goog.events.EventType.LOAD, goog.net.EventType.ABORT, goog.net.EventType.ERROR];
|
|
26475
26506
|
goog.net.ImageLoader = module$contents$goog$net$ImageLoader_ImageLoader;
|
|
26476
26507
|
ee_root.third_party.earthengine_api.javascript.layers.imageoverlay = {};
|
|
26477
26508
|
ee_root.third_party.earthengine_api.javascript.layers.imageoverlay.ImageOverlay = function(tileSource, opt_options) {
|
|
@@ -27003,7 +27034,7 @@ ee.MapTileManager = function() {
|
|
|
27003
27034
|
};
|
|
27004
27035
|
$jscomp.inherits(ee.MapTileManager, goog.events.EventTarget);
|
|
27005
27036
|
ee.MapTileManager.prototype.getOutstandingCount = function() {
|
|
27006
|
-
return this.requests_.
|
|
27037
|
+
return this.requests_.size;
|
|
27007
27038
|
};
|
|
27008
27039
|
ee.MapTileManager.prototype.send = function(id, url, opt_priority, opt_imageCompletedCallback, opt_maxRetries) {
|
|
27009
27040
|
if (this.requests_.get(id)) {
|
|
@@ -27029,7 +27060,7 @@ ee.MapTileManager.prototype.handleAvailableToken_ = function(request, token) {
|
|
|
27029
27060
|
}
|
|
27030
27061
|
};
|
|
27031
27062
|
ee.MapTileManager.prototype.releaseRequest_ = function(request) {
|
|
27032
|
-
this.requests_.
|
|
27063
|
+
this.requests_.delete(request.getId());
|
|
27033
27064
|
request.getImageLoader() && (this.releaseObject_(request.getToken()), request.getImageLoader().dispose());
|
|
27034
27065
|
request.fireImageEventCallback();
|
|
27035
27066
|
};
|
|
@@ -27044,7 +27075,7 @@ ee.MapTileManager.prototype.disposeInternal = function() {
|
|
|
27044
27075
|
this.tokenPool_.dispose();
|
|
27045
27076
|
this.tokenPool_ = null;
|
|
27046
27077
|
var requests = this.requests_;
|
|
27047
|
-
module$contents$goog$array_forEach(requests.
|
|
27078
|
+
module$contents$goog$array_forEach([].concat((0,$jscomp.arrayFromIterable)(requests.values())), function(value) {
|
|
27048
27079
|
value.dispose();
|
|
27049
27080
|
});
|
|
27050
27081
|
requests.clear();
|
|
@@ -27150,7 +27181,7 @@ ee.MapTileManager.Request_.prototype.start_ = function() {
|
|
|
27150
27181
|
var actuallyLoadImage = goog.bind(function(imageUrl) {
|
|
27151
27182
|
this.getAborted() || (this.imageLoader_.addImage(this.id_, imageUrl), this.addImageEventListener(), this.imageLoader_.start());
|
|
27152
27183
|
}, this), sourceUrl = this.getUrl();
|
|
27153
|
-
if (goog.
|
|
27184
|
+
if (module$contents$goog$Uri_Uri.parse(sourceUrl).getQueryData().containsKey("profiling")) {
|
|
27154
27185
|
var xhrIo = new goog.net.XhrIo();
|
|
27155
27186
|
xhrIo.setResponseType(goog.net.XhrIo.ResponseType.BLOB);
|
|
27156
27187
|
xhrIo.listen(goog.net.EventType.COMPLETE, goog.bind(function(event) {
|
|
@@ -27301,13 +27332,13 @@ module$contents$goog$async$Delay_Delay.prototype.disposeInternal = function() {
|
|
|
27301
27332
|
};
|
|
27302
27333
|
module$contents$goog$async$Delay_Delay.prototype.start = function(opt_interval) {
|
|
27303
27334
|
this.stop();
|
|
27304
|
-
this.id_ = goog.
|
|
27335
|
+
this.id_ = module$contents$goog$Timer_Timer.callOnce(this.callback_, opt_interval !== void 0 ? opt_interval : this.interval_);
|
|
27305
27336
|
};
|
|
27306
27337
|
module$contents$goog$async$Delay_Delay.prototype.startIfNotActive = function(opt_interval) {
|
|
27307
27338
|
this.isActive() || this.start(opt_interval);
|
|
27308
27339
|
};
|
|
27309
27340
|
module$contents$goog$async$Delay_Delay.prototype.stop = function() {
|
|
27310
|
-
this.isActive() && goog.
|
|
27341
|
+
this.isActive() && module$contents$goog$Timer_Timer.clear(this.id_);
|
|
27311
27342
|
this.id_ = 0;
|
|
27312
27343
|
};
|
|
27313
27344
|
module$contents$goog$async$Delay_Delay.prototype.fire = function() {
|
|
@@ -27391,7 +27422,7 @@ ee.data.Profiler.prototype.refresh_ = function(retryAttempt) {
|
|
|
27391
27422
|
var marker = {};
|
|
27392
27423
|
this.lastRefreshToken_ = marker;
|
|
27393
27424
|
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.
|
|
27425
|
+
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
27426
|
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
27427
|
}, ids = module$contents$goog$object_getKeys(this.profileIds_);
|
|
27397
27428
|
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 +27466,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27435
27466
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27436
27467
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27437
27468
|
(function() {
|
|
27438
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.
|
|
27439
|
-
orderedParamLists = [["name", "namedArgs"], ["name", "
|
|
27440
|
-
"collection opt_description
|
|
27441
|
-
"image opt_description
|
|
27442
|
-
"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(" "), "
|
|
27443
|
-
["
|
|
27444
|
-
["
|
|
27445
|
-
["
|
|
27446
|
-
"
|
|
27447
|
-
["
|
|
27448
|
-
|
|
27449
|
-
"
|
|
27450
|
-
|
|
27451
|
-
[
|
|
27452
|
-
|
|
27453
|
-
ee.
|
|
27454
|
-
ee.
|
|
27455
|
-
ee.data.
|
|
27456
|
-
ee.
|
|
27457
|
-
ee.
|
|
27458
|
-
ee.
|
|
27459
|
-
ee.
|
|
27469
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.table.toBigQuery ee.batch.Export.video.toDrive ee.batch.Export.table.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.table.toDrive ee.batch.Export.table.toFeatureView ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.Collection.prototype.limit ee.Collection.prototype.filter ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.filterMetadata ee.Collection.prototype.iterate ee.Collection.prototype.filterDate ee.Collection.prototype.sort ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.data.getMapId ee.data.getTaskStatus ee.data.createAssetHome ee.data.startIngestion ee.data.getTileUrl ee.data.createAsset ee.data.setWorkloadTag ee.data.getAssetRoots ee.data.setDefaultWorkloadTag ee.data.getTaskList ee.data.listOperations ee.data.getWorkloadTag ee.data.resetWorkloadTag ee.data.createFolder ee.data.getFeatureViewTilesKey ee.data.getTaskListWithLimit ee.data.renameAsset ee.data.listFeatures ee.data.startTableIngestion ee.data.cancelOperation ee.data.copyAsset ee.data.computeValue ee.data.authenticateViaOauth ee.data.deleteAsset ee.data.getList ee.data.getThumbId ee.data.getOperation ee.data.getAsset ee.data.getAssetAcl ee.data.cancelTask ee.data.getInfo ee.data.authenticate ee.data.makeThumbUrl ee.data.updateTask ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.authenticateViaPopup ee.data.getDownloadId ee.data.startProcessing ee.data.getAssetRootQuota ee.data.makeDownloadUrl ee.data.listAssets ee.data.updateAsset ee.data.authenticateViaPrivateKey ee.data.makeTableDownloadUrl ee.data.setAssetAcl ee.data.getTableDownloadId ee.data.listImages ee.data.setAssetProperties ee.data.listBuckets ee.data.newTaskId ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Dictionary ee.Algorithms ee.InitState ee.TILE_SIZE ee.call ee.initialize ee.apply ee.reset ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.select ee.FeatureCollection ee.Filter.gt ee.Filter.lt ee.Filter.inList ee.Filter.lte ee.Filter.prototype.not ee.Filter.and ee.Filter.bounds ee.Filter ee.Filter.or ee.Filter.neq ee.Filter.gte ee.Filter.eq ee.Filter.metadata ee.Filter.date ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.Polygon ee.Geometry.Point ee.Geometry.MultiLineString ee.Geometry ee.Geometry.LinearRing ee.Geometry.prototype.serialize ee.Geometry.MultiPoint ee.Geometry.MultiPolygon ee.Geometry.LineString ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.Rectangle ee.Geometry.BBox ee.Image.prototype.rename ee.Image ee.Image.prototype.clip ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.Image.cat ee.Image.prototype.select ee.Image.prototype.getMap ee.Image.prototype.getInfo ee.Image.rgb ee.Image.prototype.expression ee.Image.prototype.getMapId ee.ImageCollection.prototype.getInfo ee.ImageCollection ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toCloudApiJSON ee.Serializer.toReadableCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
27470
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
27471
|
+
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_assetId opt_maxVertices opt_priority opt_overwrite".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27472
|
+
["classifier", "opt_description", "opt_assetId", "opt_priority"], "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_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),
|
|
27473
|
+
"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_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
27474
|
+
["max", "opt_property", "opt_ascending"], ["filter"], ["algorithm", "opt_dropNulls"], ["geometry"], ["name", "operator", "value"], ["algorithm", "opt_first"], ["start", "opt_end"], ["property", "opt_ascending"], ["callback"], ["legacy"], ["func", "var_args"], ["opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["requestedId", "opt_callback"], ["taskId", "request", "opt_callback"], ["id", "x", "y", "z"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"],
|
|
27475
|
+
["tag"], ["opt_callback"], ["tag"], ["opt_callback"], ["opt_limit", "opt_callback"], [], ["opt_resetDefault"], ["path", "opt_force", "opt_callback"], ["params", "opt_callback"], ["opt_limit", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["asset", "params", "opt_callback"], ["taskId", "request", "opt_callback"], ["operationName", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["obj", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),
|
|
27476
|
+
["assetId", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["operationName", "opt_callback"], ["id", "opt_callback"], ["assetId", "opt_callback"], ["taskId", "opt_callback"], ["id", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["id"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_success", "opt_error"], ["params", "opt_callback"], ["taskId", "params", "opt_callback"],
|
|
27477
|
+
["rootId", "opt_callback"], ["id"], ["parent", "opt_params", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["id"], ["assetId", "aclUpdate", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["project", "opt_callback"], ["opt_count", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"],
|
|
27478
|
+
["opt_dict"], [], [], [], ["func", "var_args"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "namedArgs"], [], ["var_args"], [], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["propertySelectors", "opt_newProperties",
|
|
27479
|
+
"opt_retainGeometry"], ["args", "opt_column"], ["name", "value"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], [], ["var_args"], ["geometry", "opt_errorMargin"], ["opt_filter"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "value"], ["name", "operator", "value"], ["start", "opt_end"], ["var_args"], ["namedArgs"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj"], ["coords",
|
|
27480
|
+
"opt_proj", "opt_geodesic", "opt_maxError"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["legacy"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], [], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["west", "south", "east", "north"], ["var_args"], ["opt_args"], ["geometry"], ["params", "opt_callback"], ["params",
|
|
27481
|
+
"opt_callback"], ["params", "opt_callback"], ["var_args"], ["var_args"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["r", "g", "b"], ["expression", "opt_map"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["args"], ["opt_visParams", "opt_callback"], ["selectors", "opt_names"], ["opt_visParams", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["params", "opt_callback"], ["params", "opt_callback"], [], ["list"], ["number"],
|
|
27482
|
+
["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
27483
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.table.toDrive,
|
|
27484
|
+
module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, ee.Collection.prototype.limit, ee.Collection.prototype.filter, ee.Collection.prototype.map, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.iterate, ee.Collection.prototype.filterDate, ee.Collection.prototype.sort, ee.ComputedObject.prototype.evaluate,
|
|
27485
|
+
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.getInfo, ee.data.getMapId, ee.data.getTaskStatus, ee.data.createAssetHome, ee.data.startIngestion, ee.data.getTileUrl, ee.data.createAsset, ee.data.setWorkloadTag, ee.data.getAssetRoots, ee.data.setDefaultWorkloadTag, ee.data.getTaskList, ee.data.listOperations, ee.data.getWorkloadTag, ee.data.resetWorkloadTag, ee.data.createFolder, ee.data.getFeatureViewTilesKey, ee.data.getTaskListWithLimit,
|
|
27486
|
+
ee.data.renameAsset, ee.data.listFeatures, ee.data.startTableIngestion, ee.data.cancelOperation, ee.data.copyAsset, ee.data.computeValue, ee.data.authenticateViaOauth, ee.data.deleteAsset, ee.data.getList, ee.data.getThumbId, ee.data.getOperation, ee.data.getAsset, ee.data.getAssetAcl, ee.data.cancelTask, ee.data.getInfo, ee.data.authenticate, ee.data.makeThumbUrl, ee.data.updateTask, ee.data.getVideoThumbId, ee.data.getFilmstripThumbId, ee.data.authenticateViaPopup, ee.data.getDownloadId, ee.data.startProcessing,
|
|
27487
|
+
ee.data.getAssetRootQuota, ee.data.makeDownloadUrl, ee.data.listAssets, ee.data.updateAsset, ee.data.authenticateViaPrivateKey, ee.data.makeTableDownloadUrl, ee.data.setAssetAcl, ee.data.getTableDownloadId, ee.data.listImages, ee.data.setAssetProperties, ee.data.listBuckets, ee.data.newTaskId, ee.Date, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.fromJSON, ee.Deserializer.decode, ee.Deserializer.decodeCloudApi, ee.Dictionary, ee.Algorithms, ee.InitState, ee.TILE_SIZE, ee.call, ee.initialize,
|
|
27488
|
+
ee.apply, ee.reset, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMap, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.Filter.gt, ee.Filter.lt, ee.Filter.inList, ee.Filter.lte, ee.Filter.prototype.not, ee.Filter.and,
|
|
27489
|
+
ee.Filter.bounds, ee.Filter, ee.Filter.or, ee.Filter.neq, ee.Filter.gte, ee.Filter.eq, ee.Filter.metadata, ee.Filter.date, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry.Polygon, ee.Geometry.Point, ee.Geometry.MultiLineString, ee.Geometry, ee.Geometry.LinearRing, ee.Geometry.prototype.serialize, ee.Geometry.MultiPoint, ee.Geometry.MultiPolygon, ee.Geometry.LineString, ee.Geometry.prototype.toGeoJSON, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.Rectangle, ee.Geometry.BBox,
|
|
27490
|
+
ee.Image.prototype.rename, ee.Image, ee.Image.prototype.clip, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getThumbId, ee.Image.prototype.getThumbURL, ee.Image.cat, ee.Image.prototype.select, ee.Image.prototype.getMap, ee.Image.prototype.getInfo, ee.Image.rgb, ee.Image.prototype.expression, ee.Image.prototype.getMapId, ee.ImageCollection.prototype.getInfo, ee.ImageCollection, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getMap,
|
|
27491
|
+
ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.first, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.toReadableCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27460
27492
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27461
27493
|
});
|
|
27462
27494
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|