@google/earthengine 0.1.418 → 1.0.0
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 +162 -165
- package/build/ee_api_js.js +599 -600
- package/build/ee_api_js_debug.js +140 -142
- package/build/ee_api_js_npm.js +162 -165
- package/build/main.js +162 -165
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/eeapiclient/request_params.ts +16 -1
- package/src/eeapiclient/request_params_test.ts +16 -0
package/build/ee_api_js_debug.js
CHANGED
|
@@ -129,10 +129,11 @@ $jscomp.iteratorPrototype = function(next) {
|
|
|
129
129
|
return iterator;
|
|
130
130
|
};
|
|
131
131
|
$jscomp.createTemplateTagFirstArg = function(arrayStrings) {
|
|
132
|
-
return arrayStrings
|
|
132
|
+
return $jscomp.createTemplateTagFirstArgWithRaw(arrayStrings, arrayStrings);
|
|
133
133
|
};
|
|
134
134
|
$jscomp.createTemplateTagFirstArgWithRaw = function(arrayStrings, rawArrayStrings) {
|
|
135
135
|
arrayStrings.raw = rawArrayStrings;
|
|
136
|
+
Object.freeze && (Object.freeze(arrayStrings), Object.freeze(rawArrayStrings));
|
|
136
137
|
return arrayStrings;
|
|
137
138
|
};
|
|
138
139
|
$jscomp.makeIterator = function(iterable) {
|
|
@@ -1249,8 +1250,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1249
1250
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1250
1251
|
};
|
|
1251
1252
|
}, "es8", "es3");
|
|
1252
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1,
|
|
1253
|
-
|
|
1253
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_flush_queue_fix__disable:!1, GoogFlags__client_only_wiz_ordered_reaction_execution__disable:!1, GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable:!1, GoogFlags__jspb_enable_low_index_extension_writes__disable:!1, GoogFlags__jspb_ignore_implicit_extension_deps__enable:!1, GoogFlags__jspb_readonly_repeated_fields__disable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1,
|
|
1254
|
+
GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1, GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1254
1255
|
/*
|
|
1255
1256
|
|
|
1256
1257
|
Copyright The Closure Library Authors.
|
|
@@ -2924,9 +2925,6 @@ var module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_ = {}
|
|
|
2924
2925
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.toString = function() {
|
|
2925
2926
|
return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ + "";
|
|
2926
2927
|
};
|
|
2927
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.cloneWithParams = function(searchParams, opt_hashParams) {
|
|
2928
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams(this, searchParams, opt_hashParams);
|
|
2929
|
-
};
|
|
2930
2928
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams = function(url, searchParams, opt_hashParams) {
|
|
2931
2929
|
var urlString = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrap(url), parts = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.URL_PARAM_PARSER_.exec(urlString), urlHash = parts[3] || "";
|
|
2932
2930
|
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(parts[1] + module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_("?", parts[2] || "", searchParams) + module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.stringifyParams_("#", urlHash, opt_hashParams));
|
|
@@ -2959,7 +2957,8 @@ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.FORMAT_MARKER_ =
|
|
|
2959
2957
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.BASE_URL_ = RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)", "i");
|
|
2960
2958
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.URL_PARAM_PARSER_ = /^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/;
|
|
2961
2959
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.formatWithParams = function(format, args, searchParams, opt_hashParams) {
|
|
2962
|
-
|
|
2960
|
+
var url = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.format(format, args);
|
|
2961
|
+
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams(url, searchParams, opt_hashParams);
|
|
2963
2962
|
};
|
|
2964
2963
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstant = function(url) {
|
|
2965
2964
|
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(url));
|
|
@@ -6214,18 +6213,18 @@ function module$contents$eeapiclient$request_params_buildQueryParams(params, map
|
|
|
6214
6213
|
return urlQueryParams;
|
|
6215
6214
|
}
|
|
6216
6215
|
module$exports$eeapiclient$request_params.buildQueryParams = module$contents$eeapiclient$request_params_buildQueryParams;
|
|
6217
|
-
var module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders = ["accept", "accept-language", "content-language"], module$contents$eeapiclient$request_params_simpleCorsAllowedMethods = ["GET", "HEAD", "POST"];
|
|
6216
|
+
var module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders = ["accept", "accept-language", "content-language"], module$contents$eeapiclient$request_params_simpleCorsAllowedMethods = ["GET", "HEAD", "POST"], module$contents$eeapiclient$request_params_simpleCorsAllowedContentTypes = ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"];
|
|
6218
6217
|
module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params) {
|
|
6219
|
-
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
6218
|
+
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6220
6219
|
if (params.headers) {
|
|
6221
6220
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6222
6221
|
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$1047461284$1$ = $jscomp$iter$30.next(); !$jscomp$key$1047461284$1$.done; $jscomp$key$1047461284$1$ = $jscomp$iter$30.next()) {
|
|
6223
6222
|
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$1047461284$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var5.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var5.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
6224
|
-
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6223
|
+
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : key === "Content-Type" && module$contents$eeapiclient$request_params_simpleCorsAllowedContentTypes.includes(value) ? (safeHeaders[key] = value, hasSafeContentType = !0) : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
6225
6224
|
}
|
|
6226
6225
|
}
|
|
6227
6226
|
if (params.body != null || params.httpMethod === "PUT" || params.httpMethod === "POST") {
|
|
6228
|
-
hasContentType || (unsafeHeaders["Content-Type"] = "application/json", hasUnsafeHeaders = !0), safeHeaders["Content-Type"] = "text/plain";
|
|
6227
|
+
hasContentType || (unsafeHeaders["Content-Type"] = "application/json", hasUnsafeHeaders = !0), hasSafeContentType || (safeHeaders["Content-Type"] = "text/plain");
|
|
6229
6228
|
}
|
|
6230
6229
|
if (hasUnsafeHeaders) {
|
|
6231
6230
|
var finalParam = (0,module$exports$goog$net$rpc$HttpCors.generateEncodedHttpHeadersOverwriteParam)(unsafeHeaders);
|
|
@@ -6402,7 +6401,7 @@ goog.debug.entryPointRegistry.unmonitorAllIfPossible = function(monitor) {
|
|
|
6402
6401
|
var module$contents$goog$events$BrowserFeature_purify = function(fn) {
|
|
6403
6402
|
return {valueOf:fn}.valueOf();
|
|
6404
6403
|
};
|
|
6405
|
-
goog.events.BrowserFeature = {TOUCH_ENABLED
|
|
6404
|
+
goog.events.BrowserFeature = {TOUCH_ENABLED:!!(goog.global.navigator && goog.global.navigator.maxTouchPoints || goog.FEATURESET_YEAR < 2018 && ("ontouchstart" in goog.global || goog.global.document && document.documentElement && "ontouchstart" in document.documentElement || goog.global.navigator && goog.global.navigator.msMaxTouchPoints)), POINTER_EVENTS:goog.FEATURESET_YEAR >= 2019 || "PointerEvent" in goog.global, PASSIVE_EVENTS:goog.FEATURESET_YEAR > 2018 || module$contents$goog$events$BrowserFeature_purify(function() {
|
|
6406
6405
|
if (!goog.global.addEventListener || !Object.defineProperty) {
|
|
6407
6406
|
return !1;
|
|
6408
6407
|
}
|
|
@@ -6428,7 +6427,6 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_
|
|
|
6428
6427
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
6429
6428
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
6430
6429
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable = !1;
|
|
6431
|
-
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_direct_reactions__disable = !1;
|
|
6432
6430
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable = !1;
|
|
6433
6431
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable = !1;
|
|
6434
6432
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable = !1;
|
|
@@ -6445,13 +6443,10 @@ var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1,
|
|
|
6445
6443
|
goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable : goog.readFlagInternalDoNotUseOrElse(610401301, !1);
|
|
6446
6444
|
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
|
|
6447
6445
|
goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable : goog.readFlagInternalDoNotUseOrElse(188588736, !0);
|
|
6448
|
-
goog.flags.
|
|
6449
|
-
goog.flags.
|
|
6450
|
-
goog.flags.
|
|
6451
|
-
module$
|
|
6452
|
-
goog.flags.CLIENT_ONLY_WIZ_SYNC_REACTION_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable : goog.readFlagInternalDoNotUseOrElse(661449076, !1);
|
|
6453
|
-
goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable) : goog.readFlagInternalDoNotUseOrElse(645172343,
|
|
6454
|
-
module$contents$goog$flags_STAGING);
|
|
6446
|
+
goog.flags.CLIENT_ONLY_WIZ_FLUSH_QUEUE_FIX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_flush_queue_fix__disable : goog.readFlagInternalDoNotUseOrElse(644029907, !0);
|
|
6447
|
+
goog.flags.CLIENT_ONLY_WIZ_ORDERED_REACTION_EXECUTION = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ordered_reaction_execution__disable : goog.readFlagInternalDoNotUseOrElse(1822726157, !0);
|
|
6448
|
+
goog.flags.CLIENT_ONLY_WIZ_SYNC_REACTION_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sync_reaction_within_reaction_throws_error__enable : goog.readFlagInternalDoNotUseOrElse(661449076, goog.DEBUG);
|
|
6449
|
+
goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_enable_low_index_extension_writes__disable : goog.readFlagInternalDoNotUseOrElse(645172343, !0);
|
|
6455
6450
|
goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable : goog.readFlagInternalDoNotUseOrElse(651175828, goog.DEBUG);
|
|
6456
6451
|
goog.flags.JSPB_READONLY_REPEATED_FIELDS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable) : goog.readFlagInternalDoNotUseOrElse(653718497, module$contents$goog$flags_STAGING);
|
|
6457
6452
|
goog.flags.JSPB_IGNORE_IMPLICIT_EXTENSION_DEPS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__enable : goog.readFlagInternalDoNotUseOrElse(660014094, goog.DEBUG);
|
|
@@ -15372,6 +15367,9 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
|
|
|
15372
15367
|
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
15373
15368
|
}
|
|
15374
15369
|
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
15370
|
+
if (typeof value === "string") {
|
|
15371
|
+
return value;
|
|
15372
|
+
}
|
|
15375
15373
|
if (!goog.isObject(value)) {
|
|
15376
15374
|
throw Error(module$exports$safevalues$internals$html_impl.SafeHtml.ENABLE_ERROR_MESSAGES ? 'The "style" attribute requires goog.html.SafeStyle or map of style properties, ' + typeof value + " given: " + value : "");
|
|
15377
15375
|
}
|
|
@@ -16788,9 +16786,11 @@ function module$contents$safevalues$builders$resource_url_builders_isValidPathSt
|
|
|
16788
16786
|
function module$contents$safevalues$builders$resource_url_builders_isValidRelativePathStart(base) {
|
|
16789
16787
|
return RegExp("^[^:\\s\\\\/]+/").test(base);
|
|
16790
16788
|
}
|
|
16789
|
+
function module$contents$safevalues$builders$resource_url_builders_UrlSegments() {
|
|
16790
|
+
}
|
|
16791
16791
|
function module$contents$safevalues$builders$resource_url_builders_getUrlSegments(url) {
|
|
16792
|
-
var
|
|
16793
|
-
return {
|
|
16792
|
+
var parts = url.split(/[?#]/), params = /[?]/.test(url) ? "?" + parts[1] : "";
|
|
16793
|
+
return {urlPath:parts[0], params:params, fragment:/[#]/.test(url) ? "#" + (params ? parts[2] : parts[1]) : ""};
|
|
16794
16794
|
}
|
|
16795
16795
|
function module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl(templateObj) {
|
|
16796
16796
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
@@ -16813,26 +16813,45 @@ function module$contents$safevalues$builders$resource_url_builders_trustedResour
|
|
|
16813
16813
|
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url);
|
|
16814
16814
|
}
|
|
16815
16815
|
module$exports$safevalues$builders$resource_url_builders.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
16816
|
+
var module$contents$safevalues$builders$resource_url_builders_IterableEntries, module$contents$safevalues$builders$resource_url_builders_SearchParams;
|
|
16817
|
+
function module$contents$safevalues$builders$resource_url_builders_replaceParams(trustedUrl, params) {
|
|
16818
|
+
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString());
|
|
16819
|
+
return module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(urlSegments.urlPath, "", urlSegments.fragment, params);
|
|
16820
|
+
}
|
|
16821
|
+
module$exports$safevalues$builders$resource_url_builders.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
16816
16822
|
function module$contents$safevalues$builders$resource_url_builders_appendParams(trustedUrl, params) {
|
|
16817
|
-
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString())
|
|
16818
|
-
params.
|
|
16819
|
-
for (var values = value instanceof Array ? value : [value], i = 0; i < values.length; i++) {
|
|
16820
|
-
var v = values[i];
|
|
16821
|
-
v !== null && v !== void 0 && (urlParams += separator + encodeURIComponent(key) + "=" + encodeURIComponent(String(v)), separator = "&");
|
|
16822
|
-
}
|
|
16823
|
-
});
|
|
16824
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(urlSegments.path + urlParams + urlSegments.hash);
|
|
16823
|
+
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString());
|
|
16824
|
+
return module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(urlSegments.urlPath, urlSegments.params, urlSegments.fragment, params);
|
|
16825
16825
|
}
|
|
16826
16826
|
module$exports$safevalues$builders$resource_url_builders.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
16827
|
+
function module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(path, params, hash, newParams) {
|
|
16828
|
+
function addParam(value, key) {
|
|
16829
|
+
value != null && (module$contents$safevalues$builders$resource_url_builders_isArray(value) ? value.forEach(function(v) {
|
|
16830
|
+
return addParam(v, key);
|
|
16831
|
+
}) : (params += separator + encodeURIComponent(key) + "=" + encodeURIComponent(value), separator = "&"));
|
|
16832
|
+
}
|
|
16833
|
+
var separator = params.length ? "&" : "?";
|
|
16834
|
+
module$contents$safevalues$builders$resource_url_builders_isPlainObject(newParams) && (newParams = Object.entries(newParams));
|
|
16835
|
+
module$contents$safevalues$builders$resource_url_builders_isArray(newParams) ? newParams.forEach(function(pair) {
|
|
16836
|
+
return addParam(pair[1], pair[0]);
|
|
16837
|
+
}) : newParams.forEach(addParam);
|
|
16838
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(path + params + hash);
|
|
16839
|
+
}
|
|
16840
|
+
function module$contents$safevalues$builders$resource_url_builders_isArray(x) {
|
|
16841
|
+
return Array.isArray(x);
|
|
16842
|
+
}
|
|
16843
|
+
function module$contents$safevalues$builders$resource_url_builders_isPlainObject(x) {
|
|
16844
|
+
return x.constructor === Object;
|
|
16845
|
+
}
|
|
16827
16846
|
var module$contents$safevalues$builders$resource_url_builders_BEFORE_FRAGMENT_REGEXP = /[^#]*/;
|
|
16828
16847
|
function module$contents$safevalues$builders$resource_url_builders_replaceFragment(trustedUrl, fragment) {
|
|
16829
16848
|
var urlString = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString();
|
|
16830
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(module$contents$safevalues$builders$resource_url_builders_BEFORE_FRAGMENT_REGEXP.exec(urlString)[0] + "#" + fragment);
|
|
16849
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(module$contents$safevalues$builders$resource_url_builders_BEFORE_FRAGMENT_REGEXP.exec(urlString)[0] + (fragment.trim() ? "#" + fragment : ""));
|
|
16831
16850
|
}
|
|
16832
16851
|
module$exports$safevalues$builders$resource_url_builders.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
16833
16852
|
function module$contents$safevalues$builders$resource_url_builders_appendPathSegment(trustedUrl, pathSegment) {
|
|
16834
|
-
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString()), separator = urlSegments.
|
|
16835
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(newPath + urlSegments.params + urlSegments.
|
|
16853
|
+
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString()), separator = urlSegments.urlPath.slice(-1) === "/" ? "" : "/", newPath = urlSegments.urlPath + separator + encodeURIComponent(pathSegment);
|
|
16854
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(newPath + urlSegments.params + urlSegments.fragment);
|
|
16836
16855
|
}
|
|
16837
16856
|
module$exports$safevalues$builders$resource_url_builders.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
16838
16857
|
function module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript(safeScript) {
|
|
@@ -17010,6 +17029,7 @@ module$exports$safevalues$index.appendParams = module$contents$safevalues$builde
|
|
|
17010
17029
|
module$exports$safevalues$index.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
17011
17030
|
module$exports$safevalues$index.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
17012
17031
|
module$exports$safevalues$index.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
17032
|
+
module$exports$safevalues$index.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
17013
17033
|
module$exports$safevalues$index.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
17014
17034
|
module$exports$safevalues$index.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
17015
17035
|
module$exports$safevalues$index.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
@@ -17057,38 +17077,15 @@ module$exports$safevalues$index.isUrl = module$contents$safevalues$internals$url
|
|
|
17057
17077
|
module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
17058
17078
|
module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
17059
17079
|
goog.dom.safe = {};
|
|
17060
|
-
goog.dom.safe.InsertAdjacentHtmlPosition = {AFTERBEGIN:"afterbegin", AFTEREND:"afterend", BEFOREBEGIN:"beforebegin", BEFOREEND:"beforeend"};
|
|
17061
17080
|
goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
|
|
17062
17081
|
node.insertAdjacentHTML(position, module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html));
|
|
17063
17082
|
};
|
|
17064
|
-
goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0
|
|
17065
|
-
goog.dom.safe.isInnerHtmlCleanupRecursive_ = goog.functions.cacheReturnValue(function() {
|
|
17066
|
-
if (goog.DEBUG && typeof document === "undefined") {
|
|
17067
|
-
return !1;
|
|
17068
|
-
}
|
|
17069
|
-
var div = document.createElement("div"), childDiv = document.createElement("div");
|
|
17070
|
-
childDiv.appendChild(document.createElement("div"));
|
|
17071
|
-
div.appendChild(childDiv);
|
|
17072
|
-
if (goog.DEBUG && !div.firstChild) {
|
|
17073
|
-
return !1;
|
|
17074
|
-
}
|
|
17075
|
-
var innerChild = div.firstChild.firstChild;
|
|
17076
|
-
div.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(module$exports$safevalues$internals$html_impl.SafeHtml.EMPTY);
|
|
17077
|
-
return !innerChild.parentElement;
|
|
17078
|
-
});
|
|
17079
|
-
goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse = function(elem, html) {
|
|
17080
|
-
if (goog.dom.safe.isInnerHtmlCleanupRecursive_()) {
|
|
17081
|
-
for (; elem.lastChild;) {
|
|
17082
|
-
elem.removeChild(elem.lastChild);
|
|
17083
|
-
}
|
|
17084
|
-
}
|
|
17085
|
-
elem.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html);
|
|
17086
|
-
};
|
|
17083
|
+
goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0};
|
|
17087
17084
|
goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
17088
17085
|
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && elem.tagName && goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[elem.tagName.toUpperCase()]) {
|
|
17089
17086
|
throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of " + elem.tagName + ".");
|
|
17090
17087
|
}
|
|
17091
|
-
|
|
17088
|
+
elem.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html);
|
|
17092
17089
|
};
|
|
17093
17090
|
goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
|
|
17094
17091
|
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), {justification:"Constant HTML to be immediatelly used."}));
|
|
@@ -19045,6 +19042,83 @@ goog.async.Deferred.assertNoErrors = function() {
|
|
|
19045
19042
|
error.throwError();
|
|
19046
19043
|
}
|
|
19047
19044
|
};
|
|
19045
|
+
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
19046
|
+
safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
19047
|
+
safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
19048
|
+
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
19049
|
+
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
19050
|
+
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
19051
|
+
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
19052
|
+
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
19053
|
+
safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
|
|
19054
|
+
safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
|
|
19055
|
+
safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
19056
|
+
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
19057
|
+
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
19058
|
+
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
19059
|
+
safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
|
|
19060
|
+
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
19061
|
+
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
19062
|
+
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
19063
|
+
safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
19064
|
+
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
19065
|
+
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
19066
|
+
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
19067
|
+
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
19068
|
+
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
19069
|
+
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
19070
|
+
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
19071
|
+
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
19072
|
+
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
19073
|
+
safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
19074
|
+
safevalues.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
19075
|
+
safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
19076
|
+
safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
19077
|
+
safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
19078
|
+
safevalues.safeScript = module$contents$safevalues$builders$script_builders_safeScript;
|
|
19079
|
+
safevalues.safeScriptWithArgs = module$contents$safevalues$builders$script_builders_safeScriptWithArgs;
|
|
19080
|
+
safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_valueAsScript;
|
|
19081
|
+
safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
19082
|
+
safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
19083
|
+
safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
19084
|
+
safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
19085
|
+
safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
19086
|
+
safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
19087
|
+
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
19088
|
+
safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
19089
|
+
safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
19090
|
+
safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
19091
|
+
safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
19092
|
+
safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
19093
|
+
safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
19094
|
+
safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
19095
|
+
safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
19096
|
+
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
19097
|
+
safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
19098
|
+
safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
19099
|
+
safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
19100
|
+
safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
19101
|
+
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19102
|
+
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
19103
|
+
safevalues.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
19104
|
+
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19105
|
+
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
19106
|
+
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
19107
|
+
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
19108
|
+
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
19109
|
+
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
19110
|
+
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
19111
|
+
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19112
|
+
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19113
|
+
safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
19114
|
+
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19115
|
+
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
19116
|
+
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
19117
|
+
safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
19118
|
+
safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
19119
|
+
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
19120
|
+
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
19121
|
+
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
19048
19122
|
goog.net = {};
|
|
19049
19123
|
goog.net.jsloader = {};
|
|
19050
19124
|
goog.net.jsloader.Options = {};
|
|
@@ -19070,7 +19144,7 @@ goog.net.jsloader.safeLoadMany = function(trustedUris, opt_options) {
|
|
|
19070
19144
|
return goog.net.jsloader.scriptLoadingDeferred_;
|
|
19071
19145
|
};
|
|
19072
19146
|
goog.net.jsloader.safeLoad = function(trustedUri, opt_options) {
|
|
19073
|
-
var options = opt_options || {}, doc = options.document || document, uri = module$contents$
|
|
19147
|
+
var options = opt_options || {}, doc = options.document || document, uri = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUri).toString(), script = (new goog.dom.DomHelper(doc)).createElement(goog.dom.TagName.SCRIPT), request = {script_:script, timeout_:void 0}, deferred = new goog.async.Deferred(goog.net.jsloader.cancel_, request), timeout = null, timeoutDuration = options.timeout != null ? options.timeout : goog.net.jsloader.DEFAULT_TIMEOUT;
|
|
19074
19148
|
timeoutDuration > 0 && (timeout = window.setTimeout(function() {
|
|
19075
19149
|
goog.net.jsloader.cleanup_(script, !0);
|
|
19076
19150
|
deferred.errback(new goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.TIMEOUT, "Timeout reached for loading script " + uri));
|
|
@@ -19085,13 +19159,13 @@ goog.net.jsloader.safeLoad = function(trustedUri, opt_options) {
|
|
|
19085
19159
|
var properties = options.attributes || {};
|
|
19086
19160
|
module$contents$goog$object_extend(properties, {type:"text/javascript", charset:"UTF-8"});
|
|
19087
19161
|
goog.dom.setProperties(script, properties);
|
|
19088
|
-
|
|
19162
|
+
module$exports$safevalues$dom$elements$script.setSrc(script, trustedUri);
|
|
19089
19163
|
goog.net.jsloader.getScriptParentElement_(doc).appendChild(script);
|
|
19090
19164
|
return deferred;
|
|
19091
19165
|
};
|
|
19092
19166
|
goog.net.jsloader.safeLoadAndVerify = function(trustedUri, verificationObjName, options) {
|
|
19093
19167
|
goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_] || (goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_] = {});
|
|
19094
|
-
var verifyObjs = goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_], uri = module$contents$
|
|
19168
|
+
var verifyObjs = goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_], uri = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUri).toString();
|
|
19095
19169
|
if (verifyObjs[verificationObjName] !== void 0) {
|
|
19096
19170
|
return goog.async.Deferred.fail(new goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.VERIFY_OBJECT_ALREADY_EXISTS, "Verification object " + verificationObjName + " already defined."));
|
|
19097
19171
|
}
|
|
@@ -19751,87 +19825,11 @@ goog.net.XhrIo.prototype.formatMsg_ = function(msg) {
|
|
|
19751
19825
|
goog.debug.entryPointRegistry.register(function(transformer) {
|
|
19752
19826
|
goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_ = transformer(goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_);
|
|
19753
19827
|
});
|
|
19754
|
-
safevalues.safeAttrPrefix = module$contents$safevalues$builders$attribute_builders_safeAttrPrefix;
|
|
19755
|
-
safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_builders_htmlFragment;
|
|
19756
|
-
safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
19757
|
-
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
19758
|
-
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
19759
|
-
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
19760
|
-
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
19761
|
-
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
19762
|
-
safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
|
|
19763
|
-
safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
|
|
19764
|
-
safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
19765
|
-
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
19766
|
-
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
19767
|
-
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
19768
|
-
safevalues.sanitizeHtmlWithCss = module$contents$safevalues$builders$html_sanitizer$default_css_sanitizer_sanitizeHtmlWithCss;
|
|
19769
|
-
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
19770
|
-
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
19771
|
-
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
19772
|
-
safevalues.CssSanitizer = module$exports$safevalues$index.CssSanitizer;
|
|
19773
|
-
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
19774
|
-
safevalues.CssSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder;
|
|
19775
|
-
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
19776
|
-
safevalues.ResourceUrlPolicyHintsType = module$exports$safevalues$builders$html_sanitizer$resource_url_policy.ResourceUrlPolicyHintsType;
|
|
19777
|
-
safevalues.ResourceUrlPolicy = module$exports$safevalues$index.ResourceUrlPolicy;
|
|
19778
|
-
safevalues.ResourceUrlPolicyHints = module$exports$safevalues$index.ResourceUrlPolicyHints;
|
|
19779
|
-
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
19780
|
-
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
19781
|
-
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
19782
|
-
safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
19783
|
-
safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
19784
|
-
safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
19785
|
-
safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
19786
|
-
safevalues.safeScript = module$contents$safevalues$builders$script_builders_safeScript;
|
|
19787
|
-
safevalues.safeScriptWithArgs = module$contents$safevalues$builders$script_builders_safeScriptWithArgs;
|
|
19788
|
-
safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_valueAsScript;
|
|
19789
|
-
safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
19790
|
-
safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
19791
|
-
safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
19792
|
-
safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
19793
|
-
safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
19794
|
-
safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
19795
|
-
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
19796
|
-
safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
19797
|
-
safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
19798
|
-
safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
19799
|
-
safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
19800
|
-
safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
19801
|
-
safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
19802
|
-
safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
19803
|
-
safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
19804
|
-
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
19805
|
-
safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
19806
|
-
safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
19807
|
-
safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
19808
|
-
safevalues.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
19809
|
-
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19810
|
-
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
19811
|
-
safevalues.TrustedResourceUrl = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl;
|
|
19812
|
-
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19813
|
-
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
19814
|
-
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
19815
|
-
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
19816
|
-
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
19817
|
-
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
19818
|
-
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
19819
|
-
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19820
|
-
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19821
|
-
safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
19822
|
-
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19823
|
-
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
19824
|
-
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
19825
|
-
safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
19826
|
-
safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
19827
|
-
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
19828
|
-
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
19829
|
-
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
19830
19828
|
var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["https://accounts.google.com/gsi/client"]);
|
|
19831
19829
|
ee.apiclient = {};
|
|
19832
19830
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19833
19831
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19834
|
-
ee.apiclient.API_CLIENT_VERSION = "0.
|
|
19832
|
+
ee.apiclient.API_CLIENT_VERSION = "1.0.0";
|
|
19835
19833
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19836
19834
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19837
19835
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -20129,8 +20127,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
20129
20127
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
20130
20128
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
20131
20129
|
method = method || "POST";
|
|
20132
|
-
var headers = {"Content-Type":contentType}, version = "0.
|
|
20133
|
-
version === "0.
|
|
20130
|
+
var headers = {"Content-Type":contentType}, version = "1.0.0";
|
|
20131
|
+
version === "1.0.0" && (version = "latest");
|
|
20134
20132
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
20135
20133
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
20136
20134
|
if (authToken != null) {
|
|
@@ -26191,7 +26189,7 @@ goog.style.installSafeStyleSheet = function(safeStyleSheet, opt_node) {
|
|
|
26191
26189
|
head = dh.createDom(goog.dom.TagName.HEAD);
|
|
26192
26190
|
body.parentNode.insertBefore(head, body);
|
|
26193
26191
|
}
|
|
26194
|
-
var el = dh.createDom(goog.dom.TagName.STYLE), nonce =
|
|
26192
|
+
var el = dh.createDom(goog.dom.TagName.STYLE), nonce = module$exports$safevalues$dom$globals$window.getStyleNonce(window);
|
|
26195
26193
|
nonce && el.setAttribute("nonce", nonce);
|
|
26196
26194
|
goog.style.setSafeStyleSheet(el, safeStyleSheet);
|
|
26197
26195
|
dh.appendChild(head, el);
|
|
@@ -26201,7 +26199,7 @@ goog.style.uninstallStyles = function(styleSheet) {
|
|
|
26201
26199
|
goog.dom.removeNode(styleSheet.ownerNode || styleSheet.owningElement || styleSheet);
|
|
26202
26200
|
};
|
|
26203
26201
|
goog.style.setSafeStyleSheet = function(element, safeStyleSheet) {
|
|
26204
|
-
var stylesString = module$
|
|
26202
|
+
var stylesString = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
|
|
26205
26203
|
goog.global.trustedTypes ? goog.dom.setTextContent(element, stylesString) : element.innerHTML = stylesString;
|
|
26206
26204
|
};
|
|
26207
26205
|
goog.style.setPreWrap = function(el) {
|