@google/earthengine 0.1.399 → 0.1.401
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 +219 -214
- package/build/ee_api_js.js +598 -597
- package/build/ee_api_js_debug.js +197 -192
- package/build/ee_api_js_npm.js +219 -214
- package/build/main.js +219 -214
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/examples/UserInterface/LandsatExplorer.js +10 -6
- package/src/layers/earthenginetilesource.js +20 -9
package/build/ee_api_js_debug.js
CHANGED
|
@@ -3806,9 +3806,9 @@ DOMCONTENTLOADED:"DOMContentLoaded", ERROR:"error", HELP:"help", LOAD:"load", LO
|
|
|
3806
3806
|
SEEKED:"seeked", SEEKING:"seeking", STALLED:"stalled", SUSPEND:"suspend", TIMEUPDATE:"timeupdate", VOLUMECHANGE:"volumechange", WAITING:"waiting", SOURCEOPEN:"sourceopen", SOURCEENDED:"sourceended", SOURCECLOSED:"sourceclosed", ABORT:"abort", UPDATE:"update", UPDATESTART:"updatestart", UPDATEEND:"updateend", HASHCHANGE:"hashchange", PAGEHIDE:"pagehide", PAGESHOW:"pageshow", POPSTATE:"popstate", COPY:"copy", PASTE:"paste", CUT:"cut", BEFORECOPY:"beforecopy", BEFORECUT:"beforecut", BEFOREPASTE:"beforepaste",
|
|
3807
3807
|
ONLINE:"online", OFFLINE:"offline", MESSAGE:"message", CONNECT:"connect", INSTALL:"install", ACTIVATE:"activate", FETCH:"fetch", FOREIGNFETCH:"foreignfetch", MESSAGEERROR:"messageerror", STATECHANGE:"statechange", UPDATEFOUND:"updatefound", CONTROLLERCHANGE:"controllerchange", ANIMATIONSTART:goog.events.eventTypeHelpers.getVendorPrefixedName("AnimationStart"), ANIMATIONEND:goog.events.eventTypeHelpers.getVendorPrefixedName("AnimationEnd"), ANIMATIONITERATION:goog.events.eventTypeHelpers.getVendorPrefixedName("AnimationIteration"),
|
|
3808
3808
|
TRANSITIONEND:goog.events.eventTypeHelpers.getVendorPrefixedName("TransitionEnd"), POINTERDOWN:"pointerdown", POINTERUP:"pointerup", POINTERCANCEL:"pointercancel", POINTERMOVE:"pointermove", POINTEROVER:"pointerover", POINTEROUT:"pointerout", POINTERENTER:"pointerenter", POINTERLEAVE:"pointerleave", GOTPOINTERCAPTURE:"gotpointercapture", LOSTPOINTERCAPTURE:"lostpointercapture", MSGESTURECHANGE:"MSGestureChange", MSGESTUREEND:"MSGestureEnd", MSGESTUREHOLD:"MSGestureHold", MSGESTURESTART:"MSGestureStart",
|
|
3809
|
-
MSGESTURETAP:"MSGestureTap", MSGOTPOINTERCAPTURE:"MSGotPointerCapture", MSINERTIASTART:"MSInertiaStart", MSLOSTPOINTERCAPTURE:"MSLostPointerCapture", MSPOINTERCANCEL:"MSPointerCancel", MSPOINTERDOWN:"MSPointerDown", MSPOINTERENTER:"MSPointerEnter", MSPOINTERHOVER:"MSPointerHover", MSPOINTERLEAVE:"MSPointerLeave", MSPOINTERMOVE:"MSPointerMove", MSPOINTEROUT:"MSPointerOut", MSPOINTEROVER:"MSPointerOver", MSPOINTERUP:"MSPointerUp", TEXT:"text", TEXTINPUT:
|
|
3810
|
-
|
|
3811
|
-
|
|
3809
|
+
MSGESTURETAP:"MSGestureTap", MSGOTPOINTERCAPTURE:"MSGotPointerCapture", MSINERTIASTART:"MSInertiaStart", MSLOSTPOINTERCAPTURE:"MSLostPointerCapture", MSPOINTERCANCEL:"MSPointerCancel", MSPOINTERDOWN:"MSPointerDown", MSPOINTERENTER:"MSPointerEnter", MSPOINTERHOVER:"MSPointerHover", MSPOINTERLEAVE:"MSPointerLeave", MSPOINTERMOVE:"MSPointerMove", MSPOINTEROUT:"MSPointerOut", MSPOINTEROVER:"MSPointerOver", MSPOINTERUP:"MSPointerUp", TEXT:"text", TEXTINPUT:"textInput", COMPOSITIONSTART:"compositionstart",
|
|
3810
|
+
COMPOSITIONUPDATE:"compositionupdate", COMPOSITIONEND:"compositionend", BEFOREINPUT:"beforeinput", FULLSCREENCHANGE:"fullscreenchange", WEBKITBEGINFULLSCREEN:"webkitbeginfullscreen", WEBKITENDFULLSCREEN:"webkitendfullscreen", EXIT:"exit", LOADABORT:"loadabort", LOADCOMMIT:"loadcommit", LOADREDIRECT:"loadredirect", LOADSTART:"loadstart", LOADSTOP:"loadstop", RESPONSIVE:"responsive", SIZECHANGED:"sizechanged", UNRESPONSIVE:"unresponsive", VISIBILITYCHANGE:"visibilitychange", STORAGE:"storage", BEFOREPRINT:"beforeprint",
|
|
3811
|
+
AFTERPRINT:"afterprint", BEFOREINSTALLPROMPT:"beforeinstallprompt", APPINSTALLED:"appinstalled", CANCEL:"cancel", FINISH:"finish", REMOVE:"remove"};
|
|
3812
3812
|
goog.events.BrowserEvent = function(opt_e, opt_currentTarget) {
|
|
3813
3813
|
goog.events.Event.call(this, opt_e ? opt_e.type : "");
|
|
3814
3814
|
this.relatedTarget = this.currentTarget = this.target = null;
|
|
@@ -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,14 +6376,14 @@ 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;
|
|
@@ -6397,17 +6397,16 @@ function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token)
|
|
|
6397
6397
|
}
|
|
6398
6398
|
module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
|
|
6399
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) {
|
|
6400
|
+
module$exports$safevalues$internals$url_impl.SafeUrl = function(token, value) {
|
|
6401
6401
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
6402
|
+
this.privateDoNotAccessOrElseWrappedUrl = value;
|
|
6402
6403
|
};
|
|
6403
6404
|
module$exports$safevalues$internals$url_impl.SafeUrl.prototype.toString = function() {
|
|
6404
6405
|
return this.privateDoNotAccessOrElseWrappedUrl;
|
|
6405
6406
|
};
|
|
6406
6407
|
var module$contents$safevalues$internals$url_impl_UrlImpl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
6407
|
-
function module$contents$safevalues$internals$url_impl_createUrlInternal(
|
|
6408
|
-
|
|
6409
|
-
url.privateDoNotAccessOrElseWrappedUrl = urlValue;
|
|
6410
|
-
return url;
|
|
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);
|
|
6411
6410
|
}
|
|
6412
6411
|
module$exports$safevalues$internals$url_impl.createUrlInternal = module$contents$safevalues$internals$url_impl_createUrlInternal;
|
|
6413
6412
|
module$exports$safevalues$internals$url_impl.ABOUT_BLANK = module$contents$safevalues$internals$url_impl_createUrlInternal("about:blank");
|
|
@@ -6566,13 +6565,14 @@ function module$contents$safevalues$builders$url_builders_extractScheme(url) {
|
|
|
6566
6565
|
module$exports$safevalues$builders$url_builders.extractScheme = module$contents$safevalues$builders$url_builders_extractScheme;
|
|
6567
6566
|
var module$contents$safevalues$builders$url_builders_ALLOWED_SCHEMES = ["data:", "http:", "https:", "mailto:", "ftp:"];
|
|
6568
6567
|
module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN = /^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;
|
|
6569
|
-
function module$contents$safevalues$builders$
|
|
6570
|
-
|
|
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;
|
|
6571
6572
|
}
|
|
6573
|
+
module$exports$safevalues$builders$url_builders.reportJavaScriptUrl = module$contents$safevalues$builders$url_builders_reportJavaScriptUrl;
|
|
6572
6574
|
function module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl(url) {
|
|
6573
|
-
if (module$contents$safevalues$builders$
|
|
6574
|
-
module$contents$safevalues$builders$url_builders_triggerCallbacks(url);
|
|
6575
|
-
} else {
|
|
6575
|
+
if (!module$contents$safevalues$builders$url_builders_reportJavaScriptUrl(url)) {
|
|
6576
6576
|
return url;
|
|
6577
6577
|
}
|
|
6578
6578
|
}
|
|
@@ -6610,6 +6610,9 @@ module$exports$safevalues$dom$elements$anchor.setHref = function(anchor, url) {
|
|
|
6610
6610
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
6611
6611
|
void 0 !== sanitizedUrl && (anchor.href = sanitizedUrl);
|
|
6612
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
|
+
};
|
|
6613
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"};
|
|
6614
6617
|
module$exports$safevalues$dom$elements$area.setHref = function(area, url) {
|
|
6615
6618
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
@@ -6625,26 +6628,28 @@ module$exports$safevalues$dom$elements$button.setFormaction = function(button, u
|
|
|
6625
6628
|
void 0 !== sanitizedUrl && (button.formAction = sanitizedUrl);
|
|
6626
6629
|
};
|
|
6627
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"};
|
|
6628
|
-
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix = function() {
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
6632
|
-
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;
|
|
6633
6634
|
};
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
return this.privateDoNotAccessOrElseWrappedAttrPrefix;
|
|
6635
|
+
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix.prototype.toString = function() {
|
|
6636
|
+
return this.privateDoNotAccessOrElseWrappedAttributePrefix;
|
|
6637
6637
|
};
|
|
6638
|
-
|
|
6639
|
-
|
|
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);
|
|
6640
6641
|
}
|
|
6641
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;
|
|
6642
6647
|
function module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(value) {
|
|
6643
|
-
if (
|
|
6644
|
-
return value.
|
|
6648
|
+
if (module$contents$safevalues$internals$attribute_impl_isAttributePrefix(value)) {
|
|
6649
|
+
return value.privateDoNotAccessOrElseWrappedAttributePrefix;
|
|
6645
6650
|
}
|
|
6646
6651
|
var message = "";
|
|
6647
|
-
goog.DEBUG && (message = "Unexpected type when unwrapping SafeAttributePrefix");
|
|
6652
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeAttributePrefix, got '" + value + "' of type '" + typeof value + "'");
|
|
6648
6653
|
throw Error(message);
|
|
6649
6654
|
}
|
|
6650
6655
|
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
@@ -7313,9 +7318,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
7313
7318
|
}
|
|
7314
7319
|
}
|
|
7315
7320
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
7316
|
-
var $jscomp$tmp$error$
|
|
7317
|
-
this.message = $jscomp$tmp$error$
|
|
7318
|
-
"stack" in $jscomp$tmp$error$
|
|
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);
|
|
7319
7324
|
this.type = type;
|
|
7320
7325
|
this.intent = intent;
|
|
7321
7326
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -7437,25 +7442,24 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
7437
7442
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
7438
7443
|
};
|
|
7439
7444
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
7440
|
-
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]");
|
|
7441
7446
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
7442
7447
|
}
|
|
7443
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;
|
|
7444
|
-
module$exports$safevalues$internals$script_impl.SafeScript = function(token) {
|
|
7449
|
+
module$exports$safevalues$internals$script_impl.SafeScript = function(token, value) {
|
|
7445
7450
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
7451
|
+
this.privateDoNotAccessOrElseWrappedScript = value;
|
|
7446
7452
|
};
|
|
7447
7453
|
module$exports$safevalues$internals$script_impl.SafeScript.prototype.toString = function() {
|
|
7448
7454
|
return this.privateDoNotAccessOrElseWrappedScript.toString();
|
|
7449
7455
|
};
|
|
7450
7456
|
var module$contents$safevalues$internals$script_impl_ScriptImpl = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
7451
|
-
function module$contents$safevalues$internals$script_impl_constructScript(
|
|
7452
|
-
|
|
7453
|
-
script.privateDoNotAccessOrElseWrappedScript = contents;
|
|
7454
|
-
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);
|
|
7455
7459
|
}
|
|
7456
|
-
function module$contents$safevalues$internals$script_impl_createScriptInternal(
|
|
7457
|
-
var
|
|
7458
|
-
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);
|
|
7459
7463
|
}
|
|
7460
7464
|
module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
|
|
7461
7465
|
module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT = module$contents$safevalues$internals$pure_pure(function() {
|
|
@@ -7466,7 +7470,7 @@ function module$contents$safevalues$internals$script_impl_isScript(value) {
|
|
|
7466
7470
|
}
|
|
7467
7471
|
module$exports$safevalues$internals$script_impl.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
7468
7472
|
function module$contents$safevalues$internals$script_impl_unwrapScript(value) {
|
|
7469
|
-
if (
|
|
7473
|
+
if (module$contents$safevalues$internals$script_impl_isScript(value)) {
|
|
7470
7474
|
return value.privateDoNotAccessOrElseWrappedScript;
|
|
7471
7475
|
}
|
|
7472
7476
|
var message = "";
|
|
@@ -7826,9 +7830,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
7826
7830
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
7827
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"};
|
|
7828
7832
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
7829
|
-
var $jscomp$tmp$error$
|
|
7830
|
-
this.message = $jscomp$tmp$error$
|
|
7831
|
-
"stack" in $jscomp$tmp$error$
|
|
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);
|
|
7832
7836
|
this.url = url;
|
|
7833
7837
|
this.typeName = typeName;
|
|
7834
7838
|
this.contentType = contentType;
|
|
@@ -7840,48 +7844,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
7840
7844
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
7841
7845
|
}
|
|
7842
7846
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
7843
|
-
var response, $jscomp$optchain$
|
|
7844
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7845
|
-
if (1 == $jscomp$generator$context$
|
|
7846
|
-
return $jscomp$generator$context$
|
|
7847
|
-
}
|
|
7848
|
-
response = $jscomp$generator$context$
|
|
7849
|
-
mimeType = null == ($jscomp$optchain$
|
|
7850
|
-
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() {
|
|
7851
7855
|
var text;
|
|
7852
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7853
|
-
if (1 == $jscomp$generator$context$
|
|
7856
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$5) {
|
|
7857
|
+
if (1 == $jscomp$generator$context$1153895636$5.nextAddress) {
|
|
7854
7858
|
if ("text/html" !== mimeType) {
|
|
7855
7859
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
7856
7860
|
}
|
|
7857
|
-
return $jscomp$generator$context$
|
|
7861
|
+
return $jscomp$generator$context$1153895636$5.yield(response.text(), 2);
|
|
7858
7862
|
}
|
|
7859
|
-
text = $jscomp$generator$context$
|
|
7860
|
-
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));
|
|
7861
7865
|
});
|
|
7862
7866
|
}, script:function() {
|
|
7863
7867
|
var text;
|
|
7864
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7865
|
-
if (1 == $jscomp$generator$context$
|
|
7868
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$6) {
|
|
7869
|
+
if (1 == $jscomp$generator$context$1153895636$6.nextAddress) {
|
|
7866
7870
|
if ("text/javascript" !== mimeType && "application/javascript" !== mimeType) {
|
|
7867
7871
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
7868
7872
|
}
|
|
7869
|
-
return $jscomp$generator$context$
|
|
7873
|
+
return $jscomp$generator$context$1153895636$6.yield(response.text(), 2);
|
|
7870
7874
|
}
|
|
7871
|
-
text = $jscomp$generator$context$
|
|
7872
|
-
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));
|
|
7873
7877
|
});
|
|
7874
7878
|
}, styleSheet:function() {
|
|
7875
7879
|
var text;
|
|
7876
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7877
|
-
if (1 == $jscomp$generator$context$
|
|
7880
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$7) {
|
|
7881
|
+
if (1 == $jscomp$generator$context$1153895636$7.nextAddress) {
|
|
7878
7882
|
if ("text/css" !== mimeType) {
|
|
7879
7883
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
7880
7884
|
}
|
|
7881
|
-
return $jscomp$generator$context$
|
|
7885
|
+
return $jscomp$generator$context$1153895636$7.yield(response.text(), 2);
|
|
7882
7886
|
}
|
|
7883
|
-
text = $jscomp$generator$context$
|
|
7884
|
-
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));
|
|
7885
7889
|
});
|
|
7886
7890
|
}});
|
|
7887
7891
|
});
|
|
@@ -9173,8 +9177,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
9173
9177
|
}
|
|
9174
9178
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
9175
9179
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
9176
|
-
for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$28 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$
|
|
9177
|
-
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;
|
|
9178
9182
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
9179
9183
|
}
|
|
9180
9184
|
return urlQueryParams;
|
|
@@ -9185,8 +9189,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
9185
9189
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
9186
9190
|
if (params.headers) {
|
|
9187
9191
|
hasContentType = null != params.headers["Content-Type"];
|
|
9188
|
-
for (var $jscomp$iter$29 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$
|
|
9189
|
-
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;
|
|
9190
9194
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
9191
9195
|
}
|
|
9192
9196
|
}
|
|
@@ -9231,15 +9235,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
9231
9235
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
9232
9236
|
};
|
|
9233
9237
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
9234
|
-
var $jscomp$this$
|
|
9238
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
9235
9239
|
payload += this._metadataPayload;
|
|
9236
9240
|
return Promise.all(this.files.map(function(f) {
|
|
9237
|
-
return $jscomp$this$
|
|
9241
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
9238
9242
|
})).then(function(filePayloads) {
|
|
9239
|
-
for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$
|
|
9240
|
-
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;
|
|
9241
9245
|
}
|
|
9242
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
9246
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
9243
9247
|
});
|
|
9244
9248
|
};
|
|
9245
9249
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -9327,9 +9331,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
9327
9331
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
9328
9332
|
};
|
|
9329
9333
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
9330
|
-
var $jscomp$this$
|
|
9334
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
9331
9335
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
9332
|
-
return $jscomp$this$
|
|
9336
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
9333
9337
|
}));
|
|
9334
9338
|
};
|
|
9335
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"};
|
|
@@ -10475,15 +10479,20 @@ module$exports$eeapiclient$ee_api_client.DataAccessOptions = function(parameters
|
|
|
10475
10479
|
parameters = void 0 === parameters ? {} : parameters;
|
|
10476
10480
|
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
10477
10481
|
this.Serializable$set("logMode", null == parameters.logMode ? null : parameters.logMode);
|
|
10482
|
+
this.Serializable$set("isDirectAuth", null == parameters.isDirectAuth ? null : parameters.isDirectAuth);
|
|
10478
10483
|
};
|
|
10479
10484
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.DataAccessOptions, module$exports$eeapiclient$domain_object.Serializable);
|
|
10480
10485
|
module$exports$eeapiclient$ee_api_client.DataAccessOptions.prototype.getConstructor = function() {
|
|
10481
10486
|
return module$exports$eeapiclient$ee_api_client.DataAccessOptions;
|
|
10482
10487
|
};
|
|
10483
10488
|
module$exports$eeapiclient$ee_api_client.DataAccessOptions.prototype.getPartialClassMetadata = function() {
|
|
10484
|
-
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"]};
|
|
10485
10490
|
};
|
|
10486
|
-
$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() {
|
|
10487
10496
|
return this.Serializable$has("logMode") ? this.Serializable$get("logMode") : null;
|
|
10488
10497
|
}, set:function(value) {
|
|
10489
10498
|
this.Serializable$set("logMode", value);
|
|
@@ -15197,8 +15206,8 @@ goog.dom.BrowserFeature.OFFSCREEN_CANVAS_2D = !goog.dom.BrowserFeature.ASSUME_NO
|
|
|
15197
15206
|
goog.dom.BrowserFeature.CAN_ADD_NAME_OR_TYPE_ATTRIBUTES = !0;
|
|
15198
15207
|
goog.dom.BrowserFeature.CAN_USE_CHILDREN_ATTRIBUTE = !0;
|
|
15199
15208
|
goog.dom.BrowserFeature.CAN_USE_INNER_TEXT = !1;
|
|
15200
|
-
goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY = goog.userAgent.
|
|
15201
|
-
goog.dom.BrowserFeature.INNER_HTML_NEEDS_SCOPED_ELEMENT =
|
|
15209
|
+
goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY = goog.userAgent.WEBKIT;
|
|
15210
|
+
goog.dom.BrowserFeature.INNER_HTML_NEEDS_SCOPED_ELEMENT = !1;
|
|
15202
15211
|
goog.dom.asserts = {};
|
|
15203
15212
|
goog.dom.asserts.assertIsLocation = function(o) {
|
|
15204
15213
|
if (goog.asserts.ENABLE_ASSERTS) {
|
|
@@ -15272,7 +15281,7 @@ function module$contents$safevalues$builders$document_fragment_builders_htmlToNo
|
|
|
15272
15281
|
}
|
|
15273
15282
|
module$exports$safevalues$builders$document_fragment_builders.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
15274
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;
|
|
15275
|
-
module$
|
|
15284
|
+
function module$contents$safevalues$builders$style_sheet_builders_safeStyleRule(templateObj) {
|
|
15276
15285
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
15277
15286
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, rest.length);
|
|
15278
15287
|
for (var stringifiedRule = templateObj[0], i = 0; i < templateObj.length - 1; i++) {
|
|
@@ -15295,18 +15304,21 @@ module$exports$safevalues$builders$style_sheet_builders.safeStyleRule = function
|
|
|
15295
15304
|
throw Error("safeStyleRule can be used to construct a CSSStyleRule. @-rules should be constructed with the safeStyleSheet builder. Tried to parse: " + stringifiedRule);
|
|
15296
15305
|
}
|
|
15297
15306
|
}
|
|
15298
|
-
}
|
|
15299
|
-
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) {
|
|
15300
15310
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, 0);
|
|
15301
15311
|
var styleSheet = templateObj[0];
|
|
15302
15312
|
if (goog.DEBUG && /</.test(styleSheet)) {
|
|
15303
15313
|
throw Error("'<' character is forbidden in styleSheet string: " + styleSheet);
|
|
15304
15314
|
}
|
|
15305
15315
|
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
|
|
15306
|
-
}
|
|
15307
|
-
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) {
|
|
15308
15319
|
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(sheets.map(module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet).join(""));
|
|
15309
|
-
}
|
|
15320
|
+
}
|
|
15321
|
+
module$exports$safevalues$builders$style_sheet_builders.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
15310
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"};
|
|
15311
15323
|
function module$contents$safevalues$builders$html_builders_htmlEscape(value, options) {
|
|
15312
15324
|
options = void 0 === options ? {} : options;
|
|
@@ -15415,7 +15427,7 @@ module$exports$safevalues$builders$html_builders.styleSheetToHtml = function(sty
|
|
|
15415
15427
|
}
|
|
15416
15428
|
combinedAttributes.type = "text/css";
|
|
15417
15429
|
var stringifiedAttributes = module$contents$safevalues$builders$html_builders_stringifyAttributes("style", combinedAttributes);
|
|
15418
|
-
Array.isArray(styleSheet) && (styleSheet =
|
|
15430
|
+
Array.isArray(styleSheet) && (styleSheet = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets(styleSheet));
|
|
15419
15431
|
var styleContent = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(styleSheet);
|
|
15420
15432
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)("<style " + stringifiedAttributes + ">" + styleContent + "</style>");
|
|
15421
15433
|
};
|
|
@@ -15452,8 +15464,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15452
15464
|
this.replacements = new Map();
|
|
15453
15465
|
};
|
|
15454
15466
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15455
|
-
var $jscomp$this$
|
|
15456
|
-
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);
|
|
15457
15469
|
});
|
|
15458
15470
|
if (0 !== openedTags.length) {
|
|
15459
15471
|
if (goog.DEBUG) {
|
|
@@ -15633,8 +15645,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15633
15645
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
15634
15646
|
};
|
|
15635
15647
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15636
|
-
for (var $jscomp$this$
|
|
15637
|
-
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);
|
|
15638
15650
|
}, !1), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; null !== currentNode;) {
|
|
15639
15651
|
var sanitizedNode = void 0;
|
|
15640
15652
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15661,8 +15673,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15661
15673
|
return document.createTextNode(textNode.data);
|
|
15662
15674
|
};
|
|
15663
15675
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15664
|
-
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$
|
|
15665
|
-
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);
|
|
15666
15678
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15667
15679
|
switch(policy.policyAction) {
|
|
15668
15680
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15715,8 +15727,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15715
15727
|
if (!conditions) {
|
|
15716
15728
|
return !0;
|
|
15717
15729
|
}
|
|
15718
|
-
for (var $jscomp$iter$32 = $jscomp.makeIterator(conditions), $jscomp$key$
|
|
15719
|
-
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;
|
|
15720
15732
|
if (value && !expectedValues.has(value)) {
|
|
15721
15733
|
return !1;
|
|
15722
15734
|
}
|
|
@@ -15770,8 +15782,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15770
15782
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.defaultSanitizerTable;
|
|
15771
15783
|
};
|
|
15772
15784
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
15773
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$33 = $jscomp.makeIterator(elementSet), $jscomp$key$
|
|
15774
|
-
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;
|
|
15775
15787
|
element = element.toUpperCase();
|
|
15776
15788
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15777
15789
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15789,8 +15801,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15789
15801
|
throw Error("Element: " + element + " is not a custom element");
|
|
15790
15802
|
}
|
|
15791
15803
|
if (allowedAttributes) {
|
|
15792
|
-
for (var elementPolicy = new Map(), $jscomp$iter$34 = $jscomp.makeIterator(allowedAttributes), $jscomp$key$
|
|
15793
|
-
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});
|
|
15794
15806
|
}
|
|
15795
15807
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15796
15808
|
} else {
|
|
@@ -15800,15 +15812,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15800
15812
|
return this;
|
|
15801
15813
|
};
|
|
15802
15814
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
15803
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$35 = $jscomp.makeIterator(attributeSet), $jscomp$key$
|
|
15804
|
-
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;
|
|
15805
15817
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15806
15818
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15807
15819
|
}
|
|
15808
|
-
for (var $jscomp$iter$37 = $jscomp.makeIterator(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
15809
|
-
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$ =
|
|
15810
15822
|
$jscomp$iter$36.next()) {
|
|
15811
|
-
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;
|
|
15812
15824
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15813
15825
|
}
|
|
15814
15826
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -15817,8 +15829,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15817
15829
|
return this;
|
|
15818
15830
|
};
|
|
15819
15831
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
15820
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$38 = $jscomp.makeIterator(attributes), $jscomp$key$
|
|
15821
|
-
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;
|
|
15822
15834
|
if (0 !== attribute.indexOf("data-")) {
|
|
15823
15835
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
15824
15836
|
}
|
|
@@ -16069,12 +16081,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16069
16081
|
}
|
|
16070
16082
|
try {
|
|
16071
16083
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16072
|
-
} catch ($jscomp$unused$catch$
|
|
16084
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
16073
16085
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16074
16086
|
}
|
|
16075
16087
|
try {
|
|
16076
16088
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16077
|
-
} catch ($jscomp$unused$catch$
|
|
16089
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
16078
16090
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16079
16091
|
}
|
|
16080
16092
|
return !1;
|
|
@@ -16102,12 +16114,15 @@ module$exports$safevalues$index.htmlFragment = module$contents$safevalues$builde
|
|
|
16102
16114
|
module$exports$safevalues$index.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
16103
16115
|
module$exports$safevalues$index.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
16104
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;
|
|
16105
16118
|
module$exports$safevalues$index.doctypeHtml = module$exports$safevalues$builders$html_builders.doctypeHtml;
|
|
16106
16119
|
module$exports$safevalues$index.htmlEscape = module$exports$safevalues$builders$html_builders.htmlEscape;
|
|
16107
16120
|
module$exports$safevalues$index.joinHtmls = module$exports$safevalues$builders$html_builders.joinHtmls;
|
|
16108
16121
|
module$exports$safevalues$index.nodeToHtml = module$exports$safevalues$builders$html_builders.nodeToHtml;
|
|
16109
16122
|
module$exports$safevalues$index.scriptToHtml = module$exports$safevalues$builders$html_builders.scriptToHtml;
|
|
16110
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;
|
|
16111
16126
|
module$exports$safevalues$index.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
16112
16127
|
module$exports$safevalues$index.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
16113
16128
|
module$exports$safevalues$index.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
@@ -16125,46 +16140,43 @@ module$exports$safevalues$index.valueAsScript = module$contents$safevalues$build
|
|
|
16125
16140
|
module$exports$safevalues$index.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
16126
16141
|
module$exports$safevalues$index.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
16127
16142
|
module$exports$safevalues$index.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
16128
|
-
module$exports$safevalues$index.concatStyleSheets = module$
|
|
16129
|
-
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;
|
|
16130
16147
|
module$exports$safevalues$index.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
16131
16148
|
module$exports$safevalues$index.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
16132
16149
|
module$exports$safevalues$index.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
16133
16150
|
module$exports$safevalues$index.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
16134
16151
|
module$exports$safevalues$index.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
16135
16152
|
module$exports$safevalues$index.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
16136
|
-
module$exports$safevalues$index.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
16137
16153
|
module$exports$safevalues$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
16138
16154
|
module$exports$safevalues$index.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
16139
16155
|
module$exports$safevalues$index.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
16140
16156
|
module$exports$safevalues$index.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
16141
16157
|
module$exports$safevalues$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
16142
|
-
module$exports$safevalues$index.isHtml = module$exports$safevalues$internals$html_impl.isHtml;
|
|
16143
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;
|
|
16144
16160
|
module$exports$safevalues$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
16145
|
-
module$exports$safevalues$index.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
16146
16161
|
module$exports$safevalues$index.TrustedResourceUrl = goog.html.TrustedResourceUrl;
|
|
16162
|
+
module$exports$safevalues$index.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
16147
16163
|
module$exports$safevalues$index.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
16148
16164
|
module$exports$safevalues$index.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
16149
|
-
module$exports$safevalues$index.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
16150
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;
|
|
16151
16167
|
module$exports$safevalues$index.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
16152
|
-
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
16153
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;
|
|
16154
16170
|
module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
16155
|
-
module$exports$safevalues$index.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
16156
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;
|
|
16157
16173
|
module$exports$safevalues$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
16158
16174
|
module$exports$safevalues$index.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
16159
16175
|
module$exports$safevalues$index.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
16160
|
-
module$exports$safevalues$index.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
16161
16176
|
module$exports$safevalues$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
16177
|
+
module$exports$safevalues$index.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
16162
16178
|
module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
16163
16179
|
module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
16164
|
-
module$exports$safevalues$index.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
16165
|
-
module$exports$safevalues$index.createHtml = module$exports$safevalues$builders$html_builders.createHtml;
|
|
16166
|
-
module$exports$safevalues$index.styleSheetToHtml = module$exports$safevalues$builders$html_builders.styleSheetToHtml;
|
|
16167
|
-
module$exports$safevalues$index.safeStyleRule = module$exports$safevalues$builders$style_sheet_builders.safeStyleRule;
|
|
16168
16180
|
goog.dom.safe = {};
|
|
16169
16181
|
goog.dom.safe.InsertAdjacentHtmlPosition = {AFTERBEGIN:"afterbegin", AFTEREND:"afterend", BEFOREBEGIN:"beforebegin", BEFOREEND:"beforeend"};
|
|
16170
16182
|
goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
|
|
@@ -16591,7 +16603,7 @@ goog.dom.getDocumentScroll = function() {
|
|
|
16591
16603
|
};
|
|
16592
16604
|
goog.dom.getDocumentScroll_ = function(doc) {
|
|
16593
16605
|
var el = goog.dom.getDocumentScrollElement_(doc), win = goog.dom.getWindow_(doc);
|
|
16594
|
-
return
|
|
16606
|
+
return new goog.math.Coordinate(win.pageXOffset || el.scrollLeft, win.pageYOffset || el.scrollTop);
|
|
16595
16607
|
};
|
|
16596
16608
|
goog.dom.getDocumentScrollElement = function() {
|
|
16597
16609
|
return goog.dom.getDocumentScrollElement_(document);
|
|
@@ -16658,7 +16670,7 @@ goog.dom.safeHtmlToNode = function(html) {
|
|
|
16658
16670
|
};
|
|
16659
16671
|
goog.dom.safeHtmlToNode_ = function(doc, html) {
|
|
16660
16672
|
var tempDiv = goog.dom.createElement_(doc, goog.dom.TagName.DIV);
|
|
16661
|
-
goog.
|
|
16673
|
+
goog.dom.safe.setInnerHtml(tempDiv, html);
|
|
16662
16674
|
return goog.dom.childrenToNode_(doc, tempDiv);
|
|
16663
16675
|
};
|
|
16664
16676
|
goog.dom.childrenToNode_ = function(doc, tempDiv) {
|
|
@@ -16819,7 +16831,7 @@ goog.dom.isWindow = function(obj) {
|
|
|
16819
16831
|
};
|
|
16820
16832
|
goog.dom.getParentElement = function(element) {
|
|
16821
16833
|
var parent;
|
|
16822
|
-
if (goog.
|
|
16834
|
+
if (goog.userAgent.WEBKIT && (parent = element.parentElement)) {
|
|
16823
16835
|
return parent;
|
|
16824
16836
|
}
|
|
16825
16837
|
parent = element.parentNode;
|
|
@@ -16847,14 +16859,6 @@ goog.dom.compareNodeOrder = function(node1, node2) {
|
|
|
16847
16859
|
if (node1.compareDocumentPosition) {
|
|
16848
16860
|
return node1.compareDocumentPosition(node2) & 2 ? 1 : -1;
|
|
16849
16861
|
}
|
|
16850
|
-
if (goog.userAgent.IE && !goog.userAgent.isDocumentModeOrHigher(9)) {
|
|
16851
|
-
if (node1.nodeType == goog.dom.NodeType.DOCUMENT) {
|
|
16852
|
-
return -1;
|
|
16853
|
-
}
|
|
16854
|
-
if (node2.nodeType == goog.dom.NodeType.DOCUMENT) {
|
|
16855
|
-
return 1;
|
|
16856
|
-
}
|
|
16857
|
-
}
|
|
16858
16862
|
if ("sourceIndex" in node1 || node1.parentNode && "sourceIndex" in node1.parentNode) {
|
|
16859
16863
|
var isElement1 = node1.nodeType == goog.dom.NodeType.ELEMENT, isElement2 = node2.nodeType == goog.dom.NodeType.ELEMENT;
|
|
16860
16864
|
if (isElement1 && isElement2) {
|
|
@@ -17020,8 +17024,7 @@ goog.dom.setFocusableTabIndex = function(element, enable) {
|
|
|
17020
17024
|
enable ? element.tabIndex = 0 : (element.tabIndex = -1, element.removeAttribute("tabIndex"));
|
|
17021
17025
|
};
|
|
17022
17026
|
goog.dom.isFocusable = function(element) {
|
|
17023
|
-
|
|
17024
|
-
return (focusable = goog.dom.nativelySupportsFocus_(element) ? !element.disabled && (!goog.dom.hasSpecifiedTabIndex_(element) || goog.dom.isTabIndexFocusable_(element)) : goog.dom.isFocusableTabIndex(element)) && goog.userAgent.IE ? goog.dom.hasNonZeroBoundingRect_(element) : focusable;
|
|
17027
|
+
return goog.dom.nativelySupportsFocus_(element) ? !element.disabled && (!goog.dom.hasSpecifiedTabIndex_(element) || goog.dom.isTabIndexFocusable_(element)) : goog.dom.isFocusableTabIndex(element);
|
|
17025
17028
|
};
|
|
17026
17029
|
goog.dom.hasSpecifiedTabIndex_ = function(element) {
|
|
17027
17030
|
return element.hasAttribute("tabindex");
|
|
@@ -17034,7 +17037,7 @@ goog.dom.nativelySupportsFocus_ = function(element) {
|
|
|
17034
17037
|
return element.tagName == goog.dom.TagName.A && element.hasAttribute("href") || element.tagName == goog.dom.TagName.INPUT || element.tagName == goog.dom.TagName.TEXTAREA || element.tagName == goog.dom.TagName.SELECT || element.tagName == goog.dom.TagName.BUTTON;
|
|
17035
17038
|
};
|
|
17036
17039
|
goog.dom.hasNonZeroBoundingRect_ = function(element) {
|
|
17037
|
-
var rect = "function" !== typeof element.getBoundingClientRect
|
|
17040
|
+
var rect = "function" !== typeof element.getBoundingClientRect ? {height:element.offsetHeight, width:element.offsetWidth} : element.getBoundingClientRect();
|
|
17038
17041
|
return null != rect && 0 < rect.height && 0 < rect.width;
|
|
17039
17042
|
};
|
|
17040
17043
|
goog.dom.getTextContent = function(node) {
|
|
@@ -17367,9 +17370,9 @@ goog.debug.asyncStackTag = {};
|
|
|
17367
17370
|
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;
|
|
17368
17371
|
function module$contents$goog$debug$asyncStackTag_wrap(fn, name) {
|
|
17369
17372
|
function wrappedFn() {
|
|
17370
|
-
var args = $jscomp.getRestArguments.apply(0, arguments), $jscomp$this$1621498202$
|
|
17373
|
+
var args = $jscomp.getRestArguments.apply(0, arguments), $jscomp$this$1621498202$4 = this;
|
|
17371
17374
|
return consoleTask.run(function() {
|
|
17372
|
-
return fn.call.apply(fn, [$jscomp$this$1621498202$
|
|
17375
|
+
return fn.call.apply(fn, [$jscomp$this$1621498202$4].concat($jscomp.arrayFromIterable(args)));
|
|
17373
17376
|
});
|
|
17374
17377
|
}
|
|
17375
17378
|
name = void 0 === name ? "anonymous" : name;
|
|
@@ -18907,16 +18910,19 @@ safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_
|
|
|
18907
18910
|
safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
18908
18911
|
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
18909
18912
|
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
18913
|
+
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
18910
18914
|
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
18911
18915
|
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
18912
18916
|
safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
|
|
18913
18917
|
safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
|
|
18914
18918
|
safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
18915
18919
|
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
18916
|
-
safevalues.
|
|
18920
|
+
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
18921
|
+
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
18917
18922
|
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
18918
18923
|
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
18919
18924
|
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
18925
|
+
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
18920
18926
|
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
18921
18927
|
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
18922
18928
|
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
@@ -18931,52 +18937,49 @@ safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_v
|
|
|
18931
18937
|
safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
18932
18938
|
safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
18933
18939
|
safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
18934
|
-
safevalues.concatStyleSheets = module$
|
|
18935
|
-
safevalues.
|
|
18940
|
+
safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
18941
|
+
safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
18942
|
+
safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
18943
|
+
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
18936
18944
|
safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
18937
18945
|
safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
18938
18946
|
safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
18939
18947
|
safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
18940
18948
|
safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
18941
18949
|
safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
18942
|
-
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
18943
18950
|
safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
18944
|
-
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
18945
18951
|
safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
18952
|
+
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
18946
18953
|
safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
18947
18954
|
safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
18948
18955
|
safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
18949
|
-
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
18950
18956
|
safevalues.SafeHtml = module$exports$safevalues$index.SafeHtml;
|
|
18957
|
+
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
18951
18958
|
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
18952
|
-
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
18953
18959
|
safevalues.TrustedResourceUrl = goog.html.TrustedResourceUrl;
|
|
18960
|
+
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
18954
18961
|
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
18955
18962
|
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
18956
|
-
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
18957
18963
|
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
18964
|
+
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
18958
18965
|
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
18959
|
-
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
18960
18966
|
safevalues.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
|
|
18967
|
+
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
18961
18968
|
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
18962
|
-
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
18963
18969
|
safevalues.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
18970
|
+
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
18964
18971
|
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
18965
18972
|
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
18966
18973
|
safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
18967
|
-
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
18968
18974
|
safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
18975
|
+
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
18969
18976
|
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
18970
18977
|
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
18971
|
-
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
18972
|
-
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
18973
|
-
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
18974
|
-
safevalues.safeStyleRule = module$exports$safevalues$index.safeStyleRule;
|
|
18975
18978
|
var $jscomp$templatelit$294235699$99 = $jscomp.createTemplateTagFirstArg(["https://accounts.google.com/gsi/client"]);
|
|
18976
18979
|
ee.apiclient = {};
|
|
18977
18980
|
var module$contents$ee$apiclient_apiclient = {};
|
|
18978
18981
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
18979
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
18982
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.401";
|
|
18980
18983
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
18981
18984
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
18982
18985
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19266,8 +19269,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19266
19269
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19267
19270
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19268
19271
|
method = method || "POST";
|
|
19269
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19270
|
-
"0.1.
|
|
19272
|
+
var headers = {"Content-Type":contentType}, version = "0.1.401";
|
|
19273
|
+
"0.1.401" === version && (version = "latest");
|
|
19271
19274
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19272
19275
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19273
19276
|
if (null != authToken) {
|
|
@@ -26333,14 +26336,15 @@ goog.structs.PriorityPool.prototype.disposeInternal = function() {
|
|
|
26333
26336
|
this.requestQueue_.clear();
|
|
26334
26337
|
this.requestQueue_ = null;
|
|
26335
26338
|
};
|
|
26336
|
-
var module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource = function(mapId, opt_profiler) {
|
|
26339
|
+
var module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource = function(mapId, opt_profiler, opt_parallelism) {
|
|
26337
26340
|
module$exports$ee$layers$AbstractTileSource.call(this);
|
|
26338
26341
|
this.mapId_ = mapId;
|
|
26339
26342
|
this.profiler_ = opt_profiler || null;
|
|
26343
|
+
this.token_count_ = opt_parallelism || module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.DEFAULT_TOKEN_COUNT_;
|
|
26340
26344
|
};
|
|
26341
26345
|
$jscomp.inherits(module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource, module$exports$ee$layers$AbstractTileSource);
|
|
26342
26346
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.loadTile = function(tile, opt_priority) {
|
|
26343
|
-
var ProfilerHeader = module$contents$ee$apiclient_apiclient.PROFILE_HEADER.toLowerCase(), key = goog.events.listen(tile, ee.layers.AbstractTile.EventType.STATUS_CHANGED, function() {
|
|
26347
|
+
var $jscomp$this$1134479182$2 = this, ProfilerHeader = module$contents$ee$apiclient_apiclient.PROFILE_HEADER.toLowerCase(), key = goog.events.listen(tile, ee.layers.AbstractTile.EventType.STATUS_CHANGED, function() {
|
|
26344
26348
|
switch(tile.getStatus()) {
|
|
26345
26349
|
case ee.layers.AbstractTile.Status.LOADED:
|
|
26346
26350
|
var profileId = tile.sourceResponseHeaders[ProfilerHeader];
|
|
@@ -26352,14 +26356,15 @@ module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.
|
|
|
26352
26356
|
}
|
|
26353
26357
|
}, void 0, this);
|
|
26354
26358
|
tile.sourceUrl = this.getTileUrl_(tile.coord, tile.zoom);
|
|
26355
|
-
|
|
26356
|
-
|
|
26359
|
+
this.getGlobalTokenPool_().getObject(function(token) {
|
|
26360
|
+
$jscomp$this$1134479182$2.handleAvailableToken_(tile, token);
|
|
26361
|
+
}, opt_priority);
|
|
26357
26362
|
};
|
|
26358
26363
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.getUniqueId = function() {
|
|
26359
26364
|
return this.mapId_.mapid + "-" + this.mapId_.token;
|
|
26360
26365
|
};
|
|
26361
26366
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.handleAvailableToken_ = function(tile, token) {
|
|
26362
|
-
var tokenPool =
|
|
26367
|
+
var tokenPool = this.getGlobalTokenPool_();
|
|
26363
26368
|
if (tile.isDisposed() || tile.getStatus() == ee.layers.AbstractTile.Status.ABORTED) {
|
|
26364
26369
|
tokenPool.releaseObject(token);
|
|
26365
26370
|
} else {
|
|
@@ -26373,13 +26378,13 @@ module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.
|
|
|
26373
26378
|
var url = ee.data.getTileUrl(this.mapId_, coord.x, coord.y, zoom);
|
|
26374
26379
|
return this.profiler_ && this.profiler_.isEnabled() ? url + "&profiling=1" : url;
|
|
26375
26380
|
};
|
|
26376
|
-
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.getGlobalTokenPool_ = function() {
|
|
26377
|
-
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ || (module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ = new goog.structs.PriorityPool(0,
|
|
26381
|
+
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.prototype.getGlobalTokenPool_ = function() {
|
|
26382
|
+
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ || (module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ = new goog.structs.PriorityPool(0, this.token_count_));
|
|
26378
26383
|
return module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_;
|
|
26379
26384
|
};
|
|
26380
26385
|
goog.exportSymbol("ee.layers.EarthEngineTileSource", module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource);
|
|
26381
26386
|
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.TOKEN_POOL_ = null;
|
|
26382
|
-
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.
|
|
26387
|
+
module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource.DEFAULT_TOKEN_COUNT_ = 4;
|
|
26383
26388
|
ee.layers.EarthEngineTileSource = module$contents$ee$layers$EarthEngineTileSource_EarthEngineTileSource;
|
|
26384
26389
|
ee.layers.FeatureViewTileSource = {};
|
|
26385
26390
|
var module$contents$ee$layers$FeatureViewTileSource_FeatureViewTileSource = function(tilesKey) {
|