Files
maingate/console/static/js/main.2ea4d7d1.js
2023-05-24 12:16:03 +09:00

2 lines
667 KiB
JavaScript

/*! For license information please see main.2ea4d7d1.js.LICENSE.txt */
!function(){var e={62721:function(e,t,n){"use strict";n.d(t,{Q:function(){return i},X:function(){return o}});var r=n(20318),o={auth:{clientId:"16352fcc-d91b-4a25-a576-e52f7e7a524b",authority:"https://login.microsoftonline.com/6993e666-8741-43a5-a0de-bb256cb23805",redirectUri:"".concat("/console"),postLogoutRedirectUri:"".concat("/console"),navigateToLoginRequestUrl:!1},cache:{cacheLocation:"sessionStorage",storeAuthStateInCookie:!1},system:{loggerOptions:{loggerCallback:function(e,t,n){if(!n)switch(e){case r.i.Error:return void console.error(t);case r.i.Info:return void console.info(t);case r.i.Verbose:return void console.debug(t);case r.i.Warning:return void console.warn(t)}}}}},i={scopes:["User.Read"]}},27990:function(e,t,n){"use strict";n.d(t,{Jh:function(){return c},ZT:function(){return o},_T:function(){return a},fl:function(){return l},mG:function(){return s},pi:function(){return i}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function c(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function u(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function l(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}},56220:function(e,t,n){"use strict";n.d(t,{W:function(){return f}});var r=n(27990),o=n(74603),i={code:"redirect_uri_empty",desc:"A redirect URI is required for all calls, and none has been set."},a={code:"post_logout_uri_empty",desc:"A post logout redirect has not been set."},s={code:"storage_not_supported",desc:"Given storage configuration option was not supported."},c={code:"no_redirect_callbacks",desc:"No redirect callbacks have been set. Please call setRedirectCallbacks() with the appropriate function arguments before continuing. More information is available here: https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-basics."},u={code:"stubbed_public_client_application_called",desc:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors"},l={code:"in_mem_redirect_unavailable",desc:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."},d={code:"entropy_not_provided",desc:"The available browser crypto interface requires entropy set via system.cryptoOptions.entropy configuration option."},f=function(e){function t(n,r){var o=e.call(this,n,r)||this;return o.name="BrowserConfigurationAuthError",Object.setPrototypeOf(o,t.prototype),o}return(0,r.ZT)(t,e),t.createRedirectUriEmptyError=function(){return new t(i.code,i.desc)},t.createPostLogoutRedirectUriEmptyError=function(){return new t(a.code,a.desc)},t.createStorageNotSupportedError=function(e){return new t(s.code,s.desc+" Given Location: "+e)},t.createRedirectCallbacksNotSetError=function(){return new t(c.code,c.desc)},t.createStubPcaInstanceCalledError=function(){return new t(u.code,u.desc)},t.createInMemoryRedirectUnavailableError=function(){return new t(l.code,l.desc)},t.createEntropyNotProvided=function(){return new t(d.code,d.desc)},t}(o.l)},29818:function(e,t,n){"use strict";var r;n.d(t,{t:function(){return r}}),function(e){e.INITIALIZE_START="msal:initializeStart",e.INITIALIZE_END="msal:initializeEnd",e.ACCOUNT_ADDED="msal:accountAdded",e.ACCOUNT_REMOVED="msal:accountRemoved",e.LOGIN_START="msal:loginStart",e.LOGIN_SUCCESS="msal:loginSuccess",e.LOGIN_FAILURE="msal:loginFailure",e.ACQUIRE_TOKEN_START="msal:acquireTokenStart",e.ACQUIRE_TOKEN_SUCCESS="msal:acquireTokenSuccess",e.ACQUIRE_TOKEN_FAILURE="msal:acquireTokenFailure",e.ACQUIRE_TOKEN_NETWORK_START="msal:acquireTokenFromNetworkStart",e.SSO_SILENT_START="msal:ssoSilentStart",e.SSO_SILENT_SUCCESS="msal:ssoSilentSuccess",e.SSO_SILENT_FAILURE="msal:ssoSilentFailure",e.ACQUIRE_TOKEN_BY_CODE_START="msal:acquireTokenByCodeStart",e.ACQUIRE_TOKEN_BY_CODE_SUCCESS="msal:acquireTokenByCodeSuccess",e.ACQUIRE_TOKEN_BY_CODE_FAILURE="msal:acquireTokenByCodeFailure",e.HANDLE_REDIRECT_START="msal:handleRedirectStart",e.HANDLE_REDIRECT_END="msal:handleRedirectEnd",e.POPUP_OPENED="msal:popupOpened",e.LOGOUT_START="msal:logoutStart",e.LOGOUT_SUCCESS="msal:logoutSuccess",e.LOGOUT_FAILURE="msal:logoutFailure",e.LOGOUT_END="msal:logoutEnd"}(r||(r={}))},30584:function(e,t,n){"use strict";n.d(t,{$H:function(){return l},BD:function(){return h},Bs:function(){return s},EC:function(){return i},Gv:function(){return E},H4:function(){return y},Ix:function(){return o},Ky:function(){return r},Mm:function(){return v},WN:function(){return c},c4:function(){return a},kd:function(){return b},lA:function(){return p},lu:function(){return m},qx:function(){return f},s_:function(){return u},yo:function(){return g}});var r,o,i,a,s,c,u,l,d=n(6262),f={INTERACTION_IN_PROGRESS_VALUE:"interaction_in_progress",INVALID_GRANT_ERROR:"invalid_grant",POPUP_WIDTH:483,POPUP_HEIGHT:600,POPUP_NAME_PREFIX:"msal",DEFAULT_POLL_INTERVAL_MS:30,MSAL_SKU:"msal.js.browser"},h={CHANNEL_ID:"53ee284d-920a-4b59-9d30-a60315b26836",PREFERRED_EXTENSION_ID:"ppnbnpeolgkicgegkbkbjmhlideopiji",MATS_TELEMETRY:"MATS"};!function(e){e.HandshakeRequest="Handshake",e.HandshakeResponse="HandshakeResponse",e.GetToken="GetToken",e.Response="Response"}(r||(r={})),function(e){e.LocalStorage="localStorage",e.SessionStorage="sessionStorage",e.MemoryStorage="memoryStorage"}(o||(o={})),function(e){e.GET="GET",e.POST="POST"}(i||(i={})),function(e){e.AUTHORITY="authority",e.ACQUIRE_TOKEN_ACCOUNT="acquireToken.account",e.SESSION_STATE="session.state",e.REQUEST_STATE="request.state",e.NONCE_IDTOKEN="nonce.id_token",e.ORIGIN_URI="request.origin",e.RENEW_STATUS="token.renew.status",e.URL_HASH="urlHash",e.REQUEST_PARAMS="request.params",e.SCOPES="scopes",e.INTERACTION_STATUS_KEY="interaction.status",e.CCS_CREDENTIAL="ccs.credential",e.CORRELATION_ID="request.correlationId",e.NATIVE_REQUEST="request.native"}(a||(a={})),function(e){e.WRAPPER_SKU="wrapper.sku",e.WRAPPER_VER="wrapper.version"}(s||(s={})),function(e){e[e.acquireTokenRedirect=861]="acquireTokenRedirect",e[e.acquireTokenPopup=862]="acquireTokenPopup",e[e.ssoSilent=863]="ssoSilent",e[e.acquireTokenSilent_authCode=864]="acquireTokenSilent_authCode",e[e.handleRedirectPromise=865]="handleRedirectPromise",e[e.acquireTokenByCode=866]="acquireTokenByCode",e[e.acquireTokenSilent_silentFlow=61]="acquireTokenSilent_silentFlow",e[e.logout=961]="logout",e[e.logoutPopup=962]="logoutPopup"}(c||(c={})),function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"}(u||(u={})),function(e){e.Startup="startup",e.Login="login",e.Logout="logout",e.AcquireToken="acquireToken",e.SsoSilent="ssoSilent",e.HandleRedirect="handleRedirect",e.None="none"}(l||(l={}));var p,g={scopes:d.f_},v="jwk";!function(e){e.React="@azure/msal-react",e.Angular="@azure/msal-angular"}(p||(p={}));var m,y="msal.db",b=1,E=y+".keys";!function(e){e[e.Default=0]="Default",e[e.AccessToken=1]="AccessToken",e[e.AccessTokenAndRefreshToken=2]="AccessTokenAndRefreshToken",e[e.RefreshToken=3]="RefreshToken",e[e.RefreshTokenAndNetwork=4]="RefreshTokenAndNetwork",e[e.Skip=5]="Skip"}(m||(m={}))},94355:function(e,t,n){"use strict";n.d(t,{Jh:function(){return s},ZT:function(){return o},mG:function(){return a},pi:function(){return i},pr:function(){return c}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function s(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function c(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}},74603:function(e,t,n){"use strict";n.d(t,{l:function(){return s}});var r=n(94355),o=n(6262),i={code:"unexpected_error",desc:"Unexpected error in authentication."},a={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."},s=function(e){function t(n,r,i){var a=this,s=r?n+": "+r:n;return a=e.call(this,s)||this,Object.setPrototypeOf(a,t.prototype),a.errorCode=n||o.gT.EMPTY_STRING,a.errorMessage=r||o.gT.EMPTY_STRING,a.subError=i||o.gT.EMPTY_STRING,a.name="AuthError",a}return(0,r.ZT)(t,e),t.prototype.setCorrelationId=function(e){this.correlationId=e},t.createUnexpectedError=function(e){return new t(i.code,i.desc+": "+e)},t.createPostRequestFailed=function(e){return new t(a.code,a.desc+": "+e)},t}(Error)},49408:function(e,t,n){"use strict";n.d(t,{A:function(){return i},e:function(){return a}});var r=n(94355),o=n(74603),i={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."}},a=function(e){function t(n,r){var o=e.call(this,n,r)||this;return o.name="ClientAuthError",Object.setPrototypeOf(o,t.prototype),o}return(0,r.ZT)(t,e),t.createClientInfoDecodingError=function(e){return new t(i.clientInfoDecodingError.code,i.clientInfoDecodingError.desc+" Failed with error: "+e)},t.createClientInfoEmptyError=function(){return new t(i.clientInfoEmptyError.code,""+i.clientInfoEmptyError.desc)},t.createTokenParsingError=function(e){return new t(i.tokenParsingError.code,i.tokenParsingError.desc+" Failed with error: "+e)},t.createTokenNullOrEmptyError=function(e){return new t(i.nullOrEmptyToken.code,i.nullOrEmptyToken.desc+" Raw Token Value: "+e)},t.createEndpointDiscoveryIncompleteError=function(e){return new t(i.endpointResolutionError.code,i.endpointResolutionError.desc+" Detail: "+e)},t.createNetworkError=function(e,n){return new t(i.networkError.code,i.networkError.desc+" | Fetch client threw: "+n+" | Attempted to reach: "+e.split("?")[0])},t.createUnableToGetOpenidConfigError=function(e){return new t(i.unableToGetOpenidConfigError.code,i.unableToGetOpenidConfigError.desc+" Attempted to retrieve endpoints from: "+e)},t.createHashNotDeserializedError=function(e){return new t(i.hashNotDeserialized.code,i.hashNotDeserialized.desc+" Given Object: "+e)},t.createInvalidStateError=function(e,n){return new t(i.invalidStateError.code,i.invalidStateError.desc+" Invalid State: "+e+", Root Err: "+n)},t.createStateMismatchError=function(){return new t(i.stateMismatchError.code,i.stateMismatchError.desc)},t.createStateNotFoundError=function(e){return new t(i.stateNotFoundError.code,i.stateNotFoundError.desc+": "+e)},t.createNonceMismatchError=function(){return new t(i.nonceMismatchError.code,i.nonceMismatchError.desc)},t.createAuthTimeNotFoundError=function(){return new t(i.authTimeNotFoundError.code,i.authTimeNotFoundError.desc)},t.createMaxAgeTranspiredError=function(){return new t(i.maxAgeTranspiredError.code,i.maxAgeTranspiredError.desc)},t.createNonceNotFoundError=function(e){return new t(i.nonceNotFoundError.code,i.nonceNotFoundError.desc+": "+e)},t.createMultipleMatchingTokensInCacheError=function(){return new t(i.multipleMatchingTokens.code,i.multipleMatchingTokens.desc+".")},t.createMultipleMatchingAccountsInCacheError=function(){return new t(i.multipleMatchingAccounts.code,i.multipleMatchingAccounts.desc)},t.createMultipleMatchingAppMetadataInCacheError=function(){return new t(i.multipleMatchingAppMetadata.code,i.multipleMatchingAppMetadata.desc)},t.createTokenRequestCannotBeMadeError=function(){return new t(i.tokenRequestCannotBeMade.code,i.tokenRequestCannotBeMade.desc)},t.createAppendEmptyScopeToSetError=function(e){return new t(i.appendEmptyScopeError.code,i.appendEmptyScopeError.desc+" Given Scope: "+e)},t.createRemoveEmptyScopeFromSetError=function(e){return new t(i.removeEmptyScopeError.code,i.removeEmptyScopeError.desc+" Given Scope: "+e)},t.createAppendScopeSetError=function(e){return new t(i.appendScopeSetError.code,i.appendScopeSetError.desc+" Detail Error: "+e)},t.createEmptyInputScopeSetError=function(){return new t(i.emptyInputScopeSetError.code,""+i.emptyInputScopeSetError.desc)},t.createDeviceCodeCancelledError=function(){return new t(i.DeviceCodePollingCancelled.code,""+i.DeviceCodePollingCancelled.desc)},t.createDeviceCodeExpiredError=function(){return new t(i.DeviceCodeExpired.code,""+i.DeviceCodeExpired.desc)},t.createDeviceCodeUnknownError=function(){return new t(i.DeviceCodeUnknownError.code,""+i.DeviceCodeUnknownError.desc)},t.createNoAccountInSilentRequestError=function(){return new t(i.NoAccountInSilentRequest.code,""+i.NoAccountInSilentRequest.desc)},t.createNullOrUndefinedCacheRecord=function(){return new t(i.invalidCacheRecord.code,i.invalidCacheRecord.desc)},t.createInvalidCacheEnvironmentError=function(){return new t(i.invalidCacheEnvironment.code,i.invalidCacheEnvironment.desc)},t.createNoAccountFoundError=function(){return new t(i.noAccountFound.code,i.noAccountFound.desc)},t.createCachePluginError=function(){return new t(i.CachePluginError.code,""+i.CachePluginError.desc)},t.createNoCryptoObjectError=function(e){return new t(i.noCryptoObj.code,""+i.noCryptoObj.desc+e)},t.createInvalidCacheTypeError=function(){return new t(i.invalidCacheType.code,""+i.invalidCacheType.desc)},t.createUnexpectedAccountTypeError=function(){return new t(i.unexpectedAccountType.code,""+i.unexpectedAccountType.desc)},t.createUnexpectedCredentialTypeError=function(){return new t(i.unexpectedCredentialType.code,""+i.unexpectedCredentialType.desc)},t.createInvalidAssertionError=function(){return new t(i.invalidAssertion.code,""+i.invalidAssertion.desc)},t.createInvalidCredentialError=function(){return new t(i.invalidClientCredential.code,""+i.invalidClientCredential.desc)},t.createRefreshRequiredError=function(){return new t(i.tokenRefreshRequired.code,i.tokenRefreshRequired.desc)},t.createUserTimeoutReachedError=function(){return new t(i.userTimeoutReached.code,i.userTimeoutReached.desc)},t.createTokenClaimsRequiredError=function(){return new t(i.tokenClaimsRequired.code,i.tokenClaimsRequired.desc)},t.createNoAuthCodeInServerResponseError=function(){return new t(i.noAuthorizationCodeFromServer.code,i.noAuthorizationCodeFromServer.desc)},t.createBindingKeyNotRemovedError=function(){return new t(i.bindingKeyNotRemovedError.code,i.bindingKeyNotRemovedError.desc)},t.createLogoutNotSupportedError=function(){return new t(i.logoutNotSupported.code,i.logoutNotSupported.desc)},t.createKeyIdMissingError=function(){return new t(i.keyIdMissing.code,i.keyIdMissing.desc)},t}(o.l)},20318:function(e,t,n){"use strict";n.d(t,{Y:function(){return a},i:function(){return r}});var r,o=n(14947),i=n(6262);!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Info=2]="Info",e[e.Verbose=3]="Verbose",e[e.Trace=4]="Trace"}(r||(r={}));var a=function(){function e(e,t,n){this.level=r.Info;this.localCallback=e.loggerCallback||function(){},this.piiLoggingEnabled=e.piiLoggingEnabled||!1,this.level="number"===typeof e.logLevel?e.logLevel:r.Info,this.correlationId=e.correlationId||i.gT.EMPTY_STRING,this.packageName=t||i.gT.EMPTY_STRING,this.packageVersion=n||i.gT.EMPTY_STRING}return e.prototype.clone=function(t,n,r){return new e({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:r||this.correlationId},t,n)},e.prototype.logMessage=function(e,t){if(!(t.logLevel>this.level||!this.piiLoggingEnabled&&t.containsPii)){var n=(new Date).toUTCString(),i=(o.x.isEmpty(t.correlationId)?o.x.isEmpty(this.correlationId)?"["+n+"]":"["+n+"] : ["+this.correlationId+"]":"["+n+"] : ["+t.correlationId+"]")+" : "+this.packageName+"@"+this.packageVersion+" : "+r[t.logLevel]+" - "+e;this.executeCallback(t.logLevel,i,t.containsPii||!1)}},e.prototype.executeCallback=function(e,t,n){this.localCallback&&this.localCallback(e,t,n)},e.prototype.error=function(e,t){this.logMessage(e,{logLevel:r.Error,containsPii:!1,correlationId:t||i.gT.EMPTY_STRING})},e.prototype.errorPii=function(e,t){this.logMessage(e,{logLevel:r.Error,containsPii:!0,correlationId:t||i.gT.EMPTY_STRING})},e.prototype.warning=function(e,t){this.logMessage(e,{logLevel:r.Warning,containsPii:!1,correlationId:t||i.gT.EMPTY_STRING})},e.prototype.warningPii=function(e,t){this.logMessage(e,{logLevel:r.Warning,containsPii:!0,correlationId:t||i.gT.EMPTY_STRING})},e.prototype.info=function(e,t){this.logMessage(e,{logLevel:r.Info,containsPii:!1,correlationId:t||i.gT.EMPTY_STRING})},e.prototype.infoPii=function(e,t){this.logMessage(e,{logLevel:r.Info,containsPii:!0,correlationId:t||i.gT.EMPTY_STRING})},e.prototype.verbose=function(e,t){this.logMessage(e,{logLevel:r.Verbose,containsPii:!1,correlationId:t||i.gT.EMPTY_STRING})},e.prototype.verbosePii=function(e,t){this.logMessage(e,{logLevel:r.Verbose,containsPii:!0,correlationId:t||i.gT.EMPTY_STRING})},e.prototype.trace=function(e,t){this.logMessage(e,{logLevel:r.Trace,containsPii:!1,correlationId:t||i.gT.EMPTY_STRING})},e.prototype.tracePii=function(e,t){this.logMessage(e,{logLevel:r.Trace,containsPii:!0,correlationId:t||i.gT.EMPTY_STRING})},e.prototype.isPiiLoggingEnabled=function(){return this.piiLoggingEnabled||!1},e}()},6262:function(e,t,n){"use strict";n.d(t,{$f:function(){return d},As:function(){return s},Bv:function(){return m},D1:function(){return L},Fo:function(){return a},Ge:function(){return A},HN:function(){return R},L:function(){return M},LL:function(){return E},NJ:function(){return h},Nb:function(){return i},QU:function(){return I},SZ:function(){return r},To:function(){return x},VO:function(){return f},VX:function(){return w},Vi:function(){return o},W:function(){return O},Xj:function(){return b},YY:function(){return P},bb:function(){return U},ch:function(){return C},d3:function(){return y},dg:function(){return S},f_:function(){return l},gT:function(){return u},hO:function(){return k},iR:function(){return v},ki:function(){return N},pQ:function(){return _},qJ:function(){return g},sR:function(){return T},vw:function(){return p}});var r,o,i,a,s,c=n(94355),u={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",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:"",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},l=[u.OPENID_SCOPE,u.PROFILE_SCOPE,u.OFFLINE_ACCESS_SCOPE],d=(0,c.pr)(l,[u.EMAIL_SCOPE]);!function(e){e.CONTENT_TYPE="Content-Type",e.RETRY_AFTER="Retry-After",e.CCS_HEADER="X-AnchorMailbox",e.WWWAuthenticate="WWW-Authenticate",e.AuthenticationInfo="Authentication-Info",e.X_MS_REQUEST_ID="x-ms-request-id"}(r||(r={})),function(e){e.ID_TOKEN="idtoken",e.CLIENT_INFO="client.info",e.ADAL_ID_TOKEN="adal.idtoken",e.ERROR="error",e.ERROR_DESC="error.description",e.ACTIVE_ACCOUNT="active-account",e.ACTIVE_ACCOUNT_FILTERS="active-account-filters"}(o||(o={})),function(e){e.COMMON="common",e.ORGANIZATIONS="organizations",e.CONSUMERS="consumers"}(i||(i={})),function(e){e.CLIENT_ID="client_id",e.REDIRECT_URI="redirect_uri",e.RESPONSE_TYPE="response_type",e.RESPONSE_MODE="response_mode",e.GRANT_TYPE="grant_type",e.CLAIMS="claims",e.SCOPE="scope",e.ERROR="error",e.ERROR_DESCRIPTION="error_description",e.ACCESS_TOKEN="access_token",e.ID_TOKEN="id_token",e.REFRESH_TOKEN="refresh_token",e.EXPIRES_IN="expires_in",e.STATE="state",e.NONCE="nonce",e.PROMPT="prompt",e.SESSION_STATE="session_state",e.CLIENT_INFO="client_info",e.CODE="code",e.CODE_CHALLENGE="code_challenge",e.CODE_CHALLENGE_METHOD="code_challenge_method",e.CODE_VERIFIER="code_verifier",e.CLIENT_REQUEST_ID="client-request-id",e.X_CLIENT_SKU="x-client-SKU",e.X_CLIENT_VER="x-client-VER",e.X_CLIENT_OS="x-client-OS",e.X_CLIENT_CPU="x-client-CPU",e.X_CLIENT_CURR_TELEM="x-client-current-telemetry",e.X_CLIENT_LAST_TELEM="x-client-last-telemetry",e.X_MS_LIB_CAPABILITY="x-ms-lib-capability",e.X_APP_NAME="x-app-name",e.X_APP_VER="x-app-ver",e.POST_LOGOUT_URI="post_logout_redirect_uri",e.ID_TOKEN_HINT="id_token_hint",e.DEVICE_CODE="device_code",e.CLIENT_SECRET="client_secret",e.CLIENT_ASSERTION="client_assertion",e.CLIENT_ASSERTION_TYPE="client_assertion_type",e.TOKEN_TYPE="token_type",e.REQ_CNF="req_cnf",e.OBO_ASSERTION="assertion",e.REQUESTED_TOKEN_USE="requested_token_use",e.ON_BEHALF_OF="on_behalf_of",e.FOCI="foci",e.CCS_HEADER="X-AnchorMailbox",e.RETURN_SPA_CODE="return_spa_code",e.NATIVE_BROKER="nativebroker",e.LOGOUT_HINT="logout_hint"}(a||(a={})),function(e){e.ACCESS_TOKEN="access_token",e.XMS_CC="xms_cc"}(s||(s={}));var f,h={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"};!function(e){e.ACCOUNT="account",e.SID="sid",e.LOGIN_HINT="login_hint",e.ID_TOKEN="id_token",e.DOMAIN_HINT="domain_hint",e.ORGANIZATIONS="organizations",e.CONSUMERS="consumers",e.ACCOUNT_ID="accountIdentifier",e.HOMEACCOUNT_ID="homeAccountIdentifier"}(f||(f={}));var p,g,v,m,y,b,E,w={PLAIN:"plain",S256:"S256"};!function(e){e.QUERY="query",e.FRAGMENT="fragment",e.FORM_POST="form_post"}(p||(p={})),function(e){e.IMPLICIT_GRANT="implicit",e.AUTHORIZATION_CODE_GRANT="authorization_code",e.CLIENT_CREDENTIALS_GRANT="client_credentials",e.RESOURCE_OWNER_PASSWORD_GRANT="password",e.REFRESH_TOKEN_GRANT="refresh_token",e.DEVICE_CODE_GRANT="device_code",e.JWT_BEARER="urn:ietf:params:oauth:grant-type:jwt-bearer"}(g||(g={})),function(e){e.MSSTS_ACCOUNT_TYPE="MSSTS",e.ADFS_ACCOUNT_TYPE="ADFS",e.MSAV1_ACCOUNT_TYPE="MSA",e.GENERIC_ACCOUNT_TYPE="Generic"}(v||(v={})),function(e){e.CACHE_KEY_SEPARATOR="-",e.CLIENT_INFO_SEPARATOR="."}(m||(m={})),function(e){e.ID_TOKEN="IdToken",e.ACCESS_TOKEN="AccessToken",e.ACCESS_TOKEN_WITH_AUTH_SCHEME="AccessToken_With_AuthScheme",e.REFRESH_TOKEN="RefreshToken"}(y||(y={})),function(e){e.ACCOUNT="Account",e.CREDENTIAL="Credential",e.ID_TOKEN="IdToken",e.ACCESS_TOKEN="AccessToken",e.REFRESH_TOKEN="RefreshToken",e.APP_METADATA="AppMetadata",e.TEMPORARY="TempCache",e.TELEMETRY="Telemetry",e.UNDEFINED="Undefined",e.THROTTLING="Throttling"}(b||(b={})),function(e){e[e.ADFS=1001]="ADFS",e[e.MSA=1002]="MSA",e[e.MSSTS=1003]="MSSTS",e[e.GENERIC=1004]="GENERIC",e[e.ACCESS_TOKEN=2001]="ACCESS_TOKEN",e[e.REFRESH_TOKEN=2002]="REFRESH_TOKEN",e[e.ID_TOKEN=2003]="ID_TOKEN",e[e.APP_METADATA=3001]="APP_METADATA",e[e.UNDEFINED=9999]="UNDEFINED"}(E||(E={}));var _,S="appmetadata",T="client_info",C="1",I={CACHE_KEY:"authority-metadata",REFRESH_TIME_SECONDS:86400};!function(e){e.CONFIG="config",e.CACHE="cache",e.NETWORK="network",e.HARDCODED_VALUES="hardcoded_values"}(_||(_={}));var k,R={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"};!function(e){e.BEARER="Bearer",e.POP="pop",e.SSH="ssh-cert"}(k||(k={}));var A,P,O,N,x,M,U={DEFAULT_THROTTLE_TIME_SECONDS:60,DEFAULT_MAX_THROTTLE_TIME_SECONDS:3600,THROTTLING_PREFIX:"throttling",X_MS_LIB_CAPABILITY_VALUE:"retry-after, h429"},L={INVALID_GRANT_ERROR:"invalid_grant",CLIENT_MISMATCH_ERROR:"client_mismatch"};!function(e){e.username="username",e.password="password"}(A||(A={})),function(e){e[e.httpSuccess=200]="httpSuccess",e[e.httpBadRequest=400]="httpBadRequest"}(P||(P={})),function(e){e.FAILED_AUTO_DETECTION="1",e.INTERNAL_CACHE="2",e.ENVIRONMENT_VARIABLE="3",e.IMDS="4"}(O||(O={})),function(e){e.CONFIGURED_MATCHES_DETECTED="1",e.CONFIGURED_NO_AUTO_DETECTION="2",e.CONFIGURED_NOT_DETECTED="3",e.AUTO_DETECTION_REQUESTED_SUCCESSFUL="4",e.AUTO_DETECTION_REQUESTED_FAILED="5"}(N||(N={})),function(e){e.NO_CACHE_HIT="0",e.FORCE_REFRESH="1",e.NO_CACHED_ACCESS_TOKEN="2",e.CACHED_ACCESS_TOKEN_EXPIRED="3",e.REFRESH_CACHED_ACCESS_TOKEN="4"}(x||(x={})),function(e){e.Jwt="JWT",e.Jwk="JWK"}(M||(M={}))},14947:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(49408),o=function(){function e(){}return e.decodeAuthToken=function(t){if(e.isEmpty(t))throw r.e.createTokenNullOrEmptyError(t);var n=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(t);if(!n||n.length<4)throw r.e.createTokenParsingError("Given token is malformed: "+JSON.stringify(t));return{header:n[1],JWSPayload:n[2],JWSSig:n[3]}},e.isEmpty=function(e){return"undefined"===typeof e||!e||0===e.length},e.isEmptyObj=function(t){if(t&&!e.isEmpty(t))try{var n=JSON.parse(t);return 0===Object.keys(n).length}catch(r){}return!0},e.startsWith=function(e,t){return 0===e.indexOf(t)},e.endsWith=function(e,t){return e.length>=t.length&&e.lastIndexOf(t)===e.length-t.length},e.queryStringToObject=function(e){var t={},n=e.split("&"),r=function(e){return decodeURIComponent(e.replace(/\+/g," "))};return n.forEach((function(e){if(e.trim()){var n=e.split(/=(.+)/g,2),o=n[0],i=n[1];o&&i&&(t[r(o)]=r(i))}})),t},e.trimArrayEntries=function(e){return e.map((function(e){return e.trim()}))},e.removeEmptyStringsFromArray=function(t){return t.filter((function(t){return!e.isEmpty(t)}))},e.jsonParseHelper=function(e){try{return JSON.parse(e)}catch(t){return null}},e.matchPattern=function(e,t){return new RegExp(e.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(t)},e}()},30657:function(e,t,n){"use strict";n.d(t,{rL:function(){return I},kq:function(){return A},Fp:function(){return k}});var r=n(15671),o=n(43144),i=n(97326),a=n(60136),s=n(27277),c=n(70885),u=n(1413),l=n(42982),d=n(47313),f=n(56220),h={initialize:function(){return Promise.reject(f.W.createStubPcaInstanceCalledError())},acquireTokenPopup:function(){return Promise.reject(f.W.createStubPcaInstanceCalledError())},acquireTokenRedirect:function(){return Promise.reject(f.W.createStubPcaInstanceCalledError())},acquireTokenSilent:function(){return Promise.reject(f.W.createStubPcaInstanceCalledError())},acquireTokenByCode:function(){return Promise.reject(f.W.createStubPcaInstanceCalledError())},getAllAccounts:function(){return[]},getAccountByHomeId:function(){return null},getAccountByUsername:function(){return null},getAccountByLocalId:function(){return null},handleRedirectPromise:function(){return Promise.reject(f.W.createStubPcaInstanceCalledError())},loginPopup:function(){return Promise.reject(f.W.createStubPcaInstanceCalledError())},loginRedirect:function(){return Promise.reject(f.W.createStubPcaInstanceCalledError())},logout:function(){return Promise.reject(f.W.createStubPcaInstanceCalledError())},logoutRedirect:function(){return Promise.reject(f.W.createStubPcaInstanceCalledError())},logoutPopup:function(){return Promise.reject(f.W.createStubPcaInstanceCalledError())},ssoSilent:function(){return Promise.reject(f.W.createStubPcaInstanceCalledError())},addEventCallback:function(){return null},removeEventCallback:function(){},addPerformanceCallback:function(){return""},removePerformanceCallback:function(){return!1},enableAccountStorageEvents:function(){},disableAccountStorageEvents:function(){},getTokenCache:function(){throw f.W.createStubPcaInstanceCalledError()},getLogger:function(){throw f.W.createStubPcaInstanceCalledError()},setLogger:function(){},setActiveAccount:function(){},getActiveAccount:function(){return null},initializeWrapperLibrary:function(){},setNavigationClient:function(){},getConfiguration:function(){throw f.W.createStubPcaInstanceCalledError()}},p=n(30584),g=n(20318),v=n(29818),m=function(){function e(){}return e.getInteractionStatusFromEvent=function(e,t){switch(e.eventType){case v.t.LOGIN_START:return p.$H.Login;case v.t.SSO_SILENT_START:return p.$H.SsoSilent;case v.t.ACQUIRE_TOKEN_START:if(e.interactionType===p.s_.Redirect||e.interactionType===p.s_.Popup)return p.$H.AcquireToken;break;case v.t.HANDLE_REDIRECT_START:return p.$H.HandleRedirect;case v.t.LOGOUT_START:return p.$H.Logout;case v.t.SSO_SILENT_SUCCESS:case v.t.SSO_SILENT_FAILURE:if(t&&t!==p.$H.SsoSilent)break;return p.$H.None;case v.t.LOGOUT_END:if(t&&t!==p.$H.Logout)break;return p.$H.None;case v.t.HANDLE_REDIRECT_END:if(t&&t!==p.$H.HandleRedirect)break;return p.$H.None;case v.t.LOGIN_SUCCESS:case v.t.LOGIN_FAILURE:case v.t.ACQUIRE_TOKEN_SUCCESS:case v.t.ACQUIRE_TOKEN_FAILURE:if(e.interactionType===p.s_.Redirect||e.interactionType===p.s_.Popup){if(t&&t!==p.$H.Login&&t!==p.$H.AcquireToken)break;return p.$H.None}}return null},e}(),y=n(74603),b={instance:h,inProgress:p.$H.None,accounts:[],logger:new g.Y({})},E=(0,d.createContext)(b);E.Consumer;function w(e,t){if(e.length!==t.length)return!1;var n=(0,l.Z)(t);return e.every((function(e){var t=n.shift();return!(!e||!t)&&(e.homeAccountId===t.homeAccountId&&e.localAccountId===t.localAccountId&&e.username===t.username)}))}function _(e,t){return e.length>0&&(t.homeAccountId||t.localAccountId||t.username)&&e.filter((function(e){return(!t.username||t.username.toLowerCase()===e.username.toLowerCase())&&((!t.homeAccountId||t.homeAccountId.toLowerCase()===e.homeAccountId.toLowerCase())&&(!t.localAccountId||t.localAccountId.toLowerCase()===e.localAccountId.toLowerCase()))}))[0]||null}var S,T="1.4.10";!function(e){e.UNBLOCK_INPROGRESS="UNBLOCK_INPROGRESS",e.EVENT="EVENT"}(S||(S={}));var C=function(e,t){var n=t.type,r=t.payload,o=e.inProgress;switch(n){case S.UNBLOCK_INPROGRESS:e.inProgress===p.$H.Startup&&(o=p.$H.None,r.logger.info("MsalProvider - handleRedirectPromise resolved, setting inProgress to 'none'"));break;case S.EVENT:var i=r.message,a=m.getInteractionStatusFromEvent(i,e.inProgress);a&&(r.logger.info("MsalProvider - ".concat(i.eventType," results in setting inProgress from ").concat(e.inProgress," to ").concat(a)),o=a);break;default:throw new Error("Unknown action type: ".concat(n))}var s=r.instance.getAllAccounts();return o===e.inProgress||w(s,e.accounts)?o!==e.inProgress?(0,u.Z)((0,u.Z)({},e),{},{inProgress:o}):w(s,e.accounts)?e:(0,u.Z)((0,u.Z)({},e),{},{accounts:s}):(0,u.Z)((0,u.Z)({},e),{},{inProgress:o,accounts:s})};function I(e){var t=e.instance,n=e.children;(0,d.useEffect)((function(){t.initializeWrapperLibrary(p.lA.React,T)}),[t]);var r=(0,d.useMemo)((function(){return t.getLogger().clone("@azure/msal-react",T)}),[t]),o=(0,d.useReducer)(C,void 0,(function(){return{inProgress:p.$H.Startup,accounts:t.getAllAccounts()}})),i=(0,c.Z)(o,2),a=i[0],s=i[1];(0,d.useEffect)((function(){var e=t.addEventCallback((function(e){s({payload:{instance:t,logger:r,message:e},type:S.EVENT})}));return r.verbose("MsalProvider - Registered event callback with id: ".concat(e)),t.initialize().then((function(){t.handleRedirectPromise().catch((function(){})).finally((function(){s({payload:{instance:t,logger:r},type:S.UNBLOCK_INPROGRESS})}))})),function(){e&&(r.verbose("MsalProvider - Removing event callback ".concat(e)),t.removeEventCallback(e))}}),[t,r]);var u={instance:t,inProgress:a.inProgress,accounts:a.accounts,logger:r};return d.createElement(E.Provider,{value:u},n)}var k=function(){return(0,d.useContext)(E)};function R(e,t){return t&&(t.username||t.homeAccountId||t.localAccountId)?!!_(e,t):e.length>0}function A(e){var t=k().accounts,n=(0,d.useState)((function(){return R(t,e)})),r=(0,c.Z)(n,2),o=r[0],i=r[1];return(0,d.useEffect)((function(){i(R(t,e))}),[t,e]),o}var P={code:"invalid_interaction_type",desc:"The provided interaction type is invalid."},O={code:"unable_to_fallback_to_interaction",desc:"Interaction is required but another interaction is already in progress. Please try again when the current interaction is complete."};y.l},30304:function(e,t,n){"use strict";n.d(t,{X3:function(){return B},aU:function(){return f},Zq:function(){return H},q_:function(){return y},Ep:function(){return _},kG:function(){return U},WK:function(){return W},RQ:function(){return F},fp:function(){return I},cP:function(){return S},pC:function(){return q},Zn:function(){return M}});var r=n(43144),o=n(15671),i=n(60136),a=n(27277),s=n(61120),c=n(89611);var u=n(78814);function l(e,t,n){return l=(0,u.Z)()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&(0,c.Z)(o,n.prototype),o},l.apply(null,arguments)}function d(e){var t="function"===typeof Map?new Map:void 0;return d=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return l(e,arguments,(0,s.Z)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,c.Z)(r,e)},d(e)}var f,h=n(70885),p=n(42982);function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(f||(f={}));var v,m="popstate";function y(e){return void 0===e&&(e={}),C((function(e,t){var n=S(e.location.hash.substr(1)),r=n.pathname,o=void 0===r?"/":r,i=n.search,a=void 0===i?"":i,s=n.hash;return w("",{pathname:o,search:a,hash:void 0===s?"":s},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){var n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){var o=e.location.href,i=o.indexOf("#");r=-1===i?o:o.slice(0,i)}return r+"#"+("string"===typeof t?t:_(t))}),(function(e,t){b("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function b(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function E(e){return{usr:e.state,key:e.key}}function w(e,t,n,r){return void 0===n&&(n=null),g({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?S(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function _(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,i=e.hash,a=void 0===i?"":i;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function S(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function T(e){var t="undefined"!==typeof window&&"undefined"!==typeof window.location&&"null"!==window.location.origin?window.location.origin:"unknown://unknown",n="string"===typeof e?e:_(e);return new URL(n,t)}function C(e,t,n,r){void 0===r&&(r={});var o=r,i=o.window,a=void 0===i?document.defaultView:i,s=o.v5Compat,c=void 0!==s&&s,u=a.history,l=f.Pop,d=null;function h(){l=f.Pop,d&&d({action:l,location:p.location})}var p={get action(){return l},get location(){return e(a,u)},listen:function(e){if(d)throw new Error("A history only accepts one active listener");return a.addEventListener(m,h),d=e,function(){a.removeEventListener(m,h),d=null}},createHref:function(e){return t(a,e)},encodeLocation:function(e){var t=T(_(e));return g({},e,{pathname:t.pathname,search:t.search,hash:t.hash})},push:function(e,t){l=f.Push;var r=w(p.location,e,t);n&&n(r,e);var o=E(r),i=p.createHref(r);try{u.pushState(o,"",i)}catch(s){a.location.assign(i)}c&&d&&d({action:l,location:p.location})},replace:function(e,t){l=f.Replace;var r=w(p.location,e,t);n&&n(r,e);var o=E(r),i=p.createHref(r);u.replaceState(o,"",i),c&&d&&d({action:l,location:p.location})},go:function(e){return u.go(e)}};return p}function I(e,t,n){void 0===n&&(n="/");var r=M(("string"===typeof t?S(t):t).pathname||"/",n);if(null==r)return null;var o=k(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(o);for(var i=null,a=0;null==i&&a<o.length;++a)i=O(o[a],x(r));return i}function k(e,t,n,r){return void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r=""),e.forEach((function(e,o){var i={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};i.relativePath.startsWith("/")&&(U(i.relativePath.startsWith(r),'Absolute route path "'+i.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(r.length));var a=F([r,i.relativePath]),s=n.concat(i);e.children&&e.children.length>0&&(U(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+a+'".'),k(e.children,t,s,a)),(null!=e.path||e.index)&&t.push({path:a,score:P(a,e.index),routesMeta:s})})),t}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(v||(v={}));var R=/^:\w+$/,A=function(e){return"*"===e};function P(e,t){var n=e.split("/"),r=n.length;return n.some(A)&&(r+=-2),t&&(r+=2),n.filter((function(e){return!A(e)})).reduce((function(e,t){return e+(R.test(t)?3:""===t?1:10)}),r)}function O(e,t){for(var n=e.routesMeta,r={},o="/",i=[],a=0;a<n.length;++a){var s=n[a],c=a===n.length-1,u="/"===o?t:t.slice(o.length)||"/",l=N({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},u);if(!l)return null;Object.assign(r,l.params);var d=s.route;i.push({params:r,pathname:F([o,l.pathname]),pathnameBase:j(F([o,l.pathnameBase])),route:d}),"/"!==l.pathnameBase&&(o=F([o,l.pathnameBase]))}return i}function N(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);L("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(function(e,t){return r.push(t),"([^\\/]+)"}));e.endsWith("*")?(r.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");return[new RegExp(o,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),r=(0,h.Z)(n,2),o=r[0],i=r[1],a=t.match(o);if(!a)return null;var s=a[0],c=s.replace(/(.)\/+$/,"$1"),u=a.slice(1);return{params:i.reduce((function(e,t,n){if("*"===t){var r=u[n]||"";c=s.slice(0,s.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return L(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(u[n]||"",t),e}),{}),pathname:s,pathnameBase:c,pattern:e}}function x(e){try{return decodeURI(e)}catch(t){return L(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function M(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function U(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function L(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function D(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function H(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function q(e,t,n,r){var o;void 0===r&&(r=!1),"string"===typeof e?o=S(e):(U(!(o=g({},e)).pathname||!o.pathname.includes("?"),D("?","pathname","search",o)),U(!o.pathname||!o.pathname.includes("#"),D("#","pathname","hash",o)),U(!o.search||!o.search.includes("#"),D("#","search","hash",o)));var i,a=""===e||""===o.pathname,s=a?"/":o.pathname;if(r||null==s)i=n;else{var c=t.length-1;if(s.startsWith("..")){for(var u=s.split("/");".."===u[0];)u.shift(),c-=1;o.pathname=u.join("/")}i=c>=0?t[c]:"/"}var l=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?S(e):e,r=n.pathname,o=n.search,i=void 0===o?"":o,a=n.hash,s=void 0===a?"":a,c=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:c,search:G(i),hash:z(s)}}(o,i),d=s&&"/"!==s&&s.endsWith("/"),f=(a||"."===s)&&n.endsWith("/");return l.pathname.endsWith("/")||!d&&!f||(l.pathname+="/"),l}var F=function(e){return e.join("/").replace(/\/\/+/g,"/")},j=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},G=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},z=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},B=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,r.Z)(n)}(d(Error));var K=(0,r.Z)((function e(t,n,r){(0,o.Z)(this,e),this.status=t,this.statusText=n||"",this.data=r}));function W(e){return e instanceof K}"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;var J=new Set(["POST","PUT","PATCH","DELETE"]);new Set(["GET","HEAD"].concat((0,p.Z)(J)))},68973:function(e,t,n){var r=n(30171),o=n(5065),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a function")}},68458:function(e,t,n){var r=n(73011),o=n(5065),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a constructor")}},74375:function(e,t,n){var r=n(30171),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},99363:function(e,t,n){var r=n(75508),o=n(83302),i=n(81684).f,a=r("unscopables"),s=Array.prototype;void 0==s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},76183:function(e,t,n){"use strict";var r=n(19838).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},35793:function(e,t,n){var r=n(81778),o=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw o("Incorrect invocation")}},59799:function(e,t,n){var r=n(34965),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not an object")}},30167:function(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},9603:function(e,t,n){var r=n(66111);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},80049:function(e,t,n){"use strict";var r,o,i,a=n(30167),s=n(37420),c=n(19782),u=n(30171),l=n(34965),d=n(78320),f=n(5249),h=n(5065),p=n(87454),g=n(63609),v=n(81684).f,m=n(81778),y=n(7209),b=n(32695),E=n(75508),w=n(39020),_=n(25313),S=_.enforce,T=_.get,C=c.Int8Array,I=C&&C.prototype,k=c.Uint8ClampedArray,R=k&&k.prototype,A=C&&y(C),P=I&&y(I),O=Object.prototype,N=c.TypeError,x=E("toStringTag"),M=w("TYPED_ARRAY_TAG"),U="TypedArrayConstructor",L=a&&!!b&&"Opera"!==f(c.opera),D=!1,H={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},q={BigInt64Array:8,BigUint64Array:8},F=function(e){if(!l(e))return!1;var t=f(e);return d(H,t)||d(q,t)};for(r in H)(i=(o=c[r])&&o.prototype)?S(i).TypedArrayConstructor=o:L=!1;for(r in q)(i=(o=c[r])&&o.prototype)&&(S(i).TypedArrayConstructor=o);if((!L||!u(A)||A===Function.prototype)&&(A=function(){throw N("Incorrect invocation")},L))for(r in H)c[r]&&b(c[r],A);if((!L||!P||P===O)&&(P=A.prototype,L))for(r in H)c[r]&&b(c[r].prototype,P);if(L&&y(R)!==P&&b(R,P),s&&!d(P,x))for(r in D=!0,v(P,x,{get:function(){return l(this)?this[M]:void 0}}),H)c[r]&&p(c[r],M,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:D&&M,aTypedArray:function(e){if(F(e))return e;throw N("Target is not a typed array")},aTypedArrayConstructor:function(e){if(u(e)&&(!b||m(A,e)))return e;throw N(h(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(s){if(n)for(var o in H){var i=c[o];if(i&&d(i.prototype,e))try{delete i.prototype[e]}catch(a){try{i.prototype[e]=t}catch(u){}}}P[e]&&!n||g(P,e,n?t:L&&I[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(s){if(b){if(n)for(r in H)if((o=c[r])&&d(o,e))try{delete o[e]}catch(i){}if(A[e]&&!n)return;try{return g(A,e,n?t:L&&A[e]||t)}catch(i){}}for(r in H)!(o=c[r])||o[e]&&!n||g(o,e,t)}},getTypedArrayConstructor:function e(t){var n=y(t);if(l(n)){var r=T(n);return r&&d(r,U)?r.TypedArrayConstructor:e(n)}},isView:function(e){if(!l(e))return!1;var t=f(e);return"DataView"===t||d(H,t)||d(q,t)},isTypedArray:F,TypedArray:A,TypedArrayPrototype:P}},62403:function(e,t,n){"use strict";var r=n(19782),o=n(34534),i=n(37420),a=n(30167),s=n(21774),c=n(87454),u=n(22631),l=n(66111),d=n(35793),f=n(56501),h=n(61234),p=n(35761),g=n(44221),v=n(7209),m=n(32695),y=n(59814).f,b=n(81684).f,E=n(76206),w=n(92914),_=n(21117),S=n(25313),T=s.PROPER,C=s.CONFIGURABLE,I=S.get,k=S.set,R="ArrayBuffer",A="DataView",P="Wrong index",O=r.ArrayBuffer,N=O,x=N&&N.prototype,M=r.DataView,U=M&&M.prototype,L=Object.prototype,D=r.Array,H=r.RangeError,q=o(E),F=o([].reverse),j=g.pack,G=g.unpack,z=function(e){return[255&e]},B=function(e){return[255&e,e>>8&255]},K=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},W=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},J=function(e){return j(e,23,4)},V=function(e){return j(e,52,8)},Y=function(e,t){b(e.prototype,t,{get:function(){return I(this)[t]}})},Q=function(e,t,n,r){var o=p(n),i=I(e);if(o+t>i.byteLength)throw H(P);var a=I(i.buffer).bytes,s=o+i.byteOffset,c=w(a,s,s+t);return r?c:F(c)},$=function(e,t,n,r,o,i){var a=p(n),s=I(e);if(a+t>s.byteLength)throw H(P);for(var c=I(s.buffer).bytes,u=a+s.byteOffset,l=r(+o),d=0;d<t;d++)c[u+d]=l[i?d:t-d-1]};if(a){var Z=T&&O.name!==R;if(l((function(){O(1)}))&&l((function(){new O(-1)}))&&!l((function(){return new O,new O(1.5),new O(NaN),1!=O.length||Z&&!C})))Z&&C&&c(O,"name",R);else{(N=function(e){return d(this,x),new O(p(e))}).prototype=x;for(var X,ee=y(O),te=0;ee.length>te;)(X=ee[te++])in N||c(N,X,O[X]);x.constructor=N}m&&v(U)!==L&&m(U,L);var ne=new M(new N(2)),re=o(U.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||u(U,{setInt8:function(e,t){re(this,e,t<<24>>24)},setUint8:function(e,t){re(this,e,t<<24>>24)}},{unsafe:!0})}else x=(N=function(e){d(this,x);var t=p(e);k(this,{bytes:q(D(t),0),byteLength:t}),i||(this.byteLength=t)}).prototype,U=(M=function(e,t,n){d(this,U),d(e,x);var r=I(e).byteLength,o=f(t);if(o<0||o>r)throw H("Wrong offset");if(o+(n=void 0===n?r-o:h(n))>r)throw H("Wrong length");k(this,{buffer:e,byteLength:n,byteOffset:o}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)}).prototype,i&&(Y(N,"byteLength"),Y(M,"buffer"),Y(M,"byteLength"),Y(M,"byteOffset")),u(U,{getInt8:function(e){return Q(this,1,e)[0]<<24>>24},getUint8:function(e){return Q(this,1,e)[0]},getInt16:function(e){var t=Q(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=Q(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return W(Q(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return W(Q(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return G(Q(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return G(Q(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){$(this,1,e,z,t)},setUint8:function(e,t){$(this,1,e,z,t)},setInt16:function(e,t){$(this,2,e,B,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){$(this,2,e,B,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){$(this,4,e,K,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){$(this,4,e,K,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){$(this,4,e,J,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){$(this,8,e,V,t,arguments.length>2?arguments[2]:void 0)}});_(N,R),_(M,A),e.exports={ArrayBuffer:N,DataView:M}},88891:function(e,t,n){"use strict";var r=n(11446),o=n(53864),i=n(76425),a=n(77185),s=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),c=i(n),u=o(e,c),l=o(t,c),d=arguments.length>2?arguments[2]:void 0,f=s((void 0===d?c:o(d,c))-l,c-u),h=1;for(l<u&&u<l+f&&(h=-1,l+=f-1,u+=f-1);f-- >0;)l in n?n[u]=n[l]:a(n,u),u+=h,l+=h;return n}},76206:function(e,t,n){"use strict";var r=n(11446),o=n(53864),i=n(76425);e.exports=function(e){for(var t=r(this),n=i(t),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,u=void 0===c?n:o(c,n);u>s;)t[s++]=e;return t}},3424:function(e,t,n){"use strict";var r=n(79056).forEach,o=n(11689)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},45034:function(e,t,n){var r=n(76425);e.exports=function(e,t){for(var n=0,o=r(t),i=new e(o);o>n;)i[n]=t[n++];return i}},97509:function(e,t,n){"use strict";var r=n(25852),o=n(37892),i=n(11446),a=n(19780),s=n(77487),c=n(73011),u=n(76425),l=n(36072),d=n(68029),f=n(84284),h=Array;e.exports=function(e){var t=i(e),n=c(this),p=arguments.length,g=p>1?arguments[1]:void 0,v=void 0!==g;v&&(g=r(g,p>2?arguments[2]:void 0));var m,y,b,E,w,_,S=f(t),T=0;if(!S||this===h&&s(S))for(m=u(t),y=n?new this(m):h(m);m>T;T++)_=v?g(t[T],T):t[T],l(y,T,_);else for(w=(E=d(t,S)).next,y=n?new this:[];!(b=o(w,E)).done;T++)_=v?a(E,g,[b.value,T],!0):b.value,l(y,T,_);return y.length=T,y}},49821:function(e,t,n){var r=n(76494),o=n(53864),i=n(76425),a=function(e){return function(t,n,a){var s,c=r(t),u=i(c),l=o(a,u);if(e&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},79056:function(e,t,n){var r=n(25852),o=n(34534),i=n(70769),a=n(11446),s=n(76425),c=n(41180),u=o([].push),l=function(e){var t=1==e,n=2==e,o=3==e,l=4==e,d=6==e,f=7==e,h=5==e||d;return function(p,g,v,m){for(var y,b,E=a(p),w=i(E),_=r(g,v),S=s(w),T=0,C=m||c,I=t?C(p,S):n||f?C(p,0):void 0;S>T;T++)if((h||T in w)&&(b=_(y=w[T],T,E),e))if(t)I[T]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return T;case 2:u(I,y)}else switch(e){case 4:return!1;case 7:u(I,y)}return d?-1:o||l?l:I}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},34116:function(e,t,n){"use strict";var r=n(12256),o=n(76494),i=n(56501),a=n(76425),s=n(11689),c=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,d=s("lastIndexOf"),f=l||!d;e.exports=f?function(e){if(l)return r(u,this,arguments)||0;var t=o(this),n=a(t),s=n-1;for(arguments.length>1&&(s=c(s,i(arguments[1]))),s<0&&(s=n+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:u},76205:function(e,t,n){var r=n(66111),o=n(75508),i=n(32504),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},11689:function(e,t,n){"use strict";var r=n(66111);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},69998:function(e,t,n){var r=n(68973),o=n(11446),i=n(70769),a=n(76425),s=TypeError,c=function(e){return function(t,n,c,u){r(n);var l=o(t),d=i(l),f=a(l),h=e?f-1:0,p=e?-1:1;if(c<2)for(;;){if(h in d){u=d[h],h+=p;break}if(h+=p,e?h<0:f<=h)throw s("Reduce of empty array with no initial value")}for(;e?h>=0:f>h;h+=p)h in d&&(u=n(u,d[h],h,l));return u}};e.exports={left:c(!1),right:c(!0)}},39217:function(e,t,n){"use strict";var r=n(37420),o=n(38162),i=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!a(e,"length").writable)throw i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},92914:function(e,t,n){var r=n(53864),o=n(76425),i=n(36072),a=Array,s=Math.max;e.exports=function(e,t,n){for(var c=o(e),u=r(t,c),l=r(void 0===n?c:n,c),d=a(s(l-u,0)),f=0;u<l;u++,f++)i(d,f,e[u]);return d.length=f,d}},51346:function(e,t,n){var r=n(34534);e.exports=r([].slice)},65082:function(e,t,n){var r=n(92914),o=Math.floor,i=function(e,t){for(var n,r,o=e.length,i=1;i<o;){for(r=i,n=e[i];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==i++&&(e[r]=n)}return e},a=function(e,t,n,r){for(var o=t.length,i=n.length,a=0,s=0;a<o||s<i;)e[a+s]=a<o&&s<i?r(t[a],n[s])<=0?t[a++]:n[s++]:a<o?t[a++]:n[s++];return e};e.exports=function e(t,n){var s=t.length,c=o(s/2);return s<8?i(t,n):a(t,e(r(t,0,c),n),e(r(t,c),n),n)}},61520:function(e,t,n){var r=n(38162),o=n(73011),i=n(34965),a=n(75508)("species"),s=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(o(t)&&(t===s||r(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},41180:function(e,t,n){var r=n(61520);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},79651:function(e,t,n){"use strict";var r=n(66780),o=n(34534),i=n(68973),a=n(90486),s=n(76425),c=n(11446),u=n(41180),l=r("Map"),d=l.prototype,f=o(d.forEach),h=o(d.has),p=o(d.set),g=o([].push);e.exports=function(e){var t,n,r,o=c(this),d=s(o),v=u(o,0),m=new l,y=a(e)?function(e){return e}:i(e);for(t=0;t<d;t++)r=y(n=o[t]),h(m,r)||p(m,r,n);return f(m,(function(e){g(v,e)})),v}},19780:function(e,t,n){var r=n(59799),o=n(78300);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(a){o(e,"throw",a)}}},21784:function(e,t,n){var r=n(75508)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(s){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(s){}return n}},73135:function(e,t,n){var r=n(83108),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},5249:function(e,t,n){var r=n(32105),o=n(30171),i=n(73135),a=n(75508)("toStringTag"),s=Object,c="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=s(e),a))?n:c?i(t):"Object"==(r=i(t))&&o(t.callee)?"Arguments":r}},91137:function(e,t,n){"use strict";var r=n(37892),o=n(68973),i=n(59799);e.exports=function(){for(var e=i(this),t=o(e.add),n=0,a=arguments.length;n<a;n++)r(t,e,arguments[n]);return e}},36330:function(e,t,n){"use strict";var r=n(37892),o=n(68973),i=n(59799);e.exports=function(){for(var e,t=i(this),n=o(t.delete),a=!0,s=0,c=arguments.length;s<c;s++)e=r(n,t,arguments[s]),a=a&&e;return!!a}},48762:function(e,t,n){"use strict";var r=n(25852),o=n(37892),i=n(68973),a=n(68458),s=n(90486),c=n(81413),u=[].push;e.exports=function(e){var t,n,l,d,f=arguments.length,h=f>1?arguments[1]:void 0;return a(this),(t=void 0!==h)&&i(h),s(e)?new this:(n=[],t?(l=0,d=r(h,f>2?arguments[2]:void 0),c(e,(function(e){o(u,n,d(e,l++))}))):c(e,u,{that:n}),new this(n))}},23341:function(e,t,n){"use strict";var r=n(51346);e.exports=function(){return new this(r(arguments))}},44695:function(e,t,n){"use strict";var r=n(81684).f,o=n(83302),i=n(22631),a=n(25852),s=n(35793),c=n(90486),u=n(81413),l=n(67432),d=n(43341),f=n(8965),h=n(37420),p=n(36781).fastKey,g=n(25313),v=g.set,m=g.getterFor;e.exports={getConstructor:function(e,t,n,l){var d=e((function(e,r){s(e,f),v(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),h||(e.size=0),c(r)||u(r,e[l],{that:e,AS_ENTRIES:n})})),f=d.prototype,g=m(t),y=function(e,t,n){var r,o,i=g(e),a=b(e,t);return a?a.value=n:(i.last=a={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),h?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,t){var n,r=g(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(f,{clear:function(){for(var e=g(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,h?e.size=0:this.size=0},delete:function(e){var t=this,n=g(t),r=b(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),h?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=g(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),i(f,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),h&&r(f,"size",{get:function(){return g(this).size}}),d},setStrong:function(e,t,n){var r=t+" Iterator",o=m(t),i=m(r);l(e,t,(function(e,t){v(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?d("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,d(void 0,!0))}),n?"entries":"values",!n,!0),f(t)}}},70655:function(e,t,n){"use strict";var r=n(34534),o=n(22631),i=n(36781).getWeakData,a=n(35793),s=n(59799),c=n(90486),u=n(34965),l=n(81413),d=n(79056),f=n(78320),h=n(25313),p=h.set,g=h.getterFor,v=d.find,m=d.findIndex,y=r([].splice),b=0,E=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},_=function(e,t){return v(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=_(this,e);if(t)return t[1]},has:function(e){return!!_(this,e)},set:function(e,t){var n=_(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&y(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var d=e((function(e,o){a(e,h),p(e,{type:t,id:b++,frozen:void 0}),c(o)||l(o,e[r],{that:e,AS_ENTRIES:n})})),h=d.prototype,v=g(t),m=function(e,t,n){var r=v(e),o=i(s(t),!0);return!0===o?E(r).set(t,n):o[r.id]=n,e};return o(h,{delete:function(e){var t=v(this);if(!u(e))return!1;var n=i(e);return!0===n?E(t).delete(e):n&&f(n,t.id)&&delete n[t.id]},has:function(e){var t=v(this);if(!u(e))return!1;var n=i(e);return!0===n?E(t).has(e):n&&f(n,t.id)}}),o(h,n?{get:function(e){var t=v(this);if(u(e)){var n=i(e);return!0===n?E(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),d}}},19881:function(e,t,n){"use strict";var r=n(73587),o=n(19782),i=n(34534),a=n(79492),s=n(63609),c=n(36781),u=n(81413),l=n(35793),d=n(30171),f=n(90486),h=n(34965),p=n(66111),g=n(21784),v=n(21117),m=n(2142);e.exports=function(e,t,n){var y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),E=y?"set":"add",w=o[e],_=w&&w.prototype,S=w,T={},C=function(e){var t=i(_[e]);s(_,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!h(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return b&&!h(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!h(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!d(w)||!(b||_.forEach&&!p((function(){(new w).entries().next()})))))S=n.getConstructor(t,e,y,E),c.enable();else if(a(e,!0)){var I=new S,k=I[E](b?{}:-0,1)!=I,R=p((function(){I.has(1)})),A=g((function(e){new w(e)})),P=!b&&p((function(){for(var e=new w,t=5;t--;)e[E](t,t);return!e.has(-0)}));A||((S=t((function(e,t){l(e,_);var n=m(new w,e,S);return f(t)||u(t,n[E],{that:n,AS_ENTRIES:y}),n}))).prototype=_,_.constructor=S),(R||P)&&(C("delete"),C("has"),y&&C("get")),(P||k)&&C(E),b&&_.clear&&delete _.clear}return T[e]=S,r({global:!0,constructor:!0,forced:S!=w},T),v(S,e),b||n.setStrong(S,e,y),S}},93700:function(e,t,n){n(49998),n(92995);var r=n(66780),o=n(83302),i=n(34965),a=Object,s=TypeError,c=r("Map"),u=r("WeakMap"),l=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=o(null)};l.prototype.get=function(e,t){return this[e]||(this[e]=t())},l.prototype.next=function(e,t,n){var r=n?this.objectsByIndex[e]||(this.objectsByIndex[e]=new u):this.primitives||(this.primitives=new c),o=r.get(t);return o||r.set(t,o=new l),o};var d=new l;e.exports=function(){var e,t,n=d,r=arguments.length;for(e=0;e<r;e++)i(t=arguments[e])&&(n=n.next(e,t,!0));if(this===a&&n===d)throw s("Composite keys must contain a non-primitive component");for(e=0;e<r;e++)i(t=arguments[e])||(n=n.next(e,t,!1));return n}},11147:function(e,t,n){var r=n(78320),o=n(20412),i=n(82530),a=n(81684);e.exports=function(e,t,n){for(var s=o(t),c=a.f,u=i.f,l=0;l<s.length;l++){var d=s[l];r(e,d)||n&&r(n,d)||c(e,d,u(t,d))}}},79475:function(e,t,n){var r=n(75508)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(o){}}return!1}},97610:function(e,t,n){var r=n(66111);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},43341:function(e){e.exports=function(e,t){return{value:e,done:t}}},87454:function(e,t,n){var r=n(37420),o=n(81684),i=n(80431);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},80431:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},36072:function(e,t,n){"use strict";var r=n(44560),o=n(81684),i=n(80431);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},31022:function(e,t,n){"use strict";var r=n(59799),o=n(83131),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw i("Incorrect hint");return o(this,e)}},18787:function(e,t,n){var r=n(18138),o=n(81684);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),o.f(e,t,n)}},63609:function(e,t,n){var r=n(30171),o=n(81684),i=n(18138),a=n(92164);e.exports=function(e,t,n,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:t;if(r(n)&&i(n,u,s),s.global)c?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(l){}c?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},22631:function(e,t,n){var r=n(63609);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},92164:function(e,t,n){var r=n(19782),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},77185:function(e,t,n){"use strict";var r=n(5065),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw o("Cannot delete property "+r(t)+" of "+r(e))}},37420:function(e,t,n){var r=n(66111);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},64620:function(e){var t="object"==typeof document&&document.all,n="undefined"==typeof t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},20916:function(e,t,n){var r=n(19782),o=n(34965),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},60895:function(e){var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},7727:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},17255:function(e,t,n){var r=n(20916)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},62554:function(e,t,n){var r=n(64771).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},32599:function(e,t,n){var r=n(43716),o=n(70520);e.exports=!r&&!o&&"object"==typeof window&&"object"==typeof document},43716:function(e){e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},90907:function(e,t,n){var r=n(64771);e.exports=/MSIE|Trident/.test(r)},37290:function(e,t,n){var r=n(64771),o=n(19782);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},98716:function(e,t,n){var r=n(64771);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},70520:function(e,t,n){var r=n(73135),o=n(19782);e.exports="process"==r(o.process)},25053:function(e,t,n){var r=n(64771);e.exports=/web0s(?!.*chrome)/i.test(r)},64771:function(e,t,n){var r=n(66780);e.exports=r("navigator","userAgent")||""},32504:function(e,t,n){var r,o,i=n(19782),a=n(64771),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},35199:function(e,t,n){var r=n(64771).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},28605:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},73785:function(e,t,n){var r=n(34534),o=Error,i=r("".replace),a=String(o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,c=s.test(a);e.exports=function(e,t){if(c&&"string"==typeof e&&!o.prepareStackTrace)for(;t--;)e=i(e,s,"");return e}},57889:function(e,t,n){var r=n(66111),o=n(80431);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},73587:function(e,t,n){var r=n(19782),o=n(82530).f,i=n(87454),a=n(63609),s=n(92164),c=n(11147),u=n(79492);e.exports=function(e,t){var n,l,d,f,h,p=e.target,g=e.global,v=e.stat;if(n=g?r:v?r[p]||s(p,{}):(r[p]||{}).prototype)for(l in t){if(f=t[l],d=e.dontCallGetSet?(h=o(n,l))&&h.value:n[l],!u(g?l:p+(v?".":"#")+l,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,l,f,e)}}},66111:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},88635:function(e,t,n){"use strict";n(4541);var r=n(34534),o=n(63609),i=n(75493),a=n(66111),s=n(75508),c=n(87454),u=s("species"),l=RegExp.prototype;e.exports=function(e,t,n,d){var f=s(e),h=!a((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),p=h&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!h||!p||n){var g=r(/./[f]),v=t(f,""[e],(function(e,t,n,o,a){var s=r(e),c=t.exec;return c===i||c===l.exec?h&&!a?{done:!0,value:g(t,n,o)}:{done:!0,value:s(n,t,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(l,f,v[1])}d&&c(l[f],"sham",!0)}},58504:function(e,t,n){"use strict";var r=n(38162),o=n(76425),i=n(60895),a=n(25852);e.exports=function e(t,n,s,c,u,l,d,f){for(var h,p=u,g=0,v=!!d&&a(d,f);g<c;)g in s&&(h=v?v(s[g],g,n):s[g],l>0&&r(h)?p=e(t,n,h,o(h),p,l-1)-1:(i(p+1),t[p]=h),p++),g++;return p}},31561:function(e,t,n){var r=n(66111);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},12256:function(e,t,n){var r=n(55830),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},25852:function(e,t,n){var r=n(34534),o=n(68973),i=n(55830),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},55830:function(e,t,n){var r=n(66111);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},5268:function(e,t,n){"use strict";var r=n(34534),o=n(68973),i=n(34965),a=n(78320),s=n(51346),c=n(55830),u=Function,l=r([].concat),d=r([].join),f={},h=function(e,t,n){if(!a(f,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";f[t]=u("C,a","return new C("+d(r,",")+")")}return f[t](e,n)};e.exports=c?u.bind:function(e){var t=o(this),n=t.prototype,r=s(arguments,1),a=function(){var n=l(r,s(arguments));return this instanceof a?h(t,n.length,n):t.apply(e,n)};return i(n)&&(a.prototype=n),a}},37892:function(e,t,n){var r=n(55830),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},21774:function(e,t,n){var r=n(37420),o=n(78320),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},83108:function(e,t,n){var r=n(55830),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},34534:function(e,t,n){var r=n(73135),o=n(83108);e.exports=function(e){if("Function"===r(e))return o(e)}},66780:function(e,t,n){var r=n(19782),o=n(30171),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},84284:function(e,t,n){var r=n(5249),o=n(62135),i=n(90486),a=n(55706),s=n(75508)("iterator");e.exports=function(e){if(!i(e))return o(e,s)||o(e,"@@iterator")||a[r(e)]}},68029:function(e,t,n){var r=n(37892),o=n(68973),i=n(59799),a=n(5065),s=n(84284),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(o(n))return i(r(n,e));throw c(a(e)+" is not iterable")}},42763:function(e,t,n){var r=n(37892);e.exports=function(e){return r(Map.prototype.entries,e)}},62135:function(e,t,n){var r=n(68973),o=n(90486);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},63851:function(e,t,n){var r=n(37892);e.exports=function(e){return r(Set.prototype.values,e)}},24527:function(e,t,n){var r=n(34534),o=n(11446),i=Math.floor,a=r("".charAt),s=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,f){var h=n+e.length,p=r.length,g=l;return void 0!==d&&(d=o(d),g=u),s(f,g,(function(o,s){var u;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,n);case"'":return c(t,h);case"<":u=d[c(s,1,-1)];break;default:var l=+s;if(0===l)return o;if(l>p){var f=i(l/10);return 0===f?o:f<=p?void 0===r[f-1]?a(s,1):r[f-1]+a(s,1):o}u=r[l-1]}return void 0===u?"":u}))}},19782:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},78320:function(e,t,n){var r=n(34534),o=n(11446),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},52819:function(e){e.exports={}},81628:function(e,t,n){var r=n(19782);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},4836:function(e,t,n){var r=n(66780);e.exports=r("document","documentElement")},53373:function(e,t,n){var r=n(37420),o=n(66111),i=n(20916);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},44221:function(e){var t=Array,n=Math.abs,r=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2;e.exports={pack:function(e,s,c){var u,l,d,f=t(c),h=8*c-s-1,p=(1<<h)-1,g=p>>1,v=23===s?r(2,-24)-r(2,-77):0,m=e<0||0===e&&1/e<0?1:0,y=0;for((e=n(e))!=e||e===1/0?(l=e!=e?1:0,u=p):(u=o(i(e)/a),e*(d=r(2,-u))<1&&(u--,d*=2),(e+=u+g>=1?v/d:v*r(2,1-g))*d>=2&&(u++,d/=2),u+g>=p?(l=0,u=p):u+g>=1?(l=(e*d-1)*r(2,s),u+=g):(l=e*r(2,g-1)*r(2,s),u=0));s>=8;)f[y++]=255&l,l/=256,s-=8;for(u=u<<s|l,h+=s;h>0;)f[y++]=255&u,u/=256,h-=8;return f[--y]|=128*m,f},unpack:function(e,t){var n,o=e.length,i=8*o-t-1,a=(1<<i)-1,s=a>>1,c=i-7,u=o-1,l=e[u--],d=127&l;for(l>>=7;c>0;)d=256*d+e[u--],c-=8;for(n=d&(1<<-c)-1,d>>=-c,c+=t;c>0;)n=256*n+e[u--],c-=8;if(0===d)d=1-s;else{if(d===a)return n?NaN:l?-1/0:1/0;n+=r(2,t),d-=s}return(l?-1:1)*n*r(2,d-t)}}},70769:function(e,t,n){var r=n(34534),o=n(66111),i=n(73135),a=Object,s=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},2142:function(e,t,n){var r=n(30171),o=n(34965),i=n(32695);e.exports=function(e,t,n){var a,s;return i&&r(a=t.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},50112:function(e,t,n){var r=n(34534),o=n(30171),i=n(58749),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},72210:function(e,t,n){var r=n(34965),o=n(87454);e.exports=function(e,t){r(t)&&"cause"in t&&o(e,"cause",t.cause)}},36781:function(e,t,n){var r=n(73587),o=n(34534),i=n(52819),a=n(34965),s=n(78320),c=n(81684).f,u=n(59814),l=n(64350),d=n(61481),f=n(39020),h=n(31561),p=!1,g=f("meta"),v=0,m=function(e){c(e,g,{value:{objectID:"O"+v++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},p=!0;var e=u.f,t=o([].splice),n={};n[g]=1,e(n).length&&(u.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===g){t(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,g)){if(!d(e))return"F";if(!t)return"E";m(e)}return e[g].objectID},getWeakData:function(e,t){if(!s(e,g)){if(!d(e))return!0;if(!t)return!1;m(e)}return e[g].weakData},onFreeze:function(e){return h&&p&&d(e)&&!s(e,g)&&m(e),e}};i[g]=!0},25313:function(e,t,n){var r,o,i,a=n(6626),s=n(19782),c=n(34965),u=n(87454),l=n(78320),d=n(58749),f=n(59325),h=n(52819),p="Object already initialized",g=s.TypeError,v=s.WeakMap;if(a||d.state){var m=d.state||(d.state=new v);m.get=m.get,m.has=m.has,m.set=m.set,r=function(e,t){if(m.has(e))throw g(p);return t.facade=e,m.set(e,t),t},o=function(e){return m.get(e)||{}},i=function(e){return m.has(e)}}else{var y=f("state");h[y]=!0,r=function(e,t){if(l(e,y))throw g(p);return t.facade=e,u(e,y,t),t},o=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}},77487:function(e,t,n){var r=n(75508),o=n(55706),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},38162:function(e,t,n){var r=n(73135);e.exports=Array.isArray||function(e){return"Array"==r(e)}},96058:function(e,t,n){var r=n(5249),o=n(34534)("".slice);e.exports=function(e){return"Big"===o(r(e),0,3)}},30171:function(e,t,n){var r=n(64620),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},73011:function(e,t,n){var r=n(34534),o=n(66111),i=n(30171),a=n(5249),s=n(66780),c=n(50112),u=function(){},l=[],d=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=r(f.exec),p=!f.exec(u),g=function(e){if(!i(e))return!1;try{return d(u,l,e),!0}catch(t){return!1}},v=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!h(f,c(e))}catch(t){return!0}};v.sham=!0,e.exports=!d||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?v:g},70626:function(e,t,n){var r=n(78320);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},79492:function(e,t,n){var r=n(66111),o=n(30171),i=/#|\.prototype\./,a=function(e,t){var n=c[s(e)];return n==l||n!=u&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},58186:function(e,t,n){var r=n(34965),o=Math.floor;e.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&o(e)===e}},90486:function(e){e.exports=function(e){return null===e||void 0===e}},34965:function(e,t,n){var r=n(30171),o=n(64620),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},42192:function(e){e.exports=!1},22872:function(e,t,n){var r=n(34965),o=n(73135),i=n(75508)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},64196:function(e,t,n){var r=n(66780),o=n(30171),i=n(81778),a=n(95398),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,s(e))}},81413:function(e,t,n){var r=n(25852),o=n(37892),i=n(59799),a=n(5065),s=n(77487),c=n(76425),u=n(81778),l=n(68029),d=n(84284),f=n(78300),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},g=p.prototype;e.exports=function(e,t,n){var v,m,y,b,E,w,_,S=n&&n.that,T=!(!n||!n.AS_ENTRIES),C=!(!n||!n.IS_RECORD),I=!(!n||!n.IS_ITERATOR),k=!(!n||!n.INTERRUPTED),R=r(t,S),A=function(e){return v&&f(v,"normal",e),new p(!0,e)},P=function(e){return T?(i(e),k?R(e[0],e[1],A):R(e[0],e[1])):k?R(e,A):R(e)};if(C)v=e.iterator;else if(I)v=e;else{if(!(m=d(e)))throw h(a(e)+" is not iterable");if(s(m)){for(y=0,b=c(e);b>y;y++)if((E=P(e[y]))&&u(g,E))return E;return new p(!1)}v=l(e,m)}for(w=C?e.next:v.next;!(_=o(w,v)).done;){try{E=P(_.value)}catch(O){f(v,"throw",O)}if("object"==typeof E&&E&&u(g,E))return E}return new p(!1)}},78300:function(e,t,n){var r=n(37892),o=n(59799),i=n(62135);e.exports=function(e,t,n){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(c){s=!0,a=c}if("throw"===t)throw n;if(s)throw a;return o(a),n}},82992:function(e,t,n){"use strict";var r=n(11647).IteratorPrototype,o=n(83302),i=n(80431),a=n(21117),s=n(55706),c=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=o(r,{next:i(+!u,n)}),a(e,l,!1,!0),s[l]=c,e}},67432:function(e,t,n){"use strict";var r=n(73587),o=n(37892),i=n(42192),a=n(21774),s=n(30171),c=n(82992),u=n(7209),l=n(32695),d=n(21117),f=n(87454),h=n(63609),p=n(75508),g=n(55706),v=n(11647),m=a.PROPER,y=a.CONFIGURABLE,b=v.IteratorPrototype,E=v.BUGGY_SAFARI_ITERATORS,w=p("iterator"),_="keys",S="values",T="entries",C=function(){return this};e.exports=function(e,t,n,a,p,v,I){c(n,t,a);var k,R,A,P=function(e){if(e===p&&U)return U;if(!E&&e in x)return x[e];switch(e){case _:case S:case T:return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",N=!1,x=e.prototype,M=x[w]||x["@@iterator"]||p&&x[p],U=!E&&M||P(p),L="Array"==t&&x.entries||M;if(L&&(k=u(L.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===b||(l?l(k,b):s(k[w])||h(k,w,C)),d(k,O,!0,!0),i&&(g[O]=C)),m&&p==S&&M&&M.name!==S&&(!i&&y?f(x,"name",S):(N=!0,U=function(){return o(M,this)})),p)if(R={values:P(S),keys:v?U:P(_),entries:P(T)},I)for(A in R)(E||N||!(A in x))&&h(x,A,R[A]);else r({target:t,proto:!0,forced:E||N},R);return i&&!I||x[w]===U||h(x,w,U,{name:p}),g[t]=U,R}},11647:function(e,t,n){"use strict";var r,o,i,a=n(66111),s=n(30171),c=n(34965),u=n(83302),l=n(7209),d=n(63609),f=n(75508),h=n(42192),p=f("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(r=o):g=!0),!c(r)||a((function(){var e={};return r[p].call(e)!==e}))?r={}:h&&(r=u(r)),s(r[p])||d(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:g}},55706:function(e){e.exports={}},76425:function(e,t,n){var r=n(61234);e.exports=function(e){return r(e.length)}},18138:function(e,t,n){var r=n(66111),o=n(30171),i=n(78320),a=n(37420),s=n(21774).CONFIGURABLE,c=n(50112),u=n(25313),l=u.enforce,d=u.get,f=Object.defineProperty,h=a&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),p=String(String).split("String"),g=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||s&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),h&&n&&i(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=l(e);return i(r,"source")||(r.source=p.join("string"==typeof t?t:"")),e};Function.prototype.toString=g((function(){return o(this)&&d(this).source||c(this)}),"toString")},19898:function(e){var t=Math.expm1,n=Math.exp;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){var t=+e;return 0==t?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}:t},32319:function(e,t,n){var r=n(49093),o=Math.abs,i=Math.pow,a=i(2,-52),s=i(2,-23),c=i(2,127)*(2-s),u=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=+e,l=o(i),d=r(i);return l<u?d*function(e){return e+1/a-1/a}(l/u/s)*u*s:(n=(t=(1+s/a)*l)-(t-l))>c||n!=n?d*(1/0):d*n}},53521:function(e){var t=Math.log,n=Math.LOG10E;e.exports=Math.log10||function(e){return t(e)*n}},26702:function(e){var t=Math.log;e.exports=Math.log1p||function(e){var n=+e;return n>-1e-8&&n<1e-8?n-n*n/2:t(1+n)}},38272:function(e){e.exports=Math.scale||function(e,t,n,r,o){var i=+e,a=+t,s=+n,c=+r,u=+o;return i!=i||a!=a||s!=s||c!=c||u!=u?NaN:i===1/0||i===-1/0?i:(i-a)*(u-c)/(s-a)+c}},49093:function(e){e.exports=Math.sign||function(e){var t=+e;return 0==t||t!=t?t:t<0?-1:1}},70596:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},20209:function(e,t,n){var r,o,i,a,s,c,u,l,d=n(19782),f=n(25852),h=n(82530).f,p=n(11092).set,g=n(98716),v=n(37290),m=n(25053),y=n(70520),b=d.MutationObserver||d.WebKitMutationObserver,E=d.document,w=d.process,_=d.Promise,S=h(d,"queueMicrotask"),T=S&&S.value;T||(r=function(){var e,t;for(y&&(e=w.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(n){throw o?a():i=void 0,n}}i=void 0,e&&e.enter()},g||y||m||!b||!E?!v&&_&&_.resolve?((u=_.resolve(void 0)).constructor=_,l=f(u.then,u),a=function(){l(r)}):y?a=function(){w.nextTick(r)}:(p=f(p,d),a=function(){p(r)}):(s=!0,c=E.createTextNode(""),new b(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),e.exports=T||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},54249:function(e,t,n){"use strict";var r=n(68973),o=TypeError,i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw o("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},40493:function(e,t,n){var r=n(55217);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},63522:function(e,t,n){var r=n(22872),o=TypeError;e.exports=function(e){if(r(e))throw o("The method doesn't accept regular expressions");return e}},31024:function(e,t,n){var r=n(19782).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},96048:function(e,t,n){var r=n(19782),o=n(66111),i=n(34534),a=n(55217),s=n(58119).trim,c=n(31136),u=i("".charAt),l=r.parseFloat,d=r.Symbol,f=d&&d.iterator,h=1/l(c+"-0")!==-1/0||f&&!o((function(){l(Object(f))}));e.exports=h?function(e){var t=s(a(e)),n=l(t);return 0===n&&"-"==u(t,0)?-0:n}:l},39232:function(e,t,n){var r=n(19782),o=n(66111),i=n(34534),a=n(55217),s=n(58119).trim,c=n(31136),u=r.parseInt,l=r.Symbol,d=l&&l.iterator,f=/^[+-]?0x/i,h=i(f.exec),p=8!==u(c+"08")||22!==u(c+"0x16")||d&&!o((function(){u(Object(d))}));e.exports=p?function(e,t){var n=s(a(e));return u(n,t>>>0||(h(f,n)?16:10))}:u},85698:function(e,t,n){"use strict";var r=n(37420),o=n(34534),i=n(37892),a=n(66111),s=n(11467),c=n(51186),u=n(23509),l=n(11446),d=n(70769),f=Object.assign,h=Object.defineProperty,p=o([].concat);e.exports=!f||a((function(){if(r&&1!==f({b:1},f(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=f({},e)[n]||s(f({},t)).join("")!=o}))?function(e,t){for(var n=l(e),o=arguments.length,a=1,f=c.f,h=u.f;o>a;)for(var g,v=d(arguments[a++]),m=f?p(s(v),f(v)):s(v),y=m.length,b=0;y>b;)g=m[b++],r&&!i(h,v,g)||(n[g]=v[g]);return n}:f},83302:function(e,t,n){var r,o=n(59799),i=n(3415),a=n(28605),s=n(52819),c=n(4836),u=n(20916),l=n(59325),d=l("IE_PROTO"),f=function(){},h=function(e){return"<script>"+e+"</"+"script>"},p=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}g="undefined"!=typeof document?document.domain&&r?p(r):function(){var e,t=u("iframe");return t.style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F}():p(r);for(var e=a.length;e--;)delete g.prototype[a[e]];return g()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=o(e),n=new f,f.prototype=null,n[d]=e):n=g(),void 0===t?n:i.f(n,t)}},3415:function(e,t,n){var r=n(37420),o=n(83526),i=n(81684),a=n(59799),s=n(76494),c=n(11467);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),o=c(t),u=o.length,l=0;u>l;)i.f(e,n=o[l++],r[n]);return e}},81684:function(e,t,n){var r=n(37420),o=n(53373),i=n(83526),a=n(59799),s=n(44560),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";t.f=r?i?function(e,t,n){if(a(e),t=s(t),a(n),"function"===typeof e&&"prototype"===t&&"value"in n&&h in n&&!n.writable){var r=l(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:f in n?n.configurable:r.configurable,enumerable:d in n?n.enumerable:r.enumerable,writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},82530:function(e,t,n){var r=n(37420),o=n(37892),i=n(23509),a=n(80431),s=n(76494),c=n(44560),u=n(78320),l=n(53373),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=c(t),l)try{return d(e,t)}catch(n){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},64350:function(e,t,n){var r=n(73135),o=n(76494),i=n(59814).f,a=n(92914),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==r(e)?function(e){try{return i(e)}catch(t){return a(s)}}(e):i(o(e))}},59814:function(e,t,n){var r=n(96945),o=n(28605).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},51186:function(e,t){t.f=Object.getOwnPropertySymbols},7209:function(e,t,n){var r=n(78320),o=n(30171),i=n(11446),a=n(59325),s=n(97610),c=a("IE_PROTO"),u=Object,l=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=i(e);if(r(t,c))return t[c];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},61481:function(e,t,n){var r=n(66111),o=n(34965),i=n(73135),a=n(9603),s=Object.isExtensible,c=r((function(){s(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!=i(e))&&(!s||s(e)))}:s},81778:function(e,t,n){var r=n(34534);e.exports=r({}.isPrototypeOf)},96945:function(e,t,n){var r=n(34534),o=n(78320),i=n(76494),a=n(49821).indexOf,s=n(52819),c=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&c(l,n);for(;t.length>u;)o(r,n=t[u++])&&(~a(l,n)||c(l,n));return l}},11467:function(e,t,n){var r=n(96945),o=n(28605);e.exports=Object.keys||function(e){return r(e,o)}},23509:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},86854:function(e,t,n){"use strict";var r=n(42192),o=n(19782),i=n(66111),a=n(35199);e.exports=r||!i((function(){if(!(a&&a<535)){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete o[e]}}))},32695:function(e,t,n){var r=n(34534),o=n(59799),i=n(74375);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(a){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},31525:function(e,t,n){var r=n(37420),o=n(34534),i=n(11467),a=n(76494),s=o(n(23509).f),c=o([].push),u=function(e){return function(t){for(var n,o=a(t),u=i(o),l=u.length,d=0,f=[];l>d;)n=u[d++],r&&!s(o,n)||c(f,e?[n,o[n]]:o[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},83685:function(e,t,n){"use strict";var r=n(32105),o=n(5249);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},23811:function(e,t,n){var r=n(19782),o=n(30171),i=n(75508)("observable"),a=r.Observable,s=a&&a.prototype;e.exports=!o(a)||!o(a.from)||!o(a.of)||!o(s.subscribe)||!o(s[i])},83131:function(e,t,n){var r=n(37892),o=n(30171),i=n(34965),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!i(s=r(n,e)))return s;if(o(n=e.valueOf)&&!i(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!i(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},20412:function(e,t,n){var r=n(66780),o=n(34534),i=n(59814),a=n(51186),s=n(59799),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?c(t,n(e)):t}},30306:function(e,t,n){var r=n(19782);e.exports=r},74750:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},30855:function(e,t,n){var r=n(19782),o=n(88773),i=n(30171),a=n(79492),s=n(50112),c=n(75508),u=n(32599),l=n(43716),d=n(42192),f=n(32504),h=o&&o.prototype,p=c("species"),g=!1,v=i(r.PromiseRejectionEvent),m=a("Promise",(function(){var e=s(o),t=e!==String(o);if(!t&&66===f)return!0;if(d&&(!h.catch||!h.finally))return!0;if(!f||f<51||!/native code/.test(e)){var n=new o((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[p]=r,!(g=n.then((function(){}))instanceof r))return!0}return!t&&(u||l)&&!v}));e.exports={CONSTRUCTOR:m,REJECTION_EVENT:v,SUBCLASSING:g}},88773:function(e,t,n){var r=n(19782);e.exports=r.Promise},44270:function(e,t,n){var r=n(59799),o=n(34965),i=n(54249);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},24310:function(e,t,n){var r=n(88773),o=n(21784),i=n(30855).CONSTRUCTOR;e.exports=i||!o((function(e){r.all(e).then(void 0,(function(){}))}))},23966:function(e,t,n){var r=n(81684).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},96055:function(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=t},6461:function(e,t,n){n(49998),n(92995);var r=n(66780),o=n(34534),i=n(67193),a=r("Map"),s=r("WeakMap"),c=o([].push),u=i("metadata"),l=u.store||(u.store=new s),d=function(e,t,n){var r=l.get(e);if(!r){if(!n)return;l.set(e,r=new a)}var o=r.get(t);if(!o){if(!n)return;r.set(t,o=new a)}return o};e.exports={store:l,getMap:d,has:function(e,t,n){var r=d(t,n,!1);return void 0!==r&&r.has(e)},get:function(e,t,n){var r=d(t,n,!1);return void 0===r?void 0:r.get(e)},set:function(e,t,n,r){d(n,r,!0).set(e,t)},keys:function(e,t){var n=d(e,t,!1),r=[];return n&&n.forEach((function(e,t){c(r,t)})),r},toKey:function(e){return void 0===e||"symbol"==typeof e?e:String(e)}}},82279:function(e,t,n){var r=n(37892),o=n(59799),i=n(30171),a=n(73135),s=n(75493),c=TypeError;e.exports=function(e,t){var n=e.exec;if(i(n)){var u=r(n,e,t);return null!==u&&o(u),u}if("RegExp"===a(e))return r(s,e,t);throw c("RegExp#exec called on incompatible receiver")}},75493:function(e,t,n){"use strict";var r=n(37892),o=n(34534),i=n(55217),a=n(21537),s=n(4274),c=n(67193),u=n(83302),l=n(25313).get,d=n(68988),f=n(81748),h=c("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,g=p,v=o("".charAt),m=o("".indexOf),y=o("".replace),b=o("".slice),E=function(){var e=/a/,t=/b*/g;return r(p,e,"a"),r(p,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),w=s.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(E||_||w||d||f)&&(g=function(e){var t,n,o,s,c,d,f,S=this,T=l(S),C=i(e),I=T.raw;if(I)return I.lastIndex=S.lastIndex,t=r(g,I,C),S.lastIndex=I.lastIndex,t;var k=T.groups,R=w&&S.sticky,A=r(a,S),P=S.source,O=0,N=C;if(R&&(A=y(A,"y",""),-1===m(A,"g")&&(A+="g"),N=b(C,S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&"\n"!==v(C,S.lastIndex-1))&&(P="(?: "+P+")",N=" "+N,O++),n=new RegExp("^(?:"+P+")",A)),_&&(n=new RegExp("^"+P+"$(?!\\s)",A)),E&&(o=S.lastIndex),s=r(p,R?n:S,N),R?s?(s.input=b(s.input,O),s[0]=b(s[0],O),s.index=S.lastIndex,S.lastIndex+=s[0].length):S.lastIndex=0:E&&s&&(S.lastIndex=S.global?s.index+s[0].length:o),_&&s&&s.length>1&&r(h,s[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(s[c]=void 0)})),s&&k)for(s.groups=d=u(null),c=0;c<k.length;c++)d[(f=k[c])[0]]=s[f[1]];return s}),e.exports=g},21537:function(e,t,n){"use strict";var r=n(59799);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},5294:function(e,t,n){var r=n(37892),o=n(78320),i=n(81778),a=n(21537),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||o(e,"flags")||!i(s,e)?t:r(a,e)}},4274:function(e,t,n){var r=n(66111),o=n(19782).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),s=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:i}},68988:function(e,t,n){var r=n(66111),o=n(19782).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},81748:function(e,t,n){var r=n(66111),o=n(19782).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},9629:function(e,t,n){var r=n(90486),o=TypeError;e.exports=function(e){if(r(e))throw o("Can't call method on "+e);return e}},74006:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},58698:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},8965:function(e,t,n){"use strict";var r=n(66780),o=n(81684),i=n(75508),a=n(37420),s=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},21117:function(e,t,n){var r=n(81684).f,o=n(78320),i=n(75508)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:t})}},59325:function(e,t,n){var r=n(67193),o=n(39020),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},58749:function(e,t,n){var r=n(19782),o=n(92164),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},67193:function(e,t,n){var r=n(42192),o=n(58749);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.0",mode:r?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"})},4724:function(e,t,n){var r=n(59799),o=n(68458),i=n(90486),a=n(75508)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||i(n=r(s)[a])?t:o(n)}},19838:function(e,t,n){var r=n(34534),o=n(56501),i=n(55217),a=n(9629),s=r("".charAt),c=r("".charCodeAt),u=r("".slice),l=function(e){return function(t,n){var r,l,d=i(a(t)),f=o(n),h=d.length;return f<0||f>=h?e?"":void 0:(r=c(d,f))<55296||r>56319||f+1===h||(l=c(d,f+1))<56320||l>57343?e?s(d,f):r:e?u(d,f,f+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},54686:function(e,t,n){var r=n(64771);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},91894:function(e,t,n){var r=n(34534),o=n(61234),i=n(55217),a=n(76930),s=n(9629),c=r(a),u=r("".slice),l=Math.ceil,d=function(e){return function(t,n,r){var a,d,f=i(s(t)),h=o(n),p=f.length,g=void 0===r?" ":i(r);return h<=p||""==g?f:((d=c(g,l((a=h-p)/g.length))).length>a&&(d=u(d,0,a)),e?f+d:d+f)}};e.exports={start:d(!1),end:d(!0)}},34148:function(e,t,n){"use strict";var r=n(34534),o=2147483647,i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",c=RangeError,u=r(a.exec),l=Math.floor,d=String.fromCharCode,f=r("".charCodeAt),h=r([].join),p=r([].push),g=r("".replace),v=r("".split),m=r("".toLowerCase),y=function(e){return e+22+75*(e<26)},b=function(e,t,n){var r=0;for(e=n?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),r+=36;return l(r+36*e/(e+38))},E=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=f(e,n++);if(o>=55296&&o<=56319&&n<r){var i=f(e,n++);56320==(64512&i)?p(t,((1023&o)<<10)+(1023&i)+65536):(p(t,o),n--)}else p(t,o)}return t}(e);var n,r,i=e.length,a=128,u=0,g=72;for(n=0;n<e.length;n++)(r=e[n])<128&&p(t,d(r));var v=t.length,m=v;for(v&&p(t,"-");m<i;){var E=o;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<E&&(E=r);var w=m+1;if(E-a>l((o-u)/w))throw c(s);for(u+=(E-a)*w,a=E,n=0;n<e.length;n++){if((r=e[n])<a&&++u>o)throw c(s);if(r==a){for(var _=u,S=36;;){var T=S<=g?1:S>=g+26?26:S-g;if(_<T)break;var C=_-T,I=36-T;p(t,d(y(T+C%I))),_=l(C/I),S+=36}p(t,d(y(_))),g=b(u,w,m==v),u=0,m++}}u++,a++}return h(t,"")};e.exports=function(e){var t,n,r=[],o=v(g(m(e),a,"."),".");for(t=0;t<o.length;t++)n=o[t],p(r,u(i,n)?"xn--"+E(n):n);return h(r,".")}},76930:function(e,t,n){"use strict";var r=n(56501),o=n(55217),i=n(9629),a=RangeError;e.exports=function(e){var t=o(i(this)),n="",s=r(e);if(s<0||s==1/0)throw a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},2800:function(e,t,n){"use strict";var r=n(58119).end,o=n(40473);e.exports=o("trimEnd")?function(){return r(this)}:"".trimEnd},40473:function(e,t,n){var r=n(21774).PROPER,o=n(66111),i=n(31136);e.exports=function(e){return o((function(){return!!i[e]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[e]()||r&&i[e].name!==e}))}},19417:function(e,t,n){"use strict";var r=n(58119).start,o=n(40473);e.exports=o("trimStart")?function(){return r(this)}:"".trimStart},58119:function(e,t,n){var r=n(34534),o=n(9629),i=n(55217),a=n(31136),s=r("".replace),c="["+a+"]",u=RegExp("^"+c+c+"*"),l=RegExp(c+c+"*$"),d=function(e){return function(t){var n=i(o(t));return 1&e&&(n=s(n,u,"")),2&e&&(n=s(n,l,"")),n}};e.exports={start:d(1),end:d(2),trim:d(3)}},33969:function(e,t,n){var r=n(32504),o=n(66111);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},31043:function(e,t,n){var r=n(37892),o=n(66780),i=n(75508),a=n(63609);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return r(n,this)}),{arity:1})}},49571:function(e,t,n){var r=n(33969);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},11092:function(e,t,n){var r,o,i,a,s=n(19782),c=n(12256),u=n(25852),l=n(30171),d=n(78320),f=n(66111),h=n(4836),p=n(51346),g=n(20916),v=n(24050),m=n(98716),y=n(70520),b=s.setImmediate,E=s.clearImmediate,w=s.process,_=s.Dispatch,S=s.Function,T=s.MessageChannel,C=s.String,I=0,k={},R="onreadystatechange";try{r=s.location}catch(x){}var A=function(e){if(d(k,e)){var t=k[e];delete k[e],t()}},P=function(e){return function(){A(e)}},O=function(e){A(e.data)},N=function(e){s.postMessage(C(e),r.protocol+"//"+r.host)};b&&E||(b=function(e){v(arguments.length,1);var t=l(e)?e:S(e),n=p(arguments,1);return k[++I]=function(){c(t,void 0,n)},o(I),I},E=function(e){delete k[e]},y?o=function(e){w.nextTick(P(e))}:_&&_.now?o=function(e){_.now(P(e))}:T&&!m?(a=(i=new T).port2,i.port1.onmessage=O,o=u(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!f(N)?(o=N,s.addEventListener("message",O,!1)):o=R in g("script")?function(e){h.appendChild(g("script")).onreadystatechange=function(){h.removeChild(this),A(e)}}:function(e){setTimeout(P(e),0)}),e.exports={set:b,clear:E}},29301:function(e,t,n){var r=n(34534);e.exports=r(1..valueOf)},53864:function(e,t,n){var r=n(56501),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},76654:function(e,t,n){var r=n(63086),o=TypeError;e.exports=function(e){var t=r(e,"number");if("number"==typeof t)throw o("Can't convert number to bigint");return BigInt(t)}},35761:function(e,t,n){var r=n(56501),o=n(61234),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw i("Wrong length or index");return n}},76494:function(e,t,n){var r=n(70769),o=n(9629);e.exports=function(e){return r(o(e))}},56501:function(e,t,n){var r=n(70596);e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},61234:function(e,t,n){var r=n(56501),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},11446:function(e,t,n){var r=n(9629),o=Object;e.exports=function(e){return o(r(e))}},67840:function(e,t,n){var r=n(91275),o=RangeError;e.exports=function(e,t){var n=r(e);if(n%t)throw o("Wrong offset");return n}},91275:function(e,t,n){var r=n(56501),o=RangeError;e.exports=function(e){var t=r(e);if(t<0)throw o("The argument can't be less than 0");return t}},63086:function(e,t,n){var r=n(37892),o=n(34965),i=n(64196),a=n(62135),s=n(83131),c=n(75508),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,c=a(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},44560:function(e,t,n){var r=n(63086),o=n(64196);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},32105:function(e,t,n){var r={};r[n(75508)("toStringTag")]="z",e.exports="[object z]"===String(r)},55217:function(e,t,n){var r=n(5249),o=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},5065:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},4070:function(e,t,n){"use strict";var r=n(73587),o=n(19782),i=n(37892),a=n(37420),s=n(8630),c=n(80049),u=n(62403),l=n(35793),d=n(80431),f=n(87454),h=n(58186),p=n(61234),g=n(35761),v=n(67840),m=n(44560),y=n(78320),b=n(5249),E=n(34965),w=n(64196),_=n(83302),S=n(81778),T=n(32695),C=n(59814).f,I=n(13753),k=n(79056).forEach,R=n(8965),A=n(81684),P=n(82530),O=n(25313),N=n(2142),x=O.get,M=O.set,U=O.enforce,L=A.f,D=P.f,H=Math.round,q=o.RangeError,F=u.ArrayBuffer,j=F.prototype,G=u.DataView,z=c.NATIVE_ARRAY_BUFFER_VIEWS,B=c.TYPED_ARRAY_TAG,K=c.TypedArray,W=c.TypedArrayPrototype,J=c.aTypedArrayConstructor,V=c.isTypedArray,Y="BYTES_PER_ELEMENT",Q="Wrong length",$=function(e,t){J(e);for(var n=0,r=t.length,o=new e(r);r>n;)o[n]=t[n++];return o},Z=function(e,t){L(e,t,{get:function(){return x(this)[t]}})},X=function(e){var t;return S(j,e)||"ArrayBuffer"==(t=b(e))||"SharedArrayBuffer"==t},ee=function(e,t){return V(e)&&!w(t)&&t in e&&h(+t)&&t>=0},te=function(e,t){return t=m(t),ee(e,t)?d(2,e[t]):D(e,t)},ne=function(e,t,n){return t=m(t),!(ee(e,t)&&E(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?L(e,t,n):(e[t]=n.value,e)};a?(z||(P.f=te,A.f=ne,Z(W,"buffer"),Z(W,"byteOffset"),Z(W,"byteLength"),Z(W,"length")),r({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:te,defineProperty:ne}),e.exports=function(e,t,n){var a=e.match(/\d+$/)[0]/8,c=e+(n?"Clamped":"")+"Array",u="get"+e,d="set"+e,h=o[c],m=h,y=m&&m.prototype,b={},w=function(e,t){L(e,t,{get:function(){return function(e,t){var n=x(e);return n.view[u](t*a+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=x(e);n&&(r=(r=H(r))<0?0:r>255?255:255&r),o.view[d](t*a+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};z?s&&(m=t((function(e,t,n,r){return l(e,y),N(E(t)?X(t)?void 0!==r?new h(t,v(n,a),r):void 0!==n?new h(t,v(n,a)):new h(t):V(t)?$(m,t):i(I,m,t):new h(g(t)),e,m)})),T&&T(m,K),k(C(h),(function(e){e in m||f(m,e,h[e])})),m.prototype=y):(m=t((function(e,t,n,r){l(e,y);var o,s,c,u=0,d=0;if(E(t)){if(!X(t))return V(t)?$(m,t):i(I,m,t);o=t,d=v(n,a);var f=t.byteLength;if(void 0===r){if(f%a)throw q(Q);if((s=f-d)<0)throw q(Q)}else if((s=p(r)*a)+d>f)throw q(Q);c=s/a}else c=g(t),o=new F(s=c*a);for(M(e,{buffer:o,byteOffset:d,byteLength:s,length:c,view:new G(o)});u<c;)w(e,u++)})),T&&T(m,K),y=m.prototype=_(W)),y.constructor!==m&&f(y,"constructor",m),U(y).TypedArrayConstructor=m,B&&f(y,B,c);var S=m!=h;b[c]=m,r({global:!0,constructor:!0,forced:S,sham:!z},b),Y in m||f(m,Y,a),Y in y||f(y,Y,a),R(c)}):e.exports=function(){}},8630:function(e,t,n){var r=n(19782),o=n(66111),i=n(21784),a=n(80049).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,c=r.Int8Array;e.exports=!a||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!i((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||o((function(){return 1!==new c(new s(2),1,void 0).length}))},22392:function(e,t,n){var r=n(45034),o=n(26386);e.exports=function(e,t){return r(o(e),t)}},13753:function(e,t,n){var r=n(25852),o=n(37892),i=n(68458),a=n(11446),s=n(76425),c=n(68029),u=n(84284),l=n(77487),d=n(96058),f=n(80049).aTypedArrayConstructor,h=n(76654);e.exports=function(e){var t,n,p,g,v,m,y,b,E=i(this),w=a(e),_=arguments.length,S=_>1?arguments[1]:void 0,T=void 0!==S,C=u(w);if(C&&!l(C))for(b=(y=c(w,C)).next,w=[];!(m=o(b,y)).done;)w.push(m.value);for(T&&_>2&&(S=r(S,arguments[2])),n=s(w),p=new(f(E))(n),g=d(p),t=0;n>t;t++)v=T?S(w[t],t):w[t],p[t]=g?h(v):+v;return p}},26386:function(e,t,n){var r=n(80049),o=n(4724),i=r.aTypedArrayConstructor,a=r.getTypedArrayConstructor;e.exports=function(e){return i(o(e,a(e)))}},39020:function(e,t,n){var r=n(34534),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},63806:function(e,t,n){var r=n(66111),o=n(75508),i=n(42192),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},95398:function(e,t,n){var r=n(33969);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},83526:function(e,t,n){var r=n(37420),o=n(66111);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},24050:function(e){var t=TypeError;e.exports=function(e,n){if(e<n)throw t("Not enough arguments");return e}},6626:function(e,t,n){var r=n(19782),o=n(30171),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},58019:function(e,t,n){var r=n(30306),o=n(78320),i=n(17659),a=n(81684).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},17659:function(e,t,n){var r=n(75508);t.f=r},75508:function(e,t,n){var r=n(19782),o=n(67193),i=n(78320),a=n(39020),s=n(33969),c=n(95398),u=o("wks"),l=r.Symbol,d=l&&l.for,f=c?l:l&&l.withoutSetter||a;e.exports=function(e){if(!i(u,e)||!s&&"string"!=typeof u[e]){var t="Symbol."+e;s&&i(l,e)?u[e]=l[e]:u[e]=c&&d?d(t):f(t)}return u[e]}},31136:function(e){e.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},95793:function(e,t,n){"use strict";var r=n(73587),o=n(81778),i=n(7209),a=n(32695),s=n(11147),c=n(83302),u=n(87454),l=n(80431),d=n(73785),f=n(72210),h=n(81413),p=n(40493),g=n(75508),v=n(57889),m=g("toStringTag"),y=Error,b=[].push,E=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,s=o(w,this);a?n=a(y(),s?i(this):w):(n=s?this:c(w),u(n,m,"Error")),void 0!==t&&u(n,"message",p(t)),v&&u(n,"stack",d(n.stack,1)),f(n,r);var l=[];return h(e,b,{that:l}),u(n,"errors",l),n};a?a(E,y):s(E,y,{name:!0});var w=E.prototype=c(y.prototype,{constructor:l(1,E),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:E})},42020:function(e,t,n){n(95793)},65025:function(e,t,n){"use strict";var r=n(73587),o=n(66111),i=n(38162),a=n(34965),s=n(11446),c=n(76425),u=n(60895),l=n(36072),d=n(41180),f=n(76205),h=n(75508),p=n(32504),g=h("isConcatSpreadable"),v=p>=51||!o((function(){var e=[];return e[g]=!1,e.concat()[0]!==e})),m=f("concat"),y=function(e){if(!a(e))return!1;var t=e[g];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!m},{concat:function(e){var t,n,r,o,i,a=s(this),f=d(a,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(y(i=-1===t?a:arguments[t]))for(o=c(i),u(h+o),n=0;n<o;n++,h++)n in i&&l(f,h,i[n]);else u(h+1),l(f,h++,i);return f.length=h,f}})},88424:function(e,t,n){var r=n(73587),o=n(88891),i=n(99363);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},89824:function(e,t,n){var r=n(73587),o=n(76206),i=n(99363);r({target:"Array",proto:!0},{fill:o}),i("fill")},6805:function(e,t,n){"use strict";var r=n(73587),o=n(79056).filter;r({target:"Array",proto:!0,forced:!n(76205)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},73990:function(e,t,n){"use strict";var r=n(73587),o=n(79056).findIndex,i=n(99363),a="findIndex",s=!0;a in[]&&Array(1).findIndex((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},50237:function(e,t,n){"use strict";var r=n(73587),o=n(79056).find,i=n(99363),a="find",s=!0;a in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},99149:function(e,t,n){"use strict";var r=n(73587),o=n(58504),i=n(68973),a=n(11446),s=n(76425),c=n(41180);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=a(this),r=s(n);return i(e),(t=c(n,0)).length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},28442:function(e,t,n){"use strict";var r=n(73587),o=n(58504),i=n(11446),a=n(76425),s=n(56501),c=n(41180);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t),r=c(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:s(e)),r}})},40798:function(e,t,n){var r=n(73587),o=n(97509);r({target:"Array",stat:!0,forced:!n(21784)((function(e){Array.from(e)}))},{from:o})},75292:function(e,t,n){"use strict";var r=n(73587),o=n(49821).includes,i=n(66111),a=n(99363);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},33242:function(e,t,n){"use strict";var r=n(73587),o=n(34534),i=n(49821).indexOf,a=n(11689),s=o([].indexOf),c=!!s&&1/s([1],1,-0)<0,u=a("indexOf");r({target:"Array",proto:!0,forced:c||!u},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return c?s(this,e,t)||0:i(this,e,t)}})},57359:function(e,t,n){"use strict";var r=n(76494),o=n(99363),i=n(55706),a=n(25313),s=n(81684).f,c=n(67432),u=n(43341),l=n(42192),d=n(37420),f="Array Iterator",h=a.set,p=a.getterFor(f);e.exports=c(Array,"Array",(function(e,t){h(this,{type:f,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,u(void 0,!0)):u("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var g=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&d&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(v){}},10944:function(e,t,n){var r=n(73587),o=n(34116);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},72047:function(e,t,n){"use strict";var r=n(73587),o=n(79056).map;r({target:"Array",proto:!0,forced:!n(76205)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},73545:function(e,t,n){"use strict";var r=n(73587),o=n(66111),i=n(73011),a=n(36072),s=Array;r({target:"Array",stat:!0,forced:o((function(){function e(){}return!(s.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new(i(this)?this:s)(t);t>e;)a(n,e,arguments[e++]);return n.length=t,n}})},39026:function(e,t,n){"use strict";var r=n(73587),o=n(69998).right,i=n(11689),a=n(32504),s=n(70520);r({target:"Array",proto:!0,forced:!i("reduceRight")||!s&&a>79&&a<83},{reduceRight:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},3167:function(e,t,n){"use strict";var r=n(73587),o=n(69998).left,i=n(11689),a=n(32504),s=n(70520);r({target:"Array",proto:!0,forced:!i("reduce")||!s&&a>79&&a<83},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},16631:function(e,t,n){"use strict";var r=n(73587),o=n(38162),i=n(73011),a=n(34965),s=n(53864),c=n(76425),u=n(76494),l=n(36072),d=n(75508),f=n(76205),h=n(51346),p=f("slice"),g=d("species"),v=Array,m=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var n,r,d,f=u(this),p=c(f),y=s(e,p),b=s(void 0===t?p:t,p);if(o(f)&&(n=f.constructor,(i(n)&&(n===v||o(n.prototype))||a(n)&&null===(n=n[g]))&&(n=void 0),n===v||void 0===n))return h(f,y,b);for(r=new(void 0===n?v:n)(m(b-y,0)),d=0;y<b;y++,d++)y in f&&l(r,d,f[y]);return r.length=d,r}})},46962:function(e,t,n){"use strict";var r=n(73587),o=n(34534),i=n(68973),a=n(11446),s=n(76425),c=n(77185),u=n(55217),l=n(66111),d=n(65082),f=n(11689),h=n(62554),p=n(90907),g=n(32504),v=n(35199),m=[],y=o(m.sort),b=o(m.push),E=l((function(){m.sort(void 0)})),w=l((function(){m.sort(null)})),_=f("sort"),S=!l((function(){if(g)return g<70;if(!(h&&h>3)){if(p)return!0;if(v)return v<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)m.push({k:t+r,v:n})}for(m.sort((function(e,t){return t.v-e.v})),r=0;r<m.length;r++)t=m[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:E||!w||!_||!S},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(S)return void 0===e?y(t):y(t,e);var n,r,o=[],l=s(t);for(r=0;r<l;r++)r in t&&b(o,t[r]);for(d(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:u(t)>u(n)?1:-1}}(e)),n=s(o),r=0;r<n;)t[r]=o[r++];for(;r<l;)c(t,r++);return t}})},53870:function(e,t,n){n(8965)("Array")},208:function(e,t,n){"use strict";var r=n(73587),o=n(11446),i=n(53864),a=n(56501),s=n(76425),c=n(39217),u=n(60895),l=n(41180),d=n(36072),f=n(77185),h=n(76205)("splice"),p=Math.max,g=Math.min;r({target:"Array",proto:!0,forced:!h},{splice:function(e,t){var n,r,h,v,m,y,b=o(this),E=s(b),w=i(e,E),_=arguments.length;for(0===_?n=r=0:1===_?(n=0,r=E-w):(n=_-2,r=g(p(a(t),0),E-w)),u(E+n-r),h=l(b,r),v=0;v<r;v++)(m=w+v)in b&&d(h,v,b[m]);if(h.length=r,n<r){for(v=w;v<E-r;v++)y=v+n,(m=v+r)in b?b[y]=b[m]:f(b,y);for(v=E;v>E-r+n;v--)f(b,v-1)}else if(n>r)for(v=E-r;v>w;v--)y=v+n-1,(m=v+r-1)in b?b[y]=b[m]:f(b,y);for(v=0;v<n;v++)b[v+w]=arguments[v+2];return c(b,E-r+n),h}})},95671:function(e,t,n){n(99363)("flatMap")},89575:function(e,t,n){n(99363)("flat")},49449:function(e,t,n){var r=n(78320),o=n(63609),i=n(31022),a=n(75508)("toPrimitive"),s=Date.prototype;r(s,a)||o(s,a,i)},76001:function(e,t,n){"use strict";var r=n(30171),o=n(34965),i=n(81684),a=n(7209),s=n(75508),c=n(18138),u=s("hasInstance"),l=Function.prototype;u in l||i.f(l,u,{value:c((function(e){if(!r(this)||!o(e))return!1;var t=this.prototype;if(!o(t))return e instanceof this;for(;e=a(e);)if(t===e)return!0;return!1}),u)})},83447:function(e,t,n){var r=n(73587),o=n(19782);r({global:!0,forced:o.globalThis!==o},{globalThis:o})},70734:function(e,t,n){var r=n(73587),o=n(66780),i=n(12256),a=n(37892),s=n(34534),c=n(66111),u=n(38162),l=n(30171),d=n(34965),f=n(64196),h=n(51346),p=n(33969),g=o("JSON","stringify"),v=s(/./.exec),m=s("".charAt),y=s("".charCodeAt),b=s("".replace),E=s(1..toString),w=/[\uD800-\uDFFF]/g,_=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,T=!p||c((function(){var e=o("Symbol")();return"[null]"!=g([e])||"{}"!=g({a:e})||"{}"!=g(Object(e))})),C=c((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),I=function(e,t){var n=h(arguments),r=t;if((d(t)||void 0!==e)&&!f(e))return u(t)||(t=function(e,t){if(l(r)&&(t=a(r,this,e,t)),!f(t))return t}),n[1]=t,i(g,null,n)},k=function(e,t,n){var r=m(n,t-1),o=m(n,t+1);return v(_,e)&&!v(S,o)||v(S,e)&&!v(_,r)?"\\u"+E(y(e,0),16):e};g&&r({target:"JSON",stat:!0,arity:3,forced:T||C},{stringify:function(e,t,n){var r=h(arguments),o=i(T?I:g,null,r);return C&&"string"==typeof o?b(o,w,k):o}})},49796:function(e,t,n){var r=n(19782);n(21117)(r.JSON,"JSON",!0)},75199:function(e,t,n){"use strict";n(19881)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(44695))},49998:function(e,t,n){n(75199)},62371:function(e,t,n){var r=n(73587),o=n(26702),i=Math.acosh,a=Math.log,s=Math.sqrt,c=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(e){var t=+e;return t<1?NaN:t>94906265.62425156?a(t)+c:o(t-1+s(t-1)*s(t+1))}})},94097:function(e,t,n){var r=n(73587),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function e(t){var n=+t;return isFinite(n)&&0!=n?n<0?-e(-n):i(n+a(n*n+1)):n}})},34480:function(e,t,n){var r=n(73587),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(e){var t=+e;return 0==t?t:i((1+t)/(1-t))/2}})},15485:function(e,t,n){var r=n(73587),o=n(49093),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){var t=+e;return o(t)*a(i(t),1/3)}})},40239:function(e,t,n){var r=n(73587),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(e){var t=e>>>0;return t?31-o(i(t+.5)*a):32}})},33968:function(e,t,n){var r=n(73587),o=n(19898),i=Math.cosh,a=Math.abs,s=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(e){var t=o(a(e)-1)+1;return(t+1/(t*s*s))*(s/2)}})},88616:function(e,t,n){var r=n(73587),o=n(19898);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},89918:function(e,t,n){n(73587)({target:"Math",stat:!0},{fround:n(32319)})},93177:function(e,t,n){var r=n(73587),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,arity:2,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,o=0,s=0,c=arguments.length,u=0;s<c;)u<(n=i(arguments[s++]))?(o=o*(r=u/n)*r+1,u=n):o+=n>0?(r=n/u)*r:n;return u===1/0?1/0:u*a(o)}})},38552:function(e,t,n){n(73587)({target:"Math",stat:!0},{log10:n(53521)})},97263:function(e,t,n){n(73587)({target:"Math",stat:!0},{log1p:n(26702)})},25222:function(e,t,n){var r=n(73587),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return o(e)/i}})},10190:function(e,t,n){n(73587)({target:"Math",stat:!0},{sign:n(49093)})},8716:function(e,t,n){var r=n(73587),o=n(66111),i=n(19898),a=Math.abs,s=Math.exp,c=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){var t=+e;return a(t)<1?(i(t)-i(-t))/2:(s(t-1)-s(-t-1))*(c/2)}})},68388:function(e,t,n){var r=n(73587),o=n(19898),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(e){var t=+e,n=o(t),r=o(-t);return n==1/0?1:r==1/0?-1:(n-r)/(i(t)+i(-t))}})},32613:function(e,t,n){n(21117)(Math,"Math",!0)},20307:function(e,t,n){n(73587)({target:"Math",stat:!0},{trunc:n(70596)})},42968:function(e,t,n){"use strict";var r=n(37420),o=n(19782),i=n(34534),a=n(79492),s=n(63609),c=n(78320),u=n(2142),l=n(81778),d=n(64196),f=n(63086),h=n(66111),p=n(59814).f,g=n(82530).f,v=n(81684).f,m=n(29301),y=n(58119).trim,b="Number",E=o.Number,w=E.prototype,_=o.TypeError,S=i("".slice),T=i("".charCodeAt),C=function(e){var t=f(e,"number");return"bigint"==typeof t?t:I(t)},I=function(e){var t,n,r,o,i,a,s,c,u=f(e,"number");if(d(u))throw _("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=y(u),43===(t=T(u,0))||45===t){if(88===(n=T(u,2))||120===n)return NaN}else if(48===t){switch(T(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=S(u,2)).length,s=0;s<a;s++)if((c=T(i,s))<48||c>o)return NaN;return parseInt(i,r)}return+u};if(a(b,!E(" 0o1")||!E("0b1")||E("+0x1"))){for(var k,R=function(e){var t=arguments.length<1?0:E(C(e)),n=this;return l(w,n)&&h((function(){m(n)}))?u(Object(t),n,R):t},A=r?p(E):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),P=0;A.length>P;P++)c(E,k=A[P])&&!c(R,k)&&v(R,k,g(E,k));R.prototype=w,w.constructor=R,s(o,b,R,{constructor:!0})}},34738:function(e,t,n){n(73587)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},63590:function(e,t,n){n(73587)({target:"Number",stat:!0},{isInteger:n(58186)})},14039:function(e,t,n){var r=n(73587),o=n(58186),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},76118:function(e,t,n){n(73587)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},13090:function(e,t,n){n(73587)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},23440:function(e,t,n){var r=n(73587),o=n(96048);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},83785:function(e,t,n){var r=n(73587),o=n(39232);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},28092:function(e,t,n){var r=n(73587),o=n(85698);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},67972:function(e,t,n){"use strict";var r=n(73587),o=n(37420),i=n(86854),a=n(68973),s=n(11446),c=n(81684);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){c.f(s(this),e,{get:a(t),enumerable:!0,configurable:!0})}})},16056:function(e,t,n){var r=n(73587),o=n(37420),i=n(3415).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},69286:function(e,t,n){var r=n(73587),o=n(37420),i=n(81684).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},57794:function(e,t,n){"use strict";var r=n(73587),o=n(37420),i=n(86854),a=n(68973),s=n(11446),c=n(81684);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){c.f(s(this),e,{set:a(t),enumerable:!0,configurable:!0})}})},46040:function(e,t,n){var r=n(73587),o=n(31525).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},11938:function(e,t,n){var r=n(73587),o=n(31561),i=n(66111),a=n(34965),s=n(36781).onFreeze,c=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){c(1)})),sham:!o},{freeze:function(e){return c&&a(e)?c(s(e)):e}})},99588:function(e,t,n){var r=n(73587),o=n(81413),i=n(36072);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,n){i(t,e,n)}),{AS_ENTRIES:!0}),t}})},25596:function(e,t,n){var r=n(73587),o=n(66111),i=n(76494),a=n(82530).f,s=n(37420),c=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},55820:function(e,t,n){var r=n(73587),o=n(37420),i=n(20412),a=n(76494),s=n(82530),c=n(36072);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,u=i(r),l={},d=0;u.length>d;)void 0!==(n=o(r,t=u[d++]))&&c(l,t,n);return l}})},66347:function(e,t,n){var r=n(73587),o=n(66111),i=n(64350).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},37279:function(e,t,n){var r=n(73587),o=n(33969),i=n(66111),a=n(51186),s=n(11446);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},61658:function(e,t,n){var r=n(73587),o=n(66111),i=n(11446),a=n(7209),s=n(97610);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},38737:function(e,t,n){var r=n(73587),o=n(61481);r({target:"Object",stat:!0,forced:Object.isExtensible!==o},{isExtensible:o})},86659:function(e,t,n){var r=n(73587),o=n(66111),i=n(34965),a=n(73135),s=n(9603),c=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){c(1)}))||s},{isFrozen:function(e){return!i(e)||(!(!s||"ArrayBuffer"!=a(e))||!!c&&c(e))}})},64316:function(e,t,n){var r=n(73587),o=n(66111),i=n(34965),a=n(73135),s=n(9603),c=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){c(1)}))||s},{isSealed:function(e){return!i(e)||(!(!s||"ArrayBuffer"!=a(e))||!!c&&c(e))}})},26578:function(e,t,n){var r=n(73587),o=n(11446),i=n(11467);r({target:"Object",stat:!0,forced:n(66111)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},19943:function(e,t,n){"use strict";var r=n(73587),o=n(37420),i=n(86854),a=n(11446),s=n(44560),c=n(7209),u=n(82530).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),r=s(e);do{if(t=u(n,r))return t.get}while(n=c(n))}})},84377:function(e,t,n){"use strict";var r=n(73587),o=n(37420),i=n(86854),a=n(11446),s=n(44560),c=n(7209),u=n(82530).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),r=s(e);do{if(t=u(n,r))return t.set}while(n=c(n))}})},99514:function(e,t,n){var r=n(73587),o=n(34965),i=n(36781).onFreeze,a=n(31561),s=n(66111),c=Object.preventExtensions;r({target:"Object",stat:!0,forced:s((function(){c(1)})),sham:!a},{preventExtensions:function(e){return c&&o(e)?c(i(e)):e}})},62690:function(e,t,n){var r=n(73587),o=n(34965),i=n(36781).onFreeze,a=n(31561),s=n(66111),c=Object.seal;r({target:"Object",stat:!0,forced:s((function(){c(1)})),sham:!a},{seal:function(e){return c&&o(e)?c(i(e)):e}})},7251:function(e,t,n){n(73587)({target:"Object",stat:!0},{setPrototypeOf:n(32695)})},84019:function(e,t,n){var r=n(32105),o=n(63609),i=n(83685);r||o(Object.prototype,"toString",i,{unsafe:!0})},67069:function(e,t,n){var r=n(73587),o=n(31525).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},65458:function(e,t,n){var r=n(73587),o=n(96048);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},7734:function(e,t,n){var r=n(73587),o=n(39232);r({global:!0,forced:parseInt!=o},{parseInt:o})},98289:function(e,t,n){"use strict";var r=n(73587),o=n(37892),i=n(68973),a=n(54249),s=n(74750),c=n(81413);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=a.f(t),r=n.resolve,u=n.reject,l=s((function(){var n=i(t.resolve),a=[],s=0,u=1;c(e,(function(e){var i=s++,c=!1;u++,o(n,t,e).then((function(e){c||(c=!0,a[i]={status:"fulfilled",value:e},--u||r(a))}),(function(e){c||(c=!0,a[i]={status:"rejected",reason:e},--u||r(a))}))})),--u||r(a)}));return l.error&&u(l.value),n.promise}})},86408:function(e,t,n){"use strict";var r=n(73587),o=n(37892),i=n(68973),a=n(54249),s=n(74750),c=n(81413);r({target:"Promise",stat:!0,forced:n(24310)},{all:function(e){var t=this,n=a.f(t),r=n.resolve,u=n.reject,l=s((function(){var n=i(t.resolve),a=[],s=0,l=1;c(e,(function(e){var i=s++,c=!1;l++,o(n,t,e).then((function(e){c||(c=!0,a[i]=e,--l||r(a))}),u)})),--l||r(a)}));return l.error&&u(l.value),n.promise}})},39644:function(e,t,n){"use strict";var r=n(73587),o=n(37892),i=n(68973),a=n(66780),s=n(54249),c=n(74750),u=n(81413),l="No one promise resolved";r({target:"Promise",stat:!0},{any:function(e){var t=this,n=a("AggregateError"),r=s.f(t),d=r.resolve,f=r.reject,h=c((function(){var r=i(t.resolve),a=[],s=0,c=1,h=!1;u(e,(function(e){var i=s++,u=!1;c++,o(r,t,e).then((function(e){u||h||(h=!0,d(e))}),(function(e){u||h||(u=!0,a[i]=e,--c||f(new n(a,l)))}))})),--c||f(new n(a,l))}));return h.error&&f(h.value),r.promise}})},99328:function(e,t,n){"use strict";var r=n(73587),o=n(42192),i=n(30855).CONSTRUCTOR,a=n(88773),s=n(66780),c=n(30171),u=n(63609),l=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&c(a)){var d=s("Promise").prototype.catch;l.catch!==d&&u(l,"catch",d,{unsafe:!0})}},90508:function(e,t,n){"use strict";var r,o,i,a=n(73587),s=n(42192),c=n(70520),u=n(19782),l=n(37892),d=n(63609),f=n(32695),h=n(21117),p=n(8965),g=n(68973),v=n(30171),m=n(34965),y=n(35793),b=n(4724),E=n(11092).set,w=n(20209),_=n(81628),S=n(74750),T=n(96055),C=n(25313),I=n(88773),k=n(30855),R=n(54249),A="Promise",P=k.CONSTRUCTOR,O=k.REJECTION_EVENT,N=k.SUBCLASSING,x=C.getterFor(A),M=C.set,U=I&&I.prototype,L=I,D=U,H=u.TypeError,q=u.document,F=u.process,j=R.f,G=j,z=!!(q&&q.createEvent&&u.dispatchEvent),B="unhandledrejection",K=function(e){var t;return!(!m(e)||!v(t=e.then))&&t},W=function(e,t){var n,r,o,i=t.value,a=1==t.state,s=a?e.ok:e.fail,c=e.resolve,u=e.reject,d=e.domain;try{s?(a||(2===t.rejection&&$(t),t.rejection=1),!0===s?n=i:(d&&d.enter(),n=s(i),d&&(d.exit(),o=!0)),n===e.promise?u(H("Promise-chain cycle")):(r=K(n))?l(r,n,c,u):c(n)):u(i)}catch(f){d&&!o&&d.exit(),u(f)}},J=function(e,t){e.notified||(e.notified=!0,w((function(){for(var n,r=e.reactions;n=r.get();)W(n,e);e.notified=!1,t&&!e.rejection&&Y(e)})))},V=function(e,t,n){var r,o;z?((r=q.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!O&&(o=u["on"+e])?o(r):e===B&&_("Unhandled promise rejection",n)},Y=function(e){l(E,u,(function(){var t,n=e.facade,r=e.value;if(Q(e)&&(t=S((function(){c?F.emit("unhandledRejection",r,n):V(B,n,r)})),e.rejection=c||Q(e)?2:1,t.error))throw t.value}))},Q=function(e){return 1!==e.rejection&&!e.parent},$=function(e){l(E,u,(function(){var t=e.facade;c?F.emit("rejectionHandled",t):V("rejectionhandled",t,e.value)}))},Z=function(e,t,n){return function(r){e(t,r,n)}},X=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,J(e,!0))},ee=function e(t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===n)throw H("Promise can't be resolved itself");var o=K(n);o?w((function(){var r={done:!1};try{l(o,n,Z(e,r,t),Z(X,r,t))}catch(i){X(r,i,t)}})):(t.value=n,t.state=1,J(t,!1))}catch(i){X({done:!1},i,t)}}};if(P&&(D=(L=function(e){y(this,D),g(e),l(r,this);var t=x(this);try{e(Z(ee,t),Z(X,t))}catch(n){X(t,n)}}).prototype,(r=function(e){M(this,{type:A,done:!1,notified:!1,parent:!1,reactions:new T,rejection:!1,state:0,value:void 0})}).prototype=d(D,"then",(function(e,t){var n=x(this),r=j(b(this,L));return n.parent=!0,r.ok=!v(e)||e,r.fail=v(t)&&t,r.domain=c?F.domain:void 0,0==n.state?n.reactions.add(r):w((function(){W(r,n)})),r.promise})),o=function(){var e=new r,t=x(e);this.promise=e,this.resolve=Z(ee,t),this.reject=Z(X,t)},R.f=j=function(e){return e===L||undefined===e?new o(e):G(e)},!s&&v(I)&&U!==Object.prototype)){i=U.then,N||d(U,"then",(function(e,t){var n=this;return new L((function(e,t){l(i,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete U.constructor}catch(te){}f&&f(U,D)}a({global:!0,constructor:!0,wrap:!0,forced:P},{Promise:L}),h(L,A,!1,!0),p(A)},85387:function(e,t,n){"use strict";var r=n(73587),o=n(42192),i=n(88773),a=n(66111),s=n(66780),c=n(30171),u=n(4724),l=n(44270),d=n(63609),f=i&&i.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){f.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=u(this,s("Promise")),n=c(e);return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!o&&c(i)){var h=s("Promise").prototype.finally;f.finally!==h&&d(f,"finally",h,{unsafe:!0})}},246:function(e,t,n){n(90508),n(86408),n(99328),n(98039),n(44213),n(33027)},98039:function(e,t,n){"use strict";var r=n(73587),o=n(37892),i=n(68973),a=n(54249),s=n(74750),c=n(81413);r({target:"Promise",stat:!0,forced:n(24310)},{race:function(e){var t=this,n=a.f(t),r=n.reject,u=s((function(){var a=i(t.resolve);c(e,(function(e){o(a,t,e).then(n.resolve,r)}))}));return u.error&&r(u.value),n.promise}})},44213:function(e,t,n){"use strict";var r=n(73587),o=n(37892),i=n(54249);r({target:"Promise",stat:!0,forced:n(30855).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return o(t.reject,void 0,e),t.promise}})},33027:function(e,t,n){"use strict";var r=n(73587),o=n(66780),i=n(42192),a=n(88773),s=n(30855).CONSTRUCTOR,c=n(44270),u=o("Promise"),l=i&&!s;r({target:"Promise",stat:!0,forced:i||s},{resolve:function(e){return c(l&&this===u?a:this,e)}})},28794:function(e,t,n){var r=n(73587),o=n(12256),i=n(68973),a=n(59799);r({target:"Reflect",stat:!0,forced:!n(66111)((function(){Reflect.apply((function(){}))}))},{apply:function(e,t,n){return o(i(e),t,a(n))}})},96832:function(e,t,n){var r=n(73587),o=n(66780),i=n(12256),a=n(5268),s=n(68458),c=n(59799),u=n(34965),l=n(83302),d=n(66111),f=o("Reflect","construct"),h=Object.prototype,p=[].push,g=d((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),v=!d((function(){f((function(){}))})),m=g||v;r({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){s(e),c(t);var n=arguments.length<3?e:s(arguments[2]);if(v&&!g)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return i(p,r,t),new(i(a,e,r))}var o=n.prototype,d=l(u(o)?o:h),m=i(e,d,t);return u(m)?m:d}})},36438:function(e,t,n){var r=n(73587),o=n(37420),i=n(59799),a=n(44560),s=n(81684);r({target:"Reflect",stat:!0,forced:n(66111)((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(e,t,n){i(e);var r=a(t);i(n);try{return s.f(e,r,n),!0}catch(o){return!1}}})},8902:function(e,t,n){var r=n(73587),o=n(59799),i=n(82530).f;r({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},93158:function(e,t,n){var r=n(73587),o=n(37420),i=n(59799),a=n(82530);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},42803:function(e,t,n){var r=n(73587),o=n(59799),i=n(7209);r({target:"Reflect",stat:!0,sham:!n(97610)},{getPrototypeOf:function(e){return i(o(e))}})},27181:function(e,t,n){var r=n(73587),o=n(37892),i=n(34965),a=n(59799),s=n(70626),c=n(82530),u=n(7209);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,l,d=arguments.length<3?t:arguments[2];return a(t)===d?t[n]:(r=c.f(t,n))?s(r)?r.value:void 0===r.get?void 0:o(r.get,d):i(l=u(t))?e(l,n,d):void 0}})},99155:function(e,t,n){n(73587)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},9900:function(e,t,n){var r=n(73587),o=n(59799),i=n(61481);r({target:"Reflect",stat:!0},{isExtensible:function(e){return o(e),i(e)}})},24670:function(e,t,n){n(73587)({target:"Reflect",stat:!0},{ownKeys:n(20412)})},38142:function(e,t,n){var r=n(73587),o=n(66780),i=n(59799);r({target:"Reflect",stat:!0,sham:!n(31561)},{preventExtensions:function(e){i(e);try{var t=o("Object","preventExtensions");return t&&t(e),!0}catch(n){return!1}}})},63410:function(e,t,n){var r=n(73587),o=n(59799),i=n(74375),a=n(32695);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){o(e),i(t);try{return a(e,t),!0}catch(n){return!1}}})},8999:function(e,t,n){var r=n(73587),o=n(37892),i=n(59799),a=n(34965),s=n(70626),c=n(66111),u=n(81684),l=n(82530),d=n(7209),f=n(80431);r({target:"Reflect",stat:!0,forced:c((function(){var e=function(){},t=u.f(new e,"a",{configurable:!0});return!1!==Reflect.set(e.prototype,"a",1,t)}))},{set:function e(t,n,r){var c,h,p,g=arguments.length<4?t:arguments[3],v=l.f(i(t),n);if(!v){if(a(h=d(t)))return e(h,n,r,g);v=f(0)}if(s(v)){if(!1===v.writable||!a(g))return!1;if(c=l.f(g,n)){if(c.get||c.set||!1===c.writable)return!1;c.value=r,u.f(g,n,c)}else u.f(g,n,f(0,r))}else{if(void 0===(p=v.set))return!1;o(p,g,r)}return!0}})},27909:function(e,t,n){var r=n(37420),o=n(19782),i=n(34534),a=n(79492),s=n(2142),c=n(87454),u=n(59814).f,l=n(81778),d=n(22872),f=n(55217),h=n(5294),p=n(4274),g=n(23966),v=n(63609),m=n(66111),y=n(78320),b=n(25313).enforce,E=n(8965),w=n(75508),_=n(68988),S=n(81748),T=w("match"),C=o.RegExp,I=C.prototype,k=o.SyntaxError,R=i(I.exec),A=i("".charAt),P=i("".replace),O=i("".indexOf),N=i("".slice),x=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,U=/a/g,L=new C(M)!==M,D=p.MISSED_STICKY,H=p.UNSUPPORTED_Y,q=r&&(!L||D||_||S||m((function(){return U[T]=!1,C(M)!=M||C(U)==U||"/a/i"!=C(M,"i")})));if(a("RegExp",q)){for(var F=function(e,t){var n,r,o,i,a,u,p=l(I,this),g=d(e),v=void 0===t,m=[],E=e;if(!p&&g&&v&&e.constructor===F)return e;if((g||l(I,e))&&(e=e.source,v&&(t=h(E))),e=void 0===e?"":f(e),t=void 0===t?"":f(t),E=e,_&&"dotAll"in M&&(r=!!t&&O(t,"s")>-1)&&(t=P(t,/s/g,"")),n=t,D&&"sticky"in M&&(o=!!t&&O(t,"y")>-1)&&H&&(t=P(t,/y/g,"")),S&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},s=!1,c=!1,u=0,l="";r<=n;r++){if("\\"===(t=A(e,r)))t+=A(e,++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:R(x,N(e,r+1))&&(r+=2,c=!0),o+=t,u++;continue;case">"===t&&c:if(""===l||y(a,l))throw new k("Invalid capture group name");a[l]=!0,i[i.length]=[l,u],c=!1,l="";continue}c?l+=t:o+=t}return[o,i]}(e),e=i[0],m=i[1]),a=s(C(e,t),p?this:I,F),(r||o||m.length)&&(u=b(a),r&&(u.dotAll=!0,u.raw=F(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=A(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+A(e,++r);return o}(e),n)),o&&(u.sticky=!0),m.length&&(u.groups=m)),e!==E)try{c(a,"source",""===E?"(?:)":E)}catch(w){}return a},j=u(C),G=0;j.length>G;)g(F,C,j[G++]);I.constructor=F,F.prototype=I,v(o,"RegExp",F,{constructor:!0})}E("RegExp")},4541:function(e,t,n){"use strict";var r=n(73587),o=n(75493);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},91038:function(e,t,n){var r=n(19782),o=n(37420),i=n(18787),a=n(21537),s=n(66111),c=r.RegExp,u=c.prototype;o&&s((function(){var e=!0;try{c(".","d")}catch(s){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",o=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(i.hasIndices="d"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(u,"flags").get.call(t)!==r||n!==r}))&&i(u,"flags",{configurable:!0,get:a})},925:function(e,t,n){"use strict";var r=n(21774).PROPER,o=n(63609),i=n(59799),a=n(55217),s=n(66111),c=n(5294),u="toString",l=RegExp.prototype.toString,d=s((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),f=r&&l.name!=u;(d||f)&&o(RegExp.prototype,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},92340:function(e,t,n){"use strict";n(19881)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(44695))},87049:function(e,t,n){n(92340)},31677:function(e,t,n){"use strict";var r=n(73587),o=n(19838).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return o(this,e)}})},34897:function(e,t,n){"use strict";var r=n(73587),o=n(34534),i=n(82530).f,a=n(61234),s=n(55217),c=n(63522),u=n(9629),l=n(79475),d=n(42192),f=o("".endsWith),h=o("".slice),p=Math.min,g=l("endsWith");r({target:"String",proto:!0,forced:!(!d&&!g&&!!function(){var e=i(String.prototype,"endsWith");return e&&!e.writable}())&&!g},{endsWith:function(e){var t=s(u(this));c(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:p(a(n),r),i=s(e);return f?f(t,i,o):h(t,o-i.length,o)===i}})},6234:function(e,t,n){var r=n(73587),o=n(34534),i=n(53864),a=RangeError,s=String.fromCharCode,c=String.fromCodePoint,u=o([].join);r({target:"String",stat:!0,arity:1,forced:!!c&&1!=c.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],i(t,1114111)!==t)throw a(t+" is not a valid code point");n[o]=t<65536?s(t):s(55296+((t-=65536)>>10),t%1024+56320)}return u(n,"")}})},75350:function(e,t,n){"use strict";var r=n(73587),o=n(34534),i=n(63522),a=n(9629),s=n(55217),c=n(79475),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(s(a(this)),s(i(e)),arguments.length>1?arguments[1]:void 0)}})},90192:function(e,t,n){"use strict";var r=n(19838).charAt,o=n(55217),i=n(25313),a=n(67432),s=n(43341),c="String Iterator",u=i.set,l=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,t=l(this),n=t.string,o=t.index;return o>=n.length?s(void 0,!0):(e=r(n,o),t.index+=e.length,s(e,!1))}))},47638:function(e,t,n){"use strict";var r=n(73587),o=n(37892),i=n(34534),a=n(82992),s=n(43341),c=n(9629),u=n(61234),l=n(55217),d=n(59799),f=n(90486),h=n(73135),p=n(22872),g=n(5294),v=n(62135),m=n(63609),y=n(66111),b=n(75508),E=n(4724),w=n(76183),_=n(82279),S=n(25313),T=n(42192),C=b("matchAll"),I="RegExp String",k="RegExp String Iterator",R=S.set,A=S.getterFor(k),P=RegExp.prototype,O=TypeError,N=i("".indexOf),x=i("".matchAll),M=!!x&&!y((function(){x("a",/./)})),U=a((function(e,t,n,r){R(this,{type:k,regexp:e,string:t,global:n,unicode:r,done:!1})}),I,(function(){var e=A(this);if(e.done)return s(void 0,!0);var t=e.regexp,n=e.string,r=_(t,n);return null===r?(e.done=!0,s(void 0,!0)):e.global?(""===l(r[0])&&(t.lastIndex=w(n,u(t.lastIndex),e.unicode)),s(r,!1)):(e.done=!0,s(r,!1))})),L=function(e){var t,n,r,o=d(this),i=l(e),a=E(o,RegExp),s=l(g(o));return t=new a(a===RegExp?o.source:o,s),n=!!~N(s,"g"),r=!!~N(s,"u"),t.lastIndex=u(o.lastIndex),new U(t,i,n,r)};r({target:"String",proto:!0,forced:M},{matchAll:function(e){var t,n,r,i,a=c(this);if(f(e)){if(M)return x(a,e)}else{if(p(e)&&(t=l(c(g(e))),!~N(t,"g")))throw O("`.matchAll` does not allow non-global regexes");if(M)return x(a,e);if(void 0===(r=v(e,C))&&T&&"RegExp"==h(e)&&(r=L),r)return o(r,e,a)}return n=l(a),i=new RegExp(e,"g"),T?o(L,i,n):i[C](n)}}),T||C in P||m(P,C,L)},44826:function(e,t,n){"use strict";var r=n(37892),o=n(88635),i=n(59799),a=n(90486),s=n(61234),c=n(55217),u=n(9629),l=n(62135),d=n(76183),f=n(82279);o("match",(function(e,t,n){return[function(t){var n=u(this),o=a(t)?void 0:l(t,e);return o?r(o,t,n):new RegExp(t)[e](c(n))},function(e){var r=i(this),o=c(e),a=n(t,r,o);if(a.done)return a.value;if(!r.global)return f(r,o);var u=r.unicode;r.lastIndex=0;for(var l,h=[],p=0;null!==(l=f(r,o));){var g=c(l[0]);h[p]=g,""===g&&(r.lastIndex=d(o,s(r.lastIndex),u)),p++}return 0===p?null:h}]}))},34379:function(e,t,n){"use strict";var r=n(73587),o=n(91894).end;r({target:"String",proto:!0,forced:n(54686)},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},12964:function(e,t,n){"use strict";var r=n(73587),o=n(91894).start;r({target:"String",proto:!0,forced:n(54686)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},90463:function(e,t,n){var r=n(73587),o=n(34534),i=n(76494),a=n(11446),s=n(55217),c=n(76425),u=o([].push),l=o([].join);r({target:"String",stat:!0},{raw:function(e){for(var t=i(a(e).raw),n=c(t),r=arguments.length,o=[],d=0;n>d;){if(u(o,s(t[d++])),d===n)return l(o,"");d<r&&u(o,s(arguments[d]))}}})},71577:function(e,t,n){n(73587)({target:"String",proto:!0},{repeat:n(76930)})},84696:function(e,t,n){"use strict";var r=n(73587),o=n(37892),i=n(34534),a=n(9629),s=n(30171),c=n(90486),u=n(22872),l=n(55217),d=n(62135),f=n(5294),h=n(24527),p=n(75508),g=n(42192),v=p("replace"),m=TypeError,y=i("".indexOf),b=i("".replace),E=i("".slice),w=Math.max,_=function(e,t,n){return n>e.length?-1:""===t?n:y(e,t,n)};r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,i,p,S,T,C,I,k,R=a(this),A=0,P=0,O="";if(!c(e)){if((n=u(e))&&(r=l(a(f(e))),!~y(r,"g")))throw m("`.replaceAll` does not allow non-global regexes");if(i=d(e,v))return o(i,e,R,t);if(g&&n)return b(l(R),e,t)}for(p=l(R),S=l(e),(T=s(t))||(t=l(t)),C=S.length,I=w(1,C),A=_(p,S,0);-1!==A;)k=T?l(t(S,A,p)):h(S,p,A,[],void 0,t),O+=E(p,P,A)+k,P=A+C,A=_(p,S,A+I);return P<p.length&&(O+=E(p,P)),O}})},44113:function(e,t,n){"use strict";var r=n(12256),o=n(37892),i=n(34534),a=n(88635),s=n(66111),c=n(59799),u=n(30171),l=n(90486),d=n(56501),f=n(61234),h=n(55217),p=n(9629),g=n(76183),v=n(62135),m=n(24527),y=n(82279),b=n(75508)("replace"),E=Math.max,w=Math.min,_=i([].concat),S=i([].push),T=i("".indexOf),C=i("".slice),I="$0"==="a".replace(/./,"$0"),k=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(e,t,n){var i=k?"$":"$0";return[function(e,n){var r=p(this),i=l(e)?void 0:v(e,b);return i?o(i,e,r,n):o(t,h(r),e,n)},function(e,o){var a=c(this),s=h(e);if("string"==typeof o&&-1===T(o,i)&&-1===T(o,"$<")){var l=n(t,a,s,o);if(l.done)return l.value}var p=u(o);p||(o=h(o));var v=a.global;if(v){var b=a.unicode;a.lastIndex=0}for(var I=[];;){var k=y(a,s);if(null===k)break;if(S(I,k),!v)break;""===h(k[0])&&(a.lastIndex=g(s,f(a.lastIndex),b))}for(var R,A="",P=0,O=0;O<I.length;O++){for(var N=h((k=I[O])[0]),x=E(w(d(k.index),s.length),0),M=[],U=1;U<k.length;U++)S(M,void 0===(R=k[U])?R:String(R));var L=k.groups;if(p){var D=_([N],M,x,s);void 0!==L&&S(D,L);var H=h(r(o,void 0,D))}else H=m(N,s,x,M,L,o);x>=P&&(A+=C(s,P,x)+H,P=x+N.length)}return A+C(s,P)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!I||k)},52993:function(e,t,n){"use strict";var r=n(37892),o=n(88635),i=n(59799),a=n(90486),s=n(9629),c=n(58698),u=n(55217),l=n(62135),d=n(82279);o("search",(function(e,t,n){return[function(t){var n=s(this),o=a(t)?void 0:l(t,e);return o?r(o,t,n):new RegExp(t)[e](u(n))},function(e){var r=i(this),o=u(e),a=n(t,r,o);if(a.done)return a.value;var s=r.lastIndex;c(s,0)||(r.lastIndex=0);var l=d(r,o);return c(r.lastIndex,s)||(r.lastIndex=s),null===l?-1:l.index}]}))},37428:function(e,t,n){"use strict";var r=n(12256),o=n(37892),i=n(34534),a=n(88635),s=n(59799),c=n(90486),u=n(22872),l=n(9629),d=n(4724),f=n(76183),h=n(61234),p=n(55217),g=n(62135),v=n(92914),m=n(82279),y=n(75493),b=n(4274),E=n(66111),w=b.UNSUPPORTED_Y,_=4294967295,S=Math.min,T=[].push,C=i(/./.exec),I=i(T),k=i("".slice),R=!E((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=p(l(this)),a=void 0===n?_:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!u(e))return o(t,i,e,a);for(var s,c,d,f=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,m=new RegExp(e.source,h+"g");(s=o(y,m,i))&&!((c=m.lastIndex)>g&&(I(f,k(i,g,s.index)),s.length>1&&s.index<i.length&&r(T,f,v(s,1)),d=s[0].length,g=c,f.length>=a));)m.lastIndex===s.index&&m.lastIndex++;return g===i.length?!d&&C(m,"")||I(f,""):I(f,k(i,g)),f.length>a?v(f,0,a):f}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:o(t,this,e,n)}:t,[function(t,n){var r=l(this),a=c(t)?void 0:g(t,e);return a?o(a,t,r,n):o(i,p(r),t,n)},function(e,r){var o=s(this),a=p(e),c=n(i,o,a,r,i!==t);if(c.done)return c.value;var u=d(o,RegExp),l=o.unicode,g=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(w?"g":"y"),v=new u(w?"^(?:"+o.source+")":o,g),y=void 0===r?_:r>>>0;if(0===y)return[];if(0===a.length)return null===m(v,a)?[a]:[];for(var b=0,E=0,T=[];E<a.length;){v.lastIndex=w?0:E;var C,R=m(v,w?k(a,E):a);if(null===R||(C=S(h(v.lastIndex+(w?E:0)),a.length))===b)E=f(a,E,l);else{if(I(T,k(a,b,E)),T.length===y)return T;for(var A=1;A<=R.length-1;A++)if(I(T,R[A]),T.length===y)return T;E=b=C}}return I(T,k(a,b)),T}]}),!R,w)},78754:function(e,t,n){"use strict";var r=n(73587),o=n(34534),i=n(82530).f,a=n(61234),s=n(55217),c=n(63522),u=n(9629),l=n(79475),d=n(42192),f=o("".startsWith),h=o("".slice),p=Math.min,g=l("startsWith");r({target:"String",proto:!0,forced:!(!d&&!g&&!!function(){var e=i(String.prototype,"startsWith");return e&&!e.writable}())&&!g},{startsWith:function(e){var t=s(u(this));c(e);var n=a(p(arguments.length>1?arguments[1]:void 0,t.length)),r=s(e);return f?f(t,r,n):h(t,n,n+r.length)===r}})},37623:function(e,t,n){n(62719);var r=n(73587),o=n(2800);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==o},{trimEnd:o})},53095:function(e,t,n){var r=n(73587),o=n(19417);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==o},{trimLeft:o})},62719:function(e,t,n){var r=n(73587),o=n(2800);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==o},{trimRight:o})},58074:function(e,t,n){n(53095);var r=n(73587),o=n(19417);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==o},{trimStart:o})},16402:function(e,t,n){"use strict";var r=n(73587),o=n(58119).trim;r({target:"String",proto:!0,forced:n(40473)("trim")},{trim:function(){return o(this)}})},44210:function(e,t,n){n(58019)("asyncIterator")},70920:function(e,t,n){"use strict";var r=n(73587),o=n(19782),i=n(37892),a=n(34534),s=n(42192),c=n(37420),u=n(33969),l=n(66111),d=n(78320),f=n(81778),h=n(59799),p=n(76494),g=n(44560),v=n(55217),m=n(80431),y=n(83302),b=n(11467),E=n(59814),w=n(64350),_=n(51186),S=n(82530),T=n(81684),C=n(3415),I=n(23509),k=n(63609),R=n(67193),A=n(59325),P=n(52819),O=n(39020),N=n(75508),x=n(17659),M=n(58019),U=n(31043),L=n(21117),D=n(25313),H=n(79056).forEach,q=A("hidden"),F="Symbol",j=D.set,G=D.getterFor(F),z=Object.prototype,B=o.Symbol,K=B&&B.prototype,W=o.TypeError,J=o.QObject,V=S.f,Y=T.f,Q=w.f,$=I.f,Z=a([].push),X=R("symbols"),ee=R("op-symbols"),te=R("wks"),ne=!J||!J.prototype||!J.prototype.findChild,re=c&&l((function(){return 7!=y(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=V(z,t);r&&delete z[t],Y(e,t,n),r&&e!==z&&Y(z,t,r)}:Y,oe=function(e,t){var n=X[e]=y(K);return j(n,{type:F,tag:e,description:t}),c||(n.description=t),n},ie=function(e,t,n){e===z&&ie(ee,t,n),h(e);var r=g(t);return h(n),d(X,r)?(n.enumerable?(d(e,q)&&e[q][r]&&(e[q][r]=!1),n=y(n,{enumerable:m(0,!1)})):(d(e,q)||Y(e,q,m(1,{})),e[q][r]=!0),re(e,r,n)):Y(e,r,n)},ae=function(e,t){h(e);var n=p(t),r=b(n).concat(le(n));return H(r,(function(t){c&&!i(se,n,t)||ie(e,t,n[t])})),e},se=function(e){var t=g(e),n=i($,this,t);return!(this===z&&d(X,t)&&!d(ee,t))&&(!(n||!d(this,t)||!d(X,t)||d(this,q)&&this[q][t])||n)},ce=function(e,t){var n=p(e),r=g(t);if(n!==z||!d(X,r)||d(ee,r)){var o=V(n,r);return!o||!d(X,r)||d(n,q)&&n[q][r]||(o.enumerable=!0),o}},ue=function(e){var t=Q(p(e)),n=[];return H(t,(function(e){d(X,e)||d(P,e)||Z(n,e)})),n},le=function(e){var t=e===z,n=Q(t?ee:p(e)),r=[];return H(n,(function(e){!d(X,e)||t&&!d(z,e)||Z(r,X[e])})),r};u||(B=function(){if(f(K,this))throw W("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,t=O(e),n=function e(n){this===z&&i(e,ee,n),d(this,q)&&d(this[q],t)&&(this[q][t]=!1),re(this,t,m(1,n))};return c&&ne&&re(z,t,{configurable:!0,set:n}),oe(t,e)},k(K=B.prototype,"toString",(function(){return G(this).tag})),k(B,"withoutSetter",(function(e){return oe(O(e),e)})),I.f=se,T.f=ie,C.f=ae,S.f=ce,E.f=w.f=ue,_.f=le,x.f=function(e){return oe(N(e),e)},c&&(Y(K,"description",{configurable:!0,get:function(){return G(this).description}}),s||k(z,"propertyIsEnumerable",se,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:B}),H(b(te),(function(e){M(e)})),r({target:F,stat:!0,forced:!u},{useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,t){return void 0===t?y(e):ae(y(e),t)},defineProperty:ie,defineProperties:ae,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ue}),U(),L(B,F),P[q]=!0},74065:function(e,t,n){"use strict";var r=n(73587),o=n(37420),i=n(19782),a=n(34534),s=n(78320),c=n(30171),u=n(81778),l=n(55217),d=n(81684).f,f=n(11147),h=i.Symbol,p=h&&h.prototype;if(o&&c(h)&&(!("description"in p)||void 0!==h().description)){var g={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=u(p,this)?new h(e):void 0===e?h():h(e);return""===e&&(g[t]=!0),t};f(v,h),v.prototype=p,p.constructor=v;var m="Symbol(test)"==String(h("test")),y=a(p.valueOf),b=a(p.toString),E=/^Symbol\((.*)\)[^)]+$/,w=a("".replace),_=a("".slice);d(p,"description",{configurable:!0,get:function(){var e=y(this);if(s(g,e))return"";var t=b(e),n=m?_(t,7,-1):w(t,E,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},45970:function(e,t,n){var r=n(73587),o=n(66780),i=n(78320),a=n(55217),s=n(67193),c=n(49571),u=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=a(e);if(i(u,t))return u[t];var n=o("Symbol")(t);return u[t]=n,l[n]=t,n}})},23663:function(e,t,n){n(58019)("hasInstance")},30186:function(e,t,n){n(58019)("isConcatSpreadable")},78199:function(e,t,n){n(58019)("iterator")},93764:function(e,t,n){n(70920),n(45970),n(10798),n(70734),n(37279)},10798:function(e,t,n){var r=n(73587),o=n(78320),i=n(64196),a=n(5065),s=n(67193),c=n(49571),u=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},2481:function(e,t,n){n(58019)("match")},82585:function(e,t,n){n(58019)("replace")},16208:function(e,t,n){n(58019)("search")},34071:function(e,t,n){n(58019)("species")},64383:function(e,t,n){n(58019)("split")},26655:function(e,t,n){var r=n(58019),o=n(31043);r("toPrimitive"),o()},90049:function(e,t,n){var r=n(66780),o=n(58019),i=n(21117);o("toStringTag"),i(r("Symbol"),"Symbol")},18152:function(e,t,n){n(58019)("unscopables")},86728:function(e,t,n){"use strict";var r=n(34534),o=n(80049),i=r(n(88891)),a=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return i(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},11430:function(e,t,n){"use strict";var r=n(80049),o=n(79056).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},33292:function(e,t,n){"use strict";var r=n(80049),o=n(76206),i=n(76654),a=n(5249),s=n(37892),c=n(34534),u=n(66111),l=r.aTypedArray,d=r.exportTypedArrayMethod,f=c("".slice);d("fill",(function(e){var t=arguments.length;l(this);var n="Big"===f(a(this),0,3)?i(e):+e;return s(o,this,n,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),u((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},83938:function(e,t,n){"use strict";var r=n(80049),o=n(79056).filter,i=n(22392),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},85179:function(e,t,n){"use strict";var r=n(80049),o=n(79056).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},1278:function(e,t,n){"use strict";var r=n(80049),o=n(79056).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},8532:function(e,t,n){n(4070)("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},27788:function(e,t,n){n(4070)("Float64",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},89437:function(e,t,n){"use strict";var r=n(80049),o=n(79056).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},28702:function(e,t,n){"use strict";var r=n(8630);(0,n(80049).exportTypedArrayStaticMethod)("from",n(13753),r)},79478:function(e,t,n){"use strict";var r=n(80049),o=n(49821).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},45686:function(e,t,n){"use strict";var r=n(80049),o=n(49821).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},13473:function(e,t,n){n(4070)("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},470:function(e,t,n){n(4070)("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},27638:function(e,t,n){n(4070)("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},92694:function(e,t,n){"use strict";var r=n(19782),o=n(66111),i=n(34534),a=n(80049),s=n(57359),c=n(75508)("iterator"),u=r.Uint8Array,l=i(s.values),d=i(s.keys),f=i(s.entries),h=a.aTypedArray,p=a.exportTypedArrayMethod,g=u&&u.prototype,v=!o((function(){g[c].call([1])})),m=!!g&&g.values&&g[c]===g.values&&"values"===g.values.name,y=function(){return l(h(this))};p("entries",(function(){return f(h(this))}),v),p("keys",(function(){return d(h(this))}),v),p("values",y,v||!m,{name:"values"}),p(c,y,v||!m,{name:"values"})},30743:function(e,t,n){"use strict";var r=n(80049),o=n(34534),i=r.aTypedArray,a=r.exportTypedArrayMethod,s=o([].join);a("join",(function(e){return s(i(this),e)}))},40643:function(e,t,n){"use strict";var r=n(80049),o=n(12256),i=n(34116),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},95338:function(e,t,n){"use strict";var r=n(80049),o=n(79056).map,i=n(26386),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},47897:function(e,t,n){"use strict";var r=n(80049),o=n(8630),i=r.aTypedArrayConstructor;(0,r.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),o)},64048:function(e,t,n){"use strict";var r=n(80049),o=n(69998).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},38601:function(e,t,n){"use strict";var r=n(80049),o=n(69998).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},48582:function(e,t,n){"use strict";var r=n(80049),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=this,n=o(t).length,r=a(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t}))},36679:function(e,t,n){"use strict";var r=n(19782),o=n(37892),i=n(80049),a=n(76425),s=n(67840),c=n(11446),u=n(66111),l=r.RangeError,d=r.Int8Array,f=d&&d.prototype,h=f&&f.set,p=i.aTypedArray,g=i.exportTypedArrayMethod,v=!u((function(){var e=new Uint8ClampedArray(2);return o(h,e,{length:1,0:3},1),3!==e[1]})),m=v&&i.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var e=new d(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));g("set",(function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),n=c(e);if(v)return o(h,this,n,t);var r=this.length,i=a(n),u=0;if(i+t>r)throw l("Wrong length");for(;u<i;)this[t+u]=n[u++]}),!v||m)},13835:function(e,t,n){"use strict";var r=n(80049),o=n(26386),i=n(66111),a=n(51346),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(e,t){for(var n=a(s(this),e,t),r=o(this),i=0,c=n.length,u=new r(c);c>i;)u[i]=n[i++];return u}),i((function(){new Int8Array(1).slice()})))},39532:function(e,t,n){"use strict";var r=n(80049),o=n(79056).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},22754:function(e,t,n){"use strict";var r=n(19782),o=n(34534),i=n(66111),a=n(68973),s=n(65082),c=n(80049),u=n(62554),l=n(90907),d=n(32504),f=n(35199),h=c.aTypedArray,p=c.exportTypedArrayMethod,g=r.Uint16Array,v=g&&o(g.prototype.sort),m=!!v&&!(i((function(){v(new g(2),null)}))&&i((function(){v(new g(2),{})}))),y=!!v&&!i((function(){if(d)return d<74;if(u)return u<67;if(l)return!0;if(f)return f<602;var e,t,n=new g(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(v(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));p("sort",(function(e){return void 0!==e&&a(e),y?v(this,e):s(h(this),function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!==n?-1:t!==t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e))}),!y||m)},56633:function(e,t,n){"use strict";var r=n(19782),o=n(12256),i=n(80049),a=n(66111),s=n(51346),c=r.Int8Array,u=i.aTypedArray,l=i.exportTypedArrayMethod,d=[].toLocaleString,f=!!c&&a((function(){d.call(new c(1))}));l("toLocaleString",(function(){return o(d,f?s(u(this)):u(this),s(arguments))}),a((function(){return[1,2].toLocaleString()!=new c([1,2]).toLocaleString()}))||!a((function(){c.prototype.toLocaleString.call([1,2])})))},56038:function(e,t,n){"use strict";var r=n(80049).exportTypedArrayMethod,o=n(66111),i=n(19782),a=n(34534),s=i.Uint8Array,c=s&&s.prototype||{},u=[].toString,l=a([].join);o((function(){u.call({})}))&&(u=function(){return l(this)});var d=c.toString!=u;r("toString",u,d)},23198:function(e,t,n){n(4070)("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},62319:function(e,t,n){n(4070)("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},10056:function(e,t,n){n(4070)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},18497:function(e,t,n){n(4070)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},35611:function(e,t,n){"use strict";var r,o=n(19782),i=n(34534),a=n(22631),s=n(36781),c=n(19881),u=n(70655),l=n(34965),d=n(61481),f=n(25313).enforce,h=n(6626),p=!o.ActiveXObject&&"ActiveXObject"in o,g=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=c("WeakMap",g,u);if(h&&p){r=u.getConstructor(g,"WeakMap",!0),s.enable();var m=v.prototype,y=i(m.delete),b=i(m.has),E=i(m.get),w=i(m.set);a(m,{delete:function(e){if(l(e)&&!d(e)){var t=f(this);return t.frozen||(t.frozen=new r),y(this,e)||t.frozen.delete(e)}return y(this,e)},has:function(e){if(l(e)&&!d(e)){var t=f(this);return t.frozen||(t.frozen=new r),b(this,e)||t.frozen.has(e)}return b(this,e)},get:function(e){if(l(e)&&!d(e)){var t=f(this);return t.frozen||(t.frozen=new r),b(this,e)?E(this,e):t.frozen.get(e)}return E(this,e)},set:function(e,t){if(l(e)&&!d(e)){var n=f(this);n.frozen||(n.frozen=new r),b(this,e)?w(this,e,t):n.frozen.set(e,t)}else w(this,e,t);return this}})}},92995:function(e,t,n){n(35611)},38306:function(e,t,n){"use strict";n(19881)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(70655))},55429:function(e,t,n){n(38306)},93212:function(e,t,n){n(42020)},9302:function(e,t,n){"use strict";var r=n(37420),o=n(99363),i=n(11446),a=n(76425),s=n(18787);r&&(s(Array.prototype,"lastIndex",{configurable:!0,get:function(){var e=i(this),t=a(e);return 0==t?0:t-1}}),o("lastIndex"))},71025:function(e,t,n){"use strict";var r=n(37420),o=n(99363),i=n(11446),a=n(76425),s=n(18787);r&&(s(Array.prototype,"lastItem",{configurable:!0,get:function(){var e=i(this),t=a(e);return 0==t?void 0:e[t-1]},set:function(e){var t=i(this),n=a(t);return t[0==n?0:n-1]=e}}),o("lastItem"))},99094:function(e,t,n){var r=n(73587),o=n(12256),i=n(93700),a=n(66780),s=n(83302),c=Object,u=function(){var e=a("Object","freeze");return e?e(s(null)):s(null)};r({global:!0,forced:!0},{compositeKey:function(){return o(i,c,arguments).get("object",u)}})},86614:function(e,t,n){var r=n(73587),o=n(93700),i=n(66780),a=n(12256);r({global:!0,forced:!0},{compositeSymbol:function(){return 1==arguments.length&&"string"==typeof arguments[0]?i("Symbol").for(arguments[0]):a(o,null,arguments).get("symbol",i("Symbol"))}})},16422:function(e,t,n){n(83447)},58637:function(e,t,n){"use strict";n(73587)({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:n(36330)})},48700:function(e,t,n){"use strict";var r=n(73587),o=n(59799),i=n(25852),a=n(42763),s=n(81413);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=o(this),n=a(t),r=i(e,arguments.length>1?arguments[1]:void 0);return!s(n,(function(e,n,o){if(!r(n,e,t))return o()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},91027:function(e,t,n){"use strict";var r=n(73587),o=n(66780),i=n(25852),a=n(37892),s=n(68973),c=n(59799),u=n(4724),l=n(42763),d=n(81413);r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=c(this),n=l(t),r=i(e,arguments.length>1?arguments[1]:void 0),f=new(u(t,o("Map"))),h=s(f.set);return d(n,(function(e,n){r(n,e,t)&&a(h,f,e,n)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),f}})},78189:function(e,t,n){"use strict";var r=n(73587),o=n(59799),i=n(25852),a=n(42763),s=n(81413);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=o(this),n=a(t),r=i(e,arguments.length>1?arguments[1]:void 0);return s(n,(function(e,n,o){if(r(n,e,t))return o(e)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},21218:function(e,t,n){"use strict";var r=n(73587),o=n(59799),i=n(25852),a=n(42763),s=n(81413);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=o(this),n=a(t),r=i(e,arguments.length>1?arguments[1]:void 0);return s(n,(function(e,n,o){if(r(n,e,t))return o(n)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},17219:function(e,t,n){n(73587)({target:"Map",stat:!0,forced:!0},{from:n(48762)})},24222:function(e,t,n){"use strict";var r=n(73587),o=n(37892),i=n(34534),a=n(68973),s=n(68029),c=n(81413),u=i([].push);r({target:"Map",stat:!0,forced:!0},{groupBy:function(e,t){a(t);var n=s(e),r=new this,i=a(r.has),l=a(r.get),d=a(r.set);return c(n,(function(e){var n=t(e);o(i,r,n)?u(o(l,r,n),e):o(d,r,n,[e])}),{IS_ITERATOR:!0}),r}})},56053:function(e,t,n){"use strict";var r=n(73587),o=n(59799),i=n(42763),a=n(74006),s=n(81413);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return s(i(o(this)),(function(t,n,r){if(a(n,e))return r()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},16757:function(e,t,n){"use strict";var r=n(73587),o=n(37892),i=n(81413),a=n(68973);r({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var n=new this;a(t);var r=a(n.set);return i(e,(function(e){o(r,n,t(e),e)})),n}})},50218:function(e,t,n){"use strict";var r=n(73587),o=n(59799),i=n(42763),a=n(81413);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){return a(i(o(this)),(function(t,n,r){if(n===e)return r(t)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},26156:function(e,t,n){"use strict";var r=n(73587),o=n(66780),i=n(25852),a=n(37892),s=n(68973),c=n(59799),u=n(4724),l=n(42763),d=n(81413);r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=c(this),n=l(t),r=i(e,arguments.length>1?arguments[1]:void 0),f=new(u(t,o("Map"))),h=s(f.set);return d(n,(function(e,n){a(h,f,r(n,e,t),n)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),f}})},36285:function(e,t,n){"use strict";var r=n(73587),o=n(66780),i=n(25852),a=n(37892),s=n(68973),c=n(59799),u=n(4724),l=n(42763),d=n(81413);r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=c(this),n=l(t),r=i(e,arguments.length>1?arguments[1]:void 0),f=new(u(t,o("Map"))),h=s(f.set);return d(n,(function(e,n){a(h,f,e,r(n,e,t))}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),f}})},81519:function(e,t,n){"use strict";var r=n(73587),o=n(68973),i=n(59799),a=n(81413);r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var t=i(this),n=o(t.set),r=arguments.length,s=0;s<r;)a(arguments[s++],n,{that:t,AS_ENTRIES:!0});return t}})},66610:function(e,t,n){n(73587)({target:"Map",stat:!0,forced:!0},{of:n(23341)})},31380:function(e,t,n){"use strict";var r=n(73587),o=n(59799),i=n(68973),a=n(42763),s=n(81413),c=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=o(this),n=a(t),r=arguments.length<2,u=r?void 0:arguments[1];if(i(e),s(n,(function(n,o){r?(r=!1,u=o):u=e(u,o,n,t)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),r)throw c("Reduce of empty map with no initial value");return u}})},5905:function(e,t,n){"use strict";var r=n(73587),o=n(59799),i=n(25852),a=n(42763),s=n(81413);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=o(this),n=a(t),r=i(e,arguments.length>1?arguments[1]:void 0);return s(n,(function(e,n,o){if(r(n,e,t))return o()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},40063:function(e,t,n){"use strict";var r=n(73587),o=n(37892),i=n(59799),a=n(68973),s=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var n=i(this),r=a(n.get),c=a(n.has),u=a(n.set),l=arguments.length;a(t);var d=o(c,n,e);if(!d&&l<3)throw s("Updating absent value");var f=d?o(r,n,e):a(l>2?arguments[2]:void 0)(e,n);return o(u,n,e,t(f,e,n)),n}})},78549:function(e,t,n){var r=n(73587),o=Math.min,i=Math.max;r({target:"Math",stat:!0,forced:!0},{clamp:function(e,t,n){return o(n,i(t,e))}})},86053:function(e,t,n){n(73587)({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},37500:function(e,t,n){var r=n(73587),o=180/Math.PI;r({target:"Math",stat:!0,forced:!0},{degrees:function(e){return e*o}})},35663:function(e,t,n){var r=n(73587),o=n(38272),i=n(32319);r({target:"Math",stat:!0,forced:!0},{fscale:function(e,t,n,r,a){return i(o(e,t,n,r,a))}})},30473:function(e,t,n){n(73587)({target:"Math",stat:!0,forced:!0},{iaddh:function(e,t,n,r){var o=e>>>0,i=n>>>0;return(t>>>0)+(r>>>0)+((o&i|(o|i)&~(o+i>>>0))>>>31)|0}})},88578:function(e,t,n){n(73587)({target:"Math",stat:!0,forced:!0},{imulh:function(e,t){var n=65535,r=+e,o=+t,i=r&n,a=o&n,s=r>>16,c=o>>16,u=(s*a>>>0)+(i*a>>>16);return s*c+(u>>16)+((i*c>>>0)+(u&n)>>16)}})},97976:function(e,t,n){n(73587)({target:"Math",stat:!0,forced:!0},{isubh:function(e,t,n,r){var o=e>>>0,i=n>>>0;return(t>>>0)-(r>>>0)-((~o&i|~(o^i)&o-i>>>0)>>>31)|0}})},93622:function(e,t,n){n(73587)({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},37294:function(e,t,n){var r=n(73587),o=Math.PI/180;r({target:"Math",stat:!0,forced:!0},{radians:function(e){return e*o}})},7831:function(e,t,n){n(73587)({target:"Math",stat:!0,forced:!0},{scale:n(38272)})},3961:function(e,t,n){var r=n(73587),o=n(59799),i=n(31024),a=n(82992),s=n(43341),c=n(25313),u="Seeded Random",l="Seeded Random Generator",d=c.set,f=c.getterFor(l),h=TypeError,p=a((function(e){d(this,{type:l,seed:e%2147483647})}),u,(function(){var e=f(this),t=e.seed=(1103515245*e.seed+12345)%2147483647;return s((1073741823&t)/1073741823,!1)}));r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(e){var t=o(e).seed;if(!i(t))throw h('Math.seededPRNG() argument should have a "seed" field with a finite value.');return new p(t)}})},51816:function(e,t,n){n(73587)({target:"Math",stat:!0,forced:!0},{signbit:function(e){var t=+e;return t==t&&0==t?1/t==-1/0:t<0}})},34913:function(e,t,n){n(73587)({target:"Math",stat:!0,forced:!0},{umulh:function(e,t){var n=65535,r=+e,o=+t,i=r&n,a=o&n,s=r>>>16,c=o>>>16,u=(s*a>>>0)+(i*a>>>16);return s*c+(u>>>16)+((i*c>>>0)+(u&n)>>>16)}})},13711:function(e,t,n){"use strict";var r=n(73587),o=n(34534),i=n(56501),a=n(39232),s="Invalid number representation",c=RangeError,u=SyntaxError,l=TypeError,d=/^[\da-z]+$/,f=o("".charAt),h=o(d.exec),p=o(1..toString),g=o("".slice);r({target:"Number",stat:!0,forced:!0},{fromString:function(e,t){var n,r,o=1;if("string"!=typeof e)throw l(s);if(!e.length)throw u(s);if("-"==f(e,0)&&(o=-1,!(e=g(e,1)).length))throw u(s);if((n=void 0===t?10:i(t))<2||n>36)throw c("Invalid radix");if(!h(d,e)||p(r=a(e,n),n)!==e)throw u(s);return o*r}})},45722:function(e,t,n){"use strict";var r=n(73587),o=n(37892),i=n(37420),a=n(8965),s=n(68973),c=n(59799),u=n(35793),l=n(30171),d=n(90486),f=n(34965),h=n(62135),p=n(63609),g=n(22631),v=n(18787),m=n(81628),y=n(75508),b=n(25313),E=n(23811),w=y("observable"),_="Observable",S="Subscription",T="SubscriptionObserver",C=b.getterFor,I=b.set,k=C(_),R=C(S),A=C(T),P=function(e){this.observer=c(e),this.cleanup=void 0,this.subscriptionObserver=void 0};P.prototype={type:S,clean:function(){var e=this.cleanup;if(e){this.cleanup=void 0;try{e()}catch(t){m(t)}}},close:function(){if(!i){var e=this.facade,t=this.subscriptionObserver;e.closed=!0,t&&(t.closed=!0)}this.observer=void 0},isClosed:function(){return void 0===this.observer}};var O=function(e,t){var n,r=I(this,new P(e));i||(this.closed=!1);try{(n=h(e,"start"))&&o(n,e,this)}catch(f){m(f)}if(!r.isClosed()){var a=r.subscriptionObserver=new N(r);try{var c=t(a),u=c;d(c)||(r.cleanup=l(c.unsubscribe)?function(){u.unsubscribe()}:s(c))}catch(f){return void a.error(f)}r.isClosed()&&r.clean()}};O.prototype=g({},{unsubscribe:function(){var e=R(this);e.isClosed()||(e.close(),e.clean())}}),i&&v(O.prototype,"closed",{configurable:!0,get:function(){return R(this).isClosed()}});var N=function(e){I(this,{type:T,subscriptionState:e}),i||(this.closed=!1)};N.prototype=g({},{next:function(e){var t=A(this).subscriptionState;if(!t.isClosed()){var n=t.observer;try{var r=h(n,"next");r&&o(r,n,e)}catch(i){m(i)}}},error:function(e){var t=A(this).subscriptionState;if(!t.isClosed()){var n=t.observer;t.close();try{var r=h(n,"error");r?o(r,n,e):m(e)}catch(i){m(i)}t.clean()}},complete:function(){var e=A(this).subscriptionState;if(!e.isClosed()){var t=e.observer;e.close();try{var n=h(t,"complete");n&&o(n,t)}catch(r){m(r)}e.clean()}}}),i&&v(N.prototype,"closed",{configurable:!0,get:function(){return A(this).subscriptionState.isClosed()}});var x=function(e){u(this,M),I(this,{type:_,subscriber:s(e)})},M=x.prototype;g(M,{subscribe:function(e){var t=arguments.length;return new O(l(e)?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:f(e)?e:{},k(this).subscriber)}}),p(M,w,(function(){return this})),r({global:!0,constructor:!0,forced:E},{Observable:x}),a(_)},43242:function(e,t,n){"use strict";var r=n(73587),o=n(66780),i=n(37892),a=n(59799),s=n(73011),c=n(68029),u=n(62135),l=n(81413),d=n(75508),f=n(23811),h=d("observable");r({target:"Observable",stat:!0,forced:f},{from:function(e){var t=s(this)?this:o("Observable"),n=u(a(e),h);if(n){var r=a(i(n,e));return r.constructor===t?r:new t((function(e){return r.subscribe(e)}))}var d=c(e);return new t((function(e){l(d,(function(t,n){if(e.next(t),e.closed)return n()}),{IS_ITERATOR:!0,INTERRUPTED:!0}),e.complete()}))}})},35867:function(e,t,n){n(45722),n(43242),n(92933)},92933:function(e,t,n){"use strict";var r=n(73587),o=n(66780),i=n(73011),a=n(23811),s=o("Array");r({target:"Observable",stat:!0,forced:a},{of:function(){for(var e=i(this)?this:o("Observable"),t=arguments.length,n=s(t),r=0;r<t;)n[r]=arguments[r++];return new e((function(e){for(var r=0;r<t;r++)if(e.next(n[r]),e.closed)return;e.complete()}))}})},31430:function(e,t,n){n(98289)},21533:function(e,t,n){n(39644)},24556:function(e,t,n){"use strict";var r=n(73587),o=n(54249),i=n(74750);r({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=o.f(this),n=i(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},19367:function(e,t,n){var r=n(73587),o=n(6461),i=n(59799),a=o.toKey,s=o.set;r({target:"Reflect",stat:!0},{defineMetadata:function(e,t,n){var r=arguments.length<4?void 0:a(arguments[3]);s(e,t,i(n),r)}})},23290:function(e,t,n){var r=n(73587),o=n(6461),i=n(59799),a=o.toKey,s=o.getMap,c=o.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(e,t){var n=arguments.length<3?void 0:a(arguments[2]),r=s(i(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var o=c.get(t);return o.delete(n),!!o.size||c.delete(t)}})},63756:function(e,t,n){var r=n(73587),o=n(34534),i=n(6461),a=n(59799),s=n(7209),c=o(n(79651)),u=o([].concat),l=i.keys,d=i.toKey,f=function e(t,n){var r=l(t,n),o=s(t);if(null===o)return r;var i=e(o,n);return i.length?r.length?c(u(r,i)):i:r};r({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:d(arguments[1]);return f(a(e),t)}})},37927:function(e,t,n){var r=n(73587),o=n(6461),i=n(59799),a=n(7209),s=o.has,c=o.get,u=o.toKey,l=function e(t,n,r){if(s(t,n,r))return c(t,n,r);var o=a(n);return null!==o?e(t,o,r):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(e,t){var n=arguments.length<3?void 0:u(arguments[2]);return l(e,i(t),n)}})},60836:function(e,t,n){var r=n(73587),o=n(6461),i=n(59799),a=o.keys,s=o.toKey;r({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(e){var t=arguments.length<2?void 0:s(arguments[1]);return a(i(e),t)}})},91587:function(e,t,n){var r=n(73587),o=n(6461),i=n(59799),a=o.get,s=o.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(e,t){var n=arguments.length<3?void 0:s(arguments[2]);return a(e,i(t),n)}})},14770:function(e,t,n){var r=n(73587),o=n(6461),i=n(59799),a=n(7209),s=o.has,c=o.toKey,u=function e(t,n,r){if(s(t,n,r))return!0;var o=a(n);return null!==o&&e(t,o,r)};r({target:"Reflect",stat:!0},{hasMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return u(e,i(t),n)}})},85955:function(e,t,n){var r=n(73587),o=n(6461),i=n(59799),a=o.has,s=o.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,t){var n=arguments.length<3?void 0:s(arguments[2]);return a(e,i(t),n)}})},73348:function(e,t,n){var r=n(73587),o=n(6461),i=n(59799),a=o.toKey,s=o.set;r({target:"Reflect",stat:!0},{metadata:function(e,t){return function(n,r){s(e,t,i(n),a(r))}}})},18701:function(e,t,n){"use strict";n(73587)({target:"Set",proto:!0,real:!0,forced:!0},{addAll:n(91137)})},5367:function(e,t,n){"use strict";n(73587)({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:n(36330)})},80660:function(e,t,n){"use strict";var r=n(73587),o=n(66780),i=n(37892),a=n(68973),s=n(59799),c=n(4724),u=n(81413);r({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(e){var t=s(this),n=new(c(t,o("Set")))(t),r=a(n.delete);return u(e,(function(e){i(r,n,e)})),n}})},66073:function(e,t,n){"use strict";var r=n(73587),o=n(59799),i=n(25852),a=n(63851),s=n(81413);r({target:"Set",proto:!0,real:!0,forced:!0},{every:function(e){var t=o(this),n=a(t),r=i(e,arguments.length>1?arguments[1]:void 0);return!s(n,(function(e,n){if(!r(e,e,t))return n()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},35248:function(e,t,n){"use strict";var r=n(73587),o=n(66780),i=n(37892),a=n(68973),s=n(59799),c=n(25852),u=n(4724),l=n(63851),d=n(81413);r({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var t=s(this),n=l(t),r=c(e,arguments.length>1?arguments[1]:void 0),f=new(u(t,o("Set"))),h=a(f.add);return d(n,(function(e){r(e,e,t)&&i(h,f,e)}),{IS_ITERATOR:!0}),f}})},25320:function(e,t,n){"use strict";var r=n(73587),o=n(59799),i=n(25852),a=n(63851),s=n(81413);r({target:"Set",proto:!0,real:!0,forced:!0},{find:function(e){var t=o(this),n=a(t),r=i(e,arguments.length>1?arguments[1]:void 0);return s(n,(function(e,n){if(r(e,e,t))return n(e)}),{IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},42729:function(e,t,n){n(73587)({target:"Set",stat:!0,forced:!0},{from:n(48762)})},49196:function(e,t,n){"use strict";var r=n(73587),o=n(66780),i=n(37892),a=n(68973),s=n(59799),c=n(4724),u=n(81413);r({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(e){var t=s(this),n=new(c(t,o("Set"))),r=a(t.has),l=a(n.add);return u(e,(function(e){i(r,t,e)&&i(l,n,e)})),n}})},19115:function(e,t,n){"use strict";var r=n(73587),o=n(37892),i=n(68973),a=n(59799),s=n(81413);r({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){var t=a(this),n=i(t.has);return!s(e,(function(e,r){if(!0===o(n,t,e))return r()}),{INTERRUPTED:!0}).stopped}})},7880:function(e,t,n){"use strict";var r=n(73587),o=n(66780),i=n(37892),a=n(68973),s=n(30171),c=n(59799),u=n(68029),l=n(81413);r({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){var t=u(this),n=c(e),r=n.has;return s(r)||(n=new(o("Set"))(e),r=a(n.has)),!l(t,(function(e,t){if(!1===i(r,n,e))return t()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},93017:function(e,t,n){"use strict";var r=n(73587),o=n(37892),i=n(68973),a=n(59799),s=n(81413);r({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(e){var t=a(this),n=i(t.has);return!s(e,(function(e,r){if(!1===o(n,t,e))return r()}),{INTERRUPTED:!0}).stopped}})},6803:function(e,t,n){"use strict";var r=n(73587),o=n(34534),i=n(59799),a=n(55217),s=n(63851),c=n(81413),u=o([].join),l=[].push;r({target:"Set",proto:!0,real:!0,forced:!0},{join:function(e){var t=i(this),n=s(t),r=void 0===e?",":a(e),o=[];return c(n,l,{that:o,IS_ITERATOR:!0}),u(o,r)}})},75837:function(e,t,n){"use strict";var r=n(73587),o=n(66780),i=n(25852),a=n(37892),s=n(68973),c=n(59799),u=n(4724),l=n(63851),d=n(81413);r({target:"Set",proto:!0,real:!0,forced:!0},{map:function(e){var t=c(this),n=l(t),r=i(e,arguments.length>1?arguments[1]:void 0),f=new(u(t,o("Set"))),h=s(f.add);return d(n,(function(e){a(h,f,r(e,e,t))}),{IS_ITERATOR:!0}),f}})},78004:function(e,t,n){n(73587)({target:"Set",stat:!0,forced:!0},{of:n(23341)})},78981:function(e,t,n){"use strict";var r=n(73587),o=n(68973),i=n(59799),a=n(63851),s=n(81413),c=TypeError;r({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=i(this),n=a(t),r=arguments.length<2,u=r?void 0:arguments[1];if(o(e),s(n,(function(n){r?(r=!1,u=n):u=e(u,n,n,t)}),{IS_ITERATOR:!0}),r)throw c("Reduce of empty set with no initial value");return u}})},46581:function(e,t,n){"use strict";var r=n(73587),o=n(59799),i=n(25852),a=n(63851),s=n(81413);r({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var t=o(this),n=a(t),r=i(e,arguments.length>1?arguments[1]:void 0);return s(n,(function(e,n){if(r(e,e,t))return n()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},10240:function(e,t,n){"use strict";var r=n(73587),o=n(66780),i=n(37892),a=n(68973),s=n(59799),c=n(4724),u=n(81413);r({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){var t=s(this),n=new(c(t,o("Set")))(t),r=a(n.delete),l=a(n.add);return u(e,(function(e){i(r,n,e)||i(l,n,e)})),n}})},32758:function(e,t,n){"use strict";var r=n(73587),o=n(66780),i=n(68973),a=n(59799),s=n(4724),c=n(81413);r({target:"Set",proto:!0,real:!0,forced:!0},{union:function(e){var t=a(this),n=new(s(t,o("Set")))(t);return c(e,i(n.add),{that:n}),n}})},69753:function(e,t,n){"use strict";var r=n(73587),o=n(19838).charAt,i=n(9629),a=n(56501),s=n(55217);r({target:"String",proto:!0,forced:!0},{at:function(e){var t=s(i(this)),n=t.length,r=a(e),c=r>=0?r:n+r;return c<0||c>=n?void 0:o(t,c)}})},91501:function(e,t,n){"use strict";var r=n(73587),o=n(82992),i=n(43341),a=n(9629),s=n(55217),c=n(25313),u=n(19838),l=u.codeAt,d=u.charAt,f="String Iterator",h=c.set,p=c.getterFor(f),g=o((function(e){h(this,{type:f,string:e,index:0})}),"String",(function(){var e,t=p(this),n=t.string,r=t.index;return r>=n.length?i(void 0,!0):(e=d(n,r),t.index+=e.length,i({codePoint:l(e,0),position:r},!1))}));r({target:"String",proto:!0,forced:!0},{codePoints:function(){return new g(s(a(this)))}})},13539:function(e,t,n){n(47638)},3689:function(e,t,n){n(84696)},41093:function(e,t,n){n(58019)("dispose")},73268:function(e,t,n){n(58019)("observable")},5194:function(e,t,n){n(58019)("patternMatch")},19650:function(e,t,n){"use strict";n(73587)({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:n(36330)})},33207:function(e,t,n){n(73587)({target:"WeakMap",stat:!0,forced:!0},{from:n(48762)})},73002:function(e,t,n){n(73587)({target:"WeakMap",stat:!0,forced:!0},{of:n(23341)})},17983:function(e,t,n){"use strict";n(73587)({target:"WeakSet",proto:!0,real:!0,forced:!0},{addAll:n(91137)})},72621:function(e,t,n){"use strict";n(73587)({target:"WeakSet",proto:!0,real:!0,forced:!0},{deleteAll:n(36330)})},57984:function(e,t,n){n(73587)({target:"WeakSet",stat:!0,forced:!0},{from:n(48762)})},64605:function(e,t,n){n(73587)({target:"WeakSet",stat:!0,forced:!0},{of:n(23341)})},78351:function(e,t,n){var r=n(73587),o=n(19782),i=n(11092).clear;r({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},60237:function(e,t,n){var r=n(19782),o=n(7727),i=n(17255),a=n(3424),s=n(87454),c=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},67366:function(e,t,n){var r=n(19782),o=n(7727),i=n(17255),a=n(57359),s=n(87454),c=n(75508),u=c("iterator"),l=c("toStringTag"),d=a.values,f=function(e,t){if(e){if(e[u]!==d)try{s(e,u,d)}catch(r){e[u]=d}if(e[l]||s(e,l,t),o[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(r){e[n]=a[n]}}};for(var h in o)f(r[h]&&r[h].prototype,h);f(i,"DOMTokenList")},25507:function(e,t,n){n(78351),n(489)},17619:function(e,t,n){var r=n(73587),o=n(19782),i=n(20209),a=n(68973),s=n(24050),c=n(70520),u=o.process;r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(e){s(arguments.length,1),a(e);var t=c&&u.domain;i(t?t.bind(e):e)}})},489:function(e,t,n){var r=n(73587),o=n(19782),i=n(11092).set;r({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==i},{setImmediate:i})},72029:function(e,t,n){"use strict";n(57359);var r=n(73587),o=n(19782),i=n(37892),a=n(34534),s=n(37420),c=n(63806),u=n(63609),l=n(22631),d=n(21117),f=n(82992),h=n(25313),p=n(35793),g=n(30171),v=n(78320),m=n(25852),y=n(5249),b=n(59799),E=n(34965),w=n(55217),_=n(83302),S=n(80431),T=n(68029),C=n(84284),I=n(24050),k=n(75508),R=n(65082),A=k("iterator"),P="URLSearchParams",O="URLSearchParamsIterator",N=h.set,x=h.getterFor(P),M=h.getterFor(O),U=Object.getOwnPropertyDescriptor,L=function(e){if(!s)return o[e];var t=U(o,e);return t&&t.value},D=L("fetch"),H=L("Request"),q=L("Headers"),F=H&&H.prototype,j=q&&q.prototype,G=o.RegExp,z=o.TypeError,B=o.decodeURIComponent,K=o.encodeURIComponent,W=a("".charAt),J=a([].join),V=a([].push),Y=a("".replace),Q=a([].shift),$=a([].splice),Z=a("".split),X=a("".slice),ee=/\+/g,te=Array(4),ne=function(e){return te[e-1]||(te[e-1]=G("((?:%[\\da-f]{2}){"+e+"})","gi"))},re=function(e){try{return B(e)}catch(t){return e}},oe=function(e){var t=Y(e,ee," "),n=4;try{return B(t)}catch(r){for(;n;)t=Y(t,ne(n--),re);return t}},ie=/[!'()~]|%20/g,ae={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},se=function(e){return ae[e]},ce=function(e){return Y(K(e),ie,se)},ue=f((function(e,t){N(this,{type:O,iterator:T(x(e).entries),kind:t})}),"Iterator",(function(){var e=M(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),le=function(e){this.entries=[],this.url=null,void 0!==e&&(E(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===W(e,0)?X(e,1):e:w(e)))};le.prototype={type:P,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,o,a,s,c,u=C(e);if(u)for(n=(t=T(e,u)).next;!(r=i(n,t)).done;){if(a=(o=T(b(r.value))).next,(s=i(a,o)).done||(c=i(a,o)).done||!i(a,o).done)throw z("Expected sequence with length 2");V(this.entries,{key:w(s.value),value:w(c.value)})}else for(var l in e)v(e,l)&&V(this.entries,{key:l,value:w(e[l])})},parseQuery:function(e){if(e)for(var t,n,r=Z(e,"&"),o=0;o<r.length;)(t=r[o++]).length&&(n=Z(t,"="),V(this.entries,{key:oe(Q(n)),value:oe(J(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],V(n,ce(e.key)+"="+ce(e.value));return J(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var de=function(){p(this,fe);var e=arguments.length>0?arguments[0]:void 0;N(this,new le(e))},fe=de.prototype;if(l(fe,{append:function(e,t){I(arguments.length,2);var n=x(this);V(n.entries,{key:w(e),value:w(t)}),n.updateURL()},delete:function(e){I(arguments.length,1);for(var t=x(this),n=t.entries,r=w(e),o=0;o<n.length;)n[o].key===r?$(n,o,1):o++;t.updateURL()},get:function(e){I(arguments.length,1);for(var t=x(this).entries,n=w(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){I(arguments.length,1);for(var t=x(this).entries,n=w(e),r=[],o=0;o<t.length;o++)t[o].key===n&&V(r,t[o].value);return r},has:function(e){I(arguments.length,1);for(var t=x(this).entries,n=w(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){I(arguments.length,1);for(var n,r=x(this),o=r.entries,i=!1,a=w(e),s=w(t),c=0;c<o.length;c++)(n=o[c]).key===a&&(i?$(o,c--,1):(i=!0,n.value=s));i||V(o,{key:a,value:s}),r.updateURL()},sort:function(){var e=x(this);R(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=x(this).entries,r=m(e,arguments.length>1?arguments[1]:void 0),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new ue(this,"keys")},values:function(){return new ue(this,"values")},entries:function(){return new ue(this,"entries")}},{enumerable:!0}),u(fe,A,fe.entries,{name:"entries"}),u(fe,"toString",(function(){return x(this).serialize()}),{enumerable:!0}),d(de,P),r({global:!0,constructor:!0,forced:!c},{URLSearchParams:de}),!c&&g(q)){var he=a(j.has),pe=a(j.set),ge=function(e){if(E(e)){var t,n=e.body;if(y(n)===P)return t=e.headers?new q(e.headers):new q,he(t,"content-type")||pe(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),_(e,{body:S(0,w(n)),headers:S(0,t)})}return e};if(g(D)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return D(e,arguments.length>1?ge(arguments[1]):{})}}),g(H)){var ve=function(e){return p(this,F),new H(e,arguments.length>1?ge(arguments[1]):{})};F.constructor=ve,ve.prototype=F,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ve})}}e.exports={URLSearchParams:de,getState:x}},91642:function(e,t,n){n(72029)},48613:function(e,t,n){"use strict";n(90192);var r,o=n(73587),i=n(37420),a=n(63806),s=n(19782),c=n(25852),u=n(34534),l=n(63609),d=n(18787),f=n(35793),h=n(78320),p=n(85698),g=n(97509),v=n(92914),m=n(19838).codeAt,y=n(34148),b=n(55217),E=n(21117),w=n(24050),_=n(72029),S=n(25313),T=S.set,C=S.getterFor("URL"),I=_.URLSearchParams,k=_.getState,R=s.URL,A=s.TypeError,P=s.parseInt,O=Math.floor,N=Math.pow,x=u("".charAt),M=u(/./.exec),U=u([].join),L=u(1..toString),D=u([].pop),H=u([].push),q=u("".replace),F=u([].shift),j=u("".split),G=u("".slice),z=u("".toLowerCase),B=u([].unshift),K="Invalid scheme",W="Invalid host",J="Invalid port",V=/[a-z]/i,Y=/[\d+-.a-z]/i,Q=/\d/,$=/^0x/i,Z=/^[0-7]+$/,X=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,oe=/[\t\n\r]/g,ie=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)B(t,e%256),e=O(e/256);return U(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=L(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},ae={},se=p({},ae,{" ":1,'"':1,"<":1,">":1,"`":1}),ce=p({},se,{"#":1,"?":1,"{":1,"}":1}),ue=p({},ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),le=function(e,t){var n=m(e,0);return n>32&&n<127&&!h(t,e)?e:encodeURIComponent(e)},de={ftp:21,file:null,http:80,https:443,ws:80,wss:443},fe=function(e,t){var n;return 2==e.length&&M(V,x(e,0))&&(":"==(n=x(e,1))||!t&&"|"==n)},he=function(e){var t;return e.length>1&&fe(G(e,0,2))&&(2==e.length||"/"===(t=x(e,2))||"\\"===t||"?"===t||"#"===t)},pe=function(e){return"."===e||"%2e"===z(e)},ge={},ve={},me={},ye={},be={},Ee={},we={},_e={},Se={},Te={},Ce={},Ie={},ke={},Re={},Ae={},Pe={},Oe={},Ne={},xe={},Me={},Ue={},Le=function e(t,n,r){var o,i,a,s=b(t);if(n){if(i=this.parse(s))throw A(i);this.searchParams=null}else{if(void 0!==r&&(o=new e(r,!0)),i=this.parse(s,null,o))throw A(i);(a=k(new I)).bindURL(this),this.searchParams=a}};Le.prototype={type:"URL",parse:function(e,t,n){var o,i,a,s,c,u=this,l=t||ge,d=0,f="",p=!1,m=!1,y=!1;for(e=b(e),t||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,e=q(e,re,"")),e=q(e,oe,""),o=g(e);d<=o.length;){switch(i=o[d],l){case ge:if(!i||!M(V,i)){if(t)return K;l=me;continue}f+=z(i),l=ve;break;case ve:if(i&&(M(Y,i)||"+"==i||"-"==i||"."==i))f+=z(i);else{if(":"!=i){if(t)return K;f="",l=me,d=0;continue}if(t&&(u.isSpecial()!=h(de,f)||"file"==f&&(u.includesCredentials()||null!==u.port)||"file"==u.scheme&&!u.host))return;if(u.scheme=f,t)return void(u.isSpecial()&&de[u.scheme]==u.port&&(u.port=null));f="","file"==u.scheme?l=Re:u.isSpecial()&&n&&n.scheme==u.scheme?l=ye:u.isSpecial()?l=_e:"/"==o[d+1]?(l=be,d++):(u.cannotBeABaseURL=!0,H(u.path,""),l=xe)}break;case me:if(!n||n.cannotBeABaseURL&&"#"!=i)return K;if(n.cannotBeABaseURL&&"#"==i){u.scheme=n.scheme,u.path=v(n.path),u.query=n.query,u.fragment="",u.cannotBeABaseURL=!0,l=Ue;break}l="file"==n.scheme?Re:Ee;continue;case ye:if("/"!=i||"/"!=o[d+1]){l=Ee;continue}l=Se,d++;break;case be:if("/"==i){l=Te;break}l=Ne;continue;case Ee:if(u.scheme=n.scheme,i==r)u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.query=n.query;else if("/"==i||"\\"==i&&u.isSpecial())l=we;else if("?"==i)u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.query="",l=Me;else{if("#"!=i){u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.path.length--,l=Ne;continue}u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.query=n.query,u.fragment="",l=Ue}break;case we:if(!u.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,l=Ne;continue}l=Te}else l=Se;break;case _e:if(l=Se,"/"!=i||"/"!=x(f,d+1))continue;d++;break;case Se:if("/"!=i&&"\\"!=i){l=Te;continue}break;case Te:if("@"==i){p&&(f="%40"+f),p=!0,a=g(f);for(var E=0;E<a.length;E++){var w=a[E];if(":"!=w||y){var _=le(w,ue);y?u.password+=_:u.username+=_}else y=!0}f=""}else if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&u.isSpecial()){if(p&&""==f)return"Invalid authority";d-=g(f).length+1,f="",l=Ce}else f+=i;break;case Ce:case Ie:if(t&&"file"==u.scheme){l=Pe;continue}if(":"!=i||m){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&u.isSpecial()){if(u.isSpecial()&&""==f)return W;if(t&&""==f&&(u.includesCredentials()||null!==u.port))return;if(s=u.parseHost(f))return s;if(f="",l=Oe,t)return;continue}"["==i?m=!0:"]"==i&&(m=!1),f+=i}else{if(""==f)return W;if(s=u.parseHost(f))return s;if(f="",l=ke,t==Ie)return}break;case ke:if(!M(Q,i)){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&u.isSpecial()||t){if(""!=f){var S=P(f,10);if(S>65535)return J;u.port=u.isSpecial()&&S===de[u.scheme]?null:S,f=""}if(t)return;l=Oe;continue}return J}f+=i;break;case Re:if(u.scheme="file","/"==i||"\\"==i)l=Ae;else{if(!n||"file"!=n.scheme){l=Ne;continue}if(i==r)u.host=n.host,u.path=v(n.path),u.query=n.query;else if("?"==i)u.host=n.host,u.path=v(n.path),u.query="",l=Me;else{if("#"!=i){he(U(v(o,d),""))||(u.host=n.host,u.path=v(n.path),u.shortenPath()),l=Ne;continue}u.host=n.host,u.path=v(n.path),u.query=n.query,u.fragment="",l=Ue}}break;case Ae:if("/"==i||"\\"==i){l=Pe;break}n&&"file"==n.scheme&&!he(U(v(o,d),""))&&(fe(n.path[0],!0)?H(u.path,n.path[0]):u.host=n.host),l=Ne;continue;case Pe:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&fe(f))l=Ne;else if(""==f){if(u.host="",t)return;l=Oe}else{if(s=u.parseHost(f))return s;if("localhost"==u.host&&(u.host=""),t)return;f="",l=Oe}continue}f+=i;break;case Oe:if(u.isSpecial()){if(l=Ne,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=r&&(l=Ne,"/"!=i))continue}else u.fragment="",l=Ue;else u.query="",l=Me;break;case Ne:if(i==r||"/"==i||"\\"==i&&u.isSpecial()||!t&&("?"==i||"#"==i)){if(".."===(c=z(c=f))||"%2e."===c||".%2e"===c||"%2e%2e"===c?(u.shortenPath(),"/"==i||"\\"==i&&u.isSpecial()||H(u.path,"")):pe(f)?"/"==i||"\\"==i&&u.isSpecial()||H(u.path,""):("file"==u.scheme&&!u.path.length&&fe(f)&&(u.host&&(u.host=""),f=x(f,0)+":"),H(u.path,f)),f="","file"==u.scheme&&(i==r||"?"==i||"#"==i))for(;u.path.length>1&&""===u.path[0];)F(u.path);"?"==i?(u.query="",l=Me):"#"==i&&(u.fragment="",l=Ue)}else f+=le(i,ce);break;case xe:"?"==i?(u.query="",l=Me):"#"==i?(u.fragment="",l=Ue):i!=r&&(u.path[0]+=le(i,ae));break;case Me:t||"#"!=i?i!=r&&("'"==i&&u.isSpecial()?u.query+="%27":u.query+="#"==i?"%23":le(i,ae)):(u.fragment="",l=Ue);break;case Ue:i!=r&&(u.fragment+=le(i,se))}d++}},parseHost:function(e){var t,n,r;if("["==x(e,0)){if("]"!=x(e,e.length-1))return W;if(t=function(e){var t,n,r,o,i,a,s,c=[0,0,0,0,0,0,0,0],u=0,l=null,d=0,f=function(){return x(e,d)};if(":"==f()){if(":"!=x(e,1))return;d+=2,l=++u}for(;f();){if(8==u)return;if(":"!=f()){for(t=n=0;n<4&&M(ee,f());)t=16*t+P(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,u>6)return;for(r=0;f();){if(o=null,r>0){if(!("."==f()&&r<4))return;d++}if(!M(Q,f()))return;for(;M(Q,f());){if(i=P(f(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;d++}c[u]=256*c[u]+o,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;c[u++]=t}else{if(null!==l)return;d++,l=++u}}if(null!==l)for(a=u-l,u=7;0!=u&&a>0;)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s;else if(8!=u)return;return c}(G(e,1,-1)),!t)return W;this.host=t}else if(this.isSpecial()){if(e=y(e),M(te,e))return W;if(t=function(e){var t,n,r,o,i,a,s,c=j(e,".");if(c.length&&""==c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=c[r]))return e;if(i=10,o.length>1&&"0"==x(o,0)&&(i=M($,o)?16:8,o=G(o,8==i?1:2)),""===o)a=0;else{if(!M(10==i?X:8==i?Z:ee,o))return e;a=P(o,i)}H(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=N(256,5-t))return null}else if(a>255)return null;for(s=D(n),r=0;r<n.length;r++)s+=n[r]*N(256,3-r);return s}(e),null===t)return W;this.host=t}else{if(M(ne,e))return W;for(t="",n=g(e),r=0;r<n.length;r++)t+=le(n[r],ae);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return h(de,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&fe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,c=e.fragment,u=t+":";return null!==o?(u+="//",e.includesCredentials()&&(u+=n+(r?":"+r:"")+"@"),u+=ie(o),null!==i&&(u+=":"+i)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+U(a,"/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},setHref:function(e){var t=this.parse(e);if(t)throw A(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new De(e.path[0]).origin}catch(n){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ie(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",ge)},getUsername:function(){return this.username},setUsername:function(e){var t=g(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=le(t[n],ue)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=le(t[n],ue)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ie(e):ie(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ce)},getHostname:function(){var e=this.host;return null===e?"":ie(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ie)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=b(e))?this.port=null:this.parse(e,ke))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+U(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Oe))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=b(e))?this.query=null:("?"==x(e,0)&&(e=G(e,1)),this.query="",this.parse(e,Me)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=b(e))?("#"==x(e,0)&&(e=G(e,1)),this.fragment="",this.parse(e,Ue)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var De=function(e){var t=f(this,He),n=w(arguments.length,1)>1?arguments[1]:void 0,r=T(t,new Le(e,!1,n));i||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},He=De.prototype,qe=function(e,t){return{get:function(){return C(this)[e]()},set:t&&function(e){return C(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(d(He,"href",qe("serialize","setHref")),d(He,"origin",qe("getOrigin")),d(He,"protocol",qe("getProtocol","setProtocol")),d(He,"username",qe("getUsername","setUsername")),d(He,"password",qe("getPassword","setPassword")),d(He,"host",qe("getHost","setHost")),d(He,"hostname",qe("getHostname","setHostname")),d(He,"port",qe("getPort","setPort")),d(He,"pathname",qe("getPathname","setPathname")),d(He,"search",qe("getSearch","setSearch")),d(He,"searchParams",qe("getSearchParams")),d(He,"hash",qe("getHash","setHash"))),l(He,"toJSON",(function(){return C(this).serialize()}),{enumerable:!0}),l(He,"toString",(function(){return C(this).serialize()}),{enumerable:!0}),R){var Fe=R.createObjectURL,je=R.revokeObjectURL;Fe&&l(De,"createObjectURL",c(Fe,R)),je&&l(De,"revokeObjectURL",c(je,R))}E(De,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:De})},36037:function(e,t,n){n(48613)},53245:function(e,t,n){"use strict";var r=n(73587),o=n(37892);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},67861:function(e,t,n){"use strict";var r=n(89456),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var a=l(n);d&&(a=a.concat(d(n)));for(var s=c(t),g=c(n),v=0;v<a.length;++v){var m=a[v];if(!i[m]&&(!r||!r[m])&&(!g||!g[m])&&(!s||!s[m])){var y=f(n,m);try{u(t,m,y)}catch(b){}}}}return t}},20229:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,E=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case u:case f:case v:case g:case c:return e;default:return t}}case o:return t}}}function _(e){return w(e)===d}t.AsyncMode=l,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||w(e)===l},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===s||e===a||e===h||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===c||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===E||e.$$typeof===m)},t.typeOf=w},89456:function(e,t,n){"use strict";e.exports=n(20229)},30534:function(e,t,n){"use strict";var r=n(47313),o=n(62224);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var l=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},p={};function g(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var m=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(p,e)||!d.call(h,e)&&(f.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(m,y);v[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(m,y);v[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(m,y);v[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var E=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),_=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),I=Symbol.for("react.provider"),k=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var x=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var M=Symbol.iterator;function U(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=M&&e[M]||e["@@iterator"])?e:null}var L,D=Object.assign;function H(e){if(void 0===L)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var q=!1;function F(e,t){if(!e||q)return"";q=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var o=u.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var c="\n"+o[a].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=a&&0<=s);break}}}finally{q=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?H(e):""}function j(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=F(e.type,!1);case 11:return e=F(e.type.render,!1);case 1:return e=F(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case S:return"Fragment";case _:return"Portal";case C:return"Profiler";case T:return"StrictMode";case A:return"Suspense";case P:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case k:return(e.displayName||"Context")+".Consumer";case I:return(e._context.displayName||"Context")+".Provider";case R:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case O:return null!==(t=e.displayName||null)?t:G(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return G(e(t))}catch(n){}}return null}function z(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return G(t);case 8:return t===T?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function B(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function K(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=K(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function J(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=K(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function V(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=B(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function $(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Z(e,t){$(e,t);var n=B(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,B(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function X(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&V(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+B(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:B(n)}}function ie(e,t){var n=B(t.value),r=B(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ce(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,le,de=(le=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return le(e,t)}))}:le);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var me=D({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ee=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var _e=null,Se=null,Te=null;function Ce(e){if(e=Eo(e)){if("function"!==typeof _e)throw Error(i(280));var t=e.stateNode;t&&(t=_o(t),_e(e.stateNode,e.type,t))}}function Ie(e){Se?Te?Te.push(e):Te=[e]:Se=e}function ke(){if(Se){var e=Se,t=Te;if(Te=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Re(e,t){return e(t)}function Ae(){}var Pe=!1;function Oe(e,t,n){if(Pe)return e(t,n);Pe=!0;try{return Re(e,t,n)}finally{Pe=!1,(null!==Se||null!==Te)&&(Ae(),ke())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var r=_o(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var xe=!1;if(l)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){xe=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(le){xe=!1}function Ue(e,t,n,r,o,i,a,s,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(l){this.onError(l)}}var Le=!1,De=null,He=!1,qe=null,Fe={onError:function(e){Le=!0,De=e}};function je(e,t,n,r,o,i,a,s,c){Le=!1,De=null,Ue.apply(Fe,arguments)}function Ge(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Be(e){if(Ge(e)!==e)throw Error(i(188))}function Ke(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ge(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Be(o),e;if(a===r)return Be(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,c=o.child;c;){if(c===n){s=!0,n=o,r=a;break}if(c===r){s=!0,r=o,n=a;break}c=c.sibling}if(!s){for(c=a.child;c;){if(c===n){s=!0,n=a,r=o;break}if(c===r){s=!0,r=a,n=o;break}c=c.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Je=o.unstable_scheduleCallback,Ve=o.unstable_cancelCallback,Ye=o.unstable_shouldYield,Qe=o.unstable_requestPaint,$e=o.unstable_now,Ze=o.unstable_getCurrentPriorityLevel,Xe=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/ct|0)|0},st=Math.log,ct=Math.LN2;var ut=64,lt=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=dt(s):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ut;return 0===(4194240&(ut<<=1))&&(ut=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function mt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function Et(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var wt,_t,St,Tt,Ct,It=!1,kt=[],Rt=null,At=null,Pt=null,Ot=new Map,Nt=new Map,xt=[],Mt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ut(e,t){switch(e){case"focusin":case"focusout":Rt=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":Ot.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function Lt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=Eo(t))&&_t(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Dt(e){var t=bo(e.target);if(null!==t){var n=Ge(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=ze(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ht(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Eo(n))&&_t(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ee=r,n.target.dispatchEvent(r),Ee=null,t.shift()}return!0}function qt(e,t,n){Ht(e)&&n.delete(t)}function Ft(){It=!1,null!==Rt&&Ht(Rt)&&(Rt=null),null!==At&&Ht(At)&&(At=null),null!==Pt&&Ht(Pt)&&(Pt=null),Ot.forEach(qt),Nt.forEach(qt)}function jt(e,t){e.blockedOn===t&&(e.blockedOn=null,It||(It=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ft)))}function Gt(e){function t(t){return jt(t,e)}if(0<kt.length){jt(kt[0],e);for(var n=1;n<kt.length;n++){var r=kt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Rt&&jt(Rt,e),null!==At&&jt(At,e),null!==Pt&&jt(Pt,e),Ot.forEach(t),Nt.forEach(t),n=0;n<xt.length;n++)(r=xt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<xt.length&&null===(n=xt[0]).blockedOn;)Dt(n),null===n.blockedOn&&xt.shift()}var zt=E.ReactCurrentBatchConfig,Bt=!0;function Kt(e,t,n,r){var o=bt,i=zt.transition;zt.transition=null;try{bt=1,Jt(e,t,n,r)}finally{bt=o,zt.transition=i}}function Wt(e,t,n,r){var o=bt,i=zt.transition;zt.transition=null;try{bt=4,Jt(e,t,n,r)}finally{bt=o,zt.transition=i}}function Jt(e,t,n,r){if(Bt){var o=Yt(e,t,n,r);if(null===o)Br(e,t,r,Vt,n),Ut(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Rt=Lt(Rt,e,t,n,r,o),!0;case"dragenter":return At=Lt(At,e,t,n,r,o),!0;case"mouseover":return Pt=Lt(Pt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Ot.set(i,Lt(Ot.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Nt.set(i,Lt(Nt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Ut(e,r),4&t&&-1<Mt.indexOf(e)){for(;null!==o;){var i=Eo(o);if(null!==i&&wt(i),null===(i=Yt(e,t,n,r))&&Br(e,t,r,Vt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Br(e,t,r,null,n)}}var Vt=null;function Yt(e,t,n,r){if(Vt=null,null!==(e=bo(e=we(r))))if(null===(t=Ge(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=ze(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Vt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case Xe:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var $t=null,Zt=null,Xt=null;function en(){if(Xt)return Xt;var e,t,n=Zt,r=n.length,o="value"in $t?$t.value:$t.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Xt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,cn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=on(un),dn=D({},un,{view:0,detail:0}),fn=on(dn),hn=D({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==cn&&(cn&&"mousemove"===e.type?(an=e.screenX-cn.screenX,sn=e.screenY-cn.screenY):sn=an=0,cn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=on(hn),gn=on(D({},hn,{dataTransfer:0})),vn=on(D({},dn,{relatedTarget:0})),mn=on(D({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=D({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),En=on(D({},un,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_n={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return Tn}var In=D({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_n[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),kn=on(In),Rn=on(D({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=on(D({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Pn=on(D({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),On=D({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nn=on(On),xn=[9,13,27,32],Mn=l&&"CompositionEvent"in window,Un=null;l&&"documentMode"in document&&(Un=document.documentMode);var Ln=l&&"TextEvent"in window&&!Un,Dn=l&&(!Mn||Un&&8<Un&&11>=Un),Hn=String.fromCharCode(32),qn=!1;function Fn(e,t){switch(e){case"keyup":return-1!==xn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Gn=!1;var zn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Bn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!zn[e.type]:"textarea"===t}function Kn(e,t,n,r){Ie(r),0<(t=Wr(t,"onChange")).length&&(n=new ln("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Jn=null;function Vn(e){Hr(e,0)}function Yn(e){if(J(wo(e)))return e}function Qn(e,t){if("change"===e)return t}var $n=!1;if(l){var Zn;if(l){var Xn="oninput"in document;if(!Xn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Xn="function"===typeof er.oninput}Zn=Xn}else Zn=!1;$n=Zn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Jn=Wn=null)}function nr(e){if("value"===e.propertyName&&Yn(Jn)){var t=[];Kn(t,Jn,e,we(e)),Oe(Vn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Jn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Jn)}function ir(e,t){if("click"===e)return Yn(t)}function ar(e,t){if("input"===e||"change"===e)return Yn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function cr(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=V();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=V((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=lr(n,i);var a=lr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gr=l&&"documentMode"in document&&11>=document.documentMode,vr=null,mr=null,yr=null,br=!1;function Er(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==V(r)||("selectionStart"in(r=vr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&cr(yr,r)||(yr=r,0<(r=Wr(mr,"onSelect")).length&&(t=new ln("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _r={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Sr={},Tr={};function Cr(e){if(Sr[e])return Sr[e];if(!_r[e])return e;var t,n=_r[e];for(t in n)if(n.hasOwnProperty(t)&&t in Tr)return Sr[e]=n[t];return e}l&&(Tr=document.createElement("div").style,"AnimationEvent"in window||(delete _r.animationend.animation,delete _r.animationiteration.animation,delete _r.animationstart.animation),"TransitionEvent"in window||delete _r.transitionend.transition);var Ir=Cr("animationend"),kr=Cr("animationiteration"),Rr=Cr("animationstart"),Ar=Cr("transitionend"),Pr=new Map,Or="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Nr(e,t){Pr.set(e,t),c(t,[e])}for(var xr=0;xr<Or.length;xr++){var Mr=Or[xr];Nr(Mr.toLowerCase(),"on"+(Mr[0].toUpperCase()+Mr.slice(1)))}Nr(Ir,"onAnimationEnd"),Nr(kr,"onAnimationIteration"),Nr(Rr,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(Ar,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ur="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Lr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ur));function Dr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,c,u){if(je.apply(this,arguments),Le){if(!Le)throw Error(i(198));var l=De;Le=!1,De=null,He||(He=!0,qe=l)}}(r,t,void 0,e),e.currentTarget=null}function Hr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],c=s.instance,u=s.currentTarget;if(s=s.listener,c!==i&&o.isPropagationStopped())break e;Dr(o,s,u),i=c}else for(a=0;a<r.length;a++){if(c=(s=r[a]).instance,u=s.currentTarget,s=s.listener,c!==i&&o.isPropagationStopped())break e;Dr(o,s,u),i=c}}}if(He)throw e=qe,He=!1,qe=null,e}function qr(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(zr(t,e,2,!1),n.add(r))}function Fr(e,t,n){var r=0;t&&(r|=4),zr(n,e,r,t)}var jr="_reactListening"+Math.random().toString(36).slice(2);function Gr(e){if(!e[jr]){e[jr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Lr.has(t)||Fr(t,!1,e),Fr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[jr]||(t[jr]=!0,Fr("selectionchange",!1,t))}}function zr(e,t,n,r){switch(Qt(t)){case 1:var o=Kt;break;case 4:o=Wt;break;default:o=Jt}n=o.bind(null,t,n,e),o=void 0,!xe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Br(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var c=a.tag;if((3===c||4===c)&&((c=a.stateNode.containerInfo)===o||8===c.nodeType&&c.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=bo(s)))return;if(5===(c=a.tag)||6===c){r=i=a;continue e}s=s.parentNode}}r=r.return}Oe((function(){var r=i,o=we(n),a=[];e:{var s=Pr.get(e);if(void 0!==s){var c=ln,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":c=kn;break;case"focusin":u="focus",c=vn;break;case"focusout":u="blur",c=vn;break;case"beforeblur":case"afterblur":c=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=An;break;case Ir:case kr:case Rr:c=mn;break;case Ar:c=Pn;break;case"scroll":c=fn;break;case"wheel":c=Nn;break;case"copy":case"cut":case"paste":c=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=Rn}var l=0!==(4&t),d=!l&&"scroll"===e,f=l?null!==s?s+"Capture":null:s;l=[];for(var h,p=r;null!==p;){var g=(h=p).stateNode;if(5===h.tag&&null!==g&&(h=g,null!==f&&(null!=(g=Ne(p,f))&&l.push(Kr(p,g,h)))),d)break;p=p.return}0<l.length&&(s=new c(s,u,null,n,o),a.push({event:s,listeners:l}))}}if(0===(7&t)){if(c="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===Ee||!(u=n.relatedTarget||n.fromElement)||!bo(u)&&!u[go])&&(c||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,c?(c=r,null!==(u=(u=n.relatedTarget||n.toElement)?bo(u):null)&&(u!==(d=Ge(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(c=null,u=r),c!==u)){if(l=pn,g="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(l=Rn,g="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==c?s:wo(c),h=null==u?s:wo(u),(s=new l(g,p+"leave",c,n,o)).target=d,s.relatedTarget=h,g=null,bo(o)===r&&((l=new l(f,p+"enter",u,n,o)).target=h,l.relatedTarget=d,g=l),d=g,c&&u)e:{for(f=u,p=0,h=l=c;h;h=Jr(h))p++;for(h=0,g=f;g;g=Jr(g))h++;for(;0<p-h;)l=Jr(l),p--;for(;0<h-p;)f=Jr(f),h--;for(;p--;){if(l===f||null!==f&&l===f.alternate)break e;l=Jr(l),f=Jr(f)}l=null}else l=null;null!==c&&Vr(a,s,c,l,!1),null!==u&&null!==d&&Vr(a,d,u,l,!0)}if("select"===(c=(s=r?wo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===c&&"file"===s.type)var v=Qn;else if(Bn(s))if($n)v=ar;else{v=or;var m=rr}else(c=s.nodeName)&&"input"===c.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(v=ir);switch(v&&(v=v(e,r))?Kn(a,v,n,o):(m&&m(e,s,r),"focusout"===e&&(m=s._wrapperState)&&m.controlled&&"number"===s.type&&ee(s,"number",s.value)),m=r?wo(r):window,e){case"focusin":(Bn(m)||"true"===m.contentEditable)&&(vr=m,mr=r,yr=null);break;case"focusout":yr=mr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,Er(a,n,o);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":Er(a,n,o)}var y;if(Mn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Gn?Fn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Dn&&"ko"!==n.locale&&(Gn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Gn&&(y=en()):(Zt="value"in($t=o)?$t.value:$t.textContent,Gn=!0)),0<(m=Wr(r,b)).length&&(b=new En(b,e,null,n,o),a.push({event:b,listeners:m}),y?b.data=y:null!==(y=jn(n))&&(b.data=y))),(y=Ln?function(e,t){switch(e){case"compositionend":return jn(t);case"keypress":return 32!==t.which?null:(qn=!0,Hn);case"textInput":return(e=t.data)===Hn&&qn?null:e;default:return null}}(e,n):function(e,t){if(Gn)return"compositionend"===e||!Mn&&Fn(e,t)?(e=en(),Xt=Zt=$t=null,Gn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wr(r,"onBeforeInput")).length&&(o=new En("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}Hr(a,t)}))}function Kr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ne(e,n))&&r.unshift(Kr(e,i,o)),null!=(i=Ne(e,t))&&r.push(Kr(e,i,o))),e=e.return}return r}function Jr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Vr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,c=s.alternate,u=s.stateNode;if(null!==c&&c===r)break;5===s.tag&&null!==u&&(s=u,o?null!=(c=Ne(n,i))&&a.unshift(Kr(n,c,s)):o||null!=(c=Ne(n,i))&&a.push(Kr(n,c,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Yr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function $r(e){return("string"===typeof e?e:""+e).replace(Yr,"\n").replace(Qr,"")}function Zr(e,t,n){if(t=$r(t),$r(e)!==t&&n)throw Error(i(425))}function Xr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function co(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Gt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Gt(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function lo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),ho="__reactFiber$"+fo,po="__reactProps$"+fo,go="__reactContainer$"+fo,vo="__reactEvents$"+fo,mo="__reactListeners$"+fo,yo="__reactHandles$"+fo;function bo(e){var t=e[ho];if(t)return t;for(var n=e.parentNode;n;){if(t=n[go]||n[ho]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=lo(e);null!==e;){if(n=e[ho])return n;e=lo(e)}return t}n=(e=n).parentNode}return null}function Eo(e){return!(e=e[ho]||e[go])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function _o(e){return e[po]||null}var So=[],To=-1;function Co(e){return{current:e}}function Io(e){0>To||(e.current=So[To],So[To]=null,To--)}function ko(e,t){To++,So[To]=e.current,e.current=t}var Ro={},Ao=Co(Ro),Po=Co(!1),Oo=Ro;function No(e,t){var n=e.type.contextTypes;if(!n)return Ro;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function xo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Mo(){Io(Po),Io(Ao)}function Uo(e,t,n){if(Ao.current!==Ro)throw Error(i(168));ko(Ao,t),ko(Po,n)}function Lo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,z(e)||"Unknown",o));return D({},n,r)}function Do(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ro,Oo=Ao.current,ko(Ao,e),ko(Po,Po.current),!0}function Ho(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Lo(e,t,Oo),r.__reactInternalMemoizedMergedChildContext=e,Io(Po),Io(Ao),ko(Ao,e)):Io(Po),ko(Po,n)}var qo=null,Fo=!1,jo=!1;function Go(e){null===qo?qo=[e]:qo.push(e)}function zo(){if(!jo&&null!==qo){jo=!0;var e=0,t=bt;try{var n=qo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}qo=null,Fo=!1}catch(o){throw null!==qo&&(qo=qo.slice(e+1)),Je(Xe,zo),o}finally{bt=t,jo=!1}}return null}var Bo=[],Ko=0,Wo=null,Jo=0,Vo=[],Yo=0,Qo=null,$o=1,Zo="";function Xo(e,t){Bo[Ko++]=Jo,Bo[Ko++]=Wo,Wo=e,Jo=t}function ei(e,t,n){Vo[Yo++]=$o,Vo[Yo++]=Zo,Vo[Yo++]=Qo,Qo=e;var r=$o;e=Zo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,$o=1<<32-at(t)+o|n<<o|r,Zo=i+e}else $o=1<<i|n<<o|r,Zo=e}function ti(e){null!==e.return&&(Xo(e,1),ei(e,1,0))}function ni(e){for(;e===Wo;)Wo=Bo[--Ko],Bo[Ko]=null,Jo=Bo[--Ko],Bo[Ko]=null;for(;e===Qo;)Qo=Vo[--Yo],Vo[Yo]=null,Zo=Vo[--Yo],Vo[Yo]=null,$o=Vo[--Yo],Vo[Yo]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Ou(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ci(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Qo?{id:$o,overflow:Zo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ou(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ui(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function li(e){if(ii){var t=oi;if(t){var n=t;if(!ci(e,t)){if(ui(e))throw Error(i(418));t=uo(n.nextSibling);var r=ri;t&&ci(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ui(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ui(e))throw hi(),Error(i(418));for(;t;)si(e,t),t=uo(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=uo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?uo(e.stateNode.nextSibling):null;return!0}function hi(){for(var e=oi;e;)e=uo(e.nextSibling)}function pi(){oi=ri=null,ii=!1}function gi(e){null===ai?ai=[e]:ai.push(e)}var vi=E.ReactCurrentBatchConfig;function mi(e,t){if(e&&e.defaultProps){for(var n in t=D({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yi=Co(null),bi=null,Ei=null,wi=null;function _i(){wi=Ei=bi=null}function Si(e){var t=yi.current;Io(yi),e._currentValue=t}function Ti(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ci(e,t){bi=e,wi=Ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(Es=!0),e.firstContext=null)}function Ii(e){var t=e._currentValue;if(wi!==e)if(e={context:e,memoizedValue:t,next:null},null===Ei){if(null===bi)throw Error(i(308));Ei=e,bi.dependencies={lanes:0,firstContext:e}}else Ei=Ei.next=e;return t}var ki=null;function Ri(e){null===ki?ki=[e]:ki.push(e)}function Ai(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ri(t)):(n.next=o.next,o.next=n),t.interleaved=n,Pi(e,r)}function Pi(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Oi=!1;function Ni(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function xi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Mi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ui(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Rc)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Pi(e,n)}return null===(o=r.interleaved)?(t.next=t,Ri(r)):(t.next=o.next,o.next=t),r.interleaved=t,Pi(e,n)}function Li(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Di(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Hi(e,t,n,r){var o=e.updateQueue;Oi=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var c=s,u=c.next;c.next=null,null===a?i=u:a.next=u,a=c;var l=e.alternate;null!==l&&((s=(l=l.updateQueue).lastBaseUpdate)!==a&&(null===s?l.firstBaseUpdate=u:s.next=u,l.lastBaseUpdate=c))}if(null!==i){var d=o.baseState;for(a=0,l=u=c=null,s=i;;){var f=s.lane,h=s.eventTime;if((r&f)===f){null!==l&&(l=l.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,g=s;switch(f=t,h=n,g.tag){case 1:if("function"===typeof(p=g.payload)){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(f="function"===typeof(p=g.payload)?p.call(h,d,f):p)||void 0===f)break e;d=D({},d,f);break e;case 2:Oi=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===l?(u=l=h,c=d):l=l.next=h,a|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===l&&(c=d),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=l,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Lc|=a,e.lanes=a,e.memoizedState=d}}function qi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var Fi=(new r.Component).refs;function ji(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:D({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Gi={isMounted:function(e){return!!(e=e._reactInternals)&&Ge(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=eu(),o=tu(e),i=Mi(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ui(e,i,o))&&(nu(t,e,o,r),Li(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=eu(),o=tu(e),i=Mi(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ui(e,i,o))&&(nu(t,e,o,r),Li(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=eu(),r=tu(e),o=Mi(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Ui(e,o,r))&&(nu(t,e,r,n),Li(t,e,r))}};function zi(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!cr(n,r)||!cr(o,i))}function Bi(e,t,n){var r=!1,o=Ro,i=t.contextType;return"object"===typeof i&&null!==i?i=Ii(i):(o=xo(t)?Oo:Ao.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?No(e,o):Ro),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Gi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ki(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Gi.enqueueReplaceState(t,t.state,null)}function Wi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Fi,Ni(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=Ii(i):(i=xo(t)?Oo:Ao.current,o.context=No(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(ji(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Gi.enqueueReplaceState(o,o.state,null),Hi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function Ji(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Fi&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Vi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Yi(e){return(0,e._init)(e._payload)}function Qi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=xu(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function c(e,t,n,r){return null===t||6!==t.tag?((t=Du(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===N&&Yi(i)===t.type)?((r=o(t,n.props)).ref=Ji(e,t,n),r.return=e,r):((r=Mu(n.type,n.key,n.props,null,e.mode,r)).ref=Ji(e,t,n),r.return=e,r)}function l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Hu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Uu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Du(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Mu(t.type,t.key,t.props,null,e.mode,n)).ref=Ji(e,null,t),n.return=e,n;case _:return(t=Hu(t,e.mode,n)).return=e,t;case N:return f(e,(0,t._init)(t._payload),n)}if(te(t)||U(t))return(t=Uu(t,e.mode,n,null)).return=e,t;Vi(e,t)}return null}function h(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:c(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?u(e,t,n,r):null;case _:return n.key===o?l(e,t,n,r):null;case N:return h(e,t,(o=n._init)(n._payload),r)}if(te(n)||U(n))return null!==o?null:d(e,t,n,r,null);Vi(e,n)}return null}function p(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return c(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case _:return l(t,e=e.get(null===r.key?n:r.key)||null,r,o);case N:return p(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||U(r))return d(t,e=e.get(n)||null,r,o,null);Vi(t,r)}return null}function g(o,i,s,c){for(var u=null,l=null,d=i,g=i=0,v=null;null!==d&&g<s.length;g++){d.index>g?(v=d,d=null):v=d.sibling;var m=h(o,d,s[g],c);if(null===m){null===d&&(d=v);break}e&&d&&null===m.alternate&&t(o,d),i=a(m,i,g),null===l?u=m:l.sibling=m,l=m,d=v}if(g===s.length)return n(o,d),ii&&Xo(o,g),u;if(null===d){for(;g<s.length;g++)null!==(d=f(o,s[g],c))&&(i=a(d,i,g),null===l?u=d:l.sibling=d,l=d);return ii&&Xo(o,g),u}for(d=r(o,d);g<s.length;g++)null!==(v=p(d,o,g,s[g],c))&&(e&&null!==v.alternate&&d.delete(null===v.key?g:v.key),i=a(v,i,g),null===l?u=v:l.sibling=v,l=v);return e&&d.forEach((function(e){return t(o,e)})),ii&&Xo(o,g),u}function v(o,s,c,u){var l=U(c);if("function"!==typeof l)throw Error(i(150));if(null==(c=l.call(c)))throw Error(i(151));for(var d=l=null,g=s,v=s=0,m=null,y=c.next();null!==g&&!y.done;v++,y=c.next()){g.index>v?(m=g,g=null):m=g.sibling;var b=h(o,g,y.value,u);if(null===b){null===g&&(g=m);break}e&&g&&null===b.alternate&&t(o,g),s=a(b,s,v),null===d?l=b:d.sibling=b,d=b,g=m}if(y.done)return n(o,g),ii&&Xo(o,v),l;if(null===g){for(;!y.done;v++,y=c.next())null!==(y=f(o,y.value,u))&&(s=a(y,s,v),null===d?l=y:d.sibling=y,d=y);return ii&&Xo(o,v),l}for(g=r(o,g);!y.done;v++,y=c.next())null!==(y=p(g,o,v,y.value,u))&&(e&&null!==y.alternate&&g.delete(null===y.key?v:y.key),s=a(y,s,v),null===d?l=y:d.sibling=y,d=y);return e&&g.forEach((function(e){return t(o,e)})),ii&&Xo(o,v),l}return function e(r,i,a,c){if("object"===typeof a&&null!==a&&a.type===S&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var u=a.key,l=i;null!==l;){if(l.key===u){if((u=a.type)===S){if(7===l.tag){n(r,l.sibling),(i=o(l,a.props.children)).return=r,r=i;break e}}else if(l.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===N&&Yi(u)===l.type){n(r,l.sibling),(i=o(l,a.props)).ref=Ji(r,l,a),i.return=r,r=i;break e}n(r,l);break}t(r,l),l=l.sibling}a.type===S?((i=Uu(a.props.children,r.mode,c,a.key)).return=r,r=i):((c=Mu(a.type,a.key,a.props,null,r.mode,c)).ref=Ji(r,i,a),c.return=r,r=c)}return s(r);case _:e:{for(l=a.key;null!==i;){if(i.key===l){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Hu(a,r.mode,c)).return=r,r=i}return s(r);case N:return e(r,i,(l=a._init)(a._payload),c)}if(te(a))return g(r,i,a,c);if(U(a))return v(r,i,a,c);Vi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Du(a,r.mode,c)).return=r,r=i),s(r)):n(r,i)}}var $i=Qi(!0),Zi=Qi(!1),Xi={},ea=Co(Xi),ta=Co(Xi),na=Co(Xi);function ra(e){if(e===Xi)throw Error(i(174));return e}function oa(e,t){switch(ko(na,t),ko(ta,e),ko(ea,Xi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ce(null,"");break;default:t=ce(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Io(ea),ko(ea,t)}function ia(){Io(ea),Io(ta),Io(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=ce(t,e.type);t!==n&&(ko(ta,e),ko(ea,n))}function sa(e){ta.current===e&&(Io(ea),Io(ta))}var ca=Co(0);function ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var la=[];function da(){for(var e=0;e<la.length;e++)la[e]._workInProgressVersionPrimary=null;la.length=0}var fa=E.ReactCurrentDispatcher,ha=E.ReactCurrentBatchConfig,pa=0,ga=null,va=null,ma=null,ya=!1,ba=!1,Ea=0,wa=0;function _a(){throw Error(i(321))}function Sa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Ta(e,t,n,r,o,a){if(pa=a,ga=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=null===e||null===e.memoizedState?ss:cs,e=n(r,o),ba){a=0;do{if(ba=!1,Ea=0,25<=a)throw Error(i(301));a+=1,ma=va=null,t.updateQueue=null,fa.current=us,e=n(r,o)}while(ba)}if(fa.current=as,t=null!==va&&null!==va.next,pa=0,ma=va=ga=null,ya=!1,t)throw Error(i(300));return e}function Ca(){var e=0!==Ea;return Ea=0,e}function Ia(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ma?ga.memoizedState=ma=e:ma=ma.next=e,ma}function ka(){if(null===va){var e=ga.alternate;e=null!==e?e.memoizedState:null}else e=va.next;var t=null===ma?ga.memoizedState:ma.next;if(null!==t)ma=t,va=e;else{if(null===e)throw Error(i(310));e={memoizedState:(va=e).memoizedState,baseState:va.baseState,baseQueue:va.baseQueue,queue:va.queue,next:null},null===ma?ga.memoizedState=ma=e:ma=ma.next=e}return ma}function Ra(e,t){return"function"===typeof t?t(e):t}function Aa(e){var t=ka(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=va,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var c=s=null,u=null,l=a;do{var d=l.lane;if((pa&d)===d)null!==u&&(u=u.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),r=l.hasEagerState?l.eagerState:e(r,l.action);else{var f={lane:d,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};null===u?(c=u=f,s=r):u=u.next=f,ga.lanes|=d,Lc|=d}l=l.next}while(null!==l&&l!==a);null===u?s=r:u.next=c,sr(r,t.memoizedState)||(Es=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,ga.lanes|=a,Lc|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Pa(e){var t=ka(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(Es=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Oa(){}function Na(e,t){var n=ga,r=ka(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,Es=!0),r=r.queue,Ba(Ua.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ma&&1&ma.memoizedState.tag){if(n.flags|=2048,qa(9,Ma.bind(null,n,r,o,t),void 0,null),null===Ac)throw Error(i(349));0!==(30&pa)||xa(n,t,o)}return o}function xa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ga.updateQueue)?(t={lastEffect:null,stores:null},ga.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ma(e,t,n,r){t.value=n,t.getSnapshot=r,La(t)&&Da(e)}function Ua(e,t,n){return n((function(){La(t)&&Da(e)}))}function La(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Da(e){var t=Pi(e,1);null!==t&&nu(t,e,1,-1)}function Ha(e){var t=Ia();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ra,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,ga,e),[t.memoizedState,e]}function qa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ga.updateQueue)?(t={lastEffect:null,stores:null},ga.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Fa(){return ka().memoizedState}function ja(e,t,n,r){var o=Ia();ga.flags|=e,o.memoizedState=qa(1|t,n,void 0,void 0===r?null:r)}function Ga(e,t,n,r){var o=ka();r=void 0===r?null:r;var i=void 0;if(null!==va){var a=va.memoizedState;if(i=a.destroy,null!==r&&Sa(r,a.deps))return void(o.memoizedState=qa(t,n,i,r))}ga.flags|=e,o.memoizedState=qa(1|t,n,i,r)}function za(e,t){return ja(8390656,8,e,t)}function Ba(e,t){return Ga(2048,8,e,t)}function Ka(e,t){return Ga(4,2,e,t)}function Wa(e,t){return Ga(4,4,e,t)}function Ja(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Va(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ga(4,4,Ja.bind(null,t,e),n)}function Ya(){}function Qa(e,t){var n=ka();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function $a(e,t){var n=ka();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Za(e,t,n){return 0===(21&pa)?(e.baseState&&(e.baseState=!1,Es=!0),e.memoizedState=n):(sr(n,t)||(n=gt(),ga.lanes|=n,Lc|=n,e.baseState=!0),t)}function Xa(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ha.transition;ha.transition={};try{e(!1),t()}finally{bt=n,ha.transition=r}}function es(){return ka().memoizedState}function ts(e,t,n){var r=tu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))os(t,n);else if(null!==(n=Ai(e,t,n,r))){nu(n,e,r,eu()),is(n,t,r)}}function ns(e,t,n){var r=tu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var c=t.interleaved;return null===c?(o.next=o,Ri(t)):(o.next=c.next,c.next=o),void(t.interleaved=o)}}catch(u){}null!==(n=Ai(e,t,o,r))&&(nu(n,e,r,o=eu()),is(n,t,r))}}function rs(e){var t=e.alternate;return e===ga||null!==t&&t===ga}function os(e,t){ba=ya=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function is(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var as={readContext:Ii,useCallback:_a,useContext:_a,useEffect:_a,useImperativeHandle:_a,useInsertionEffect:_a,useLayoutEffect:_a,useMemo:_a,useReducer:_a,useRef:_a,useState:_a,useDebugValue:_a,useDeferredValue:_a,useTransition:_a,useMutableSource:_a,useSyncExternalStore:_a,useId:_a,unstable_isNewReconciler:!1},ss={readContext:Ii,useCallback:function(e,t){return Ia().memoizedState=[e,void 0===t?null:t],e},useContext:Ii,useEffect:za,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,ja(4194308,4,Ja.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ja(4194308,4,e,t)},useInsertionEffect:function(e,t){return ja(4,2,e,t)},useMemo:function(e,t){var n=Ia();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ia();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,ga,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ia().memoizedState=e},useState:Ha,useDebugValue:Ya,useDeferredValue:function(e){return Ia().memoizedState=e},useTransition:function(){var e=Ha(!1),t=e[0];return e=Xa.bind(null,e[1]),Ia().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ga,o=Ia();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Ac)throw Error(i(349));0!==(30&pa)||xa(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,za(Ua.bind(null,r,a,e),[e]),r.flags|=2048,qa(9,Ma.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ia(),t=Ac.identifierPrefix;if(ii){var n=Zo;t=":"+t+"R"+(n=($o&~(1<<32-at($o)-1)).toString(32)+n),0<(n=Ea++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},cs={readContext:Ii,useCallback:Qa,useContext:Ii,useEffect:Ba,useImperativeHandle:Va,useInsertionEffect:Ka,useLayoutEffect:Wa,useMemo:$a,useReducer:Aa,useRef:Fa,useState:function(){return Aa(Ra)},useDebugValue:Ya,useDeferredValue:function(e){return Za(ka(),va.memoizedState,e)},useTransition:function(){return[Aa(Ra)[0],ka().memoizedState]},useMutableSource:Oa,useSyncExternalStore:Na,useId:es,unstable_isNewReconciler:!1},us={readContext:Ii,useCallback:Qa,useContext:Ii,useEffect:Ba,useImperativeHandle:Va,useInsertionEffect:Ka,useLayoutEffect:Wa,useMemo:$a,useReducer:Pa,useRef:Fa,useState:function(){return Pa(Ra)},useDebugValue:Ya,useDeferredValue:function(e){var t=ka();return null===va?t.memoizedState=e:Za(t,va.memoizedState,e)},useTransition:function(){return[Pa(Ra)[0],ka().memoizedState]},useMutableSource:Oa,useSyncExternalStore:Na,useId:es,unstable_isNewReconciler:!1};function ls(e,t){try{var n="",r=t;do{n+=j(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var hs="function"===typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=Mi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Bc||(Bc=!0,Kc=r),fs(0,t)},n}function gs(e,t,n){(n=Mi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fs(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!==typeof r&&(null===Wc?Wc=new Set([this]):Wc.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Cu.bind(null,e,t,n),t.then(e,e))}function ms(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Mi(-1,1)).tag=2,Ui(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bs=E.ReactCurrentOwner,Es=!1;function ws(e,t,n,r){t.child=null===e?Zi(t,null,n,r):$i(t,e.child,n,r)}function _s(e,t,n,r,o){n=n.render;var i=t.ref;return Ci(t,o),r=Ta(e,t,n,r,i,o),n=Ca(),null===e||Es?(ii&&n&&ti(t),t.flags|=1,ws(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Bs(e,t,o))}function Ss(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||Nu(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Mu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Ts(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:cr)(a,r)&&e.ref===t.ref)return Bs(e,t,o)}return t.flags|=1,(e=xu(i,r)).ref=t.ref,e.return=t,t.child=e}function Ts(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(cr(i,r)&&e.ref===t.ref){if(Es=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,Bs(e,t,o);0!==(131072&e.flags)&&(Es=!0)}}return ks(e,t,n,r,o)}function Cs(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ko(xc,Nc),Nc|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ko(xc,Nc),Nc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,ko(xc,Nc),Nc|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,ko(xc,Nc),Nc|=r;return ws(e,t,o,n),t.child}function Is(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ks(e,t,n,r,o){var i=xo(n)?Oo:Ao.current;return i=No(t,i),Ci(t,o),n=Ta(e,t,n,r,i,o),r=Ca(),null===e||Es?(ii&&r&&ti(t),t.flags|=1,ws(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Bs(e,t,o))}function Rs(e,t,n,r,o){if(xo(n)){var i=!0;Do(t)}else i=!1;if(Ci(t,o),null===t.stateNode)zs(e,t),Bi(t,n,r),Wi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var c=a.context,u=n.contextType;"object"===typeof u&&null!==u?u=Ii(u):u=No(t,u=xo(n)?Oo:Ao.current);var l=n.getDerivedStateFromProps,d="function"===typeof l||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||c!==u)&&Ki(t,a,r,u),Oi=!1;var f=t.memoizedState;a.state=f,Hi(t,r,a,o),c=t.memoizedState,s!==r||f!==c||Po.current||Oi?("function"===typeof l&&(ji(t,n,l,r),c=t.memoizedState),(s=Oi||zi(t,n,s,r,f,c,u))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=u,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,xi(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:mi(t.type,s),a.props=u,d=t.pendingProps,f=a.context,"object"===typeof(c=n.contextType)&&null!==c?c=Ii(c):c=No(t,c=xo(n)?Oo:Ao.current);var h=n.getDerivedStateFromProps;(l="function"===typeof h||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||f!==c)&&Ki(t,a,r,c),Oi=!1,f=t.memoizedState,a.state=f,Hi(t,r,a,o);var p=t.memoizedState;s!==d||f!==p||Po.current||Oi?("function"===typeof h&&(ji(t,n,h,r),p=t.memoizedState),(u=Oi||zi(t,n,u,r,f,p,c)||!1)?(l||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,c),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,c)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return As(e,t,n,r,i,o)}function As(e,t,n,r,o,i){Is(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&Ho(t,n,!1),Bs(e,t,i);r=t.stateNode,bs.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=$i(t,e.child,null,i),t.child=$i(t,null,s,i)):ws(e,t,s,i),t.memoizedState=r.state,o&&Ho(t,n,!0),t.child}function Ps(e){var t=e.stateNode;t.pendingContext?Uo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Uo(0,t.context,!1),oa(e,t.containerInfo)}function Os(e,t,n,r,o){return pi(),gi(o),t.flags|=256,ws(e,t,n,r),t.child}var Ns,xs,Ms,Us={dehydrated:null,treeContext:null,retryLane:0};function Ls(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ds(e,t,n){var r,o=t.pendingProps,a=ca.current,s=!1,c=0!==(128&t.flags);if((r=c)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),ko(ca,1&a),null===e)return li(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(c=o.children,e=o.fallback,s?(o=t.mode,s=t.child,c={mode:"hidden",children:c},0===(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=c):s=Lu(c,o,0,null),e=Uu(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ls(n),t.memoizedState=Us,e):Hs(t,c));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,qs(e,t,s,r=ds(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Lu({mode:"visible",children:r.children},o,0,null),(a=Uu(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&$i(t,e.child,null,s),t.child.memoizedState=Ls(s),t.memoizedState=Us,a);if(0===(1&t.mode))return qs(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var c=r.dgst;return r=c,qs(e,t,s,r=ds(a=Error(i(419)),r,void 0))}if(c=0!==(s&e.childLanes),Es||c){if(null!==(r=Ac)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Pi(e,o),nu(r,e,o,-1))}return gu(),qs(e,t,s,r=ds(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=ku.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=uo(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Vo[Yo++]=$o,Vo[Yo++]=Zo,Vo[Yo++]=Qo,$o=e.id,Zo=e.overflow,Qo=t),(t=Hs(t,r.children)).flags|=4096,t)}(e,t,c,o,r,a,n);if(s){s=o.fallback,c=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 0===(1&c)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=xu(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=xu(r,s):(s=Uu(s,c,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,c=null===(c=e.child.memoizedState)?Ls(n):{baseLanes:c.baseLanes|n,cachePool:null,transitions:c.transitions},s.memoizedState=c,s.childLanes=e.childLanes&~n,t.memoizedState=Us,o}return e=(s=e.child).sibling,o=xu(s,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Hs(e,t){return(t=Lu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function qs(e,t,n,r){return null!==r&&gi(r),$i(t,e.child,null,n),(e=Hs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ti(e.return,t,n)}function js(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Gs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ws(e,t,r.children,n),0!==(2&(r=ca.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fs(e,n,t);else if(19===e.tag)Fs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ko(ca,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ua(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),js(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ua(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}js(t,!0,n,null,i);break;case"together":js(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function zs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Bs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Lc|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=xu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=xu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ks(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ws(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Js(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ws(t),null;case 1:case 17:return xo(t.type)&&Mo(),Ws(t),null;case 3:return r=t.stateNode,ia(),Io(Po),Io(Ao),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(au(ai),ai=null))),Ws(t),null;case 5:sa(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)xs(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ws(t),null}if(e=ra(ea.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[ho]=t,r[po]=a,e=0!==(1&t.mode),n){case"dialog":qr("cancel",r),qr("close",r);break;case"iframe":case"object":case"embed":qr("load",r);break;case"video":case"audio":for(o=0;o<Ur.length;o++)qr(Ur[o],r);break;case"source":qr("error",r);break;case"img":case"image":case"link":qr("error",r),qr("load",r);break;case"details":qr("toggle",r);break;case"input":Q(r,a),qr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},qr("invalid",r);break;case"textarea":oe(r,a),qr("invalid",r)}for(var c in ye(n,a),o=null,a)if(a.hasOwnProperty(c)){var u=a[c];"children"===c?"string"===typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,u,e),o=["children",u]):"number"===typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,u,e),o=["children",""+u]):s.hasOwnProperty(c)&&null!=u&&"onScroll"===c&&qr("scroll",r)}switch(n){case"input":W(r),X(r,a,!0);break;case"textarea":W(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Xr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{c=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[ho]=t,e[po]=r,Ns(e,t),t.stateNode=e;e:{switch(c=be(n,r),n){case"dialog":qr("cancel",e),qr("close",e),o=r;break;case"iframe":case"object":case"embed":qr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ur.length;o++)qr(Ur[o],e);o=r;break;case"source":qr("error",e),o=r;break;case"img":case"image":case"link":qr("error",e),qr("load",e),o=r;break;case"details":qr("toggle",e),o=r;break;case"input":Q(e,r),o=Y(e,r),qr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=D({},r,{value:void 0}),qr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),qr("invalid",e)}for(a in ye(n,o),u=o)if(u.hasOwnProperty(a)){var l=u[a];"style"===a?ve(e,l):"dangerouslySetInnerHTML"===a?null!=(l=l?l.__html:void 0)&&de(e,l):"children"===a?"string"===typeof l?("textarea"!==n||""!==l)&&fe(e,l):"number"===typeof l&&fe(e,""+l):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=l&&"onScroll"===a&&qr("scroll",e):null!=l&&b(e,a,l,c))}switch(n){case"input":W(e),X(e,r,!1);break;case"textarea":W(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+B(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Xr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ws(t),null;case 6:if(e&&null!=t.stateNode)Ms(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[ho]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Zr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ho]=t,t.stateNode=r}return Ws(t),null;case 13:if(Io(ca),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))hi(),pi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[ho]=t}else pi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ws(t),a=!1}else null!==ai&&(au(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&ca.current)?0===Mc&&(Mc=3):gu())),null!==t.updateQueue&&(t.flags|=4),Ws(t),null);case 4:return ia(),null===e&&Gr(t.stateNode.containerInfo),Ws(t),null;case 10:return Si(t.type._context),Ws(t),null;case 19:if(Io(ca),null===(a=t.memoizedState))return Ws(t),null;if(r=0!==(128&t.flags),null===(c=a.rendering))if(r)Ks(a,!1);else{if(0!==Mc||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(c=ua(e))){for(t.flags|=128,Ks(a,!1),null!==(r=c.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(c=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,e=c.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ko(ca,1&ca.current|2),t.child}e=e.sibling}null!==a.tail&&$e()>Gc&&(t.flags|=128,r=!0,Ks(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ua(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Ks(a,!0),null===a.tail&&"hidden"===a.tailMode&&!c.alternate&&!ii)return Ws(t),null}else 2*$e()-a.renderingStartTime>Gc&&1073741824!==n&&(t.flags|=128,r=!0,Ks(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=a.last)?n.sibling=c:t.child=c,a.last=c)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=$e(),t.sibling=null,n=ca.current,ko(ca,r?1&n|2:1&n),t):(Ws(t),null);case 22:case 23:return du(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Nc)&&(Ws(t),6&t.subtreeFlags&&(t.flags|=8192)):Ws(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Vs(e,t){switch(ni(t),t.tag){case 1:return xo(t.type)&&Mo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),Io(Po),Io(Ao),da(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return sa(t),null;case 13:if(Io(ca),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));pi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Io(ca),null;case 4:return ia(),null;case 10:return Si(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Ns=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},xs=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=Y(e,o),r=Y(e,r),a=[];break;case"select":o=D({},o,{value:void 0}),r=D({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Xr)}for(l in ye(n,r),n=null,o)if(!r.hasOwnProperty(l)&&o.hasOwnProperty(l)&&null!=o[l])if("style"===l){var c=o[l];for(i in c)c.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(s.hasOwnProperty(l)?a||(a=[]):(a=a||[]).push(l,null));for(l in r){var u=r[l];if(c=null!=o?o[l]:void 0,r.hasOwnProperty(l)&&u!==c&&(null!=u||null!=c))if("style"===l)if(c){for(i in c)!c.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&c[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(a||(a=[]),a.push(l,n)),n=u;else"dangerouslySetInnerHTML"===l?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(a=a||[]).push(l,u)):"children"===l?"string"!==typeof u&&"number"!==typeof u||(a=a||[]).push(l,""+u):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(s.hasOwnProperty(l)?(null!=u&&"onScroll"===l&&qr("scroll",e),a||c===u||(a=[])):(a=a||[]).push(l,u))}n&&(a=a||[]).push("style",n);var l=a;(t.updateQueue=l)&&(t.flags|=4)}},Ms=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Qs=!1,$s="function"===typeof WeakSet?WeakSet:Set,Zs=null;function Xs(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Tu(e,t,r)}else n.current=null}function ec(e,t,n){try{n()}catch(r){Tu(e,t,r)}}var tc=!1;function nc(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&ec(t,n,i)}o=o.next}while(o!==r)}}function rc(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function oc(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function ic(e){var t=e.alternate;null!==t&&(e.alternate=null,ic(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[ho],delete t[po],delete t[vo],delete t[mo],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ac(e){return 5===e.tag||3===e.tag||4===e.tag}function sc(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ac(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cc(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Xr));else if(4!==r&&null!==(e=e.child))for(cc(e,t,n),e=e.sibling;null!==e;)cc(e,t,n),e=e.sibling}function uc(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(uc(e,t,n),e=e.sibling;null!==e;)uc(e,t,n),e=e.sibling}var lc=null,dc=!1;function fc(e,t,n){for(n=n.child;null!==n;)hc(e,t,n),n=n.sibling}function hc(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(s){}switch(n.tag){case 5:Qs||Xs(n,t);case 6:var r=lc,o=dc;lc=null,fc(e,t,n),dc=o,null!==(lc=r)&&(dc?(e=lc,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):lc.removeChild(n.stateNode));break;case 18:null!==lc&&(dc?(e=lc,n=n.stateNode,8===e.nodeType?co(e.parentNode,n):1===e.nodeType&&co(e,n),Gt(e)):co(lc,n.stateNode));break;case 4:r=lc,o=dc,lc=n.stateNode.containerInfo,dc=!0,fc(e,t,n),lc=r,dc=o;break;case 0:case 11:case 14:case 15:if(!Qs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&ec(n,t,a),o=o.next}while(o!==r)}fc(e,t,n);break;case 1:if(!Qs&&(Xs(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Tu(n,t,s)}fc(e,t,n);break;case 21:fc(e,t,n);break;case 22:1&n.mode?(Qs=(r=Qs)||null!==n.memoizedState,fc(e,t,n),Qs=r):fc(e,t,n);break;default:fc(e,t,n)}}function pc(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new $s),t.forEach((function(t){var r=Ru.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gc(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,c=s;e:for(;null!==c;){switch(c.tag){case 5:lc=c.stateNode,dc=!1;break e;case 3:case 4:lc=c.stateNode.containerInfo,dc=!0;break e}c=c.return}if(null===lc)throw Error(i(160));hc(a,s,o),lc=null,dc=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(l){Tu(o,t,l)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)vc(t,e),t=t.sibling}function vc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gc(t,e),mc(e),4&r){try{nc(3,e,e.return),rc(3,e)}catch(v){Tu(e,e.return,v)}try{nc(5,e,e.return)}catch(v){Tu(e,e.return,v)}}break;case 1:gc(t,e),mc(e),512&r&&null!==n&&Xs(n,n.return);break;case 5:if(gc(t,e),mc(e),512&r&&null!==n&&Xs(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(v){Tu(e,e.return,v)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,c=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===c&&"radio"===a.type&&null!=a.name&&$(o,a),be(c,s);var l=be(c,a);for(s=0;s<u.length;s+=2){var d=u[s],f=u[s+1];"style"===d?ve(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,l)}switch(c){case"input":Z(o,a);break;case"textarea":ie(o,a);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?ne(o,!!a.multiple,p,!1):h!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[po]=a}catch(v){Tu(e,e.return,v)}}break;case 6:if(gc(t,e),mc(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(v){Tu(e,e.return,v)}}break;case 3:if(gc(t,e),mc(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Gt(t.containerInfo)}catch(v){Tu(e,e.return,v)}break;case 4:default:gc(t,e),mc(e);break;case 13:gc(t,e),mc(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(jc=$e())),4&r&&pc(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Qs=(l=Qs)||d,gc(t,e),Qs=l):gc(t,e),mc(e),8192&r){if(l=null!==e.memoizedState,(e.stateNode.isHidden=l)&&!d&&0!==(1&e.mode))for(Zs=e,d=e.child;null!==d;){for(f=Zs=d;null!==Zs;){switch(p=(h=Zs).child,h.tag){case 0:case 11:case 14:case 15:nc(4,h,h.return);break;case 1:Xs(h,h.return);var g=h.stateNode;if("function"===typeof g.componentWillUnmount){r=h,n=h.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(v){Tu(r,n,v)}}break;case 5:Xs(h,h.return);break;case 22:if(null!==h.memoizedState){wc(f);continue}}null!==p?(p.return=h,Zs=p):wc(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,l?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(c=f.stateNode,s=void 0!==(u=f.memoizedProps.style)&&null!==u&&u.hasOwnProperty("display")?u.display:null,c.style.display=ge("display",s))}catch(v){Tu(e,e.return,v)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=l?"":f.memoizedProps}catch(v){Tu(e,e.return,v)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:gc(t,e),mc(e),4&r&&pc(e);case 21:}}function mc(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ac(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),uc(e,sc(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;cc(e,sc(e),a);break;default:throw Error(i(161))}}catch(s){Tu(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yc(e,t,n){Zs=e,bc(e,t,n)}function bc(e,t,n){for(var r=0!==(1&e.mode);null!==Zs;){var o=Zs,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Ys;if(!a){var s=o.alternate,c=null!==s&&null!==s.memoizedState||Qs;s=Ys;var u=Qs;if(Ys=a,(Qs=c)&&!u)for(Zs=o;null!==Zs;)c=(a=Zs).child,22===a.tag&&null!==a.memoizedState?_c(o):null!==c?(c.return=a,Zs=c):_c(o);for(;null!==i;)Zs=i,bc(i,t,n),i=i.sibling;Zs=o,Ys=s,Qs=u}Ec(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Zs=i):Ec(e)}}function Ec(e){for(;null!==Zs;){var t=Zs;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Qs||rc(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Qs)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:mi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&qi(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}qi(t,s,n)}break;case 5:var c=t.stateNode;if(null===n&&4&t.flags){n=c;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var l=t.alternate;if(null!==l){var d=l.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Gt(f)}}}break;default:throw Error(i(163))}Qs||512&t.flags&&oc(t)}catch(h){Tu(t,t.return,h)}}if(t===e){Zs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Zs=n;break}Zs=t.return}}function wc(e){for(;null!==Zs;){var t=Zs;if(t===e){Zs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zs=n;break}Zs=t.return}}function _c(e){for(;null!==Zs;){var t=Zs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rc(4,t)}catch(c){Tu(t,n,c)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(c){Tu(t,o,c)}}var i=t.return;try{oc(t)}catch(c){Tu(t,i,c)}break;case 5:var a=t.return;try{oc(t)}catch(c){Tu(t,a,c)}}}catch(c){Tu(t,t.return,c)}if(t===e){Zs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Zs=s;break}Zs=t.return}}var Sc,Tc=Math.ceil,Cc=E.ReactCurrentDispatcher,Ic=E.ReactCurrentOwner,kc=E.ReactCurrentBatchConfig,Rc=0,Ac=null,Pc=null,Oc=0,Nc=0,xc=Co(0),Mc=0,Uc=null,Lc=0,Dc=0,Hc=0,qc=null,Fc=null,jc=0,Gc=1/0,zc=null,Bc=!1,Kc=null,Wc=null,Jc=!1,Vc=null,Yc=0,Qc=0,$c=null,Zc=-1,Xc=0;function eu(){return 0!==(6&Rc)?$e():-1!==Zc?Zc:Zc=$e()}function tu(e){return 0===(1&e.mode)?1:0!==(2&Rc)&&0!==Oc?Oc&-Oc:null!==vi.transition?(0===Xc&&(Xc=gt()),Xc):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Qt(e.type)}function nu(e,t,n,r){if(50<Qc)throw Qc=0,$c=null,Error(i(185));mt(e,n,r),0!==(2&Rc)&&e===Ac||(e===Ac&&(0===(2&Rc)&&(Dc|=n),4===Mc&&su(e,Oc)),ru(e,r),1===n&&0===Rc&&0===(1&t.mode)&&(Gc=$e()+500,Fo&&zo()))}function ru(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,c=o[a];-1===c?0!==(s&n)&&0===(s&r)||(o[a]=ht(s,t)):c<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=ft(e,e===Ac?Oc:0);if(0===r)null!==n&&Ve(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ve(n),1===t)0===e.tag?function(e){Fo=!0,Go(e)}(cu.bind(null,e)):Go(cu.bind(null,e)),ao((function(){0===(6&Rc)&&zo()})),n=null;else{switch(Et(r)){case 1:n=Xe;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Au(n,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ou(e,t){if(Zc=-1,Xc=0,0!==(6&Rc))throw Error(i(327));var n=e.callbackNode;if(_u()&&e.callbackNode!==n)return null;var r=ft(e,e===Ac?Oc:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=vu(e,r);else{t=r;var o=Rc;Rc|=2;var a=pu();for(Ac===e&&Oc===t||(zc=null,Gc=$e()+500,fu(e,t));;)try{yu();break}catch(c){hu(e,c)}_i(),Cc.current=a,Rc=o,null!==Pc?t=0:(Ac=null,Oc=0,t=Mc)}if(0!==t){if(2===t&&(0!==(o=pt(e))&&(r=o,t=iu(e,o))),1===t)throw n=Uc,fu(e,0),su(e,r),ru(e,$e()),n;if(6===t)su(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=vu(e,r))&&(0!==(a=pt(e))&&(r=a,t=iu(e,a))),1===t))throw n=Uc,fu(e,0),su(e,r),ru(e,$e()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:wu(e,Fc,zc);break;case 3:if(su(e,r),(130023424&r)===r&&10<(t=jc+500-$e())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){eu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(wu.bind(null,e,Fc,zc),t);break}wu(e,Fc,zc);break;case 4:if(su(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=$e()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Tc(r/1960))-r)){e.timeoutHandle=ro(wu.bind(null,e,Fc,zc),r);break}wu(e,Fc,zc);break;default:throw Error(i(329))}}}return ru(e,$e()),e.callbackNode===n?ou.bind(null,e):null}function iu(e,t){var n=qc;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=vu(e,t))&&(t=Fc,Fc=n,null!==t&&au(t)),e}function au(e){null===Fc?Fc=e:Fc.push.apply(Fc,e)}function su(e,t){for(t&=~Hc,t&=~Dc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function cu(e){if(0!==(6&Rc))throw Error(i(327));_u();var t=ft(e,0);if(0===(1&t))return ru(e,$e()),null;var n=vu(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=iu(e,r))}if(1===n)throw n=Uc,fu(e,0),su(e,t),ru(e,$e()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wu(e,Fc,zc),ru(e,$e()),null}function uu(e,t){var n=Rc;Rc|=1;try{return e(t)}finally{0===(Rc=n)&&(Gc=$e()+500,Fo&&zo())}}function lu(e){null!==Vc&&0===Vc.tag&&0===(6&Rc)&&_u();var t=Rc;Rc|=1;var n=kc.transition,r=bt;try{if(kc.transition=null,bt=1,e)return e()}finally{bt=r,kc.transition=n,0===(6&(Rc=t))&&zo()}}function du(){Nc=xc.current,Io(xc)}function fu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Pc)for(n=Pc.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Mo();break;case 3:ia(),Io(Po),Io(Ao),da();break;case 5:sa(r);break;case 4:ia();break;case 13:case 19:Io(ca);break;case 10:Si(r.type._context);break;case 22:case 23:du()}n=n.return}if(Ac=e,Pc=e=xu(e.current,null),Oc=Nc=t,Mc=0,Uc=null,Hc=Dc=Lc=0,Fc=qc=null,null!==ki){for(t=0;t<ki.length;t++)if(null!==(r=(n=ki[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}ki=null}return e}function hu(e,t){for(;;){var n=Pc;try{if(_i(),fa.current=as,ya){for(var r=ga.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ya=!1}if(pa=0,ma=va=ga=null,ba=!1,Ea=0,Ic.current=null,null===n||null===n.return){Mc=1,Uc=t,Pc=null;break}e:{var a=e,s=n.return,c=n,u=t;if(t=Oc,c.flags|=32768,null!==u&&"object"===typeof u&&"function"===typeof u.then){var l=u,d=c,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=ms(s);if(null!==p){p.flags&=-257,ys(p,s,c,0,t),1&p.mode&&vs(a,l,t),u=l;var g=(t=p).updateQueue;if(null===g){var v=new Set;v.add(u),t.updateQueue=v}else g.add(u);break e}if(0===(1&t)){vs(a,l,t),gu();break e}u=Error(i(426))}else if(ii&&1&c.mode){var m=ms(s);if(null!==m){0===(65536&m.flags)&&(m.flags|=256),ys(m,s,c,0,t),gi(ls(u,c));break e}}a=u=ls(u,c),4!==Mc&&(Mc=2),null===qc?qc=[a]:qc.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Di(a,ps(0,u,t));break e;case 1:c=u;var y=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Wc||!Wc.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Di(a,gs(a,c,t));break e}}a=a.return}while(null!==a)}Eu(n)}catch(E){t=E,Pc===n&&null!==n&&(Pc=n=n.return);continue}break}}function pu(){var e=Cc.current;return Cc.current=as,null===e?as:e}function gu(){0!==Mc&&3!==Mc&&2!==Mc||(Mc=4),null===Ac||0===(268435455&Lc)&&0===(268435455&Dc)||su(Ac,Oc)}function vu(e,t){var n=Rc;Rc|=2;var r=pu();for(Ac===e&&Oc===t||(zc=null,fu(e,t));;)try{mu();break}catch(o){hu(e,o)}if(_i(),Rc=n,Cc.current=r,null!==Pc)throw Error(i(261));return Ac=null,Oc=0,Mc}function mu(){for(;null!==Pc;)bu(Pc)}function yu(){for(;null!==Pc&&!Ye();)bu(Pc)}function bu(e){var t=Sc(e.alternate,e,Nc);e.memoizedProps=e.pendingProps,null===t?Eu(e):Pc=t,Ic.current=null}function Eu(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Js(n,t,Nc)))return void(Pc=n)}else{if(null!==(n=Vs(n,t)))return n.flags&=32767,void(Pc=n);if(null===e)return Mc=6,void(Pc=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Pc=t);Pc=t=e}while(null!==t);0===Mc&&(Mc=5)}function wu(e,t,n){var r=bt,o=kc.transition;try{kc.transition=null,bt=1,function(e,t,n,r){do{_u()}while(null!==Vc);if(0!==(6&Rc))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Ac&&(Pc=Ac=null,Oc=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Jc||(Jc=!0,Au(tt,(function(){return _u(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=kc.transition,kc.transition=null;var s=bt;bt=1;var c=Rc;Rc|=4,Ic.current=null,function(e,t){if(eo=Bt,hr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(w){n=null;break e}var s=0,c=-1,u=-1,l=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||0!==o&&3!==f.nodeType||(c=s+o),f!==a||0!==r&&3!==f.nodeType||(u=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(p=f.firstChild);)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++l===o&&(c=s),h===a&&++d===r&&(u=s),null!==(p=f.nextSibling))break;h=(f=h).parentNode}f=p}n=-1===c||-1===u?null:{start:c,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Bt=!1,Zs=t;null!==Zs;)if(e=(t=Zs).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Zs=e;else for(;null!==Zs;){t=Zs;try{var g=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var v=g.memoizedProps,m=g.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:mi(t.type,v),m);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var E=t.stateNode.containerInfo;1===E.nodeType?E.textContent="":9===E.nodeType&&E.documentElement&&E.removeChild(E.documentElement);break;default:throw Error(i(163))}}catch(w){Tu(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Zs=e;break}Zs=t.return}g=tc,tc=!1}(e,n),vc(n,e),pr(to),Bt=!!eo,to=eo=null,e.current=n,yc(n,e,o),Qe(),Rc=c,bt=s,kc.transition=a}else e.current=n;if(Jc&&(Jc=!1,Vc=e,Yc=o),0===(a=e.pendingLanes)&&(Wc=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),ru(e,$e()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(Bc)throw Bc=!1,e=Kc,Kc=null,e;0!==(1&Yc)&&0!==e.tag&&_u(),0!==(1&(a=e.pendingLanes))?e===$c?Qc++:(Qc=0,$c=e):Qc=0,zo()}(e,t,n,r)}finally{kc.transition=o,bt=r}return null}function _u(){if(null!==Vc){var e=Et(Yc),t=kc.transition,n=bt;try{if(kc.transition=null,bt=16>e?16:e,null===Vc)var r=!1;else{if(e=Vc,Vc=null,Yc=0,0!==(6&Rc))throw Error(i(331));var o=Rc;for(Rc|=4,Zs=e.current;null!==Zs;){var a=Zs,s=a.child;if(0!==(16&Zs.flags)){var c=a.deletions;if(null!==c){for(var u=0;u<c.length;u++){var l=c[u];for(Zs=l;null!==Zs;){var d=Zs;switch(d.tag){case 0:case 11:case 15:nc(8,d,a)}var f=d.child;if(null!==f)f.return=d,Zs=f;else for(;null!==Zs;){var h=(d=Zs).sibling,p=d.return;if(ic(d),d===l){Zs=null;break}if(null!==h){h.return=p,Zs=h;break}Zs=p}}}var g=a.alternate;if(null!==g){var v=g.child;if(null!==v){g.child=null;do{var m=v.sibling;v.sibling=null,v=m}while(null!==v)}}Zs=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Zs=s;else e:for(;null!==Zs;){if(0!==(2048&(a=Zs).flags))switch(a.tag){case 0:case 11:case 15:nc(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Zs=y;break e}Zs=a.return}}var b=e.current;for(Zs=b;null!==Zs;){var E=(s=Zs).child;if(0!==(2064&s.subtreeFlags)&&null!==E)E.return=s,Zs=E;else e:for(s=b;null!==Zs;){if(0!==(2048&(c=Zs).flags))try{switch(c.tag){case 0:case 11:case 15:rc(9,c)}}catch(_){Tu(c,c.return,_)}if(c===s){Zs=null;break e}var w=c.sibling;if(null!==w){w.return=c.return,Zs=w;break e}Zs=c.return}}if(Rc=o,zo(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(_){}r=!0}return r}finally{bt=n,kc.transition=t}}return!1}function Su(e,t,n){e=Ui(e,t=ps(0,t=ls(n,t),1),1),t=eu(),null!==e&&(mt(e,1,t),ru(e,t))}function Tu(e,t,n){if(3===e.tag)Su(e,e,n);else for(;null!==t;){if(3===t.tag){Su(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Wc||!Wc.has(r))){t=Ui(t,e=gs(t,e=ls(n,e),1),1),e=eu(),null!==t&&(mt(t,1,e),ru(t,e));break}}t=t.return}}function Cu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&n,Ac===e&&(Oc&n)===n&&(4===Mc||3===Mc&&(130023424&Oc)===Oc&&500>$e()-jc?fu(e,0):Hc|=n),ru(e,t)}function Iu(e,t){0===t&&(0===(1&e.mode)?t=1:(t=lt,0===(130023424&(lt<<=1))&&(lt=4194304)));var n=eu();null!==(e=Pi(e,t))&&(mt(e,t,n),ru(e,n))}function ku(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Iu(e,n)}function Ru(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Iu(e,n)}function Au(e,t){return Je(e,t)}function Pu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ou(e,t,n,r){return new Pu(e,t,n,r)}function Nu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function xu(e,t){var n=e.alternate;return null===n?((n=Ou(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Mu(e,t,n,r,o,a){var s=2;if(r=e,"function"===typeof e)Nu(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case S:return Uu(n.children,o,a,t);case T:s=8,o|=8;break;case C:return(e=Ou(12,n,t,2|o)).elementType=C,e.lanes=a,e;case A:return(e=Ou(13,n,t,o)).elementType=A,e.lanes=a,e;case P:return(e=Ou(19,n,t,o)).elementType=P,e.lanes=a,e;case x:return Lu(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case I:s=10;break e;case k:s=9;break e;case R:s=11;break e;case O:s=14;break e;case N:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Ou(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Uu(e,t,n,r){return(e=Ou(7,e,r,t)).lanes=n,e}function Lu(e,t,n,r){return(e=Ou(22,e,r,t)).elementType=x,e.lanes=n,e.stateNode={isHidden:!1},e}function Du(e,t,n){return(e=Ou(6,e,null,t)).lanes=n,e}function Hu(e,t,n){return(t=Ou(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function qu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fu(e,t,n,r,o,i,a,s,c){return e=new qu(e,t,n,s,c),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Ou(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ni(i),e}function ju(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:_,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Gu(e){if(!e)return Ro;e:{if(Ge(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(xo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(xo(n))return Lo(e,n,t)}return t}function zu(e,t,n,r,o,i,a,s,c){return(e=Fu(n,r,!0,e,0,i,0,s,c)).context=Gu(null),n=e.current,(i=Mi(r=eu(),o=tu(n))).callback=void 0!==t&&null!==t?t:null,Ui(n,i,o),e.current.lanes=o,mt(e,o,r),ru(e,r),e}function Bu(e,t,n,r){var o=t.current,i=eu(),a=tu(o);return n=Gu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Mi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ui(o,t,a))&&(nu(e,o,a,i),Li(e,o,a)),a}function Ku(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ju(e,t){Wu(e,t),(e=e.alternate)&&Wu(e,t)}Sc=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Po.current)Es=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return Es=!1,function(e,t,n){switch(t.tag){case 3:Ps(t),pi();break;case 5:aa(t);break;case 1:xo(t.type)&&Do(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ko(yi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(ko(ca,1&ca.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Ds(e,t,n):(ko(ca,1&ca.current),null!==(e=Bs(e,t,n))?e.sibling:null);ko(ca,1&ca.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Gs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ko(ca,ca.current),r)break;return null;case 22:case 23:return t.lanes=0,Cs(e,t,n)}return Bs(e,t,n)}(e,t,n);Es=0!==(131072&e.flags)}else Es=!1,ii&&0!==(1048576&t.flags)&&ei(t,Jo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;zs(e,t),e=t.pendingProps;var o=No(t,Ao.current);Ci(t,n),o=Ta(null,t,r,e,o,n);var a=Ca();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,xo(r)?(a=!0,Do(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ni(t),o.updater=Gi,t.stateNode=o,o._reactInternals=t,Wi(t,r,e,n),t=As(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),ws(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(zs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Nu(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===R)return 11;if(e===O)return 14}return 2}(r),e=mi(r,e),o){case 0:t=ks(null,t,r,e,n);break e;case 1:t=Rs(null,t,r,e,n);break e;case 11:t=_s(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,mi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,ks(e,t,r,o=t.elementType===r?o:mi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Rs(e,t,r,o=t.elementType===r?o:mi(r,o),n);case 3:e:{if(Ps(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,xi(e,t),Hi(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Os(e,t,r,n,o=ls(Error(i(423)),t));break e}if(r!==o){t=Os(e,t,r,n,o=ls(Error(i(424)),t));break e}for(oi=uo(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Zi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(pi(),r===o){t=Bs(e,t,n);break e}ws(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&li(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),Is(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&li(t),null;case 13:return Ds(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=$i(t,null,r,n):ws(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,_s(e,t,r,o=t.elementType===r?o:mi(r,o),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,ko(yi,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Po.current){t=Bs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var c=a.dependencies;if(null!==c){s=a.child;for(var u=c.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=Mi(-1,n&-n)).tag=2;var l=a.updateQueue;if(null!==l){var d=(l=l.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),l.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Ti(a.return,n,t),c.lanes|=n;break}u=u.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(c=s.alternate)&&(c.lanes|=n),Ti(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}ws(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ci(t,n),r=r(o=Ii(o)),t.flags|=1,ws(e,t,r,n),t.child;case 14:return o=mi(r=t.type,t.pendingProps),Ss(e,t,r,o=mi(r.type,o),n);case 15:return Ts(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mi(r,o),zs(e,t),t.tag=1,xo(r)?(e=!0,Do(t)):e=!1,Ci(t,n),Bi(t,r,o),Wi(t,r,o,n),As(null,t,r,!0,e,n);case 19:return Gs(e,t,n);case 22:return Cs(e,t,n)}throw Error(i(156,t.tag))};var Vu="function"===typeof reportError?reportError:function(e){console.error(e)};function Yu(e){this._internalRoot=e}function Qu(e){this._internalRoot=e}function $u(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xu(){}function el(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var s=o;o=function(){var e=Ku(a);s.call(e)}}Bu(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var e=Ku(a);i.call(e)}}var a=zu(t,r,e,0,null,!1,0,"",Xu);return e._reactRootContainer=a,e[go]=a.current,Gr(8===e.nodeType?e.parentNode:e),lu(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var s=r;r=function(){var e=Ku(c);s.call(e)}}var c=Fu(e,0,!1,null,0,!1,0,"",Xu);return e._reactRootContainer=c,e[go]=c.current,Gr(8===e.nodeType?e.parentNode:e),lu((function(){Bu(t,c,n,r)})),c}(n,t,e,o,r);return Ku(a)}Qu.prototype.render=Yu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Bu(e,t,null,null)},Qu.prototype.unmount=Yu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;lu((function(){Bu(null,e,null,null)})),t[go]=null}},Qu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Tt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<xt.length&&0!==t&&t<xt[n].priority;n++);xt.splice(n,0,e),0===n&&Dt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),ru(t,$e()),0===(6&Rc)&&(Gc=$e()+500,zo()))}break;case 13:lu((function(){var t=Pi(e,1);if(null!==t){var n=eu();nu(t,e,1,n)}})),Ju(e,1)}},_t=function(e){if(13===e.tag){var t=Pi(e,134217728);if(null!==t)nu(t,e,134217728,eu());Ju(e,134217728)}},St=function(e){if(13===e.tag){var t=tu(e),n=Pi(e,t);if(null!==n)nu(n,e,t,eu());Ju(e,t)}},Tt=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},_e=function(e,t,n){switch(t){case"input":if(Z(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=_o(r);if(!o)throw Error(i(90));J(r),Z(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Re=uu,Ae=lu;var tl={usingClientEntryPoint:!1,Events:[Eo,wo,_o,Ie,ke,uu]},nl={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rl={bundleType:nl.bundleType,version:nl.version,rendererPackageName:nl.rendererPackageName,rendererConfig:nl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:E.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ke(e))?null:e.stateNode},findFiberByHostInstance:nl.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ol=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ol.isDisabled&&ol.supportsFiber)try{ot=ol.inject(rl),it=ol}catch(le){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tl,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!$u(t))throw Error(i(200));return ju(e,t,null,n)},t.createRoot=function(e,t){if(!$u(e))throw Error(i(299));var n=!1,r="",o=Vu;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Fu(e,1,!1,null,0,n,0,r,o),e[go]=t.current,Gr(8===e.nodeType?e.parentNode:e),new Yu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=Ke(t))?null:e.stateNode},t.flushSync=function(e){return lu(e)},t.hydrate=function(e,t,n){if(!Zu(t))throw Error(i(200));return el(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!$u(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Vu;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=zu(t,null,e,1,null!=n?n:null,o,0,a,s),e[go]=t.current,Gr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Qu(t)},t.render=function(e,t,n){if(!Zu(t))throw Error(i(200));return el(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zu(e))throw Error(i(40));return!!e._reactRootContainer&&(lu((function(){el(null,null,e,!1,(function(){e._reactRootContainer=null,e[go]=null}))})),!0)},t.unstable_batchedUpdates=uu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zu(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return el(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},21739:function(e,t,n){"use strict";var r=n(1168);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},1168:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(30534)},85554:function(e,t,n){"use strict";n.d(t,{zt:function(){return b},I0:function(){return C},v9:function(){return g}});var r=n(51239),o=n(37058),i=n(1168);var a=function(e){e()},s=function(){return a},c=n(47313),u=(0,c.createContext)(null);function l(){return(0,c.useContext)(u)}var d=function(){throw new Error("uSES not initialized!")},f=d,h=function(e,t){return e===t};function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=e===u?l:function(){return(0,c.useContext)(e)};return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h;var r=t(),o=r.store,i=r.subscription,a=r.getServerState,s=f(i.addNestedSub,o.getState,a||o.getState,e,n);return(0,c.useDebugValue)(s),s}}var g=p();n(67861),n(86440);var v={notify:function(){},get:function(){return[]}};function m(e,t){var n,r=v;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){var e=s(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var a={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=v)},getListeners:function(){return r}};return a}var y=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement)?c.useLayoutEffect:c.useEffect;var b=function(e){var t=e.store,n=e.context,r=e.children,o=e.serverState,i=(0,c.useMemo)((function(){var e=m(t);return{store:t,subscription:e,getServerState:o?function(){return o}:void 0}}),[t,o]),a=(0,c.useMemo)((function(){return t.getState()}),[t]);y((function(){var e=i.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),a!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=void 0}}),[i,a]);var s=n||u;return c.createElement(s.Provider,{value:i},r)};function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=e===u?l:function(){return(0,c.useContext)(e)};return function(){return t().store}}var w=E();function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=e===u?w:E(e);return function(){return t().dispatch}}var S,T,C=_();S=o.useSyncExternalStoreWithSelector,f=S,function(e){e}(r.useSyncExternalStore),T=i.unstable_batchedUpdates,a=T},15230:function(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function m(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case f:case h:return e;default:switch(e=e&&e.$$typeof){case l:case u:case d:case g:case p:case c:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},86440:function(e,t,n){"use strict";n(15230)},21330:function(e,t,n){"use strict";n.d(t,{UT:function(){return p},OL:function(){return v},lr:function(){return b}});var r=n(70885),o=n(40181);var i=n(47313),a=n(58467),s=n(30304);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function l(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((function(t,n){var r=e[n];return t.concat(Array.isArray(r)?r.map((function(e){return[n,e]})):[[n,r]])}),[]))}function d(e,t){var n,r=l(e),i=function(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,o.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}(t.keys());try{var a=function(){var e=n.value;r.has(e)||t.getAll(e).forEach((function(t){r.append(e,t)}))};for(i.s();!(n=i.n()).done;)a()}catch(s){i.e(s)}finally{i.f()}return r}var f=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],h=["aria-current","caseSensitive","className","end","style","to","children"];function p(e){var t=e.basename,n=e.children,o=e.window,c=i.useRef();null==c.current&&(c.current=(0,s.q_)({window:o,v5Compat:!0}));var u=c.current,l=i.useState({action:u.action,location:u.location}),d=(0,r.Z)(l,2),f=d[0],h=d[1];return i.useLayoutEffect((function(){return u.listen(h)}),[u]),i.createElement(a.F0,{basename:t,children:n,location:f.location,navigationType:f.action,navigator:u})}var g=i.forwardRef((function(e,t){var n=e.onClick,r=e.relative,o=e.reloadDocument,l=e.replace,d=e.state,h=e.target,p=e.to,g=e.preventScrollReset,v=u(e,f),m=(0,a.oQ)(p,{relative:r}),y=function(e,t){var n=void 0===t?{}:t,r=n.target,o=n.replace,c=n.state,u=n.preventScrollReset,l=n.relative,d=(0,a.s0)(),f=(0,a.TH)(),h=(0,a.WU)(e,{relative:l});return i.useCallback((function(t){if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,r)){t.preventDefault();var n=void 0!==o?o:(0,s.Ep)(f)===(0,s.Ep)(h);d(e,{replace:n,state:c,preventScrollReset:u,relative:l})}}),[f,d,h,o,c,r,e,u,l])}(p,{replace:l,state:d,target:h,preventScrollReset:g,relative:r});return i.createElement("a",c({},v,{href:m,onClick:o?n:function(e){n&&n(e),e.defaultPrevented||y(e)},ref:t,target:h}))}));var v=i.forwardRef((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,o=e.caseSensitive,s=void 0!==o&&o,l=e.className,d=void 0===l?"":l,f=e.end,p=void 0!==f&&f,v=e.style,m=e.to,y=e.children,b=u(e,h),E=(0,a.WU)(m,{relative:b.relative}),w=(0,a.TH)(),_=i.useContext(a.FR),S=E.pathname,T=w.pathname,C=_&&_.navigation&&_.navigation.location?_.navigation.location.pathname:null;s||(T=T.toLowerCase(),C=C?C.toLowerCase():null,S=S.toLowerCase());var I,k=T===S||!p&&T.startsWith(S)&&"/"===T.charAt(S.length),R=null!=C&&(C===S||!p&&C.startsWith(S)&&"/"===C.charAt(S.length)),A=k?r:void 0;I="function"===typeof d?d({isActive:k,isPending:R}):[d,k?"active":null,R?"pending":null].filter(Boolean).join(" ");var P="function"===typeof v?v({isActive:k,isPending:R}):v;return i.createElement(g,c({},b,{"aria-current":A,className:I,ref:t,style:P,to:m}),"function"===typeof y?y({isActive:k,isPending:R}):y)}));var m,y;function b(e){var t=i.useRef(l(e)),n=(0,a.TH)(),r=i.useMemo((function(){return d(n.search,t.current)}),[n.search]),o=(0,a.s0)(),s=i.useCallback((function(e,t){var n=l("function"===typeof e?e(r):e);o("?"+n,t)}),[o,r]);return[r,s]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(m||(m={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(y||(y={}))},58467:function(e,t,n){"use strict";var r;n.d(t,{AW:function(){return j},F0:function(){return G},FR:function(){return w},Fg:function(){return F},TH:function(){return A},WU:function(){return O},Z5:function(){return z},oQ:function(){return k},s0:function(){return P}});var o=n(42982),i=n(15671),a=n(43144),s=n(60136),c=n(27277),u=n(70885),l=n(30304),d=n(47313);function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}var h="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},p=d.useState,g=d.useEffect,v=d.useLayoutEffect,m=d.useDebugValue;function y(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!h(n,r)}catch(o){return!0}}"undefined"===typeof window||"undefined"===typeof window.document||window.document.createElement,(r||(r=n.t(d,2))).useSyncExternalStore;var b=d.createContext(null);var E=d.createContext(null);var w=d.createContext(null);var _=d.createContext(null);var S=d.createContext(null);var T=d.createContext(null);var C=d.createContext({outlet:null,matches:[]});var I=d.createContext(null);function k(e,t){var n=(void 0===t?{}:t).relative;R()||(0,l.kG)(!1);var r=d.useContext(S),o=r.basename,i=r.navigator,a=O(e,{relative:n}),s=a.hash,c=a.pathname,u=a.search,f=c;return"/"!==o&&(f="/"===c?o:(0,l.RQ)([o,c])),i.createHref({pathname:f,search:u,hash:s})}function R(){return null!=d.useContext(T)}function A(){return R()||(0,l.kG)(!1),d.useContext(T).location}function P(){R()||(0,l.kG)(!1);var e=d.useContext(S),t=e.basename,n=e.navigator,r=d.useContext(C).matches,o=A().pathname,i=JSON.stringify((0,l.Zq)(r).map((function(e){return e.pathnameBase}))),a=d.useRef(!1);return d.useEffect((function(){a.current=!0})),d.useCallback((function(e,r){if(void 0===r&&(r={}),a.current)if("number"!==typeof e){var s=(0,l.pC)(e,JSON.parse(i),o,"path"===r.relative);"/"!==t&&(s.pathname="/"===s.pathname?t:(0,l.RQ)([t,s.pathname])),(r.replace?n.replace:n.push)(s,r.state,r)}else n.go(e)}),[t,n,i,o])}function O(e,t){var n=(void 0===t?{}:t).relative,r=d.useContext(C).matches,o=A().pathname,i=JSON.stringify((0,l.Zq)(r).map((function(e){return e.pathnameBase})));return d.useMemo((function(){return(0,l.pC)(e,JSON.parse(i),o,"path"===n)}),[e,i,o,n])}function N(){var e=function(){var e,t=d.useContext(I),n=H(M.UseRouteError),r=d.useContext(C),o=r.matches[r.matches.length-1];if(t)return t;return r||(0,l.kG)(!1),!o.route.id&&(0,l.kG)(!1),null==(e=n.errors)?void 0:e[o.route.id]}(),t=(0,l.WK)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r};return d.createElement(d.Fragment,null,d.createElement("h2",null,"Unhandled Thrown Error!"),d.createElement("h3",{style:{fontStyle:"italic"}},t),n?d.createElement("pre",{style:o},n):null,d.createElement("p",null,"\ud83d\udcbf Hey developer \ud83d\udc4b"),d.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own\xa0",d.createElement("code",{style:i},"errorElement")," props on\xa0",d.createElement("code",{style:i},"<Route>")))}var x,M,U=function(e){(0,s.Z)(n,e);var t=(0,c.Z)(n);function n(e){var r;return(0,i.Z)(this,n),(r=t.call(this,e)).state={location:e.location,error:e.error},r}return(0,a.Z)(n,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?d.createElement(I.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}}]),n}(d.Component);function L(e){var t=e.routeContext,n=e.match,r=e.children,o=d.useContext(b);return o&&n.route.errorElement&&(o._deepestRenderedBoundaryId=n.route.id),d.createElement(C.Provider,{value:t},r)}function D(e,t,n){if(void 0===t&&(t=[]),null==e){if(null==n||!n.errors)return null;e=n.matches}var r=e,o=null==n?void 0:n.errors;if(null!=o){var i=r.findIndex((function(e){return e.route.id&&(null==o?void 0:o[e.route.id])}));i>=0||(0,l.kG)(!1),r=r.slice(0,Math.min(r.length,i+1))}return r.reduceRight((function(e,i,a){var s=i.route.id?null==o?void 0:o[i.route.id]:null,c=n?i.route.errorElement||d.createElement(N,null):null,u=function(){return d.createElement(L,{match:i,routeContext:{outlet:e,matches:t.concat(r.slice(0,a+1))}},s?c:void 0!==i.route.element?i.route.element:e)};return n&&(i.route.errorElement||0===a)?d.createElement(U,{location:n.location,component:c,error:s,children:u()}):u()}),null)}function H(e){var t=d.useContext(w);return t||(0,l.kG)(!1),t}!function(e){e.UseRevalidator="useRevalidator"}(x||(x={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(M||(M={}));var q;function F(e){var t=e.to,n=e.replace,r=e.state,o=e.relative;R()||(0,l.kG)(!1);var i=d.useContext(w),a=P();return d.useEffect((function(){i&&"idle"!==i.navigation.state||a(t,{replace:n,state:r,relative:o})})),null}function j(e){(0,l.kG)(!1)}function G(e){var t=e.basename,n=void 0===t?"/":t,r=e.children,o=void 0===r?null:r,i=e.location,a=e.navigationType,s=void 0===a?l.aU.Pop:a,c=e.navigator,u=e.static,f=void 0!==u&&u;R()&&(0,l.kG)(!1);var h=n.replace(/^\/*/,"/"),p=d.useMemo((function(){return{basename:h,navigator:c,static:f}}),[h,c,f]);"string"===typeof i&&(i=(0,l.cP)(i));var g=i,v=g.pathname,m=void 0===v?"/":v,y=g.search,b=void 0===y?"":y,E=g.hash,w=void 0===E?"":E,_=g.state,C=void 0===_?null:_,I=g.key,k=void 0===I?"default":I,A=d.useMemo((function(){var e=(0,l.Zn)(m,h);return null==e?null:{pathname:e,search:b,hash:w,state:C,key:k}}),[h,m,b,w,C,k]);return null==A?null:d.createElement(S.Provider,{value:p},d.createElement(T.Provider,{children:o,value:{location:A,navigationType:s}}))}function z(e){var t=e.children,n=e.location,r=d.useContext(E);return function(e,t){R()||(0,l.kG)(!1);var n,r=d.useContext(w),o=d.useContext(C).matches,i=o[o.length-1],a=i?i.params:{},s=(i&&i.pathname,i?i.pathnameBase:"/"),c=(i&&i.route,A());if(t){var u,h="string"===typeof t?(0,l.cP)(t):t;"/"===s||(null==(u=h.pathname)?void 0:u.startsWith(s))||(0,l.kG)(!1),n=h}else n=c;var p=n.pathname||"/",g="/"===s?p:p.slice(s.length)||"/",v=(0,l.fp)(e,{pathname:g}),m=D(v&&v.map((function(e){return Object.assign({},e,{params:Object.assign({},a,e.params),pathname:(0,l.RQ)([s,e.pathname]),pathnameBase:"/"===e.pathnameBase?s:(0,l.RQ)([s,e.pathnameBase])})})),o,r||void 0);return t&&m?d.createElement(T.Provider,{value:{location:f({pathname:"/",search:"",hash:"",state:null,key:"default"},n),navigationType:l.aU.Pop}},m):m}(r&&!t?r.router.routes:K(t),n)}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(q||(q={}));var B=new Promise((function(){}));d.Component;function K(e,t){void 0===t&&(t=[]);var n=[];return d.Children.forEach(e,(function(e,r){if(d.isValidElement(e))if(e.type!==d.Fragment){e.type!==j&&(0,l.kG)(!1),e.props.index&&e.props.children&&(0,l.kG)(!1);var i=[].concat((0,o.Z)(t),[r]),a={id:e.props.id||i.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,hasErrorBoundary:null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle};e.props.children&&(a.children=K(e.props.children,i)),n.push(a)}else n.push.apply(n,K(e.props.children,t))})),n}},35918:function(e,t,n){"use strict";var r=n(47313),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,l=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)a.call(t,r)&&!c.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:l,props:i,_owner:s.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},80306:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,v={};function m(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||p}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||p}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=m.prototype;var E=b.prototype=new y;E.constructor=b,g(E,m.prototype),E.isPureReactComponent=!0;var w=Array.isArray,_=Object.prototype.hasOwnProperty,S={current:null},T={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)_.call(t,o)&&!T.hasOwnProperty(o)&&(i[o]=t[o]);var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];i.children=u}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===i[o]&&(i[o]=c[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:S.current}}function I(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var k=/\/+/g;function R(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function A(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var c=!1;if(null===e)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0}}if(c)return a=a(c=e),e=""===i?"."+R(c,0):i,w(a)?(o="",null!=e&&(o=e.replace(k,"$&/")+"/"),A(a,t,o,"",(function(e){return e}))):null!=a&&(I(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||c&&c.key===a.key?"":(""+a.key).replace(k,"$&/")+"/")+e)),t.push(a)),1;if(c=0,i=""===i?".":i+":",w(e))for(var u=0;u<e.length;u++){var l=i+R(s=e[u],u);c+=A(s,t,o,l,a)}else if(l=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof l)for(e=l.call(e),u=0;!(s=e.next()).done;)c+=A(s=s.value,t,o,l=i+R(s,u++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function P(e,t,n){if(null==e)return e;var r=[],o=0;return A(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function O(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N={current:null},x={transition:null},M={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:x,ReactCurrentOwner:S};t.Children={map:P,forEach:function(e,t,n){P(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!I(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=m,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=l,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=g({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=S.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)_.call(t,u)&&!T.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){c=Array(u);for(var l=0;l<u;l++)c[l]=arguments[l+2];o.children=c}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=I,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=x.transition;x.transition={};try{e()}finally{x.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return N.current.useCallback(e,t)},t.useContext=function(e){return N.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return N.current.useDeferredValue(e)},t.useEffect=function(e,t){return N.current.useEffect(e,t)},t.useId=function(){return N.current.useId()},t.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return N.current.useMemo(e,t)},t.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},t.useRef=function(e){return N.current.useRef(e)},t.useState=function(e){return N.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return N.current.useTransition()},t.version="18.2.0"},47313:function(e,t,n){"use strict";e.exports=n(80306)},46417:function(e,t,n){"use strict";e.exports=n(35918)},72350:function(e,t,n){"use strict";var r=n(9038).qC;t.Uo="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?r:r.apply(null,arguments)},"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__},95981:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=(0,o.default)(e);return{getItem:function(e){return new Promise((function(n,r){n(t.getItem(e))}))},setItem:function(e,n){return new Promise((function(r,o){r(t.setItem(e,n))}))},removeItem:function(e){return new Promise((function(n,r){n(t.removeItem(e))}))}}};var r,o=(r=n(33110))&&r.__esModule?r:{default:r}},33110:function(e,t){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(){}t.__esModule=!0,t.default=function(e){var t="".concat(e,"Storage");return function(e){if("object"!==("undefined"===typeof self?"undefined":n(self))||!(e in self))return!1;try{var t=self[e],r="redux-persist ".concat(e," test");t.setItem(r,"test"),t.getItem(r),t.removeItem(r)}catch(o){return!1}return!0}(t)?self[t]:o};var o={getItem:r,setItem:r,removeItem:r}},69922:function(e,t,n){"use strict";var r;t.Z=void 0;var o=(0,((r=n(95981))&&r.__esModule?r:{default:r}).default)("session");t.Z=o},9038:function(e,t,n){"use strict";function r(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}n.d(t,{MT:function(){return c},qC:function(){return u}});var o="function"===typeof Symbol&&Symbol.observable||"@@observable",i=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function s(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function c(e,t,n){var i;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(r(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(r(1));return n(c)(e,t)}if("function"!==typeof e)throw new Error(r(2));var u=e,l=t,d=[],f=d,h=!1;function p(){f===d&&(f=d.slice())}function g(){if(h)throw new Error(r(3));return l}function v(e){if("function"!==typeof e)throw new Error(r(4));if(h)throw new Error(r(5));var t=!0;return p(),f.push(e),function(){if(t){if(h)throw new Error(r(6));t=!1,p();var n=f.indexOf(e);f.splice(n,1),d=null}}}function m(e){if(!s(e))throw new Error(r(7));if("undefined"===typeof e.type)throw new Error(r(8));if(h)throw new Error(r(9));try{h=!0,l=u(l,e)}finally{h=!1}for(var t=d=f,n=0;n<t.length;n++){(0,t[n])()}return e}function y(e){if("function"!==typeof e)throw new Error(r(10));u=e,m({type:a.REPLACE})}function b(){var e,t=v;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(r(11));function n(){e.next&&e.next(g())}return n(),{unsubscribe:t(n)}}})[o]=function(){return this},e}return m({type:a.INIT}),(i={dispatch:m,subscribe:v,getState:g,replaceReducer:y})[o]=b,i}function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}},13095:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,c=e[s],u=s+1,l=e[u];if(0>i(c,n))u<o&&0>i(l,c)?(e[r]=l,e[u]=n,r=u):(e[r]=c,e[s]=n,r=s);else{if(!(u<o&&0>i(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,c=s.now();t.unstable_now=function(){return s.now()-c}}var u=[],l=[],d=1,f=null,h=3,p=!1,g=!1,v=!1,m="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function E(e){for(var t=r(l);null!==t;){if(null===t.callback)o(l);else{if(!(t.startTime<=e))break;o(l),t.sortIndex=t.expirationTime,n(u,t)}t=r(l)}}function w(e){if(v=!1,E(e),!g)if(null!==r(u))g=!0,x(_);else{var t=r(l);null!==t&&M(w,t.startTime-e)}}function _(e,n){g=!1,v&&(v=!1,y(I),I=-1),p=!0;var i=h;try{for(E(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!A());){var a=f.callback;if("function"===typeof a){f.callback=null,h=f.priorityLevel;var s=a(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?f.callback=s:f===r(u)&&o(u),E(n)}else o(u);f=r(u)}if(null!==f)var c=!0;else{var d=r(l);null!==d&&M(w,d.startTime-n),c=!1}return c}finally{f=null,h=i,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,T=!1,C=null,I=-1,k=5,R=-1;function A(){return!(t.unstable_now()-R<k)}function P(){if(null!==C){var e=t.unstable_now();R=e;var n=!0;try{n=C(!0,e)}finally{n?S():(T=!1,C=null)}}else T=!1}if("function"===typeof b)S=function(){b(P)};else if("undefined"!==typeof MessageChannel){var O=new MessageChannel,N=O.port2;O.port1.onmessage=P,S=function(){N.postMessage(null)}}else S=function(){m(P,0)};function x(e){C=e,T||(T=!0,S())}function M(e,n){I=m((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||p||(g=!0,x(_))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(l,e),null===r(u)&&e===r(l)&&(v?(y(I),I=-1):v=!0,M(w,i-a))):(e.sortIndex=s,n(u,e),g||p||(g=!0,x(_))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},62224:function(e,t,n){"use strict";e.exports=n(13095)},21531:function(e,t,n){"use strict";var r=n(47313);var o="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,c=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(r){return!0}}var l="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,l=r[1];return s((function(){o.value=n,o.getSnapshot=t,u(o)&&l({inst:o})}),[e,n,t]),a((function(){return u(o)&&l({inst:o}),e((function(){u(o)&&l({inst:o})}))}),[e]),c(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},45531:function(e,t,n){"use strict";var r=n(47313),o=n(51239);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},a=o.useSyncExternalStore,s=r.useRef,c=r.useEffect,u=r.useMemo,l=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=u((function(){function e(e){if(!c){if(c=!0,a=e,e=r(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,s=n)}var a,s,c=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,n,r,o]);var h=a(e,d[0],d[1]);return c((function(){f.hasValue=!0,f.value=h}),[h]),l(h),h}},51239:function(e,t,n){"use strict";e.exports=n(21531)},37058:function(e,t,n){"use strict";e.exports=n(45531)},30907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},97326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},15671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},43144:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:function(){return o}})},27277:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(61120),o=n(78814),i=n(71002),a=n(97326);function s(e,t){if(t&&("object"===(0,i.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.Z)(e)}function c(e){var t=(0,o.Z)();return function(){var n,o=(0,r.Z)(e);if(t){var i=(0,r.Z)(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return s(this,n)}}},4942:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},61120:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},60136:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(89611);function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},78814:function(e,t,n){"use strict";function r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},1413:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(4942);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},44925:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return r}})},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},70885:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(40181);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(c){s=!0,o=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},42982:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);var o=n(40181);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},71002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(30907);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){a[e]=function(){return r[e]}}));return a.default=function(){return r},n.d(i,a),i}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+"."+{18:"7ddf5096",176:"44035bcc",297:"8ae1e5e0",340:"ce8215ad",348:"a88c7705",370:"79fc8df3",491:"6101d763",514:"99ab97af",617:"ef9b57b1",664:"556c2c72",691:"b7fcc27d",811:"8f231000",998:"7113153c"}[e]+".chunk.js"},n.miniCssF=function(e){return"static/css/"+e+"."+{617:"e367b0e1",691:"57000fb1"}[e]+".chunk.css"},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="maingate-console:";n.l=function(r,o,i,a){if(e[r])e[r].push(o);else{var s,c;if(void 0!==i)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+i){s=d;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+i),s.src=r),e[r]=[o];var f=function(t,n){s.onerror=s.onload=null,clearTimeout(h);var o=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((function(e){return e(n)})),t)return t(n)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),c&&document.head.appendChild(s)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="https://auth.action2quare.com/console/",function(){var e=function(e){return new Promise((function(t,r){var o=n.miniCssF(e),i=n.p+o;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var o=(a=n[r]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(r=0;r<i.length;r++){var a;if((o=(a=i[r]).getAttribute("data-href"))===e||o===t)return a}}(o,i))return t();!function(e,t,n,r){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=function(i){if(o.onerror=o.onload=null,"load"===i.type)n();else{var a=i&&("load"===i.type?"missing":i.type),s=i&&i.target&&i.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=a,c.request=s,o.parentNode.removeChild(o),r(c)}},o.href=t,document.head.appendChild(o)}(e,i,t,r)}))},t={179:0};n.f.miniCss=function(n,r){t[n]?r.push(t[n]):0!==t[n]&&{617:1,691:1}[n]&&r.push(t[n]=e(n).then((function(){t[n]=0}),(function(e){throw delete t[n],e})))}}(),function(){var e={179:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise((function(n,r){o=e[t]=[n,r]}));r.push(o[2]=i);var a=n.p+n.u(t),s=new Error;n.l(a,(function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,o[1](s)}}),"chunk-"+t,t)}};var t=function(t,r){var o,i,a=r[0],s=r[1],c=r[2],u=0;if(a.some((function(t){return 0!==e[t]}))){for(o in s)n.o(s,o)&&(n.m[o]=s[o]);if(c)c(n)}for(t&&t(r);u<a.length;u++)i=a[u],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkmaingate_console=self.webpackChunkmaingate_console||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),function(){"use strict";n(93764),n(74065),n(44210),n(23663),n(30186),n(78199),n(2481),n(82585),n(16208),n(34071),n(64383),n(26655),n(90049),n(18152),n(65025),n(88424),n(89824),n(6805),n(50237),n(73990),n(28442),n(99149),n(40798),n(75292),n(33242),n(57359),n(10944),n(72047),n(73545),n(3167),n(39026),n(16631),n(46962),n(53870),n(208),n(89575),n(95671),n(49449),n(76001),n(49796),n(49998),n(62371),n(94097),n(34480),n(15485),n(40239),n(33968),n(88616),n(89918),n(93177),n(38552),n(97263),n(25222),n(10190),n(8716),n(68388),n(32613),n(20307),n(42968),n(34738),n(63590),n(14039),n(76118),n(13090),n(23440),n(83785),n(28092),n(67972),n(16056),n(69286),n(57794),n(46040),n(11938),n(99588),n(25596),n(55820),n(66347),n(61658),n(38737),n(86659),n(64316),n(26578),n(19943),n(84377),n(99514),n(62690),n(7251),n(84019),n(67069),n(65458),n(7734),n(246),n(85387),n(28794),n(96832),n(36438),n(8902),n(27181),n(93158),n(42803),n(99155),n(9900),n(24670),n(38142),n(8999),n(63410),n(27909),n(4541),n(91038),n(925),n(87049),n(31677),n(34897),n(6234),n(75350),n(90192),n(44826),n(34379),n(12964),n(90463),n(71577),n(44113),n(52993),n(37428),n(78754),n(16402),n(37623),n(58074),n(8532),n(27788),n(27638),n(13473),n(470),n(10056),n(18497),n(23198),n(62319),n(86728),n(11430),n(33292),n(83938),n(1278),n(85179),n(89437),n(28702),n(79478),n(45686),n(92694),n(30743),n(40643),n(95338),n(47897),n(38601),n(64048),n(48582),n(36679),n(13835),n(39532),n(22754),n(56633),n(56038),n(92995),n(55429),n(93212),n(9302),n(71025),n(99094),n(86614),n(16422),n(58637),n(48700),n(91027),n(21218),n(78189),n(17219),n(24222),n(56053),n(16757),n(50218),n(26156),n(36285),n(81519),n(66610),n(31380),n(5905),n(40063),n(78549),n(86053),n(37500),n(35663),n(30473),n(88578),n(97976),n(93622),n(37294),n(7831),n(3961),n(51816),n(34913),n(13711),n(35867),n(31430),n(21533),n(24556),n(19367),n(23290),n(37927),n(63756),n(91587),n(60836),n(14770),n(85955),n(73348),n(18701),n(5367),n(80660),n(66073),n(35248),n(25320),n(42729),n(49196),n(19115),n(7880),n(93017),n(6803),n(75837),n(78004),n(78981),n(46581),n(10240),n(32758),n(69753),n(91501),n(13539),n(3689),n(41093),n(73268),n(5194),n(19650),n(33207),n(73002),n(17983),n(72621),n(57984),n(64605),n(60237),n(67366),n(25507),n(17619),n(36037),n(53245),n(91642);var e=n(47313),t=n(21739),r=n(21330),o=n(58467),i=n(46417),a=(0,i.jsx)("div",{className:"pt-3 text-center",children:(0,i.jsx)("div",{className:"sk-spinner sk-spinner-pulse"})}),s=e.lazy((function(){return Promise.all([n.e(691),n.e(491),n.e(998),n.e(811)]).then(n.bind(n,32811))})),c=e.lazy((function(){return Promise.all([n.e(998),n.e(370),n.e(514)]).then(n.bind(n,82514))})),u=e.lazy((function(){return Promise.all([n.e(998),n.e(370),n.e(176),n.e(617)]).then(n.bind(n,12582))})),l=function(){return(0,i.jsx)(r.UT,{children:(0,i.jsx)(e.Suspense,{fallback:a,children:(0,i.jsxs)(o.Z5,{children:[(0,i.jsx)(o.AW,{path:"/login",element:(0,i.jsx)(s,{})}),(0,i.jsx)(o.AW,{path:"/404",element:(0,i.jsx)(c,{})}),(0,i.jsx)(o.AW,{path:"/*",element:(0,i.jsx)(u,{})})]})})})},d=n(85554),f=n(1413),h=n(44925),p=n(9038),g="persist:",v="persist/FLUSH",m="persist/REHYDRATE",y="persist/PAUSE",b="persist/PERSIST",E="persist/PURGE",w="persist/REGISTER";function _(e){return _="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e,t,n,r){r.debug;var o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(n,!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n);return e&&"object"===_(e)&&Object.keys(e).forEach((function(r){"_persist"!==r&&t[r]===n[r]&&(o[r]=e[r])})),o}function I(e){var t,n=e.blacklist||null,r=e.whitelist||null,o=e.transforms||[],i=e.throttle||0,a="".concat(void 0!==e.keyPrefix?e.keyPrefix:g).concat(e.key),s=e.storage;t=!1===e.serialize?function(e){return e}:"function"===typeof e.serialize?e.serialize:k;var c=e.writeFailHandler||null,u={},l={},d=[],f=null,h=null;function p(){if(0===d.length)return f&&clearInterval(f),void(f=null);var e=d.shift(),n=o.reduce((function(t,n){return n.in(t,e,u)}),u[e]);if(void 0!==n)try{l[e]=t(n)}catch(r){console.error("redux-persist/createPersistoid: error serializing state",r)}else delete l[e];0===d.length&&(Object.keys(l).forEach((function(e){void 0===u[e]&&delete l[e]})),h=s.setItem(a,t(l)).catch(m))}function v(e){return(!r||-1!==r.indexOf(e)||"_persist"===e)&&(!n||-1===n.indexOf(e))}function m(e){c&&c(e)}return{update:function(e){Object.keys(e).forEach((function(t){v(t)&&u[t]!==e[t]&&-1===d.indexOf(t)&&d.push(t)})),Object.keys(u).forEach((function(t){void 0===e[t]&&v(t)&&-1===d.indexOf(t)&&void 0!==u[t]&&d.push(t)})),null===f&&(f=setInterval(p,i)),u=e},flush:function(){for(;0!==d.length;)p();return h||Promise.resolve()}}}function k(e){return JSON.stringify(e)}function R(e){var t,n=e.transforms||[],r="".concat(void 0!==e.keyPrefix?e.keyPrefix:g).concat(e.key),o=e.storage;e.debug;return t=!1===e.deserialize?function(e){return e}:"function"===typeof e.deserialize?e.deserialize:A,o.getItem(r).then((function(e){if(e)try{var r={},o=t(e);return Object.keys(o).forEach((function(e){r[e]=n.reduceRight((function(t,n){return n.out(t,e,o)}),t(o[e]))})),r}catch(i){throw i}}))}function A(e){return JSON.parse(e)}function P(e){0}function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(n,!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function U(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(n,!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q={registry:[],bootstrapped:!1},F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case w:return D({},e,{registry:[].concat(U(e.registry),[t.key])});case m:var n=e.registry.indexOf(t.key),r=U(e.registry);return r.splice(n,1),D({},e,{registry:r,bootstrapped:0===r.length});default:return e}};var j,G,z=n(69922),B=n(72350),K=["type"],W={sidebarShow:!0,accessToken:"",picture:""},J=function(e,t){var n=void 0!==e.version?e.version:-1,r=(e.debug,void 0===e.stateReconciler?C:e.stateReconciler),o=e.getStoredState||R,i=void 0!==e.timeout?e.timeout:5e3,a=null,s=!1,c=!0,u=function(e){return e._persist.rehydrated&&a&&!c&&a.update(e),e};return function(l,d){var f=l||{},h=f._persist,p=M(f,["_persist"]);if(d.type===b){var w=!1,_=function(t,n){w||(d.rehydrate(e.key,t,n),w=!0)};if(i&&setTimeout((function(){!w&&_(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))}),i),c=!1,a||(a=I(e)),h)return N({},t(p,d),{_persist:h});if("function"!==typeof d.rehydrate||"function"!==typeof d.register)throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return d.register(e.key),o(e).then((function(t){(e.migrate||function(e,t){return Promise.resolve(e)})(t,n).then((function(e){_(e)}),(function(e){_(void 0,e)}))}),(function(e){_(void 0,e)})),N({},t(p,d),{_persist:{version:n,rehydrated:!1}})}if(d.type===E)return s=!0,d.result(function(e){var t=e.storage,n="".concat(void 0!==e.keyPrefix?e.keyPrefix:g).concat(e.key);return t.removeItem(n,P)}(e)),N({},t(p,d),{_persist:h});if(d.type===v)return d.result(a&&a.flush()),N({},t(p,d),{_persist:h});if(d.type===y)c=!0;else if(d.type===m){if(s)return N({},p,{_persist:N({},h,{rehydrated:!0})});if(d.key===e.key){var S=t(p,d),T=d.payload,C=N({},!1!==r&&void 0!==T?r(T,l,S,e):S,{_persist:N({},h,{rehydrated:!0})});return u(C)}}if(!h)return t(l,d);var k=t(p,d);return k===p?l:u(N({},k,{_persist:h}))}}({key:"root",storage:z.Z},(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=(0,h.Z)(t,K);return"set"===n?(0,f.Z)((0,f.Z)({},e),r):e})),V=(0,p.MT)(J,(0,B.Uo)()),Y=n(27990);!function(e){e.AcquireTokenByCode="acquireTokenByCode",e.AcquireTokenByRefreshToken="acquireTokenByRefreshToken",e.AcquireTokenSilent="acquireTokenSilent",e.AcquireTokenSilentAsync="acquireTokenSilentAsync",e.AcquireTokenPopup="acquireTokenPopup",e.CryptoOptsGetPublicKeyThumbprint="cryptoOptsGetPublicKeyThumbprint",e.CryptoOptsSignJwt="cryptoOptsSignJwt",e.SilentCacheClientAcquireToken="silentCacheClientAcquireToken",e.SilentIframeClientAcquireToken="silentIframeClientAcquireToken",e.SilentRefreshClientAcquireToken="silentRefreshClientAcquireToken",e.SsoSilent="ssoSilent",e.StandardInteractionClientGetDiscoveredAuthority="standardInteractionClientGetDiscoveredAuthority",e.FetchAccountIdWithNativeBroker="fetchAccountIdWithNativeBroker",e.NativeInteractionClientAcquireToken="nativeInteractionClientAcquireToken",e.BaseClientCreateTokenRequestHeaders="baseClientCreateTokenRequestHeaders",e.BrokerHandhshake="brokerHandshake",e.AcquireTokenByRefreshTokenInBroker="acquireTokenByRefreshTokenInBroker",e.AcquireTokenByBroker="acquireTokenByBroker",e.RefreshTokenClientExecuteTokenRequest="refreshTokenClientExecuteTokenRequest",e.RefreshTokenClientAcquireToken="refreshTokenClientAcquireToken",e.RefreshTokenClientAcquireTokenWithCachedRefreshToken="refreshTokenClientAcquireTokenWithCachedRefreshToken"}(j||(j={})),function(e){e[e.NotStarted=0]="NotStarted",e[e.InProgress=1]="InProgress",e[e.Completed=2]="Completed"}(G||(G={}));var Q,$=n(6262),Z=n(94355),X=n(74603),ee=function(e){function t(n,r,o){var i=e.call(this,n,r,o)||this;return i.name="ServerError",Object.setPrototypeOf(i,t.prototype),i}return(0,Z.ZT)(t,e),t}(X.l),te=["interaction_required","consent_required","login_required"],ne=["message_only","additional_action","basic_action","user_password_expired","consent_required"],re={code:"no_tokens_found",desc:"No refresh token found in the cache. Please sign-in."},oe={code:"native_account_unavailable",desc:"The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API."},ie=function(e){function t(n,r,o){var i=e.call(this,n,r,o)||this;return i.name="InteractionRequiredAuthError",Object.setPrototypeOf(i,t.prototype),i}return(0,Z.ZT)(t,e),t.isInteractionRequiredError=function(e,t,n){var r=!!e&&te.indexOf(e)>-1,o=!!n&&ne.indexOf(n)>-1,i=!!t&&te.some((function(e){return t.indexOf(e)>-1}));return r||i||o},t.createNoTokensFoundError=function(){return new t(re.code,re.desc)},t.createNativeAccountUnavailableError=function(){return new t(oe.code,oe.desc)},t}(X.l),ae=n(30584),se={code:"missing_kid_error",desc:"The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided."},ce={code:"missing_alg_error",desc:"The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."},ue=function(e){function t(n,r){var o=e.call(this,n,r)||this;return o.name="JoseHeaderError",Object.setPrototypeOf(o,t.prototype),o}return(0,Z.ZT)(t,e),t.createMissingKidError=function(){return new t(se.code,se.desc)},t.createMissingAlgError=function(){return new t(ce.code,ce.desc)},t}(X.l),le=function(){function e(e){this.typ=e.typ,this.alg=e.alg,this.kid=e.kid}return e.getShrHeaderString=function(t){if(!t.kid)throw ue.createMissingKidError();if(!t.alg)throw ue.createMissingAlgError();var n=new e({typ:t.typ||$.L.Jwt,kid:t.kid,alg:t.alg});return JSON.stringify(n)},e}(),de=function(){function e(){}return e.decimalToHex=function(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t},e}(),fe=function(){function e(e){this.cryptoObj=e}return e.prototype.generateGuid=function(){try{var e=new Uint8Array(16);return this.cryptoObj.getRandomValues(e),e[6]|=64,e[6]&=79,e[8]|=128,e[8]&=191,de.decimalToHex(e[0])+de.decimalToHex(e[1])+de.decimalToHex(e[2])+de.decimalToHex(e[3])+"-"+de.decimalToHex(e[4])+de.decimalToHex(e[5])+"-"+de.decimalToHex(e[6])+de.decimalToHex(e[7])+"-"+de.decimalToHex(e[8])+de.decimalToHex(e[9])+"-"+de.decimalToHex(e[10])+de.decimalToHex(e[11])+de.decimalToHex(e[12])+de.decimalToHex(e[13])+de.decimalToHex(e[14])+de.decimalToHex(e[15])}catch(a){for(var t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",n="0123456789abcdef",r=0,o=$.gT.EMPTY_STRING,i=0;i<36;i++)"-"!==t[i]&&"4"!==t[i]&&(r=16*Math.random()|0),"x"===t[i]?o+=n[r]:"y"===t[i]?(r&=3,o+=n[r|=8]):o+=t[i];return o}},e.prototype.isGuid=function(e){return/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e)},e}(),he=function(){function e(){}return e.stringToUtf8Arr=function(e){for(var t,n=0,r=e.length,o=0;o<r;o++)n+=(t=e.charCodeAt(o))<128?1:t<2048?2:t<65536?3:t<2097152?4:t<67108864?5:6;for(var i=new Uint8Array(n),a=0,s=0;a<n;s++)(t=e.charCodeAt(s))<128?i[a++]=t:t<2048?(i[a++]=192+(t>>>6),i[a++]=128+(63&t)):t<65536?(i[a++]=224+(t>>>12),i[a++]=128+(t>>>6&63),i[a++]=128+(63&t)):t<2097152?(i[a++]=240+(t>>>18),i[a++]=128+(t>>>12&63),i[a++]=128+(t>>>6&63),i[a++]=128+(63&t)):t<67108864?(i[a++]=248+(t>>>24),i[a++]=128+(t>>>18&63),i[a++]=128+(t>>>12&63),i[a++]=128+(t>>>6&63),i[a++]=128+(63&t)):(i[a++]=252+(t>>>30),i[a++]=128+(t>>>24&63),i[a++]=128+(t>>>18&63),i[a++]=128+(t>>>12&63),i[a++]=128+(t>>>6&63),i[a++]=128+(63&t));return i},e.stringToArrayBuffer=function(e){for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return t},e.utf8ArrToString=function(e){for(var t=$.gT.EMPTY_STRING,n=void 0,r=e.length,o=0;o<r;o++)n=e[o],t+=String.fromCharCode(n>251&&n<254&&o+5<r?1073741824*(n-252)+(e[++o]-128<<24)+(e[++o]-128<<18)+(e[++o]-128<<12)+(e[++o]-128<<6)+e[++o]-128:n>247&&n<252&&o+4<r?(n-248<<24)+(e[++o]-128<<18)+(e[++o]-128<<12)+(e[++o]-128<<6)+e[++o]-128:n>239&&n<248&&o+3<r?(n-240<<18)+(e[++o]-128<<12)+(e[++o]-128<<6)+e[++o]-128:n>223&&n<240&&o+2<r?(n-224<<12)+(e[++o]-128<<6)+e[++o]-128:n>191&&n<224&&o+1<r?(n-192<<6)+e[++o]-128:n);return t},e.getSortedObjectString=function(e){return JSON.stringify(e,Object.keys(e).sort())},e}(),pe=function(){function e(){}return e.prototype.urlEncode=function(e){return encodeURIComponent(this.encode(e).replace(/=/g,$.gT.EMPTY_STRING).replace(/\+/g,"-").replace(/\//g,"_"))},e.prototype.urlEncodeArr=function(e){return this.base64EncArr(e).replace(/=/g,$.gT.EMPTY_STRING).replace(/\+/g,"-").replace(/\//g,"_")},e.prototype.encode=function(e){var t=he.stringToUtf8Arr(e);return this.base64EncArr(t)},e.prototype.base64EncArr=function(e){for(var t=(3-e.length%3)%3,n=$.gT.EMPTY_STRING,r=void 0,o=e.length,i=0,a=0;a<o;a++)r=a%3,i|=e[a]<<(16>>>r&24),2!==r&&e.length-a!==1||(n+=String.fromCharCode(this.uint6ToB64(i>>>18&63),this.uint6ToB64(i>>>12&63),this.uint6ToB64(i>>>6&63),this.uint6ToB64(63&i)),i=0);return 0===t?n:n.substring(0,n.length-t)+(1===t?"=":"==")},e.prototype.uint6ToB64=function(e){return e<26?e+65:e<52?e+71:e<62?e-4:62===e?43:63===e?47:65},e}(),ge=function(){function e(){}return e.prototype.decode=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("Invalid base64 string")}var n=this.base64DecToArr(t);return he.utf8ArrToString(n)},e.prototype.base64DecToArr=function(e,t){for(var n=e.replace(/[^A-Za-z0-9\+\/]/g,$.gT.EMPTY_STRING),r=n.length,o=t?Math.ceil((3*r+1>>>2)/t)*t:3*r+1>>>2,i=new Uint8Array(o),a=void 0,s=void 0,c=0,u=0,l=0;l<r;l++)if(s=3&l,c|=this.b64ToUint6(n.charCodeAt(l))<<18-6*s,3===s||r-l===1){for(a=0;a<3&&u<o;a++,u++)i[u]=c>>>(16>>>a&24)&255;c=0}return i},e.prototype.b64ToUint6=function(e){return e>64&&e<91?e-65:e>96&&e<123?e-71:e>47&&e<58?e+4:43===e?62:47===e?63:0},e}(),ve=n(14947),me={code:"pkce_not_created",desc:"The PKCE code challenge and verifier could not be generated."},ye={code:"crypto_nonexistent",desc:"The crypto object or function is not available."},be={code:"http_method_not_implemented",desc:"The HTTP method given has not been implemented in this library."},Ee={code:"empty_navigate_uri",desc:"Navigation URI is empty. Please check stack trace for more info."},we={code:"hash_empty_error",desc:"Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. For more visit: aka.ms/msaljs/browser-errors."},_e={code:"no_state_in_hash",desc:"Hash does not contain state. Please verify that the request originated from msal."},Se={code:"hash_does_not_contain_known_properties",desc:"Hash does not contain known properites. Please verify that your redirectUri is not changing the hash. For more visit: aka.ms/msaljs/browser-errors."},Te={code:"unable_to_parse_state",desc:"Unable to parse state. Please verify that the request originated from msal."},Ce={code:"state_interaction_type_mismatch",desc:"Hash contains state but the interaction type does not match the caller."},Ie={code:"interaction_in_progress",desc:"Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. For more visit: aka.ms/msaljs/browser-errors."},ke={code:"popup_window_error",desc:"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser."},Re={code:"empty_window_error",desc:"window.open returned null or undefined window object."},Ae={code:"user_cancelled",desc:"User cancelled the flow."},Pe={code:"monitor_window_timeout",desc:"Token acquisition in popup failed due to timeout. For more visit: aka.ms/msaljs/browser-errors."},Oe={code:"monitor_window_timeout",desc:"Token acquisition in iframe failed due to timeout. For more visit: aka.ms/msaljs/browser-errors."},Ne={code:"redirect_in_iframe",desc:"Redirects are not supported for iframed or brokered applications. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs."},xe={code:"block_iframe_reload",desc:"Request was blocked inside an iframe because MSAL detected an authentication response. For more visit: aka.ms/msaljs/browser-errors"},Me={code:"block_nested_popups",desc:"Request was blocked inside a popup because MSAL detected it was running in a popup."},Ue={code:"iframe_closed_prematurely",desc:"The iframe being monitored was closed prematurely."},Le={code:"silent_logout_unsupported",desc:"Silent logout not supported. Please call logoutRedirect or logoutPopup instead."},De={code:"no_account_error",desc:"No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request."},He={code:"silent_prompt_value_error",desc:"The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'."},qe={code:"no_token_request_cache_error",desc:"No token request found in cache."},Fe={code:"unable_to_parse_token_request_cache_error",desc:"The cached token request could not be parsed."},je={code:"no_cached_authority_error",desc:"No cached authority found."},Ge={code:"auth_request_not_set_error",desc:"Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler"},ze={code:"invalid_cache_type",desc:"Invalid cache type"},Be={code:"non_browser_environment",desc:"Login and token requests are not supported in non-browser environments."},Ke={code:"database_not_open",desc:"Database is not open!"},We={code:"no_network_connectivity",desc:"No network connectivity. Check your internet connection."},Je={code:"post_request_failed",desc:"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'"},Ve={code:"get_request_failed",desc:"Network request failed. Please check the network trace to determine root cause."},Ye={code:"failed_to_parse_response",desc:"Failed to parse network response. Check network trace."},Qe={code:"unable_to_load_token",desc:"Error loading token to cache."},$e={code:"crypto_key_not_found",desc:"Cryptographic Key or Keypair not found in browser storage."},Ze={code:"auth_code_required",desc:"An authorization code must be provided (as the `code` property on the request) to this flow."},Xe={code:"auth_code_or_nativeAccountId_required",desc:"An authorization code or nativeAccountId must be provided to this flow."},et={code:"database_unavailable",desc:"IndexedDB, which is required for persistent cryptographic key storage, is unavailable. This may be caused by browser privacy features which block persistent storage in third-party contexts."},tt={code:"unable_to_acquire_token_from_native_platform",desc:"Unable to acquire token from native platform. For a list of possible reasons visit aka.ms/msaljs/browser-errors."},nt={code:"native_handshake_timeout",desc:"Timed out while attempting to establish connection to browser extension"},rt={code:"native_extension_not_installed",desc:"Native extension is not installed. If you think this is a mistake call the initialize function."},ot={code:"native_connection_not_established",desc:"Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). For more please visit aka.ms/msaljs/browser-errors."},it={code:"native_broker_called_before_initialize",desc:"You must call and await the initialize function before attempting to call any other MSAL API when native brokering is enabled. For more please visit aka.ms/msaljs/browser-errors."},at={code:"native_prompt_not_supported",desc:"The provided prompt is not supported by the native platform. This request should be routed to the web based flow."},st=function(e){function t(n,r){var o=e.call(this,n,r)||this;return Object.setPrototypeOf(o,t.prototype),o.name="BrowserAuthError",o}return(0,Y.ZT)(t,e),t.createPkceNotGeneratedError=function(e){return new t(me.code,me.desc+" Detail:"+e)},t.createCryptoNotAvailableError=function(e){return new t(ye.code,ye.desc+" Detail:"+e)},t.createHttpMethodNotImplementedError=function(e){return new t(be.code,be.desc+" Given Method: "+e)},t.createEmptyNavigationUriError=function(){return new t(Ee.code,Ee.desc)},t.createEmptyHashError=function(e){return new t(we.code,we.desc+" Given Url: "+e)},t.createHashDoesNotContainStateError=function(){return new t(_e.code,_e.desc)},t.createHashDoesNotContainKnownPropertiesError=function(){return new t(Se.code,Se.desc)},t.createUnableToParseStateError=function(){return new t(Te.code,Te.desc)},t.createStateInteractionTypeMismatchError=function(){return new t(Ce.code,Ce.desc)},t.createInteractionInProgressError=function(){return new t(Ie.code,Ie.desc)},t.createPopupWindowError=function(e){var n=ke.desc;return n=ve.x.isEmpty(e)?n:n+" Details: "+e,new t(ke.code,n)},t.createEmptyWindowCreatedError=function(){return new t(Re.code,Re.desc)},t.createUserCancelledError=function(){return new t(Ae.code,Ae.desc)},t.createMonitorPopupTimeoutError=function(){return new t(Pe.code,Pe.desc)},t.createMonitorIframeTimeoutError=function(){return new t(Oe.code,Oe.desc)},t.createRedirectInIframeError=function(e){return new t(Ne.code,Ne.desc+" (window.parent !== window) => "+e)},t.createBlockReloadInHiddenIframeError=function(){return new t(xe.code,xe.desc)},t.createBlockAcquireTokenInPopupsError=function(){return new t(Me.code,Me.desc)},t.createIframeClosedPrematurelyError=function(){return new t(Ue.code,Ue.desc)},t.createSilentLogoutUnsupportedError=function(){return new t(Le.code,Le.desc)},t.createNoAccountError=function(){return new t(De.code,De.desc)},t.createSilentPromptValueError=function(e){return new t(He.code,He.desc+" Given value: "+e)},t.createUnableToParseTokenRequestCacheError=function(){return new t(Fe.code,Fe.desc)},t.createNoTokenRequestCacheError=function(){return new t(qe.code,qe.desc)},t.createAuthRequestNotSetError=function(){return new t(Ge.code,Ge.desc)},t.createNoCachedAuthorityError=function(){return new t(je.code,je.desc)},t.createInvalidCacheTypeError=function(){return new t(ze.code,""+ze.desc)},t.createNonBrowserEnvironmentError=function(){return new t(Be.code,Be.desc)},t.createDatabaseNotOpenError=function(){return new t(Ke.code,Ke.desc)},t.createNoNetworkConnectivityError=function(){return new t(We.code,We.desc)},t.createPostRequestFailedError=function(e,n){return new t(Je.code,Je.desc+" | Network client threw: "+e+" | Attempted to reach: "+n.split("?")[0])},t.createGetRequestFailedError=function(e,n){return new t(Ve.code,Ve.desc+" | Network client threw: "+e+" | Attempted to reach: "+n.split("?")[0])},t.createFailedToParseNetworkResponseError=function(e){return new t(Ye.code,Ye.desc+" | Attempted to reach: "+e.split("?")[0])},t.createUnableToLoadTokenError=function(e){return new t(Qe.code,Qe.desc+" | "+e)},t.createSigningKeyNotFoundInStorageError=function(e){return new t($e.code,$e.desc+" | No match found for KeyId: "+e)},t.createAuthCodeRequiredError=function(){return new t(Ze.code,Ze.desc)},t.createAuthCodeOrNativeAccountIdRequiredError=function(){return new t(Xe.code,Xe.desc)},t.createDatabaseUnavailableError=function(){return new t(et.code,et.desc)},t.createUnableToAcquireTokenFromNativePlatformError=function(){return new t(tt.code,tt.desc)},t.createNativeHandshakeTimeoutError=function(){return new t(nt.code,nt.desc)},t.createNativeExtensionNotInstalledError=function(){return new t(rt.code,rt.desc)},t.createNativeConnectionNotEstablishedError=function(){return new t(ot.code,ot.desc)},t.createNativeBrokerCalledBeforeInitialize=function(){return new t(it.code,it.desc)},t.createNativePromptParameterNotSupportedError=function(){return new t(at.code,at.desc)},t}(X.l),ct=function(){function e(e){this.base64Encode=new pe,this.cryptoObj=e}return e.prototype.generateCodes=function(){return(0,Y.mG)(this,void 0,void 0,(function(){var e,t;return(0,Y.Jh)(this,(function(n){switch(n.label){case 0:return e=this.generateCodeVerifier(),[4,this.generateCodeChallengeFromVerifier(e)];case 1:return t=n.sent(),[2,{verifier:e,challenge:t}]}}))}))},e.prototype.generateCodeVerifier=function(){try{var e=new Uint8Array(32);return this.cryptoObj.getRandomValues(e),this.base64Encode.urlEncodeArr(e)}catch(t){throw st.createPkceNotGeneratedError(t)}},e.prototype.generateCodeChallengeFromVerifier=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n;return(0,Y.Jh)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.cryptoObj.sha256Digest(e)];case 1:return t=r.sent(),[2,this.base64Encode.urlEncodeArr(new Uint8Array(t))];case 2:throw n=r.sent(),st.createPkceNotGeneratedError(n);case 3:return[2]}}))}))},e}(),ut=function(){function e(){}return e.prototype.getRandomValues=function(e){return window.crypto.getRandomValues(e)},e.prototype.generateKey=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(r){return[2,window.crypto.subtle.generateKey(e,t,n)]}))}))},e.prototype.exportKey=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(t){return[2,window.crypto.subtle.exportKey(ae.Mm,e)]}))}))},e.prototype.importKey=function(e,t,n,r){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(o){return[2,window.crypto.subtle.importKey(ae.Mm,e,t,n,r)]}))}))},e.prototype.sign=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(r){return[2,window.crypto.subtle.sign(e,t,n)]}))}))},e.prototype.digest=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(n){return[2,window.crypto.subtle.digest(e,t)]}))}))},e}(),lt=function(){function e(){}return e.prototype.initPrng=function(e){return window.msrCrypto.initPrng((0,Y.fl)(e))},e.prototype.getRandomValues=function(e){return window.msrCrypto.getRandomValues(e)},e.prototype.generateKey=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(r){return[2,window.msrCrypto.subtle.generateKey(e,t,n)]}))}))},e.prototype.exportKey=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(t){return[2,window.msrCrypto.subtle.exportKey(ae.Mm,e)]}))}))},e.prototype.importKey=function(e,t,n,r){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(o){return[2,window.msrCrypto.subtle.importKey(ae.Mm,e,t,n,r)]}))}))},e.prototype.sign=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(r){return[2,window.msrCrypto.subtle.sign(e,t,n)]}))}))},e.prototype.digest=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(n){return[2,window.msrCrypto.subtle.digest(e,t)]}))}))},e}(),dt=function(){function e(){}return e.prototype.getRandomValues=function(e){return window.msCrypto.getRandomValues(e)},e.prototype.generateKey=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(r){return[2,new Promise((function(r,o){var i=window.msCrypto.subtle.generateKey(e,t,n);i.addEventListener("complete",(function(e){r(e.target.result)})),i.addEventListener("error",(function(e){o(e)}))}))]}))}))},e.prototype.exportKey=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(t){return[2,new Promise((function(t,n){var r=window.msCrypto.subtle.exportKey(ae.Mm,e);r.addEventListener("complete",(function(e){var r=e.target.result,o=he.utf8ArrToString(new Uint8Array(r)).replace(/\r/g,$.gT.EMPTY_STRING).replace(/\n/g,$.gT.EMPTY_STRING).replace(/\t/g,$.gT.EMPTY_STRING).split(" ").join($.gT.EMPTY_STRING).replace("\0",$.gT.EMPTY_STRING);try{t(JSON.parse(o))}catch(e){n(e)}})),r.addEventListener("error",(function(e){n(e)}))}))]}))}))},e.prototype.importKey=function(e,t,n,r){return(0,Y.mG)(this,void 0,void 0,(function(){var o,i;return(0,Y.Jh)(this,(function(a){return o=he.getSortedObjectString(e),i=he.stringToArrayBuffer(o),[2,new Promise((function(e,o){var a=window.msCrypto.subtle.importKey(ae.Mm,i,t,n,r);a.addEventListener("complete",(function(t){e(t.target.result)})),a.addEventListener("error",(function(e){o(e)}))}))]}))}))},e.prototype.sign=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(r){return[2,new Promise((function(r,o){var i=window.msCrypto.subtle.sign(e,t,n);i.addEventListener("complete",(function(e){r(e.target.result)})),i.addEventListener("error",(function(e){o(e)}))}))]}))}))},e.prototype.digest=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(n){return[2,new Promise((function(n,r){var o=window.msCrypto.subtle.digest(e,t.buffer);o.addEventListener("complete",(function(e){n(e.target.result)})),o.addEventListener("error",(function(e){r(e)}))}))]}))}))},e}(),ft=n(56220),ht="SHA-256",pt=new Uint8Array([1,0,1]),gt=function(){function e(e,t){var n,r;if(this.logger=e,this.cryptoOptions=t,this.hasBrowserCrypto())this.logger.verbose("BrowserCrypto: modern crypto interface available"),this.subtleCrypto=new ut;else if(this.hasIECrypto())this.logger.verbose("BrowserCrypto: MS crypto interface available"),this.subtleCrypto=new dt;else{if(!this.hasMsrCrypto()||!(null===(n=this.cryptoOptions)||void 0===n?void 0:n.useMsrCrypto))throw this.hasMsrCrypto()&&this.logger.info("BrowserCrypto: MSR Crypto interface available but system.cryptoOptions.useMsrCrypto not enabled"),this.logger.error("BrowserCrypto: No crypto interfaces available."),st.createCryptoNotAvailableError("Browser crypto, msCrypto, or msrCrypto interfaces not available.");this.logger.verbose("BrowserCrypto: MSR crypto interface available"),this.subtleCrypto=new lt}if(this.subtleCrypto.initPrng){if(this.logger.verbose("BrowserCrypto: Interface requires entropy"),!(null===(r=this.cryptoOptions)||void 0===r?void 0:r.entropy))throw this.logger.error("BrowserCrypto: Interface requires entropy but none provided."),ft.W.createEntropyNotProvided();this.logger.verbose("BrowserCrypto: Entropy provided"),this.subtleCrypto.initPrng(this.cryptoOptions.entropy)}this.keygenAlgorithmOptions={name:"RSASSA-PKCS1-v1_5",hash:ht,modulusLength:2048,publicExponent:pt}}return e.prototype.hasIECrypto=function(){return"msCrypto"in window},e.prototype.hasBrowserCrypto=function(){return"crypto"in window},e.prototype.hasMsrCrypto=function(){return"msrCrypto"in window},e.prototype.sha256Digest=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t;return(0,Y.Jh)(this,(function(n){return t=he.stringToUtf8Arr(e),[2,this.subtleCrypto.digest({name:ht},t)]}))}))},e.prototype.getRandomValues=function(e){return this.subtleCrypto.getRandomValues(e)},e.prototype.generateKeyPair=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(n){return[2,this.subtleCrypto.generateKey(this.keygenAlgorithmOptions,e,t)]}))}))},e.prototype.exportJwk=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(t){return[2,this.subtleCrypto.exportKey(e)]}))}))},e.prototype.importJwk=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(r){return[2,this.subtleCrypto.importKey(e,this.keygenAlgorithmOptions,t,n)]}))}))},e.prototype.sign=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(n){return[2,this.subtleCrypto.sign(this.keygenAlgorithmOptions,e,t)]}))}))},e}(),vt=function(){function e(){this.dbName=ae.H4,this.version=ae.kd,this.tableName=ae.Gv,this.dbOpen=!1}return e.prototype.open=function(){return(0,Y.mG)(this,void 0,void 0,(function(){var e=this;return(0,Y.Jh)(this,(function(t){return[2,new Promise((function(t,n){var r=window.indexedDB.open(e.dbName,e.version);r.addEventListener("upgradeneeded",(function(t){t.target.result.createObjectStore(e.tableName)})),r.addEventListener("success",(function(n){var r=n;e.db=r.target.result,e.dbOpen=!0,t()})),r.addEventListener("error",(function(){return n(st.createDatabaseUnavailableError())}))}))]}))}))},e.prototype.closeConnection=function(){var e=this.db;e&&this.dbOpen&&(e.close(),this.dbOpen=!1)},e.prototype.validateDbIsOpen=function(){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(e){switch(e.label){case 0:return this.dbOpen?[3,2]:[4,this.open()];case 1:return[2,e.sent()];case 2:return[2]}}))}))},e.prototype.getItem=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t=this;return(0,Y.Jh)(this,(function(n){switch(n.label){case 0:return[4,this.validateDbIsOpen()];case 1:return n.sent(),[2,new Promise((function(n,r){if(!t.db)return r(st.createDatabaseNotOpenError());var o=t.db.transaction([t.tableName],"readonly").objectStore(t.tableName).get(e);o.addEventListener("success",(function(e){var r=e;t.closeConnection(),n(r.target.result)})),o.addEventListener("error",(function(e){t.closeConnection(),r(e)}))}))]}}))}))},e.prototype.setItem=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){var n=this;return(0,Y.Jh)(this,(function(r){switch(r.label){case 0:return[4,this.validateDbIsOpen()];case 1:return r.sent(),[2,new Promise((function(r,o){if(!n.db)return o(st.createDatabaseNotOpenError());var i=n.db.transaction([n.tableName],"readwrite").objectStore(n.tableName).put(t,e);i.addEventListener("success",(function(){n.closeConnection(),r()})),i.addEventListener("error",(function(e){n.closeConnection(),o(e)}))}))]}}))}))},e.prototype.removeItem=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t=this;return(0,Y.Jh)(this,(function(n){switch(n.label){case 0:return[4,this.validateDbIsOpen()];case 1:return n.sent(),[2,new Promise((function(n,r){if(!t.db)return r(st.createDatabaseNotOpenError());var o=t.db.transaction([t.tableName],"readwrite").objectStore(t.tableName).delete(e);o.addEventListener("success",(function(){t.closeConnection(),n()})),o.addEventListener("error",(function(e){t.closeConnection(),r(e)}))}))]}}))}))},e.prototype.getKeys=function(){return(0,Y.mG)(this,void 0,void 0,(function(){var e=this;return(0,Y.Jh)(this,(function(t){switch(t.label){case 0:return[4,this.validateDbIsOpen()];case 1:return t.sent(),[2,new Promise((function(t,n){if(!e.db)return n(st.createDatabaseNotOpenError());var r=e.db.transaction([e.tableName],"readonly").objectStore(e.tableName).getAllKeys();r.addEventListener("success",(function(n){var r=n;e.closeConnection(),t(r.target.result)})),r.addEventListener("error",(function(t){e.closeConnection(),n(t)}))}))]}}))}))},e.prototype.containsKey=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t=this;return(0,Y.Jh)(this,(function(n){switch(n.label){case 0:return[4,this.validateDbIsOpen()];case 1:return n.sent(),[2,new Promise((function(n,r){if(!t.db)return r(st.createDatabaseNotOpenError());var o=t.db.transaction([t.tableName],"readonly").objectStore(t.tableName).count(e);o.addEventListener("success",(function(e){var r=e;t.closeConnection(),n(1===r.target.result)})),o.addEventListener("error",(function(e){t.closeConnection(),r(e)}))}))]}}))}))},e.prototype.deleteDatabase=function(){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(e){return this.db&&this.dbOpen&&this.closeConnection(),[2,new Promise((function(e,t){var n=window.indexedDB.deleteDatabase(ae.H4);n.addEventListener("success",(function(){return e(!0)})),n.addEventListener("blocked",(function(){return e(!0)})),n.addEventListener("error",(function(){return t(!1)}))}))]}))}))},e}(),mt=function(){function e(){this.cache=new Map}return e.prototype.getItem=function(e){return this.cache.get(e)||null},e.prototype.setItem=function(e,t){this.cache.set(e,t)},e.prototype.removeItem=function(e){this.cache.delete(e)},e.prototype.getKeys=function(){var e=[];return this.cache.forEach((function(t,n){e.push(n)})),e},e.prototype.containsKey=function(e){return this.cache.has(e)},e.prototype.clear=function(){this.cache.clear()},e}(),yt=function(){function e(e,t){this.inMemoryCache=new mt,this.indexedDBCache=new vt,this.logger=e,this.storeName=t}return e.prototype.handleDatabaseAccessError=function(e){if(!(e instanceof st&&e.errorCode===et.code))throw e;this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.")},e.prototype.getItem=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n;return(0,Y.Jh)(this,(function(r){switch(r.label){case 0:if(t=this.inMemoryCache.getItem(e))return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),this.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),[4,this.indexedDBCache.getItem(e)];case 2:return[2,r.sent()];case 3:return n=r.sent(),this.handleDatabaseAccessError(n),[3,4];case 4:return[2,t]}}))}))},e.prototype.setItem=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){var n;return(0,Y.Jh)(this,(function(r){switch(r.label){case 0:this.inMemoryCache.setItem(e,t),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.indexedDBCache.setItem(e,t)];case 2:return r.sent(),[3,4];case 3:return n=r.sent(),this.handleDatabaseAccessError(n),[3,4];case 4:return[2]}}))}))},e.prototype.removeItem=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t;return(0,Y.Jh)(this,(function(n){switch(n.label){case 0:this.inMemoryCache.removeItem(e),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.indexedDBCache.removeItem(e)];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),this.handleDatabaseAccessError(t),[3,4];case 4:return[2]}}))}))},e.prototype.getKeys=function(){return(0,Y.mG)(this,void 0,void 0,(function(){var e,t;return(0,Y.Jh)(this,(function(n){switch(n.label){case 0:if(0!==(e=this.inMemoryCache.getKeys()).length)return[3,4];n.label=1;case 1:return n.trys.push([1,3,,4]),this.logger.verbose("In-memory cache is empty, now querying persistent storage."),[4,this.indexedDBCache.getKeys()];case 2:return[2,n.sent()];case 3:return t=n.sent(),this.handleDatabaseAccessError(t),[3,4];case 4:return[2,e]}}))}))},e.prototype.containsKey=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n;return(0,Y.Jh)(this,(function(r){switch(r.label){case 0:if(t=this.inMemoryCache.containsKey(e))return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),this.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),[4,this.indexedDBCache.containsKey(e)];case 2:return[2,r.sent()];case 3:return n=r.sent(),this.handleDatabaseAccessError(n),[3,4];case 4:return[2,t]}}))}))},e.prototype.clearInMemory=function(){this.logger.verbose("Deleting in-memory keystore "+this.storeName),this.inMemoryCache.clear(),this.logger.verbose("In-memory keystore "+this.storeName+" deleted")},e.prototype.clearPersistent=function(){return(0,Y.mG)(this,void 0,void 0,(function(){var e,t;return(0,Y.Jh)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),this.logger.verbose("Deleting persistent keystore"),[4,this.indexedDBCache.deleteDatabase()];case 1:return(e=n.sent())&&this.logger.verbose("Persistent keystore deleted"),[2,e];case 2:return t=n.sent(),this.handleDatabaseAccessError(t),[2,!1];case 3:return[2]}}))}))},e}();!function(e){e.asymmetricKeys="asymmetricKeys",e.symmetricKeys="symmetricKeys"}(Q||(Q={}));var bt,Et=function(){function e(e){this.logger=e,this.asymmetricKeys=new yt(this.logger,Q.asymmetricKeys),this.symmetricKeys=new yt(this.logger,Q.symmetricKeys)}return e.prototype.clear=function(){return(0,Y.mG)(this,void 0,void 0,(function(){var e;return(0,Y.Jh)(this,(function(t){switch(t.label){case 0:this.asymmetricKeys.clearInMemory(),this.symmetricKeys.clearInMemory(),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.asymmetricKeys.clearPersistent()];case 2:return t.sent(),[2,!0];case 3:return(e=t.sent())instanceof Error?this.logger.error("Clearing keystore failed with error: "+e.message):this.logger.error("Clearing keystore failed with unknown error"),[2,!1];case 4:return[2]}}))}))},e}(),wt=function(){function e(e,t,n){this.logger=e,this.browserCrypto=new gt(this.logger,n),this.b64Encode=new pe,this.b64Decode=new ge,this.guidGenerator=new fe(this.browserCrypto),this.pkceGenerator=new ct(this.browserCrypto),this.cache=new Et(this.logger),this.performanceClient=t}return e.prototype.createNewGuid=function(){return this.guidGenerator.generateGuid()},e.prototype.base64Encode=function(e){return this.b64Encode.encode(e)},e.prototype.base64Decode=function(e){return this.b64Decode.decode(e)},e.prototype.generatePkceCodes=function(){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(e){return[2,this.pkceGenerator.generateCodes()]}))}))},e.prototype.getPublicKeyThumbprint=function(t){var n;return(0,Y.mG)(this,void 0,void 0,(function(){var r,o,i,a,s,c,u,l;return(0,Y.Jh)(this,(function(d){switch(d.label){case 0:return r=null===(n=this.performanceClient)||void 0===n?void 0:n.startMeasurement(j.CryptoOptsGetPublicKeyThumbprint,t.correlationId),[4,this.browserCrypto.generateKeyPair(e.EXTRACTABLE,e.POP_KEY_USAGES)];case 1:return o=d.sent(),[4,this.browserCrypto.exportJwk(o.publicKey)];case 2:return i=d.sent(),a={e:i.e,kty:i.kty,n:i.n},s=he.getSortedObjectString(a),[4,this.hashString(s)];case 3:return c=d.sent(),[4,this.browserCrypto.exportJwk(o.privateKey)];case 4:return u=d.sent(),[4,this.browserCrypto.importJwk(u,!1,["sign"])];case 5:return l=d.sent(),[4,this.cache.asymmetricKeys.setItem(c,{privateKey:l,publicKey:o.publicKey,requestMethod:t.resourceRequestMethod,requestUri:t.resourceRequestUri})];case 6:return d.sent(),r&&r.endMeasurement({success:!0}),[2,c]}}))}))},e.prototype.removeTokenBindingKey=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(t){switch(t.label){case 0:return[4,this.cache.asymmetricKeys.removeItem(e)];case 1:return t.sent(),[4,this.cache.asymmetricKeys.containsKey(e)];case 2:return[2,!t.sent()]}}))}))},e.prototype.clearKeystore=function(){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(e){switch(e.label){case 0:return[4,this.cache.clear()];case 1:return[2,e.sent()]}}))}))},e.prototype.signJwt=function(e,t,n){var r;return(0,Y.mG)(this,void 0,void 0,(function(){var o,i,a,s,c,u,l,d,f,h,p,g,v;return(0,Y.Jh)(this,(function(m){switch(m.label){case 0:return o=null===(r=this.performanceClient)||void 0===r?void 0:r.startMeasurement(j.CryptoOptsSignJwt,n),[4,this.cache.asymmetricKeys.getItem(t)];case 1:if(!(i=m.sent()))throw st.createSigningKeyNotFoundInStorageError(t);return[4,this.browserCrypto.exportJwk(i.publicKey)];case 2:return a=m.sent(),s=he.getSortedObjectString(a),c=this.b64Encode.urlEncode(JSON.stringify({kid:t})),u=le.getShrHeaderString({kid:c,alg:a.alg}),l=this.b64Encode.urlEncode(u),e.cnf={jwk:JSON.parse(s)},d=this.b64Encode.urlEncode(JSON.stringify(e)),f=l+"."+d,h=he.stringToArrayBuffer(f),[4,this.browserCrypto.sign(i.privateKey,h)];case 3:return p=m.sent(),g=this.b64Encode.urlEncodeArr(new Uint8Array(p)),v=f+"."+g,o&&o.endMeasurement({success:!0}),[2,v]}}))}))},e.prototype.hashString=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n;return(0,Y.Jh)(this,(function(r){switch(r.label){case 0:return[4,this.browserCrypto.sha256Digest(e)];case 1:return t=r.sent(),n=new Uint8Array(t),[2,this.b64Encode.urlEncodeArr(n)]}}))}))},e.POP_KEY_USAGES=["sign","verify"],e.EXTRACTABLE=!0,e}(),_t=n(20318),St=function(){function e(e,t,n,r,o,i){this.authority=t,this.libraryName=r,this.libraryVersion=o,this.applicationTelemetry=i,this.clientId=e,this.logger=n,this.callbacks=new Map,this.eventsByCorrelationId=new Map,this.staticFieldsByCorrelationId=new Map,this.measurementsById=new Map}return e.prototype.startMeasurement=function(e,t){var n,r,o=this,i=t||this.generateId();t||this.logger.info("PerformanceClient: No correlation id provided for "+e+", generating",i),this.logger.trace("PerformanceClient: Performance measurement started for "+e,i);var a=this.startPerformanceMeasuremeant(e,i);a.startMeasurement();var s={eventId:this.generateId(),status:G.InProgress,authority:this.authority,libraryName:this.libraryName,libraryVersion:this.libraryVersion,clientId:this.clientId,name:e,startTimeMs:Date.now(),correlationId:i};this.cacheEventByCorrelationId(s);var c={appName:null===(n=this.applicationTelemetry)||void 0===n?void 0:n.appName,appVersion:null===(r=this.applicationTelemetry)||void 0===r?void 0:r.appVersion};return this.addStaticFields(c,i),this.cacheMeasurement(s,a),{endMeasurement:function(e){var t=o.endMeasurement((0,Z.pi)((0,Z.pi)({},s),e));return t&&o.cacheEventByCorrelationId(t),t},flushMeasurement:function(){return o.flushMeasurements(s.name,s.correlationId)},discardMeasurement:function(){return o.discardMeasurements(s.correlationId)},addStaticFields:function(e){return o.addStaticFields(e,s.correlationId)},measurement:a,event:s}},e.prototype.endMeasurement=function(e){var t=this.measurementsById.get(e.eventId);if(t){this.measurementsById.delete(e.eventId),t.endMeasurement();var n=t.flushMeasurement();if(null!==n)return this.logger.trace("PerformanceClient: Performance measurement ended for "+e.name+": "+n+" ms",e.correlationId),(0,Z.pi)((0,Z.pi)({durationMs:Math.round(n)},e),{status:G.Completed});this.logger.trace("PerformanceClient: Performance measurement not taken",e.correlationId)}else this.logger.trace("PerformanceClient: Measurement not found for "+e.eventId,e.correlationId);return null},e.prototype.addStaticFields=function(e,t){var n=this.staticFieldsByCorrelationId.get(t);n?(this.logger.trace("PerformanceClient: Updating static fields"),this.staticFieldsByCorrelationId.set(t,(0,Z.pi)((0,Z.pi)({},n),e))):(this.logger.trace("PerformanceClient: Adding static fields"),this.staticFieldsByCorrelationId.set(t,e))},e.prototype.cacheEventByCorrelationId=function(e){var t=this.eventsByCorrelationId.get(e.correlationId);t?(this.logger.trace("PerformanceClient: Performance measurement for "+e.name+" added/updated",e.correlationId),t.set(e.eventId,e)):(this.logger.trace("PerformanceClient: Performance measurement for "+e.name+" started",e.correlationId),this.eventsByCorrelationId.set(e.correlationId,(new Map).set(e.eventId,e)))},e.prototype.cacheMeasurement=function(e,t){this.measurementsById.set(e.eventId,t)},e.prototype.flushMeasurements=function(e,t){var n=this;this.logger.trace("PerformanceClient: Performance measurements flushed for "+e,t);var r=this.eventsByCorrelationId.get(t);if(r){this.discardMeasurements(t);var o=[];r.forEach((function(r){if(r.name!==e&&r.status!==G.Completed){n.logger.trace("PerformanceClient: Incomplete submeasurement "+r.name+" found for "+e,t);var i=n.endMeasurement(r);i&&o.push(i)}o.push(r)}));var i=o.sort((function(e,t){return e.startTimeMs-t.startTimeMs})),a=i.filter((function(t){return t.name===e&&t.status===G.Completed}));if(a.length>0){a.length>1&&this.logger.verbose("PerformanceClient: Multiple distinct top-level performance events found, using the first",t);var s=a[0];this.logger.verbose("PerformanceClient: Measurement found for "+e,t);var c=i.reduce((function(r,o){if(o.name!==e){n.logger.trace("PerformanceClient: Complete submeasurement found for "+o.name,t);var i=o.name+"DurationMs";r[i]?n.logger.verbose("PerformanceClient: Submeasurement for "+e+" already exists for "+o.name+", ignoring",t):r[i]=o.durationMs}return r}),s),u=this.staticFieldsByCorrelationId.get(t),l=(0,Z.pi)((0,Z.pi)({},c),u);this.emitEvents([l],c.correlationId)}else this.logger.verbose("PerformanceClient: No completed top-level measurements found for "+e,t)}else this.logger.verbose("PerformanceClient: No measurements found",t)},e.prototype.discardMeasurements=function(e){this.logger.trace("PerformanceClient: Performance measurements discarded",e),this.eventsByCorrelationId.delete(e)},e.prototype.addPerformanceCallback=function(e){var t=this.generateId();return this.callbacks.set(t,e),this.logger.verbose("PerformanceClient: Performance callback registered with id: "+t),t},e.prototype.removePerformanceCallback=function(e){var t=this.callbacks.delete(e);return t?this.logger.verbose("PerformanceClient: Performance callback "+e+" removed."):this.logger.verbose("PerformanceClient: Performance callback "+e+" not removed."),t},e.prototype.emitEvents=function(e,t){var n=this;this.logger.verbose("PerformanceClient: Emitting performance events",t),this.callbacks.forEach((function(r,o){n.logger.trace("PerformanceClient: Emitting event to callback "+o,t),r.apply(null,[e])}))},e}(),Tt=function(){function e(){}return e.prototype.startMeasurement=function(){},e.prototype.endMeasurement=function(){},e.prototype.flushMeasurement=function(){return null},e}(),Ct=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,Z.ZT)(t,e),t.prototype.generateId=function(){return"callback-id"},t.prototype.startPerformanceMeasuremeant=function(){return new Tt},t}(St),It={createNewGuid:function(){throw X.l.createUnexpectedError("Crypto interface - createNewGuid() has not been implemented")},base64Decode:function(){throw X.l.createUnexpectedError("Crypto interface - base64Decode() has not been implemented")},base64Encode:function(){throw X.l.createUnexpectedError("Crypto interface - base64Encode() has not been implemented")},generatePkceCodes:function(){return(0,Z.mG)(this,void 0,void 0,(function(){return(0,Z.Jh)(this,(function(e){throw"Crypto interface - generatePkceCodes() has not been implemented",X.l.createUnexpectedError("Crypto interface - generatePkceCodes() has not been implemented")}))}))},getPublicKeyThumbprint:function(){return(0,Z.mG)(this,void 0,void 0,(function(){return(0,Z.Jh)(this,(function(e){throw"Crypto interface - getPublicKeyThumbprint() has not been implemented",X.l.createUnexpectedError("Crypto interface - getPublicKeyThumbprint() has not been implemented")}))}))},removeTokenBindingKey:function(){return(0,Z.mG)(this,void 0,void 0,(function(){return(0,Z.Jh)(this,(function(e){throw"Crypto interface - removeTokenBindingKey() has not been implemented",X.l.createUnexpectedError("Crypto interface - removeTokenBindingKey() has not been implemented")}))}))},clearKeystore:function(){return(0,Z.mG)(this,void 0,void 0,(function(){return(0,Z.Jh)(this,(function(e){throw"Crypto interface - clearKeystore() has not been implemented",X.l.createUnexpectedError("Crypto interface - clearKeystore() has not been implemented")}))}))},signJwt:function(){return(0,Z.mG)(this,void 0,void 0,(function(){return(0,Z.Jh)(this,(function(e){throw"Crypto interface - signJwt() has not been implemented",X.l.createUnexpectedError("Crypto interface - signJwt() has not been implemented")}))}))},hashString:function(){return(0,Z.mG)(this,void 0,void 0,(function(){return(0,Z.Jh)(this,(function(e){throw"Crypto interface - hashString() has not been implemented",X.l.createUnexpectedError("Crypto interface - hashString() has not been implemented")}))}))}},kt=n(49408);function Rt(e,t){if(ve.x.isEmpty(e))throw kt.e.createClientInfoEmptyError();try{var n=t.base64Decode(e);return JSON.parse(n)}catch(r){throw kt.e.createClientInfoDecodingError(r.message)}}function At(e){if(ve.x.isEmpty(e))throw kt.e.createClientInfoDecodingError("Home account ID was empty.");var t=e.split($.Bv.CLIENT_INFO_SEPARATOR,2);return{uid:t[0],utid:t.length<2?$.gT.EMPTY_STRING:t[1]}}!function(e){e[e.Default=0]="Default",e[e.Adfs=1]="Adfs",e[e.Dsts=2]="Dsts"}(bt||(bt={}));var Pt,Ot=function(){function e(){}return e.prototype.generateAccountId=function(){return[this.homeAccountId,this.environment].join($.Bv.CACHE_KEY_SEPARATOR).toLowerCase()},e.prototype.generateAccountKey=function(){return e.generateAccountCacheKey({homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId})},e.prototype.generateType=function(){switch(this.authorityType){case $.iR.ADFS_ACCOUNT_TYPE:return $.LL.ADFS;case $.iR.MSAV1_ACCOUNT_TYPE:return $.LL.MSA;case $.iR.MSSTS_ACCOUNT_TYPE:return $.LL.MSSTS;case $.iR.GENERIC_ACCOUNT_TYPE:return $.LL.GENERIC;default:throw kt.e.createUnexpectedAccountTypeError()}},e.prototype.getAccountInfo=function(){return{homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId,name:this.name,idTokenClaims:this.idTokenClaims,nativeAccountId:this.nativeAccountId}},e.generateAccountCacheKey=function(e){return[e.homeAccountId,e.environment||$.gT.EMPTY_STRING,e.tenantId||$.gT.EMPTY_STRING].join($.Bv.CACHE_KEY_SEPARATOR).toLowerCase()},e.createAccount=function(t,n,r,o,i,a,s,c){var u,l,d,f,h,p,g=new e;g.authorityType=$.iR.MSSTS_ACCOUNT_TYPE,g.clientInfo=t,g.homeAccountId=n,g.nativeAccountId=c;var v=s||o&&o.getPreferredCache();if(!v)throw kt.e.createInvalidCacheEnvironmentError();if(g.environment=v,g.realm=(null===(u=null===r||void 0===r?void 0:r.claims)||void 0===u?void 0:u.tid)||$.gT.EMPTY_STRING,r){g.idTokenClaims=r.claims,g.localAccountId=(null===(l=null===r||void 0===r?void 0:r.claims)||void 0===l?void 0:l.oid)||(null===(d=null===r||void 0===r?void 0:r.claims)||void 0===d?void 0:d.sub)||$.gT.EMPTY_STRING;var m=null===(f=null===r||void 0===r?void 0:r.claims)||void 0===f?void 0:f.preferred_username,y=(null===(h=null===r||void 0===r?void 0:r.claims)||void 0===h?void 0:h.emails)?r.claims.emails[0]:null;g.username=m||y||$.gT.EMPTY_STRING,g.name=null===(p=null===r||void 0===r?void 0:r.claims)||void 0===p?void 0:p.name}return g.cloudGraphHostName=i,g.msGraphHost=a,g},e.createGenericAccount=function(t,n,r,o,i,a){var s,c,u,l,d=new e;d.authorityType=r&&r.authorityType===bt.Adfs?$.iR.ADFS_ACCOUNT_TYPE:$.iR.GENERIC_ACCOUNT_TYPE,d.homeAccountId=t,d.realm=$.gT.EMPTY_STRING;var f=a||r&&r.getPreferredCache();if(!f)throw kt.e.createInvalidCacheEnvironmentError();return n&&(d.localAccountId=(null===(s=null===n||void 0===n?void 0:n.claims)||void 0===s?void 0:s.oid)||(null===(c=null===n||void 0===n?void 0:n.claims)||void 0===c?void 0:c.sub)||$.gT.EMPTY_STRING,d.username=(null===(u=null===n||void 0===n?void 0:n.claims)||void 0===u?void 0:u.upn)||$.gT.EMPTY_STRING,d.name=(null===(l=null===n||void 0===n?void 0:n.claims)||void 0===l?void 0:l.name)||$.gT.EMPTY_STRING,d.idTokenClaims=null===n||void 0===n?void 0:n.claims),d.environment=f,d.cloudGraphHostName=o,d.msGraphHost=i,d},e.generateHomeAccountId=function(e,t,n,r,o){var i,a=(null===(i=null===o||void 0===o?void 0:o.claims)||void 0===i?void 0:i.sub)?o.claims.sub:$.gT.EMPTY_STRING;if(t===bt.Adfs||t===bt.Dsts)return a;if(e)try{var s=Rt(e,r);if(!ve.x.isEmpty(s.uid)&&!ve.x.isEmpty(s.utid))return""+s.uid+$.Bv.CLIENT_INFO_SEPARATOR+s.utid}catch(c){}return n.verbose("No client info in response"),a},e.isAccountEntity=function(e){return!!e&&(e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("localAccountId")&&e.hasOwnProperty("username")&&e.hasOwnProperty("authorityType"))},e.accountInfoIsEqual=function(e,t,n){if(!e||!t)return!1;var r=!0;if(n){var o=e.idTokenClaims||{},i=t.idTokenClaims||{};r=o.iat===i.iat&&o.nonce===i.nonce}return e.homeAccountId===t.homeAccountId&&e.localAccountId===t.localAccountId&&e.username===t.username&&e.tenantId===t.tenantId&&e.environment===t.environment&&e.nativeAccountId===t.nativeAccountId&&r},e}(),Nt=function(){function e(){}return e.prototype.generateAccountId=function(){return e.generateAccountIdForCacheKey(this.homeAccountId,this.environment)},e.prototype.generateCredentialId=function(){return e.generateCredentialIdForCacheKey(this.credentialType,this.clientId,this.realm,this.familyId)},e.prototype.generateTarget=function(){return e.generateTargetForCacheKey(this.target)},e.prototype.generateCredentialKey=function(){return e.generateCredentialCacheKey(this.homeAccountId,this.environment,this.credentialType,this.clientId,this.realm,this.target,this.familyId,this.tokenType,this.requestedClaimsHash)},e.prototype.generateType=function(){switch(this.credentialType){case $.d3.ID_TOKEN:return $.LL.ID_TOKEN;case $.d3.ACCESS_TOKEN:case $.d3.ACCESS_TOKEN_WITH_AUTH_SCHEME:return $.LL.ACCESS_TOKEN;case $.d3.REFRESH_TOKEN:return $.LL.REFRESH_TOKEN;default:throw kt.e.createUnexpectedCredentialTypeError()}},e.getCredentialType=function(e){return-1!==e.indexOf($.d3.ACCESS_TOKEN.toLowerCase())?-1!==e.indexOf($.d3.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())?$.d3.ACCESS_TOKEN_WITH_AUTH_SCHEME:$.d3.ACCESS_TOKEN:-1!==e.indexOf($.d3.ID_TOKEN.toLowerCase())?$.d3.ID_TOKEN:-1!==e.indexOf($.d3.REFRESH_TOKEN.toLowerCase())?$.d3.REFRESH_TOKEN:$.gT.NOT_DEFINED},e.generateCredentialCacheKey=function(e,t,n,r,o,i,a,s,c){return[this.generateAccountIdForCacheKey(e,t),this.generateCredentialIdForCacheKey(n,r,o,a),this.generateTargetForCacheKey(i),this.generateClaimsHashForCacheKey(c),this.generateSchemeForCacheKey(s)].join($.Bv.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateAccountIdForCacheKey=function(e,t){return[e,t].join($.Bv.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateCredentialIdForCacheKey=function(e,t,n,r){return[e,e===$.d3.REFRESH_TOKEN&&r||t,n||$.gT.EMPTY_STRING].join($.Bv.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateTargetForCacheKey=function(e){return(e||$.gT.EMPTY_STRING).toLowerCase()},e.generateClaimsHashForCacheKey=function(e){return(e||$.gT.EMPTY_STRING).toLowerCase()},e.generateSchemeForCacheKey=function(e){return e&&e.toLowerCase()!==$.hO.BEARER.toLowerCase()?e.toLowerCase():$.gT.EMPTY_STRING},e}(),xt={code:"redirect_uri_empty",desc:"A redirect URI is required for all calls, and none has been set."},Mt={code:"post_logout_uri_empty",desc:"A post logout redirect has not been set."},Ut={code:"claims_request_parsing_error",desc:"Could not parse the given claims request object."},Lt={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"},Dt={code:"url_parse_error",desc:"URL could not be parsed into appropriate segments."},Ht={code:"empty_url_error",desc:"URL was empty or null."},qt={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."},Ft={code:"clientid_input_scopes_error",desc:"Client ID can only be provided as a single scope."},jt={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"},Gt={code:"invalid_claims",desc:"Given claims parameter must be a stringified JSON object."},zt={code:"token_request_empty",desc:"Token request was empty and not found in cache."},Bt={code:"logout_request_empty",desc:"The logout request was null or undefined."},Kt={code:"invalid_code_challenge_method",desc:'code_challenge_method passed is invalid. Valid values are "plain" and "S256".'},Wt={code:"pkce_params_missing",desc:"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request"},Jt={code:"invalid_cloud_discovery_metadata",desc:"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields"},Vt={code:"invalid_authority_metadata",desc:"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields."},Yt={code:"untrusted_authority",desc:"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter."},Qt={code:"invalid_azure_cloud_instance",desc:"Invalid AzureCloudInstance provided. Please refer MSAL JS docs: aks.ms/msaljs/azure_cloud_instance for valid values"},$t={code:"missing_ssh_jwk",desc:"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme."},Zt={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."},Xt={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."},en={code:"invalid_authentication_header",desc:"Invalid authentication header provided"},tn=function(e){function t(n,r){var o=e.call(this,n,r)||this;return o.name="ClientConfigurationError",Object.setPrototypeOf(o,t.prototype),o}return(0,Z.ZT)(t,e),t.createRedirectUriEmptyError=function(){return new t(xt.code,xt.desc)},t.createPostLogoutRedirectUriEmptyError=function(){return new t(Mt.code,Mt.desc)},t.createClaimsRequestParsingError=function(e){return new t(Ut.code,Ut.desc+" Given value: "+e)},t.createInsecureAuthorityUriError=function(e){return new t(Lt.code,Lt.desc+" Given URI: "+e)},t.createUrlParseError=function(e){return new t(Dt.code,Dt.desc+" Given Error: "+e)},t.createUrlEmptyError=function(){return new t(Ht.code,Ht.desc)},t.createEmptyScopesArrayError=function(){return new t(qt.code,""+qt.desc)},t.createClientIdSingleScopeError=function(e){return new t(Ft.code,Ft.desc+" Given Scopes: "+e)},t.createInvalidPromptError=function(e){return new t(jt.code,jt.desc+" Given value: "+e)},t.createInvalidClaimsRequestError=function(){return new t(Gt.code,Gt.desc)},t.createEmptyLogoutRequestError=function(){return new t(Bt.code,Bt.desc)},t.createEmptyTokenRequestError=function(){return new t(zt.code,zt.desc)},t.createInvalidCodeChallengeMethodError=function(){return new t(Kt.code,Kt.desc)},t.createInvalidCodeChallengeParamsError=function(){return new t(Wt.code,Wt.desc)},t.createInvalidCloudDiscoveryMetadataError=function(){return new t(Jt.code,Jt.desc)},t.createInvalidAuthorityMetadataError=function(){return new t(Vt.code,Vt.desc)},t.createUntrustedAuthorityError=function(){return new t(Yt.code,Yt.desc)},t.createInvalidAzureCloudInstanceError=function(){return new t(Qt.code,Qt.desc)},t.createMissingSshJwkError=function(){return new t($t.code,$t.desc)},t.createMissingSshKidError=function(){return new t(Zt.code,Zt.desc)},t.createMissingNonceAuthenticationHeadersError=function(){return new t(Xt.code,Xt.desc)},t.createInvalidAuthenticationHeaderError=function(e,n){return new t(en.code,en.desc+". Invalid header: "+e+". Details: "+n)},t}(kt.e),nn=function(){function e(e){var t=this,n=e?ve.x.trimArrayEntries((0,Z.pr)(e)):[],r=n?ve.x.removeEmptyStringsFromArray(n):[];this.validateInputScopes(r),this.scopes=new Set,r.forEach((function(e){return t.scopes.add(e)}))}return e.fromString=function(t){return new e((t||$.gT.EMPTY_STRING).split(" "))},e.prototype.validateInputScopes=function(e){if(!e||e.length<1)throw tn.createEmptyScopesArrayError()},e.prototype.containsScope=function(t){var n=new e(this.printScopesLowerCase().split(" "));return!ve.x.isEmpty(t)&&n.scopes.has(t.toLowerCase())},e.prototype.containsScopeSet=function(e){var t=this;return!(!e||e.scopes.size<=0)&&(this.scopes.size>=e.scopes.size&&e.asArray().every((function(e){return t.containsScope(e)})))},e.prototype.containsOnlyOIDCScopes=function(){var e=this,t=0;return $.$f.forEach((function(n){e.containsScope(n)&&(t+=1)})),this.scopes.size===t},e.prototype.appendScope=function(e){ve.x.isEmpty(e)||this.scopes.add(e.trim())},e.prototype.appendScopes=function(e){var t=this;try{e.forEach((function(e){return t.appendScope(e)}))}catch(n){throw kt.e.createAppendScopeSetError(n)}},e.prototype.removeScope=function(e){if(ve.x.isEmpty(e))throw kt.e.createRemoveEmptyScopeFromSetError(e);this.scopes.delete(e.trim())},e.prototype.removeOIDCScopes=function(){var e=this;$.$f.forEach((function(t){e.scopes.delete(t)}))},e.prototype.unionScopeSets=function(e){if(!e)throw kt.e.createEmptyInputScopeSetError();var t=new Set;return e.scopes.forEach((function(e){return t.add(e.toLowerCase())})),this.scopes.forEach((function(e){return t.add(e.toLowerCase())})),t},e.prototype.intersectingScopeSets=function(e){if(!e)throw kt.e.createEmptyInputScopeSetError();e.containsOnlyOIDCScopes()||e.removeOIDCScopes();var t=this.unionScopeSets(e),n=e.getScopeCount(),r=this.getScopeCount();return t.size<r+n},e.prototype.getScopeCount=function(){return this.scopes.size},e.prototype.asArray=function(){var e=[];return this.scopes.forEach((function(t){return e.push(t)})),e},e.prototype.printScopes=function(){return this.scopes?this.asArray().join(" "):$.gT.EMPTY_STRING},e.prototype.printScopesLowerCase=function(){return this.printScopes().toLowerCase()},e}(),rn=function(){function e(t,n){if(ve.x.isEmpty(t))throw kt.e.createTokenNullOrEmptyError(t);this.rawToken=t,this.claims=e.extractTokenClaims(t,n)}return e.extractTokenClaims=function(e,t){var n=ve.x.decodeAuthToken(e);try{var r=n.JWSPayload,o=t.base64Decode(r);return JSON.parse(o)}catch(i){throw kt.e.createTokenParsingError(i)}},e.checkMaxAge=function(e,t){if(0===t||Date.now()-3e5>e+t)throw kt.e.createMaxAgeTranspiredError()},e}(),on=function(){function e(e,t){this.clientId=e,this.cryptoImpl=t}return e.prototype.getAllAccounts=function(){var t=this,n=this.getAccountsFilteredBy(),r=Object.keys(n).map((function(e){return n[e]}));return r.length<1?[]:r.map((function(n){var r=e.toObject(new Ot,n).getAccountInfo(),o=t.readIdTokenFromCache(t.clientId,r);return o&&!r.idTokenClaims&&(r.idToken=o.secret,r.idTokenClaims=new rn(o.secret,t.cryptoImpl).claims),r}))},e.prototype.saveCacheRecord=function(e){return(0,Z.mG)(this,void 0,void 0,(function(){return(0,Z.Jh)(this,(function(t){switch(t.label){case 0:if(!e)throw kt.e.createNullOrUndefinedCacheRecord();return e.account&&this.setAccount(e.account),e.idToken&&this.setIdTokenCredential(e.idToken),e.accessToken?[4,this.saveAccessToken(e.accessToken)]:[3,2];case 1:t.sent(),t.label=2;case 2:return e.refreshToken&&this.setRefreshTokenCredential(e.refreshToken),e.appMetadata&&this.setAppMetadata(e.appMetadata),[2]}}))}))},e.prototype.saveAccessToken=function(e){return(0,Z.mG)(this,void 0,void 0,(function(){var t,n,r,o,i=this;return(0,Z.Jh)(this,(function(a){switch(a.label){case 0:return t=this.getCredentialsFilteredBy({clientId:e.clientId,credentialType:e.credentialType,environment:e.environment,homeAccountId:e.homeAccountId,realm:e.realm,tokenType:e.tokenType,requestedClaimsHash:e.requestedClaimsHash}),n=nn.fromString(e.target),(r=Object.keys(t.accessTokens).map((function(e){return t.accessTokens[e]})))?(o=[],r.forEach((function(e){nn.fromString(e.target).intersectingScopeSets(n)&&o.push(i.removeCredential(e))})),[4,Promise.all(o)]):[3,2];case 1:a.sent(),a.label=2;case 2:return this.setAccessTokenCredential(e),[2]}}))}))},e.prototype.getAccountsFilteredBy=function(e){return this.getAccountsFilteredByInternal(e?e.homeAccountId:$.gT.EMPTY_STRING,e?e.environment:$.gT.EMPTY_STRING,e?e.realm:$.gT.EMPTY_STRING,e?e.nativeAccountId:$.gT.EMPTY_STRING)},e.prototype.getAccountsFilteredByInternal=function(e,t,n,r){var o=this,i=this.getKeys(),a={};return i.forEach((function(i){var s=o.getAccount(i);s&&(e&&!o.matchHomeAccountId(s,e)||t&&!o.matchEnvironment(s,t)||n&&!o.matchRealm(s,n)||r&&!o.matchNativeAccountId(s,r)||(a[i]=s))})),a},e.prototype.getCredentialsFilteredBy=function(e){return this.getCredentialsFilteredByInternal(e.homeAccountId,e.environment,e.credentialType,e.clientId,e.familyId,e.realm,e.target,e.userAssertionHash,e.tokenType,e.keyId,e.requestedClaimsHash)},e.prototype.getCredentialsFilteredByInternal=function(e,t,n,r,o,i,a,s,c,u,l){var d=this,f=this.getKeys(),h={idTokens:{},accessTokens:{},refreshTokens:{}};return f.forEach((function(f){var p=Nt.getCredentialType(f);if(p!==$.gT.NOT_DEFINED){var g=d.getSpecificCredential(f,p);if(g&&(!s||d.matchUserAssertionHash(g,s))&&("string"!==typeof e||d.matchHomeAccountId(g,e))&&(!t||d.matchEnvironment(g,t))&&(!i||d.matchRealm(g,i))&&(!n||d.matchCredentialType(g,n))&&(!r||d.matchClientId(g,r))&&(!o||d.matchFamilyId(g,o))&&(!a||d.matchTarget(g,a))&&(!l&&!g.requestedClaimsHash||g.requestedClaimsHash===l)){if(n===$.d3.ACCESS_TOKEN_WITH_AUTH_SCHEME){if(c&&!d.matchTokenType(g,c))return;if(c===$.hO.SSH&&u&&!d.matchKeyId(g,u))return}var v=d.updateCredentialCacheKey(f,g);switch(p){case $.d3.ID_TOKEN:h.idTokens[v]=g;break;case $.d3.ACCESS_TOKEN:case $.d3.ACCESS_TOKEN_WITH_AUTH_SCHEME:h.accessTokens[v]=g;break;case $.d3.REFRESH_TOKEN:h.refreshTokens[v]=g}}}})),h},e.prototype.getAppMetadataFilteredBy=function(e){return this.getAppMetadataFilteredByInternal(e.environment,e.clientId)},e.prototype.getAppMetadataFilteredByInternal=function(e,t){var n=this,r=this.getKeys(),o={};return r.forEach((function(r){if(n.isAppMetadata(r)){var i=n.getAppMetadata(r);i&&(e&&!n.matchEnvironment(i,e)||t&&!n.matchClientId(i,t)||(o[r]=i))}})),o},e.prototype.getAuthorityMetadataByAlias=function(e){var t=this,n=this.getAuthorityMetadataKeys(),r=null;return n.forEach((function(n){if(t.isAuthorityMetadata(n)&&-1!==n.indexOf(t.clientId)){var o=t.getAuthorityMetadata(n);o&&-1!==o.aliases.indexOf(e)&&(r=o)}})),r},e.prototype.removeAllAccounts=function(){return(0,Z.mG)(this,void 0,void 0,(function(){var e,t,n=this;return(0,Z.Jh)(this,(function(r){switch(r.label){case 0:return e=this.getKeys(),t=[],e.forEach((function(e){n.getAccount(e)&&t.push(n.removeAccount(e))})),[4,Promise.all(t)];case 1:return r.sent(),[2,!0]}}))}))},e.prototype.removeAccount=function(e){return(0,Z.mG)(this,void 0,void 0,(function(){var t;return(0,Z.Jh)(this,(function(n){switch(n.label){case 0:if(!(t=this.getAccount(e)))throw kt.e.createNoAccountFoundError();return[4,this.removeAccountContext(t)];case 1:return[2,n.sent()&&this.removeItem(e,$.Xj.ACCOUNT)]}}))}))},e.prototype.removeAccountContext=function(e){return(0,Z.mG)(this,void 0,void 0,(function(){var t,n,r,o=this;return(0,Z.Jh)(this,(function(i){switch(i.label){case 0:return t=this.getKeys(),n=e.generateAccountId(),r=[],t.forEach((function(e){var t=Nt.getCredentialType(e);if(t!==$.gT.NOT_DEFINED){var i=o.getSpecificCredential(e,t);i&&n===i.generateAccountId()&&r.push(o.removeCredential(i))}})),[4,Promise.all(r)];case 1:return i.sent(),[2,!0]}}))}))},e.prototype.removeCredential=function(e){return(0,Z.mG)(this,void 0,void 0,(function(){var t,n;return(0,Z.Jh)(this,(function(r){switch(r.label){case 0:if(t=e.generateCredentialKey(),e.credentialType.toLowerCase()!==$.d3.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())return[3,4];if(e.tokenType!==$.hO.POP)return[3,4];if(!(n=e.keyId))return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.cryptoImpl.removeTokenBindingKey(n)];case 2:return r.sent(),[3,4];case 3:throw r.sent(),kt.e.createBindingKeyNotRemovedError();case 4:return[2,this.removeItem(t,$.Xj.CREDENTIAL)]}}))}))},e.prototype.removeAppMetadata=function(){var e=this;return this.getKeys().forEach((function(t){e.isAppMetadata(t)&&e.removeItem(t,$.Xj.APP_METADATA)})),!0},e.prototype.readCacheRecord=function(e,t,n,r){var o=this.readAccountFromCache(e),i=this.readIdTokenFromCache(t,e),a=this.readAccessTokenFromCache(t,e,n),s=this.readRefreshTokenFromCache(t,e,!1),c=this.readAppMetadataFromCache(r,t);return o&&i&&(o.idTokenClaims=new rn(i.secret,this.cryptoImpl).claims),{account:o,idToken:i,accessToken:a,refreshToken:s,appMetadata:c}},e.prototype.readAccountFromCache=function(e){var t=Ot.generateAccountCacheKey(e);return this.getAccount(t)},e.prototype.readAccountFromCacheWithNativeAccountId=function(e){var t={nativeAccountId:e},n=this.getAccountsFilteredBy(t),r=Object.keys(n).map((function(e){return n[e]}));if(r.length<1)return null;if(r.length>1)throw kt.e.createMultipleMatchingAccountsInCacheError();return n[0]},e.prototype.readIdTokenFromCache=function(e,t){var n={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:$.d3.ID_TOKEN,clientId:e,realm:t.tenantId},r=this.getCredentialsFilteredBy(n),o=Object.keys(r.idTokens).map((function(e){return r.idTokens[e]})),i=o.length;if(i<1)return null;if(i>1)throw kt.e.createMultipleMatchingTokensInCacheError();return o[0]},e.prototype.readAccessTokenFromCache=function(e,t,n){var r=new nn(n.scopes||[]),o=n.authenticationScheme||$.hO.BEARER,i=o&&o.toLowerCase()!==$.hO.BEARER.toLowerCase()?$.d3.ACCESS_TOKEN_WITH_AUTH_SCHEME:$.d3.ACCESS_TOKEN,a={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:i,clientId:e,realm:t.tenantId,target:r.printScopesLowerCase(),tokenType:o,keyId:n.sshKid,requestedClaimsHash:n.requestedClaimsHash},s=this.getCredentialsFilteredBy(a),c=Object.keys(s.accessTokens).map((function(e){return s.accessTokens[e]})),u=c.length;if(u<1)return null;if(u>1)throw kt.e.createMultipleMatchingTokensInCacheError();return c[0]},e.prototype.readRefreshTokenFromCache=function(e,t,n){var r=n?$.ch:void 0,o={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:$.d3.REFRESH_TOKEN,clientId:e,familyId:r},i=this.getCredentialsFilteredBy(o),a=Object.keys(i.refreshTokens).map((function(e){return i.refreshTokens[e]}));return a.length<1?null:a[0]},e.prototype.readAppMetadataFromCache=function(e,t){var n={environment:e,clientId:t},r=this.getAppMetadataFilteredBy(n),o=Object.keys(r).map((function(e){return r[e]})),i=o.length;if(i<1)return null;if(i>1)throw kt.e.createMultipleMatchingAppMetadataInCacheError();return o[0]},e.prototype.isAppMetadataFOCI=function(e,t){var n=this.readAppMetadataFromCache(e,t);return!(!n||n.familyId!==$.ch)},e.prototype.matchHomeAccountId=function(e,t){return!("string"!==typeof e.homeAccountId||t!==e.homeAccountId)},e.prototype.matchUserAssertionHash=function(e,t){return!(!e.userAssertionHash||t!==e.userAssertionHash)},e.prototype.matchEnvironment=function(e,t){var n=this.getAuthorityMetadataByAlias(t);return!!(n&&n.aliases.indexOf(e.environment)>-1)},e.prototype.matchCredentialType=function(e,t){return e.credentialType&&t.toLowerCase()===e.credentialType.toLowerCase()},e.prototype.matchClientId=function(e,t){return!(!e.clientId||t!==e.clientId)},e.prototype.matchFamilyId=function(e,t){return!(!e.familyId||t!==e.familyId)},e.prototype.matchRealm=function(e,t){return!(!e.realm||t!==e.realm)},e.prototype.matchNativeAccountId=function(e,t){return!(!e.nativeAccountId||t!==e.nativeAccountId)},e.prototype.matchTarget=function(e,t){if(e.credentialType!==$.d3.ACCESS_TOKEN&&e.credentialType!==$.d3.ACCESS_TOKEN_WITH_AUTH_SCHEME||!e.target)return!1;var n=nn.fromString(e.target),r=nn.fromString(t);return r.containsOnlyOIDCScopes()?r.removeScope($.gT.OFFLINE_ACCESS_SCOPE):r.removeOIDCScopes(),n.containsScopeSet(r)},e.prototype.matchTokenType=function(e,t){return!(!e.tokenType||e.tokenType!==t)},e.prototype.matchKeyId=function(e,t){return!(!e.keyId||e.keyId!==t)},e.prototype.isAppMetadata=function(e){return-1!==e.indexOf($.dg)},e.prototype.isAuthorityMetadata=function(e){return-1!==e.indexOf($.QU.CACHE_KEY)},e.prototype.generateAuthorityMetadataCacheKey=function(e){return $.QU.CACHE_KEY+"-"+this.clientId+"-"+e},e.prototype.getSpecificCredential=function(e,t){switch(t){case $.d3.ID_TOKEN:return this.getIdTokenCredential(e);case $.d3.ACCESS_TOKEN:case $.d3.ACCESS_TOKEN_WITH_AUTH_SCHEME:return this.getAccessTokenCredential(e);case $.d3.REFRESH_TOKEN:return this.getRefreshTokenCredential(e);default:return null}},e.toObject=function(e,t){for(var n in t)e[n]=t[n];return e},e}(),an=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,Z.ZT)(t,e),t.prototype.setAccount=function(){throw X.l.createUnexpectedError("Storage interface - setAccount() has not been implemented for the cacheStorage interface.")},t.prototype.getAccount=function(){throw X.l.createUnexpectedError("Storage interface - getAccount() has not been implemented for the cacheStorage interface.")},t.prototype.setIdTokenCredential=function(){throw X.l.createUnexpectedError("Storage interface - setIdTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getIdTokenCredential=function(){throw X.l.createUnexpectedError("Storage interface - getIdTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setAccessTokenCredential=function(){throw X.l.createUnexpectedError("Storage interface - setAccessTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getAccessTokenCredential=function(){throw X.l.createUnexpectedError("Storage interface - getAccessTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setRefreshTokenCredential=function(){throw X.l.createUnexpectedError("Storage interface - setRefreshTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getRefreshTokenCredential=function(){throw X.l.createUnexpectedError("Storage interface - getRefreshTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setAppMetadata=function(){throw X.l.createUnexpectedError("Storage interface - setAppMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAppMetadata=function(){throw X.l.createUnexpectedError("Storage interface - getAppMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.setServerTelemetry=function(){throw X.l.createUnexpectedError("Storage interface - setServerTelemetry() has not been implemented for the cacheStorage interface.")},t.prototype.getServerTelemetry=function(){throw X.l.createUnexpectedError("Storage interface - getServerTelemetry() has not been implemented for the cacheStorage interface.")},t.prototype.setAuthorityMetadata=function(){throw X.l.createUnexpectedError("Storage interface - setAuthorityMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAuthorityMetadata=function(){throw X.l.createUnexpectedError("Storage interface - getAuthorityMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAuthorityMetadataKeys=function(){throw X.l.createUnexpectedError("Storage interface - getAuthorityMetadataKeys() has not been implemented for the cacheStorage interface.")},t.prototype.setThrottlingCache=function(){throw X.l.createUnexpectedError("Storage interface - setThrottlingCache() has not been implemented for the cacheStorage interface.")},t.prototype.getThrottlingCache=function(){throw X.l.createUnexpectedError("Storage interface - getThrottlingCache() has not been implemented for the cacheStorage interface.")},t.prototype.removeItem=function(){throw X.l.createUnexpectedError("Storage interface - removeItem() has not been implemented for the cacheStorage interface.")},t.prototype.containsKey=function(){throw X.l.createUnexpectedError("Storage interface - containsKey() has not been implemented for the cacheStorage interface.")},t.prototype.getKeys=function(){throw X.l.createUnexpectedError("Storage interface - getKeys() has not been implemented for the cacheStorage interface.")},t.prototype.clear=function(){return(0,Z.mG)(this,void 0,void 0,(function(){return(0,Z.Jh)(this,(function(e){throw"Storage interface - clear() has not been implemented for the cacheStorage interface.",X.l.createUnexpectedError("Storage interface - clear() has not been implemented for the cacheStorage interface.")}))}))},t.prototype.updateCredentialCacheKey=function(){throw X.l.createUnexpectedError("Storage interface - updateCredentialCacheKey() has not been implemented for the cacheStorage interface.")},t}(on),sn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,Z.ZT)(t,e),t.createIdTokenEntity=function(e,n,r,o,i){var a=new t;return a.credentialType=$.d3.ID_TOKEN,a.homeAccountId=e,a.environment=n,a.clientId=o,a.secret=r,a.realm=i,a},t.isIdTokenEntity=function(e){return!!e&&(e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.credentialType===$.d3.ID_TOKEN)},t}(Nt),cn=function(){function e(){}return e.nowSeconds=function(){return Math.round((new Date).getTime()/1e3)},e.isTokenExpired=function(t,n){var r=Number(t)||0;return e.nowSeconds()+n>r},e.wasClockTurnedBack=function(t){return Number(t)>e.nowSeconds()},e.delay=function(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))},e}(),un=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,Z.ZT)(t,e),t.createAccessTokenEntity=function(e,n,r,o,i,a,s,c,u,l,d,f,h,p,g){var v,m,y=new t;y.homeAccountId=e,y.credentialType=$.d3.ACCESS_TOKEN,y.secret=r;var b=cn.nowSeconds();if(y.cachedAt=b.toString(),y.expiresOn=s.toString(),y.extendedExpiresOn=c.toString(),l&&(y.refreshOn=l.toString()),y.environment=n,y.clientId=o,y.realm=i,y.target=a,y.userAssertionHash=f,y.tokenType=ve.x.isEmpty(d)?$.hO.BEARER:d,p&&(y.requestedClaims=p,y.requestedClaimsHash=g),(null===(v=y.tokenType)||void 0===v?void 0:v.toLowerCase())!==$.hO.BEARER.toLowerCase())switch(y.credentialType=$.d3.ACCESS_TOKEN_WITH_AUTH_SCHEME,y.tokenType){case $.hO.POP:var E=rn.extractTokenClaims(r,u);if(!(null===(m=null===E||void 0===E?void 0:E.cnf)||void 0===m?void 0:m.kid))throw kt.e.createTokenClaimsRequiredError();y.keyId=E.cnf.kid;break;case $.hO.SSH:y.keyId=h}return y},t.isAccessTokenEntity=function(e){return!!e&&(e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.hasOwnProperty("target")&&(e.credentialType===$.d3.ACCESS_TOKEN||e.credentialType===$.d3.ACCESS_TOKEN_WITH_AUTH_SCHEME))},t}(Nt),ln=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,Z.ZT)(t,e),t.createRefreshTokenEntity=function(e,n,r,o,i,a){var s=new t;return s.clientId=o,s.credentialType=$.d3.REFRESH_TOKEN,s.environment=n,s.homeAccountId=e,s.secret=r,s.userAssertionHash=a,i&&(s.familyId=i),s},t.isRefreshTokenEntity=function(e){return!!e&&(e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.credentialType===$.d3.REFRESH_TOKEN)},t}(Nt),dn=function(){function e(){}return e.prototype.generateAppMetadataKey=function(){return e.generateAppMetadataCacheKey(this.environment,this.clientId)},e.generateAppMetadataCacheKey=function(e,t){return[$.dg,e,t].join($.Bv.CACHE_KEY_SEPARATOR).toLowerCase()},e.createAppMetadataEntity=function(t,n,r){var o=new e;return o.clientId=t,o.environment=n,r&&(o.familyId=r),o},e.isAppMetadataEntity=function(e,t){return!!t&&(0===e.indexOf($.dg)&&t.hasOwnProperty("clientId")&&t.hasOwnProperty("environment"))},e}(),fn=function(){function e(){this.failedRequests=[],this.errors=[],this.cacheHits=0}return e.isServerTelemetryEntity=function(e,t){var n=0===e.indexOf($.HN.CACHE_KEY),r=!0;return t&&(r=t.hasOwnProperty("failedRequests")&&t.hasOwnProperty("errors")&&t.hasOwnProperty("cacheHits")),n&&r},e}(),hn=function(){function e(){this.expiresAt=cn.nowSeconds()+$.QU.REFRESH_TIME_SECONDS}return e.prototype.updateCloudDiscoveryMetadata=function(e,t){this.aliases=e.aliases,this.preferred_cache=e.preferred_cache,this.preferred_network=e.preferred_network,this.aliasesFromNetwork=t},e.prototype.updateEndpointMetadata=function(e,t){this.authorization_endpoint=e.authorization_endpoint,this.token_endpoint=e.token_endpoint,this.end_session_endpoint=e.end_session_endpoint,this.issuer=e.issuer,this.endpointsFromNetwork=t,this.jwks_uri=e.jwks_uri},e.prototype.updateCanonicalAuthority=function(e){this.canonical_authority=e},e.prototype.resetExpiresAt=function(){this.expiresAt=cn.nowSeconds()+$.QU.REFRESH_TIME_SECONDS},e.prototype.isExpired=function(){return this.expiresAt<=cn.nowSeconds()},e.isAuthorityMetadataEntity=function(e,t){return!!t&&(0===e.indexOf($.QU.CACHE_KEY)&&t.hasOwnProperty("aliases")&&t.hasOwnProperty("preferred_cache")&&t.hasOwnProperty("preferred_network")&&t.hasOwnProperty("canonical_authority")&&t.hasOwnProperty("authorization_endpoint")&&t.hasOwnProperty("token_endpoint")&&t.hasOwnProperty("issuer")&&t.hasOwnProperty("aliasesFromNetwork")&&t.hasOwnProperty("endpointsFromNetwork")&&t.hasOwnProperty("expiresAt")&&t.hasOwnProperty("jwks_uri"))},e}(),pn=function(){function e(){}return e.isThrottlingEntity=function(e,t){var n=!1;e&&(n=0===e.indexOf($.bb.THROTTLING_PREFIX));var r=!0;return t&&(r=t.hasOwnProperty("throttleTime")),n&&r},e}(),gn=function(){function e(){}return e.setRequestState=function(t,n,r){var o=e.generateLibraryState(t,r);return ve.x.isEmpty(n)?o:""+o+$.gT.RESOURCE_DELIM+n},e.generateLibraryState=function(e,t){if(!e)throw kt.e.createNoCryptoObjectError("generateLibraryState");var n={id:e.createNewGuid()};t&&(n.meta=t);var r=JSON.stringify(n);return e.base64Encode(r)},e.parseRequestState=function(e,t){if(!e)throw kt.e.createNoCryptoObjectError("parseRequestState");if(ve.x.isEmpty(t))throw kt.e.createInvalidStateError(t,"Null, undefined or empty state");try{var n=t.split($.gT.RESOURCE_DELIM),r=n[0],o=n.length>1?n.slice(1).join($.gT.RESOURCE_DELIM):$.gT.EMPTY_STRING,i=e.base64Decode(r),a=JSON.parse(i);return{userRequestState:ve.x.isEmpty(o)?$.gT.EMPTY_STRING:o,libraryState:a}}catch(s){throw kt.e.createInvalidStateError(t,s)}},e}();!function(e){e.HOME_ACCOUNT_ID="home_account_id",e.UPN="UPN"}(Pt||(Pt={}));var vn,mn,yn=function(){function e(e){this.validateWindowStorage(e),this.windowStorage=window[e]}return e.prototype.validateWindowStorage=function(e){if(e!==ae.Ix.LocalStorage&&e!==ae.Ix.SessionStorage)throw ft.W.createStorageNotSupportedError(e);if(!!!window[e])throw ft.W.createStorageNotSupportedError(e)},e.prototype.getItem=function(e){return this.windowStorage.getItem(e)},e.prototype.setItem=function(e,t){this.windowStorage.setItem(e,t)},e.prototype.removeItem=function(e){this.windowStorage.removeItem(e)},e.prototype.getKeys=function(){return Object.keys(this.windowStorage)},e.prototype.containsKey=function(e){return this.windowStorage.hasOwnProperty(e)},e}(),bn=function(){function e(t){if(this._urlString=t,ve.x.isEmpty(this._urlString))throw tn.createUrlEmptyError();ve.x.isEmpty(this.getHash())&&(this._urlString=e.canonicalizeUri(t))}return Object.defineProperty(e.prototype,"urlString",{get:function(){return this._urlString},enumerable:!1,configurable:!0}),e.canonicalizeUri=function(e){if(e){var t=e.toLowerCase();return ve.x.endsWith(t,"?")?t=t.slice(0,-1):ve.x.endsWith(t,"?/")&&(t=t.slice(0,-2)),ve.x.endsWith(t,"/")||(t+="/"),t}return e},e.prototype.validateAsUri=function(){var e;try{e=this.getUrlComponents()}catch(t){throw tn.createUrlParseError(t)}if(!e.HostNameAndPort||!e.PathSegments)throw tn.createUrlParseError("Given url string: "+this.urlString);if(!e.Protocol||"https:"!==e.Protocol.toLowerCase())throw tn.createInsecureAuthorityUriError(this.urlString)},e.appendQueryString=function(e,t){return ve.x.isEmpty(t)?e:e.indexOf("?")<0?e+"?"+t:e+"&"+t},e.removeHashFromUrl=function(t){return e.canonicalizeUri(t.split("#")[0])},e.prototype.replaceTenantPath=function(t){var n=this.getUrlComponents(),r=n.PathSegments;return!t||0===r.length||r[0]!==$.Nb.COMMON&&r[0]!==$.Nb.ORGANIZATIONS||(r[0]=t),e.constructAuthorityUriFromObject(n)},e.prototype.getHash=function(){return e.parseHash(this.urlString)},e.prototype.getUrlComponents=function(){var e=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),t=this.urlString.match(e);if(!t)throw tn.createUrlParseError("Given url string: "+this.urlString);var n={Protocol:t[1],HostNameAndPort:t[4],AbsolutePath:t[5],QueryString:t[7]},r=n.AbsolutePath.split("/");return r=r.filter((function(e){return e&&e.length>0})),n.PathSegments=r,!ve.x.isEmpty(n.QueryString)&&n.QueryString.endsWith("/")&&(n.QueryString=n.QueryString.substring(0,n.QueryString.length-1)),n},e.getDomainFromUrl=function(e){var t=RegExp("^([^:/?#]+://)?([^/?#]*)"),n=e.match(t);if(!n)throw tn.createUrlParseError("Given url string: "+e);return n[2]},e.getAbsoluteUrl=function(t,n){if(t[0]===$.gT.FORWARD_SLASH){var r=new e(n).getUrlComponents();return r.Protocol+"//"+r.HostNameAndPort+t}return t},e.parseHash=function(e){var t=e.indexOf("#"),n=e.indexOf("#/");return n>-1?e.substring(n+2):t>-1?e.substring(t+1):$.gT.EMPTY_STRING},e.parseQueryString=function(e){var t=e.indexOf("?"),n=e.indexOf("/?");return n>-1?e.substring(n+2):t>-1?e.substring(t+1):$.gT.EMPTY_STRING},e.constructAuthorityUriFromObject=function(t){return new e(t.Protocol+"//"+t.HostNameAndPort+"/"+t.PathSegments.join("/"))},e.getDeserializedHash=function(t){if(ve.x.isEmpty(t))return{};var n=e.parseHash(t),r=ve.x.queryStringToObject(ve.x.isEmpty(n)?t:n);if(!r)throw kt.e.createHashNotDeserializedError(JSON.stringify(r));return r},e.getDeserializedQueryString=function(t){if(ve.x.isEmpty(t))return{};var n=e.parseQueryString(t),r=ve.x.queryStringToObject(ve.x.isEmpty(n)?t:n);if(!r)throw kt.e.createHashNotDeserializedError(JSON.stringify(r));return r},e.hashContainsKnownProperties=function(t){if(ve.x.isEmpty(t)||t.indexOf("=")<0)return!1;var n=e.getDeserializedHash(t);return!!(n.code||n.error_description||n.error||n.state)},e}(),En=function(){function e(){}return e.extractBrowserRequestState=function(e,t){if(ve.x.isEmpty(t))return null;try{return gn.parseRequestState(e,t).libraryState.meta}catch(n){throw kt.e.createInvalidStateError(t,n)}},e.parseServerResponseFromHash=function(e){if(!e)return{};var t=new bn(e);return bn.getDeserializedHash(t.getHash())},e}(),wn=function(e){function t(t,n,r,o){var i=e.call(this,t,r)||this;return i.COOKIE_LIFE_MULTIPLIER=864e5,i.cacheConfig=n,i.logger=o,i.internalStorage=new mt,i.browserStorage=i.setupBrowserStorage(i.cacheConfig.cacheLocation),i.temporaryCacheStorage=i.setupTemporaryCacheStorage(i.cacheConfig.cacheLocation),i.migrateCacheEntries(),i}return(0,Y.ZT)(t,e),t.prototype.setupBrowserStorage=function(e){switch(e){case ae.Ix.LocalStorage:case ae.Ix.SessionStorage:try{return new yn(e)}catch(t){this.logger.verbose(t);break}}return this.cacheConfig.cacheLocation=ae.Ix.MemoryStorage,new mt},t.prototype.setupTemporaryCacheStorage=function(e){switch(e){case ae.Ix.LocalStorage:case ae.Ix.SessionStorage:try{return new yn(ae.Ix.SessionStorage)}catch(t){return this.logger.verbose(t),this.internalStorage}case ae.Ix.MemoryStorage:default:return this.internalStorage}},t.prototype.migrateCacheEntries=function(){var e=this,t=$.gT.CACHE_PREFIX+"."+$.Vi.ID_TOKEN,n=$.gT.CACHE_PREFIX+"."+$.Vi.CLIENT_INFO,r=$.gT.CACHE_PREFIX+"."+$.Vi.ERROR,o=$.gT.CACHE_PREFIX+"."+$.Vi.ERROR_DESC,i=[this.browserStorage.getItem(t),this.browserStorage.getItem(n),this.browserStorage.getItem(r),this.browserStorage.getItem(o)];[$.Vi.ID_TOKEN,$.Vi.CLIENT_INFO,$.Vi.ERROR,$.Vi.ERROR_DESC].forEach((function(t,n){return e.migrateCacheEntry(t,i[n])}))},t.prototype.migrateCacheEntry=function(e,t){t&&this.setTemporaryCache(e,t,!0)},t.prototype.validateAndParseJson=function(e){try{var t=JSON.parse(e);return t&&"object"===typeof t?t:null}catch(n){return null}},t.prototype.getItem=function(e){return this.browserStorage.getItem(e)},t.prototype.setItem=function(e,t){this.browserStorage.setItem(e,t)},t.prototype.getAccount=function(e){var t=this.getItem(e);if(!t)return null;var n=this.validateAndParseJson(t);return n&&Ot.isAccountEntity(n)?on.toObject(new Ot,n):null},t.prototype.setAccount=function(e){this.logger.trace("BrowserCacheManager.setAccount called");var t=e.generateAccountKey();this.setItem(t,JSON.stringify(e))},t.prototype.getIdTokenCredential=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&sn.isIdTokenEntity(n)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),on.toObject(new sn,n)):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),null)},t.prototype.setIdTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");var t=e.generateCredentialKey();this.setItem(t,JSON.stringify(e))},t.prototype.getAccessTokenCredential=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&un.isAccessTokenEntity(n)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),on.toObject(new un,n)):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),null)},t.prototype.setAccessTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");var t=e.generateCredentialKey();this.setItem(t,JSON.stringify(e))},t.prototype.getRefreshTokenCredential=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&ln.isRefreshTokenEntity(n)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),on.toObject(new ln,n)):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),null)},t.prototype.setRefreshTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");var t=e.generateCredentialKey();this.setItem(t,JSON.stringify(e))},t.prototype.getAppMetadata=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&dn.isAppMetadataEntity(e,n)?(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),on.toObject(new dn,n)):(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null)},t.prototype.setAppMetadata=function(e){this.logger.trace("BrowserCacheManager.setAppMetadata called");var t=e.generateAppMetadataKey();this.setItem(t,JSON.stringify(e))},t.prototype.getServerTelemetry=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&fn.isServerTelemetryEntity(e,n)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),on.toObject(new fn,n)):(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null)},t.prototype.setServerTelemetry=function(e,t){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(e,JSON.stringify(t))},t.prototype.getAuthorityMetadata=function(e){var t=this.internalStorage.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&hn.isAuthorityMetadataEntity(e,n)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),on.toObject(new hn,n)):null},t.prototype.getAuthorityMetadataKeys=function(){var e=this;return this.internalStorage.getKeys().filter((function(t){return e.isAuthorityMetadata(t)}))},t.prototype.setWrapperMetadata=function(e,t){this.internalStorage.setItem(ae.Bs.WRAPPER_SKU,e),this.internalStorage.setItem(ae.Bs.WRAPPER_VER,t)},t.prototype.getWrapperMetadata=function(){return[this.internalStorage.getItem(ae.Bs.WRAPPER_SKU)||$.gT.EMPTY_STRING,this.internalStorage.getItem(ae.Bs.WRAPPER_VER)||$.gT.EMPTY_STRING]},t.prototype.setAuthorityMetadata=function(e,t){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(e,JSON.stringify(t))},t.prototype.getActiveAccount=function(){var e=this.generateCacheKey($.Vi.ACTIVE_ACCOUNT_FILTERS),t=this.getItem(e);if(!t){this.logger.trace("No active account filters cache schema found, looking for legacy schema");var n=this.generateCacheKey($.Vi.ACTIVE_ACCOUNT),r=this.getItem(n);if(!r)return this.logger.trace("No active account found"),null;var o=this.getAccountInfoByFilter({localAccountId:r})[0]||null;return o?(this.logger.trace("Legacy active account cache schema found"),this.logger.trace("Adding active account filters cache schema"),this.setActiveAccount(o),o):null}var i=this.validateAndParseJson(t);return i?(this.logger.trace("Active account filters schema found"),this.getAccountInfoByFilter({homeAccountId:i.homeAccountId,localAccountId:i.localAccountId})[0]||null):(this.logger.trace("No active account found"),null)},t.prototype.setActiveAccount=function(e){var t=this.generateCacheKey($.Vi.ACTIVE_ACCOUNT_FILTERS),n=this.generateCacheKey($.Vi.ACTIVE_ACCOUNT);if(e){this.logger.verbose("setActiveAccount: Active account set");var r={homeAccountId:e.homeAccountId,localAccountId:e.localAccountId};this.browserStorage.setItem(t,JSON.stringify(r)),this.browserStorage.setItem(n,e.localAccountId)}else this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(t),this.browserStorage.removeItem(n)},t.prototype.getAccountInfoByFilter=function(e){return this.getAllAccounts().filter((function(t){return(!e.username||e.username.toLowerCase()===t.username.toLowerCase())&&((!e.homeAccountId||e.homeAccountId===t.homeAccountId)&&((!e.localAccountId||e.localAccountId===t.localAccountId)&&((!e.tenantId||e.tenantId===t.tenantId)&&(!e.environment||e.environment===t.environment))))}))},t.prototype.getAccountInfoByHints=function(e,t){var n=this.getAllAccounts().filter((function(n){if(t){var r=n.idTokenClaims&&n.idTokenClaims.sid;return t===r}return!!e&&e===n.username}));if(1===n.length)return n[0];if(n.length>1)throw kt.e.createMultipleMatchingAccountsInCacheError();return null},t.prototype.getThrottlingCache=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&pn.isThrottlingEntity(e,n)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),on.toObject(new pn,n)):(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null)},t.prototype.setThrottlingCache=function(e,t){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(e,JSON.stringify(t))},t.prototype.getTemporaryCache=function(e,t){var n=t?this.generateCacheKey(e):e;if(this.cacheConfig.storeAuthStateInCookie){var r=this.getItemCookie(n);if(r)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),r}var o=this.temporaryCacheStorage.getItem(n);if(!o){if(this.cacheConfig.cacheLocation===ae.Ix.LocalStorage){var i=this.browserStorage.getItem(n);if(i)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),i}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),o},t.prototype.setTemporaryCache=function(e,t,n){var r=n?this.generateCacheKey(e):e;this.temporaryCacheStorage.setItem(r,t),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(r,t))},t.prototype.removeItem=function(e){return this.browserStorage.removeItem(e),this.temporaryCacheStorage.removeItem(e),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItemCookie(e)),!0},t.prototype.containsKey=function(e){return this.browserStorage.containsKey(e)||this.temporaryCacheStorage.containsKey(e)},t.prototype.getKeys=function(){return(0,Y.fl)(this.browserStorage.getKeys(),this.temporaryCacheStorage.getKeys())},t.prototype.clear=function(){return(0,Y.mG)(this,void 0,void 0,(function(){var e=this;return(0,Y.Jh)(this,(function(t){switch(t.label){case 0:return[4,this.removeAllAccounts()];case 1:return t.sent(),this.removeAppMetadata(),this.getKeys().forEach((function(t){!e.browserStorage.containsKey(t)&&!e.temporaryCacheStorage.containsKey(t)||-1===t.indexOf($.gT.CACHE_PREFIX)&&-1===t.indexOf(e.clientId)||e.removeItem(t)})),this.internalStorage.clear(),[2]}}))}))},t.prototype.setItemCookie=function(e,t,n){var r=encodeURIComponent(e)+"="+encodeURIComponent(t)+";path=/;SameSite=Lax;";n&&(r+="expires="+this.getCookieExpirationTime(n)+";");this.cacheConfig.secureCookies&&(r+="Secure;"),document.cookie=r},t.prototype.getItemCookie=function(e){for(var t=encodeURIComponent(e)+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(t))return decodeURIComponent(o.substring(t.length,o.length))}return $.gT.EMPTY_STRING},t.prototype.clearMsalCookies=function(){var e=this,t=$.gT.CACHE_PREFIX+"."+this.clientId;document.cookie.split(";").forEach((function(n){for(;" "===n.charAt(0);)n=n.substring(1);if(0===n.indexOf(t)){var r=n.split("=")[0];e.clearItemCookie(r)}}))},t.prototype.clearItemCookie=function(e){this.setItemCookie(e,$.gT.EMPTY_STRING,-1)},t.prototype.getCookieExpirationTime=function(e){var t=new Date;return new Date(t.getTime()+e*this.COOKIE_LIFE_MULTIPLIER).toUTCString()},t.prototype.getCache=function(){return this.browserStorage},t.prototype.setCache=function(){},t.prototype.generateCacheKey=function(e){return this.validateAndParseJson(e)?JSON.stringify(e):ve.x.startsWith(e,$.gT.CACHE_PREFIX)||ve.x.startsWith(e,$.Vi.ADAL_ID_TOKEN)?e:$.gT.CACHE_PREFIX+"."+this.clientId+"."+e},t.prototype.generateAuthorityKey=function(e){var t=gn.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(ae.c4.AUTHORITY+"."+t)},t.prototype.generateNonceKey=function(e){var t=gn.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(ae.c4.NONCE_IDTOKEN+"."+t)},t.prototype.generateStateKey=function(e){var t=gn.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(ae.c4.REQUEST_STATE+"."+t)},t.prototype.getCachedAuthority=function(e){var t=this.generateStateKey(e),n=this.getTemporaryCache(t);if(!n)return null;var r=this.generateAuthorityKey(n);return this.getTemporaryCache(r)},t.prototype.updateCacheEntries=function(e,t,n,r,o){this.logger.trace("BrowserCacheManager.updateCacheEntries called");var i=this.generateStateKey(e);this.setTemporaryCache(i,e,!1);var a=this.generateNonceKey(e);this.setTemporaryCache(a,t,!1);var s=this.generateAuthorityKey(e);if(this.setTemporaryCache(s,n,!1),o){var c={credential:o.homeAccountId,type:Pt.HOME_ACCOUNT_ID};this.setTemporaryCache(ae.c4.CCS_CREDENTIAL,JSON.stringify(c),!0)}else if(!ve.x.isEmpty(r)){c={credential:r,type:Pt.UPN};this.setTemporaryCache(ae.c4.CCS_CREDENTIAL,JSON.stringify(c),!0)}},t.prototype.resetRequestCache=function(e){var t=this;this.logger.trace("BrowserCacheManager.resetRequestCache called"),ve.x.isEmpty(e)||this.getKeys().forEach((function(n){-1!==n.indexOf(e)&&t.removeItem(n)})),e&&(this.removeItem(this.generateStateKey(e)),this.removeItem(this.generateNonceKey(e)),this.removeItem(this.generateAuthorityKey(e))),this.removeItem(this.generateCacheKey(ae.c4.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(ae.c4.ORIGIN_URI)),this.removeItem(this.generateCacheKey(ae.c4.URL_HASH)),this.removeItem(this.generateCacheKey(ae.c4.CORRELATION_ID)),this.removeItem(this.generateCacheKey(ae.c4.CCS_CREDENTIAL)),this.removeItem(this.generateCacheKey(ae.c4.NATIVE_REQUEST)),this.setInteractionInProgress(!1)},t.prototype.cleanRequestByState=function(e){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),e){var t=this.generateStateKey(e),n=this.temporaryCacheStorage.getItem(t);this.logger.infoPii("BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: "+n),this.resetRequestCache(n||$.gT.EMPTY_STRING)}this.clearMsalCookies()},t.prototype.cleanRequestByInteractionType=function(e){var t=this;this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.getKeys().forEach((function(n){if(-1!==n.indexOf(ae.c4.REQUEST_STATE)){var r=t.temporaryCacheStorage.getItem(n);if(r){var o=En.extractBrowserRequestState(t.cryptoImpl,r);o&&o.interactionType===e&&(t.logger.infoPii("BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: "+r),t.resetRequestCache(r))}}})),this.clearMsalCookies(),this.setInteractionInProgress(!1)},t.prototype.cacheCodeRequest=function(e,t){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");var n=t.base64Encode(JSON.stringify(e));this.setTemporaryCache(ae.c4.REQUEST_PARAMS,n,!0)},t.prototype.getCachedRequest=function(e,t){this.logger.trace("BrowserCacheManager.getCachedRequest called");var n=this.getTemporaryCache(ae.c4.REQUEST_PARAMS,!0);if(!n)throw st.createNoTokenRequestCacheError();var r=this.validateAndParseJson(t.base64Decode(n));if(!r)throw st.createUnableToParseTokenRequestCacheError();if(this.removeItem(this.generateCacheKey(ae.c4.REQUEST_PARAMS)),ve.x.isEmpty(r.authority)){var o=this.generateAuthorityKey(e),i=this.getTemporaryCache(o);if(!i)throw st.createNoCachedAuthorityError();r.authority=i}return r},t.prototype.getCachedNativeRequest=function(){this.logger.trace("BrowserCacheManager.getCachedNativeRequest called");var e=this.getTemporaryCache(ae.c4.NATIVE_REQUEST,!0);if(!e)return this.logger.trace("BrowserCacheManager.getCachedNativeRequest: No cached native request found"),null;var t=this.validateAndParseJson(e);return t||(this.logger.error("BrowserCacheManager.getCachedNativeRequest: Unable to parse native request"),null)},t.prototype.isInteractionInProgress=function(e){var t=this.getInteractionInProgress();return e?t===this.clientId:!!t},t.prototype.getInteractionInProgress=function(){var e=$.gT.CACHE_PREFIX+"."+ae.c4.INTERACTION_STATUS_KEY;return this.getTemporaryCache(e,!1)},t.prototype.setInteractionInProgress=function(e){var t=$.gT.CACHE_PREFIX+"."+ae.c4.INTERACTION_STATUS_KEY;if(e){if(this.getInteractionInProgress())throw st.createInteractionInProgressError();this.setTemporaryCache(t,this.clientId,!1)}else e||this.getInteractionInProgress()!==this.clientId||this.removeItem(t)},t.prototype.getLegacyLoginHint=function(){var e=this.getTemporaryCache($.Vi.ADAL_ID_TOKEN);e&&(this.browserStorage.removeItem($.Vi.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));var t=this.getTemporaryCache($.Vi.ID_TOKEN,!0);t&&(this.removeItem(this.generateCacheKey($.Vi.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));var n=t||e;if(n){var r=new rn(n,this.cryptoImpl);if(r.claims&&r.claims.preferred_username)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 preferred_username as loginHint"),r.claims.preferred_username;if(r.claims&&r.claims.upn)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 upn as loginHint"),r.claims.upn;this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, however, no account hint claim found. Enable preferred_username or upn id token claim to get SSO.")}return null},t.prototype.updateCredentialCacheKey=function(e,t){var n=t.generateCredentialKey();if(e!==n){var r=this.getItem(e);if(r)return this.removeItem(e),this.setItem(n,r),this.logger.verbose("Updated an outdated "+t.credentialType+" cache key"),n;this.logger.error("Attempted to update an outdated "+t.credentialType+" cache key but no item matching the outdated key was found in storage")}return e},t}(on);!function(e){e.AAD="AAD",e.OIDC="OIDC"}(vn||(vn={})),function(e){e[e.None=0]="None",e.AzurePublic="https://login.microsoftonline.com",e.AzurePpe="https://login.windows-ppe.net",e.AzureChina="https://login.chinacloudapi.cn",e.AzureGermany="https://login.microsoftonline.de",e.AzureUsGovernment="https://login.microsoftonline.us"}(mn||(mn={}));var _n="8.0.0",Sn={tokenRenewalOffsetSeconds:300,preventCorsPreflight:!1,proxyUrl:$.gT.EMPTY_STRING},Tn={loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:_t.i.Info,correlationId:$.gT.EMPTY_STRING},Cn={sendGetRequestAsync:function(){return(0,Z.mG)(this,void 0,void 0,(function(){return(0,Z.Jh)(this,(function(e){throw"Network interface - sendGetRequestAsync() has not been implemented",X.l.createUnexpectedError("Network interface - sendGetRequestAsync() has not been implemented")}))}))},sendPostRequestAsync:function(){return(0,Z.mG)(this,void 0,void 0,(function(){return(0,Z.Jh)(this,(function(e){throw"Network interface - sendPostRequestAsync() has not been implemented",X.l.createUnexpectedError("Network interface - sendPostRequestAsync() has not been implemented")}))}))}},In={sku:$.gT.SKU,version:_n,cpu:$.gT.EMPTY_STRING,os:$.gT.EMPTY_STRING},kn={clientSecret:$.gT.EMPTY_STRING,clientAssertion:void 0},Rn={azureCloudInstance:mn.None,tenant:""+$.gT.DEFAULT_COMMON_TENANT},An={application:{appName:"",appVersion:""}};var Pn={sendGetRequestAsync:function(){return Promise.reject(X.l.createUnexpectedError("Network interface - sendGetRequestAsync() has not been implemented for the Network interface."))},sendPostRequestAsync:function(){return Promise.reject(X.l.createUnexpectedError("Network interface - sendPostRequestAsync() has not been implemented for the Network interface."))}},On=function(){function e(){}return e.prototype.sendGetRequestAsync=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){var n,r,o;return(0,Y.Jh)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,fetch(e,{method:ae.EC.GET,headers:this.getFetchHeaders(t)})];case 1:return n=i.sent(),[3,3];case 2:throw r=i.sent(),window.navigator.onLine?st.createGetRequestFailedError(r,e):st.createNoNetworkConnectivityError();case 3:return i.trys.push([3,5,,6]),o={headers:this.getHeaderDict(n.headers)},[4,n.json()];case 4:return[2,(o.body=i.sent(),o.status=n.status,o)];case 5:throw i.sent(),st.createFailedToParseNetworkResponseError(e);case 6:return[2]}}))}))},e.prototype.sendPostRequestAsync=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){var n,r,o,i;return(0,Y.Jh)(this,(function(a){switch(a.label){case 0:n=t&&t.body||$.gT.EMPTY_STRING,a.label=1;case 1:return a.trys.push([1,3,,4]),[4,fetch(e,{method:ae.EC.POST,headers:this.getFetchHeaders(t),body:n})];case 2:return r=a.sent(),[3,4];case 3:throw o=a.sent(),window.navigator.onLine?st.createPostRequestFailedError(o,e):st.createNoNetworkConnectivityError();case 4:return a.trys.push([4,6,,7]),i={headers:this.getHeaderDict(r.headers)},[4,r.json()];case 5:return[2,(i.body=a.sent(),i.status=r.status,i)];case 6:throw a.sent(),st.createFailedToParseNetworkResponseError(e);case 7:return[2]}}))}))},e.prototype.getFetchHeaders=function(e){var t=new Headers;if(!e||!e.headers)return t;var n=e.headers;return Object.keys(n).forEach((function(e){t.append(e,n[e])})),t},e.prototype.getHeaderDict=function(e){var t={};return e.forEach((function(e,n){t[n]=e})),t},e}(),Nn=function(){function e(){}return e.prototype.sendGetRequestAsync=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(n){return[2,this.sendRequestAsync(e,ae.EC.GET,t)]}))}))},e.prototype.sendPostRequestAsync=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(n){return[2,this.sendRequestAsync(e,ae.EC.POST,t)]}))}))},e.prototype.sendRequestAsync=function(e,t,n){var r=this;return new Promise((function(o,i){var a=new XMLHttpRequest;if(a.open(t,e,!0),r.setXhrHeaders(a,n),a.onload=function(){(a.status<200||a.status>=300)&&(t===ae.EC.POST?i(st.createPostRequestFailedError("Failed with status "+a.status,e)):i(st.createGetRequestFailedError("Failed with status "+a.status,e)));try{var n=JSON.parse(a.responseText),s={headers:r.getHeaderDict(a),body:n,status:a.status};o(s)}catch(c){i(st.createFailedToParseNetworkResponseError(e))}},a.onerror=function(){window.navigator.onLine?t===ae.EC.POST?i(st.createPostRequestFailedError("Failed with status "+a.status,e)):i(st.createGetRequestFailedError("Failed with status "+a.status,e)):i(st.createNoNetworkConnectivityError())},t===ae.EC.POST&&n&&n.body)a.send(n.body);else{if(t!==ae.EC.GET)throw st.createHttpMethodNotImplementedError(t);a.send()}}))},e.prototype.setXhrHeaders=function(e,t){if(t&&t.headers){var n=t.headers;Object.keys(n).forEach((function(t){e.setRequestHeader(t,n[t])}))}},e.prototype.getHeaderDict=function(e){var t=e.getAllResponseHeaders().trim().split(/[\r\n]+/),n={};return t.forEach((function(e){var t=e.split(": "),r=t.shift(),o=t.join(": ");r&&o&&(n[r]=o)})),n},e}(),xn=function(){function e(){}return e.clearHash=function(e){e.location.hash=$.gT.EMPTY_STRING,"function"===typeof e.history.replaceState&&e.history.replaceState(null,$.gT.EMPTY_STRING,""+e.location.origin+e.location.pathname+e.location.search)},e.replaceHash=function(e){var t=e.split("#");t.shift(),window.location.hash=t.length>0?t.join("#"):$.gT.EMPTY_STRING},e.isInIframe=function(){return window.parent!==window},e.isInPopup=function(){return"undefined"!==typeof window&&!!window.opener&&window.opener!==window&&"string"===typeof window.name&&0===window.name.indexOf(ae.qx.POPUP_NAME_PREFIX+".")},e.getCurrentUri=function(){return window.location.href.split("?")[0].split("#")[0]},e.getHomepage=function(){var e=new bn(window.location.href).getUrlComponents();return e.Protocol+"//"+e.HostNameAndPort+"/"},e.getBrowserNetworkClient=function(){return window.fetch&&window.Headers?new On:new Nn},e.blockReloadInHiddenIframes=function(){if(bn.hashContainsKnownProperties(window.location.hash)&&e.isInIframe())throw st.createBlockReloadInHiddenIframeError()},e.blockRedirectInIframe=function(t,n){var r=e.isInIframe();if(t===ae.s_.Redirect&&r&&!n)throw st.createRedirectInIframeError(r)},e.blockAcquireTokenInPopups=function(){if(e.isInPopup())throw st.createBlockAcquireTokenInPopupsError()},e.blockNonBrowserEnvironment=function(e){if(!e)throw st.createNonBrowserEnvironmentError()},e.blockNativeBrokerCalledBeforeInitialized=function(e,t){if(e&&!t)throw st.createNativeBrokerCalledBeforeInitialize()},e.detectIEOrEdge=function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE "),n=e.indexOf("Trident/"),r=e.indexOf("Edge/");return t>0||n>0||r>0},e}(),Mn=function(){function e(){}return e.prototype.navigateInternal=function(t,n){return e.defaultNavigateWindow(t,n)},e.prototype.navigateExternal=function(t,n){return e.defaultNavigateWindow(t,n)},e.defaultNavigateWindow=function(e,t){return t.noHistory?window.location.replace(e):window.location.assign(e),new Promise((function(e){setTimeout((function(){e(!0)}),t.timeout)}))},e}(),Un=6e3;var Ln,Dn="@azure/msal-browser",Hn="2.31.0",qn=n(29818),Fn=function(){function e(e,t){this.eventCallbacks=new Map,this.logger=e,this.browserCrypto=t,this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}return e.prototype.addEventCallback=function(e){if("undefined"!==typeof window){var t=this.browserCrypto.createNewGuid();return this.eventCallbacks.set(t,e),this.logger.verbose("Event callback registered with id: "+t),t}return null},e.prototype.removeEventCallback=function(e){this.eventCallbacks.delete(e),this.logger.verbose("Event callback "+e+" removed.")},e.prototype.enableAccountStorageEvents=function(){"undefined"!==typeof window&&(this.listeningToStorageEvents?this.logger.verbose("Account storage listener already registered."):(this.logger.verbose("Adding account storage listener."),this.listeningToStorageEvents=!0,window.addEventListener("storage",this.handleAccountCacheChange)))},e.prototype.disableAccountStorageEvents=function(){"undefined"!==typeof window&&(this.listeningToStorageEvents?(this.logger.verbose("Removing account storage listener."),window.removeEventListener("storage",this.handleAccountCacheChange),this.listeningToStorageEvents=!1):this.logger.verbose("No account storage listener registered."))},e.prototype.emitEvent=function(e,t,n,r){var o=this;if("undefined"!==typeof window){var i={eventType:e,interactionType:t||null,payload:n||null,error:r||null,timestamp:Date.now()};this.logger.info("Emitting event: "+e),this.eventCallbacks.forEach((function(t,n){o.logger.verbose("Emitting event to callback "+n+": "+e),t.apply(null,[i])}))}},e.prototype.handleAccountCacheChange=function(e){try{var t=e.newValue||e.oldValue;if(!t)return;var n=JSON.parse(t);if("object"!==typeof n||!Ot.isAccountEntity(n))return;var r=on.toObject(new Ot,n).getAccountInfo();!e.oldValue&&e.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(qn.t.ACCOUNT_ADDED,void 0,r)):!e.newValue&&e.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(qn.t.ACCOUNT_REMOVED,void 0,r))}catch(e){return}},e}(),jn=function(){function e(){}return e.generateThrottlingStorageKey=function(e){return $.bb.THROTTLING_PREFIX+"."+JSON.stringify(e)},e.preProcess=function(t,n){var r,o=e.generateThrottlingStorageKey(n),i=t.getThrottlingCache(o);if(i){if(i.throttleTime<Date.now())return void t.removeItem(o,$.Xj.THROTTLING);throw new ee((null===(r=i.errorCodes)||void 0===r?void 0:r.join(" "))||$.gT.EMPTY_STRING,i.errorMessage,i.subError)}},e.postProcess=function(t,n,r){if(e.checkResponseStatus(r)||e.checkResponseForRetryAfter(r)){var o={throttleTime:e.calculateThrottleTime(parseInt(r.headers[$.SZ.RETRY_AFTER])),error:r.body.error,errorCodes:r.body.error_codes,errorMessage:r.body.error_description,subError:r.body.suberror};t.setThrottlingCache(e.generateThrottlingStorageKey(n),o)}},e.checkResponseStatus=function(e){return 429===e.status||e.status>=500&&e.status<600},e.checkResponseForRetryAfter=function(e){return!!e.headers&&(e.headers.hasOwnProperty($.SZ.RETRY_AFTER)&&(e.status<200||e.status>=300))},e.calculateThrottleTime=function(e){var t=e<=0?0:e,n=Date.now()/1e3;return Math.floor(1e3*Math.min(n+(t||$.bb.DEFAULT_THROTTLE_TIME_SECONDS),n+$.bb.DEFAULT_MAX_THROTTLE_TIME_SECONDS))},e.removeThrottle=function(e,t,n,r){var o={clientId:t,authority:n.authority,scopes:n.scopes,homeAccountIdentifier:r,claims:n.claims,authenticationScheme:n.authenticationScheme,resourceRequestMethod:n.resourceRequestMethod,resourceRequestUri:n.resourceRequestUri,shrClaims:n.shrClaims,sshKid:n.sshKid},i=this.generateThrottlingStorageKey(o);return e.removeItem(i,$.Xj.THROTTLING)},e}(),Gn=function(){function e(e,t){this.networkClient=e,this.cacheManager=t}return e.prototype.sendPostRequest=function(e,t,n){return(0,Z.mG)(this,void 0,void 0,(function(){var r,o;return(0,Z.Jh)(this,(function(i){switch(i.label){case 0:jn.preProcess(this.cacheManager,e),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.networkClient.sendPostRequestAsync(t,n)];case 2:return r=i.sent(),[3,4];case 3:throw(o=i.sent())instanceof X.l?o:kt.e.createNetworkError(t,o);case 4:return jn.postProcess(this.cacheManager,e,r),[2,r]}}))}))},e}(),zn=function(){function e(e,t){this.config=function(e){var t,n=e.authOptions,r=e.systemOptions,o=e.loggerOptions,i=e.storageInterface,a=e.networkInterface,s=e.cryptoInterface,c=e.clientCredentials,u=e.libraryInfo,l=e.telemetry,d=e.serverTelemetryManager,f=e.persistencePlugin,h=e.serializableCache,p=(0,Z.pi)((0,Z.pi)({},Tn),o);return{authOptions:(t=n,(0,Z.pi)({clientCapabilities:[],azureCloudOptions:Rn,skipAuthorityMetadataCache:!1},t)),systemOptions:(0,Z.pi)((0,Z.pi)({},Sn),r),loggerOptions:p,storageInterface:i||new an(n.clientId,It),networkInterface:a||Cn,cryptoInterface:s||It,clientCredentials:c||kn,libraryInfo:(0,Z.pi)((0,Z.pi)({},In),u),telemetry:(0,Z.pi)((0,Z.pi)({},An),l),serverTelemetryManager:d||null,persistencePlugin:f||null,serializableCache:h||null}}(e),this.logger=new _t.Y(this.config.loggerOptions,"@azure/msal-common",_n),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new Gn(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=t}return e.prototype.createTokenRequestHeaders=function(e){var t={};if(t[$.SZ.CONTENT_TYPE]=$.gT.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&e)switch(e.type){case Pt.HOME_ACCOUNT_ID:try{var n=At(e.credential);t[$.SZ.CCS_HEADER]="Oid:"+n.uid+"@"+n.utid}catch(r){this.logger.verbose("Could not parse home account ID for CCS Header: "+r)}break;case Pt.UPN:t[$.SZ.CCS_HEADER]="UPN: "+e.credential}return t},e.prototype.executePostToTokenEndpoint=function(e,t,n,r){return(0,Z.mG)(this,void 0,void 0,(function(){var o;return(0,Z.Jh)(this,(function(i){switch(i.label){case 0:return[4,this.networkManager.sendPostRequest(r,e,{body:t,headers:n,proxyUrl:this.config.systemOptions.proxyUrl})];case 1:return o=i.sent(),this.config.serverTelemetryManager&&o.status<500&&429!==o.status&&this.config.serverTelemetryManager.clearTelemetryCache(),[2,o]}}))}))},e.prototype.updateAuthority=function(e){if(!e.discoveryComplete())throw kt.e.createEndpointDiscoveryIncompleteError("Updated authority has not completed endpoint discovery.");this.authority=e},e}(),Bn=function(){function e(){}return e.validateRedirectUri=function(e){if(ve.x.isEmpty(e))throw tn.createRedirectUriEmptyError()},e.validatePrompt=function(e){var t=[];for(var n in $.NJ)t.push($.NJ[n]);if(t.indexOf(e)<0)throw tn.createInvalidPromptError(e)},e.validateClaims=function(e){try{JSON.parse(e)}catch(t){throw tn.createInvalidClaimsRequestError()}},e.validateCodeChallengeParams=function(e,t){if(ve.x.isEmpty(e)||ve.x.isEmpty(t))throw tn.createInvalidCodeChallengeParamsError();this.validateCodeChallengeMethod(t)},e.validateCodeChallengeMethod=function(e){if([$.VX.PLAIN,$.VX.S256].indexOf(e)<0)throw tn.createInvalidCodeChallengeMethodError()},e.sanitizeEQParams=function(e,t){return e?(t.forEach((function(t,n){e[n]&&delete e[n]})),e):{}},e}(),Kn=function(){function e(){this.parameters=new Map}return e.prototype.addResponseTypeCode=function(){this.parameters.set($.Fo.RESPONSE_TYPE,encodeURIComponent($.gT.CODE_RESPONSE_TYPE))},e.prototype.addResponseTypeForTokenAndIdToken=function(){this.parameters.set($.Fo.RESPONSE_TYPE,encodeURIComponent($.gT.TOKEN_RESPONSE_TYPE+" "+$.gT.ID_TOKEN_RESPONSE_TYPE))},e.prototype.addResponseMode=function(e){this.parameters.set($.Fo.RESPONSE_MODE,encodeURIComponent(e||$.vw.QUERY))},e.prototype.addNativeBroker=function(){this.parameters.set($.Fo.NATIVE_BROKER,encodeURIComponent("1"))},e.prototype.addScopes=function(e,t){void 0===t&&(t=!0);var n=t?(0,Z.pr)(e||[],$.f_):e||[],r=new nn(n);this.parameters.set($.Fo.SCOPE,encodeURIComponent(r.printScopes()))},e.prototype.addClientId=function(e){this.parameters.set($.Fo.CLIENT_ID,encodeURIComponent(e))},e.prototype.addRedirectUri=function(e){Bn.validateRedirectUri(e),this.parameters.set($.Fo.REDIRECT_URI,encodeURIComponent(e))},e.prototype.addPostLogoutRedirectUri=function(e){Bn.validateRedirectUri(e),this.parameters.set($.Fo.POST_LOGOUT_URI,encodeURIComponent(e))},e.prototype.addIdTokenHint=function(e){this.parameters.set($.Fo.ID_TOKEN_HINT,encodeURIComponent(e))},e.prototype.addDomainHint=function(e){this.parameters.set($.VO.DOMAIN_HINT,encodeURIComponent(e))},e.prototype.addLoginHint=function(e){this.parameters.set($.VO.LOGIN_HINT,encodeURIComponent(e))},e.prototype.addCcsUpn=function(e){this.parameters.set($.SZ.CCS_HEADER,encodeURIComponent("UPN:"+e))},e.prototype.addCcsOid=function(e){this.parameters.set($.SZ.CCS_HEADER,encodeURIComponent("Oid:"+e.uid+"@"+e.utid))},e.prototype.addSid=function(e){this.parameters.set($.VO.SID,encodeURIComponent(e))},e.prototype.addClaims=function(e,t){var n=this.addClientCapabilitiesToClaims(e,t);Bn.validateClaims(n),this.parameters.set($.Fo.CLAIMS,encodeURIComponent(n))},e.prototype.addCorrelationId=function(e){this.parameters.set($.Fo.CLIENT_REQUEST_ID,encodeURIComponent(e))},e.prototype.addLibraryInfo=function(e){this.parameters.set($.Fo.X_CLIENT_SKU,e.sku),this.parameters.set($.Fo.X_CLIENT_VER,e.version),e.os&&this.parameters.set($.Fo.X_CLIENT_OS,e.os),e.cpu&&this.parameters.set($.Fo.X_CLIENT_CPU,e.cpu)},e.prototype.addApplicationTelemetry=function(e){(null===e||void 0===e?void 0:e.appName)&&this.parameters.set($.Fo.X_APP_NAME,e.appName),(null===e||void 0===e?void 0:e.appVersion)&&this.parameters.set($.Fo.X_APP_VER,e.appVersion)},e.prototype.addPrompt=function(e){Bn.validatePrompt(e),this.parameters.set(""+$.Fo.PROMPT,encodeURIComponent(e))},e.prototype.addState=function(e){ve.x.isEmpty(e)||this.parameters.set($.Fo.STATE,encodeURIComponent(e))},e.prototype.addNonce=function(e){this.parameters.set($.Fo.NONCE,encodeURIComponent(e))},e.prototype.addCodeChallengeParams=function(e,t){if(Bn.validateCodeChallengeParams(e,t),!e||!t)throw tn.createInvalidCodeChallengeParamsError();this.parameters.set($.Fo.CODE_CHALLENGE,encodeURIComponent(e)),this.parameters.set($.Fo.CODE_CHALLENGE_METHOD,encodeURIComponent(t))},e.prototype.addAuthorizationCode=function(e){this.parameters.set($.Fo.CODE,encodeURIComponent(e))},e.prototype.addDeviceCode=function(e){this.parameters.set($.Fo.DEVICE_CODE,encodeURIComponent(e))},e.prototype.addRefreshToken=function(e){this.parameters.set($.Fo.REFRESH_TOKEN,encodeURIComponent(e))},e.prototype.addCodeVerifier=function(e){this.parameters.set($.Fo.CODE_VERIFIER,encodeURIComponent(e))},e.prototype.addClientSecret=function(e){this.parameters.set($.Fo.CLIENT_SECRET,encodeURIComponent(e))},e.prototype.addClientAssertion=function(e){ve.x.isEmpty(e)||this.parameters.set($.Fo.CLIENT_ASSERTION,encodeURIComponent(e))},e.prototype.addClientAssertionType=function(e){ve.x.isEmpty(e)||this.parameters.set($.Fo.CLIENT_ASSERTION_TYPE,encodeURIComponent(e))},e.prototype.addOboAssertion=function(e){this.parameters.set($.Fo.OBO_ASSERTION,encodeURIComponent(e))},e.prototype.addRequestTokenUse=function(e){this.parameters.set($.Fo.REQUESTED_TOKEN_USE,encodeURIComponent(e))},e.prototype.addGrantType=function(e){this.parameters.set($.Fo.GRANT_TYPE,encodeURIComponent(e))},e.prototype.addClientInfo=function(){this.parameters.set($.sR,"1")},e.prototype.addExtraQueryParameters=function(e){var t=this;Bn.sanitizeEQParams(e,this.parameters),Object.keys(e).forEach((function(n){t.parameters.set(n,e[n])}))},e.prototype.addClientCapabilitiesToClaims=function(e,t){var n;if(e)try{n=JSON.parse(e)}catch(r){throw tn.createInvalidClaimsRequestError()}else n={};return t&&t.length>0&&(n.hasOwnProperty($.As.ACCESS_TOKEN)||(n[$.As.ACCESS_TOKEN]={}),n[$.As.ACCESS_TOKEN][$.As.XMS_CC]={values:t}),JSON.stringify(n)},e.prototype.addUsername=function(e){this.parameters.set($.Ge.username,encodeURIComponent(e))},e.prototype.addPassword=function(e){this.parameters.set($.Ge.password,encodeURIComponent(e))},e.prototype.addPopToken=function(e){ve.x.isEmpty(e)||(this.parameters.set($.Fo.TOKEN_TYPE,$.hO.POP),this.parameters.set($.Fo.REQ_CNF,encodeURIComponent(e)))},e.prototype.addSshJwk=function(e){ve.x.isEmpty(e)||(this.parameters.set($.Fo.TOKEN_TYPE,$.hO.SSH),this.parameters.set($.Fo.REQ_CNF,encodeURIComponent(e)))},e.prototype.addServerTelemetry=function(e){this.parameters.set($.Fo.X_CLIENT_CURR_TELEM,e.generateCurrentRequestHeaderValue()),this.parameters.set($.Fo.X_CLIENT_LAST_TELEM,e.generateLastRequestHeaderValue())},e.prototype.addThrottling=function(){this.parameters.set($.Fo.X_MS_LIB_CAPABILITY,$.bb.X_MS_LIB_CAPABILITY_VALUE)},e.prototype.addLogoutHint=function(e){this.parameters.set($.Fo.LOGOUT_HINT,encodeURIComponent(e))},e.prototype.createQueryString=function(){var e=new Array;return this.parameters.forEach((function(t,n){e.push(n+"="+t)})),e.join("&")},e}(),Wn=function(e,t,n,r,o){this.account=e||null,this.idToken=t||null,this.accessToken=n||null,this.refreshToken=r||null,this.appMetadata=o||null};!function(e){e.SW="sw",e.UHW="uhw"}(Ln||(Ln={}));var Jn=function(){function e(e){this.cryptoUtils=e}return e.prototype.generateCnf=function(e){return(0,Z.mG)(this,void 0,void 0,(function(){var t,n,r;return(0,Z.Jh)(this,(function(o){switch(o.label){case 0:return[4,this.generateKid(e)];case 1:return t=o.sent(),n=this.cryptoUtils.base64Encode(JSON.stringify(t)),r={kid:t.kid,reqCnfString:n},[4,this.cryptoUtils.hashString(n)];case 2:return[2,(r.reqCnfHash=o.sent(),r)]}}))}))},e.prototype.generateKid=function(e){return(0,Z.mG)(this,void 0,void 0,(function(){return(0,Z.Jh)(this,(function(t){switch(t.label){case 0:return[4,this.cryptoUtils.getPublicKeyThumbprint(e)];case 1:return[2,{kid:t.sent(),xms_ksl:Ln.SW}]}}))}))},e.prototype.signPopToken=function(e,t,n){return(0,Z.mG)(this,void 0,void 0,(function(){return(0,Z.Jh)(this,(function(r){return[2,this.signPayload(e,t,n)]}))}))},e.prototype.signPayload=function(e,t,n,r){return(0,Z.mG)(this,void 0,void 0,(function(){var o,i,a,s,c,u;return(0,Z.Jh)(this,(function(l){switch(l.label){case 0:return o=n.resourceRequestMethod,i=n.resourceRequestUri,a=n.shrClaims,s=n.shrNonce,c=i?new bn(i):void 0,u=null===c||void 0===c?void 0:c.getUrlComponents(),[4,this.cryptoUtils.signJwt((0,Z.pi)({at:e,ts:cn.nowSeconds(),m:null===o||void 0===o?void 0:o.toUpperCase(),u:null===u||void 0===u?void 0:u.HostNameAndPort,nonce:s||this.cryptoUtils.createNewGuid(),p:null===u||void 0===u?void 0:u.AbsolutePath,q:(null===u||void 0===u?void 0:u.QueryString)?[[],u.QueryString]:void 0,client_claims:a||void 0},r),t,n.correlationId)];case 1:return[2,l.sent()]}}))}))},e}(),Vn=function(){function e(e,t){this.cache=e,this.hasChanged=t}return Object.defineProperty(e.prototype,"cacheHasChanged",{get:function(){return this.hasChanged},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tokenCache",{get:function(){return this.cache},enumerable:!1,configurable:!0}),e}(),Yn=function(){function e(e,t,n,r,o,i){this.clientId=e,this.cacheStorage=t,this.cryptoObj=n,this.logger=r,this.serializableCache=o,this.persistencePlugin=i}return e.prototype.validateServerAuthorizationCodeResponse=function(e,t,n){if(!e.state||!t)throw e.state?kt.e.createStateNotFoundError("Cached State"):kt.e.createStateNotFoundError("Server State");if(decodeURIComponent(e.state)!==decodeURIComponent(t))throw kt.e.createStateMismatchError();if(e.error||e.error_description||e.suberror){if(ie.isInteractionRequiredError(e.error,e.error_description,e.suberror))throw new ie(e.error||$.gT.EMPTY_STRING,e.error_description,e.suberror);throw new ee(e.error||$.gT.EMPTY_STRING,e.error_description,e.suberror)}e.client_info&&Rt(e.client_info,n)},e.prototype.validateTokenResponse=function(e){if(e.error||e.error_description||e.suberror){if(ie.isInteractionRequiredError(e.error,e.error_description,e.suberror))throw new ie(e.error,e.error_description,e.suberror);var t=e.error_codes+" - ["+e.timestamp+"]: "+e.error_description+" - Correlation ID: "+e.correlation_id+" - Trace ID: "+e.trace_id;throw new ee(e.error,t,e.suberror)}},e.prototype.handleServerTokenResponse=function(t,n,r,o,i,a,s,c,u){return(0,Z.mG)(this,void 0,void 0,(function(){var l,d,f,h,p,g;return(0,Z.Jh)(this,(function(v){switch(v.label){case 0:if(t.id_token){if(l=new rn(t.id_token||$.gT.EMPTY_STRING,this.cryptoObj),i&&!ve.x.isEmpty(i.nonce)&&l.claims.nonce!==i.nonce)throw kt.e.createNonceMismatchError();if(o.maxAge||0===o.maxAge){if(!(d=l.claims.auth_time))throw kt.e.createAuthTimeNotFoundError();rn.checkMaxAge(d,o.maxAge)}}this.homeAccountIdentifier=Ot.generateHomeAccountId(t.client_info||$.gT.EMPTY_STRING,n.authorityType,this.logger,this.cryptoObj,l),i&&i.state&&(f=gn.parseRequestState(this.cryptoObj,i.state)),t.key_id=t.key_id||o.sshKid||void 0,h=this.generateCacheRecord(t,n,r,o,l,a,i),v.label=1;case 1:return v.trys.push([1,,5,8]),this.persistencePlugin&&this.serializableCache?(this.logger.verbose("Persistence enabled, calling beforeCacheAccess"),p=new Vn(this.serializableCache,!0),[4,this.persistencePlugin.beforeCacheAccess(p)]):[3,3];case 2:v.sent(),v.label=3;case 3:return!s||c||!h.account||(g=h.account.generateAccountKey(),this.cacheStorage.getAccount(g))?[4,this.cacheStorage.saveCacheRecord(h)]:(this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),[2,e.generateAuthenticationResult(this.cryptoObj,n,h,!1,o,l,f,void 0,u)]);case 4:return v.sent(),[3,8];case 5:return this.persistencePlugin&&this.serializableCache&&p?(this.logger.verbose("Persistence enabled, calling afterCacheAccess"),[4,this.persistencePlugin.afterCacheAccess(p)]):[3,7];case 6:v.sent(),v.label=7;case 7:return[7];case 8:return[2,e.generateAuthenticationResult(this.cryptoObj,n,h,!1,o,l,f,t.spa_code,u)]}}))}))},e.prototype.generateCacheRecord=function(e,t,n,r,o,i,a){var s,c,u=t.getPreferredCache();if(ve.x.isEmpty(u))throw kt.e.createInvalidCacheEnvironmentError();!ve.x.isEmpty(e.id_token)&&o&&(s=sn.createIdTokenEntity(this.homeAccountIdentifier,u,e.id_token||$.gT.EMPTY_STRING,this.clientId,o.claims.tid||$.gT.EMPTY_STRING),c=this.generateAccountEntity(e,o,t,a));var l=null;if(!ve.x.isEmpty(e.access_token)){var d=e.scope?nn.fromString(e.scope):new nn(r.scopes||[]),f=("string"===typeof e.expires_in?parseInt(e.expires_in,10):e.expires_in)||0,h=("string"===typeof e.ext_expires_in?parseInt(e.ext_expires_in,10):e.ext_expires_in)||0,p=("string"===typeof e.refresh_in?parseInt(e.refresh_in,10):e.refresh_in)||void 0,g=n+f,v=g+h,m=p&&p>0?n+p:void 0;l=un.createAccessTokenEntity(this.homeAccountIdentifier,u,e.access_token||$.gT.EMPTY_STRING,this.clientId,o?o.claims.tid||$.gT.EMPTY_STRING:t.tenant,d.printScopes(),g,v,this.cryptoObj,m,e.token_type,i,e.key_id,r.claims,r.requestedClaimsHash)}var y=null;ve.x.isEmpty(e.refresh_token)||(y=ln.createRefreshTokenEntity(this.homeAccountIdentifier,u,e.refresh_token||$.gT.EMPTY_STRING,this.clientId,e.foci,i));var b=null;return ve.x.isEmpty(e.foci)||(b=dn.createAppMetadataEntity(this.clientId,u,e.foci)),new Wn(c,s,l,y,b)},e.prototype.generateAccountEntity=function(e,t,n,r){var o=n.authorityType,i=r?r.cloud_graph_host_name:$.gT.EMPTY_STRING,a=r?r.msgraph_host:$.gT.EMPTY_STRING;if(o===bt.Adfs)return this.logger.verbose("Authority type is ADFS, creating ADFS account"),Ot.createGenericAccount(this.homeAccountIdentifier,t,n,i,a);if(ve.x.isEmpty(e.client_info)&&"AAD"===n.protocolMode)throw kt.e.createClientInfoEmptyError();return e.client_info?Ot.createAccount(e.client_info,this.homeAccountIdentifier,t,n,i,a):Ot.createGenericAccount(this.homeAccountIdentifier,t,n,i,a)},e.generateAuthenticationResult=function(e,t,n,r,o,i,a,s,c){var u,l,d;return(0,Z.mG)(this,void 0,void 0,(function(){var f,h,p,g,v,m,y,b,E,w,_;return(0,Z.Jh)(this,(function(S){switch(S.label){case 0:if(f=$.gT.EMPTY_STRING,h=[],p=null,v=$.gT.EMPTY_STRING,!n.accessToken)return[3,4];if(n.accessToken.tokenType!==$.hO.POP)return[3,2];if(m=new Jn(e),y=n.accessToken,b=y.secret,!(E=y.keyId))throw kt.e.createKeyIdMissingError();return[4,m.signPopToken(b,E,o)];case 1:return f=S.sent(),[3,3];case 2:f=n.accessToken.secret,S.label=3;case 3:h=nn.fromString(n.accessToken.target).asArray(),p=new Date(1e3*Number(n.accessToken.expiresOn)),g=new Date(1e3*Number(n.accessToken.extendedExpiresOn)),S.label=4;case 4:return n.appMetadata&&(v=n.appMetadata.familyId===$.ch?$.ch:$.gT.EMPTY_STRING),w=(null===i||void 0===i?void 0:i.claims.oid)||(null===i||void 0===i?void 0:i.claims.sub)||$.gT.EMPTY_STRING,_=(null===i||void 0===i?void 0:i.claims.tid)||$.gT.EMPTY_STRING,[2,{authority:t.canonicalAuthority,uniqueId:w,tenantId:_,scopes:h,account:n.account?n.account.getAccountInfo():null,idToken:i?i.rawToken:$.gT.EMPTY_STRING,idTokenClaims:i?i.claims:{},accessToken:f,fromCache:r,expiresOn:p,correlationId:o.correlationId,requestId:c||$.gT.EMPTY_STRING,extExpiresOn:g,familyId:v,tokenType:(null===(u=n.accessToken)||void 0===u?void 0:u.tokenType)||$.gT.EMPTY_STRING,state:a?a.userRequestState:$.gT.EMPTY_STRING,cloudGraphHostName:(null===(l=n.account)||void 0===l?void 0:l.cloudGraphHostName)||$.gT.EMPTY_STRING,msGraphHost:(null===(d=n.account)||void 0===d?void 0:d.msGraphHost)||$.gT.EMPTY_STRING,code:s,fromNativeBroker:!1}]}}))}))},e}(),Qn=function(e){function t(t){var n=e.call(this,t)||this;return n.includeRedirectUri=!0,n}return(0,Z.ZT)(t,e),t.prototype.getAuthCodeUrl=function(e){return(0,Z.mG)(this,void 0,void 0,(function(){var t;return(0,Z.Jh)(this,(function(n){switch(n.label){case 0:return[4,this.createAuthCodeUrlQueryString(e)];case 1:return t=n.sent(),[2,bn.appendQueryString(this.authority.authorizationEndpoint,t)]}}))}))},t.prototype.acquireToken=function(e,t){var n;return(0,Z.mG)(this,void 0,void 0,(function(){var r,o,i,a;return(0,Z.Jh)(this,(function(s){switch(s.label){case 0:if(this.logger.info("in acquireToken call"),!e||ve.x.isEmpty(e.code))throw kt.e.createTokenRequestCannotBeMadeError();return r=cn.nowSeconds(),[4,this.executeTokenRequest(this.authority,e)];case 1:return o=s.sent(),i=null===(n=o.headers)||void 0===n?void 0:n[$.SZ.X_MS_REQUEST_ID],(a=new Yn(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin)).validateTokenResponse(o.body),[4,a.handleServerTokenResponse(o.body,this.authority,r,e,t,void 0,void 0,void 0,i)];case 2:return[2,s.sent()]}}))}))},t.prototype.handleFragmentResponse=function(e,t){var n=new Yn(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null),r=new bn(e),o=bn.getDeserializedHash(r.getHash());if(n.validateServerAuthorizationCodeResponse(o,t,this.cryptoUtils),!o.code)throw kt.e.createNoAuthCodeInServerResponseError();return(0,Z.pi)((0,Z.pi)({},o),{code:o.code})},t.prototype.getLogoutUri=function(e){if(!e)throw tn.createEmptyLogoutRequestError();var t=this.createLogoutUrlQueryString(e);return bn.appendQueryString(this.authority.endSessionEndpoint,t)},t.prototype.executeTokenRequest=function(e,t){return(0,Z.mG)(this,void 0,void 0,(function(){var n,r,o,i,a,s,c;return(0,Z.Jh)(this,(function(u){switch(u.label){case 0:return n={clientId:this.config.authOptions.clientId,authority:e.canonicalAuthority,scopes:t.scopes,claims:t.claims,authenticationScheme:t.authenticationScheme,resourceRequestMethod:t.resourceRequestMethod,resourceRequestUri:t.resourceRequestUri,shrClaims:t.shrClaims,sshKid:t.sshKid},[4,this.createTokenRequestBody(t)];case 1:if(r=u.sent(),o=this.createTokenQueryParameters(t),i=void 0,t.clientInfo)try{a=Rt(t.clientInfo,this.cryptoUtils),i={credential:""+a.uid+$.Bv.CLIENT_INFO_SEPARATOR+a.utid,type:Pt.HOME_ACCOUNT_ID}}catch(l){this.logger.verbose("Could not parse client info for CCS Header: "+l)}return s=this.createTokenRequestHeaders(i||t.ccsCredential),c=ve.x.isEmpty(o)?e.tokenEndpoint:e.tokenEndpoint+"?"+o,[2,this.executePostToTokenEndpoint(c,r,s,n)]}}))}))},t.prototype.createTokenQueryParameters=function(e){var t=new Kn;return e.tokenQueryParameters&&t.addExtraQueryParameters(e.tokenQueryParameters),t.createQueryString()},t.prototype.createTokenRequestBody=function(e){return(0,Z.mG)(this,void 0,void 0,(function(){var t,n,r,o,i,a,s;return(0,Z.Jh)(this,(function(c){switch(c.label){case 0:return(t=new Kn).addClientId(this.config.authOptions.clientId),this.includeRedirectUri?t.addRedirectUri(e.redirectUri):Bn.validateRedirectUri(e.redirectUri),t.addScopes(e.scopes),t.addAuthorizationCode(e.code),t.addLibraryInfo(this.config.libraryInfo),t.addApplicationTelemetry(this.config.telemetry.application),t.addThrottling(),this.serverTelemetryManager&&t.addServerTelemetry(this.serverTelemetryManager),e.codeVerifier&&t.addCodeVerifier(e.codeVerifier),this.config.clientCredentials.clientSecret&&t.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(n=this.config.clientCredentials.clientAssertion,t.addClientAssertion(n.assertion),t.addClientAssertionType(n.assertionType)),t.addGrantType($.qJ.AUTHORIZATION_CODE_GRANT),t.addClientInfo(),e.authenticationScheme!==$.hO.POP?[3,2]:[4,new Jn(this.cryptoUtils).generateCnf(e)];case 1:return r=c.sent(),t.addPopToken(r.reqCnfString),[3,3];case 2:if(e.authenticationScheme===$.hO.SSH){if(!e.sshJwk)throw tn.createMissingSshJwkError();t.addSshJwk(e.sshJwk)}c.label=3;case 3:if(o=e.correlationId||this.config.cryptoInterface.createNewGuid(),t.addCorrelationId(o),(!ve.x.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&t.addClaims(e.claims,this.config.authOptions.clientCapabilities),i=void 0,e.clientInfo)try{a=Rt(e.clientInfo,this.cryptoUtils),i={credential:""+a.uid+$.Bv.CLIENT_INFO_SEPARATOR+a.utid,type:Pt.HOME_ACCOUNT_ID}}catch(u){this.logger.verbose("Could not parse client info for CCS Header: "+u)}else i=e.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&i)switch(i.type){case Pt.HOME_ACCOUNT_ID:try{a=At(i.credential),t.addCcsOid(a)}catch(u){this.logger.verbose("Could not parse home account ID for CCS Header: "+u)}break;case Pt.UPN:t.addCcsUpn(i.credential)}return e.tokenBodyParameters&&t.addExtraQueryParameters(e.tokenBodyParameters),!e.enableSpaAuthorizationCode||e.tokenBodyParameters&&e.tokenBodyParameters[$.Fo.RETURN_SPA_CODE]||t.addExtraQueryParameters(((s={})[$.Fo.RETURN_SPA_CODE]="1",s)),[2,t.createQueryString()]}}))}))},t.prototype.createAuthCodeUrlQueryString=function(e){return(0,Z.mG)(this,void 0,void 0,(function(){var t,n,r,o,i,a,s;return(0,Z.Jh)(this,(function(c){switch(c.label){case 0:if((t=new Kn).addClientId(this.config.authOptions.clientId),n=(0,Z.pr)(e.scopes||[],e.extraScopesToConsent||[]),t.addScopes(n),t.addRedirectUri(e.redirectUri),r=e.correlationId||this.config.cryptoInterface.createNewGuid(),t.addCorrelationId(r),t.addResponseMode(e.responseMode),t.addResponseTypeCode(),t.addLibraryInfo(this.config.libraryInfo),t.addApplicationTelemetry(this.config.telemetry.application),t.addClientInfo(),e.codeChallenge&&e.codeChallengeMethod&&t.addCodeChallengeParams(e.codeChallenge,e.codeChallengeMethod),e.prompt&&t.addPrompt(e.prompt),e.domainHint&&t.addDomainHint(e.domainHint),e.prompt!==$.NJ.SELECT_ACCOUNT)if(e.sid&&e.prompt===$.NJ.NONE)this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),t.addSid(e.sid);else if(e.account){if(o=this.extractAccountSid(e.account),i=this.extractLoginHint(e.account)){this.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),t.addLoginHint(i);try{a=At(e.account.homeAccountId),t.addCcsOid(a)}catch(u){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(o&&e.prompt===$.NJ.NONE){this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),t.addSid(o);try{a=At(e.account.homeAccountId),t.addCcsOid(a)}catch(u){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(e.loginHint)this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),t.addLoginHint(e.loginHint),t.addCcsUpn(e.loginHint);else if(e.account.username){this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),t.addLoginHint(e.account.username);try{a=At(e.account.homeAccountId),t.addCcsOid(a)}catch(u){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else e.loginHint&&(this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),t.addLoginHint(e.loginHint),t.addCcsUpn(e.loginHint));else this.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");return e.nonce&&t.addNonce(e.nonce),e.state&&t.addState(e.state),(!ve.x.isEmpty(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&t.addClaims(e.claims,this.config.authOptions.clientCapabilities),e.extraQueryParameters&&t.addExtraQueryParameters(e.extraQueryParameters),e.nativeBroker?(t.addNativeBroker(),e.authenticationScheme!==$.hO.POP?[3,2]:[4,new Jn(this.cryptoUtils).generateCnf(e)]):[3,2];case 1:s=c.sent(),t.addPopToken(s.reqCnfHash),c.label=2;case 2:return[2,t.createQueryString()]}}))}))},t.prototype.createLogoutUrlQueryString=function(e){var t=new Kn;return e.postLogoutRedirectUri&&t.addPostLogoutRedirectUri(e.postLogoutRedirectUri),e.correlationId&&t.addCorrelationId(e.correlationId),e.idTokenHint&&t.addIdTokenHint(e.idTokenHint),e.state&&t.addState(e.state),e.logoutHint&&t.addLogoutHint(e.logoutHint),e.extraQueryParameters&&t.addExtraQueryParameters(e.extraQueryParameters),t.createQueryString()},t.prototype.extractAccountSid=function(e){var t;return(null===(t=e.idTokenClaims)||void 0===t?void 0:t.sid)||null},t.prototype.extractLoginHint=function(e){var t;return(null===(t=e.idTokenClaims)||void 0===t?void 0:t.login_hint)||null},t}(zn);function $n(e){return e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("issuer")&&e.hasOwnProperty("jwks_uri")}var Zn={"https://login.microsoftonline.com/common/":{token_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/common/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/common/":{token_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/common/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/common/":{token_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/common/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"},"https://login.microsoftonline.com/consumers/":{token_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/consumers/":{token_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/consumers/":{token_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"},"https://login.microsoftonline.com/organizations/":{token_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/organizations/":{token_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/organizations/":{token_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"}},Xn={"https://login.microsoftonline.com/common/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/common/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/common/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.com/consumers/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/consumers/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/consumers/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.com/organizations/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/organizations/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/organizations/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]}};var er,tr=function(){function e(e){this.networkInterface=e}return e.prototype.detectRegion=function(t,n,r){return(0,Z.mG)(this,void 0,void 0,(function(){var o,i,a,s,c;return(0,Z.Jh)(this,(function(u){switch(u.label){case 0:if(o=t)return[3,8];i=e.IMDS_OPTIONS,r&&(i.proxyUrl=r),u.label=1;case 1:return u.trys.push([1,6,,7]),[4,this.getRegionFromIMDS($.gT.IMDS_VERSION,i)];case 2:return(a=u.sent()).status===$.YY.httpSuccess&&(o=a.body,n.region_source=$.W.IMDS),a.status!==$.YY.httpBadRequest?[3,5]:[4,this.getCurrentVersion(i)];case 3:return(s=u.sent())?[4,this.getRegionFromIMDS(s,i)]:(n.region_source=$.W.FAILED_AUTO_DETECTION,[2,null]);case 4:(c=u.sent()).status===$.YY.httpSuccess&&(o=c.body,n.region_source=$.W.IMDS),u.label=5;case 5:return[3,7];case 6:return u.sent(),n.region_source=$.W.FAILED_AUTO_DETECTION,[2,null];case 7:return[3,9];case 8:n.region_source=$.W.ENVIRONMENT_VARIABLE,u.label=9;case 9:return o||(n.region_source=$.W.FAILED_AUTO_DETECTION),[2,o||null]}}))}))},e.prototype.getRegionFromIMDS=function(e,t){return(0,Z.mG)(this,void 0,void 0,(function(){return(0,Z.Jh)(this,(function(n){return[2,this.networkInterface.sendGetRequestAsync($.gT.IMDS_ENDPOINT+"?api-version="+e+"&format=text",t,$.gT.IMDS_TIMEOUT)]}))}))},e.prototype.getCurrentVersion=function(e){return(0,Z.mG)(this,void 0,void 0,(function(){var t;return(0,Z.Jh)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.networkInterface.sendGetRequestAsync($.gT.IMDS_ENDPOINT+"?format=json",e)];case 1:return(t=n.sent()).status===$.YY.httpBadRequest&&t.body&&t.body["newest-versions"]&&t.body["newest-versions"].length>0?[2,t.body["newest-versions"][0]]:[2,null];case 2:return n.sent(),[2,null];case 3:return[2]}}))}))},e.IMDS_OPTIONS={headers:{Metadata:"true"}},e}(),nr=function(){function e(e,t,n,r,o){this.canonicalAuthority=e,this._canonicalAuthority.validateAsUri(),this.networkInterface=t,this.cacheManager=n,this.authorityOptions=r,this.regionDiscovery=new tr(t),this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.proxyUrl=o||$.gT.EMPTY_STRING}return Object.defineProperty(e.prototype,"authorityType",{get:function(){var e=this.canonicalAuthorityUrlComponents.PathSegments;if(e.length)switch(e[0].toLowerCase()){case $.gT.ADFS:return bt.Adfs;case $.gT.DSTS:return bt.Dsts}return bt.Default},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"protocolMode",{get:function(){return this.authorityOptions.protocolMode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.authorityOptions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canonicalAuthority",{get:function(){return this._canonicalAuthority.urlString},set:function(e){this._canonicalAuthority=new bn(e),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canonicalAuthorityUrlComponents",{get:function(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hostnameAndPort",{get:function(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tenant",{get:function(){return this.canonicalAuthorityUrlComponents.PathSegments[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"authorizationEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.authorization_endpoint);return this.replaceTenant(e)}throw kt.e.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tokenEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.token_endpoint);return this.replaceTenant(e)}throw kt.e.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"deviceCodeEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));return this.replaceTenant(e)}throw kt.e.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endSessionEndpoint",{get:function(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw kt.e.createLogoutNotSupportedError();var e=this.replacePath(this.metadata.end_session_endpoint);return this.replaceTenant(e)}throw kt.e.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selfSignedJwtAudience",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.issuer);return this.replaceTenant(e)}throw kt.e.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"jwksUri",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.jwks_uri);return this.replaceTenant(e)}throw kt.e.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),e.prototype.replaceTenant=function(e){return e.replace(/{tenant}|{tenantid}/g,this.tenant)},e.prototype.replacePath=function(e){var t=e,n=new bn(this.metadata.canonical_authority).getUrlComponents().PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((function(e,r){var o=n[r];e!==o&&(t=t.replace("/"+o+"/","/"+e+"/"))})),t},Object.defineProperty(e.prototype,"defaultOpenIdConfigurationEndpoint",{get:function(){return this.authorityType===bt.Adfs||this.authorityType===bt.Dsts||this.protocolMode===vn.OIDC?this.canonicalAuthority+".well-known/openid-configuration":this.canonicalAuthority+"v2.0/.well-known/openid-configuration"},enumerable:!1,configurable:!0}),e.prototype.discoveryComplete=function(){return!!this.metadata},e.prototype.resolveEndpointsAsync=function(){return(0,Z.mG)(this,void 0,void 0,(function(){var e,t,n,r;return(0,Z.Jh)(this,(function(o){switch(o.label){case 0:return(e=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort))||(e=new hn).updateCanonicalAuthority(this.canonicalAuthority),[4,this.updateCloudDiscoveryMetadata(e)];case 1:return t=o.sent(),this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,e.preferred_network),[4,this.updateEndpointMetadata(e)];case 2:return n=o.sent(),t!==$.pQ.CACHE&&n!==$.pQ.CACHE&&(e.resetExpiresAt(),e.updateCanonicalAuthority(this.canonicalAuthority)),r=this.cacheManager.generateAuthorityMetadataCacheKey(e.preferred_cache),this.cacheManager.setAuthorityMetadata(r,e),this.metadata=e,[2]}}))}))},e.prototype.updateEndpointMetadata=function(e){var t,n;return(0,Z.mG)(this,void 0,void 0,(function(){var r,o;return(0,Z.Jh)(this,(function(i){switch(i.label){case 0:return(r=this.getEndpointMetadataFromConfig())?(e.updateEndpointMetadata(r,!1),[2,$.pQ.CONFIG]):this.isAuthoritySameType(e)&&e.endpointsFromNetwork&&!e.isExpired()?[2,$.pQ.CACHE]:(o=this.getEndpointMetadataFromHardcodedValues(),[4,this.getEndpointMetadataFromNetwork()]);case 1:return(r=i.sent())?(null===(t=this.authorityOptions.azureRegionConfiguration)||void 0===t?void 0:t.azureRegion)?[4,this.updateMetadataWithRegionalInformation(r)]:[3,3]:[3,4];case 2:r=i.sent(),i.label=3;case 3:return e.updateEndpointMetadata(r,!0),[2,$.pQ.NETWORK];case 4:return!o||this.authorityOptions.skipAuthorityMetadataCache?[3,7]:(null===(n=this.authorityOptions.azureRegionConfiguration)||void 0===n?void 0:n.azureRegion)?[4,this.updateMetadataWithRegionalInformation(o)]:[3,6];case 5:o=i.sent(),i.label=6;case 6:return e.updateEndpointMetadata(o,!1),[2,$.pQ.HARDCODED_VALUES];case 7:throw kt.e.createUnableToGetOpenidConfigError(this.defaultOpenIdConfigurationEndpoint)}}))}))},e.prototype.isAuthoritySameType=function(e){return new bn(e.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length},e.prototype.getEndpointMetadataFromConfig=function(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch(e){throw tn.createInvalidAuthorityMetadataError()}return null},e.prototype.getEndpointMetadataFromNetwork=function(){return(0,Z.mG)(this,void 0,void 0,(function(){var e,t;return(0,Z.Jh)(this,(function(n){switch(n.label){case 0:e={},this.proxyUrl&&(e.proxyUrl=this.proxyUrl),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(this.defaultOpenIdConfigurationEndpoint,e)];case 2:return[2,$n((t=n.sent()).body)?t.body:null];case 3:return n.sent(),[2,null];case 4:return[2]}}))}))},e.prototype.getEndpointMetadataFromHardcodedValues=function(){return this.canonicalAuthority in Zn?Zn[this.canonicalAuthority]:null},e.prototype.updateMetadataWithRegionalInformation=function(t){var n,r,o,i,a;return(0,Z.mG)(this,void 0,void 0,(function(){var s,c;return(0,Z.Jh)(this,(function(u){switch(u.label){case 0:return[4,this.regionDiscovery.detectRegion(null===(n=this.authorityOptions.azureRegionConfiguration)||void 0===n?void 0:n.environmentRegion,this.regionDiscoveryMetadata,this.proxyUrl)];case 1:return s=u.sent(),c=(null===(r=this.authorityOptions.azureRegionConfiguration)||void 0===r?void 0:r.azureRegion)===$.gT.AZURE_REGION_AUTO_DISCOVER_FLAG?s:null===(o=this.authorityOptions.azureRegionConfiguration)||void 0===o?void 0:o.azureRegion,(null===(i=this.authorityOptions.azureRegionConfiguration)||void 0===i?void 0:i.azureRegion)===$.gT.AZURE_REGION_AUTO_DISCOVER_FLAG?this.regionDiscoveryMetadata.region_outcome=s?$.ki.AUTO_DETECTION_REQUESTED_SUCCESSFUL:$.ki.AUTO_DETECTION_REQUESTED_FAILED:this.regionDiscoveryMetadata.region_outcome=s?(null===(a=this.authorityOptions.azureRegionConfiguration)||void 0===a?void 0:a.azureRegion)===s?$.ki.CONFIGURED_MATCHES_DETECTED:$.ki.CONFIGURED_NOT_DETECTED:$.ki.CONFIGURED_NO_AUTO_DETECTION,c?(this.regionDiscoveryMetadata.region_used=c,[2,e.replaceWithRegionalInformation(t,c)]):[2,t]}}))}))},e.prototype.updateCloudDiscoveryMetadata=function(e){return(0,Z.mG)(this,void 0,void 0,(function(){var t,n;return(0,Z.Jh)(this,(function(r){switch(r.label){case 0:return(t=this.getCloudDiscoveryMetadataFromConfig())?(e.updateCloudDiscoveryMetadata(t,!1),[2,$.pQ.CONFIG]):this.isAuthoritySameType(e)&&e.aliasesFromNetwork&&!e.isExpired()?[2,$.pQ.CACHE]:(n=this.getCloudDiscoveryMetadataFromHarcodedValues(),[4,this.getCloudDiscoveryMetadataFromNetwork()]);case 1:if(t=r.sent())return e.updateCloudDiscoveryMetadata(t,!0),[2,$.pQ.NETWORK];if(n&&!this.options.skipAuthorityMetadataCache)return e.updateCloudDiscoveryMetadata(n,!1),[2,$.pQ.HARDCODED_VALUES];throw tn.createUntrustedAuthorityError()}}))}))},e.prototype.getCloudDiscoveryMetadataFromConfig=function(){if(this.authorityOptions.cloudDiscoveryMetadata)try{var t=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),n=e.getCloudDiscoveryMetadataFromNetworkResponse(t.metadata,this.hostnameAndPort);if(n)return n}catch(r){throw tn.createInvalidCloudDiscoveryMetadataError()}return this.isInKnownAuthorities()?e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort):null},e.prototype.getCloudDiscoveryMetadataFromNetwork=function(){return(0,Z.mG)(this,void 0,void 0,(function(){var t,n,r,o,i;return(0,Z.Jh)(this,(function(a){switch(a.label){case 0:t=""+$.gT.AAD_INSTANCE_DISCOVERY_ENDPT+this.canonicalAuthority+"oauth2/v2.0/authorize",n={},this.proxyUrl&&(n.proxyUrl=this.proxyUrl),r=null,a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(t,n)];case 2:return o=a.sent(),i=function(e){return e.hasOwnProperty("tenant_discovery_endpoint")&&e.hasOwnProperty("metadata")}(o.body)?o.body.metadata:[],0===i.length?[2,null]:(r=e.getCloudDiscoveryMetadataFromNetworkResponse(i,this.hostnameAndPort),[3,4]);case 3:return a.sent(),[2,null];case 4:return r||(r=e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)),[2,r]}}))}))},e.prototype.getCloudDiscoveryMetadataFromHarcodedValues=function(){return this.canonicalAuthority in Xn?Xn[this.canonicalAuthority]:null},e.prototype.isInKnownAuthorities=function(){var e=this;return this.authorityOptions.knownAuthorities.filter((function(t){return bn.getDomainFromUrl(t).toLowerCase()===e.hostnameAndPort})).length>0},e.generateAuthority=function(e,t){var n;if(t&&t.azureCloudInstance!==mn.None){var r=t.tenant?t.tenant:$.gT.DEFAULT_COMMON_TENANT;n=t.azureCloudInstance+"/"+r+"/"}return n||e},e.createCloudDiscoveryMetadataFromHost=function(e){return{preferred_network:e,preferred_cache:e,aliases:[e]}},e.getCloudDiscoveryMetadataFromNetworkResponse=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.aliases.indexOf(t)>-1)return r}return null},e.prototype.getPreferredCache=function(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw kt.e.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},e.prototype.isAlias=function(e){return this.metadata.aliases.indexOf(e)>-1},e.isPublicCloudAuthority=function(e){return $.gT.KNOWN_PUBLIC_CLOUDS.indexOf(e)>=0},e.buildRegionalAuthorityString=function(e,t,n){var r=new bn(e);r.validateAsUri();var o=r.getUrlComponents(),i=t+"."+o.HostNameAndPort;this.isPublicCloudAuthority(o.HostNameAndPort)&&(i=t+"."+$.gT.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX);var a=bn.constructAuthorityUriFromObject((0,Z.pi)((0,Z.pi)({},r.getUrlComponents()),{HostNameAndPort:i})).urlString;return n?a+"?"+n:a},e.replaceWithRegionalInformation=function(t,n){return t.authorization_endpoint=e.buildRegionalAuthorityString(t.authorization_endpoint,n),t.token_endpoint=e.buildRegionalAuthorityString(t.token_endpoint,n,$.gT.REGIONAL_AUTH_NON_MSI_QUERY_STRING),t.end_session_endpoint&&(t.end_session_endpoint=e.buildRegionalAuthorityString(t.end_session_endpoint,n)),t},e}(),rr=function(){function e(){}return e.createDiscoveredInstance=function(t,n,r,o,i){return(0,Z.mG)(this,void 0,void 0,(function(){var a,s;return(0,Z.Jh)(this,(function(c){switch(c.label){case 0:a=e.createInstance(t,n,r,o,i),c.label=1;case 1:return c.trys.push([1,3,,4]),[4,a.resolveEndpointsAsync()];case 2:return c.sent(),[2,a];case 3:throw s=c.sent(),kt.e.createEndpointDiscoveryIncompleteError(s);case 4:return[2]}}))}))},e.createInstance=function(e,t,n,r,o){if(ve.x.isEmpty(e))throw tn.createUrlEmptyError();return new nr(e,t,n,r,o)},e}(),or=function(){function e(e,t){this.cacheOutcome=$.To.NO_CACHE_HIT,this.cacheManager=t,this.apiId=e.apiId,this.correlationId=e.correlationId,this.wrapperSKU=e.wrapperSKU||$.gT.EMPTY_STRING,this.wrapperVer=e.wrapperVer||$.gT.EMPTY_STRING,this.telemetryCacheKey=$.HN.CACHE_KEY+$.Bv.CACHE_KEY_SEPARATOR+e.clientId}return e.prototype.generateCurrentRequestHeaderValue=function(){var e=""+this.apiId+$.HN.VALUE_SEPARATOR+this.cacheOutcome,t=[this.wrapperSKU,this.wrapperVer].join($.HN.VALUE_SEPARATOR),n=[e,this.getRegionDiscoveryFields()].join($.HN.VALUE_SEPARATOR);return[$.HN.SCHEMA_VERSION,n,t].join($.HN.CATEGORY_SEPARATOR)},e.prototype.generateLastRequestHeaderValue=function(){var t=this.getLastRequests(),n=e.maxErrorsToSend(t),r=t.failedRequests.slice(0,2*n).join($.HN.VALUE_SEPARATOR),o=t.errors.slice(0,n).join($.HN.VALUE_SEPARATOR),i=t.errors.length,a=[i,n<i?$.HN.OVERFLOW_TRUE:$.HN.OVERFLOW_FALSE].join($.HN.VALUE_SEPARATOR);return[$.HN.SCHEMA_VERSION,t.cacheHits,r,o,a].join($.HN.CATEGORY_SEPARATOR)},e.prototype.cacheFailedRequest=function(e){var t=this.getLastRequests();t.errors.length>=$.HN.MAX_CACHED_ERRORS&&(t.failedRequests.shift(),t.failedRequests.shift(),t.errors.shift()),t.failedRequests.push(this.apiId,this.correlationId),ve.x.isEmpty(e.subError)?ve.x.isEmpty(e.errorCode)?e&&e.toString()?t.errors.push(e.toString()):t.errors.push($.HN.UNKNOWN_ERROR):t.errors.push(e.errorCode):t.errors.push(e.subError),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,t)},e.prototype.incrementCacheHits=function(){var e=this.getLastRequests();return e.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,e),e.cacheHits},e.prototype.getLastRequests=function(){var e=new fn;return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||e},e.prototype.clearTelemetryCache=function(){var t=this.getLastRequests(),n=e.maxErrorsToSend(t);if(n===t.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{var r=new fn;r.failedRequests=t.failedRequests.slice(2*n),r.errors=t.errors.slice(n),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,r)}},e.maxErrorsToSend=function(e){var t,n=0,r=0,o=e.errors.length;for(t=0;t<o;t++){var i=e.failedRequests[2*t]||$.gT.EMPTY_STRING,a=e.failedRequests[2*t+1]||$.gT.EMPTY_STRING,s=e.errors[t]||$.gT.EMPTY_STRING;if(!((r+=i.toString().length+a.toString().length+s.length+3)<$.HN.MAX_LAST_HEADER_BYTES))break;n+=1}return n},e.prototype.getRegionDiscoveryFields=function(){var e=[];return e.push(this.regionUsed||$.gT.EMPTY_STRING),e.push(this.regionSource||$.gT.EMPTY_STRING),e.push(this.regionOutcome||$.gT.EMPTY_STRING),e.join(",")},e.prototype.updateRegionDiscoveryMetadata=function(e){this.regionUsed=e.region_used,this.regionSource=e.region_source,this.regionOutcome=e.region_outcome},e.prototype.setCacheOutcome=function(e){this.cacheOutcome=e},e}(),ir=function(){function e(e,t,n,r,o,i,a,s,c){this.config=e,this.browserStorage=t,this.browserCrypto=n,this.networkClient=this.config.system.networkClient,this.eventHandler=o,this.navigationClient=i,this.nativeMessageHandler=s,this.correlationId=c||this.browserCrypto.createNewGuid(),this.logger=r.clone(ae.qx.MSAL_SKU,Hn,this.correlationId),this.performanceClient=a}return e.prototype.clearCacheOnLogout=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(t){switch(t.label){case 0:if(!e)return[3,5];Ot.accountInfoIsEqual(e,this.browserStorage.getActiveAccount(),!1)&&(this.logger.verbose("Setting active account to null"),this.browserStorage.setActiveAccount(null)),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.browserStorage.removeAccount(Ot.generateAccountCacheKey(e))];case 2:return t.sent(),this.logger.verbose("Cleared cache items belonging to the account provided in the logout request."),[3,4];case 3:return t.sent(),this.logger.error("Account provided in logout request was not found. Local cache unchanged."),[3,4];case 4:return[3,9];case 5:return t.trys.push([5,8,,9]),this.logger.verbose("No account provided in logout request, clearing all cache items.",this.correlationId),[4,this.browserStorage.clear()];case 6:return t.sent(),[4,this.browserCrypto.clearKeystore()];case 7:return t.sent(),[3,9];case 8:return t.sent(),this.logger.error("Attempted to clear all MSAL cache items and failed. Local cache unchanged."),[3,9];case 9:return[2]}}))}))},e.prototype.initializeBaseRequest=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o;return(0,Y.Jh)(this,(function(i){switch(i.label){case 0:if(this.logger.verbose("Initializing BaseAuthRequest"),t=e.authority||this.config.auth.authority,n=(0,Y.fl)(e&&e.scopes||[]),(r=(0,Y.pi)((0,Y.pi)({},e),{correlationId:this.correlationId,authority:t,scopes:n})).authenticationScheme){if(r.authenticationScheme===$.hO.SSH){if(!e.sshJwk)throw tn.createMissingSshJwkError();if(!e.sshKid)throw tn.createMissingSshKidError()}this.logger.verbose('Authentication Scheme set to "'+r.authenticationScheme+'" as configured in Auth request')}else r.authenticationScheme=$.hO.BEARER,this.logger.verbose('Authentication Scheme wasn\'t explicitly set in request, defaulting to "Bearer" request');return!e.claims||ve.x.isEmpty(e.claims)?[3,2]:(o=r,[4,this.browserCrypto.hashString(e.claims)]);case 1:o.requestedClaimsHash=i.sent(),i.label=2;case 2:return[2,r]}}))}))},e.prototype.getRedirectUri=function(e){this.logger.verbose("getRedirectUri called");var t=e||this.config.auth.redirectUri||xn.getCurrentUri();return bn.getAbsoluteUrl(t,xn.getCurrentUri())},e.prototype.initializeServerTelemetryManager=function(e,t){this.logger.verbose("initializeServerTelemetryManager called");var n={clientId:this.config.auth.clientId,correlationId:this.correlationId,apiId:e,forceRefresh:t||!1,wrapperSKU:this.browserStorage.getWrapperMetadata()[0],wrapperVer:this.browserStorage.getWrapperMetadata()[1]};return new or(n,this.browserStorage)},e.prototype.getDiscoveredAuthority=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t;return(0,Y.Jh)(this,(function(n){switch(n.label){case 0:return this.logger.verbose("getDiscoveredAuthority called"),t={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata},e?(this.logger.verbose("Creating discovered authority with request authority"),[4,rr.createDiscoveredInstance(e,this.config.system.networkClient,this.browserStorage,t)]):[3,2];case 1:case 3:return[2,n.sent()];case 2:return this.logger.verbose("Creating discovered authority with configured authority"),[4,rr.createDiscoveredInstance(this.config.auth.authority,this.config.system.networkClient,this.browserStorage,t)]}}))}))},e}(),ar=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,Y.ZT)(t,e),t.prototype.initializeAuthorizationCodeRequest=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n;return(0,Y.Jh)(this,(function(r){switch(r.label){case 0:return this.logger.verbose("initializeAuthorizationRequest called",e.correlationId),[4,this.browserCrypto.generatePkceCodes()];case 1:return t=r.sent(),n=(0,Y.pi)((0,Y.pi)({},e),{redirectUri:e.redirectUri,code:$.gT.EMPTY_STRING,codeVerifier:t.verifier}),e.codeChallenge=t.challenge,e.codeChallengeMethod=$.gT.S256_CODE_CHALLENGE_METHOD,[2,n]}}))}))},t.prototype.initializeLogoutRequest=function(e){this.logger.verbose("initializeLogoutRequest called",null===e||void 0===e?void 0:e.correlationId);var t=(0,Y.pi)({correlationId:this.correlationId||this.browserCrypto.createNewGuid()},e);if(e)if(e.logoutHint)this.logger.verbose("logoutHint has already been set in logoutRequest");else if(e.account){var n=this.getLogoutHintFromIdTokenClaims(e.account);n&&(this.logger.verbose("Setting logoutHint to login_hint ID Token Claim value for the account provided"),t.logoutHint=n)}else this.logger.verbose("logoutHint was not set and account was not passed into logout request, logoutHint will not be set");else this.logger.verbose("logoutHint will not be set since no logout request was configured");return e&&null===e.postLogoutRedirectUri?this.logger.verbose("postLogoutRedirectUri passed as null, not setting post logout redirect uri",t.correlationId):e&&e.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request",t.correlationId),t.postLogoutRedirectUri=bn.getAbsoluteUrl(e.postLogoutRedirectUri,xn.getCurrentUri())):null===this.config.auth.postLogoutRedirectUri?this.logger.verbose("postLogoutRedirectUri configured as null and no uri set on request, not passing post logout redirect",t.correlationId):this.config.auth.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to configured uri",t.correlationId),t.postLogoutRedirectUri=bn.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,xn.getCurrentUri())):(this.logger.verbose("Setting postLogoutRedirectUri to current page",t.correlationId),t.postLogoutRedirectUri=bn.getAbsoluteUrl(xn.getCurrentUri(),xn.getCurrentUri())),t},t.prototype.getLogoutHintFromIdTokenClaims=function(e){var t=e.idTokenClaims;if(t){if(t.login_hint)return t.login_hint;this.logger.verbose("The ID Token Claims tied to the provided account do not contain a login_hint claim, logoutHint will not be added to logout request")}else this.logger.verbose("The provided account does not contain ID Token Claims, logoutHint will not be added to logout request");return null},t.prototype.createAuthCodeClient=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){var r;return(0,Y.Jh)(this,(function(o){switch(o.label){case 0:return[4,this.getClientConfiguration(e,t,n)];case 1:return r=o.sent(),[2,new Qn(r)]}}))}))},t.prototype.getClientConfiguration=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){var r;return(0,Y.Jh)(this,(function(o){switch(o.label){case 0:return this.logger.verbose("getClientConfiguration called",this.correlationId),[4,this.getDiscoveredAuthority(t,n)];case 1:return r=o.sent(),[2,{authOptions:{clientId:this.config.auth.clientId,authority:r,clientCapabilities:this.config.auth.clientCapabilities},systemOptions:{tokenRenewalOffsetSeconds:this.config.system.tokenRenewalOffsetSeconds,preventCorsPreflight:!0},loggerOptions:{loggerCallback:this.config.system.loggerOptions.loggerCallback,piiLoggingEnabled:this.config.system.loggerOptions.piiLoggingEnabled,logLevel:this.config.system.loggerOptions.logLevel,correlationId:this.correlationId},cryptoInterface:this.browserCrypto,networkInterface:this.networkClient,storageInterface:this.browserStorage,serverTelemetryManager:e,libraryInfo:{sku:ae.qx.MSAL_SKU,version:Hn,cpu:$.gT.EMPTY_STRING,os:$.gT.EMPTY_STRING},telemetry:this.config.telemetry}]}}))}))},t.prototype.validateAndExtractStateFromHash=function(e,t,n){if(this.logger.verbose("validateAndExtractStateFromHash called",n),!e.state)throw st.createHashDoesNotContainStateError();var r=En.extractBrowserRequestState(this.browserCrypto,e.state);if(!r)throw st.createUnableToParseStateError();if(r.interactionType!==t)throw st.createStateInteractionTypeMismatchError();return this.logger.verbose("Returning state from hash",n),e.state},t.prototype.getDiscoveredAuthority=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){var n,r,o,i;return(0,Y.Jh)(this,(function(a){switch(a.label){case 0:return this.logger.verbose("getDiscoveredAuthority called",this.correlationId),n=this.performanceClient.startMeasurement(j.StandardInteractionClientGetDiscoveredAuthority,this.correlationId),r={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache},o=e||this.config.auth.authority,i=nr.generateAuthority(o,t||this.config.auth.azureCloudOptions),this.logger.verbose("Creating discovered authority with configured authority",this.correlationId),[4,rr.createDiscoveredInstance(i,this.config.system.networkClient,this.browserStorage,r).then((function(e){return n.endMeasurement({success:!0}),e})).catch((function(e){throw n.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),e}))];case 1:return[2,a.sent()]}}))}))},t.prototype.initializeAuthorizationRequest=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){var n,r,o,i,a,s,c;return(0,Y.Jh)(this,(function(u){switch(u.label){case 0:return this.logger.verbose("initializeAuthorizationRequest called",this.correlationId),n=this.getRedirectUri(e.redirectUri),r={interactionType:t},o=gn.setRequestState(this.browserCrypto,e&&e.state||$.gT.EMPTY_STRING,r),a=[{}],[4,this.initializeBaseRequest(e)];case 1:return i=Y.pi.apply(void 0,[Y.pi.apply(void 0,a.concat([u.sent()])),{redirectUri:n,state:o,nonce:e.nonce||this.browserCrypto.createNewGuid(),responseMode:$.vw.FRAGMENT}]),(s=e.account||this.browserStorage.getActiveAccount())&&(this.logger.verbose("Setting validated request account",this.correlationId),this.logger.verbosePii("Setting validated request account: "+s.homeAccountId,this.correlationId),i.account=s),ve.x.isEmpty(i.loginHint)&&!s&&(c=this.browserStorage.getLegacyLoginHint())&&(i.loginHint=c),[2,i]}}))}))},t}(ir);!function(e){e.USER_INTERACTION_REQUIRED="USER_INTERACTION_REQUIRED",e.USER_CANCEL="USER_CANCEL",e.NO_NETWORK="NO_NETWORK",e.TRANSIENT_ERROR="TRANSIENT_ERROR",e.PERSISTENT_ERROR="PERSISTENT_ERROR",e.DISABLED="DISABLED",e.ACCOUNT_UNAVAILABLE="ACCOUNT_UNAVAILABLE"}(er||(er={}));var sr={code:"ContentError"},cr={code:"user_switch",desc:"User attempted to switch accounts in the native broker, which is not allowed. All new accounts must sign-in through the standard web flow first, please try again."},ur={code:"tokens_not_found_in_internal_memory_cache",desc:"Tokens not cached in MSAL JS internal memory, please make the WAM request"},lr=function(e){function t(n,r,o){var i=e.call(this,n,r)||this;return Object.setPrototypeOf(i,t.prototype),i.name="NativeAuthError",i.ext=o,i}return(0,Y.ZT)(t,e),t.prototype.isFatal=function(){return!(!this.ext||!this.ext.status||this.ext.status!==er.PERSISTENT_ERROR&&this.ext.status!==er.DISABLED)||this.errorCode===sr.code},t.createError=function(e,n,r){if(r&&r.status)switch(r.status){case er.ACCOUNT_UNAVAILABLE:return ie.createNativeAccountUnavailableError();case er.USER_INTERACTION_REQUIRED:return new ie(e,n);case er.USER_CANCEL:return st.createUserCancelledError();case er.NO_NETWORK:return st.createNoNetworkConnectivityError()}return new t(e,n,r)},t.createUserSwitchError=function(){return new t(cr.code,cr.desc)},t.createTokensNotFoundInCacheError=function(){return new t(ur.code,ur.desc)},t}(X.l),dr=function(e){function t(t,n){return e.call(this,t,n)||this}return(0,Z.ZT)(t,e),t.prototype.acquireToken=function(e){var t,n,r;return(0,Z.mG)(this,void 0,void 0,(function(){var o,i,a,s,c,u=this;return(0,Z.Jh)(this,(function(l){switch(l.label){case 0:return o=null===(t=this.performanceClient)||void 0===t?void 0:t.startMeasurement(j.RefreshTokenClientAcquireToken,e.correlationId),this.logger.verbose("RefreshTokenClientAcquireToken called",e.correlationId),i=cn.nowSeconds(),[4,this.executeTokenRequest(e,this.authority)];case 1:return a=l.sent(),null===o||void 0===o||o.addStaticFields({refreshTokenSize:(null===(n=a.body.refresh_token)||void 0===n?void 0:n.length)||0}),s=null===(r=a.headers)||void 0===r?void 0:r[$.SZ.X_MS_REQUEST_ID],(c=new Yn(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin)).validateTokenResponse(a.body),[2,c.handleServerTokenResponse(a.body,this.authority,i,e,void 0,void 0,!0,e.forceCache,s).then((function(e){return null===o||void 0===o||o.endMeasurement({success:!0}),e})).catch((function(t){throw u.logger.verbose("Error in fetching refresh token",e.correlationId),null===o||void 0===o||o.endMeasurement({errorCode:t.errorCode,subErrorCode:t.subError,success:!1}),t}))]}}))}))},t.prototype.acquireTokenByRefreshToken=function(e){return(0,Z.mG)(this,void 0,void 0,(function(){var t,n;return(0,Z.Jh)(this,(function(r){if(!e)throw tn.createEmptyTokenRequestError();if(!e.account)throw kt.e.createNoAccountInSilentRequestError();if(this.cacheManager.isAppMetadataFOCI(e.account.environment,this.config.authOptions.clientId))try{return[2,this.acquireTokenWithCachedRefreshToken(e,!0)]}catch(o){if(t=o instanceof ie&&o.errorCode===re.code,n=o instanceof ee&&o.errorCode===$.D1.INVALID_GRANT_ERROR&&o.subError===$.D1.CLIENT_MISMATCH_ERROR,t||n)return[2,this.acquireTokenWithCachedRefreshToken(e,!1)];throw o}return[2,this.acquireTokenWithCachedRefreshToken(e,!1)]}))}))},t.prototype.acquireTokenWithCachedRefreshToken=function(e,t){var n;return(0,Z.mG)(this,void 0,void 0,(function(){var r,o,i;return(0,Z.Jh)(this,(function(a){if(r=null===(n=this.performanceClient)||void 0===n?void 0:n.startMeasurement(j.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),this.logger.verbose("RefreshTokenClientAcquireTokenWithCachedRefreshToken called",e.correlationId),!(o=this.cacheManager.readRefreshTokenFromCache(this.config.authOptions.clientId,e.account,t)))throw null===r||void 0===r||r.discardMeasurement(),ie.createNoTokensFoundError();return null===r||void 0===r||r.endMeasurement({success:!0}),i=(0,Z.pi)((0,Z.pi)({},e),{refreshToken:o.secret,authenticationScheme:e.authenticationScheme||$.hO.BEARER,ccsCredential:{credential:e.account.homeAccountId,type:Pt.HOME_ACCOUNT_ID}}),[2,this.acquireToken(i)]}))}))},t.prototype.executeTokenRequest=function(e,t){var n;return(0,Z.mG)(this,void 0,void 0,(function(){var r,o,i,a,s,c;return(0,Z.Jh)(this,(function(u){switch(u.label){case 0:return r=null===(n=this.performanceClient)||void 0===n?void 0:n.startMeasurement(j.RefreshTokenClientExecuteTokenRequest,e.correlationId),[4,this.createTokenRequestBody(e)];case 1:return o=u.sent(),i=this.createTokenQueryParameters(e),a=this.createTokenRequestHeaders(e.ccsCredential),s={clientId:this.config.authOptions.clientId,authority:t.canonicalAuthority,scopes:e.scopes,claims:e.claims,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshKid:e.sshKid},c=bn.appendQueryString(t.tokenEndpoint,i),[2,this.executePostToTokenEndpoint(c,o,a,s).then((function(e){return null===r||void 0===r||r.endMeasurement({success:!0}),e})).catch((function(e){throw null===r||void 0===r||r.endMeasurement({success:!1}),e}))]}}))}))},t.prototype.createTokenQueryParameters=function(e){var t=new Kn;return e.tokenQueryParameters&&t.addExtraQueryParameters(e.tokenQueryParameters),t.createQueryString()},t.prototype.createTokenRequestBody=function(e){var t;return(0,Z.mG)(this,void 0,void 0,(function(){var n,r,o,i,a,s;return(0,Z.Jh)(this,(function(c){switch(c.label){case 0:return n=e.correlationId,r=null===(t=this.performanceClient)||void 0===t?void 0:t.startMeasurement(j.BaseClientCreateTokenRequestHeaders,n),(o=new Kn).addClientId(this.config.authOptions.clientId),o.addScopes(e.scopes),o.addGrantType($.qJ.REFRESH_TOKEN_GRANT),o.addClientInfo(),o.addLibraryInfo(this.config.libraryInfo),o.addApplicationTelemetry(this.config.telemetry.application),o.addThrottling(),this.serverTelemetryManager&&o.addServerTelemetry(this.serverTelemetryManager),o.addCorrelationId(n),o.addRefreshToken(e.refreshToken),this.config.clientCredentials.clientSecret&&o.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(i=this.config.clientCredentials.clientAssertion,o.addClientAssertion(i.assertion),o.addClientAssertionType(i.assertionType)),e.authenticationScheme!==$.hO.POP?[3,2]:[4,new Jn(this.cryptoUtils).generateCnf(e)];case 1:return a=c.sent(),o.addPopToken(a.reqCnfString),[3,3];case 2:if(e.authenticationScheme===$.hO.SSH){if(!e.sshJwk)throw null===r||void 0===r||r.endMeasurement({success:!1}),tn.createMissingSshJwkError();o.addSshJwk(e.sshJwk)}c.label=3;case 3:if((!ve.x.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&o.addClaims(e.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&e.ccsCredential)switch(e.ccsCredential.type){case Pt.HOME_ACCOUNT_ID:try{s=At(e.ccsCredential.credential),o.addCcsOid(s)}catch(u){this.logger.verbose("Could not parse home account ID for CCS Header: "+u)}break;case Pt.UPN:o.addCcsUpn(e.ccsCredential.credential)}return null===r||void 0===r||r.endMeasurement({success:!0}),[2,o.createQueryString()]}}))}))},t}(zn),fr=function(e){function t(t,n){return e.call(this,t,n)||this}return(0,Z.ZT)(t,e),t.prototype.acquireToken=function(e){return(0,Z.mG)(this,void 0,void 0,(function(){var t;return(0,Z.Jh)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.acquireCachedToken(e)];case 1:return[2,n.sent()];case 2:if((t=n.sent())instanceof kt.e&&t.errorCode===kt.A.tokenRefreshRequired.code)return[2,new dr(this.config,this.performanceClient).acquireTokenByRefreshToken(e)];throw t;case 3:return[2]}}))}))},t.prototype.acquireCachedToken=function(e){var t,n,r,o;return(0,Z.mG)(this,void 0,void 0,(function(){var i,a;return(0,Z.Jh)(this,(function(s){switch(s.label){case 0:if(!e)throw tn.createEmptyTokenRequestError();if(e.forceRefresh)throw null===(t=this.serverTelemetryManager)||void 0===t||t.setCacheOutcome($.To.FORCE_REFRESH),this.logger.info("SilentFlowClient:acquireCachedToken - Skipping cache because forceRefresh is true."),kt.e.createRefreshRequiredError();if(!e.account)throw kt.e.createNoAccountInSilentRequestError();if(i=e.authority||this.authority.getPreferredCache(),!(a=this.cacheManager.readCacheRecord(e.account,this.config.authOptions.clientId,e,i)).accessToken)throw null===(n=this.serverTelemetryManager)||void 0===n||n.setCacheOutcome($.To.NO_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties."),kt.e.createRefreshRequiredError();if(cn.wasClockTurnedBack(a.accessToken.cachedAt)||cn.isTokenExpired(a.accessToken.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw null===(r=this.serverTelemetryManager)||void 0===r||r.setCacheOutcome($.To.CACHED_ACCESS_TOKEN_EXPIRED),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token is expired or will expire within "+this.config.systemOptions.tokenRenewalOffsetSeconds+" seconds."),kt.e.createRefreshRequiredError();if(a.accessToken.refreshOn&&cn.isTokenExpired(a.accessToken.refreshOn,0))throw null===(o=this.serverTelemetryManager)||void 0===o||o.setCacheOutcome($.To.REFRESH_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'."),kt.e.createRefreshRequiredError();return this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[4,this.generateResultFromCacheRecord(a,e)];case 1:return[2,s.sent()]}}))}))},t.prototype.generateResultFromCacheRecord=function(e,t){return(0,Z.mG)(this,void 0,void 0,(function(){var n,r;return(0,Z.Jh)(this,(function(o){switch(o.label){case 0:if(e.idToken&&(n=new rn(e.idToken.secret,this.config.cryptoInterface)),t.maxAge||0===t.maxAge){if(!(r=null===n||void 0===n?void 0:n.claims.auth_time))throw kt.e.createAuthTimeNotFoundError();rn.checkMaxAge(r,t.maxAge)}return[4,Yn.generateAuthenticationResult(this.cryptoUtils,this.authority,e,!0,t,n)];case 1:return[2,o.sent()]}}))}))},t}(zn),hr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,Y.ZT)(t,e),t.prototype.acquireToken=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i;return(0,Y.Jh)(this,(function(a){switch(a.label){case 0:return t=this.performanceClient.startMeasurement(j.SilentCacheClientAcquireToken,e.correlationId),n=this.initializeServerTelemetryManager(ae.WN.acquireTokenSilent_silentFlow),[4,this.createSilentFlowClient(n,e.authority,e.azureCloudOptions)];case 1:r=a.sent(),this.logger.verbose("Silent auth client created"),a.label=2;case 2:return a.trys.push([2,4,,5]),[4,r.acquireCachedToken(e)];case 3:return o=a.sent(),t.endMeasurement({success:!0,fromCache:!0}),[2,o];case 4:throw(i=a.sent())instanceof st&&i.errorCode===$e.code&&this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),t.endMeasurement({errorCode:i instanceof X.l&&i.errorCode||void 0,subErrorCode:i instanceof X.l&&i.subError||void 0,success:!1}),i;case 5:return[2]}}))}))},t.prototype.logout=function(){return Promise.reject(st.createSilentLogoutUnsupportedError())},t.prototype.createSilentFlowClient=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){var r;return(0,Y.Jh)(this,(function(o){switch(o.label){case 0:return[4,this.getClientConfiguration(e,t,n)];case 1:return r=o.sent(),[2,new fr(r,this.performanceClient)]}}))}))},t.prototype.initializeSilentRequest=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){var n;return(0,Y.Jh)(this,(function(r){switch(r.label){case 0:return n=[(0,Y.pi)({},e)],[4,this.initializeBaseRequest(e)];case 1:return[2,Y.pi.apply(void 0,[Y.pi.apply(void 0,n.concat([r.sent()])),{account:t,forceRefresh:e.forceRefresh||!1}])]}}))}))},t}(ar),pr=function(e){function t(t,n,r,o,i,a,s,c,u,l,d,f){var h=e.call(this,t,n,r,o,i,a,c,u,f)||this;return h.apiId=s,h.accountId=l,h.nativeMessageHandler=u,h.nativeStorageManager=d,h.silentCacheClient=new hr(t,h.nativeStorageManager,r,o,i,a,c,u,f),h}return(0,Y.ZT)(t,e),t.prototype.acquireToken=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i,a,s;return(0,Y.Jh)(this,(function(c){switch(c.label){case 0:return this.logger.trace("NativeInteractionClient - acquireToken called."),t=this.performanceClient.startMeasurement(j.NativeInteractionClientAcquireToken,e.correlationId),n=cn.nowSeconds(),[4,this.initializeNativeRequest(e)];case 1:r=c.sent(),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,this.acquireTokensFromCache(this.accountId,r)];case 3:return o=c.sent(),t.endMeasurement({success:!0,isNativeBroker:!1,fromCache:!0}),[2,o];case 4:return c.sent(),this.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call"),[3,5];case 5:return i={method:ae.Ky.GetToken,request:r},[4,this.nativeMessageHandler.sendMessage(i)];case 6:return a=c.sent(),s=this.validateNativeResponse(a),[2,this.handleNativeResponse(s,r,n).then((function(e){return t.endMeasurement({success:!0,isNativeBroker:!0,requestId:e.requestId}),e})).catch((function(e){throw t.endMeasurement({success:!1,errorCode:e.errorCode,subErrorCode:e.subError,isNativeBroker:!0}),e}))]}}))}))},t.prototype.createSilentCacheRequest=function(e,t){return{authority:e.authority,correlationId:this.correlationId,scopes:nn.fromString(e.scope).asArray(),account:t,forceRefresh:!1}},t.prototype.acquireTokensFromCache=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){var n,r,o;return(0,Y.Jh)(this,(function(i){switch(i.label){case 0:if(!(n=this.browserStorage.readAccountFromCacheWithNativeAccountId(e)))throw kt.e.createNoAccountFoundError();r=n.getAccountInfo(),i.label=1;case 1:return i.trys.push([1,3,,4]),o=this.createSilentCacheRequest(t,r),[4,this.silentCacheClient.acquireToken(o)];case 2:return[2,i.sent()];case 3:throw i.sent();case 4:return[2]}}))}))},t.prototype.acquireTokenRedirect=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i,a;return(0,Y.Jh)(this,(function(s){switch(s.label){case 0:return this.logger.trace("NativeInteractionClient - acquireTokenRedirect called."),[4,this.initializeNativeRequest(e)];case 1:t=s.sent(),n={method:ae.Ky.GetToken,request:t},s.label=2;case 2:return s.trys.push([2,4,,5]),[4,this.nativeMessageHandler.sendMessage(n)];case 3:return r=s.sent(),this.validateNativeResponse(r),[3,5];case 4:if((o=s.sent())instanceof lr&&o.isFatal())throw o;return[3,5];case 5:return this.browserStorage.setTemporaryCache(ae.c4.NATIVE_REQUEST,JSON.stringify(t),!0),i={apiId:ae.WN.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},a=this.config.auth.navigateToLoginRequestUrl?window.location.href:this.getRedirectUri(e.redirectUri),[4,this.navigationClient.navigateExternal(a,i)];case 6:return s.sent(),[2]}}))}))},t.prototype.handleRedirectPromise=function(){return(0,Y.mG)(this,void 0,void 0,(function(){var e,t,n,r,o,i,a,s;return(0,Y.Jh)(this,(function(c){switch(c.label){case 0:if(this.logger.trace("NativeInteractionClient - handleRedirectPromise called."),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),[2,null];if(!(e=this.browserStorage.getCachedNativeRequest()))return this.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."),[2,null];t=e.prompt,n=(0,Y._T)(e,["prompt"]),t&&this.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(ae.c4.NATIVE_REQUEST)),r={method:ae.Ky.GetToken,request:n},o=cn.nowSeconds(),c.label=1;case 1:return c.trys.push([1,3,,4]),this.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker."),[4,this.nativeMessageHandler.sendMessage(r)];case 2:return i=c.sent(),this.validateNativeResponse(i),a=this.handleNativeResponse(i,n,o),this.browserStorage.setInteractionInProgress(!1),[2,a];case 3:throw s=c.sent(),this.browserStorage.setInteractionInProgress(!1),s;case 4:return[2]}}))}))},t.prototype.logout=function(){return this.logger.trace("NativeInteractionClient - logout called."),Promise.reject("Logout not implemented yet")},t.prototype.handleNativeResponse=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){var r,o,i,a,s,c,u,l,d,f,h,p,g,v,m,y,b,E,w,_=this;return(0,Y.Jh)(this,(function(S){switch(S.label){case 0:if(this.logger.trace("NativeInteractionClient - handleNativeResponse called."),r=this.getMATSFromResponse(e),this.performanceClient.addStaticFields({extensionId:this.nativeMessageHandler.getExtensionId(),extensionVersion:this.nativeMessageHandler.getExtensionVersion(),matsBrokerVersion:r?r.broker_version:void 0,matsAccountJoinOnStart:r?r.account_join_on_start:void 0,matsAccountJoinOnEnd:r?r.account_join_on_end:void 0,matsDeviceJoin:r?r.device_join:void 0,matsPromptBehavior:r?r.prompt_behavior:void 0,matsApiErrorCode:r?r.api_error_code:void 0,matsUiVisible:r?r.ui_visible:void 0,matsSilentCode:r?r.silent_code:void 0,matsSilentBiSubCode:r?r.silent_bi_sub_code:void 0,matsSilentMessage:r?r.silent_message:void 0,matsSilentStatus:r?r.silent_status:void 0,matsHttpStatus:r?r.http_status:void 0,matsHttpEventCount:r?r.http_event_count:void 0},this.correlationId),e.account.id!==t.accountId)throw lr.createUserSwitchError();return o=new rn(e.id_token||$.gT.EMPTY_STRING,this.browserCrypto),[4,this.getDiscoveredAuthority(t.authority)];case 1:return i=S.sent(),a=i.getPreferredCache(),s=Ot.generateHomeAccountId(e.client_info||$.gT.EMPTY_STRING,bt.Default,this.logger,this.browserCrypto,o),c=Ot.createAccount(e.client_info,s,o,void 0,void 0,void 0,a,e.account.id),this.browserStorage.setAccount(c),u=e.scope?nn.fromString(e.scope):nn.fromString(t.scope),l=e.account.properties||{},d=l.UID||o.claims.oid||o.claims.sub||$.gT.EMPTY_STRING,f=l.TenantId||o.claims.tid||$.gT.EMPTY_STRING,p=$.hO.BEARER,t.tokenType===$.hO.POP?[3,2]:[3,4];case 2:if(p=$.hO.POP,e.shr)return this.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"),h=e.shr,[3,5];if(g=new Jn(this.browserCrypto),v={resourceRequestMethod:t.resourceRequestMethod,resourceRequestUri:t.resourceRequestUri,shrClaims:t.shrClaims,shrNonce:t.shrNonce},!t.keyId)throw kt.e.createKeyIdMissingError();return[4,g.signPopToken(e.access_token,t.keyId,v)];case 3:return h=S.sent(),[3,5];case 4:h=e.access_token,S.label=5;case 5:return m={authority:i.canonicalAuthority,uniqueId:d,tenantId:f,scopes:u.asArray(),account:c.getAccountInfo(),idToken:e.id_token,idTokenClaims:o.claims,accessToken:h,fromCache:!!r&&this.isResponseFromCache(r),expiresOn:new Date(1e3*Number(n+e.expires_in)),tokenType:p,correlationId:this.correlationId,state:e.state,fromNativeBroker:!0},y=sn.createIdTokenEntity(s,t.authority,e.id_token||$.gT.EMPTY_STRING,t.clientId,o.claims.tid||$.gT.EMPTY_STRING),this.nativeStorageManager.setIdTokenCredential(y),b=p===$.hO.POP?$.gT.SHR_NONCE_VALIDITY:("string"===typeof e.expires_in?parseInt(e.expires_in,10):e.expires_in)||0,E=n+b,w=un.createAccessTokenEntity(s,t.authority,h,t.clientId,f,u.printScopes(),E,0,this.browserCrypto),this.nativeStorageManager.setAccessTokenCredential(w),this.browserStorage.removeAccountContext(c).catch((function(e){_.logger.error("Error occurred while removing account context from browser storage. "+e)})),[2,m]}}))}))},t.prototype.validateNativeResponse=function(e){if(e.hasOwnProperty("access_token")&&e.hasOwnProperty("id_token")&&e.hasOwnProperty("client_info")&&e.hasOwnProperty("account")&&e.hasOwnProperty("scope")&&e.hasOwnProperty("expires_in"))return e;throw lr.createUnexpectedError("Response missing expected properties.")},t.prototype.getMATSFromResponse=function(e){if(e.properties.MATS)try{return JSON.parse(e.properties.MATS)}catch(t){this.logger.error("NativeInteractionClient - Error parsing MATS telemetry, returning null instead")}return null},t.prototype.isResponseFromCache=function(e){return"undefined"===typeof e.is_cached?(this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."),!1):!!e.is_cached},t.prototype.initializeNativeRequest=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,c,u,l=this;return(0,Y.Jh)(this,(function(d){switch(d.label){case 0:return this.logger.trace("NativeInteractionClient - initializeNativeRequest called"),t=e.authority||this.config.auth.authority,(n=new bn(t)).validateAsUri(),r=e.scopes,o=(0,Y._T)(e,["scopes"]),(i=new nn(r||[])).appendScopes($.f_),a=function(){switch(l.apiId){case ae.WN.ssoSilent:case ae.WN.acquireTokenSilent_silentFlow:return l.logger.trace("initializeNativeRequest: silent request sets prompt to none"),$.NJ.NONE}if(e.prompt)switch(e.prompt){case $.NJ.NONE:case $.NJ.CONSENT:case $.NJ.LOGIN:return l.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),e.prompt;default:throw l.logger.trace("initializeNativeRequest: prompt = "+e.prompt+" is not compatible with native flow"),st.createNativePromptParameterNotSupportedError()}else l.logger.trace("initializeNativeRequest: prompt was not provided")},s=(0,Y.pi)((0,Y.pi)({},o),{accountId:this.accountId,clientId:this.config.auth.clientId,authority:n.urlString,scope:i.printScopes(),redirectUri:this.getRedirectUri(e.redirectUri),prompt:a(),correlationId:this.correlationId,tokenType:e.authenticationScheme,windowTitleSubstring:document.title,extraParameters:(0,Y.pi)((0,Y.pi)((0,Y.pi)({},e.extraQueryParameters),e.tokenQueryParameters),{telemetry:ae.BD.MATS_TELEMETRY}),extendedExpiryToken:!1}),e.authenticationScheme!==$.hO.POP?[3,2]:(c={resourceRequestUri:e.resourceRequestUri,resourceRequestMethod:e.resourceRequestMethod,shrClaims:e.shrClaims,shrNonce:e.shrNonce},[4,new Jn(this.browserCrypto).generateCnf(c)]);case 1:u=d.sent(),s.reqCnf=u.reqCnfHash,s.keyId=u.kid,d.label=2;case 2:return[2,s]}}))}))},t}(ir),gr=function(){function e(e,t,n){this.logger=e,this.handshakeTimeoutMs=t,this.extensionId=n,this.resolvers=new Map,this.handshakeResolvers=new Map,this.responseId=0,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this)}return e.prototype.sendMessage=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n=this;return(0,Y.Jh)(this,(function(r){return this.logger.trace("NativeMessageHandler - sendMessage called."),t={channel:ae.BD.CHANNEL_ID,extensionId:this.extensionId,responseId:this.responseId++,body:e},this.logger.trace("NativeMessageHandler - Sending request to browser extension"),this.logger.tracePii("NativeMessageHandler - Sending request to browser extension: "+JSON.stringify(t)),this.messageChannel.port1.postMessage(t),[2,new Promise((function(e,r){n.resolvers.set(t.responseId,{resolve:e,reject:r})}))]}))}))},e.createProvider=function(t,n){return(0,Y.mG)(this,void 0,void 0,(function(){var r,o;return(0,Y.Jh)(this,(function(i){switch(i.label){case 0:t.trace("NativeMessageHandler - createProvider called."),i.label=1;case 1:return i.trys.push([1,3,,5]),[4,(r=new e(t,n,ae.BD.PREFERRED_EXTENSION_ID)).sendHandshakeRequest()];case 2:return i.sent(),[2,r];case 3:return i.sent(),[4,(o=new e(t,n)).sendHandshakeRequest()];case 4:return i.sent(),[2,o];case 5:return[2]}}))}))},e.prototype.sendHandshakeRequest=function(){return(0,Y.mG)(this,void 0,void 0,(function(){var e,t=this;return(0,Y.Jh)(this,(function(n){return this.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",this.windowListener,!1),e={channel:ae.BD.CHANNEL_ID,extensionId:this.extensionId,responseId:this.responseId++,body:{method:ae.Ky.HandshakeRequest}},this.messageChannel.port1.onmessage=function(e){t.onChannelMessage(e)},window.postMessage(e,window.origin,[this.messageChannel.port2]),[2,new Promise((function(n,r){t.handshakeResolvers.set(e.responseId,{resolve:n,reject:r}),t.timeoutId=window.setTimeout((function(){window.removeEventListener("message",t.windowListener,!1),t.messageChannel.port1.close(),t.messageChannel.port2.close(),r(st.createNativeHandshakeTimeoutError()),t.handshakeResolvers.delete(e.responseId)}),t.handshakeTimeoutMs)}))]}))}))},e.prototype.onWindowMessage=function(e){if(this.logger.trace("NativeMessageHandler - onWindowMessage called"),e.source===window){var t=e.data;if(t.channel&&t.channel===ae.BD.CHANNEL_ID&&(!t.extensionId||t.extensionId===this.extensionId)&&t.body.method===ae.Ky.HandshakeRequest){this.logger.verbose(t.extensionId?"Extension with id: "+t.extensionId+" not installed":"No extension installed"),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1);var n=this.handshakeResolvers.get(t.responseId);n&&n.reject(st.createNativeExtensionNotInstalledError())}}},e.prototype.onChannelMessage=function(e){this.logger.trace("NativeMessageHandler - onChannelMessage called.");var t=e.data,n=this.resolvers.get(t.responseId),r=this.handshakeResolvers.get(t.responseId);try{var o=t.body.method;if(o===ae.Ky.Response){if(!n)return;var i=t.body.response;if(this.logger.trace("NativeMessageHandler - Received response from browser extension"),this.logger.tracePii("NativeMessageHandler - Received response from browser extension: "+JSON.stringify(i)),"Success"!==i.status)n.reject(lr.createError(i.code,i.description,i.ext));else{if(!i.result)throw X.l.createUnexpectedError("Event does not contain result.");i.result.code&&i.result.description?n.reject(lr.createError(i.result.code,i.result.description,i.result.ext)):n.resolve(i.result)}this.resolvers.delete(t.responseId)}else if(o===ae.Ky.HandshakeResponse){if(!r)return;clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=t.extensionId,this.extensionVersion=t.body.version,this.logger.verbose("NativeMessageHandler - Received HandshakeResponse from extension: "+this.extensionId),r.resolve(),this.handshakeResolvers.delete(t.responseId)}}catch(a){this.logger.error("Error parsing response from WAM Extension"),this.logger.errorPii("Error parsing response from WAM Extension: "+a.toString()),this.logger.errorPii("Unable to parse "+e),n?n.reject(a):r&&r.reject(a)}},e.prototype.getExtensionId=function(){return this.extensionId},e.prototype.getExtensionVersion=function(){return this.extensionVersion},e.isNativeAvailable=function(e,t,n,r){if(t.trace("isNativeAvailable called"),!e.system.allowNativeBroker)return t.trace("isNativeAvailable: allowNativeBroker is not enabled, returning false"),!1;if(!n)return t.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"),!1;if(r)switch(r){case $.hO.BEARER:case $.hO.POP:return t.trace("isNativeAvailable: authenticationScheme is supported, returning true"),!0;default:return t.trace("isNativeAvailable: authenticationScheme is not supported, returning false"),!1}return!0},e}(),vr=function(){function e(e,t,n,r){this.authModule=e,this.browserStorage=t,this.authCodeRequest=n,this.logger=r}return e.prototype.handleCodeResponseFromHash=function(e,t,n,r){return(0,Y.mG)(this,void 0,void 0,(function(){var o,i,a;return(0,Y.Jh)(this,(function(s){if(this.logger.verbose("InteractionHandler.handleCodeResponse called"),ve.x.isEmpty(e))throw st.createEmptyHashError(e);if(o=this.browserStorage.generateStateKey(t),!(i=this.browserStorage.getTemporaryCache(o)))throw kt.e.createStateNotFoundError("Cached State");try{a=this.authModule.handleFragmentResponse(e,i)}catch(c){throw c instanceof ee&&c.subError===Ae.code?st.createUserCancelledError():c}return[2,this.handleCodeResponseFromServer(a,t,n,r)]}))}))},e.prototype.handleCodeResponseFromServer=function(e,t,n,r,o){return void 0===o&&(o=!0),(0,Y.mG)(this,void 0,void 0,(function(){var i,a,s,c,u,l;return(0,Y.Jh)(this,(function(d){switch(d.label){case 0:if(this.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),i=this.browserStorage.generateStateKey(t),!(a=this.browserStorage.getTemporaryCache(i)))throw kt.e.createStateNotFoundError("Cached State");return s=this.browserStorage.generateNonceKey(a),c=this.browserStorage.getTemporaryCache(s),this.authCodeRequest.code=e.code,e.cloud_instance_host_name?[4,this.updateTokenEndpointAuthority(e.cloud_instance_host_name,n,r)]:[3,2];case 1:d.sent(),d.label=2;case 2:return o&&(e.nonce=c||void 0),e.state=a,e.client_info?this.authCodeRequest.clientInfo=e.client_info:(u=this.checkCcsCredentials())&&(this.authCodeRequest.ccsCredential=u),[4,this.authModule.acquireToken(this.authCodeRequest,e)];case 3:return l=d.sent(),this.browserStorage.cleanRequestByState(t),[2,l]}}))}))},e.prototype.updateTokenEndpointAuthority=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){var r,o;return(0,Y.Jh)(this,(function(i){switch(i.label){case 0:return r="https://"+e+"/"+t.tenant+"/",[4,rr.createDiscoveredInstance(r,n,this.browserStorage,t.options)];case 1:return o=i.sent(),this.authModule.updateAuthority(o),[2]}}))}))},e.prototype.checkCcsCredentials=function(){var e=this.browserStorage.getTemporaryCache(ae.c4.CCS_CREDENTIAL,!0);if(e)try{return JSON.parse(e)}catch(t){this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii("Cache credential could not be parsed: "+e)}return null},e}(),mr=function(e){function t(t,n,r,o,i,a,s,c,u,l){var d=e.call(this,t,n,r,o,i,a,s,u,l)||this;return d.unloadWindow=d.unloadWindow.bind(d),d.nativeStorage=c,d}return(0,Y.ZT)(t,e),t.prototype.acquireToken=function(e){try{var t=this.generatePopupName(e.scopes||$.f_,e.authority||this.config.auth.authority),n=e.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(e,t,n);this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");var r=this.openSizedPopup("about:blank",t,n);return this.acquireTokenPopupAsync(e,t,n,r)}catch(o){return Promise.reject(o)}},t.prototype.logout=function(e){try{this.logger.verbose("logoutPopup called");var t=this.initializeLogoutRequest(e),n=this.generateLogoutPopupName(t),r=e&&e.authority,o=e&&e.mainWindowRedirectUri,i=(null===e||void 0===e?void 0:e.popupWindowAttributes)||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(t,n,i,r,void 0,o);this.logger.verbose("asyncPopup set to false, opening popup");var a=this.openSizedPopup("about:blank",n,i);return this.logoutPopupAsync(t,n,i,r,a,o)}catch(s){return Promise.reject(s)}},t.prototype.acquireTokenPopupAsync=function(e,t,n,r){return(0,Y.mG)(this,void 0,void 0,(function(){var o,i,a,s,c,u,l,d,f,h,p,g,v,m,y,b,E=this;return(0,Y.Jh)(this,(function(w){switch(w.label){case 0:return this.logger.verbose("acquireTokenPopupAsync called"),o=this.initializeServerTelemetryManager(ae.WN.acquireTokenPopup),[4,this.initializeAuthorizationRequest(e,ae.s_.Popup)];case 1:i=w.sent(),this.browserStorage.updateCacheEntries(i.state,i.nonce,i.authority,i.loginHint||$.gT.EMPTY_STRING,i.account||null),w.label=2;case 2:return w.trys.push([2,8,,9]),[4,this.initializeAuthorizationCodeRequest(i)];case 3:return a=w.sent(),[4,this.createAuthCodeClient(o,i.authority,i.azureCloudOptions)];case 4:return s=w.sent(),this.logger.verbose("Auth code client created"),c=gr.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,e.authenticationScheme),u=void 0,c&&(u=this.performanceClient.startMeasurement(j.FetchAccountIdWithNativeBroker,e.correlationId)),[4,s.getAuthCodeUrl((0,Y.pi)((0,Y.pi)({},i),{nativeBroker:c}))];case 5:return l=w.sent(),d=new vr(s,this.browserStorage,a,this.logger),f={popup:r,popupName:t,popupWindowAttributes:n},h=this.initiateAuthRequest(l,f),this.eventHandler.emitEvent(qn.t.POPUP_OPENED,ae.s_.Popup,{popupWindow:h},null),[4,this.monitorPopupForHash(h)];case 6:if(p=w.sent(),g=bn.getDeserializedHash(p),v=this.validateAndExtractStateFromHash(g,ae.s_.Popup,i.correlationId),jn.removeThrottle(this.browserStorage,this.config.auth.clientId,a),g.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),u&&u.endMeasurement({success:!0,isNativeBroker:!0}),!this.nativeMessageHandler)throw st.createNativeConnectionNotEstablishedError();return m=new pr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,ae.WN.acquireTokenPopup,this.performanceClient,this.nativeMessageHandler,g.accountId,this.nativeStorage,i.correlationId),y=gn.parseRequestState(this.browserCrypto,v).userRequestState,[2,m.acquireToken((0,Y.pi)((0,Y.pi)({},i),{state:y,prompt:void 0})).finally((function(){E.browserStorage.cleanRequestByState(v)}))]}return[4,d.handleCodeResponseFromHash(p,v,s.authority,this.networkClient)];case 7:return[2,w.sent()];case 8:throw b=w.sent(),r&&r.close(),b instanceof X.l&&b.setCorrelationId(this.correlationId),o.cacheFailedRequest(b),this.browserStorage.cleanRequestByState(i.state),b;case 9:return[2]}}))}))},t.prototype.logoutPopupAsync=function(e,t,n,r,o,i){return(0,Y.mG)(this,void 0,void 0,(function(){var a,s,c,u,l,d,f;return(0,Y.Jh)(this,(function(h){switch(h.label){case 0:this.logger.verbose("logoutPopupAsync called"),this.eventHandler.emitEvent(qn.t.LOGOUT_START,ae.s_.Popup,e),a=this.initializeServerTelemetryManager(ae.WN.logoutPopup),h.label=1;case 1:return h.trys.push([1,5,,6]),[4,this.clearCacheOnLogout(e.account)];case 2:return h.sent(),[4,this.createAuthCodeClient(a,r)];case 3:return s=h.sent(),this.logger.verbose("Auth code client created"),c=s.getLogoutUri(e),this.eventHandler.emitEvent(qn.t.LOGOUT_SUCCESS,ae.s_.Popup,e),u=this.openPopup(c,{popupName:t,popupWindowAttributes:n,popup:o}),this.eventHandler.emitEvent(qn.t.POPUP_OPENED,ae.s_.Popup,{popupWindow:u},null),[4,this.waitForLogoutPopup(u)];case 4:return h.sent(),i?(l={apiId:ae.WN.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},d=bn.getAbsoluteUrl(i,xn.getCurrentUri()),this.logger.verbose("Redirecting main window to url specified in the request"),this.logger.verbosePii("Redirecting main window to: "+d),this.navigationClient.navigateInternal(d,l)):this.logger.verbose("No main window navigation requested"),[3,6];case 5:throw f=h.sent(),o&&o.close(),f instanceof X.l&&f.setCorrelationId(this.correlationId),this.browserStorage.setInteractionInProgress(!1),this.eventHandler.emitEvent(qn.t.LOGOUT_FAILURE,ae.s_.Popup,null,f),this.eventHandler.emitEvent(qn.t.LOGOUT_END,ae.s_.Popup),a.cacheFailedRequest(f),f;case 6:return this.eventHandler.emitEvent(qn.t.LOGOUT_END,ae.s_.Popup),[2]}}))}))},t.prototype.initiateAuthRequest=function(e,t){if(ve.x.isEmpty(e))throw this.logger.error("Navigate url is empty"),st.createEmptyNavigationUriError();return this.logger.infoPii("Navigate to: "+e),this.openPopup(e,t)},t.prototype.monitorPopupForHash=function(e){var t=this;return new Promise((function(n,r){var o=t.config.system.windowHashTimeout/t.config.system.pollIntervalMilliseconds,i=0;t.logger.verbose("PopupHandler.monitorPopupForHash - polling started");var a=setInterval((function(){if(e.closed)return t.logger.error("PopupHandler.monitorPopupForHash - window closed"),t.cleanPopup(),clearInterval(a),void r(st.createUserCancelledError());var s=$.gT.EMPTY_STRING,c=$.gT.EMPTY_STRING;try{s=e.location.href,c=e.location.hash}catch(u){}ve.x.isEmpty(s)||"about:blank"===s||(t.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"),i++,c?(t.logger.verbose("PopupHandler.monitorPopupForHash - found hash in url"),clearInterval(a),t.cleanPopup(e),bn.hashContainsKnownProperties(c)?(t.logger.verbose("PopupHandler.monitorPopupForHash - hash contains known properties, returning."),n(c)):(t.logger.error("PopupHandler.monitorPopupForHash - found hash in url but it does not contain known properties. Check that your router is not changing the hash prematurely."),t.logger.errorPii("PopupHandler.monitorPopupForHash - hash found: "+c),r(st.createHashDoesNotContainKnownPropertiesError()))):i>o&&(t.logger.error("PopupHandler.monitorPopupForHash - unable to find hash in url, timing out"),clearInterval(a),r(st.createMonitorPopupTimeoutError())))}),t.config.system.pollIntervalMilliseconds)}))},t.prototype.waitForLogoutPopup=function(e){var t=this;return new Promise((function(n){t.logger.verbose("PopupHandler.waitForLogoutPopup - polling started");var r=setInterval((function(){e.closed&&(t.logger.error("PopupHandler.waitForLogoutPopup - window closed"),t.cleanPopup(),clearInterval(r),n());var o=$.gT.EMPTY_STRING;try{o=e.location.href}catch(i){}ve.x.isEmpty(o)||"about:blank"===o||(t.logger.verbose("PopupHandler.waitForLogoutPopup - popup window is on same origin as caller, closing."),clearInterval(r),t.cleanPopup(e),n())}),t.config.system.pollIntervalMilliseconds)}))},t.prototype.openPopup=function(e,t){try{var n=void 0;if(t.popup?(n=t.popup,this.logger.verbosePii("Navigating popup window to: "+e),n.location.assign(e)):"undefined"===typeof t.popup&&(this.logger.verbosePii("Opening popup window to: "+e),n=this.openSizedPopup(e,t.popupName,t.popupWindowAttributes)),!n)throw st.createEmptyWindowCreatedError();return n.focus&&n.focus(),this.currentWindow=n,window.addEventListener("beforeunload",this.unloadWindow),n}catch(r){throw this.logger.error("error opening popup "+r.message),this.browserStorage.setInteractionInProgress(!1),st.createPopupWindowError(r.toString())}},t.prototype.openSizedPopup=function(e,t,n){var r,o,i,a,s=window.screenLeft?window.screenLeft:window.screenX,c=window.screenTop?window.screenTop:window.screenY,u=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,l=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,d=null===(r=n.popupSize)||void 0===r?void 0:r.width,f=null===(o=n.popupSize)||void 0===o?void 0:o.height,h=null===(i=n.popupPosition)||void 0===i?void 0:i.top,p=null===(a=n.popupPosition)||void 0===a?void 0:a.left;return(!d||d<0||d>u)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),d=ae.qx.POPUP_WIDTH),(!f||f<0||f>l)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),f=ae.qx.POPUP_HEIGHT),(!h||h<0||h>l)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),h=Math.max(0,l/2-ae.qx.POPUP_HEIGHT/2+c)),(!p||p<0||p>u)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),p=Math.max(0,u/2-ae.qx.POPUP_WIDTH/2+s)),window.open(e,t,"width="+d+", height="+f+", top="+h+", left="+p+", scrollbars=yes")},t.prototype.unloadWindow=function(e){this.browserStorage.cleanRequestByInteractionType(ae.s_.Popup),this.currentWindow&&this.currentWindow.close(),e.preventDefault()},t.prototype.cleanPopup=function(e){e&&e.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)},t.prototype.generatePopupName=function(e,t){return ae.qx.POPUP_NAME_PREFIX+"."+this.config.auth.clientId+"."+e.join("-")+"."+t+"."+this.correlationId},t.prototype.generateLogoutPopupName=function(e){var t=e.account&&e.account.homeAccountId;return ae.qx.POPUP_NAME_PREFIX+"."+this.config.auth.clientId+"."+t+"."+this.correlationId},t}(ar),yr=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n,r,o)||this;return a.browserCrypto=i,a}return(0,Y.ZT)(t,e),t.prototype.initiateAuthRequest=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){var n;return(0,Y.Jh)(this,(function(r){switch(r.label){case 0:return this.logger.verbose("RedirectHandler.initiateAuthRequest called"),ve.x.isEmpty(e)?[3,7]:(t.redirectStartPage&&(this.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),this.browserStorage.setTemporaryCache(ae.c4.ORIGIN_URI,t.redirectStartPage,!0)),this.browserStorage.setTemporaryCache(ae.c4.CORRELATION_ID,this.authCodeRequest.correlationId,!0),this.browserStorage.cacheCodeRequest(this.authCodeRequest,this.browserCrypto),this.logger.infoPii("RedirectHandler.initiateAuthRequest: Navigate to: "+e),n={apiId:ae.WN.acquireTokenRedirect,timeout:t.redirectTimeout,noHistory:!1},"function"!==typeof t.onRedirectNavigate?[3,4]:(this.logger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),!1===t.onRedirectNavigate(e)?[3,2]:(this.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),[4,t.navigationClient.navigateExternal(e,n)])));case 1:case 5:return r.sent(),[2];case 2:return this.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation"),[2];case 3:return[3,6];case 4:return this.logger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),[4,t.navigationClient.navigateExternal(e,n)];case 6:return[3,8];case 7:throw this.logger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),st.createEmptyNavigationUriError();case 8:return[2]}}))}))},t.prototype.handleCodeResponseFromHash=function(e,t,n,r){return(0,Y.mG)(this,void 0,void 0,(function(){var o,i,a,s,c,u,l;return(0,Y.Jh)(this,(function(d){switch(d.label){case 0:if(this.logger.verbose("RedirectHandler.handleCodeResponse called"),ve.x.isEmpty(e))throw st.createEmptyHashError(e);if(this.browserStorage.setInteractionInProgress(!1),o=this.browserStorage.generateStateKey(t),!(i=this.browserStorage.getTemporaryCache(o)))throw kt.e.createStateNotFoundError("Cached State");try{a=this.authModule.handleFragmentResponse(e,i)}catch(f){throw f instanceof ee&&f.subError===Ae.code?st.createUserCancelledError():f}return s=this.browserStorage.generateNonceKey(i),c=this.browserStorage.getTemporaryCache(s),this.authCodeRequest.code=a.code,a.cloud_instance_host_name?[4,this.updateTokenEndpointAuthority(a.cloud_instance_host_name,n,r)]:[3,2];case 1:d.sent(),d.label=2;case 2:return a.nonce=c||void 0,a.state=i,a.client_info?this.authCodeRequest.clientInfo=a.client_info:(u=this.checkCcsCredentials())&&(this.authCodeRequest.ccsCredential=u),[4,this.authModule.acquireToken(this.authCodeRequest,a)];case 3:return l=d.sent(),this.browserStorage.cleanRequestByState(t),[2,l]}}))}))},t}(vr),br=function(e){function t(t,n,r,o,i,a,s,c,u,l){var d=e.call(this,t,n,r,o,i,a,s,u,l)||this;return d.nativeStorage=c,d}return(0,Y.ZT)(t,e),t.prototype.acquireToken=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,c,u,l=this;return(0,Y.Jh)(this,(function(d){switch(d.label){case 0:return[4,this.initializeAuthorizationRequest(e,ae.s_.Redirect)];case 1:t=d.sent(),this.browserStorage.updateCacheEntries(t.state,t.nonce,t.authority,t.loginHint||$.gT.EMPTY_STRING,t.account||null),n=this.initializeServerTelemetryManager(ae.WN.acquireTokenRedirect),r=function(e){e.persisted&&(l.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),l.browserStorage.cleanRequestByState(t.state))},d.label=2;case 2:return d.trys.push([2,7,,8]),[4,this.initializeAuthorizationCodeRequest(t)];case 3:return o=d.sent(),[4,this.createAuthCodeClient(n,t.authority,t.azureCloudOptions)];case 4:return i=d.sent(),this.logger.verbose("Auth code client created"),a=new yr(i,this.browserStorage,o,this.logger,this.browserCrypto),[4,i.getAuthCodeUrl((0,Y.pi)((0,Y.pi)({},t),{nativeBroker:gr.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,e.authenticationScheme)}))];case 5:return s=d.sent(),c=this.getRedirectStartPage(e.redirectStartPage),this.logger.verbosePii("Redirect start page: "+c),window.addEventListener("pageshow",r),[4,a.initiateAuthRequest(s,{navigationClient:this.navigationClient,redirectTimeout:this.config.system.redirectNavigationTimeout,redirectStartPage:c,onRedirectNavigate:e.onRedirectNavigate})];case 6:return[2,d.sent()];case 7:throw(u=d.sent())instanceof X.l&&u.setCorrelationId(this.correlationId),window.removeEventListener("pageshow",r),n.cacheFailedRequest(u),this.browserStorage.cleanRequestByState(t.state),u;case 8:return[2]}}))}))},t.prototype.handleRedirectPromise=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,c,u,l,d,f;return(0,Y.Jh)(this,(function(h){switch(h.label){case 0:t=this.initializeServerTelemetryManager(ae.WN.handleRedirectPromise),h.label=1;case 1:if(h.trys.push([1,10,,11]),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),[2,null];if(!(n=this.getRedirectResponseHash(e||window.location.hash)))return this.logger.info("handleRedirectPromise did not detect a response hash as a result of a redirect. Cleaning temporary cache."),this.browserStorage.cleanRequestByInteractionType(ae.s_.Redirect),[2,null];r=void 0;try{o=bn.getDeserializedHash(n),r=this.validateAndExtractStateFromHash(o,ae.s_.Redirect),this.logger.verbose("State extracted from hash")}catch(p){return this.logger.info("handleRedirectPromise was unable to extract state due to: "+p),this.browserStorage.cleanRequestByInteractionType(ae.s_.Redirect),[2,null]}return i=this.browserStorage.getTemporaryCache(ae.c4.ORIGIN_URI,!0)||$.gT.EMPTY_STRING,a=bn.removeHashFromUrl(i),s=bn.removeHashFromUrl(window.location.href),a===s&&this.config.auth.navigateToLoginRequestUrl?(this.logger.verbose("Current page is loginRequestUrl, handling hash"),[4,this.handleHash(n,r,t)]):[3,3];case 2:return c=h.sent(),i.indexOf("#")>-1&&xn.replaceHash(i),[2,c];case 3:return this.config.auth.navigateToLoginRequestUrl?[3,4]:(this.logger.verbose("NavigateToLoginRequestUrl set to false, handling hash"),[2,this.handleHash(n,r,t)]);case 4:return xn.isInIframe()&&!this.config.system.allowRedirectInIframe?[3,9]:(this.browserStorage.setTemporaryCache(ae.c4.URL_HASH,n,!0),u={apiId:ae.WN.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0},l=!0,i&&"null"!==i?[3,6]:(d=xn.getHomepage(),this.browserStorage.setTemporaryCache(ae.c4.ORIGIN_URI,d,!0),this.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),[4,this.navigationClient.navigateInternal(d,u)]));case 5:return l=h.sent(),[3,8];case 6:return this.logger.verbose("Navigating to loginRequestUrl: "+i),[4,this.navigationClient.navigateInternal(i,u)];case 7:l=h.sent(),h.label=8;case 8:if(!l)return[2,this.handleHash(n,r,t)];h.label=9;case 9:return[2,null];case 10:throw(f=h.sent())instanceof X.l&&f.setCorrelationId(this.correlationId),t.cacheFailedRequest(f),this.browserStorage.cleanRequestByInteractionType(ae.s_.Redirect),f;case 11:return[2]}}))}))},t.prototype.getRedirectResponseHash=function(e){if(this.logger.verbose("getRedirectResponseHash called"),bn.hashContainsKnownProperties(e))return xn.clearHash(window),this.logger.verbose("Hash contains known properties, returning response hash"),e;var t=this.browserStorage.getTemporaryCache(ae.c4.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(ae.c4.URL_HASH)),this.logger.verbose("Hash does not contain known properties, returning cached hash"),t},t.prototype.handleHash=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){var r,o,i,a,s,c,u=this;return(0,Y.Jh)(this,(function(l){switch(l.label){case 0:if(r=this.browserStorage.getCachedRequest(t,this.browserCrypto),this.logger.verbose("handleHash called, retrieved cached request"),(o=bn.getDeserializedHash(e)).accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),!this.nativeMessageHandler)throw st.createNativeConnectionNotEstablishedError();return i=new pr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,ae.WN.acquireTokenPopup,this.performanceClient,this.nativeMessageHandler,o.accountId,this.browserStorage,r.correlationId),a=gn.parseRequestState(this.browserCrypto,t).userRequestState,[2,i.acquireToken((0,Y.pi)((0,Y.pi)({},r),{state:a,prompt:void 0})).finally((function(){u.browserStorage.cleanRequestByState(t)}))]}if(!(s=this.browserStorage.getCachedAuthority(t)))throw st.createNoCachedAuthorityError();return[4,this.createAuthCodeClient(n,s)];case 1:return c=l.sent(),this.logger.verbose("Auth code client created"),jn.removeThrottle(this.browserStorage,this.config.auth.clientId,r),[4,new yr(c,this.browserStorage,r,this.logger,this.browserCrypto).handleCodeResponseFromHash(e,t,c.authority,this.networkClient)];case 2:return[2,l.sent()]}}))}))},t.prototype.logout=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i,a;return(0,Y.Jh)(this,(function(s){switch(s.label){case 0:this.logger.verbose("logoutRedirect called"),t=this.initializeLogoutRequest(e),n=this.initializeServerTelemetryManager(ae.WN.logout),s.label=1;case 1:return s.trys.push([1,10,,11]),this.eventHandler.emitEvent(qn.t.LOGOUT_START,ae.s_.Redirect,e),[4,this.clearCacheOnLogout(t.account)];case 2:return s.sent(),r={apiId:ae.WN.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},[4,this.createAuthCodeClient(n,e&&e.authority)];case 3:return o=s.sent(),this.logger.verbose("Auth code client created"),i=o.getLogoutUri(t),this.eventHandler.emitEvent(qn.t.LOGOUT_SUCCESS,ae.s_.Redirect,t),e&&"function"===typeof e.onRedirectNavigate?!1===e.onRedirectNavigate(i)?[3,5]:(this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0),[4,this.navigationClient.navigateExternal(i,r)]):[3,7];case 4:return s.sent(),[2];case 5:this.browserStorage.setInteractionInProgress(!1),this.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation"),s.label=6;case 6:return[3,9];case 7:return this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0),[4,this.navigationClient.navigateExternal(i,r)];case 8:return s.sent(),[2];case 9:return[3,11];case 10:throw(a=s.sent())instanceof X.l&&a.setCorrelationId(this.correlationId),n.cacheFailedRequest(a),this.eventHandler.emitEvent(qn.t.LOGOUT_FAILURE,ae.s_.Redirect,null,a),this.eventHandler.emitEvent(qn.t.LOGOUT_END,ae.s_.Redirect),a;case 11:return this.eventHandler.emitEvent(qn.t.LOGOUT_END,ae.s_.Redirect),[2]}}))}))},t.prototype.getRedirectStartPage=function(e){var t=e||window.location.href;return bn.getAbsoluteUrl(t,xn.getCurrentUri())},t}(ar),Er=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n,r,o)||this;return a.navigateFrameWait=i.navigateFrameWait,a.pollIntervalMilliseconds=i.pollIntervalMilliseconds,a}return(0,Y.ZT)(t,e),t.prototype.initiateAuthRequest=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t;return(0,Y.Jh)(this,(function(n){switch(n.label){case 0:if(ve.x.isEmpty(e))throw this.logger.info("Navigate url is empty"),st.createEmptyNavigationUriError();return this.navigateFrameWait?[4,this.loadFrame(e)]:[3,2];case 1:return t=n.sent(),[3,3];case 2:t=this.loadFrameSync(e),n.label=3;case 3:return[2,t]}}))}))},t.prototype.monitorIframeForHash=function(e,t){var n=this;return new Promise((function(r,o){t<Un&&n.logger.warning("system.loadFrameTimeout or system.iframeHashTimeout set to lower ("+t+"ms) than the default ("+"6000ms). This may result in timeouts.");var i=window.performance.now()+t,a=setInterval((function(){if(window.performance.now()>i)return n.removeHiddenIframe(e),clearInterval(a),void o(st.createMonitorIframeTimeoutError());var t=$.gT.EMPTY_STRING,s=e.contentWindow;try{t=s?s.location.href:$.gT.EMPTY_STRING}catch(u){}if(!ve.x.isEmpty(t)){var c=s?s.location.hash:$.gT.EMPTY_STRING;return bn.hashContainsKnownProperties(c)?(n.removeHiddenIframe(e),clearInterval(a),void r(c)):void 0}}),n.pollIntervalMilliseconds)}))},t.prototype.loadFrame=function(e){var t=this;return new Promise((function(n,r){var o=t.createHiddenIframe();setTimeout((function(){o?(o.src=e,n(o)):r("Unable to load iframe")}),t.navigateFrameWait)}))},t.prototype.loadFrameSync=function(e){var t=this.createHiddenIframe();return t.src=e,t},t.prototype.createHiddenIframe=function(){var e=document.createElement("iframe");return e.style.visibility="hidden",e.style.position="absolute",e.style.width=e.style.height="0",e.style.border="0",e.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.getElementsByTagName("body")[0].appendChild(e),e},t.prototype.removeHiddenIframe=function(e){document.body===e.parentNode&&document.body.removeChild(e)},t}(vr),wr=function(e){function t(t,n,r,o,i,a,s,c,u,l,d){var f=e.call(this,t,n,r,o,i,a,c,l,d)||this;return f.apiId=s,f.nativeStorage=u,f}return(0,Y.ZT)(t,e),t.prototype.acquireToken=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i;return(0,Y.Jh)(this,(function(a){switch(a.label){case 0:if(this.logger.verbose("acquireTokenByIframe called"),t=this.performanceClient.startMeasurement(j.SilentIframeClientAcquireToken,e.correlationId),ve.x.isEmpty(e.loginHint)&&ve.x.isEmpty(e.sid)&&(!e.account||ve.x.isEmpty(e.account.username))&&this.logger.warning("No user hint provided. The authorization server may need more information to complete this request."),e.prompt&&e.prompt!==$.NJ.NONE&&e.prompt!==$.NJ.NO_SESSION)throw t.endMeasurement({success:!1}),st.createSilentPromptValueError(e.prompt);return[4,this.initializeAuthorizationRequest((0,Y.pi)((0,Y.pi)({},e),{prompt:e.prompt||$.NJ.NONE}),ae.s_.Silent)];case 1:n=a.sent(),this.browserStorage.updateCacheEntries(n.state,n.nonce,n.authority,n.loginHint||$.gT.EMPTY_STRING,n.account||null),r=this.initializeServerTelemetryManager(this.apiId),a.label=2;case 2:return a.trys.push([2,5,,6]),[4,this.createAuthCodeClient(r,n.authority,n.azureCloudOptions)];case 3:return o=a.sent(),this.logger.verbose("Auth code client created"),[4,this.silentTokenHelper(o,n).then((function(e){return t.endMeasurement({success:!0,fromCache:!1,requestId:e.requestId}),e}))];case 4:return[2,a.sent()];case 5:throw(i=a.sent())instanceof X.l&&i.setCorrelationId(this.correlationId),r.cacheFailedRequest(i),this.browserStorage.cleanRequestByState(n.state),t.endMeasurement({errorCode:i instanceof X.l&&i.errorCode||void 0,subErrorCode:i instanceof X.l&&i.subError||void 0,success:!1}),i;case 6:return[2]}}))}))},t.prototype.logout=function(){return Promise.reject(st.createSilentLogoutUnsupportedError())},t.prototype.silentTokenHelper=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){var n,r,o,i,a,s,c,u,l,d=this;return(0,Y.Jh)(this,(function(f){switch(f.label){case 0:return[4,this.initializeAuthorizationCodeRequest(t)];case 1:return n=f.sent(),[4,e.getAuthCodeUrl((0,Y.pi)((0,Y.pi)({},t),{nativeBroker:gr.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,t.authenticationScheme)}))];case 2:return r=f.sent(),[4,(o=new Er(e,this.browserStorage,n,this.logger,this.config.system)).initiateAuthRequest(r)];case 3:return i=f.sent(),[4,o.monitorIframeForHash(i,this.config.system.iframeHashTimeout)];case 4:if(a=f.sent(),s=bn.getDeserializedHash(a),c=this.validateAndExtractStateFromHash(s,ae.s_.Silent,n.correlationId),s.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),!this.nativeMessageHandler)throw st.createNativeConnectionNotEstablishedError();return u=new pr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.apiId,this.performanceClient,this.nativeMessageHandler,s.accountId,this.browserStorage,this.correlationId),l=gn.parseRequestState(this.browserCrypto,c).userRequestState,[2,u.acquireToken((0,Y.pi)((0,Y.pi)({},t),{state:l,prompt:t.prompt||$.NJ.NONE})).finally((function(){d.browserStorage.cleanRequestByState(c)}))]}return[2,o.handleCodeResponseFromHash(a,c,e.authority,this.networkClient)]}}))}))},t}(ar),_r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,Y.ZT)(t,e),t.prototype.acquireToken=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i,a=this;return(0,Y.Jh)(this,(function(s){switch(s.label){case 0:return n=[(0,Y.pi)({},e)],[4,this.initializeBaseRequest(e)];case 1:return t=Y.pi.apply(void 0,n.concat([s.sent()])),r=this.performanceClient.startMeasurement(j.SilentRefreshClientAcquireToken,t.correlationId),o=this.initializeServerTelemetryManager(ae.WN.acquireTokenSilent_silentFlow),[4,this.createRefreshTokenClient(o,t.authority,t.azureCloudOptions)];case 2:return i=s.sent(),this.logger.verbose("Refresh token client created"),[2,i.acquireTokenByRefreshToken(t).then((function(e){return r.endMeasurement({success:!0,fromCache:e.fromCache,requestId:e.requestId}),e})).catch((function(e){throw e instanceof X.l&&e.setCorrelationId(a.correlationId),o.cacheFailedRequest(e),r.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),e}))]}}))}))},t.prototype.logout=function(){return Promise.reject(st.createSilentLogoutUnsupportedError())},t.prototype.createRefreshTokenClient=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){var r;return(0,Y.Jh)(this,(function(o){switch(o.label){case 0:return[4,this.getClientConfiguration(e,t,n)];case 1:return r=o.sent(),[2,new dr(r,this.performanceClient)]}}))}))},t}(ar),Sr=function(){function e(e,t,n,r){this.isBrowserEnvironment="undefined"!==typeof window,this.config=e,this.storage=t,this.logger=n,this.cryptoObj=r}return e.prototype.loadExternalTokens=function(e,t,n){if(this.logger.info("TokenCache - loadExternalTokens called"),!t.id_token)throw st.createUnableToLoadTokenError("Please ensure server response includes id token.");var r,o,i=new rn(t.id_token,this.cryptoObj);if(e.account){var a=this.loadAccount(i,e.account.environment,void 0,void 0,e.account.homeAccountId);r=new Wn(a,this.loadIdToken(i,a.homeAccountId,e.account.environment,e.account.tenantId),this.loadAccessToken(e,t,a.homeAccountId,e.account.environment,e.account.tenantId,n),this.loadRefreshToken(e,t,a.homeAccountId,e.account.environment))}else{if(!e.authority)throw st.createUnableToLoadTokenError("Please provide a request with an account or a request with authority.");var s=nr.generateAuthority(e.authority,e.azureCloudOptions),c={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache};if(o=new nr(s,this.config.system.networkClient,this.storage,c),n.clientInfo){this.logger.trace("TokenCache - homeAccountId from options");a=this.loadAccount(i,o.hostnameAndPort,n.clientInfo,o.authorityType);r=new Wn(a,this.loadIdToken(i,a.homeAccountId,o.hostnameAndPort,o.tenant),this.loadAccessToken(e,t,a.homeAccountId,o.hostnameAndPort,o.tenant,n),this.loadRefreshToken(e,t,a.homeAccountId,o.hostnameAndPort))}else{if(!t.client_info)throw st.createUnableToLoadTokenError("Please provide clientInfo in the response or options.");this.logger.trace("TokenCache - homeAccountId from response");a=this.loadAccount(i,o.hostnameAndPort,t.client_info,o.authorityType);r=new Wn(a,this.loadIdToken(i,a.homeAccountId,o.hostnameAndPort,o.tenant),this.loadAccessToken(e,t,a.homeAccountId,o.hostnameAndPort,o.tenant,n),this.loadRefreshToken(e,t,a.homeAccountId,o.hostnameAndPort))}}return this.generateAuthenticationResult(e,i,r,o)},e.prototype.loadAccount=function(e,t,n,r,o){var i;if(o?i=o:void 0!==r&&n&&(i=Ot.generateHomeAccountId(n,r,this.logger,this.cryptoObj,e)),!i)throw st.createUnableToLoadTokenError("Unexpected missing homeAccountId");var a=n?Ot.createAccount(n,i,e,void 0,void 0,void 0,t):Ot.createGenericAccount(i,e,void 0,void 0,void 0,t);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading account"),this.storage.setAccount(a),a;throw st.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.loadIdToken=function(e,t,n,r){var o=sn.createIdTokenEntity(t,n,e.rawToken,this.config.auth.clientId,r);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading id token"),this.storage.setIdTokenCredential(o),o;throw st.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.loadAccessToken=function(e,t,n,r,o,i){if(!t.access_token)return this.logger.verbose("TokenCache - No access token provided for caching"),null;if(!t.expires_in)throw st.createUnableToLoadTokenError("Please ensure server response includes expires_in value.");if(!i.extendedExpiresOn)throw st.createUnableToLoadTokenError("Please provide an extendedExpiresOn value in the options.");var a=new nn(e.scopes).printScopes(),s=i.expiresOn||t.expires_in+(new Date).getTime()/1e3,c=i.extendedExpiresOn,u=un.createAccessTokenEntity(n,r,t.access_token,this.config.auth.clientId,o,a,s,c,this.cryptoObj);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading access token"),this.storage.setAccessTokenCredential(u),u;throw st.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.loadRefreshToken=function(e,t,n,r){if(!t.refresh_token)return this.logger.verbose("TokenCache - No refresh token provided for caching"),null;var o=ln.createRefreshTokenEntity(n,r,t.refresh_token,this.config.auth.clientId);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading refresh token"),this.storage.setRefreshTokenCredential(o),o;throw st.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.generateAuthenticationResult=function(e,t,n,r){var o,i,a,s,c=$.gT.EMPTY_STRING,u=[],l=null;(null===n||void 0===n?void 0:n.accessToken)&&(c=n.accessToken.secret,u=nn.fromString(n.accessToken.target).asArray(),l=new Date(1e3*Number(n.accessToken.expiresOn)),s=new Date(1e3*Number(n.accessToken.extendedExpiresOn)));var d=(null===t||void 0===t?void 0:t.claims.oid)||(null===t||void 0===t?void 0:t.claims.sub)||$.gT.EMPTY_STRING,f=(null===t||void 0===t?void 0:t.claims.tid)||$.gT.EMPTY_STRING;return{authority:r?r.canonicalAuthority:$.gT.EMPTY_STRING,uniqueId:d,tenantId:f,scopes:u,account:(null===n||void 0===n?void 0:n.account)?n.account.getAccountInfo():null,idToken:t?t.rawToken:$.gT.EMPTY_STRING,idTokenClaims:t?t.claims:{},accessToken:c,fromCache:!0,expiresOn:l,correlationId:e.correlationId||$.gT.EMPTY_STRING,requestId:$.gT.EMPTY_STRING,extExpiresOn:s,familyId:$.gT.EMPTY_STRING,tokenType:(null===(o=null===n||void 0===n?void 0:n.accessToken)||void 0===o?void 0:o.tokenType)||$.gT.EMPTY_STRING,state:$.gT.EMPTY_STRING,cloudGraphHostName:(null===(i=null===n||void 0===n?void 0:n.account)||void 0===i?void 0:i.cloudGraphHostName)||$.gT.EMPTY_STRING,msGraphHost:(null===(a=null===n||void 0===n?void 0:n.account)||void 0===a?void 0:a.msGraphHost)||$.gT.EMPTY_STRING,code:void 0,fromNativeBroker:!1}},e}(),Tr=function(e){function t(t){var n=e.call(this,t)||this;return n.includeRedirectUri=!1,n}return(0,Y.ZT)(t,e),t}(Qn),Cr=function(e){function t(t,n,r,o,i,a,s,c,u,l){var d=e.call(this,t,n,r,o,i,a,c,u,l)||this;return d.apiId=s,d}return(0,Y.ZT)(t,e),t.prototype.acquireToken=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i,a;return(0,Y.Jh)(this,(function(s){switch(s.label){case 0:if(this.logger.trace("SilentAuthCodeClient.acquireToken called"),!e.code)throw st.createAuthCodeRequiredError();return[4,this.initializeAuthorizationRequest(e,ae.s_.Silent)];case 1:t=s.sent(),this.browserStorage.updateCacheEntries(t.state,t.nonce,t.authority,t.loginHint||$.gT.EMPTY_STRING,t.account||null),n=this.initializeServerTelemetryManager(this.apiId),s.label=2;case 2:return s.trys.push([2,4,,5]),r=(0,Y.pi)((0,Y.pi)({},t),{code:e.code}),[4,this.getClientConfiguration(n,t.authority)];case 3:return o=s.sent(),i=new Tr(o),this.logger.verbose("Auth code client created"),[2,new Er(i,this.browserStorage,r,this.logger,this.config.system).handleCodeResponseFromServer({code:e.code,msgraph_host:e.msGraphHost,cloud_graph_host_name:e.cloudGraphHostName,cloud_instance_host_name:e.cloudInstanceHostName},t.state,i.authority,this.networkClient,!1)];case 4:throw(a=s.sent())instanceof X.l&&a.setCorrelationId(this.correlationId),n.cacheFailedRequest(a),this.browserStorage.cleanRequestByState(t.state),a;case 5:return[2]}}))}))},t.prototype.logout=function(){return Promise.reject(st.createSilentLogoutUnsupportedError())},t}(ar),Ir=function(){function e(e,t){this.correlationId=t,this.measureName="msal.measure."+e+"."+this.correlationId,this.startMark="msal.start."+e+"."+this.correlationId,this.endMark="msal.end."+e+"."+this.correlationId}return e.supportsBrowserPerformance=function(){return"undefined"!==typeof window&&"undefined"!==typeof window.performance&&"function"===typeof window.performance.mark&&"function"===typeof window.performance.measure&&"function"===typeof window.performance.clearMarks&&"function"===typeof window.performance.clearMeasures&&"function"===typeof window.performance.getEntriesByName},e.prototype.startMeasurement=function(){if(e.supportsBrowserPerformance())try{window.performance.mark(this.startMark)}catch(t){}},e.prototype.endMeasurement=function(){if(e.supportsBrowserPerformance())try{window.performance.mark(this.endMark),window.performance.measure(this.measureName,this.startMark,this.endMark)}catch(t){}},e.prototype.flushMeasurement=function(){if(e.supportsBrowserPerformance())try{var t=window.performance.getEntriesByName(this.measureName,"measure");if(t.length>0){var n=t[0].duration;return window.performance.clearMeasures(this.measureName),window.performance.clearMarks(this.startMark),window.performance.clearMarks(this.endMark),n}}catch(r){}return null},e}(),kr=function(e){function t(t,n,r,o,i,a,s){var c=e.call(this,t,n,r,o,i,a)||this;return c.browserCrypto=new gt(c.logger,s),c.guidGenerator=new fe(c.browserCrypto),c}return(0,Y.ZT)(t,e),t.prototype.startPerformanceMeasuremeant=function(e,t){return new Ir(e,t)},t.prototype.generateId=function(){return this.guidGenerator.generateGuid()},t.prototype.getPageVisibility=function(){var e;return(null===(e=document.visibilityState)||void 0===e?void 0:e.toString())||null},t.prototype.startMeasurement=function(t,n){var r=this,o=this.getPageVisibility(),i=e.prototype.startMeasurement.call(this,t,n);return(0,Y.pi)((0,Y.pi)({},i),{endMeasurement:function(e){return i.endMeasurement((0,Y.pi)({startPageVisibility:o,endPageVisibility:r.getPageVisibility()},e))}})},t}(St),Rr=function(){function e(e){this.isBrowserEnvironment="undefined"!==typeof window,this.config=function(e,t){var n=e.auth,r=e.cache,o=e.system,i=e.telemetry,a={clientId:$.gT.EMPTY_STRING,authority:""+$.gT.DEFAULT_AUTHORITY,knownAuthorities:[],cloudDiscoveryMetadata:$.gT.EMPTY_STRING,authorityMetadata:$.gT.EMPTY_STRING,redirectUri:$.gT.EMPTY_STRING,postLogoutRedirectUri:$.gT.EMPTY_STRING,navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:vn.AAD,azureCloudOptions:{azureCloudInstance:mn.None,tenant:$.gT.EMPTY_STRING},skipAuthorityMetadataCache:!1},s={cacheLocation:ae.Ix.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1},c={loggerCallback:function(){},logLevel:_t.i.Info,piiLoggingEnabled:!1},u=(0,Y.pi)((0,Y.pi)({},Sn),{loggerOptions:c,networkClient:t?xn.getBrowserNetworkClient():Pn,navigationClient:new Mn,loadFrameTimeout:0,windowHashTimeout:(null===o||void 0===o?void 0:o.loadFrameTimeout)||6e4,iframeHashTimeout:(null===o||void 0===o?void 0:o.loadFrameTimeout)||Un,navigateFrameWait:t&&xn.detectIEOrEdge()?500:0,redirectNavigationTimeout:3e4,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:(null===o||void 0===o?void 0:o.nativeBrokerHandshakeTimeout)||2e3,pollIntervalMilliseconds:ae.qx.DEFAULT_POLL_INTERVAL_MS,cryptoOptions:{useMsrCrypto:!1,entropy:void 0}}),l={application:{appName:$.gT.EMPTY_STRING,appVersion:$.gT.EMPTY_STRING}};return{auth:(0,Y.pi)((0,Y.pi)({},a),n),cache:(0,Y.pi)((0,Y.pi)({},s),r),system:(0,Y.pi)((0,Y.pi)({},u),o),telemetry:(0,Y.pi)((0,Y.pi)({},l),i)}}(e,this.isBrowserEnvironment),this.initialized=!1,this.logger=new _t.Y(this.config.system.loggerOptions,Dn,Hn),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.isBrowserEnvironment?new kr(this.config.auth.clientId,this.config.auth.authority,this.logger,Dn,Hn,this.config.telemetry.application,this.config.system.cryptoOptions):new Ct(this.config.auth.clientId,this.config.auth.authority,this.logger,Dn,Hn,this.config.telemetry.application),this.browserCrypto=this.isBrowserEnvironment?new wt(this.logger,this.performanceClient,this.config.system.cryptoOptions):It,this.eventHandler=new Fn(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new wn(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):function(e,t){var n={cacheLocation:ae.Ix.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1};return new wn(e,n,It,t)}(this.config.auth.clientId,this.logger);var t={cacheLocation:ae.Ix.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1};this.nativeInternalStorage=new wn(this.config.auth.clientId,t,this.browserCrypto,this.logger),this.tokenCache=new Sr(this.config,this.browserStorage,this.logger,this.browserCrypto)}return e.prototype.initialize=function(){return(0,Y.mG)(this,void 0,void 0,(function(){var e,t;return(0,Y.Jh)(this,(function(n){switch(n.label){case 0:if(this.logger.trace("initialize called"),this.initialized)return this.logger.info("initialize has already been called, exiting early."),[2];if(this.eventHandler.emitEvent(qn.t.INITIALIZE_START),!this.config.system.allowNativeBroker)return[3,4];n.label=1;case 1:return n.trys.push([1,3,,4]),e=this,[4,gr.createProvider(this.logger,this.config.system.nativeBrokerHandshakeTimeout)];case 2:return e.nativeExtensionProvider=n.sent(),[3,4];case 3:return t=n.sent(),this.logger.verbose(t),[3,4];case 4:return this.initialized=!0,this.eventHandler.emitEvent(qn.t.INITIALIZE_END),[2]}}))}))},e.prototype.handleRedirectPromise=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,c,u=this;return(0,Y.Jh)(this,(function(l){return this.logger.verbose("handleRedirectPromise called"),xn.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker,this.initialized),t=this.getAllAccounts(),this.isBrowserEnvironment?(n=e||$.gT.EMPTY_STRING,"undefined"===typeof(r=this.redirectResponse.get(n))?(this.eventHandler.emitEvent(qn.t.HANDLE_REDIRECT_START,ae.s_.Redirect),this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),o=this.browserStorage.getCachedNativeRequest(),i=void 0,o&&gr.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider)&&this.nativeExtensionProvider&&!e?(this.logger.trace("handleRedirectPromise - acquiring token from native platform"),a=new pr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,ae.WN.handleRedirectPromise,this.performanceClient,this.nativeExtensionProvider,o.accountId,this.nativeInternalStorage,o.correlationId),i=a.handleRedirectPromise()):(this.logger.trace("handleRedirectPromise - acquiring token from web flow"),s=this.browserStorage.getTemporaryCache(ae.c4.CORRELATION_ID,!0)||$.gT.EMPTY_STRING,c=this.createRedirectClient(s),i=c.handleRedirectPromise(e)),r=i.then((function(e){e&&(t.length<u.getAllAccounts().length?(u.eventHandler.emitEvent(qn.t.LOGIN_SUCCESS,ae.s_.Redirect,e),u.logger.verbose("handleRedirectResponse returned result, login success")):(u.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_SUCCESS,ae.s_.Redirect,e),u.logger.verbose("handleRedirectResponse returned result, acquire token success")));return u.eventHandler.emitEvent(qn.t.HANDLE_REDIRECT_END,ae.s_.Redirect),e})).catch((function(e){throw t.length>0?u.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_FAILURE,ae.s_.Redirect,null,e):u.eventHandler.emitEvent(qn.t.LOGIN_FAILURE,ae.s_.Redirect,null,e),u.eventHandler.emitEvent(qn.t.HANDLE_REDIRECT_END,ae.s_.Redirect),e})),this.redirectResponse.set(n,r)):this.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call"),[2,r]):(this.logger.verbose("handleRedirectPromise returns null, not browser environment"),[2,null])}))}))},e.prototype.acquireTokenRedirect=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i,a=this;return(0,Y.Jh)(this,(function(s){return t=this.getRequestCorrelationId(e),this.logger.verbose("acquireTokenRedirect called",t),this.preflightBrowserEnvironmentCheck(ae.s_.Redirect),(n=this.getAllAccounts().length>0)?this.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_START,ae.s_.Redirect,e):this.eventHandler.emitEvent(qn.t.LOGIN_START,ae.s_.Redirect,e),this.nativeExtensionProvider&&this.canUseNative(e)?(o=new pr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,ae.WN.acquireTokenRedirect,this.performanceClient,this.nativeExtensionProvider,this.getNativeAccountId(e),this.nativeInternalStorage,e.correlationId),r=o.acquireTokenRedirect(e).catch((function(t){if(t instanceof lr&&t.isFatal())return a.nativeExtensionProvider=void 0,a.createRedirectClient(e.correlationId).acquireToken(e);if(t instanceof ie)return a.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow"),a.createRedirectClient(e.correlationId).acquireToken(e);throw a.browserStorage.setInteractionInProgress(!1),t}))):(i=this.createRedirectClient(e.correlationId),r=i.acquireToken(e)),[2,r.catch((function(e){throw n?a.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_FAILURE,ae.s_.Redirect,null,e):a.eventHandler.emitEvent(qn.t.LOGIN_FAILURE,ae.s_.Redirect,null,e),e}))]}))}))},e.prototype.acquireTokenPopup=function(e){var t=this,n=this.getRequestCorrelationId(e),r=this.performanceClient.startMeasurement(j.AcquireTokenPopup,n);try{this.logger.verbose("acquireTokenPopup called",n),this.preflightBrowserEnvironmentCheck(ae.s_.Popup)}catch(a){return Promise.reject(a)}var o,i=this.getAllAccounts();(i.length>0?this.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_START,ae.s_.Popup,e):this.eventHandler.emitEvent(qn.t.LOGIN_START,ae.s_.Popup,e),this.canUseNative(e))?o=this.acquireTokenNative(e,ae.WN.acquireTokenPopup).then((function(e){return t.browserStorage.setInteractionInProgress(!1),r.endMeasurement({success:!0,isNativeBroker:!0,requestId:e.requestId}),r.flushMeasurement(),e})).catch((function(n){if(n instanceof lr&&n.isFatal())return t.nativeExtensionProvider=void 0,t.createPopupClient(e.correlationId).acquireToken(e);if(n instanceof ie)return t.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow"),t.createPopupClient(e.correlationId).acquireToken(e);throw t.browserStorage.setInteractionInProgress(!1),n})):o=this.createPopupClient(e.correlationId).acquireToken(e);return o.then((function(e){return i.length<t.getAllAccounts().length?t.eventHandler.emitEvent(qn.t.LOGIN_SUCCESS,ae.s_.Popup,e):t.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_SUCCESS,ae.s_.Popup,e),r.addStaticFields({accessTokenSize:e.accessToken.length,idTokenSize:e.idToken.length}),r.endMeasurement({success:!0,requestId:e.requestId}),r.flushMeasurement(),e})).catch((function(e){return i.length>0?t.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_FAILURE,ae.s_.Popup,null,e):t.eventHandler.emitEvent(qn.t.LOGIN_FAILURE,ae.s_.Popup,null,e),r.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),r.flushMeasurement(),Promise.reject(e)}))},e.prototype.ssoSilent=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i,a=this;return(0,Y.Jh)(this,(function(s){return t=this.getRequestCorrelationId(e),n=(0,Y.pi)((0,Y.pi)({},e),{prompt:e.prompt,correlationId:t}),this.preflightBrowserEnvironmentCheck(ae.s_.Silent),r=this.performanceClient.startMeasurement(j.SsoSilent,t),this.logger.verbose("ssoSilent called",t),this.eventHandler.emitEvent(qn.t.SSO_SILENT_START,ae.s_.Silent,n),this.canUseNative(n)?o=this.acquireTokenNative(n,ae.WN.ssoSilent).catch((function(e){if(e instanceof lr&&e.isFatal())return a.nativeExtensionProvider=void 0,a.createSilentIframeClient(n.correlationId).acquireToken(n);throw e})):(i=this.createSilentIframeClient(n.correlationId),o=i.acquireToken(n)),[2,o.then((function(e){return a.eventHandler.emitEvent(qn.t.SSO_SILENT_SUCCESS,ae.s_.Silent,e),r.addStaticFields({accessTokenSize:e.accessToken.length,idTokenSize:e.idToken.length}),r.endMeasurement({success:!0,isNativeBroker:e.fromNativeBroker,requestId:e.requestId}),r.flushMeasurement(),e})).catch((function(e){throw a.eventHandler.emitEvent(qn.t.SSO_SILENT_FAILURE,ae.s_.Silent,null,e),r.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),r.flushMeasurement(),e}))]}))}))},e.prototype.acquireTokenByCode=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i=this;return(0,Y.Jh)(this,(function(a){t=this.getRequestCorrelationId(e),this.preflightBrowserEnvironmentCheck(ae.s_.Silent),this.logger.trace("acquireTokenByCode called",t),this.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_BY_CODE_START,ae.s_.Silent,e),n=this.performanceClient.startMeasurement(j.AcquireTokenByCode,e.correlationId);try{if(e.code)return r=e.code,(o=this.hybridAuthCodeResponses.get(r))?(this.logger.verbose("Existing acquireTokenByCode request found",e.correlationId),n.endMeasurement({success:!0}),n.discardMeasurement()):(this.logger.verbose("Initiating new acquireTokenByCode request",t),o=this.acquireTokenByCodeAsync((0,Y.pi)((0,Y.pi)({},e),{correlationId:t})).then((function(e){return i.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_BY_CODE_SUCCESS,ae.s_.Silent,e),i.hybridAuthCodeResponses.delete(r),n.addStaticFields({accessTokenSize:e.accessToken.length,idTokenSize:e.idToken.length}),n.endMeasurement({success:!0,isNativeBroker:e.fromNativeBroker,requestId:e.requestId}),n.flushMeasurement(),e})).catch((function(e){throw i.hybridAuthCodeResponses.delete(r),i.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_BY_CODE_FAILURE,ae.s_.Silent,null,e),n.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),n.flushMeasurement(),e})),this.hybridAuthCodeResponses.set(r,o)),[2,o];if(e.nativeAccountId){if(this.canUseNative(e,e.nativeAccountId))return[2,this.acquireTokenNative(e,ae.WN.acquireTokenByCode,e.nativeAccountId).catch((function(e){throw e instanceof lr&&e.isFatal()&&(i.nativeExtensionProvider=void 0),e}))];throw st.createUnableToAcquireTokenFromNativePlatformError()}throw st.createAuthCodeOrNativeAccountIdRequiredError()}catch(s){throw this.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_BY_CODE_FAILURE,ae.s_.Silent,null,s),n.endMeasurement({errorCode:s instanceof X.l&&s.errorCode||void 0,subErrorCode:s instanceof X.l&&s.subError||void 0,success:!1}),s}return[2]}))}))},e.prototype.acquireTokenByCodeAsync=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(t){switch(t.label){case 0:return this.logger.trace("acquireTokenByCodeAsync called",e.correlationId),[4,this.createSilentAuthCodeClient(e.correlationId).acquireToken(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.acquireTokenFromCache=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(r){switch(n.cacheLookupPolicy){case ae.lu.Default:case ae.lu.AccessToken:case ae.lu.AccessTokenAndRefreshToken:return[2,e.acquireToken(t)];default:throw kt.e.createRefreshRequiredError()}return[2]}))}))},e.prototype.acquireTokenByRefreshToken=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(n){switch(t.cacheLookupPolicy){case ae.lu.Default:case ae.lu.AccessTokenAndRefreshToken:case ae.lu.RefreshToken:case ae.lu.RefreshTokenAndNetwork:return[2,this.createSilentRefreshClient(e.correlationId).acquireToken(e)];default:throw kt.e.createRefreshRequiredError()}return[2]}))}))},e.prototype.acquireTokenBySilentIframe=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(t){return[2,this.createSilentIframeClient(e.correlationId).acquireToken(e)]}))}))},e.prototype.logout=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t;return(0,Y.Jh)(this,(function(n){return t=this.getRequestCorrelationId(e),this.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.",t),[2,this.logoutRedirect((0,Y.pi)({correlationId:t},e))]}))}))},e.prototype.logoutRedirect=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t;return(0,Y.Jh)(this,(function(n){return t=this.getRequestCorrelationId(e),this.preflightBrowserEnvironmentCheck(ae.s_.Redirect),[2,this.createRedirectClient(t).logout(e)]}))}))},e.prototype.logoutPopup=function(e){try{var t=this.getRequestCorrelationId(e);return this.preflightBrowserEnvironmentCheck(ae.s_.Popup),this.createPopupClient(t).logout(e)}catch(n){return Promise.reject(n)}},e.prototype.getAllAccounts=function(){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts():[]},e.prototype.getAccountByUsername=function(e){var t=this.getAllAccounts();return!ve.x.isEmpty(e)&&t&&t.length?(this.logger.verbose("Account matching username found, returning"),this.logger.verbosePii("Returning signed-in accounts matching username: "+e),t.filter((function(t){return t.username.toLowerCase()===e.toLowerCase()}))[0]||null):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)},e.prototype.getAccountByHomeId=function(e){var t=this.getAllAccounts();return!ve.x.isEmpty(e)&&t&&t.length?(this.logger.verbose("Account matching homeAccountId found, returning"),this.logger.verbosePii("Returning signed-in accounts matching homeAccountId: "+e),t.filter((function(t){return t.homeAccountId===e}))[0]||null):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)},e.prototype.getAccountByLocalId=function(e){var t=this.getAllAccounts();return!ve.x.isEmpty(e)&&t&&t.length?(this.logger.verbose("Account matching localAccountId found, returning"),this.logger.verbosePii("Returning signed-in accounts matching localAccountId: "+e),t.filter((function(t){return t.localAccountId===e}))[0]||null):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)},e.prototype.setActiveAccount=function(e){this.browserStorage.setActiveAccount(e)},e.prototype.getActiveAccount=function(){return this.browserStorage.getActiveAccount()},e.prototype.preflightBrowserEnvironmentCheck=function(e,t){if(void 0===t&&(t=!0),this.logger.verbose("preflightBrowserEnvironmentCheck started"),xn.blockNonBrowserEnvironment(this.isBrowserEnvironment),xn.blockRedirectInIframe(e,this.config.system.allowRedirectInIframe),xn.blockReloadInHiddenIframes(),xn.blockAcquireTokenInPopups(),xn.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker,this.initialized),e===ae.s_.Redirect&&this.config.cache.cacheLocation===ae.Ix.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw ft.W.createInMemoryRedirectUnavailableError();e!==ae.s_.Redirect&&e!==ae.s_.Popup||this.preflightInteractiveRequest(t)},e.prototype.preflightInteractiveRequest=function(e){this.logger.verbose("preflightInteractiveRequest called, validating app environment"),xn.blockReloadInHiddenIframes(),e&&this.browserStorage.setInteractionInProgress(!0)},e.prototype.acquireTokenNative=function(e,t,n){return(0,Y.mG)(this,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(r){if(this.logger.trace("acquireTokenNative called"),!this.nativeExtensionProvider)throw st.createNativeConnectionNotEstablishedError();return[2,new pr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,t,this.performanceClient,this.nativeExtensionProvider,n||this.getNativeAccountId(e),this.nativeInternalStorage,e.correlationId).acquireToken(e)]}))}))},e.prototype.canUseNative=function(e,t){if(this.logger.trace("canUseNative called"),!gr.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,e.authenticationScheme))return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"),!1;if(e.prompt)switch(e.prompt){case $.NJ.NONE:case $.NJ.CONSENT:case $.NJ.LOGIN:this.logger.trace("canUseNative: prompt is compatible with native flow");break;default:return this.logger.trace("canUseNative: prompt = "+e.prompt+" is not compatible with native flow, returning false"),!1}return!(!t&&!this.getNativeAccountId(e))||(this.logger.trace("canUseNative: nativeAccountId is not available, returning false"),!1)},e.prototype.getNativeAccountId=function(e){var t=e.account||this.browserStorage.getAccountInfoByHints(e.loginHint,e.sid)||this.getActiveAccount();return t&&t.nativeAccountId||""},e.prototype.createPopupClient=function(e){return new mr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)},e.prototype.createRedirectClient=function(e){return new br(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)},e.prototype.createSilentIframeClient=function(e){return new wr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,ae.WN.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)},e.prototype.createSilentCacheClient=function(e){return new hr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,e)},e.prototype.createSilentRefreshClient=function(e){return new _r(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,e)},e.prototype.createSilentAuthCodeClient=function(e){return new Cr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,ae.WN.acquireTokenByCode,this.performanceClient,this.nativeExtensionProvider,e)},e.prototype.addEventCallback=function(e){return this.eventHandler.addEventCallback(e)},e.prototype.removeEventCallback=function(e){this.eventHandler.removeEventCallback(e)},e.prototype.addPerformanceCallback=function(e){return this.performanceClient.addPerformanceCallback(e)},e.prototype.removePerformanceCallback=function(e){return this.performanceClient.removePerformanceCallback(e)},e.prototype.enableAccountStorageEvents=function(){this.eventHandler.enableAccountStorageEvents()},e.prototype.disableAccountStorageEvents=function(){this.eventHandler.disableAccountStorageEvents()},e.prototype.getTokenCache=function(){return this.tokenCache},e.prototype.getLogger=function(){return this.logger},e.prototype.setLogger=function(e){this.logger=e},e.prototype.initializeWrapperLibrary=function(e,t){this.browserStorage.setWrapperMetadata(e,t)},e.prototype.setNavigationClient=function(e){this.navigationClient=e},e.prototype.getConfiguration=function(){return this.config},e.prototype.getRequestCorrelationId=function(e){return(null===e||void 0===e?void 0:e.correlationId)?e.correlationId:this.isBrowserEnvironment?this.browserCrypto.createNewGuid():$.gT.EMPTY_STRING},e}(),Ar=function(e){function t(t){var n=e.call(this,t)||this;return n.activeSilentTokenRequests=new Map,n}return(0,Y.ZT)(t,e),t.prototype.loginRedirect=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t;return(0,Y.Jh)(this,(function(n){return t=this.getRequestCorrelationId(e),this.logger.verbose("loginRedirect called",t),[2,this.acquireTokenRedirect((0,Y.pi)({correlationId:t},e||ae.yo))]}))}))},t.prototype.loginPopup=function(e){var t=this.getRequestCorrelationId(e);return this.logger.verbose("loginPopup called",t),this.acquireTokenPopup((0,Y.pi)({correlationId:t},e||ae.yo))},t.prototype.acquireTokenSilent=function(e){return(0,Y.mG)(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,c=this;return(0,Y.Jh)(this,(function(u){if(t=this.getRequestCorrelationId(e),(n=this.performanceClient.startMeasurement(j.AcquireTokenSilent,t)).addStaticFields({cacheLookupPolicy:e.cacheLookupPolicy}),this.preflightBrowserEnvironmentCheck(ae.s_.Silent),this.logger.verbose("acquireTokenSilent called",t),!(r=e.account||this.getActiveAccount()))throw st.createNoAccountError();return o={clientId:this.config.auth.clientId,authority:e.authority||$.gT.EMPTY_STRING,scopes:e.scopes,homeAccountIdentifier:r.homeAccountId,claims:e.claims,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshKid:e.sshKid},i=JSON.stringify(o),"undefined"===typeof(a=this.activeSilentTokenRequests.get(i))?(this.logger.verbose("acquireTokenSilent called for the first time, storing active request",t),s=this.acquireTokenSilentAsync((0,Y.pi)((0,Y.pi)({},e),{correlationId:t}),r).then((function(e){return c.activeSilentTokenRequests.delete(i),n.addStaticFields({accessTokenSize:e.accessToken.length,idTokenSize:e.idToken.length}),n.endMeasurement({success:!0,fromCache:e.fromCache,isNativeBroker:e.fromNativeBroker,requestId:e.requestId}),n.flushMeasurement(),e})).catch((function(e){throw c.activeSilentTokenRequests.delete(i),n.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),n.flushMeasurement(),e})),this.activeSilentTokenRequests.set(i,s),[2,s]):(this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",t),n.endMeasurement({success:!0}),n.discardMeasurement(),[2,a])}))}))},t.prototype.acquireTokenSilentAsync=function(e,t){return(0,Y.mG)(this,void 0,void 0,(function(){var n,r,o,i,a,s,c=this;return(0,Y.Jh)(this,(function(u){switch(u.label){case 0:return this.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_START,ae.s_.Silent,e),n=this.performanceClient.startMeasurement(j.AcquireTokenSilentAsync,e.correlationId),gr.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,e.authenticationScheme)&&t.nativeAccountId?(this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform"),o=(0,Y.pi)((0,Y.pi)({},e),{account:t}),r=this.acquireTokenNative(o,ae.WN.acquireTokenSilent_silentFlow).catch((function(t){return(0,Y.mG)(c,void 0,void 0,(function(){return(0,Y.Jh)(this,(function(n){if(t instanceof lr&&t.isFatal())return this.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),this.nativeExtensionProvider=void 0,[2,this.createSilentIframeClient(e.correlationId).acquireToken(e)];throw t}))}))})),[3,3]):[3,1];case 1:return this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow"),[4,(i=this.createSilentCacheClient(e.correlationId)).initializeSilentRequest(e,t)];case 2:a=u.sent(),s=(0,Y.pi)((0,Y.pi)({},e),{cacheLookupPolicy:e.cacheLookupPolicy||ae.lu.Default}),r=this.acquireTokenFromCache(i,a,s).catch((function(t){if(s.cacheLookupPolicy===ae.lu.AccessToken)throw t;return xn.blockReloadInHiddenIframes(),c.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_NETWORK_START,ae.s_.Silent,a),c.acquireTokenByRefreshToken(a,s).catch((function(t){var n=t instanceof ee,r=t instanceof ie,o=t.errorCode===ae.qx.INVALID_GRANT_ERROR;if((!n||!o||r||s.cacheLookupPolicy===ae.lu.AccessTokenAndRefreshToken||s.cacheLookupPolicy===ae.lu.RefreshToken)&&s.cacheLookupPolicy!==ae.lu.Skip)throw t;return c.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",e.correlationId),c.acquireTokenBySilentIframe(a)}))})),u.label=3;case 3:return[2,r.then((function(e){return c.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_SUCCESS,ae.s_.Silent,e),n.endMeasurement({success:!0,fromCache:e.fromCache,isNativeBroker:e.fromNativeBroker,requestId:e.requestId}),e})).catch((function(e){throw c.eventHandler.emitEvent(qn.t.ACQUIRE_TOKEN_FAILURE,ae.s_.Silent,null,e),n.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),e}))]}}))}))},t}(Rr),Pr=n(30657),Or=n(62721);function Nr(e){return Nr="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nr(e)}function xr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ur(e,t){return!t||"object"!==Nr(t)&&"function"!==typeof t?Dr(e):t}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Lr(e)}function Dr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hr(e,t){return Hr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Hr(e,t)}function qr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fr=function(e){function t(){var e,n;xr(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return qr(Dr(n=Ur(this,(e=Lr(t)).call.apply(e,[this].concat(o)))),"state",{bootstrapped:!1}),qr(Dr(n),"_unsubscribe",void 0),qr(Dr(n),"handlePersistorState",(function(){n.props.persistor.getState().bootstrapped&&(n.props.onBeforeLift?Promise.resolve(n.props.onBeforeLift()).finally((function(){return n.setState({bootstrapped:!0})})):n.setState({bootstrapped:!0}),n._unsubscribe&&n._unsubscribe())})),n}var n,r,o;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hr(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this._unsubscribe=this.props.persistor.subscribe(this.handlePersistorState),this.handlePersistorState()}},{key:"componentWillUnmount",value:function(){this._unsubscribe&&this._unsubscribe()}},{key:"render",value:function(){return"function"===typeof this.props.children?this.props.children(this.state.bootstrapped):this.state.bootstrapped?this.props.children:this.props.loading}}])&&Mr(n.prototype,r),o&&Mr(n,o),t}(e.PureComponent);qr(Fr,"defaultProps",{children:null,loading:null});var jr=t.createRoot(document.getElementById("root")),Gr=new Ar(Or.X),zr=function(e,t,n){var r=n||!1,o=(0,p.MT)(F,q,t&&t.enhancer?t.enhancer:void 0),i=function(e){o.dispatch({type:w,key:e})},a=function(t,n,i){var a={type:m,payload:n,err:i,key:t};e.dispatch(a),o.dispatch(a),r&&s.getState().bootstrapped&&(r(),r=!1)},s=D({},o,{purge:function(){var t=[];return e.dispatch({type:E,result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return e.dispatch({type:v,result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){e.dispatch({type:y})},persist:function(){e.dispatch({type:b,register:i,rehydrate:a})}});return t&&t.manualPersist||s.persist(),s}(V);jr.render((0,i.jsx)(Pr.rL,{instance:Gr,children:(0,i.jsx)(d.zt,{store:V,children:(0,i.jsx)(Fr,{persistor:zr,children:(0,i.jsx)(l,{})})})}))}()}();