@google/earthengine 0.1.398 → 0.1.400
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 +245 -354
- package/build/ee_api_js.js +597 -596
- package/build/ee_api_js_debug.js +223 -332
- package/build/ee_api_js_npm.js +245 -354
- package/build/main.js +245 -354
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/eeapiclient/promise_request_service.ts +1 -1
- package/src/geometry.js +2 -2
- package/src/profiler.js +2 -1
- package/.tmp/BUILD +0 -699
- package/.tmp/METADATA +0 -23
- package/.tmp/VERSION_BUILD +0 -47
package/build/browser.js
CHANGED
|
@@ -6058,9 +6058,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
6058
6058
|
};
|
|
6059
6059
|
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;
|
|
6060
6060
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
6061
|
-
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 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$
|
|
6062
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
6063
|
-
var key = $jscomp$key$
|
|
6061
|
+
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 = $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 =
|
|
6062
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
6063
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
6064
6064
|
if (null != value) {
|
|
6065
6065
|
var copy = void 0;
|
|
6066
6066
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -6071,11 +6071,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6071
6071
|
} else if (objects.hasOwnProperty(key)) {
|
|
6072
6072
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
6073
6073
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
6074
|
-
$jscomp$loop$
|
|
6074
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
6075
6075
|
return function(v) {
|
|
6076
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
6076
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6077
6077
|
};
|
|
6078
|
-
}($jscomp$loop$
|
|
6078
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6079
6079
|
} else if (Array.isArray(value)) {
|
|
6080
6080
|
if (metadata.emptyArrayIsUnset && 0 === value.length) {
|
|
6081
6081
|
continue;
|
|
@@ -6090,8 +6090,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6090
6090
|
return target;
|
|
6091
6091
|
}
|
|
6092
6092
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
6093
|
-
for (var objMap = {}, $jscomp$iter$20 = $jscomp.makeIterator(Object.keys(value)), $jscomp$key$
|
|
6094
|
-
var mapKey = $jscomp$key$
|
|
6093
|
+
for (var objMap = {}, $jscomp$iter$20 = $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()) {
|
|
6094
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
6095
6095
|
null != mapValue && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
6096
6096
|
}
|
|
6097
6097
|
return objMap;
|
|
@@ -6121,39 +6121,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
6121
6121
|
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))) {
|
|
6122
6122
|
return !1;
|
|
6123
6123
|
}
|
|
6124
|
-
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$
|
|
6125
|
-
var key = $jscomp$key$
|
|
6124
|
+
for (var $jscomp$iter$21 = $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()) {
|
|
6125
|
+
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);
|
|
6126
6126
|
if (has1 !== has2) {
|
|
6127
6127
|
return !1;
|
|
6128
6128
|
}
|
|
6129
6129
|
if (has1) {
|
|
6130
6130
|
var value1 = serializable1.Serializable$get(key);
|
|
6131
|
-
$jscomp$loop$
|
|
6131
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
6132
6132
|
if (arrays1.hasOwnProperty(key)) {
|
|
6133
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6133
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
6134
6134
|
return !1;
|
|
6135
6135
|
}
|
|
6136
6136
|
} else if (objects1.hasOwnProperty(key)) {
|
|
6137
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6137
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
6138
6138
|
return !1;
|
|
6139
6139
|
}
|
|
6140
6140
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
6141
|
-
if ($jscomp$loop$
|
|
6142
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
6141
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
6142
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
6143
6143
|
return function(v1, i) {
|
|
6144
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
6144
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
6145
6145
|
};
|
|
6146
|
-
}($jscomp$loop$
|
|
6146
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
6147
6147
|
return !1;
|
|
6148
6148
|
}
|
|
6149
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
6149
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
6150
6150
|
return !1;
|
|
6151
6151
|
}
|
|
6152
6152
|
} else if (Array.isArray(value1)) {
|
|
6153
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6153
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
6154
6154
|
return !1;
|
|
6155
6155
|
}
|
|
6156
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6156
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
6157
6157
|
return !1;
|
|
6158
6158
|
}
|
|
6159
6159
|
}
|
|
@@ -6175,8 +6175,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
6175
6175
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
6176
6176
|
return !1;
|
|
6177
6177
|
}
|
|
6178
|
-
for (var $jscomp$iter$22 = $jscomp.makeIterator(Object.keys(value1)), $jscomp$key$
|
|
6179
|
-
var mapKey = $jscomp$key$
|
|
6178
|
+
for (var $jscomp$iter$22 = $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()) {
|
|
6179
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
6180
6180
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
6181
6181
|
return !1;
|
|
6182
6182
|
}
|
|
@@ -6361,8 +6361,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
6361
6361
|
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
6362
6362
|
}
|
|
6363
6363
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
6364
|
-
var $jscomp$templatelit$
|
|
6365
|
-
["\\0"]), $jscomp$templatelit$
|
|
6364
|
+
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"],
|
|
6365
|
+
["\\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"};
|
|
6366
6366
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
6367
6367
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
6368
6368
|
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 ##############################");
|
|
@@ -6376,175 +6376,52 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
6376
6376
|
return -1 === fn.toString().indexOf("`");
|
|
6377
6377
|
}
|
|
6378
6378
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6379
|
-
return tag($jscomp$templatelit$
|
|
6379
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
6380
6380
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6381
|
-
return tag($jscomp$templatelit$
|
|
6381
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
6382
6382
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6383
|
-
return tag($jscomp$templatelit$
|
|
6383
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
6384
6384
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6385
|
-
return tag($jscomp$templatelit$
|
|
6386
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
6385
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
6386
|
+
}), 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);
|
|
6387
6387
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
6388
6388
|
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)) ?
|
|
6389
6389
|
!0 : !1;
|
|
6390
6390
|
}
|
|
6391
|
-
;
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
goog.fs.url.revokeObjectUrl = function(url) {
|
|
6397
|
-
goog.fs.url.getUrlObject_().revokeObjectURL(url);
|
|
6398
|
-
};
|
|
6399
|
-
goog.fs.url.UrlObject_ = function() {
|
|
6400
|
-
};
|
|
6401
|
-
goog.fs.url.UrlObject_.prototype.createObjectURL = function(arg) {
|
|
6402
|
-
};
|
|
6403
|
-
goog.fs.url.UrlObject_.prototype.revokeObjectURL = function(s) {
|
|
6404
|
-
};
|
|
6405
|
-
goog.fs.url.getUrlObject_ = function() {
|
|
6406
|
-
var urlObject = goog.fs.url.findUrlObject_();
|
|
6407
|
-
if (null != urlObject) {
|
|
6408
|
-
return urlObject;
|
|
6409
|
-
}
|
|
6410
|
-
throw Error("This browser doesn't seem to support blob URLs");
|
|
6411
|
-
};
|
|
6412
|
-
goog.fs.url.findUrlObject_ = function() {
|
|
6413
|
-
return void 0 !== goog.global.URL && void 0 !== goog.global.URL.createObjectURL ? goog.global.URL : void 0 !== goog.global.createObjectURL ? goog.global : null;
|
|
6414
|
-
};
|
|
6415
|
-
goog.fs.url.browserSupportsObjectUrls = function() {
|
|
6416
|
-
return null != goog.fs.url.findUrlObject_();
|
|
6417
|
-
};
|
|
6418
|
-
goog.html.SafeUrl = function(value, token) {
|
|
6419
|
-
if (goog.DEBUG && token !== goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_) {
|
|
6420
|
-
throw Error("SafeUrl is not meant to be built directly");
|
|
6421
|
-
}
|
|
6422
|
-
this.privateDoNotAccessOrElseSafeUrlWrappedValue_ = value;
|
|
6423
|
-
};
|
|
6424
|
-
goog.html.SafeUrl.prototype.toString = function() {
|
|
6425
|
-
return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString();
|
|
6426
|
-
};
|
|
6427
|
-
goog.html.SafeUrl.INNOCUOUS_STRING = "about:invalid#zClosurez";
|
|
6428
|
-
goog.html.SafeUrl.unwrap = function(safeUrl) {
|
|
6429
|
-
if (safeUrl instanceof goog.html.SafeUrl && safeUrl.constructor === goog.html.SafeUrl) {
|
|
6430
|
-
return safeUrl.privateDoNotAccessOrElseSafeUrlWrappedValue_;
|
|
6431
|
-
}
|
|
6432
|
-
goog.asserts.fail("expected object of type SafeUrl, got '" + safeUrl + "' of type " + goog.typeOf(safeUrl));
|
|
6433
|
-
return "type_error:SafeUrl";
|
|
6434
|
-
};
|
|
6435
|
-
goog.html.SafeUrl.fromConstant = function(url) {
|
|
6436
|
-
var str = goog.string.Const.unwrap(url);
|
|
6437
|
-
if (goog.DEBUG && "javascript:" === goog.html.SafeUrl.extractScheme(str)) {
|
|
6438
|
-
throw Error("Building a SafeUrl with a javascript scheme is not supported");
|
|
6439
|
-
}
|
|
6440
|
-
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(str);
|
|
6441
|
-
};
|
|
6442
|
-
goog.html.SAFE_MIME_TYPE_PATTERN_ = RegExp('^(?:audio/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font/\\w+|image/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$', "i");
|
|
6443
|
-
goog.html.SafeUrl.isSafeMimeType = function(mimeType) {
|
|
6444
|
-
return goog.html.SAFE_MIME_TYPE_PATTERN_.test(mimeType);
|
|
6445
|
-
};
|
|
6446
|
-
goog.html.SafeUrl.fromBlob = function(blob) {
|
|
6447
|
-
var url = goog.html.SafeUrl.isSafeMimeType(blob.type) ? goog.fs.url.createObjectUrl(blob) : goog.html.SafeUrl.INNOCUOUS_STRING;
|
|
6448
|
-
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
6449
|
-
};
|
|
6450
|
-
goog.html.DATA_URL_PATTERN_ = /^data:(.*);base64,[a-z0-9+\/]+=*$/i;
|
|
6451
|
-
goog.html.SafeUrl.tryFromDataUrl = function(dataUrl) {
|
|
6452
|
-
dataUrl = String(dataUrl);
|
|
6453
|
-
var filteredDataUrl = dataUrl.replace(/(%0A|%0D)/g, "");
|
|
6454
|
-
return filteredDataUrl.match(goog.html.DATA_URL_PATTERN_) ? goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(filteredDataUrl) : null;
|
|
6455
|
-
};
|
|
6456
|
-
goog.html.SafeUrl.fromDataUrl = function(dataUrl) {
|
|
6457
|
-
return goog.html.SafeUrl.tryFromDataUrl(dataUrl) || goog.html.SafeUrl.INNOCUOUS_URL;
|
|
6458
|
-
};
|
|
6459
|
-
goog.html.SafeUrl.fromTrustedResourceUrl = function(trustedResourceUrl) {
|
|
6460
|
-
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(trustedResourceUrl));
|
|
6461
|
-
};
|
|
6462
|
-
goog.html.SAFE_URL_PATTERN_ = /^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;
|
|
6463
|
-
goog.html.SafeUrl.trySanitize = function(url) {
|
|
6464
|
-
if (url instanceof goog.html.SafeUrl) {
|
|
6465
|
-
return url;
|
|
6466
|
-
}
|
|
6467
|
-
url = String(url);
|
|
6468
|
-
return goog.html.SAFE_URL_PATTERN_.test(url) ? goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url) : goog.html.SafeUrl.tryFromDataUrl(url);
|
|
6469
|
-
};
|
|
6470
|
-
goog.html.SafeUrl.sanitize = function(url) {
|
|
6471
|
-
return goog.html.SafeUrl.trySanitize(url) || goog.html.SafeUrl.INNOCUOUS_URL;
|
|
6472
|
-
};
|
|
6473
|
-
goog.html.SafeUrl.sanitizeAssertUnchanged = function(url, opt_allowDataUrl) {
|
|
6474
|
-
if (url instanceof goog.html.SafeUrl) {
|
|
6475
|
-
return url;
|
|
6476
|
-
}
|
|
6477
|
-
url = String(url);
|
|
6478
|
-
if (opt_allowDataUrl && /^data:/i.test(url)) {
|
|
6479
|
-
var safeUrl = goog.html.SafeUrl.fromDataUrl(url);
|
|
6480
|
-
if (safeUrl.toString() == url) {
|
|
6481
|
-
return safeUrl;
|
|
6482
|
-
}
|
|
6483
|
-
}
|
|
6484
|
-
goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(url), "%s does not match the safe URL pattern", url) || (url = goog.html.SafeUrl.INNOCUOUS_STRING);
|
|
6485
|
-
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
6486
|
-
};
|
|
6487
|
-
goog.html.SafeUrl.ASSUME_IMPLEMENTS_URL_API_GOOG = 2020 <= goog.FEATURESET_YEAR;
|
|
6488
|
-
goog.html.SafeUrl.supportsURLAPI = function() {
|
|
6489
|
-
if (goog.html.SafeUrl.ASSUME_IMPLEMENTS_URL_API_GOOG) {
|
|
6490
|
-
return !0;
|
|
6491
|
-
}
|
|
6492
|
-
try {
|
|
6493
|
-
return new URL("s://g"), !0;
|
|
6494
|
-
} catch (e) {
|
|
6495
|
-
return !1;
|
|
6496
|
-
}
|
|
6497
|
-
}();
|
|
6498
|
-
goog.html.SafeUrl.legacyExtractScheme = function(url) {
|
|
6499
|
-
var aTag = document.createElement("a");
|
|
6500
|
-
try {
|
|
6501
|
-
aTag.href = url;
|
|
6502
|
-
} catch (e) {
|
|
6503
|
-
return;
|
|
6504
|
-
}
|
|
6505
|
-
var protocol = aTag.protocol;
|
|
6506
|
-
return ":" === protocol || "" === protocol ? "https:" : protocol;
|
|
6507
|
-
};
|
|
6508
|
-
goog.html.SafeUrl.extractScheme = function(url) {
|
|
6509
|
-
if (!goog.html.SafeUrl.supportsURLAPI) {
|
|
6510
|
-
return goog.html.SafeUrl.legacyExtractScheme(url);
|
|
6511
|
-
}
|
|
6512
|
-
try {
|
|
6513
|
-
var parsedUrl = new URL(url);
|
|
6514
|
-
} catch (e) {
|
|
6515
|
-
return "https:";
|
|
6516
|
-
}
|
|
6517
|
-
return parsedUrl.protocol;
|
|
6518
|
-
};
|
|
6519
|
-
goog.html.SafeUrl.sanitizeJavascriptUrlAssertUnchanged = function(url) {
|
|
6520
|
-
if (url instanceof goog.html.SafeUrl) {
|
|
6521
|
-
return url;
|
|
6391
|
+
;var module$exports$safevalues$internals$secrets = {}, module$contents$safevalues$internals$secrets_module = module$contents$safevalues$internals$secrets_module || {id:"third_party/javascript/safevalues/internals/secrets.closure.js"};
|
|
6392
|
+
module$exports$safevalues$internals$secrets.secretToken = {};
|
|
6393
|
+
function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
|
|
6394
|
+
if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
|
|
6395
|
+
throw Error("Bad secret");
|
|
6522
6396
|
}
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6397
|
+
}
|
|
6398
|
+
module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
|
|
6399
|
+
var module$exports$safevalues$internals$url_impl = {}, module$contents$safevalues$internals$url_impl_module = module$contents$safevalues$internals$url_impl_module || {id:"third_party/javascript/safevalues/internals/url_impl.closure.js"};
|
|
6400
|
+
module$exports$safevalues$internals$url_impl.SafeUrl = function(token, value) {
|
|
6401
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
6402
|
+
this.privateDoNotAccessOrElseWrappedUrl = value;
|
|
6527
6403
|
};
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
return new goog.html.SafeUrl(url, goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_);
|
|
6404
|
+
module$exports$safevalues$internals$url_impl.SafeUrl.prototype.toString = function() {
|
|
6405
|
+
return this.privateDoNotAccessOrElseWrappedUrl;
|
|
6531
6406
|
};
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
|
|
6535
|
-
module$exports$safevalues$internals$url_impl.SafeUrl = goog.html.SafeUrl;
|
|
6536
|
-
function module$contents$safevalues$internals$url_impl_createUrlInternal(url) {
|
|
6537
|
-
return (0,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse)(url);
|
|
6407
|
+
var module$contents$safevalues$internals$url_impl_UrlImpl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
6408
|
+
function module$contents$safevalues$internals$url_impl_createUrlInternal(value) {
|
|
6409
|
+
return new module$exports$safevalues$internals$url_impl.SafeUrl(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
6538
6410
|
}
|
|
6539
6411
|
module$exports$safevalues$internals$url_impl.createUrlInternal = module$contents$safevalues$internals$url_impl_createUrlInternal;
|
|
6540
6412
|
module$exports$safevalues$internals$url_impl.ABOUT_BLANK = module$contents$safevalues$internals$url_impl_createUrlInternal("about:blank");
|
|
6541
6413
|
module$exports$safevalues$internals$url_impl.INNOCUOUS_URL = module$contents$safevalues$internals$url_impl_createUrlInternal("about:invalid#zClosurez");
|
|
6542
6414
|
function module$contents$safevalues$internals$url_impl_isUrl(value) {
|
|
6543
|
-
return value instanceof
|
|
6415
|
+
return value instanceof module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
6544
6416
|
}
|
|
6545
6417
|
module$exports$safevalues$internals$url_impl.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
6546
6418
|
function module$contents$safevalues$internals$url_impl_unwrapUrl(value) {
|
|
6547
|
-
|
|
6419
|
+
if (module$contents$safevalues$internals$url_impl_isUrl(value)) {
|
|
6420
|
+
return value.privateDoNotAccessOrElseWrappedUrl;
|
|
6421
|
+
}
|
|
6422
|
+
var message = "";
|
|
6423
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeUrl, got '" + value + "' of type '" + typeof value + "'");
|
|
6424
|
+
throw Error(message);
|
|
6548
6425
|
}
|
|
6549
6426
|
module$exports$safevalues$internals$url_impl.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
6550
6427
|
var module$exports$safevalues$builders$url_builders = {}, module$contents$safevalues$builders$url_builders_module = module$contents$safevalues$builders$url_builders_module || {id:"third_party/javascript/safevalues/builders/url_builders.closure.js"};
|
|
@@ -6687,20 +6564,21 @@ function module$contents$safevalues$builders$url_builders_extractScheme(url) {
|
|
|
6687
6564
|
}
|
|
6688
6565
|
module$exports$safevalues$builders$url_builders.extractScheme = module$contents$safevalues$builders$url_builders_extractScheme;
|
|
6689
6566
|
var module$contents$safevalues$builders$url_builders_ALLOWED_SCHEMES = ["data:", "http:", "https:", "mailto:", "ftp:"];
|
|
6690
|
-
module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN = /^\s*(?!javascript:)(?:[
|
|
6691
|
-
function module$contents$safevalues$builders$
|
|
6692
|
-
|
|
6567
|
+
module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN = /^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;
|
|
6568
|
+
function module$contents$safevalues$builders$url_builders_reportJavaScriptUrl(url) {
|
|
6569
|
+
var hasJavascriptUrlScheme = !module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN.test(url);
|
|
6570
|
+
hasJavascriptUrlScheme && module$contents$safevalues$builders$url_builders_triggerCallbacks(url);
|
|
6571
|
+
return hasJavascriptUrlScheme;
|
|
6693
6572
|
}
|
|
6573
|
+
module$exports$safevalues$builders$url_builders.reportJavaScriptUrl = module$contents$safevalues$builders$url_builders_reportJavaScriptUrl;
|
|
6694
6574
|
function module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl(url) {
|
|
6695
|
-
if (module$contents$safevalues$builders$
|
|
6696
|
-
module$contents$safevalues$builders$url_builders_triggerCallbacks(url);
|
|
6697
|
-
} else {
|
|
6575
|
+
if (!module$contents$safevalues$builders$url_builders_reportJavaScriptUrl(url)) {
|
|
6698
6576
|
return url;
|
|
6699
6577
|
}
|
|
6700
6578
|
}
|
|
6701
6579
|
module$exports$safevalues$builders$url_builders.sanitizeJavaScriptUrl = module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl;
|
|
6702
6580
|
function module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url) {
|
|
6703
|
-
return url instanceof
|
|
6581
|
+
return url instanceof module$exports$safevalues$internals$url_impl.SafeUrl ? module$contents$safevalues$internals$url_impl_unwrapUrl(url) : module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl(url);
|
|
6704
6582
|
}
|
|
6705
6583
|
module$exports$safevalues$builders$url_builders.unwrapUrlOrSanitize = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize;
|
|
6706
6584
|
function module$contents$safevalues$builders$url_builders_restrictivelySanitizeUrl(url) {
|
|
@@ -6732,6 +6610,9 @@ module$exports$safevalues$dom$elements$anchor.setHref = function(anchor, url) {
|
|
|
6732
6610
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
6733
6611
|
void 0 !== sanitizedUrl && (anchor.href = sanitizedUrl);
|
|
6734
6612
|
};
|
|
6613
|
+
module$exports$safevalues$dom$elements$anchor.setHrefLite = function(anchor, url) {
|
|
6614
|
+
module$contents$safevalues$builders$url_builders_reportJavaScriptUrl(url) || (anchor.href = url);
|
|
6615
|
+
};
|
|
6735
6616
|
var module$exports$safevalues$dom$elements$area = {}, module$contents$safevalues$dom$elements$area_module = module$contents$safevalues$dom$elements$area_module || {id:"third_party/javascript/safevalues/dom/elements/area.closure.js"};
|
|
6736
6617
|
module$exports$safevalues$dom$elements$area.setHref = function(area, url) {
|
|
6737
6618
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
@@ -6746,35 +6627,29 @@ module$exports$safevalues$dom$elements$button.setFormaction = function(button, u
|
|
|
6746
6627
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
6747
6628
|
void 0 !== sanitizedUrl && (button.formAction = sanitizedUrl);
|
|
6748
6629
|
};
|
|
6749
|
-
var module$exports$safevalues$internals$secrets = {}, module$contents$safevalues$internals$secrets_module = module$contents$safevalues$internals$secrets_module || {id:"third_party/javascript/safevalues/internals/secrets.closure.js"};
|
|
6750
|
-
module$exports$safevalues$internals$secrets.secretToken = {};
|
|
6751
|
-
function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
|
|
6752
|
-
if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
|
|
6753
|
-
throw Error("Bad secret");
|
|
6754
|
-
}
|
|
6755
|
-
}
|
|
6756
|
-
module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
|
|
6757
6630
|
var module$exports$safevalues$internals$attribute_impl = {}, module$contents$safevalues$internals$attribute_impl_module = module$contents$safevalues$internals$attribute_impl_module || {id:"third_party/javascript/safevalues/internals/attribute_impl.closure.js"};
|
|
6758
|
-
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix = function() {
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
6762
|
-
this.privateDoNotAccessOrElseWrappedAttrPrefix = attrPrefix;
|
|
6631
|
+
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix = function(token, value) {
|
|
6632
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
6633
|
+
this.privateDoNotAccessOrElseWrappedAttributePrefix = value;
|
|
6763
6634
|
};
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
return this.privateDoNotAccessOrElseWrappedAttrPrefix;
|
|
6635
|
+
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix.prototype.toString = function() {
|
|
6636
|
+
return this.privateDoNotAccessOrElseWrappedAttributePrefix;
|
|
6767
6637
|
};
|
|
6768
|
-
|
|
6769
|
-
|
|
6638
|
+
var module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
6639
|
+
function module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal(value) {
|
|
6640
|
+
return new module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
6770
6641
|
}
|
|
6771
6642
|
module$exports$safevalues$internals$attribute_impl.createAttributePrefixInternal = module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal;
|
|
6643
|
+
function module$contents$safevalues$internals$attribute_impl_isAttributePrefix(value) {
|
|
6644
|
+
return value instanceof module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
6645
|
+
}
|
|
6646
|
+
module$exports$safevalues$internals$attribute_impl.isAttributePrefix = module$contents$safevalues$internals$attribute_impl_isAttributePrefix;
|
|
6772
6647
|
function module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(value) {
|
|
6773
|
-
if (
|
|
6774
|
-
return value.
|
|
6648
|
+
if (module$contents$safevalues$internals$attribute_impl_isAttributePrefix(value)) {
|
|
6649
|
+
return value.privateDoNotAccessOrElseWrappedAttributePrefix;
|
|
6775
6650
|
}
|
|
6776
6651
|
var message = "";
|
|
6777
|
-
goog.DEBUG && (message = "Unexpected type when unwrapping SafeAttributePrefix");
|
|
6652
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeAttributePrefix, got '" + value + "' of type '" + typeof value + "'");
|
|
6778
6653
|
throw Error(message);
|
|
6779
6654
|
}
|
|
6780
6655
|
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
@@ -6922,6 +6797,14 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
|
|
|
6922
6797
|
goog.dom.tags.isVoidTag = function(tagName) {
|
|
6923
6798
|
return !0 === goog.dom.tags.VOID_TAGS_[tagName];
|
|
6924
6799
|
};
|
|
6800
|
+
var module$exports$safevalues$for_closure$index = {}, module$contents$safevalues$for_closure$index_module = module$contents$safevalues$for_closure$index_module || {id:"third_party/javascript/safevalues/for_closure/index.closure.js"};
|
|
6801
|
+
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
6802
|
+
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
6803
|
+
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
6804
|
+
var module$exports$safevalues$for_closure = {};
|
|
6805
|
+
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
6806
|
+
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
6807
|
+
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
6925
6808
|
var module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyle_SafeStyle = function(value, token) {
|
|
6926
6809
|
if (goog.DEBUG && token !== module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
6927
6810
|
throw Error("SafeStyle is not meant to be built directly");
|
|
@@ -6973,8 +6856,8 @@ module$contents$goog$html$SafeStyle_SafeStyle.concat = function(var_args) {
|
|
|
6973
6856
|
module$contents$goog$html$SafeStyle_SafeStyle.EMPTY = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse("");
|
|
6974
6857
|
module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
6975
6858
|
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
6976
|
-
if (value instanceof
|
|
6977
|
-
return 'url("' +
|
|
6859
|
+
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
6860
|
+
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
6978
6861
|
}
|
|
6979
6862
|
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
6980
6863
|
if (/[{;}]/.test(result)) {
|
|
@@ -7034,7 +6917,7 @@ function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
|
7034
6917
|
quote = start;
|
|
7035
6918
|
return inside;
|
|
7036
6919
|
});
|
|
7037
|
-
var sanitized =
|
|
6920
|
+
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
7038
6921
|
return before + quote + sanitized + quote + after;
|
|
7039
6922
|
});
|
|
7040
6923
|
}
|
|
@@ -7162,7 +7045,7 @@ module$contents$goog$html$SafeHtml_SafeHtml.createSandboxIframe = function(src,
|
|
|
7162
7045
|
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? "The browser does not support sandboxed iframes." : "");
|
|
7163
7046
|
}
|
|
7164
7047
|
var fixedAttributes = {};
|
|
7165
|
-
fixedAttributes.src = src ?
|
|
7048
|
+
fixedAttributes.src = src ? module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(src)) : null;
|
|
7166
7049
|
fixedAttributes.srcdoc = srcdoc || null;
|
|
7167
7050
|
fixedAttributes.sandbox = "";
|
|
7168
7051
|
var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes(fixedAttributes, {}, attributes);
|
|
@@ -7186,7 +7069,7 @@ module$contents$goog$html$SafeHtml_SafeHtml.createStyle = function(styleSheet, a
|
|
|
7186
7069
|
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
|
|
7187
7070
|
};
|
|
7188
7071
|
module$contents$goog$html$SafeHtml_SafeHtml.createMetaRefresh = function(url, secs) {
|
|
7189
|
-
var unwrappedUrl =
|
|
7072
|
+
var unwrappedUrl = module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(url));
|
|
7190
7073
|
(module$contents$goog$labs$userAgent$browser_matchIE() || module$contents$goog$labs$userAgent$browser_matchEdgeHtml()) && goog.string.internal.contains(unwrappedUrl, ";") && (unwrappedUrl = "'" + unwrappedUrl.replace(/'/g, "%27") + "'");
|
|
7191
7074
|
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta", {"http-equiv":"refresh", content:(secs || 0) + "; url=" + unwrappedUrl});
|
|
7192
7075
|
};
|
|
@@ -7278,16 +7161,16 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
|
|
|
7278
7161
|
if (name.toLowerCase() in module$contents$goog$html$SafeHtml_URL_ATTRIBUTES) {
|
|
7279
7162
|
if (value instanceof goog.html.TrustedResourceUrl) {
|
|
7280
7163
|
value = goog.html.TrustedResourceUrl.unwrap(value);
|
|
7281
|
-
} else if (value instanceof
|
|
7282
|
-
value =
|
|
7164
|
+
} else if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
7165
|
+
value = module$contents$safevalues$internals$url_impl_unwrapUrl(value);
|
|
7283
7166
|
} else if ("string" === typeof value) {
|
|
7284
|
-
value =
|
|
7167
|
+
value = module$contents$safevalues$builders$url_builders_sanitizeUrl(value).toString();
|
|
7285
7168
|
} else {
|
|
7286
|
-
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" on tag "' + tagName + '" requires
|
|
7169
|
+
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" on tag "' + tagName + '" requires safevalues.SafeUrl, goog.string.Const, or string, value "' + value + '" given.' : "");
|
|
7287
7170
|
}
|
|
7288
7171
|
}
|
|
7289
7172
|
}
|
|
7290
|
-
goog.asserts.assert(value instanceof
|
|
7173
|
+
goog.asserts.assert(value instanceof module$exports$safevalues$internals$url_impl.SafeUrl || value instanceof goog.html.TrustedResourceUrl || value instanceof module$contents$goog$html$SafeStyle_SafeStyle || value instanceof module$contents$goog$html$SafeHtml_SafeHtml || "string" === typeof value || "number" === typeof value, "String or number value expected, got " + typeof value + " with value: " + value);
|
|
7291
7174
|
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
7292
7175
|
}
|
|
7293
7176
|
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
@@ -7435,9 +7318,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
7435
7318
|
}
|
|
7436
7319
|
}
|
|
7437
7320
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
7438
|
-
var $jscomp$tmp$error = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
7439
|
-
this.message = $jscomp$tmp$error.message;
|
|
7440
|
-
"stack" in $jscomp$tmp$error && (this.stack = $jscomp$tmp$error.stack);
|
|
7321
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
7322
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
7323
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
7441
7324
|
this.type = type;
|
|
7442
7325
|
this.intent = intent;
|
|
7443
7326
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -7559,25 +7442,24 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
7559
7442
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
7560
7443
|
};
|
|
7561
7444
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
7562
|
-
var $jscomp$optchain$
|
|
7445
|
+
var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = null == ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = win.document).querySelector) ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
|
|
7563
7446
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
7564
7447
|
}
|
|
7565
7448
|
;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"}, module$contents$safevalues$internals$script_impl_trustedTypes = goog.global.trustedTypes;
|
|
7566
|
-
module$exports$safevalues$internals$script_impl.SafeScript = function(token) {
|
|
7449
|
+
module$exports$safevalues$internals$script_impl.SafeScript = function(token, value) {
|
|
7567
7450
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
7451
|
+
this.privateDoNotAccessOrElseWrappedScript = value;
|
|
7568
7452
|
};
|
|
7569
7453
|
module$exports$safevalues$internals$script_impl.SafeScript.prototype.toString = function() {
|
|
7570
7454
|
return this.privateDoNotAccessOrElseWrappedScript.toString();
|
|
7571
7455
|
};
|
|
7572
7456
|
var module$contents$safevalues$internals$script_impl_ScriptImpl = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
7573
|
-
function module$contents$safevalues$internals$script_impl_constructScript(
|
|
7574
|
-
|
|
7575
|
-
script.privateDoNotAccessOrElseWrappedScript = contents;
|
|
7576
|
-
return script;
|
|
7457
|
+
function module$contents$safevalues$internals$script_impl_constructScript(value) {
|
|
7458
|
+
return new module$exports$safevalues$internals$script_impl.SafeScript(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
7577
7459
|
}
|
|
7578
|
-
function module$contents$safevalues$internals$script_impl_createScriptInternal(
|
|
7579
|
-
var
|
|
7580
|
-
return module$contents$safevalues$internals$script_impl_constructScript(policy ? policy.createScript(
|
|
7460
|
+
function module$contents$safevalues$internals$script_impl_createScriptInternal(value) {
|
|
7461
|
+
var noinlineValue = value, policy = (0,goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse)();
|
|
7462
|
+
return module$contents$safevalues$internals$script_impl_constructScript(policy ? policy.createScript(noinlineValue) : noinlineValue);
|
|
7581
7463
|
}
|
|
7582
7464
|
module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
|
|
7583
7465
|
module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT = module$contents$safevalues$internals$pure_pure(function() {
|
|
@@ -7588,7 +7470,7 @@ function module$contents$safevalues$internals$script_impl_isScript(value) {
|
|
|
7588
7470
|
}
|
|
7589
7471
|
module$exports$safevalues$internals$script_impl.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
7590
7472
|
function module$contents$safevalues$internals$script_impl_unwrapScript(value) {
|
|
7591
|
-
if (
|
|
7473
|
+
if (module$contents$safevalues$internals$script_impl_isScript(value)) {
|
|
7592
7474
|
return value.privateDoNotAccessOrElseWrappedScript;
|
|
7593
7475
|
}
|
|
7594
7476
|
var message = "";
|
|
@@ -7948,9 +7830,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
7948
7830
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
7949
7831
|
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"};
|
|
7950
7832
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
7951
|
-
var $jscomp$tmp$error = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
7952
|
-
this.message = $jscomp$tmp$error.message;
|
|
7953
|
-
"stack" in $jscomp$tmp$error && (this.stack = $jscomp$tmp$error.stack);
|
|
7833
|
+
var $jscomp$tmp$error$1153895636$4 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
7834
|
+
this.message = $jscomp$tmp$error$1153895636$4.message;
|
|
7835
|
+
"stack" in $jscomp$tmp$error$1153895636$4 && (this.stack = $jscomp$tmp$error$1153895636$4.stack);
|
|
7954
7836
|
this.url = url;
|
|
7955
7837
|
this.typeName = typeName;
|
|
7956
7838
|
this.contentType = contentType;
|
|
@@ -7962,48 +7844,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
7962
7844
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
7963
7845
|
}
|
|
7964
7846
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
7965
|
-
var response, $jscomp$optchain$
|
|
7966
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7967
|
-
if (1 == $jscomp$generator$context$
|
|
7968
|
-
return $jscomp$generator$context$
|
|
7969
|
-
}
|
|
7970
|
-
response = $jscomp$generator$context$
|
|
7971
|
-
mimeType = null == ($jscomp$optchain$
|
|
7972
|
-
return $jscomp$generator$context$
|
|
7847
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
7848
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$8) {
|
|
7849
|
+
if (1 == $jscomp$generator$context$1153895636$8.nextAddress) {
|
|
7850
|
+
return $jscomp$generator$context$1153895636$8.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
7851
|
+
}
|
|
7852
|
+
response = $jscomp$generator$context$1153895636$8.yieldResult;
|
|
7853
|
+
mimeType = null == ($jscomp$optchain$tmp1153895636$0 = response.headers.get("Content-Type")) ? void 0 : null == ($jscomp$optchain$tmp1153895636$1 = $jscomp$optchain$tmp1153895636$0.split(";", 2)) ? void 0 : null == ($jscomp$optchain$tmp1153895636$2 = $jscomp$optchain$tmp1153895636$1[0]) ? void 0 : $jscomp$optchain$tmp1153895636$2.toLowerCase();
|
|
7854
|
+
return $jscomp$generator$context$1153895636$8.return({html:function() {
|
|
7973
7855
|
var text;
|
|
7974
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7975
|
-
if (1 == $jscomp$generator$context$
|
|
7856
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$5) {
|
|
7857
|
+
if (1 == $jscomp$generator$context$1153895636$5.nextAddress) {
|
|
7976
7858
|
if ("text/html" !== mimeType) {
|
|
7977
7859
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
7978
7860
|
}
|
|
7979
|
-
return $jscomp$generator$context$
|
|
7861
|
+
return $jscomp$generator$context$1153895636$5.yield(response.text(), 2);
|
|
7980
7862
|
}
|
|
7981
|
-
text = $jscomp$generator$context$
|
|
7982
|
-
return $jscomp$generator$context$
|
|
7863
|
+
text = $jscomp$generator$context$1153895636$5.yieldResult;
|
|
7864
|
+
return $jscomp$generator$context$1153895636$5.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
7983
7865
|
});
|
|
7984
7866
|
}, script:function() {
|
|
7985
7867
|
var text;
|
|
7986
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7987
|
-
if (1 == $jscomp$generator$context$
|
|
7868
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$6) {
|
|
7869
|
+
if (1 == $jscomp$generator$context$1153895636$6.nextAddress) {
|
|
7988
7870
|
if ("text/javascript" !== mimeType && "application/javascript" !== mimeType) {
|
|
7989
7871
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
7990
7872
|
}
|
|
7991
|
-
return $jscomp$generator$context$
|
|
7873
|
+
return $jscomp$generator$context$1153895636$6.yield(response.text(), 2);
|
|
7992
7874
|
}
|
|
7993
|
-
text = $jscomp$generator$context$
|
|
7994
|
-
return $jscomp$generator$context$
|
|
7875
|
+
text = $jscomp$generator$context$1153895636$6.yieldResult;
|
|
7876
|
+
return $jscomp$generator$context$1153895636$6.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
7995
7877
|
});
|
|
7996
7878
|
}, styleSheet:function() {
|
|
7997
7879
|
var text;
|
|
7998
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7999
|
-
if (1 == $jscomp$generator$context$
|
|
7880
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$7) {
|
|
7881
|
+
if (1 == $jscomp$generator$context$1153895636$7.nextAddress) {
|
|
8000
7882
|
if ("text/css" !== mimeType) {
|
|
8001
7883
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
8002
7884
|
}
|
|
8003
|
-
return $jscomp$generator$context$
|
|
7885
|
+
return $jscomp$generator$context$1153895636$7.yield(response.text(), 2);
|
|
8004
7886
|
}
|
|
8005
|
-
text = $jscomp$generator$context$
|
|
8006
|
-
return $jscomp$generator$context$
|
|
7887
|
+
text = $jscomp$generator$context$1153895636$7.yieldResult;
|
|
7888
|
+
return $jscomp$generator$context$1153895636$7.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
8007
7889
|
});
|
|
8008
7890
|
}});
|
|
8009
7891
|
});
|
|
@@ -9295,8 +9177,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
9295
9177
|
}
|
|
9296
9178
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
9297
9179
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
9298
|
-
for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$28 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$
|
|
9299
|
-
var $jscomp$destructuring$var27 = $jscomp.makeIterator($jscomp$key$
|
|
9180
|
+
for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$28 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$m125199259$0$ = $jscomp$iter$28.next(); !$jscomp$key$m125199259$0$.done; $jscomp$key$m125199259$0$ = $jscomp$iter$28.next()) {
|
|
9181
|
+
var $jscomp$destructuring$var27 = $jscomp.makeIterator($jscomp$key$m125199259$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var27.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var27.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
9300
9182
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
9301
9183
|
}
|
|
9302
9184
|
return urlQueryParams;
|
|
@@ -9307,8 +9189,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
9307
9189
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
9308
9190
|
if (params.headers) {
|
|
9309
9191
|
hasContentType = null != params.headers["Content-Type"];
|
|
9310
|
-
for (var $jscomp$iter$29 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$
|
|
9311
|
-
var $jscomp$destructuring$var29 = $jscomp.makeIterator($jscomp$key$
|
|
9192
|
+
for (var $jscomp$iter$29 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$m125199259$1$ = $jscomp$iter$29.next(); !$jscomp$key$m125199259$1$.done; $jscomp$key$m125199259$1$ = $jscomp$iter$29.next()) {
|
|
9193
|
+
var $jscomp$destructuring$var29 = $jscomp.makeIterator($jscomp$key$m125199259$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var29.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var29.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
9312
9194
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
9313
9195
|
}
|
|
9314
9196
|
}
|
|
@@ -9353,15 +9235,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
9353
9235
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
9354
9236
|
};
|
|
9355
9237
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
9356
|
-
var $jscomp$this$
|
|
9238
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
9357
9239
|
payload += this._metadataPayload;
|
|
9358
9240
|
return Promise.all(this.files.map(function(f) {
|
|
9359
|
-
return $jscomp$this$
|
|
9241
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
9360
9242
|
})).then(function(filePayloads) {
|
|
9361
|
-
for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$
|
|
9362
|
-
payload += $jscomp$key$
|
|
9243
|
+
for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$m133342051$9$filePayload = $jscomp$iter$30.next(); !$jscomp$key$m133342051$9$filePayload.done; $jscomp$key$m133342051$9$filePayload = $jscomp$iter$30.next()) {
|
|
9244
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
9363
9245
|
}
|
|
9364
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
9246
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
9365
9247
|
});
|
|
9366
9248
|
};
|
|
9367
9249
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -9449,9 +9331,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
9449
9331
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
9450
9332
|
};
|
|
9451
9333
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
9452
|
-
var $jscomp$this$
|
|
9334
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
9453
9335
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
9454
|
-
return $jscomp$this$
|
|
9336
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
9455
9337
|
}));
|
|
9456
9338
|
};
|
|
9457
9339
|
var module$exports$eeapiclient$ee_api_client = {}, module$contents$eeapiclient$ee_api_client_module = module$contents$eeapiclient$ee_api_client_module || {id:"geo/gestalt/client/javascript/v1/ee_api_client.closure.js"};
|
|
@@ -10597,15 +10479,20 @@ module$exports$eeapiclient$ee_api_client.DataAccessOptions = function(parameters
|
|
|
10597
10479
|
parameters = void 0 === parameters ? {} : parameters;
|
|
10598
10480
|
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
10599
10481
|
this.Serializable$set("logMode", null == parameters.logMode ? null : parameters.logMode);
|
|
10482
|
+
this.Serializable$set("isDirectAuth", null == parameters.isDirectAuth ? null : parameters.isDirectAuth);
|
|
10600
10483
|
};
|
|
10601
10484
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.DataAccessOptions, module$exports$eeapiclient$domain_object.Serializable);
|
|
10602
10485
|
module$exports$eeapiclient$ee_api_client.DataAccessOptions.prototype.getConstructor = function() {
|
|
10603
10486
|
return module$exports$eeapiclient$ee_api_client.DataAccessOptions;
|
|
10604
10487
|
};
|
|
10605
10488
|
module$exports$eeapiclient$ee_api_client.DataAccessOptions.prototype.getPartialClassMetadata = function() {
|
|
10606
|
-
return {enums:{logMode:module$exports$eeapiclient$ee_api_client.DataAccessOptionsLogModeEnum}, keys:["logMode"]};
|
|
10489
|
+
return {enums:{logMode:module$exports$eeapiclient$ee_api_client.DataAccessOptionsLogModeEnum}, keys:["isDirectAuth", "logMode"]};
|
|
10607
10490
|
};
|
|
10608
|
-
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.DataAccessOptions.prototype, {
|
|
10491
|
+
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.DataAccessOptions.prototype, {isDirectAuth:{configurable:!0, enumerable:!0, get:function() {
|
|
10492
|
+
return this.Serializable$has("isDirectAuth") ? this.Serializable$get("isDirectAuth") : null;
|
|
10493
|
+
}, set:function(value) {
|
|
10494
|
+
this.Serializable$set("isDirectAuth", value);
|
|
10495
|
+
}}, logMode:{configurable:!0, enumerable:!0, get:function() {
|
|
10609
10496
|
return this.Serializable$has("logMode") ? this.Serializable$get("logMode") : null;
|
|
10610
10497
|
}, set:function(value) {
|
|
10611
10498
|
this.Serializable$set("logMode", value);
|
|
@@ -15394,7 +15281,7 @@ function module$contents$safevalues$builders$document_fragment_builders_htmlToNo
|
|
|
15394
15281
|
}
|
|
15395
15282
|
module$exports$safevalues$builders$document_fragment_builders.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
15396
15283
|
var module$exports$safevalues$builders$style_sheet_builders = {}, module$contents$safevalues$builders$style_sheet_builders_module = module$contents$safevalues$builders$style_sheet_builders_module || {id:"third_party/javascript/safevalues/builders/style_sheet_builders.closure.js"}, module$contents$safevalues$builders$style_sheet_builders_Primitive;
|
|
15397
|
-
module$
|
|
15284
|
+
function module$contents$safevalues$builders$style_sheet_builders_safeStyleRule(templateObj) {
|
|
15398
15285
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
15399
15286
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, rest.length);
|
|
15400
15287
|
for (var stringifiedRule = templateObj[0], i = 0; i < templateObj.length - 1; i++) {
|
|
@@ -15417,18 +15304,21 @@ module$exports$safevalues$builders$style_sheet_builders.safeStyleRule = function
|
|
|
15417
15304
|
throw Error("safeStyleRule can be used to construct a CSSStyleRule. @-rules should be constructed with the safeStyleSheet builder. Tried to parse: " + stringifiedRule);
|
|
15418
15305
|
}
|
|
15419
15306
|
}
|
|
15420
|
-
}
|
|
15421
|
-
module$exports$safevalues$builders$style_sheet_builders.
|
|
15307
|
+
}
|
|
15308
|
+
module$exports$safevalues$builders$style_sheet_builders.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
15309
|
+
function module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet(templateObj) {
|
|
15422
15310
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, 0);
|
|
15423
15311
|
var styleSheet = templateObj[0];
|
|
15424
15312
|
if (goog.DEBUG && /</.test(styleSheet)) {
|
|
15425
15313
|
throw Error("'<' character is forbidden in styleSheet string: " + styleSheet);
|
|
15426
15314
|
}
|
|
15427
15315
|
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
|
|
15428
|
-
}
|
|
15429
|
-
module$exports$safevalues$builders$style_sheet_builders.
|
|
15316
|
+
}
|
|
15317
|
+
module$exports$safevalues$builders$style_sheet_builders.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
15318
|
+
function module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets(sheets) {
|
|
15430
15319
|
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(sheets.map(module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet).join(""));
|
|
15431
|
-
}
|
|
15320
|
+
}
|
|
15321
|
+
module$exports$safevalues$builders$style_sheet_builders.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
15432
15322
|
var module$exports$safevalues$builders$html_builders = {}, module$contents$safevalues$builders$html_builders_module = module$contents$safevalues$builders$html_builders_module || {id:"third_party/javascript/safevalues/builders/html_builders.closure.js"};
|
|
15433
15323
|
function module$contents$safevalues$builders$html_builders_htmlEscape(value, options) {
|
|
15434
15324
|
options = void 0 === options ? {} : options;
|
|
@@ -15537,7 +15427,7 @@ module$exports$safevalues$builders$html_builders.styleSheetToHtml = function(sty
|
|
|
15537
15427
|
}
|
|
15538
15428
|
combinedAttributes.type = "text/css";
|
|
15539
15429
|
var stringifiedAttributes = module$contents$safevalues$builders$html_builders_stringifyAttributes("style", combinedAttributes);
|
|
15540
|
-
Array.isArray(styleSheet) && (styleSheet =
|
|
15430
|
+
Array.isArray(styleSheet) && (styleSheet = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets(styleSheet));
|
|
15541
15431
|
var styleContent = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(styleSheet);
|
|
15542
15432
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)("<style " + stringifiedAttributes + ">" + styleContent + "</style>");
|
|
15543
15433
|
};
|
|
@@ -15574,8 +15464,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15574
15464
|
this.replacements = new Map();
|
|
15575
15465
|
};
|
|
15576
15466
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15577
|
-
var $jscomp$this$
|
|
15578
|
-
return $jscomp$this$
|
|
15467
|
+
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) {
|
|
15468
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
15579
15469
|
});
|
|
15580
15470
|
if (0 !== openedTags.length) {
|
|
15581
15471
|
if (goog.DEBUG) {
|
|
@@ -15755,8 +15645,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15755
15645
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
15756
15646
|
};
|
|
15757
15647
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15758
|
-
for (var $jscomp$this$
|
|
15759
|
-
return $jscomp$this$
|
|
15648
|
+
for (var $jscomp$this$m1085474118$10 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
15649
|
+
return $jscomp$this$m1085474118$10.nodeFilter(n);
|
|
15760
15650
|
}, !1), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; null !== currentNode;) {
|
|
15761
15651
|
var sanitizedNode = void 0;
|
|
15762
15652
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15783,8 +15673,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15783
15673
|
return document.createTextNode(textNode.data);
|
|
15784
15674
|
};
|
|
15785
15675
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15786
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$31 = $jscomp.makeIterator(dirtyAttributes), $jscomp$key$
|
|
15787
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
15676
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$31 = $jscomp.makeIterator(dirtyAttributes), $jscomp$key$m1085474118$25$ = $jscomp$iter$31.next(); !$jscomp$key$m1085474118$25$.done; $jscomp$key$m1085474118$25$ = $jscomp$iter$31.next()) {
|
|
15677
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1085474118$25$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
15788
15678
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15789
15679
|
switch(policy.policyAction) {
|
|
15790
15680
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15837,8 +15727,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15837
15727
|
if (!conditions) {
|
|
15838
15728
|
return !0;
|
|
15839
15729
|
}
|
|
15840
|
-
for (var $jscomp$iter$32 = $jscomp.makeIterator(conditions), $jscomp$key$
|
|
15841
|
-
var $jscomp$destructuring$var33 = $jscomp.makeIterator($jscomp$key$
|
|
15730
|
+
for (var $jscomp$iter$32 = $jscomp.makeIterator(conditions), $jscomp$key$m1085474118$26$ = $jscomp$iter$32.next(); !$jscomp$key$m1085474118$26$.done; $jscomp$key$m1085474118$26$ = $jscomp$iter$32.next()) {
|
|
15731
|
+
var $jscomp$destructuring$var33 = $jscomp.makeIterator($jscomp$key$m1085474118$26$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = null == ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
15842
15732
|
if (value && !expectedValues.has(value)) {
|
|
15843
15733
|
return !1;
|
|
15844
15734
|
}
|
|
@@ -15892,8 +15782,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15892
15782
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.defaultSanitizerTable;
|
|
15893
15783
|
};
|
|
15894
15784
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
15895
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$33 = $jscomp.makeIterator(elementSet), $jscomp$key$
|
|
15896
|
-
var element = $jscomp$key$
|
|
15785
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$33 = $jscomp.makeIterator(elementSet), $jscomp$key$435282654$0$element = $jscomp$iter$33.next(); !$jscomp$key$435282654$0$element.done; $jscomp$key$435282654$0$element = $jscomp$iter$33.next()) {
|
|
15786
|
+
var element = $jscomp$key$435282654$0$element.value;
|
|
15897
15787
|
element = element.toUpperCase();
|
|
15898
15788
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15899
15789
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15911,8 +15801,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15911
15801
|
throw Error("Element: " + element + " is not a custom element");
|
|
15912
15802
|
}
|
|
15913
15803
|
if (allowedAttributes) {
|
|
15914
|
-
for (var elementPolicy = new Map(), $jscomp$iter$34 = $jscomp.makeIterator(allowedAttributes), $jscomp$key$
|
|
15915
|
-
elementPolicy.set($jscomp$key$
|
|
15804
|
+
for (var elementPolicy = new Map(), $jscomp$iter$34 = $jscomp.makeIterator(allowedAttributes), $jscomp$key$435282654$1$attribute = $jscomp$iter$34.next(); !$jscomp$key$435282654$1$attribute.done; $jscomp$key$435282654$1$attribute = $jscomp$iter$34.next()) {
|
|
15805
|
+
elementPolicy.set($jscomp$key$435282654$1$attribute.value, {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
15916
15806
|
}
|
|
15917
15807
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15918
15808
|
} else {
|
|
@@ -15922,15 +15812,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15922
15812
|
return this;
|
|
15923
15813
|
};
|
|
15924
15814
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
15925
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$35 = $jscomp.makeIterator(attributeSet), $jscomp$key$
|
|
15926
|
-
var attribute = $jscomp$key$
|
|
15815
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$35 = $jscomp.makeIterator(attributeSet), $jscomp$key$435282654$2$attribute = $jscomp$iter$35.next(); !$jscomp$key$435282654$2$attribute.done; $jscomp$key$435282654$2$attribute = $jscomp$iter$35.next()) {
|
|
15816
|
+
var attribute = $jscomp$key$435282654$2$attribute.value;
|
|
15927
15817
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15928
15818
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15929
15819
|
}
|
|
15930
|
-
for (var $jscomp$iter$37 = $jscomp.makeIterator(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
15931
|
-
for (var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$
|
|
15820
|
+
for (var $jscomp$iter$37 = $jscomp.makeIterator(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$4$ = $jscomp$iter$37.next(); !$jscomp$key$435282654$4$.done; $jscomp$key$435282654$4$ = $jscomp$iter$37.next()) {
|
|
15821
|
+
for (var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$435282654$4$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var35.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var35.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$36 = $jscomp.makeIterator(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$3$ = $jscomp$iter$36.next(); !$jscomp$key$435282654$3$.done; $jscomp$key$435282654$3$ =
|
|
15932
15822
|
$jscomp$iter$36.next()) {
|
|
15933
|
-
var $jscomp$destructuring$var37 = $jscomp.makeIterator($jscomp$key$
|
|
15823
|
+
var $jscomp$destructuring$var37 = $jscomp.makeIterator($jscomp$key$435282654$3$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var37.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var37.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
15934
15824
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15935
15825
|
}
|
|
15936
15826
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -15939,8 +15829,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15939
15829
|
return this;
|
|
15940
15830
|
};
|
|
15941
15831
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
15942
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$38 = $jscomp.makeIterator(attributes), $jscomp$key$
|
|
15943
|
-
var attribute = $jscomp$key$
|
|
15832
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$38 = $jscomp.makeIterator(attributes), $jscomp$key$435282654$5$attribute = $jscomp$iter$38.next(); !$jscomp$key$435282654$5$attribute.done; $jscomp$key$435282654$5$attribute = $jscomp$iter$38.next()) {
|
|
15833
|
+
var attribute = $jscomp$key$435282654$5$attribute.value;
|
|
15944
15834
|
if (0 !== attribute.indexOf("data-")) {
|
|
15945
15835
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
15946
15836
|
}
|
|
@@ -16191,12 +16081,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16191
16081
|
}
|
|
16192
16082
|
try {
|
|
16193
16083
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16194
|
-
} catch ($jscomp$unused$catch$
|
|
16084
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
16195
16085
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16196
16086
|
}
|
|
16197
16087
|
try {
|
|
16198
16088
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16199
|
-
} catch ($jscomp$unused$catch$
|
|
16089
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
16200
16090
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16201
16091
|
}
|
|
16202
16092
|
return !1;
|
|
@@ -16224,12 +16114,15 @@ module$exports$safevalues$index.htmlFragment = module$contents$safevalues$builde
|
|
|
16224
16114
|
module$exports$safevalues$index.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
16225
16115
|
module$exports$safevalues$index.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
16226
16116
|
module$exports$safevalues$index.concatHtmls = module$exports$safevalues$builders$html_builders.concatHtmls;
|
|
16117
|
+
module$exports$safevalues$index.createHtml = module$exports$safevalues$builders$html_builders.createHtml;
|
|
16227
16118
|
module$exports$safevalues$index.doctypeHtml = module$exports$safevalues$builders$html_builders.doctypeHtml;
|
|
16228
16119
|
module$exports$safevalues$index.htmlEscape = module$exports$safevalues$builders$html_builders.htmlEscape;
|
|
16229
16120
|
module$exports$safevalues$index.joinHtmls = module$exports$safevalues$builders$html_builders.joinHtmls;
|
|
16230
16121
|
module$exports$safevalues$index.nodeToHtml = module$exports$safevalues$builders$html_builders.nodeToHtml;
|
|
16231
16122
|
module$exports$safevalues$index.scriptToHtml = module$exports$safevalues$builders$html_builders.scriptToHtml;
|
|
16232
16123
|
module$exports$safevalues$index.scriptUrlToHtml = module$exports$safevalues$builders$html_builders.scriptUrlToHtml;
|
|
16124
|
+
module$exports$safevalues$index.styleSheetToHtml = module$exports$safevalues$builders$html_builders.styleSheetToHtml;
|
|
16125
|
+
module$exports$safevalues$index.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
16233
16126
|
module$exports$safevalues$index.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
16234
16127
|
module$exports$safevalues$index.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
16235
16128
|
module$exports$safevalues$index.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
@@ -16247,46 +16140,43 @@ module$exports$safevalues$index.valueAsScript = module$contents$safevalues$build
|
|
|
16247
16140
|
module$exports$safevalues$index.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
16248
16141
|
module$exports$safevalues$index.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
16249
16142
|
module$exports$safevalues$index.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
16250
|
-
module$exports$safevalues$index.concatStyleSheets = module$
|
|
16251
|
-
module$exports$safevalues$index.
|
|
16143
|
+
module$exports$safevalues$index.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
16144
|
+
module$exports$safevalues$index.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
16145
|
+
module$exports$safevalues$index.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
16146
|
+
module$exports$safevalues$index.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
16252
16147
|
module$exports$safevalues$index.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
16253
16148
|
module$exports$safevalues$index.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
16254
16149
|
module$exports$safevalues$index.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
16255
16150
|
module$exports$safevalues$index.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
16256
16151
|
module$exports$safevalues$index.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
16257
16152
|
module$exports$safevalues$index.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
16258
|
-
module$exports$safevalues$index.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
16259
16153
|
module$exports$safevalues$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
16260
16154
|
module$exports$safevalues$index.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
16261
16155
|
module$exports$safevalues$index.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
16262
16156
|
module$exports$safevalues$index.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
16263
16157
|
module$exports$safevalues$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
16264
|
-
module$exports$safevalues$index.isHtml = module$exports$safevalues$internals$html_impl.isHtml;
|
|
16265
16158
|
module$exports$safevalues$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
16159
|
+
module$exports$safevalues$index.isHtml = module$exports$safevalues$internals$html_impl.isHtml;
|
|
16266
16160
|
module$exports$safevalues$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
16267
|
-
module$exports$safevalues$index.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
16268
16161
|
module$exports$safevalues$index.TrustedResourceUrl = goog.html.TrustedResourceUrl;
|
|
16162
|
+
module$exports$safevalues$index.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
16269
16163
|
module$exports$safevalues$index.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
16270
16164
|
module$exports$safevalues$index.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
16271
|
-
module$exports$safevalues$index.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
16272
16165
|
module$exports$safevalues$index.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
16166
|
+
module$exports$safevalues$index.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
16273
16167
|
module$exports$safevalues$index.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
16274
|
-
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
16275
16168
|
module$exports$safevalues$index.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
|
|
16169
|
+
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
16276
16170
|
module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
16277
|
-
module$exports$safevalues$index.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
16278
16171
|
module$exports$safevalues$index.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
16172
|
+
module$exports$safevalues$index.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
16279
16173
|
module$exports$safevalues$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
16280
16174
|
module$exports$safevalues$index.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
16281
16175
|
module$exports$safevalues$index.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
16176
|
+
module$exports$safevalues$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
16282
16177
|
module$exports$safevalues$index.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
16283
|
-
module$exports$safevalues$index.SafeUrl = goog.html.SafeUrl;
|
|
16284
16178
|
module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
16285
16179
|
module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
16286
|
-
module$exports$safevalues$index.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
16287
|
-
module$exports$safevalues$index.createHtml = module$exports$safevalues$builders$html_builders.createHtml;
|
|
16288
|
-
module$exports$safevalues$index.styleSheetToHtml = module$exports$safevalues$builders$html_builders.styleSheetToHtml;
|
|
16289
|
-
module$exports$safevalues$index.safeStyleRule = module$exports$safevalues$builders$style_sheet_builders.safeStyleRule;
|
|
16290
16180
|
goog.dom.safe = {};
|
|
16291
16181
|
goog.dom.safe.InsertAdjacentHtmlPosition = {AFTERBEGIN:"afterbegin", AFTEREND:"afterend", BEFOREBEGIN:"beforebegin", BEFOREEND:"beforeend"};
|
|
16292
16182
|
goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
|
|
@@ -17489,9 +17379,9 @@ goog.debug.asyncStackTag = {};
|
|
|
17489
17379
|
var module$contents$goog$debug$asyncStackTag_DEBUG = goog.DEBUG, module$contents$goog$debug$asyncStackTag_createTask = goog.DEBUG && goog.global.console && goog.global.console.createTask ? goog.global.console.createTask.bind(goog.global.console) : void 0, module$contents$goog$debug$asyncStackTag_CONSOLE_TASK_SYMBOL = module$contents$goog$debug$asyncStackTag_createTask ? Symbol("consoleTask") : void 0;
|
|
17490
17380
|
function module$contents$goog$debug$asyncStackTag_wrap(fn, name) {
|
|
17491
17381
|
function wrappedFn() {
|
|
17492
|
-
var args = $jscomp.getRestArguments.apply(0, arguments), $jscomp$this$1621498202$
|
|
17382
|
+
var args = $jscomp.getRestArguments.apply(0, arguments), $jscomp$this$1621498202$4 = this;
|
|
17493
17383
|
return consoleTask.run(function() {
|
|
17494
|
-
return fn.call.apply(fn, [$jscomp$this$1621498202$
|
|
17384
|
+
return fn.call.apply(fn, [$jscomp$this$1621498202$4].concat($jscomp.arrayFromIterable(args)));
|
|
17495
17385
|
});
|
|
17496
17386
|
}
|
|
17497
17387
|
name = void 0 === name ? "anonymous" : name;
|
|
@@ -19029,16 +18919,19 @@ safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_
|
|
|
19029
18919
|
safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
19030
18920
|
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
19031
18921
|
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
18922
|
+
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
19032
18923
|
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
19033
18924
|
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
19034
18925
|
safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
|
|
19035
18926
|
safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
|
|
19036
18927
|
safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
19037
18928
|
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
19038
|
-
safevalues.
|
|
18929
|
+
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
18930
|
+
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
19039
18931
|
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
19040
18932
|
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
19041
18933
|
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
18934
|
+
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
19042
18935
|
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
19043
18936
|
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
19044
18937
|
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
@@ -19053,52 +18946,49 @@ safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_v
|
|
|
19053
18946
|
safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
19054
18947
|
safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
19055
18948
|
safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
19056
|
-
safevalues.concatStyleSheets = module$
|
|
19057
|
-
safevalues.
|
|
18949
|
+
safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
18950
|
+
safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
18951
|
+
safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
18952
|
+
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
19058
18953
|
safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
19059
18954
|
safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
19060
18955
|
safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
19061
18956
|
safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
19062
18957
|
safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
19063
18958
|
safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
19064
|
-
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
19065
18959
|
safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
19066
|
-
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
19067
18960
|
safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
18961
|
+
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
19068
18962
|
safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
19069
18963
|
safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
19070
18964
|
safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
19071
|
-
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19072
18965
|
safevalues.SafeHtml = module$exports$safevalues$index.SafeHtml;
|
|
18966
|
+
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19073
18967
|
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
19074
|
-
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19075
18968
|
safevalues.TrustedResourceUrl = goog.html.TrustedResourceUrl;
|
|
18969
|
+
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19076
18970
|
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
19077
18971
|
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
19078
|
-
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
19079
18972
|
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
18973
|
+
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
19080
18974
|
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
19081
|
-
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19082
18975
|
safevalues.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
|
|
18976
|
+
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19083
18977
|
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19084
|
-
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19085
18978
|
safevalues.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
18979
|
+
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19086
18980
|
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
19087
18981
|
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
19088
18982
|
safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
18983
|
+
safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
19089
18984
|
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
19090
|
-
safevalues.SafeUrl = goog.html.SafeUrl;
|
|
19091
18985
|
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
19092
18986
|
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
19093
|
-
|
|
19094
|
-
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
19095
|
-
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
19096
|
-
safevalues.safeStyleRule = module$exports$safevalues$index.safeStyleRule;
|
|
19097
|
-
var $jscomp$templatelit$294235699$96 = $jscomp.createTemplateTagFirstArg(["https://accounts.google.com/gsi/client"]);
|
|
18987
|
+
var $jscomp$templatelit$294235699$99 = $jscomp.createTemplateTagFirstArg(["https://accounts.google.com/gsi/client"]);
|
|
19098
18988
|
ee.apiclient = {};
|
|
19099
18989
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19100
18990
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19101
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
18991
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.400";
|
|
19102
18992
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19103
18993
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19104
18994
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19259,8 +19149,8 @@ module$contents$ee$apiclient_BatchRequestService.prototype.send = function(param
|
|
|
19259
19149
|
module$contents$ee$apiclient_BatchRequestService.prototype.makeRequest = function(params) {
|
|
19260
19150
|
};
|
|
19261
19151
|
module$contents$ee$apiclient_apiclient.parseBatchReply = function(contentType, responseText, handle) {
|
|
19262
|
-
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$41 = $jscomp.makeIterator(responseText.split("--" + boundary)), $jscomp$key$294235699$
|
|
19263
|
-
var groups = $jscomp$key$294235699$
|
|
19152
|
+
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$41 = $jscomp.makeIterator(responseText.split("--" + boundary)), $jscomp$key$294235699$100$part = $jscomp$iter$41.next(); !$jscomp$key$294235699$100$part.done; $jscomp$key$294235699$100$part = $jscomp$iter$41.next()) {
|
|
19153
|
+
var groups = $jscomp$key$294235699$100$part.value.split("\r\n\r\n");
|
|
19264
19154
|
if (!(3 > groups.length)) {
|
|
19265
19155
|
var id = groups[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1], status = Number(groups[1].match(/^HTTP\S*\s(\d+)\s/)[1]), text = groups.slice(2).join("\r\n\r\n");
|
|
19266
19156
|
handle(id, status, text);
|
|
@@ -19388,8 +19278,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19388
19278
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19389
19279
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19390
19280
|
method = method || "POST";
|
|
19391
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19392
|
-
"0.1.
|
|
19281
|
+
var headers = {"Content-Type":contentType}, version = "0.1.400";
|
|
19282
|
+
"0.1.400" === version && (version = "latest");
|
|
19393
19283
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19394
19284
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19395
19285
|
if (null != authToken) {
|
|
@@ -19504,7 +19394,7 @@ module$contents$ee$apiclient_apiclient.ensureAuthLibLoaded_ = function(callback)
|
|
|
19504
19394
|
callback();
|
|
19505
19395
|
};
|
|
19506
19396
|
(function() {
|
|
19507
|
-
goog.isObject(goog.global.default_gsi) ? done() : goog.net.jsloader.safeLoad(module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl($jscomp$templatelit$294235699$
|
|
19397
|
+
goog.isObject(goog.global.default_gsi) ? done() : goog.net.jsloader.safeLoad(module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl($jscomp$templatelit$294235699$99)).addCallback(done);
|
|
19508
19398
|
})();
|
|
19509
19399
|
};
|
|
19510
19400
|
module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, error, result) {
|
|
@@ -19522,8 +19412,8 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
19522
19412
|
}
|
|
19523
19413
|
};
|
|
19524
19414
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
19525
|
-
for (var request = new goog.Uri.QueryData(), $jscomp$iter$42 = $jscomp.makeIterator(Object.entries(params)), $jscomp$key$294235699$
|
|
19526
|
-
var $jscomp$destructuring$var47 = $jscomp.makeIterator($jscomp$key$294235699$
|
|
19415
|
+
for (var request = new goog.Uri.QueryData(), $jscomp$iter$42 = $jscomp.makeIterator(Object.entries(params)), $jscomp$key$294235699$101$ = $jscomp$iter$42.next(); !$jscomp$key$294235699$101$.done; $jscomp$key$294235699$101$ = $jscomp$iter$42.next()) {
|
|
19416
|
+
var $jscomp$destructuring$var47 = $jscomp.makeIterator($jscomp$key$294235699$101$.value), name = $jscomp$destructuring$var47.next().value, item = $jscomp$destructuring$var47.next().value;
|
|
19527
19417
|
request.set(name, item);
|
|
19528
19418
|
}
|
|
19529
19419
|
return request;
|
|
@@ -24738,6 +24628,7 @@ goog.events.EventHandler.prototype.disposeInternal = function() {
|
|
|
24738
24628
|
goog.events.EventHandler.prototype.handleEvent = function(e) {
|
|
24739
24629
|
throw Error("EventHandler.handleEvent not implemented");
|
|
24740
24630
|
};
|
|
24631
|
+
goog.fs = {};
|
|
24741
24632
|
goog.fs.DOMErrorLike = function() {
|
|
24742
24633
|
};
|
|
24743
24634
|
goog.fs.Error = function(error, action) {
|
|
@@ -26955,29 +26846,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26955
26846
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26956
26847
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26957
26848
|
(function() {
|
|
26958
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
26959
|
-
orderedParamLists = [["name", "
|
|
26960
|
-
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["collection", "opt_description",
|
|
26961
|
-
"opt_assetId", "opt_maxVertices", "opt_priority"], "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(" "), ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),
|
|
26849
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toAsset ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.data.getAssetRootQuota ee.data.getTileUrl ee.data.startTableIngestion ee.data.deleteAsset ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.listOperations ee.data.getWorkloadTag ee.data.listImages ee.data.getAssetAcl ee.data.getDownloadId ee.data.getFeatureViewTilesKey ee.data.cancelOperation ee.data.makeDownloadUrl ee.data.authenticateViaPopup ee.data.getAssetRoots ee.data.getAsset ee.data.listFeatures ee.data.setWorkloadTag ee.data.createAssetHome ee.data.createAsset ee.data.getOperation ee.data.getInfo ee.data.authenticateViaPrivateKey ee.data.setDefaultWorkloadTag ee.data.newTaskId ee.data.resetWorkloadTag ee.data.computeValue ee.data.getThumbId ee.data.cancelTask ee.data.updateAsset ee.data.getVideoThumbId ee.data.getList ee.data.startIngestion ee.data.getTaskStatus ee.data.updateTask ee.data.createFolder ee.data.getFilmstripThumbId ee.data.startProcessing ee.data.setAssetAcl ee.data.renameAsset ee.data.listAssets ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.setAssetProperties ee.data.getMapId ee.data.copyAsset ee.data.getTaskList ee.data.listBuckets ee.data.authenticate ee.data.getTableDownloadId ee.Date ee.Deserializer.fromJSON ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.InitState ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getMapId ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMapId ee.FeatureCollection ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Filter.and ee.Filter.neq ee.Filter.lt ee.Filter.gt ee.Filter.inList ee.Filter.or ee.Filter.prototype.not ee.Filter.gte ee.Filter.lte ee.Filter ee.Filter.eq ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.MultiPoint ee.Geometry.LineString ee.Geometry.BBox ee.Geometry.MultiPolygon ee.Geometry.prototype.serialize ee.Geometry.Polygon ee.Geometry ee.Geometry.Rectangle ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Geometry.Point ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSONString ee.Image ee.Image.prototype.getMapId ee.Image.cat ee.Image.prototype.getMap ee.Image.prototype.select ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.Image.prototype.getDownloadURL ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image.prototype.clip ee.Image.rgb ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection ee.List ee.Number ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toCloudApiJSON ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
26850
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
26962
26851
|
"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(" "), "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(" "),
|
|
26963
|
-
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
26964
|
-
"
|
|
26965
|
-
"
|
|
26966
|
-
"
|
|
26967
|
-
["
|
|
26968
|
-
["
|
|
26969
|
-
|
|
26970
|
-
["
|
|
26971
|
-
"
|
|
26972
|
-
[
|
|
26973
|
-
|
|
26974
|
-
ee.
|
|
26975
|
-
ee.
|
|
26976
|
-
ee.
|
|
26977
|
-
ee.
|
|
26978
|
-
ee.
|
|
26979
|
-
ee.
|
|
26980
|
-
ee.
|
|
26852
|
+
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
26853
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),
|
|
26854
|
+
["filter"], ["start", "opt_end"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["name", "operator", "value"], ["geometry"], ["legacy"], ["opt_callback"], ["func", "var_args"], ["callback"], ["rootId", "opt_callback"], ["id", "x", "y", "z"], ["taskId", "request", "opt_callback"], ["assetId", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["opt_limit", "opt_callback"], [], ["parent", "opt_params", "opt_callback"],
|
|
26855
|
+
["assetId", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["operationName", "opt_callback"], ["id"], ["opt_success", "opt_error"], ["opt_callback"], ["id", "opt_callback"], ["asset", "params", "opt_callback"], ["tag"], ["requestedId", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["operationName", "opt_callback"], ["id", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"],
|
|
26856
|
+
["tag"], ["opt_count", "opt_callback"], ["opt_resetDefault"], ["obj", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["taskId", "opt_callback"], ["taskId", "action", "opt_callback"], ["path", "opt_force", "opt_callback"], ["params", "opt_callback"], ["taskId", "params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"],
|
|
26857
|
+
["sourceId", "destinationId", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["assetId", "properties", "opt_callback"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["opt_callback"], ["project", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["params", "opt_callback"], ["date",
|
|
26858
|
+
"opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], [], ["func", "namedArgs"], ["var_args"], [], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_visParams", "opt_callback"], ["args", "opt_column"],
|
|
26859
|
+
["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["start", "opt_end"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["var_args"], [], ["name", "value"], ["name", "value"], ["opt_filter"], ["name", "value"], ["namedArgs"], ["var_args"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic",
|
|
26860
|
+
"opt_maxError"], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["opt_args"], ["opt_visParams", "opt_callback"],
|
|
26861
|
+
["var_args"], ["opt_visParams", "opt_callback"], ["var_args"], ["params", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["expression", "opt_map"], ["var_args"], ["opt_callback"], ["geometry"], ["r", "g", "b"], ["params", "opt_callback"], [], ["opt_callback"], ["selectors", "opt_names"], ["opt_visParams", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"],
|
|
26862
|
+
["args"], ["list"], ["number"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
26863
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage,
|
|
26864
|
+
module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toAsset, ee.Collection.prototype.filter, ee.Collection.prototype.filterDate, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.ComputedObject.prototype.serialize,
|
|
26865
|
+
ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.data.getAssetRootQuota, ee.data.getTileUrl, ee.data.startTableIngestion, ee.data.deleteAsset, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.listOperations, ee.data.getWorkloadTag, ee.data.listImages, ee.data.getAssetAcl, ee.data.getDownloadId, ee.data.getFeatureViewTilesKey, ee.data.cancelOperation, ee.data.makeDownloadUrl, ee.data.authenticateViaPopup, ee.data.getAssetRoots,
|
|
26866
|
+
ee.data.getAsset, ee.data.listFeatures, ee.data.setWorkloadTag, ee.data.createAssetHome, ee.data.createAsset, ee.data.getOperation, ee.data.getInfo, ee.data.authenticateViaPrivateKey, ee.data.setDefaultWorkloadTag, ee.data.newTaskId, ee.data.resetWorkloadTag, ee.data.computeValue, ee.data.getThumbId, ee.data.cancelTask, ee.data.updateAsset, ee.data.getVideoThumbId, ee.data.getList, ee.data.startIngestion, ee.data.getTaskStatus, ee.data.updateTask, ee.data.createFolder, ee.data.getFilmstripThumbId,
|
|
26867
|
+
ee.data.startProcessing, ee.data.setAssetAcl, ee.data.renameAsset, ee.data.listAssets, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.setAssetProperties, ee.data.getMapId, ee.data.copyAsset, ee.data.getTaskList, ee.data.listBuckets, ee.data.authenticate, ee.data.getTableDownloadId, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decode, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Dictionary, ee.TILE_SIZE, ee.initialize, ee.call, ee.reset, ee.Algorithms,
|
|
26868
|
+
ee.InitState, ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMap, ee.Feature, ee.Feature.prototype.getMapId, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMap, ee.Filter.date, ee.Filter.metadata, ee.Filter.bounds, ee.Filter.and, ee.Filter.neq, ee.Filter.lt,
|
|
26869
|
+
ee.Filter.gt, ee.Filter.inList, ee.Filter.or, ee.Filter.prototype.not, ee.Filter.gte, ee.Filter.lte, ee.Filter, ee.Filter.eq, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.MultiPoint, ee.Geometry.LineString, ee.Geometry.BBox, ee.Geometry.MultiPolygon, ee.Geometry.prototype.serialize, ee.Geometry.Polygon, ee.Geometry, ee.Geometry.Rectangle, ee.Geometry.MultiLineString, ee.Geometry.prototype.toGeoJSON, ee.Geometry.Point, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSONString,
|
|
26870
|
+
ee.Image, ee.Image.prototype.getMapId, ee.Image.cat, ee.Image.prototype.getMap, ee.Image.prototype.select, ee.Image.prototype.getThumbId, ee.Image.prototype.getThumbURL, ee.Image.prototype.getDownloadURL, ee.Image.prototype.expression, ee.Image.prototype.rename, ee.Image.prototype.getInfo, ee.Image.prototype.clip, ee.Image.rgb, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getMap,
|
|
26871
|
+
ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection, ee.List, ee.Number, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toCloudApiJSON, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26981
26872
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
26982
26873
|
});
|
|
26983
26874
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|