Estructura inicial del proyecto
This commit is contained in:
127
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.mjs
generated
vendored
Normal file
127
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.mjs
generated
vendored
Normal file
@ -0,0 +1,127 @@
|
||||
/*! @azure/msal-browser v5.11.0 2026-05-19 */
|
||||
'use strict';
|
||||
import { PerformanceClient, Constants, Logger } from '@azure/msal-common/browser';
|
||||
import { name, version } from '../packageMetadata.mjs';
|
||||
import { BrowserCacheLocation } from '../utils/BrowserConstants.mjs';
|
||||
import { createNewGuid } from '../crypto/BrowserCrypto.mjs';
|
||||
import { BROWSER_PERF_ENABLED_KEY } from '../cache/CacheKeys.mjs';
|
||||
import { getNetworkInfo } from '../utils/MsalFrameStatsUtils.mjs';
|
||||
|
||||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
/**
|
||||
* Returns browser performance measurement module if session flag is enabled. Returns undefined otherwise.
|
||||
*/
|
||||
function getPerfMeasurementModule() {
|
||||
let sessionStorage;
|
||||
try {
|
||||
sessionStorage = window[BrowserCacheLocation.SessionStorage];
|
||||
const perfEnabled = sessionStorage?.getItem(BROWSER_PERF_ENABLED_KEY);
|
||||
if (Number(perfEnabled) === 1) {
|
||||
return import('./BrowserPerformanceMeasurement.mjs');
|
||||
}
|
||||
// Mute errors if it's a non-browser environment or cookies are blocked.
|
||||
}
|
||||
catch (e) { }
|
||||
return undefined;
|
||||
}
|
||||
/**
|
||||
* Returns boolean, indicating whether browser supports window.performance.now() function.
|
||||
*/
|
||||
function supportsBrowserPerformanceNow() {
|
||||
return (typeof window !== "undefined" &&
|
||||
typeof window.performance !== "undefined" &&
|
||||
typeof window.performance.now === "function");
|
||||
}
|
||||
/**
|
||||
* Returns event duration in milliseconds using window performance API if available. Returns undefined otherwise.
|
||||
* @param startTime {DOMHighResTimeStamp | undefined}
|
||||
* @returns {number | undefined}
|
||||
*/
|
||||
function getPerfDurationMs(startTime) {
|
||||
if (!startTime || !supportsBrowserPerformanceNow()) {
|
||||
return undefined;
|
||||
}
|
||||
return Math.round(window.performance.now() - startTime);
|
||||
}
|
||||
class BrowserPerformanceClient extends PerformanceClient {
|
||||
constructor(configuration, intFields) {
|
||||
super(configuration.auth.clientId, configuration.auth.authority || `${Constants.DEFAULT_AUTHORITY}`, new Logger(configuration.system?.loggerOptions || {}, name, version), name, version, configuration.telemetry?.application || {
|
||||
appName: "",
|
||||
appVersion: "",
|
||||
}, intFields);
|
||||
}
|
||||
generateId() {
|
||||
return createNewGuid();
|
||||
}
|
||||
getPageVisibility() {
|
||||
return document.visibilityState?.toString() || null;
|
||||
}
|
||||
getOnlineStatus() {
|
||||
return typeof navigator !== "undefined" ? navigator.onLine : null;
|
||||
}
|
||||
deleteIncompleteSubMeasurements(inProgressEvent) {
|
||||
void getPerfMeasurementModule()?.then((module) => {
|
||||
const rootEvent = this.eventsByCorrelationId.get(inProgressEvent.event.correlationId);
|
||||
const isRootEvent = rootEvent &&
|
||||
rootEvent.eventId === inProgressEvent.event.eventId;
|
||||
const incompleteMeasurements = [];
|
||||
if (isRootEvent && rootEvent?.incompleteSubMeasurements) {
|
||||
rootEvent.incompleteSubMeasurements.forEach((subMeasurement) => {
|
||||
incompleteMeasurements.push({ ...subMeasurement });
|
||||
});
|
||||
}
|
||||
// Clean up remaining marks for incomplete sub-measurements
|
||||
module.BrowserPerformanceMeasurement.flushMeasurements(inProgressEvent.event.correlationId, incompleteMeasurements);
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Starts measuring performance for a given operation. Returns a function that should be used to end the measurement.
|
||||
* Also captures browser page visibilityState.
|
||||
*
|
||||
* @param {PerformanceEvents} measureName
|
||||
* @param {?string} [correlationId]
|
||||
* @returns {((event?: Partial<PerformanceEvent>) => PerformanceEvent| null)}
|
||||
*/
|
||||
startMeasurement(measureName, correlationId) {
|
||||
// Capture page visibilityState and then invoke start/end measurement
|
||||
const startPageVisibility = this.getPageVisibility();
|
||||
const startOnlineStatus = this.getOnlineStatus();
|
||||
const inProgressEvent = super.startMeasurement(measureName, correlationId);
|
||||
const startTime = supportsBrowserPerformanceNow()
|
||||
? window.performance.now()
|
||||
: undefined;
|
||||
const browserMeasurement = getPerfMeasurementModule()?.then((module) => {
|
||||
return new module.BrowserPerformanceMeasurement(measureName, inProgressEvent.event.correlationId);
|
||||
});
|
||||
void browserMeasurement?.then((measurement) => measurement.startMeasurement());
|
||||
return {
|
||||
...inProgressEvent,
|
||||
end: (event, error, account) => {
|
||||
const networkInfo = getNetworkInfo();
|
||||
const res = inProgressEvent.end({
|
||||
...event,
|
||||
startPageVisibility,
|
||||
startOnlineStatus,
|
||||
endPageVisibility: this.getPageVisibility(),
|
||||
durationMs: getPerfDurationMs(startTime),
|
||||
networkEffectiveType: networkInfo.effectiveType,
|
||||
networkRtt: networkInfo.rtt,
|
||||
}, error, account);
|
||||
void browserMeasurement?.then((measurement) => measurement.endMeasurement());
|
||||
this.deleteIncompleteSubMeasurements(inProgressEvent);
|
||||
return res;
|
||||
},
|
||||
discard: () => {
|
||||
inProgressEvent.discard();
|
||||
void browserMeasurement?.then((measurement) => measurement.flushMeasurement());
|
||||
this.deleteIncompleteSubMeasurements(inProgressEvent);
|
||||
},
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export { BrowserPerformanceClient };
|
||||
//# sourceMappingURL=BrowserPerformanceClient.mjs.map
|
||||
1
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.mjs.map
generated
vendored
Normal file
1
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.mjs.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"BrowserPerformanceClient.mjs","sources":["../../src/telemetry/BrowserPerformanceClient.ts"],"sourcesContent":[null],"names":["BrowserCrypto.createNewGuid"],"mappings":";;;;;;;;;AAAA;;;AAGG;AAmBH;;AAEG;AACH,SAAS,wBAAwB,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;gBACV,eAAe,CAAC,OAAO,EAAE,CAAC;AAC1B,gBAAA,KAAK,kBAAkB,EAAE,IAAI,CAAC,CAAC,WAAW,KACtC,WAAW,CAAC,gBAAgB,EAAE,CACjC,CAAC;AACF,gBAAA,IAAI,CAAC,+BAA+B,CAAC,eAAe,CAAC,CAAC;aACzD;SACJ,CAAC;KACL;AACJ;;;;"}
|
||||
135
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceEvents.mjs
generated
vendored
Normal file
135
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceEvents.mjs
generated
vendored
Normal file
@ -0,0 +1,135 @@
|
||||
/*! @azure/msal-browser v5.11.0 2026-05-19 */
|
||||
'use strict';
|
||||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
/**
|
||||
* acquireTokenFromCache (msal-browser).
|
||||
* Internal API for acquiring token from cache
|
||||
*/
|
||||
const AcquireTokenFromCache = "acquireTokenFromCache";
|
||||
/**
|
||||
* acquireTokenByRefreshToken API (msal-browser and msal-node).
|
||||
* Used to renew an access token using a refresh token against the token endpoint.
|
||||
*/
|
||||
const AcquireTokenByRefreshToken = "acquireTokenByRefreshToken";
|
||||
/**
|
||||
* acquireTokenSilentAsync (msal-browser).
|
||||
* Internal API for acquireTokenSilent.
|
||||
*/
|
||||
const AcquireTokenSilentAsync = "acquireTokenSilentAsync";
|
||||
/**
|
||||
* getPublicKeyThumbprint API in CryptoOpts class (msal-browser).
|
||||
* Used to generate a public/private keypair and generate a public key thumbprint for pop requests.
|
||||
*/
|
||||
const CryptoOptsGetPublicKeyThumbprint = "cryptoOptsGetPublicKeyThumbprint";
|
||||
/**
|
||||
* signJwt API in CryptoOpts class (msal-browser).
|
||||
* Used to signed a pop token.
|
||||
*/
|
||||
const CryptoOptsSignJwt = "cryptoOptsSignJwt";
|
||||
/**
|
||||
* acquireToken API in the SilentCacheClient class (msal-browser).
|
||||
* Used to read access tokens from the cache.
|
||||
*/
|
||||
const SilentCacheClientAcquireToken = "silentCacheClientAcquireToken";
|
||||
/**
|
||||
* acquireToken API in the SilentIframeClient class (msal-browser).
|
||||
* Used to acquire a new set of tokens from the authorize endpoint in a hidden iframe.
|
||||
*/
|
||||
const SilentIframeClientAcquireToken = "silentIframeClientAcquireToken";
|
||||
const AwaitConcurrentIframe = "awaitConcurrentIframe"; // Time spent waiting for a concurrent iframe to complete
|
||||
/**
|
||||
* acquireToken API in SilentRereshClient (msal-browser).
|
||||
* Used to acquire a new set of tokens from the token endpoint using a refresh token.
|
||||
*/
|
||||
const SilentRefreshClientAcquireToken = "silentRefreshClientAcquireToken";
|
||||
/**
|
||||
* getDiscoveredAuthority API in StandardInteractionClient class (msal-browser).
|
||||
* Used to load authority metadata for a request.
|
||||
*/
|
||||
const StandardInteractionClientGetDiscoveredAuthority = "standardInteractionClientGetDiscoveredAuthority";
|
||||
/**
|
||||
* acquireToken API in NativeInteractionClient class (msal-browser).
|
||||
* Used to acquire a token from Native component when native brokering is enabled.
|
||||
*/
|
||||
const NativeInteractionClientAcquireToken = "nativeInteractionClientAcquireToken";
|
||||
const NativeInteractionClientAcquireTokenRedirect = "nativeInteractionClientAcquireToken";
|
||||
/**
|
||||
* acquireTokenByRefreshToken API in RefreshTokenClient (msal-common).
|
||||
*/
|
||||
const RefreshTokenClientAcquireTokenByRefreshToken = "refreshTokenClientAcquireTokenByRefreshToken";
|
||||
/**
|
||||
* acquireTokenBySilentIframe (msal-browser).
|
||||
* Internal API for acquiring token by silent Iframe
|
||||
*/
|
||||
const AcquireTokenBySilentIframe = "acquireTokenBySilentIframe";
|
||||
/**
|
||||
* Internal API for initializing base request in BaseInteractionClient (msal-browser)
|
||||
*/
|
||||
const InitializeBaseRequest = "initializeBaseRequest";
|
||||
/**
|
||||
* Internal API for initializing silent request in SilentCacheClient (msal-browser)
|
||||
*/
|
||||
const InitializeSilentRequest = "initializeSilentRequest";
|
||||
const InitializeCache = "initializeCache";
|
||||
/**
|
||||
* Helper function in SilentIframeClient class (msal-browser).
|
||||
*/
|
||||
const SilentIframeClientTokenHelper = "silentIframeClientTokenHelper";
|
||||
/**
|
||||
* SilentHandler
|
||||
*/
|
||||
const SilentHandlerInitiateAuthRequest = "silentHandlerInitiateAuthRequest";
|
||||
const SilentHandlerMonitorIframeForHash = "silentHandlerMonitorIframeForHash";
|
||||
const SilentHandlerLoadFrameSync = "silentHandlerLoadFrameSync";
|
||||
/**
|
||||
* Helper functions in StandardInteractionClient class (msal-browser)
|
||||
*/
|
||||
const StandardInteractionClientCreateAuthCodeClient = "standardInteractionClientCreateAuthCodeClient";
|
||||
const StandardInteractionClientGetClientConfiguration = "standardInteractionClientGetClientConfiguration";
|
||||
const StandardInteractionClientInitializeAuthorizationRequest = "standardInteractionClientInitializeAuthorizationRequest";
|
||||
const SilentFlowClientAcquireCachedToken = "silentFlowClientAcquireCachedToken";
|
||||
const GetStandardParams = "getStandardParams";
|
||||
const HandleCodeResponse = "handleCodeResponse";
|
||||
const HandleResponseEar = "handleResponseEar";
|
||||
const HandleResponsePlatformBroker = "handleResponsePlatformBroker";
|
||||
const HandleResponseCode = "handleResponseCode";
|
||||
const AuthClientAcquireToken = "authClientAcquireToken";
|
||||
const DeserializeResponse = "deserializeResponse";
|
||||
const AuthorityFactoryCreateDiscoveredInstance = "authorityFactoryCreateDiscoveredInstance";
|
||||
const AcquireTokenByCodeAsync = "acquireTokenByCodeAsync";
|
||||
const HandleRedirectPromiseMeasurement = "handleRedirectPromise";
|
||||
const HandleNativeRedirectPromiseMeasurement = "handleNativeRedirectPromise";
|
||||
const NativeMessageHandlerHandshake = "nativeMessageHandlerHandshake";
|
||||
const RemoveHiddenIframe = "removeHiddenIframe";
|
||||
const ImportExistingCache = "importExistingCache";
|
||||
/**
|
||||
* Crypto Operations
|
||||
*/
|
||||
const GeneratePkceCodes = "generatePkceCodes";
|
||||
const GenerateCodeVerifier = "generateCodeVerifier";
|
||||
const GenerateCodeChallengeFromVerifier = "generateCodeChallengeFromVerifier";
|
||||
const Sha256Digest = "sha256Digest";
|
||||
const GetRandomValues = "getRandomValues";
|
||||
const GenerateHKDF = "generateHKDF";
|
||||
const GenerateBaseKey = "generateBaseKey";
|
||||
const Base64Decode = "base64Decode";
|
||||
const UrlEncodeArr = "urlEncodeArr";
|
||||
const Encrypt = "encrypt";
|
||||
const Decrypt = "decrypt";
|
||||
const GenerateEarKey = "generateEarKey";
|
||||
const DecryptEarResponse = "decryptEarResponse";
|
||||
const LoadAccount = "loadAccount";
|
||||
const LoadIdToken = "loadIdToken";
|
||||
const LoadAccessToken = "loadAccessToken";
|
||||
const LoadRefreshToken = "loadRefreshToken";
|
||||
/**
|
||||
* Background telemetry measurement that tracks whether a late bridge response
|
||||
* arrives after the iframe timeout has already fired.
|
||||
*/
|
||||
const WaitForBridgeLateResponse = "waitForBridgeLateResponse";
|
||||
|
||||
export { AcquireTokenByCodeAsync, AcquireTokenByRefreshToken, AcquireTokenBySilentIframe, AcquireTokenFromCache, AcquireTokenSilentAsync, AuthClientAcquireToken, AuthorityFactoryCreateDiscoveredInstance, AwaitConcurrentIframe, Base64Decode, CryptoOptsGetPublicKeyThumbprint, CryptoOptsSignJwt, Decrypt, DecryptEarResponse, DeserializeResponse, Encrypt, GenerateBaseKey, GenerateCodeChallengeFromVerifier, GenerateCodeVerifier, GenerateEarKey, GenerateHKDF, GeneratePkceCodes, GetRandomValues, GetStandardParams, HandleCodeResponse, HandleNativeRedirectPromiseMeasurement, HandleRedirectPromiseMeasurement, HandleResponseCode, HandleResponseEar, HandleResponsePlatformBroker, ImportExistingCache, InitializeBaseRequest, InitializeCache, InitializeSilentRequest, LoadAccessToken, LoadAccount, LoadIdToken, LoadRefreshToken, NativeInteractionClientAcquireToken, NativeInteractionClientAcquireTokenRedirect, NativeMessageHandlerHandshake, RefreshTokenClientAcquireTokenByRefreshToken, RemoveHiddenIframe, Sha256Digest, SilentCacheClientAcquireToken, SilentFlowClientAcquireCachedToken, SilentHandlerInitiateAuthRequest, SilentHandlerLoadFrameSync, SilentHandlerMonitorIframeForHash, SilentIframeClientAcquireToken, SilentIframeClientTokenHelper, SilentRefreshClientAcquireToken, StandardInteractionClientCreateAuthCodeClient, StandardInteractionClientGetClientConfiguration, StandardInteractionClientGetDiscoveredAuthority, StandardInteractionClientInitializeAuthorizationRequest, UrlEncodeArr, WaitForBridgeLateResponse };
|
||||
//# sourceMappingURL=BrowserPerformanceEvents.mjs.map
|
||||
1
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceEvents.mjs.map
generated
vendored
Normal file
1
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceEvents.mjs.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"BrowserPerformanceEvents.mjs","sources":["../../src/telemetry/BrowserPerformanceEvents.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;;;AAGG;AACI,MAAM,qBAAqB,GAAG,wBAAwB;AAE7D;;;AAGG;AACI,MAAM,0BAA0B,GAAG,6BAA6B;AAEvE;;;AAGG;AACI,MAAM,uBAAuB,GAAG,0BAA0B;AAEjE;;;AAGG;AACI,MAAM,gCAAgC,GACzC,mCAAmC;AAEvC;;;AAGG;AACI,MAAM,iBAAiB,GAAG,oBAAoB;AAErD;;;AAGG;AACI,MAAM,6BAA6B,GAAG,gCAAgC;AAE7E;;;AAGG;AACI,MAAM,8BAA8B,GAAG,iCAAiC;AAElE,MAAA,qBAAqB,GAAG,wBAAwB;AAE7D;;;AAGG;AACI,MAAM,+BAA+B,GACxC,kCAAkC;AAEtC;;;AAGG;AACI,MAAM,+CAA+C,GACxD,kDAAkD;AAQtD;;;AAGG;AACI,MAAM,mCAAmC,GAC5C,sCAAsC;AAEnC,MAAM,2CAA2C,GACpD,sCAAsC;AAQ1C;;AAEG;AACI,MAAM,4CAA4C,GACrD,+CAA+C;AAEnD;;;AAGG;AACI,MAAM,0BAA0B,GAAG,6BAA6B;A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AACpC,MAAM,YAAY,GAAG,eAAe;AACpC,MAAM,OAAO,GAAG,UAAU;AAC1B,MAAM,OAAO,GAAG,UAAU;AAC1B,MAAM,cAAc,GAAG,iBAAiB;AACxC,MAAM,kBAAkB,GAAG,qBAAqB;AAEhD,MAAM,WAAW,GAAG,cAAc;AAClC,MAAM,WAAW,GAAG,cAAc;AAClC,MAAM,eAAe,GAAG,kBAAkB;AAC1C,MAAM,gBAAgB,GAAG,mBAAmB;AAEnD;;;AAGG;AACI,MAAM,yBAAyB,GAAG;;;;"}
|
||||
97
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.mjs
generated
vendored
Normal file
97
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.mjs
generated
vendored
Normal file
@ -0,0 +1,97 @@
|
||||
/*! @azure/msal-browser v5.11.0 2026-05-19 */
|
||||
'use strict';
|
||||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
class BrowserPerformanceMeasurement {
|
||||
constructor(name, correlationId) {
|
||||
this.correlationId = correlationId;
|
||||
this.measureName = BrowserPerformanceMeasurement.makeMeasureName(name, correlationId);
|
||||
this.startMark = BrowserPerformanceMeasurement.makeStartMark(name, correlationId);
|
||||
this.endMark = BrowserPerformanceMeasurement.makeEndMark(name, correlationId);
|
||||
}
|
||||
static makeMeasureName(name, correlationId) {
|
||||
return `msal.measure.${name}.${correlationId}`;
|
||||
}
|
||||
static makeStartMark(name, correlationId) {
|
||||
return `msal.start.${name}.${correlationId}`;
|
||||
}
|
||||
static makeEndMark(name, correlationId) {
|
||||
return `msal.end.${name}.${correlationId}`;
|
||||
}
|
||||
static supportsBrowserPerformance() {
|
||||
return (typeof window !== "undefined" &&
|
||||
typeof window.performance !== "undefined" &&
|
||||
typeof window.performance.mark === "function" &&
|
||||
typeof window.performance.measure === "function" &&
|
||||
typeof window.performance.clearMarks === "function" &&
|
||||
typeof window.performance.clearMeasures === "function" &&
|
||||
typeof window.performance.getEntriesByName === "function");
|
||||
}
|
||||
/**
|
||||
* Flush browser marks and measurements.
|
||||
* @param {string} correlationId
|
||||
* @param {SubMeasurement} measurements
|
||||
*/
|
||||
static flushMeasurements(correlationId, measurements) {
|
||||
if (BrowserPerformanceMeasurement.supportsBrowserPerformance()) {
|
||||
try {
|
||||
measurements.forEach((measurement) => {
|
||||
const measureName = BrowserPerformanceMeasurement.makeMeasureName(measurement.name, correlationId);
|
||||
const entriesForMeasurement = window.performance.getEntriesByName(measureName, "measure");
|
||||
if (entriesForMeasurement.length > 0) {
|
||||
window.performance.clearMeasures(measureName);
|
||||
window.performance.clearMarks(BrowserPerformanceMeasurement.makeStartMark(measureName, correlationId));
|
||||
window.performance.clearMarks(BrowserPerformanceMeasurement.makeEndMark(measureName, correlationId));
|
||||
}
|
||||
});
|
||||
}
|
||||
catch (e) {
|
||||
// Silently catch and return null
|
||||
}
|
||||
}
|
||||
}
|
||||
startMeasurement() {
|
||||
if (BrowserPerformanceMeasurement.supportsBrowserPerformance()) {
|
||||
try {
|
||||
window.performance.mark(this.startMark);
|
||||
}
|
||||
catch (e) {
|
||||
// Silently catch
|
||||
}
|
||||
}
|
||||
}
|
||||
endMeasurement() {
|
||||
if (BrowserPerformanceMeasurement.supportsBrowserPerformance()) {
|
||||
try {
|
||||
window.performance.mark(this.endMark);
|
||||
window.performance.measure(this.measureName, this.startMark, this.endMark);
|
||||
}
|
||||
catch (e) {
|
||||
// Silently catch
|
||||
}
|
||||
}
|
||||
}
|
||||
flushMeasurement() {
|
||||
if (BrowserPerformanceMeasurement.supportsBrowserPerformance()) {
|
||||
try {
|
||||
const entriesForMeasurement = window.performance.getEntriesByName(this.measureName, "measure");
|
||||
if (entriesForMeasurement.length > 0) {
|
||||
const durationMs = entriesForMeasurement[0].duration;
|
||||
window.performance.clearMeasures(this.measureName);
|
||||
window.performance.clearMarks(this.startMark);
|
||||
window.performance.clearMarks(this.endMark);
|
||||
return durationMs;
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
// Silently catch and return null
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export { BrowserPerformanceMeasurement };
|
||||
//# sourceMappingURL=BrowserPerformanceMeasurement.mjs.map
|
||||
1
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.mjs.map
generated
vendored
Normal file
1
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.mjs.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"BrowserPerformanceMeasurement.mjs","sources":["../../src/telemetry/BrowserPerformanceMeasurement.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;MAOU,6BAA6B,CAAA;IAMtC,WAAY,CAAA,IAAY,EAAE,aAAqB,EAAA;AAC3C,QAAA,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,6BAA6B,CAAC,eAAe,CAC5D,IAAI,EACJ,aAAa,CAChB,CAAC;QACF,IAAI,CAAC,SAAS,GAAG,6BAA6B,CAAC,aAAa,CACxD,IAAI,EACJ,aAAa,CAChB,CAAC;QACF,IAAI,CAAC,OAAO,GAAG,6BAA6B,CAAC,WAAW,CACpD,IAAI,EACJ,aAAa,CAChB,CAAC;KACL;AAEO,IAAA,OAAO,eAAe,CAAC,IAAY,EAAE,aAAqB,EAAA;AAC9D,QAAA,OAAO,CAAgB,aAAA,EAAA,IAAI,CAAI,CAAA,EAAA,aAAa,EAAE,CAAC;KAClD;AAEO,IAAA,OAAO,aAAa,CAAC,IAAY,EAAE,aAAqB,EAAA;AAC5D,QAAA,OAAO,CAAc,WAAA,EAAA,IAAI,CAAI,CAAA,EAAA,aAAa,EAAE,CAAC;KAChD;AAEO,IAAA,OAAO,WAAW,CAAC,IAAY,EAAE,aAAqB,EAAA;AAC1D,QAAA,OAAO,CAAY,SAAA,EAAA,IAAI,CAA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AA,OAAO,UAAU,CAAC;AACrB,iBAAA;AACJ,aAAA;AAAC,YAAA,OAAO,CAAC,EAAE;;AAEX,aAAA;AACJ,SAAA;AACD,QAAA,OAAO,IAAI,CAAC;KACf;AACJ;;;;"}
|
||||
54
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserRootPerformanceEvents.mjs
generated
vendored
Normal file
54
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserRootPerformanceEvents.mjs
generated
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
/*! @azure/msal-browser v5.11.0 2026-05-19 */
|
||||
'use strict';
|
||||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
/**
|
||||
* acquireTokenSilent API (msal-browser and msal-node).
|
||||
* Used to silently acquire a new access token (from the cache or the network).
|
||||
*/
|
||||
const AcquireTokenSilent = "acquireTokenSilent";
|
||||
/**
|
||||
* acquireTokenByCode API (msal-browser and msal-node).
|
||||
* Used to acquire tokens by trading an authorization code against the token endpoint.
|
||||
*/
|
||||
const AcquireTokenByCode = "acquireTokenByCode";
|
||||
/**
|
||||
* acquireTokenPopup (msal-browser).
|
||||
* Used to acquire a new access token interactively through pop ups
|
||||
*/
|
||||
const AcquireTokenPopup = "acquireTokenPopup";
|
||||
/**
|
||||
* acquireTokenPreRedirect (msal-browser).
|
||||
* First part of the redirect flow.
|
||||
* Used to acquire a new access token interactively through redirects.
|
||||
*/
|
||||
const AcquireTokenPreRedirect = "acquireTokenPreRedirect";
|
||||
/**
|
||||
* acquireTokenRedirect (msal-browser).
|
||||
* Second part of the redirect flow.
|
||||
* Used to acquire a new access token interactively through redirects.
|
||||
*/
|
||||
const AcquireTokenRedirect = "acquireTokenRedirect";
|
||||
/**
|
||||
* ssoSilent API (msal-browser).
|
||||
* Used to silently acquire an authorization code and set of tokens using a hidden iframe.
|
||||
*/
|
||||
const SsoSilent = "ssoSilent";
|
||||
// Initialize client application
|
||||
const InitializeClientApplication = "initializeClientApplication";
|
||||
// Update cache storage
|
||||
const LocalStorageUpdated = "localStorageUpdated";
|
||||
// Load external tokens
|
||||
const LoadExternalTokens = "loadExternalTokens";
|
||||
/**
|
||||
* SSO capability verification call (msal-browser).
|
||||
* Fire-and-forget SSO verification call made after interactive authentication completes.
|
||||
*/
|
||||
const SsoCapable = "ssoCapable";
|
||||
// Wait for late response from bridge after timeout has already occurred
|
||||
const WaitForBridgeLateResponse = "waitForBridgeLateResponse";
|
||||
|
||||
export { AcquireTokenByCode, AcquireTokenPopup, AcquireTokenPreRedirect, AcquireTokenRedirect, AcquireTokenSilent, InitializeClientApplication, LoadExternalTokens, LocalStorageUpdated, SsoCapable, SsoSilent, WaitForBridgeLateResponse };
|
||||
//# sourceMappingURL=BrowserRootPerformanceEvents.mjs.map
|
||||
1
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserRootPerformanceEvents.mjs.map
generated
vendored
Normal file
1
backend/node_modules/@azure/msal-browser/dist/telemetry/BrowserRootPerformanceEvents.mjs.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"BrowserRootPerformanceEvents.mjs","sources":["../../src/telemetry/BrowserRootPerformanceEvents.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;;;AAGG;AACI,MAAM,kBAAkB,GAAG,qBAAqB;AACvD;;;AAGG;AACI,MAAM,kBAAkB,GAAG,qBAAqB;AACvD;;;AAGG;AACI,MAAM,iBAAiB,GAAG,oBAAoB;AACrD;;;;AAIG;AACI,MAAM,uBAAuB,GAAG,0BAA0B;AACjE;;;;AAIG;AACI,MAAM,oBAAoB,GAAG,uBAAuB;AAC3D;;;AAGG;AACI,MAAM,SAAS,GAAG,YAAY;AACrC;AACO,MAAM,2BAA2B,GAAG,8BAA8B;AACzE;AACO,MAAM,mBAAmB,GAAG,sBAAsB;AACzD;AACO,MAAM,kBAAkB,GAAG,qBAAqB;AACvD;;;AAGG;AACI,MAAM,UAAU,GAAG,aAAa;AACvC;AACO,MAAM,yBAAyB,GAAG;;;;"}
|
||||
Reference in New Issue
Block a user