UNPKG

react-bsdd-search

Version:
1,213 lines (1,209 loc) 712 kB
var Lu = Object.defineProperty; var Uu = (r, e, t) => e in r ? Lu(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t; var ot = (r, e, t) => (Uu(r, typeof e != "symbol" ? e + "" : e, t), t); import * as N from "react"; import ft, { useRef as ae, useState as Z, useCallback as X, useContext as _e, useMemo as Te, useEffect as ge, useLayoutEffect as Cs, createContext as dn, cloneElement as vi, useReducer as Hu, forwardRef as yi, createElement as Yr, Fragment as Dn, Component as Bu, Children as Fn } from "react"; import tr, { createPortal as Ku } from "react-dom"; var T = {}, qu = { get exports() { return T; }, set exports(r) { T = r; } }, uo = {}; /** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var Vu = ft, Gu = Symbol.for("react.element"), ju = Symbol.for("react.fragment"), zu = Object.prototype.hasOwnProperty, $u = Vu.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, Yu = { key: !0, ref: !0, __self: !0, __source: !0 }; function Es(r, e, t) { var n, o = {}, i = null, a = null; t !== void 0 && (i = "" + t), e.key !== void 0 && (i = "" + e.key), e.ref !== void 0 && (a = e.ref); for (n in e) zu.call(e, n) && !Yu.hasOwnProperty(n) && (o[n] = e[n]); if (r && r.defaultProps) for (n in e = r.defaultProps, e) o[n] === void 0 && (o[n] = e[n]); return { $$typeof: Gu, type: r, key: i, ref: a, props: o, _owner: $u.current }; } uo.Fragment = ju; uo.jsx = Es; uo.jsxs = Es; (function(r) { r.exports = uo; })(qu); var qo = {}, ia = tr; qo.createRoot = ia.createRoot, qo.hydrateRoot = ia.hydrateRoot; /*! @azure/msal-browser v2.35.0 2023-04-03 */ /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ var Vo = function(r, e) { return Vo = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, n) { t.__proto__ = n; } || function(t, n) { for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]); }, Vo(r, e); }; function Ve(r, e) { Vo(r, e); function t() { this.constructor = r; } r.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t()); } var L = function() { return L = Object.assign || function(e) { for (var t, n = 1, o = arguments.length; n < o; n++) { t = arguments[n]; for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); } return e; }, L.apply(this, arguments); }; function aa(r, e) { var t = {}; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && e.indexOf(n) < 0 && (t[n] = r[n]); if (r != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, n = Object.getOwnPropertySymbols(r); o < n.length; o++) e.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(r, n[o]) && (t[n[o]] = r[n[o]]); return t; } function I(r, e, t, n) { function o(i) { return i instanceof t ? i : new t(function(a) { a(i); }); } return new (t || (t = Promise))(function(i, a) { function s(l) { try { u(n.next(l)); } catch (d) { a(d); } } function c(l) { try { u(n.throw(l)); } catch (d) { a(d); } } function u(l) { l.done ? i(l.value) : o(l.value).then(s, c); } u((n = n.apply(r, e || [])).next()); }); } function _(r, e) { var t = { label: 0, sent: function() { if (i[0] & 1) throw i[1]; return i[1]; }, trys: [], ops: [] }, n, o, i, a; return a = { next: s(0), throw: s(1), return: s(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() { return this; }), a; function s(u) { return function(l) { return c([u, l]); }; } function c(u) { if (n) throw new TypeError("Generator is already executing."); for (; t; ) try { if (n = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) return i; switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { case 0: case 1: i = u; break; case 4: return t.label++, { value: u[1], done: !1 }; case 5: t.label++, o = u[1], u = [0]; continue; case 7: u = t.ops.pop(), t.trys.pop(); continue; default: if (i = t.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { t = 0; continue; } if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { t.label = u[1]; break; } if (u[0] === 6 && t.label < i[1]) { t.label = i[1], i = u; break; } if (i && t.label < i[2]) { t.label = i[2], t.ops.push(u); break; } i[2] && t.ops.pop(), t.trys.pop(); continue; } u = e.call(r, t); } catch (l) { u = [6, l], o = 0; } finally { n = i = 0; } if (u[0] & 5) throw u[1]; return { value: u[0] ? u[1] : void 0, done: !0 }; } } function Qu(r, e) { var t = typeof Symbol == "function" && r[Symbol.iterator]; if (!t) return r; var n = t.call(r), o, i = [], a; try { for (; (e === void 0 || e-- > 0) && !(o = n.next()).done; ) i.push(o.value); } catch (s) { a = { error: s }; } finally { try { o && !o.done && (t = n.return) && t.call(n); } finally { if (a) throw a.error; } } return i; } function Ci() { for (var r = [], e = 0; e < arguments.length; e++) r = r.concat(Qu(arguments[e])); return r; } /*! @azure/msal-common v12.0.0 2023-04-03 */ /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ var Go = function(r, e) { return Go = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, n) { t.__proto__ = n; } || function(t, n) { for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]); }, Go(r, e); }; function rt(r, e) { Go(r, e); function t() { this.constructor = r; } r.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t()); } var le = function() { return le = Object.assign || function(e) { for (var t, n = 1, o = arguments.length; n < o; n++) { t = arguments[n]; for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); } return e; }, le.apply(this, arguments); }; function G(r, e, t, n) { function o(i) { return i instanceof t ? i : new t(function(a) { a(i); }); } return new (t || (t = Promise))(function(i, a) { function s(l) { try { u(n.next(l)); } catch (d) { a(d); } } function c(l) { try { u(n.throw(l)); } catch (d) { a(d); } } function u(l) { l.done ? i(l.value) : o(l.value).then(s, c); } u((n = n.apply(r, e || [])).next()); }); } function j(r, e) { var t = { label: 0, sent: function() { if (i[0] & 1) throw i[1]; return i[1]; }, trys: [], ops: [] }, n, o, i, a; return a = { next: s(0), throw: s(1), return: s(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() { return this; }), a; function s(u) { return function(l) { return c([u, l]); }; } function c(u) { if (n) throw new TypeError("Generator is already executing."); for (; t; ) try { if (n = 1, o && (i = u[0] & 2 ? o.return : u[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, u[1])).done) return i; switch (o = 0, i && (u = [u[0] & 2, i.value]), u[0]) { case 0: case 1: i = u; break; case 4: return t.label++, { value: u[1], done: !1 }; case 5: t.label++, o = u[1], u = [0]; continue; case 7: u = t.ops.pop(), t.trys.pop(); continue; default: if (i = t.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { t = 0; continue; } if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { t.label = u[1]; break; } if (u[0] === 6 && t.label < i[1]) { t.label = i[1], i = u; break; } if (i && t.label < i[2]) { t.label = i[2], t.ops.push(u); break; } i[2] && t.ops.pop(), t.trys.pop(); continue; } u = e.call(r, t); } catch (l) { u = [6, l], o = 0; } finally { n = i = 0; } if (u[0] & 5) throw u[1]; return { value: u[0] ? u[1] : void 0, done: !0 }; } } function lo() { for (var r = 0, e = 0, t = arguments.length; e < t; e++) r += arguments[e].length; for (var n = Array(r), o = 0, e = 0; e < t; e++) for (var i = arguments[e], a = 0, s = i.length; a < s; a++, o++) n[o] = i[a]; return n; } /*! @azure/msal-common v12.0.0 2023-04-03 */ var y = { LIBRARY_NAME: "MSAL.JS", SKU: "msal.js.common", // Prefix for all library cache entries CACHE_PREFIX: "msal", // default authority DEFAULT_AUTHORITY: "https://login.microsoftonline.com/common/", DEFAULT_AUTHORITY_HOST: "login.microsoftonline.com", DEFAULT_COMMON_TENANT: "common", // ADFS String ADFS: "adfs", DSTS: "dstsv2", // Default AAD Instance Discovery Endpoint AAD_INSTANCE_DISCOVERY_ENDPT: "https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=", // Resource delimiter - used for certain cache entries RESOURCE_DELIM: "|", // Placeholder for non-existent account ids/objects NO_ACCOUNT: "NO_ACCOUNT", // Claims CLAIMS: "claims", // Consumer UTID CONSUMER_UTID: "9188040d-6c67-4c5b-b112-36a304b66dad", // Default scopes OPENID_SCOPE: "openid", PROFILE_SCOPE: "profile", OFFLINE_ACCESS_SCOPE: "offline_access", EMAIL_SCOPE: "email", // Default response type for authorization code flow CODE_RESPONSE_TYPE: "code", CODE_GRANT_TYPE: "authorization_code", RT_GRANT_TYPE: "refresh_token", FRAGMENT_RESPONSE_MODE: "fragment", S256_CODE_CHALLENGE_METHOD: "S256", URL_FORM_CONTENT_TYPE: "application/x-www-form-urlencoded;charset=utf-8", AUTHORIZATION_PENDING: "authorization_pending", NOT_DEFINED: "not_defined", EMPTY_STRING: "", NOT_APPLICABLE: "N/A", FORWARD_SLASH: "/", IMDS_ENDPOINT: "http://169.254.169.254/metadata/instance/compute/location", IMDS_VERSION: "2020-06-01", IMDS_TIMEOUT: 2e3, AZURE_REGION_AUTO_DISCOVER_FLAG: "TryAutoDetect", REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX: "login.microsoft.com", REGIONAL_AUTH_NON_MSI_QUERY_STRING: "allowestsrnonmsi=true", KNOWN_PUBLIC_CLOUDS: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"], TOKEN_RESPONSE_TYPE: "token", ID_TOKEN_RESPONSE_TYPE: "id_token", SHR_NONCE_VALIDITY: 240, INVALID_INSTANCE: "invalid_instance" }, hn = [ y.OPENID_SCOPE, y.PROFILE_SCOPE, y.OFFLINE_ACCESS_SCOPE ], sa = lo(hn, [ y.EMAIL_SCOPE ]), st; (function(r) { r.CONTENT_TYPE = "Content-Type", r.RETRY_AFTER = "Retry-After", r.CCS_HEADER = "X-AnchorMailbox", r.WWWAuthenticate = "WWW-Authenticate", r.AuthenticationInfo = "Authentication-Info", r.X_MS_REQUEST_ID = "x-ms-request-id", r.X_MS_HTTP_VERSION = "x-ms-httpver"; })(st || (st = {})); var Pe; (function(r) { r.ID_TOKEN = "idtoken", r.CLIENT_INFO = "client.info", r.ADAL_ID_TOKEN = "adal.idtoken", r.ERROR = "error", r.ERROR_DESC = "error.description", r.ACTIVE_ACCOUNT = "active-account", r.ACTIVE_ACCOUNT_FILTERS = "active-account-filters"; })(Pe || (Pe = {})); var Ln; (function(r) { r.COMMON = "common", r.ORGANIZATIONS = "organizations", r.CONSUMERS = "consumers"; })(Ln || (Ln = {})); var Q; (function(r) { r.CLIENT_ID = "client_id", r.REDIRECT_URI = "redirect_uri", r.RESPONSE_TYPE = "response_type", r.RESPONSE_MODE = "response_mode", r.GRANT_TYPE = "grant_type", r.CLAIMS = "claims", r.SCOPE = "scope", r.ERROR = "error", r.ERROR_DESCRIPTION = "error_description", r.ACCESS_TOKEN = "access_token", r.ID_TOKEN = "id_token", r.REFRESH_TOKEN = "refresh_token", r.EXPIRES_IN = "expires_in", r.STATE = "state", r.NONCE = "nonce", r.PROMPT = "prompt", r.SESSION_STATE = "session_state", r.CLIENT_INFO = "client_info", r.CODE = "code", r.CODE_CHALLENGE = "code_challenge", r.CODE_CHALLENGE_METHOD = "code_challenge_method", r.CODE_VERIFIER = "code_verifier", r.CLIENT_REQUEST_ID = "client-request-id", r.X_CLIENT_SKU = "x-client-SKU", r.X_CLIENT_VER = "x-client-VER", r.X_CLIENT_OS = "x-client-OS", r.X_CLIENT_CPU = "x-client-CPU", r.X_CLIENT_CURR_TELEM = "x-client-current-telemetry", r.X_CLIENT_LAST_TELEM = "x-client-last-telemetry", r.X_MS_LIB_CAPABILITY = "x-ms-lib-capability", r.X_APP_NAME = "x-app-name", r.X_APP_VER = "x-app-ver", r.POST_LOGOUT_URI = "post_logout_redirect_uri", r.ID_TOKEN_HINT = "id_token_hint", r.DEVICE_CODE = "device_code", r.CLIENT_SECRET = "client_secret", r.CLIENT_ASSERTION = "client_assertion", r.CLIENT_ASSERTION_TYPE = "client_assertion_type", r.TOKEN_TYPE = "token_type", r.REQ_CNF = "req_cnf", r.OBO_ASSERTION = "assertion", r.REQUESTED_TOKEN_USE = "requested_token_use", r.ON_BEHALF_OF = "on_behalf_of", r.FOCI = "foci", r.CCS_HEADER = "X-AnchorMailbox", r.RETURN_SPA_CODE = "return_spa_code", r.NATIVE_BROKER = "nativebroker", r.LOGOUT_HINT = "logout_hint"; })(Q || (Q = {})); var yr; (function(r) { r.ACCESS_TOKEN = "access_token", r.XMS_CC = "xms_cc"; })(yr || (yr = {})); var Qe = { LOGIN: "login", SELECT_ACCOUNT: "select_account", CONSENT: "consent", NONE: "none", CREATE: "create", NO_SESSION: "no_session" }, Qr; (function(r) { r.ACCOUNT = "account", r.SID = "sid", r.LOGIN_HINT = "login_hint", r.ID_TOKEN = "id_token", r.DOMAIN_HINT = "domain_hint", r.ORGANIZATIONS = "organizations", r.CONSUMERS = "consumers", r.ACCOUNT_ID = "accountIdentifier", r.HOMEACCOUNT_ID = "homeAccountIdentifier"; })(Qr || (Qr = {})); var ca = { PLAIN: "plain", S256: "S256" }, Un; (function(r) { r.QUERY = "query", r.FRAGMENT = "fragment", r.FORM_POST = "form_post"; })(Un || (Un = {})); var Hn; (function(r) { r.IMPLICIT_GRANT = "implicit", r.AUTHORIZATION_CODE_GRANT = "authorization_code", r.CLIENT_CREDENTIALS_GRANT = "client_credentials", r.RESOURCE_OWNER_PASSWORD_GRANT = "password", r.REFRESH_TOKEN_GRANT = "refresh_token", r.DEVICE_CODE_GRANT = "device_code", r.JWT_BEARER = "urn:ietf:params:oauth:grant-type:jwt-bearer"; })(Hn || (Hn = {})); var Mt; (function(r) { r.MSSTS_ACCOUNT_TYPE = "MSSTS", r.ADFS_ACCOUNT_TYPE = "ADFS", r.MSAV1_ACCOUNT_TYPE = "MSA", r.GENERIC_ACCOUNT_TYPE = "Generic"; })(Mt || (Mt = {})); var Ne; (function(r) { r.CACHE_KEY_SEPARATOR = "-", r.CLIENT_INFO_SEPARATOR = "."; })(Ne || (Ne = {})); var B; (function(r) { r.ID_TOKEN = "IdToken", r.ACCESS_TOKEN = "AccessToken", r.ACCESS_TOKEN_WITH_AUTH_SCHEME = "AccessToken_With_AuthScheme", r.REFRESH_TOKEN = "RefreshToken"; })(B || (B = {})); var xt; (function(r) { r[r.ADFS = 1001] = "ADFS", r[r.MSA = 1002] = "MSA", r[r.MSSTS = 1003] = "MSSTS", r[r.GENERIC = 1004] = "GENERIC", r[r.ACCESS_TOKEN = 2001] = "ACCESS_TOKEN", r[r.REFRESH_TOKEN = 2002] = "REFRESH_TOKEN", r[r.ID_TOKEN = 2003] = "ID_TOKEN", r[r.APP_METADATA = 3001] = "APP_METADATA", r[r.UNDEFINED = 9999] = "UNDEFINED"; })(xt || (xt = {})); var jo = "appmetadata", Wu = "client_info", Wr = "1", Jr = { CACHE_KEY: "authority-metadata", REFRESH_TIME_SECONDS: 3600 * 24 // 24 Hours }, dt; (function(r) { r.CONFIG = "config", r.CACHE = "cache", r.NETWORK = "network", r.HARDCODED_VALUES = "hardcoded_values"; })(dt || (dt = {})); var He = { SCHEMA_VERSION: 5, MAX_CUR_HEADER_BYTES: 80, MAX_LAST_HEADER_BYTES: 330, MAX_CACHED_ERRORS: 50, CACHE_KEY: "server-telemetry", CATEGORY_SEPARATOR: "|", VALUE_SEPARATOR: ",", OVERFLOW_TRUE: "1", OVERFLOW_FALSE: "0", UNKNOWN_ERROR: "unknown_error" }, ce; (function(r) { r.BEARER = "Bearer", r.POP = "pop", r.SSH = "ssh-cert"; })(ce || (ce = {})); var Xr = { // Default time to throttle RequestThumbprint in seconds DEFAULT_THROTTLE_TIME_SECONDS: 60, // Default maximum time to throttle in seconds, overrides what the server sends back DEFAULT_MAX_THROTTLE_TIME_SECONDS: 3600, // Prefix for storing throttling entries THROTTLING_PREFIX: "throttling", // Value assigned to the x-ms-lib-capability header to indicate to the server the library supports throttling X_MS_LIB_CAPABILITY_VALUE: "retry-after, h429" }, ua = { INVALID_GRANT_ERROR: "invalid_grant", CLIENT_MISMATCH_ERROR: "client_mismatch" }, Bn; (function(r) { r.username = "username", r.password = "password"; })(Bn || (Bn = {})); var Cr; (function(r) { r[r.httpSuccess = 200] = "httpSuccess", r[r.httpBadRequest = 400] = "httpBadRequest"; })(Cr || (Cr = {})); var Vt; (function(r) { r.FAILED_AUTO_DETECTION = "1", r.INTERNAL_CACHE = "2", r.ENVIRONMENT_VARIABLE = "3", r.IMDS = "4"; })(Vt || (Vt = {})); var er; (function(r) { r.CONFIGURED_MATCHES_DETECTED = "1", r.CONFIGURED_NO_AUTO_DETECTION = "2", r.CONFIGURED_NOT_DETECTED = "3", r.AUTO_DETECTION_REQUESTED_SUCCESSFUL = "4", r.AUTO_DETECTION_REQUESTED_FAILED = "5"; })(er || (er = {})); var rr; (function(r) { r.NO_CACHE_HIT = "0", r.FORCE_REFRESH = "1", r.NO_CACHED_ACCESS_TOKEN = "2", r.CACHED_ACCESS_TOKEN_EXPIRED = "3", r.REFRESH_CACHED_ACCESS_TOKEN = "4"; })(rr || (rr = {})); var zo; (function(r) { r.Jwt = "JWT", r.Jwk = "JWK", r.Pop = "pop"; })(zo || (zo = {})); /*! @azure/msal-common v12.0.0 2023-04-03 */ var yn = { unexpectedError: { code: "unexpected_error", desc: "Unexpected error in authentication." }, postRequestFailed: { code: "post_request_failed", desc: "Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details." } }, U = ( /** @class */ function(r) { rt(e, r); function e(t, n, o) { var i = this, a = n ? t + ": " + n : t; return i = r.call(this, a) || this, Object.setPrototypeOf(i, e.prototype), i.errorCode = t || y.EMPTY_STRING, i.errorMessage = n || y.EMPTY_STRING, i.subError = o || y.EMPTY_STRING, i.name = "AuthError", i; } return e.prototype.setCorrelationId = function(t) { this.correlationId = t; }, e.createUnexpectedError = function(t) { return new e(yn.unexpectedError.code, yn.unexpectedError.desc + ": " + t); }, e.createPostRequestFailed = function(t) { return new e(yn.postRequestFailed.code, yn.postRequestFailed.desc + ": " + t); }, e; }(Error) ); /*! @azure/msal-common v12.0.0 2023-04-03 */ var Kn = { createNewGuid: function() { var r = "Crypto interface - createNewGuid() has not been implemented"; throw U.createUnexpectedError(r); }, base64Decode: function() { var r = "Crypto interface - base64Decode() has not been implemented"; throw U.createUnexpectedError(r); }, base64Encode: function() { var r = "Crypto interface - base64Encode() has not been implemented"; throw U.createUnexpectedError(r); }, generatePkceCodes: function() { return G(this, void 0, void 0, function() { var r; return j(this, function(e) { throw r = "Crypto interface - generatePkceCodes() has not been implemented", U.createUnexpectedError(r); }); }); }, getPublicKeyThumbprint: function() { return G(this, void 0, void 0, function() { var r; return j(this, function(e) { throw r = "Crypto interface - getPublicKeyThumbprint() has not been implemented", U.createUnexpectedError(r); }); }); }, removeTokenBindingKey: function() { return G(this, void 0, void 0, function() { var r; return j(this, function(e) { throw r = "Crypto interface - removeTokenBindingKey() has not been implemented", U.createUnexpectedError(r); }); }); }, clearKeystore: function() { return G(this, void 0, void 0, function() { var r; return j(this, function(e) { throw r = "Crypto interface - clearKeystore() has not been implemented", U.createUnexpectedError(r); }); }); }, signJwt: function() { return G(this, void 0, void 0, function() { var r; return j(this, function(e) { throw r = "Crypto interface - signJwt() has not been implemented", U.createUnexpectedError(r); }); }); }, hashString: function() { return G(this, void 0, void 0, function() { var r; return j(this, function(e) { throw r = "Crypto interface - hashString() has not been implemented", U.createUnexpectedError(r); }); }); } }; /*! @azure/msal-common v12.0.0 2023-04-03 */ var k = { clientInfoDecodingError: { code: "client_info_decoding_error", desc: "The client info could not be parsed/decoded correctly. Please review the trace to determine the root cause." }, clientInfoEmptyError: { code: "client_info_empty_error", desc: "The client info was empty. Please review the trace to determine the root cause." }, tokenParsingError: { code: "token_parsing_error", desc: "Token cannot be parsed. Please review stack trace to determine root cause." }, nullOrEmptyToken: { code: "null_or_empty_token", desc: "The token is null or empty. Please review the trace to determine the root cause." }, endpointResolutionError: { code: "endpoints_resolution_error", desc: "Error: could not resolve endpoints. Please check network and try again." }, networkError: { code: "network_error", desc: "Network request failed. Please check network trace to determine root cause." }, unableToGetOpenidConfigError: { code: "openid_config_error", desc: "Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints." }, hashNotDeserialized: { code: "hash_not_deserialized", desc: "The hash parameters could not be deserialized. Please review the trace to determine the root cause." }, blankGuidGenerated: { code: "blank_guid_generated", desc: "The guid generated was blank. Please review the trace to determine the root cause." }, invalidStateError: { code: "invalid_state", desc: "State was not the expected format. Please check the logs to determine whether the request was sent using ProtocolUtils.setRequestState()." }, stateMismatchError: { code: "state_mismatch", desc: "State mismatch error. Please check your network. Continued requests may cause cache overflow." }, stateNotFoundError: { code: "state_not_found", desc: "State not found" }, nonceMismatchError: { code: "nonce_mismatch", desc: "Nonce mismatch error. This may be caused by a race condition in concurrent requests." }, nonceNotFoundError: { code: "nonce_not_found", desc: "nonce not found" }, authTimeNotFoundError: { code: "auth_time_not_found", desc: "Max Age was requested and the ID token is missing the auth_time variable. auth_time is an optional claim and is not enabled by default - it must be enabled. See https://aka.ms/msaljs/optional-claims for more information." }, maxAgeTranspiredError: { code: "max_age_transpired", desc: "Max Age is set to 0, or too much time has elapsed since the last end-user authentication." }, noTokensFoundError: { code: "no_tokens_found", desc: "No tokens were found for the given scopes, and no authorization code was passed to acquireToken. You must retrieve an authorization code before making a call to acquireToken()." }, multipleMatchingTokens: { code: "multiple_matching_tokens", desc: "The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account." }, multipleMatchingAccounts: { code: "multiple_matching_accounts", desc: "The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account" }, multipleMatchingAppMetadata: { code: "multiple_matching_appMetadata", desc: "The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata" }, tokenRequestCannotBeMade: { code: "request_cannot_be_made", desc: "Token request cannot be made without authorization code or refresh token." }, appendEmptyScopeError: { code: "cannot_append_empty_scope", desc: "Cannot append null or empty scope to ScopeSet. Please check the stack trace for more info." }, removeEmptyScopeError: { code: "cannot_remove_empty_scope", desc: "Cannot remove null or empty scope from ScopeSet. Please check the stack trace for more info." }, appendScopeSetError: { code: "cannot_append_scopeset", desc: "Cannot append ScopeSet due to error." }, emptyInputScopeSetError: { code: "empty_input_scopeset", desc: "Empty input ScopeSet cannot be processed." }, DeviceCodePollingCancelled: { code: "device_code_polling_cancelled", desc: "Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true." }, DeviceCodeExpired: { code: "device_code_expired", desc: "Device code is expired." }, DeviceCodeUnknownError: { code: "device_code_unknown_error", desc: "Device code stopped polling for unknown reasons." }, NoAccountInSilentRequest: { code: "no_account_in_silent_request", desc: "Please pass an account object, silent flow is not supported without account information" }, invalidCacheRecord: { code: "invalid_cache_record", desc: "Cache record object was null or undefined." }, invalidCacheEnvironment: { code: "invalid_cache_environment", desc: "Invalid environment when attempting to create cache entry" }, noAccountFound: { code: "no_account_found", desc: "No account found in cache for given key." }, CachePluginError: { code: "no cache plugin set on CacheManager", desc: "ICachePlugin needs to be set before using readFromStorage or writeFromStorage" }, noCryptoObj: { code: "no_crypto_object", desc: "No crypto object detected. This is required for the following operation: " }, invalidCacheType: { code: "invalid_cache_type", desc: "Invalid cache type" }, unexpectedAccountType: { code: "unexpected_account_type", desc: "Unexpected account type." }, unexpectedCredentialType: { code: "unexpected_credential_type", desc: "Unexpected credential type." }, invalidAssertion: { code: "invalid_assertion", desc: "Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515" }, invalidClientCredential: { code: "invalid_client_credential", desc: "Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential" }, tokenRefreshRequired: { code: "token_refresh_required", desc: "Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired." }, userTimeoutReached: { code: "user_timeout_reached", desc: "User defined timeout for device code polling reached" }, tokenClaimsRequired: { code: "token_claims_cnf_required_for_signedjwt", desc: "Cannot generate a POP jwt if the token_claims are not populated" }, noAuthorizationCodeFromServer: { code: "authorization_code_missing_from_server_response", desc: "Server response does not contain an authorization code to proceed" }, noAzureRegionDetected: { code: "no_azure_region_detected", desc: "No azure region was detected and no fallback was made available" }, accessTokenEntityNullError: { code: "access_token_entity_null", desc: "Access token entity is null, please check logs and cache to ensure a valid access token is present." }, bindingKeyNotRemovedError: { code: "binding_key_not_removed", desc: "Could not remove the credential's binding key from storage." }, logoutNotSupported: { code: "end_session_endpoint_not_supported", desc: "Provided authority does not support logout." }, keyIdMissing: { code: "key_id_missing", desc: "A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key." }, noNetworkConnectivity: { code: "no_network_connectivity", desc: "No network connectivity. Check your internet connection." }, userCanceledError: { code: "user_canceled", desc: "User canceled the flow." } }, D = ( /** @class */ function(r) { rt(e, r); function e(t, n) { var o = r.call(this, t, n) || this; return o.name = "ClientAuthError", Object.setPrototypeOf(o, e.prototype), o; } return e.createClientInfoDecodingError = function(t) { return new e(k.clientInfoDecodingError.code, k.clientInfoDecodingError.desc + " Failed with error: " + t); }, e.createClientInfoEmptyError = function() { return new e(k.clientInfoEmptyError.code, "" + k.clientInfoEmptyError.desc); }, e.createTokenParsingError = function(t) { return new e(k.tokenParsingError.code, k.tokenParsingError.desc + " Failed with error: " + t); }, e.createTokenNullOrEmptyError = function(t) { return new e(k.nullOrEmptyToken.code, k.nullOrEmptyToken.desc + " Raw Token Value: " + t); }, e.createEndpointDiscoveryIncompleteError = function(t) { return new e(k.endpointResolutionError.code, k.endpointResolutionError.desc + " Detail: " + t); }, e.createNetworkError = function(t, n) { return new e(k.networkError.code, k.networkError.desc + " | Fetch client threw: " + n + " | Attempted to reach: " + t.split("?")[0]); }, e.createUnableToGetOpenidConfigError = function(t) { return new e(k.unableToGetOpenidConfigError.code, k.unableToGetOpenidConfigError.desc + " Attempted to retrieve endpoints from: " + t); }, e.createHashNotDeserializedError = function(t) { return new e(k.hashNotDeserialized.code, k.hashNotDeserialized.desc + " Given Object: " + t); }, e.createInvalidStateError = function(t, n) { return new e(k.invalidStateError.code, k.invalidStateError.desc + " Invalid State: " + t + ", Root Err: " + n); }, e.createStateMismatchError = function() { return new e(k.stateMismatchError.code, k.stateMismatchError.desc); }, e.createStateNotFoundError = function(t) { return new e(k.stateNotFoundError.code, k.stateNotFoundError.desc + ": " + t); }, e.createNonceMismatchError = function() { return new e(k.nonceMismatchError.code, k.nonceMismatchError.desc); }, e.createAuthTimeNotFoundError = function() { return new e(k.authTimeNotFoundError.code, k.authTimeNotFoundError.desc); }, e.createMaxAgeTranspiredError = function() { return new e(k.maxAgeTranspiredError.code, k.maxAgeTranspiredError.desc); }, e.createNonceNotFoundError = function(t) { return new e(k.nonceNotFoundError.code, k.nonceNotFoundError.desc + ": " + t); }, e.createMultipleMatchingTokensInCacheError = function() { return new e(k.multipleMatchingTokens.code, k.multipleMatchingTokens.desc + "."); }, e.createMultipleMatchingAccountsInCacheError = function() { return new e(k.multipleMatchingAccounts.code, k.multipleMatchingAccounts.desc); }, e.createMultipleMatchingAppMetadataInCacheError = function() { return new e(k.multipleMatchingAppMetadata.code, k.multipleMatchingAppMetadata.desc); }, e.createTokenRequestCannotBeMadeError = function() { return new e(k.tokenRequestCannotBeMade.code, k.tokenRequestCannotBeMade.desc); }, e.createAppendEmptyScopeToSetError = function(t) { return new e(k.appendEmptyScopeError.code, k.appendEmptyScopeError.desc + " Given Scope: " + t); }, e.createRemoveEmptyScopeFromSetError = function(t) { return new e(k.removeEmptyScopeError.code, k.removeEmptyScopeError.desc + " Given Scope: " + t); }, e.createAppendScopeSetError = function(t) { return new e(k.appendScopeSetError.code, k.appendScopeSetError.desc + " Detail Error: " + t); }, e.createEmptyInputScopeSetError = function() { return new e(k.emptyInputScopeSetError.code, "" + k.emptyInputScopeSetError.desc); }, e.createDeviceCodeCancelledError = function() { return new e(k.DeviceCodePollingCancelled.code, "" + k.DeviceCodePollingCancelled.desc); }, e.createDeviceCodeExpiredError = function() { return new e(k.DeviceCodeExpired.code, "" + k.DeviceCodeExpired.desc); }, e.createDeviceCodeUnknownError = function() { return new e(k.DeviceCodeUnknownError.code, "" + k.DeviceCodeUnknownError.desc); }, e.createNoAccountInSilentRequestError = function() { return new e(k.NoAccountInSilentRequest.code, "" + k.NoAccountInSilentRequest.desc); }, e.createNullOrUndefinedCacheRecord = function() { return new e(k.invalidCacheRecord.code, k.invalidCacheRecord.desc); }, e.createInvalidCacheEnvironmentError = function() { return new e(k.invalidCacheEnvironment.code, k.invalidCacheEnvironment.desc); }, e.createNoAccountFoundError = function() { return new e(k.noAccountFound.code, k.noAccountFound.desc); }, e.createCachePluginError = function() { return new e(k.CachePluginError.code, "" + k.CachePluginError.desc); }, e.createNoCryptoObjectError = function(t) { return new e(k.noCryptoObj.code, "" + k.noCryptoObj.desc + t); }, e.createInvalidCacheTypeError = function() { return new e(k.invalidCacheType.code, "" + k.invalidCacheType.desc); }, e.createUnexpectedAccountTypeError = function() { return new e(k.unexpectedAccountType.code, "" + k.unexpectedAccountType.desc); }, e.createUnexpectedCredentialTypeError = function() { return new e(k.unexpectedCredentialType.code, "" + k.unexpectedCredentialType.desc); }, e.createInvalidAssertionError = function() { return new e(k.invalidAssertion.code, "" + k.invalidAssertion.desc); }, e.createInvalidCredentialError = function() { return new e(k.invalidClientCredential.code, "" + k.invalidClientCredential.desc); }, e.createRefreshRequiredError = function() { return new e(k.tokenRefreshRequired.code, k.tokenRefreshRequired.desc); }, e.createUserTimeoutReachedError = function() { return new e(k.userTimeoutReached.code, k.userTimeoutReached.desc); }, e.createTokenClaimsRequiredError = function() { return new e(k.tokenClaimsRequired.code, k.tokenClaimsRequired.desc); }, e.createNoAuthCodeInServerResponseError = function() { return new e(k.noAuthorizationCodeFromServer.code, k.noAuthorizationCodeFromServer.desc); }, e.createBindingKeyNotRemovedError = function() { return new e(k.bindingKeyNotRemovedError.code, k.bindingKeyNotRemovedError.desc); }, e.createLogoutNotSupportedError = function() { return new e(k.logoutNotSupported.code, k.logoutNotSupported.desc); }, e.createKeyIdMissingError = function() { return new e(k.keyIdMissing.code, k.keyIdMissing.desc); }, e.createNoNetworkConnectivityError = function() { return new e(k.noNetworkConnectivity.code, k.noNetworkConnectivity.desc); }, e.createUserCanceledError = function() { return new e(k.userCanceledError.code, k.userCanceledError.desc); }, e; }(U) ); /*! @azure/msal-common v12.0.0 2023-04-03 */ var x = ( /** @class */ function() { function r() { } return r.decodeAuthToken = function(e) { if (r.isEmpty(e)) throw D.createTokenNullOrEmptyError(e); var t = /^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/, n = t.exec(e); if (!n || n.length < 4) throw D.createTokenParsingError("Given token is malformed: " + JSON.stringify(e)); var o = { header: n[1], JWSPayload: n[2], JWSSig: n[3] }; return o; }, r.isEmpty = function(e) { return typeof e > "u" || !e || e.length === 0; }, r.isEmptyObj = function(e) { if (e && !r.isEmpty(e)) try { var t = JSON.parse(e); return Object.keys(t).length === 0; } catch { } return !0; }, r.startsWith = function(e, t) { return e.indexOf(t) === 0; }, r.endsWith = function(e, t) { return e.length >= t.length && e.lastIndexOf(t) === e.length - t.length; }, r.queryStringToObject = function(e) { var t = {}, n = e.split("&"), o = function(i) { return decodeURIComponent(i.replace(/\+/g, " ")); }; return n.forEach(function(i) { if (i.trim()) { var a = i.split(/=(.+)/g, 2), s = a[0], c = a[1]; s && c && (t[o(s)] = o(c)); } }), t; }, r.trimArrayEntries = function(e) { return e.map(function(t) { return t.trim(); }); }, r.removeEmptyStringsFromArray = function(e) { return e.filter(function(t) { return !r.isEmpty(t); }); }, r.jsonParseHelper = function(e) { try { return JSON.parse(e); } catch { return null; } }, r.matchPattern = function(e, t) { var n = new RegExp(e.replace(/\\/g, "\\\\").replace(/\*/g, "[^ ]*").replace(/\?/g, "\\?")); return n.test(t); }, r; }() ); /*! @azure/msal-common v12.0.0 2023-04-03 */ var Ee; (function(r) { r[r.Error = 0] = "Error", r[r.Warning = 1] = "Warning", r[r.Info = 2] = "Info", r[r.Verbose = 3] = "Verbose", r[r.Trace = 4] = "Trace"; })(Ee || (Ee = {})); var ho = ( /** @class */ function() { function r(e, t, n) { this.level = Ee.Info; var o = function() { }, i = e || r.createDefaultLoggerOptions(); this.localCallback = i.loggerCallback || o, this.piiLoggingEnabled = i.piiLoggingEnabled || !1, this.level = typeof i.logLevel == "number" ? i.logLevel : Ee.Info, this.correlationId = i.correlationId || y.EMPTY_STRING, this.packageName = t || y.EMPTY_STRING, this.packageVersion = n || y.EMPTY_STRING; } return r.createDefaultLoggerOptions = function() { return { loggerCallback: function() { }, piiLoggingEnabled: !1, logLevel: Ee.Info }; }, r.prototype.clone = function(e, t, n) { return new r({ loggerCallback: this.localCallback, piiLoggingEnabled: this.piiLoggingEnabled, logLevel: this.level, correlationId: n || this.correlationId }, e, t); }, r.prototype.logMessage = function(e, t) { if (!(t.logLevel > this.level || !this.piiLoggingEnabled && t.containsPii)) { var n = (/* @__PURE__ */ new Date()).toUTCString(), o; x.isEmpty(t.correlationId) ? x.isEmpty(this.correlationId) ? o = "[" + n + "]" : o = "[" + n + "] : [" + this.correlationId + "]" : o = "[" + n + "] : [" + t.correlationId + "]"; var i = o + " : " + this.packageName + "@" + this.packageVersion + " : " + Ee[t.logLevel] + " - " + e; this.executeCallback(t.logLevel, i, t.containsPii || !1); } }, r.prototype.executeCallback = function(e, t, n) { this.localCallback && this.localCallback(e, t, n); }, r.prototype.error = function(e, t) { this.logMessage(e, { logLevel: Ee.Error, containsPii: !1, correlationId: t || y.EMPTY_STRING }); }, r.prototype.errorPii = function(e, t) { this.logMessage(e, { logLevel: Ee.Error, containsPii: !0, correlationId: t || y.EMPTY_STRING }); }, r.prototype.warning = function(e, t) { this.logMessage(e, { logLevel: Ee.Warning, containsPii: !1, correlationId: t || y.EMPTY_STRING }); }, r.prototype.warningPii = function(e, t) { this.logMessage(e, { logLevel: Ee.Warning, containsPii: !0, correlationId: t || y.EMPTY_STRING }); }, r.prototype.info = function(e, t) { this.logMessage(e, { logLevel: Ee.Info, containsPii: !1, correlationId: t || y.EMPTY_STRING }); }, r.prototype.infoPii = function(e, t) { this.logMessage(e, { logLevel: Ee.Info, containsPii: !0, correlationId: t || y.EMPTY_STRING }); }, r.prototype.verbose = function(e, t) { this.logMessage(e, { logLevel: Ee.Verbose, containsPii: !1, correlationId: t || y.EMPTY_STRING }); }, r.prototype.verbosePii = function(e, t) { this.logMessage(e, { logLevel: Ee.Verbose, containsPii: !0, correlationId: t || y.EMPTY_STRING }); }, r.prototype.trace = function(e, t) { this.logMessage(e, { logLevel: Ee.Trace, containsPii: !1, correlationId: t || y.EMPTY_STRING }); }, r.prototype.tracePii = function(e, t) { this.logMessage(e, { logLevel: Ee.Trace, containsPii: !0, correlationId: t || y.EMPTY_STRING }); }, r.prototype.isPiiLoggingEnabled = function() { return this.piiLoggingEnabled || !1; }, r; }() ); /*! @azure/msal-common v12.0.0 2023-04-03 */ var ws = "@azure/msal-common", Ei = "12.0.0"; /*! @azure/msal-common v12.0.0 2023-04-03 */ var on; (function(r) { r[r.None = 0] = "None", r.AzurePublic = "https://login.microsoftonline.com", r.AzurePpe = "https://login.windows-ppe.net", r.AzureChina = "https://login.chinacloudapi.cn", r.AzureGermany = "https://login.microsoftonline.de", r.AzureUsGovernment = "https://login.microsoftonline.us"; })(on || (on = {})); /*! @azure/msal-common v12.0.0 2023-04-03 */ var Y = { redirectUriNotSet: { code: "redirect_uri_empty", desc: "A redirect URI is required for all calls, and none has been set." }, postLogoutUriNotSet: { code: "post_logout_uri_empty", desc: "A post logout redirect has not been set." }, claimsRequestParsingError: { code: "claims_request_parsing_error", desc: "Could not parse the given claims request object." }, authorityUriInsecure: { code: "authority_uri_insecure", desc: "Authority URIs must use https. Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options" }, urlParseError: { code: "url_parse_error", desc: "URL could not be parsed into appropriate segments." }, urlEmptyError: { code: "empty_url_error", desc: "URL was empty or null." }, emptyScopesError: { code: "empty_input_scopes_error", desc: "Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token." }, nonArrayScopesError: { code: "nonarray_input_scopes_error", desc: "Scopes cannot be passed as non-array." }, clientIdSingleScopeError: { code: "clientid_input_scopes_error", desc: "Client ID can only be provided as a single scope." }, invalidPrompt: { code: "invalid_prompt_value", desc: "Supported prompt values are 'login', 'select_account', 'consent', 'create', 'none' and 'no_session'. Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest" }, invalidClaimsRequest: { code: "invalid_claims", desc: "Given claims parameter must be a stringified JSON object." }, tokenRequestEmptyError: { code: "token_request_empty", desc: "Token request was empty and not found in cache." }, logoutRequestEmptyError: { code: "logout_request_empty", desc: "The logout request was null or undefined." }, invalidCodeChallengeMethod: { code: "invalid_code_challenge_method", desc: 'code_challenge_method passed is invalid. Valid values are "plain" and "S256".' }, invalidCodeChallengeParams: { code: "pkce_params_missing", desc: "Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request" }, invalidCloudDiscoveryMetadata: { code: "invalid_cloud_discovery_metadata", desc: "Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields" }, invalidAuthorityMetadata: { code: "invalid_authority_metadata", desc: "Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields." }, untrustedAuthority: { code: "untrusted_authority", desc: "The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter." }, invalidAzureCloudInstance: { code: "invalid_azure_cloud_instance", desc: "Invalid AzureCloudInstance provided. Please refer MSAL JS docs: aks.ms/msaljs/azure_cloud_instance for valid values" }, missingSshJwk: { code: "missing_ssh_jwk", desc: "Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme." }, missingSshKid: { code: "missing_ssh_kid", desc: "Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme." }, missingNonceAuthenticationHeader: { code: "missing_nonce_authentication_header", desc: "Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce." }, invalidAuthenticationHeader: { code: "invalid_authentication_header", desc: "Invalid authentication header provided" } }, me = ( /** @class */ function(r) { rt(e, r); function e(t, n) { var o = r.call(this, t, n) || this; return o.name = "ClientConfigurationError", Object.setPrototypeOf(o, e.prototype), o; } return e.createRedirectUriEmptyError = function() { return new e(Y.redirectUriNotSet.code, Y.redirectUriNotSet.desc); }, e.createPostLogoutRedirectUriEmptyError = function() { return new e(Y.postLogoutUriNotSet.code, Y.postLogoutUriNotSet.desc); }, e.createClaimsRequestParsingError = function(t) { return new e(Y.claimsRequestParsingError.code, Y.claimsRequestParsingError.desc + " Given value: " + t); }, e.createInsecureAuthorityUriError = function(t) { return new e(Y.authorityUriInsecure.code, Y.authorityUriInsecure.desc + " Given URI: " + t); }, e.createUrlParseError = function(t) { return new e(Y.urlParseError.code, Y.urlParseError.desc + " Given Error: " + t); }, e.createUrlEmptyError = function() { return new e(Y.urlEmptyError.code, Y.urlEmptyError.desc); }, e.createEmptyScopesArrayError = function() { return new e(Y.emptyScopesError.code, "" + Y.emptyScopesError.desc); }, e.createClientIdSingleScopeError = function(t) { return new e(Y.clientIdSingleScopeError.code, Y.clientIdSingleScopeError.desc + " Given Scopes: " + t); }, e.createInvalidPromptError = function(t) { return new e(Y.invalidPrompt.code, Y.invalidPrompt.desc + " Given value: " + t); }, e.createInvalidClaimsRequestError = function() { return new e(Y.invalidClaimsRequest.code, Y.invalidClaimsRequest.desc); }, e.createEmptyLogoutRequestError = function() { return new e(Y.logoutRequestEmptyError.code, Y.logoutRequestEmptyError.desc); }, e.createEmptyTokenRequestError = function() { return new e(Y.tokenRequestEmptyError.code, Y.tokenRequestEmptyError.desc); }, e.createInvalidCodeChallengeMethodError = function() { return new e(Y.invalidCodeChallengeMethod.code, Y.invalidCodeChallengeMethod.desc); }, e.createInvalidCodeChallengeParamsError = function() { return new e(Y.invalidCodeChallengeParams.code, Y.invalidCodeChal