opencode-m365-copilot 0.3.4 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- import { F as __require, I as __toESM, P as __commonJSMin } from "./server-DQW-8ns2.mjs";
1
+ import { F as __require, I as __toESM, P as __commonJSMin } from "./server-Cow8-T6p.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import http from "http";
4
4
  import crypto, { createHash as createHash$1 } from "crypto";
5
- //#region node_modules/@azure/msal-node/dist/cache/serializer/Serializer.mjs
6
- /*! @azure/msal-node v7.0.1 2026-10-02 */
5
+ // node_modules/@azure/msal-node/dist/cache/serializer/Serializer.mjs
6
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
7
7
  /**
8
8
  * This class serializes cache entities to be saved into in-memory object types defined internally
9
9
  * @internal
@@ -141,9 +141,8 @@ var Serializer = class {
141
141
  };
142
142
  }
143
143
  };
144
- //#endregion
145
- //#region node_modules/@azure/msal-common/dist/constants/AADServerParamKeys.mjs
146
- /*! @azure/msal-common v16.14.2 2026-10-02 */
144
+ // node_modules/@azure/msal-common/dist/constants/AADServerParamKeys.mjs
145
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
147
146
  const CLIENT_ID = "client_id";
148
147
  const REDIRECT_URI = "redirect_uri";
149
148
  const RESPONSE_TYPE = "response_type";
@@ -188,9 +187,14 @@ const INSTANCE_AWARE = "instance_aware";
188
187
  const RESOURCE = "resource";
189
188
  const CLI_DATA = "clidata";
190
189
  const ATTRIBUTE_TOKENS = "attribute_tokens";
191
- //#endregion
192
- //#region node_modules/@azure/msal-common/dist/utils/Constants.mjs
193
- /*! @azure/msal-common v16.14.2 2026-10-02 */
190
+ /**
191
+ * Popup-origin-check-done. Signals to the STS that the client verified the
192
+ * popup cannot be reached by an untrusted window, so the
193
+ * Cross-Origin-Opener-Policy response header may be omitted.
194
+ */
195
+ const POPUP_ORIGIN_CHECK_DONE = "pocd";
196
+ // node_modules/@azure/msal-common/dist/utils/Constants.mjs
197
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
194
198
  const SKU = "msal.js.common";
195
199
  const DEFAULT_AUTHORITY = "https://login.microsoftonline.com/common/";
196
200
  const DEFAULT_AUTHORITY_HOST = "login.microsoftonline.com";
@@ -391,9 +395,8 @@ const EncodingTypes = {
391
395
  HEX: "hex",
392
396
  UTF8: "utf-8"
393
397
  };
394
- //#endregion
395
- //#region node_modules/@azure/msal-common/dist/error/AuthError.mjs
396
- /*! @azure/msal-common v16.14.2 2026-10-02 */
398
+ // node_modules/@azure/msal-common/dist/error/AuthError.mjs
399
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
397
400
  function getDefaultErrorMessage(code) {
398
401
  return `See https://aka.ms/msal.js.errors#${code} for details`;
399
402
  }
@@ -416,9 +419,8 @@ var AuthError = class AuthError extends Error {
416
419
  function createAuthError(code, correlationId, additionalMessage) {
417
420
  return new AuthError(code, correlationId, additionalMessage || getDefaultErrorMessage(code));
418
421
  }
419
- //#endregion
420
- //#region node_modules/@azure/msal-common/dist/error/ClientAuthError.mjs
421
- /*! @azure/msal-common v16.14.2 2026-10-02 */
422
+ // node_modules/@azure/msal-common/dist/error/ClientAuthError.mjs
423
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
422
424
  /**
423
425
  * ClientAuthErrorMessage class containing string constants used by error codes and messages.
424
426
  */
@@ -435,9 +437,8 @@ var ClientAuthError = class ClientAuthError extends AuthError {
435
437
  function createClientAuthError(errorCode, correlationId, additionalMessage) {
436
438
  return new ClientAuthError(errorCode, correlationId, additionalMessage);
437
439
  }
438
- //#endregion
439
- //#region node_modules/@azure/msal-common/dist/error/ClientAuthErrorCodes.mjs
440
- /*! @azure/msal-common v16.14.2 2026-10-02 */
440
+ // node_modules/@azure/msal-common/dist/error/ClientAuthErrorCodes.mjs
441
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
441
442
  const clientInfoDecodingError = "client_info_decoding_error";
442
443
  const clientInfoEmptyError = "client_info_empty_error";
443
444
  const tokenParsingError = "token_parsing_error";
@@ -466,9 +467,8 @@ const keyIdMissing = "key_id_missing";
466
467
  const methodNotImplemented = "method_not_implemented";
467
468
  const resourceParameterRequired = "resource_parameter_required";
468
469
  const misplacedResourceParam = "misplaced_resource_parameter";
469
- //#endregion
470
- //#region node_modules/@azure/msal-common/dist/account/ClientInfo.mjs
471
- /*! @azure/msal-common v16.14.2 2026-10-02 */
470
+ // node_modules/@azure/msal-common/dist/account/ClientInfo.mjs
471
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
472
472
  /**
473
473
  * Function to build a client info object from server clientInfo string
474
474
  * @param rawClientInfo
@@ -495,9 +495,8 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
495
495
  utid: clientInfoParts.length < 2 ? "" : clientInfoParts[1]
496
496
  };
497
497
  }
498
- //#endregion
499
- //#region node_modules/@azure/msal-common/dist/account/AuthToken.mjs
500
- /*! @azure/msal-common v16.14.2 2026-10-02 */
498
+ // node_modules/@azure/msal-common/dist/account/AuthToken.mjs
499
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
501
500
  /**
502
501
  * Extract token by decoding the rawToken
503
502
  *
@@ -547,9 +546,8 @@ function getJWSPayload(authToken, correlationId) {
547
546
  */
548
547
  return matches[2];
549
548
  }
550
- //#endregion
551
- //#region node_modules/@azure/msal-common/dist/account/AccountInfo.mjs
552
- /*! @azure/msal-common v16.14.2 2026-10-02 */
549
+ // node_modules/@azure/msal-common/dist/account/AccountInfo.mjs
550
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
553
551
  /**
554
552
  * Returns true if tenantId matches the utid portion of homeAccountId
555
553
  * @param tenantId
@@ -624,9 +622,8 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
624
622
  }
625
623
  return updatedAccountInfo;
626
624
  }
627
- //#endregion
628
- //#region node_modules/@azure/msal-common/dist/authority/AuthorityType.mjs
629
- /*! @azure/msal-common v16.14.2 2026-10-02 */
625
+ // node_modules/@azure/msal-common/dist/authority/AuthorityType.mjs
626
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
630
627
  /**
631
628
  * Authority types supported by MSAL.
632
629
  */
@@ -635,9 +632,8 @@ const AuthorityType = {
635
632
  Adfs: 1,
636
633
  Ciam: 3
637
634
  };
638
- //#endregion
639
- //#region node_modules/@azure/msal-common/dist/account/TokenClaims.mjs
640
- /*! @azure/msal-common v16.14.2 2026-10-02 */
635
+ // node_modules/@azure/msal-common/dist/account/TokenClaims.mjs
636
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
641
637
  /**
642
638
  * Gets tenantId from available ID token claims to set as credential realm with the following precedence:
643
639
  * 1. tid - if the token is acquired from an Azure AD tenant tid will be present
@@ -651,9 +647,8 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
651
647
  if (idTokenClaims) return idTokenClaims.tid || idTokenClaims.tfp || idTokenClaims.acr || null;
652
648
  return null;
653
649
  }
654
- //#endregion
655
- //#region node_modules/@azure/msal-common/dist/authority/ProtocolMode.mjs
656
- /*! @azure/msal-common v16.14.2 2026-10-02 */
650
+ // node_modules/@azure/msal-common/dist/authority/ProtocolMode.mjs
651
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
657
652
  /**
658
653
  * Protocol modes supported by MSAL.
659
654
  */
@@ -672,9 +667,8 @@ const ProtocolMode = {
672
667
  */
673
668
  EAR: "EAR"
674
669
  };
675
- //#endregion
676
- //#region node_modules/@azure/msal-common/dist/cache/utils/AccountEntityUtils.mjs
677
- /*! @azure/msal-common v16.14.2 2026-10-02 */
670
+ // node_modules/@azure/msal-common/dist/cache/utils/AccountEntityUtils.mjs
671
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
678
672
  /**
679
673
  * Returns the AccountInfo interface for this account.
680
674
  * @internal
@@ -769,13 +763,11 @@ function isAccountEntity(entity) {
769
763
  if (!entity) return false;
770
764
  return entity.hasOwnProperty("homeAccountId") && entity.hasOwnProperty("environment") && entity.hasOwnProperty("realm") && entity.hasOwnProperty("localAccountId") && entity.hasOwnProperty("username") && entity.hasOwnProperty("authorityType");
771
765
  }
772
- //#endregion
773
- //#region node_modules/@azure/msal-common/dist/error/AuthErrorCodes.mjs
774
- /*! @azure/msal-common v16.14.2 2026-10-02 */
766
+ // node_modules/@azure/msal-common/dist/error/AuthErrorCodes.mjs
767
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
775
768
  const postRequestFailed = "post_request_failed";
776
- //#endregion
777
- //#region node_modules/@azure/msal-common/dist/error/ClientConfigurationError.mjs
778
- /*! @azure/msal-common v16.14.2 2026-10-02 */
769
+ // node_modules/@azure/msal-common/dist/error/ClientConfigurationError.mjs
770
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
779
771
  /**
780
772
  * Error thrown when there is an error in configuration of the MSAL.js library.
781
773
  */
@@ -789,9 +781,34 @@ var ClientConfigurationError = class ClientConfigurationError extends AuthError
789
781
  function createClientConfigurationError(errorCode, correlationId) {
790
782
  return new ClientConfigurationError(errorCode, correlationId);
791
783
  }
792
- //#endregion
793
- //#region node_modules/@azure/msal-common/dist/error/ClientConfigurationErrorCodes.mjs
794
- /*! @azure/msal-common v16.14.2 2026-10-02 */
784
+ // node_modules/@azure/msal-common/dist/network/ResponseHeaders.mjs
785
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
786
+ const normalizedHeaderRecords = /* @__PURE__ */ new WeakSet();
787
+ /**
788
+ * Creates a lowercase-keyed snapshot without changing header values or the input.
789
+ * Reuses snapshots produced by this function to avoid repeated normalization.
790
+ * @internal
791
+ */
792
+ function normalizeResponseHeaders(headers) {
793
+ if (normalizedHeaderRecords.has(headers)) return headers;
794
+ const normalized = Object.fromEntries(Object.entries(headers).map(([name, value]) => [name.toLowerCase(), value]));
795
+ normalizedHeaderRecords.add(normalized);
796
+ return normalized;
797
+ }
798
+ /**
799
+ * Reads a response header case-insensitively.
800
+ * Normalized snapshots are never scanned, even when a header is missing.
801
+ * @internal
802
+ */
803
+ function getResponseHeader(headers, name) {
804
+ const key = name.toLowerCase();
805
+ if (Object.prototype.hasOwnProperty.call(headers, key)) return headers[key];
806
+ if (normalizedHeaderRecords.has(headers)) return;
807
+ const headerName = Object.keys(headers).find((header) => header.toLowerCase() === key);
808
+ return headerName === void 0 ? void 0 : headers[headerName];
809
+ }
810
+ // node_modules/@azure/msal-common/dist/error/ClientConfigurationErrorCodes.mjs
811
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
795
812
  const redirectUriEmpty = "redirect_uri_empty";
796
813
  const authorityUriInsecure = "authority_uri_insecure";
797
814
  const urlParseError = "url_parse_error";
@@ -811,15 +828,13 @@ const invalidDpopHtm = "invalid_dpop_htm";
811
828
  const invalidDpopHtu = "invalid_dpop_htu";
812
829
  const invalidDpopNonce = "invalid_dpop_nonce";
813
830
  const dpopMissingResourceContext = "dpop_missing_resource_context";
814
- //#endregion
815
- //#region node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.mjs
816
- /*! @azure/msal-common v16.14.2 2026-10-02 */
831
+ // node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.mjs
832
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
817
833
  function isOpenIdConfigResponse(response) {
818
834
  return response.hasOwnProperty("authorization_endpoint") && response.hasOwnProperty("token_endpoint") && response.hasOwnProperty("issuer") && response.hasOwnProperty("jwks_uri");
819
835
  }
820
- //#endregion
821
- //#region node_modules/@azure/msal-common/dist/utils/StringUtils.mjs
822
- /*! @azure/msal-common v16.14.2 2026-10-02 */
836
+ // node_modules/@azure/msal-common/dist/utils/StringUtils.mjs
837
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
823
838
  /**
824
839
  * @hidden
825
840
  */
@@ -887,9 +902,8 @@ var StringUtils = class {
887
902
  }
888
903
  }
889
904
  };
890
- //#endregion
891
- //#region node_modules/@azure/msal-common/dist/url/UrlString.mjs
892
- /*! @azure/msal-common v16.14.2 2026-10-02 */
905
+ // node_modules/@azure/msal-common/dist/url/UrlString.mjs
906
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
893
907
  /**
894
908
  * Url object class which can perform various transformations on url strings.
895
909
  */
@@ -994,9 +1008,8 @@ var UrlString = class UrlString {
994
1008
  return new UrlString(urlObject.Protocol + "//" + urlObject.HostNameAndPort + "/" + urlObject.PathSegments.join("/"), correlationId);
995
1009
  }
996
1010
  };
997
- //#endregion
998
- //#region node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.mjs
999
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1011
+ // node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.mjs
1012
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
1000
1013
  const endpointHosts = [
1001
1014
  { host: "login.microsoftonline.com" },
1002
1015
  { host: "login.partner.microsoftonline.cn" },
@@ -1125,9 +1138,8 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
1125
1138
  }
1126
1139
  return null;
1127
1140
  }
1128
- //#endregion
1129
- //#region node_modules/@azure/msal-common/dist/authority/AuthorityOptions.mjs
1130
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1141
+ // node_modules/@azure/msal-common/dist/authority/AuthorityOptions.mjs
1142
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
1131
1143
  const AzureCloudInstance = {
1132
1144
  None: "none",
1133
1145
  AzurePublic: "https://login.microsoftonline.com",
@@ -1135,21 +1147,18 @@ const AzureCloudInstance = {
1135
1147
  AzureGermany: "https://login.microsoftonline.de",
1136
1148
  AzureUsGovernment: "https://login.microsoftonline.us"
1137
1149
  };
1138
- //#endregion
1139
- //#region node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.mjs
1140
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1150
+ // node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.mjs
1151
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
1141
1152
  function isCloudInstanceDiscoveryResponse(response) {
1142
1153
  return response.hasOwnProperty("tenant_discovery_endpoint") && response.hasOwnProperty("metadata");
1143
1154
  }
1144
- //#endregion
1145
- //#region node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs
1146
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1155
+ // node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs
1156
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
1147
1157
  function isCloudInstanceDiscoveryErrorResponse(response) {
1148
1158
  return response.hasOwnProperty("error") && response.hasOwnProperty("error_description");
1149
1159
  }
1150
- //#endregion
1151
- //#region node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvents.mjs
1152
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1160
+ // node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvents.mjs
1161
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
1153
1162
  /**
1154
1163
  * Time spent sending/waiting for the response of a request to the token endpoint
1155
1164
  */
@@ -1206,9 +1215,8 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
1206
1215
  * Cache operations
1207
1216
  */
1208
1217
  const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
1209
- //#endregion
1210
- //#region node_modules/@azure/msal-common/dist/utils/FunctionWrappers.mjs
1211
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1218
+ // node_modules/@azure/msal-common/dist/utils/FunctionWrappers.mjs
1219
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
1212
1220
  /**
1213
1221
  * Wraps a function with a performance measurement.
1214
1222
  * Usage: invoke(functionToCall, performanceClient, "EventName", "correlationId")(...argsToPassToFunction)
@@ -1275,9 +1283,8 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
1275
1283
  });
1276
1284
  };
1277
1285
  };
1278
- //#endregion
1279
- //#region node_modules/@azure/msal-common/dist/authority/RegionDiscovery.mjs
1280
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1286
+ // node_modules/@azure/msal-common/dist/authority/RegionDiscovery.mjs
1287
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
1281
1288
  var RegionDiscovery = class RegionDiscovery {
1282
1289
  constructor(networkInterface, logger, performanceClient, correlationId) {
1283
1290
  this.networkInterface = networkInterface;
@@ -1346,9 +1353,8 @@ var RegionDiscovery = class RegionDiscovery {
1346
1353
  }
1347
1354
  };
1348
1355
  RegionDiscovery.IMDS_OPTIONS = { headers: { Metadata: "true" } };
1349
- //#endregion
1350
- //#region node_modules/@azure/msal-common/dist/utils/TimeUtils.mjs
1351
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1356
+ // node_modules/@azure/msal-common/dist/utils/TimeUtils.mjs
1357
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
1352
1358
  /**
1353
1359
  * Utility functions for managing date and time operations.
1354
1360
  */
@@ -1391,9 +1397,8 @@ function wasClockTurnedBack(cachedAt) {
1391
1397
  function delay(t, value) {
1392
1398
  return new Promise((resolve) => setTimeout(() => resolve(value), t));
1393
1399
  }
1394
- //#endregion
1395
- //#region node_modules/@azure/msal-common/dist/cache/utils/CacheHelpers.mjs
1396
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1400
+ // node_modules/@azure/msal-common/dist/cache/utils/CacheHelpers.mjs
1401
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
1397
1402
  /**
1398
1403
  * Create IdTokenEntity
1399
1404
  * @param homeAccountId
@@ -1591,9 +1596,8 @@ function serializeAttributeTokens(attributeTokens) {
1591
1596
  if (!attributeTokens || attributeTokens.length === 0) return;
1592
1597
  return [...attributeTokens].sort().join(" ");
1593
1598
  }
1594
- //#endregion
1595
- //#region node_modules/@azure/msal-common/dist/authority/Authority.mjs
1596
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1599
+ // node_modules/@azure/msal-common/dist/authority/Authority.mjs
1600
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
1597
1601
  /**
1598
1602
  * The authority class validates the authority URIs used by the user, and retrieves the OpenID Configuration Data from the
1599
1603
  * endpoint. It will store the pertinent config data in this object for use during token calls.
@@ -2325,9 +2329,8 @@ function buildStaticAuthorityOptions(authOptions) {
2325
2329
  cloudDiscoveryMetadata
2326
2330
  };
2327
2331
  }
2328
- //#endregion
2329
- //#region node_modules/@azure/msal-common/dist/authority/AuthorityFactory.mjs
2330
- /*! @azure/msal-common v16.14.2 2026-10-02 */
2332
+ // node_modules/@azure/msal-common/dist/authority/AuthorityFactory.mjs
2333
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
2331
2334
  /**
2332
2335
  * Create an authority object of the correct type based on the url
2333
2336
  * Performs basic authority validation - checks to see if the authority is of a valid type (i.e. aad, b2c, adfs)
@@ -2352,9 +2355,8 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
2352
2355
  throw createClientAuthError(endpointResolutionError, correlationId);
2353
2356
  }
2354
2357
  }
2355
- //#endregion
2356
- //#region node_modules/@azure/msal-common/dist/request/ScopeSet.mjs
2357
- /*! @azure/msal-common v16.14.2 2026-10-02 */
2358
+ // node_modules/@azure/msal-common/dist/request/ScopeSet.mjs
2359
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
2358
2360
  /**
2359
2361
  * The ScopeSet class creates a set of scopes. Scopes are case-insensitive, unique values, so the Set object in JS makes
2360
2362
  * the most sense to implement for this class. All scopes are trimmed and converted to lower case strings in intersection and union functions
@@ -2504,9 +2506,8 @@ var ScopeSet = class ScopeSet {
2504
2506
  return this.printScopes().toLowerCase();
2505
2507
  }
2506
2508
  };
2507
- //#endregion
2508
- //#region node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.mjs
2509
- /*! @azure/msal-common v16.14.2 2026-10-02 */
2509
+ // node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.mjs
2510
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
2510
2511
  function instrumentBrokerParams(parameters, correlationId, performanceClient) {
2511
2512
  if (!correlationId) return;
2512
2513
  const clientId = parameters.get(CLIENT_ID);
@@ -2748,6 +2749,18 @@ function addInstanceAware(parameters) {
2748
2749
  if (!parameters.has("instance_aware")) parameters.set(INSTANCE_AWARE, "true");
2749
2750
  }
2750
2751
  /**
2752
+ * Adds `pocd=1`, telling the STS that the client verified the popup driving
2753
+ * this request cannot be reached by an untrusted window, so the
2754
+ * Cross-Origin-Opener-Policy response header may be omitted.
2755
+ *
2756
+ * Only ever added when the check passed — a negative result is signalled by
2757
+ * omitting the parameter, which keeps the STS default (apply COOP) and stays
2758
+ * compatible with library versions that never send it.
2759
+ */
2760
+ function addPopupOriginCheckDone(parameters) {
2761
+ if (!parameters.has("pocd")) parameters.set(POPUP_ORIGIN_CHECK_DONE, "1");
2762
+ }
2763
+ /**
2751
2764
  * Add extraParameters
2752
2765
  * @param extraParams - String dictionary containing extra parameters to be added.
2753
2766
  */
@@ -2913,9 +2926,8 @@ function addAttributeTokens(parameters, attributeTokens) {
2913
2926
  if (serialized) parameters.set(ATTRIBUTE_TOKENS, serialized);
2914
2927
  else parameters.delete(ATTRIBUTE_TOKENS);
2915
2928
  }
2916
- //#endregion
2917
- //#region node_modules/@azure/msal-common/dist/utils/UrlUtils.mjs
2918
- /*! @azure/msal-common v16.14.2 2026-10-02 */
2929
+ // node_modules/@azure/msal-common/dist/utils/UrlUtils.mjs
2930
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
2919
2931
  /**
2920
2932
  * Parses hash string from given string. Returns empty string if no hash symbol is found.
2921
2933
  * @param hashString
@@ -2926,12 +2938,14 @@ function stripLeadingHashOrQuery(responseString) {
2926
2938
  return responseString;
2927
2939
  }
2928
2940
  /**
2929
- * Returns URL hash as server auth code response object.
2941
+ * Returns flat fragment or query parameters as an authorization response.
2942
+ * Application routes and unrecognized responses return null.
2930
2943
  */
2931
2944
  function getDeserializedResponse(responseString) {
2932
2945
  if (!responseString || responseString.indexOf("=") < 0) return null;
2933
2946
  try {
2934
2947
  const normalizedResponse = stripLeadingHashOrQuery(responseString);
2948
+ if (!/^[^=&?#/]+(?:=|&|$)/.test(normalizedResponse)) return null;
2935
2949
  const deserializedHash = Object.fromEntries(new URLSearchParams(normalizedResponse));
2936
2950
  if (deserializedHash.code || deserializedHash.ear_jwe || deserializedHash.error || deserializedHash.error_description || deserializedHash.state) return deserializedHash;
2937
2951
  } catch (e) {
@@ -2949,9 +2963,8 @@ function mapToQueryString(parameters) {
2949
2963
  });
2950
2964
  return queryParameterArray.join("&");
2951
2965
  }
2952
- //#endregion
2953
- //#region node_modules/@azure/msal-common/dist/crypto/ICrypto.mjs
2954
- /*! @azure/msal-common v16.14.2 2026-10-02 */
2966
+ // node_modules/@azure/msal-common/dist/crypto/ICrypto.mjs
2967
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
2955
2968
  /**
2956
2969
  * Shared JOSE algorithm literals used by MSAL package internals.
2957
2970
  * @internal
@@ -2993,9 +3006,8 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
2993
3006
  throw createClientAuthError(methodNotImplemented, "");
2994
3007
  }
2995
3008
  };
2996
- //#endregion
2997
- //#region node_modules/@azure/msal-common/dist/crypto/ITokenBindingKeyManager.mjs
2998
- /*! @azure/msal-common v16.14.2 2026-10-02 */
3009
+ // node_modules/@azure/msal-common/dist/crypto/ITokenBindingKeyManager.mjs
3010
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
2999
3011
  /**
3000
3012
  * Default token-binding key manager used when a platform-specific implementation
3001
3013
  * has not been provided.
@@ -3012,9 +3024,8 @@ const DEFAULT_TOKEN_BINDING_KEY_MANAGER = {
3012
3024
  throw createClientAuthError(methodNotImplemented, correlationId);
3013
3025
  }
3014
3026
  };
3015
- //#endregion
3016
- //#region node_modules/@azure/msal-common/dist/logger/Logger.mjs
3017
- /*! @azure/msal-common v16.14.2 2026-10-02 */
3027
+ // node_modules/@azure/msal-common/dist/logger/Logger.mjs
3028
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
3018
3029
  /**
3019
3030
  * Log message level.
3020
3031
  */
@@ -3243,19 +3254,16 @@ var Logger = class Logger {
3243
3254
  return this.piiLoggingEnabled || false;
3244
3255
  }
3245
3256
  };
3246
- //#endregion
3247
- //#region node_modules/@azure/msal-common/dist/packageMetadata.mjs
3248
- /*! @azure/msal-common v16.14.2 2026-10-02 */
3257
+ // node_modules/@azure/msal-common/dist/packageMetadata.mjs
3258
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
3249
3259
  const name$1 = "@azure/msal-common";
3250
- const version$1 = "16.14.2";
3251
- //#endregion
3252
- //#region node_modules/@azure/msal-common/dist/error/CacheErrorCodes.mjs
3253
- /*! @azure/msal-common v16.14.2 2026-10-02 */
3260
+ const version$1 = "16.15.0";
3261
+ // node_modules/@azure/msal-common/dist/error/CacheErrorCodes.mjs
3262
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
3254
3263
  const cacheQuotaExceeded = "cache_quota_exceeded";
3255
3264
  const cacheErrorUnknown = "cache_error_unknown";
3256
- //#endregion
3257
- //#region node_modules/@azure/msal-common/dist/error/CacheError.mjs
3258
- /*! @azure/msal-common v16.14.2 2026-10-02 */
3265
+ // node_modules/@azure/msal-common/dist/error/CacheError.mjs
3266
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
3259
3267
  /**
3260
3268
  * Error thrown when there is an error with the cache
3261
3269
  */
@@ -3279,9 +3287,8 @@ function createCacheError(e) {
3279
3287
  if (e.name === "QuotaExceededError" || e.name === "NS_ERROR_DOM_QUOTA_REACHED" || e.message.includes("exceeded the quota")) return new CacheError(cacheQuotaExceeded);
3280
3288
  else return new CacheError(e.name, e.message);
3281
3289
  }
3282
- //#endregion
3283
- //#region node_modules/@azure/msal-common/dist/cache/CacheManager.mjs
3284
- /*! @azure/msal-common v16.14.2 2026-10-02 */
3290
+ // node_modules/@azure/msal-common/dist/cache/CacheManager.mjs
3291
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
3285
3292
  /**
3286
3293
  * Interface class which implement cache storage functions used by MSAL to perform validity checks, and store tokens.
3287
3294
  * @internal
@@ -4128,9 +4135,8 @@ var DefaultStorageClass = class extends CacheManager {
4128
4135
  throw createClientAuthError(methodNotImplemented, "");
4129
4136
  }
4130
4137
  };
4131
- //#endregion
4132
- //#region node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.mjs
4133
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4138
+ // node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.mjs
4139
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4134
4140
  /**
4135
4141
  * State of the performance event.
4136
4142
  *
@@ -4142,9 +4148,8 @@ const PerformanceEventStatus = {
4142
4148
  InProgress: 1,
4143
4149
  Completed: 2
4144
4150
  };
4145
- //#endregion
4146
- //#region node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.mjs
4147
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4151
+ // node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.mjs
4152
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4148
4153
  var StubPerformanceClient = class {
4149
4154
  generateId() {
4150
4155
  return "callback-id";
@@ -4184,9 +4189,8 @@ var StubPerformanceClient = class {
4184
4189
  incrementFields() {}
4185
4190
  cacheEventByCorrelationId() {}
4186
4191
  };
4187
- //#endregion
4188
- //#region node_modules/@azure/msal-common/dist/config/ClientConfiguration.mjs
4189
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4192
+ // node_modules/@azure/msal-common/dist/config/ClientConfiguration.mjs
4193
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4190
4194
  const DEFAULT_SYSTEM_OPTIONS$1 = {
4191
4195
  tokenRenewalOffsetSeconds: 300,
4192
4196
  preventCorsPreflight: false
@@ -4244,7 +4248,7 @@ function buildClientConfiguration({ authOptions: userAuthOptions, systemOptions:
4244
4248
  ...userSystemOptions
4245
4249
  },
4246
4250
  loggerOptions,
4247
- storageInterface: storageImplementation || new DefaultStorageClass(userAuthOptions.clientId, DEFAULT_CRYPTO_IMPLEMENTATION, new Logger(loggerOptions, "@azure/msal-common", "16.14.2"), new StubPerformanceClient(), void 0, resolvedTokenBindingKeyManager),
4251
+ storageInterface: storageImplementation || new DefaultStorageClass(userAuthOptions.clientId, DEFAULT_CRYPTO_IMPLEMENTATION, new Logger(loggerOptions, "@azure/msal-common", "16.15.0"), new StubPerformanceClient(), void 0, resolvedTokenBindingKeyManager),
4248
4252
  networkInterface: networkImplementation || DEFAULT_NETWORK_IMPLEMENTATION,
4249
4253
  cryptoInterface: cryptoImplementation || DEFAULT_CRYPTO_IMPLEMENTATION,
4250
4254
  tokenBindingKeyManager: resolvedTokenBindingKeyManager,
@@ -4282,9 +4286,8 @@ function buildAuthOptions(authOptions) {
4282
4286
  function isOidcProtocolMode(config) {
4283
4287
  return config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC;
4284
4288
  }
4285
- //#endregion
4286
- //#region node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.mjs
4287
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4289
+ // node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.mjs
4290
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4288
4291
  /**
4289
4292
  * This class instance helps track the memory changes facilitating
4290
4293
  * decisions to read from and write to the persistent cache
@@ -4306,9 +4309,8 @@ function isOidcProtocolMode(config) {
4306
4309
  return this.cache;
4307
4310
  }
4308
4311
  };
4309
- //#endregion
4310
- //#region node_modules/@azure/msal-common/dist/error/JoseHeaderError.mjs
4311
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4312
+ // node_modules/@azure/msal-common/dist/error/JoseHeaderError.mjs
4313
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4312
4314
  /**
4313
4315
  * Error thrown when there is an error in the client code running on the browser.
4314
4316
  */
@@ -4323,9 +4325,8 @@ var JoseHeaderError = class JoseHeaderError extends AuthError {
4323
4325
  function createJoseHeaderError(code, correlationId) {
4324
4326
  return new JoseHeaderError(code, correlationId);
4325
4327
  }
4326
- //#endregion
4327
- //#region node_modules/@azure/msal-common/dist/utils/ObjectUtils.mjs
4328
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4328
+ // node_modules/@azure/msal-common/dist/utils/ObjectUtils.mjs
4329
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4329
4330
  /**
4330
4331
  * Checks whether a value is a plain JSON-like object.
4331
4332
  * Allows objects with null prototypes, but rejects arrays and object subclasses.
@@ -4337,16 +4338,14 @@ function isPlainObject(value) {
4337
4338
  while (Object.getPrototypeOf(proto) !== null) proto = Object.getPrototypeOf(proto);
4338
4339
  return Object.getPrototypeOf(value) === proto;
4339
4340
  }
4340
- //#endregion
4341
- //#region node_modules/@azure/msal-common/dist/error/JoseHeaderErrorCodes.mjs
4342
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4341
+ // node_modules/@azure/msal-common/dist/error/JoseHeaderErrorCodes.mjs
4342
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4343
4343
  const missingKidError = "missing_kid_error";
4344
4344
  const missingAlgError = "missing_alg_error";
4345
4345
  const missingJwkError = "missing_jwk_error";
4346
4346
  const invalidJwkError = "invalid_jwk_error";
4347
- //#endregion
4348
- //#region node_modules/@azure/msal-common/dist/crypto/JoseHeader.mjs
4349
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4347
+ // node_modules/@azure/msal-common/dist/crypto/JoseHeader.mjs
4348
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4350
4349
  /** @internal */
4351
4350
  var JoseHeader = class JoseHeader {
4352
4351
  constructor(options, correlationId) {
@@ -4391,9 +4390,8 @@ var JoseHeader = class JoseHeader {
4391
4390
  }, correlationId);
4392
4391
  }
4393
4392
  };
4394
- //#endregion
4395
- //#region node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.mjs
4396
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4393
+ // node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.mjs
4394
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4397
4395
  const KeyLocation = { SW: "sw" };
4398
4396
  const SHR_TOKEN_BINDING_KEY_TYPE = "shr";
4399
4397
  const SHR_TOKEN_BINDING_KEY_ALGORITHM = JsonWebTokenAlgorithms.RS256;
@@ -4476,9 +4474,8 @@ var PopTokenGenerator = class {
4476
4474
  return this.cryptoUtils.signTokenBindingJwt(shrHeader, shrPayload, keyId, request.correlationId);
4477
4475
  }
4478
4476
  };
4479
- //#endregion
4480
- //#region node_modules/@azure/msal-common/dist/crypto/DpopProofGenerator.mjs
4481
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4477
+ // node_modules/@azure/msal-common/dist/crypto/DpopProofGenerator.mjs
4478
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4482
4479
  const DPOP_HTM_REGEX = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
4483
4480
  const DPOP_TOKEN_BINDING_KEY_TYPE = "dpop";
4484
4481
  const DPOP_JWT_HEADER_ALGORITHM = JsonWebTokenAlgorithms.ES256;
@@ -4601,9 +4598,8 @@ var DpopProofGenerator = class {
4601
4598
  return this.cryptoUtils.signTokenBindingJwt(buildProofHeader(publicJwk, correlationId), claims, keyId, correlationId);
4602
4599
  }
4603
4600
  };
4604
- //#endregion
4605
- //#region node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthErrorCodes.mjs
4606
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4601
+ // node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthErrorCodes.mjs
4602
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4607
4603
  /**
4608
4604
  * MSAL-defined interaction required error code indicating no tokens are found in cache.
4609
4605
  * @public
@@ -4614,9 +4610,8 @@ const noTokensFound = "no_tokens_found";
4614
4610
  * @public
4615
4611
  */
4616
4612
  const refreshTokenExpired = "refresh_token_expired";
4617
- //#endregion
4618
- //#region node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.mjs
4619
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4613
+ // node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.mjs
4614
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4620
4615
  /**
4621
4616
  * InteractionRequiredServerErrorMessage contains string constants used by error codes and messages returned by the server indicating interaction is required
4622
4617
  */
@@ -4672,9 +4667,8 @@ function isInteractionRequiredError(errorCode, errorString, subError) {
4672
4667
  function createInteractionRequiredAuthError(errorCode, correlationId, errorMessage) {
4673
4668
  return new InteractionRequiredAuthError(errorCode, correlationId, errorMessage);
4674
4669
  }
4675
- //#endregion
4676
- //#region node_modules/@azure/msal-common/dist/error/ServerError.mjs
4677
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4670
+ // node_modules/@azure/msal-common/dist/error/ServerError.mjs
4671
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4678
4672
  /**
4679
4673
  * Error thrown when there is an error with the server code, for example, unavailability.
4680
4674
  */
@@ -4687,9 +4681,8 @@ var ServerError = class ServerError extends AuthError {
4687
4681
  Object.setPrototypeOf(this, ServerError.prototype);
4688
4682
  }
4689
4683
  };
4690
- //#endregion
4691
- //#region node_modules/@azure/msal-common/dist/utils/ProtocolUtils.mjs
4692
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4684
+ // node_modules/@azure/msal-common/dist/utils/ProtocolUtils.mjs
4685
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4693
4686
  /**
4694
4687
  * Parses the state into the RequestStateObject, which contains the LibraryState info and the state passed by the user.
4695
4688
  * @param base64Decode
@@ -4713,9 +4706,8 @@ function parseRequestState(base64Decode, state, correlationId) {
4713
4706
  throw createClientAuthError(invalidState, correlationId);
4714
4707
  }
4715
4708
  }
4716
- //#endregion
4717
- //#region node_modules/@azure/msal-common/dist/response/ResponseHandler.mjs
4718
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4709
+ // node_modules/@azure/msal-common/dist/response/ResponseHandler.mjs
4710
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4719
4711
  /**
4720
4712
  * Class that handles response parsing.
4721
4713
  * @internal
@@ -4983,16 +4975,14 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
4983
4975
  baseAccount.tenantProfiles = tenantProfiles;
4984
4976
  return baseAccount;
4985
4977
  }
4986
- //#endregion
4987
- //#region node_modules/@azure/msal-common/dist/account/CcsCredential.mjs
4988
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4978
+ // node_modules/@azure/msal-common/dist/account/CcsCredential.mjs
4979
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4989
4980
  const CcsCredentialType = {
4990
4981
  HOME_ACCOUNT_ID: "home_account_id",
4991
4982
  UPN: "UPN"
4992
4983
  };
4993
- //#endregion
4994
- //#region node_modules/@azure/msal-common/dist/utils/ClientAssertionUtils.mjs
4995
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4984
+ // node_modules/@azure/msal-common/dist/utils/ClientAssertionUtils.mjs
4985
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
4996
4986
  async function getClientAssertion(clientAssertion, clientId, tokenEndpoint, fmiPath) {
4997
4987
  if (typeof clientAssertion === "string") return clientAssertion;
4998
4988
  else return clientAssertion({
@@ -5001,9 +4991,8 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint, fmiP
5001
4991
  fmiPath
5002
4992
  });
5003
4993
  }
5004
- //#endregion
5005
- //#region node_modules/@azure/msal-common/dist/network/RequestThumbprint.mjs
5006
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4994
+ // node_modules/@azure/msal-common/dist/network/RequestThumbprint.mjs
4995
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
5007
4996
  function getRequestThumbprint(clientId, request, homeAccountId) {
5008
4997
  return {
5009
4998
  clientId,
@@ -5021,9 +5010,8 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
5021
5010
  attributeTokens: serializeAttributeTokens(request.attributeTokens)
5022
5011
  };
5023
5012
  }
5024
- //#endregion
5025
- //#region node_modules/@azure/msal-common/dist/network/ThrottlingUtils.mjs
5026
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5013
+ // node_modules/@azure/msal-common/dist/network/ThrottlingUtils.mjs
5014
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
5027
5015
  /** @internal */
5028
5016
  var ThrottlingUtils = class ThrottlingUtils {
5029
5017
  /**
@@ -5053,12 +5041,13 @@ var ThrottlingUtils = class ThrottlingUtils {
5053
5041
  * Performs necessary throttling checks after a network request.
5054
5042
  * @param cacheManager
5055
5043
  * @param thumbprint
5056
- * @param response
5044
+ * @param response - Token response with case-insensitive header names.
5057
5045
  */
5058
5046
  static postProcess(cacheManager, thumbprint, response, correlationId) {
5059
- if (ThrottlingUtils.checkResponseStatus(response) || ThrottlingUtils.checkResponseForRetryAfter(response)) {
5047
+ const retryAfter = getRetryAfterHeader(response);
5048
+ if (ThrottlingUtils.checkResponseStatus(response) || retryAfter !== void 0) {
5060
5049
  const thumbprintValue = {
5061
- throttleTime: ThrottlingUtils.calculateThrottleTime(parseInt(response.headers[HeaderNames.RETRY_AFTER])),
5050
+ throttleTime: ThrottlingUtils.calculateThrottleTime(parseInt(retryAfter || "")),
5062
5051
  error: response.body.error,
5063
5052
  errorCodes: response.body.error_codes,
5064
5053
  errorMessage: response.body.error_description,
@@ -5076,11 +5065,10 @@ var ThrottlingUtils = class ThrottlingUtils {
5076
5065
  }
5077
5066
  /**
5078
5067
  * Checks a NetworkResponse object's RetryAfter header
5079
- * @param response
5068
+ * @param response - Token response with case-insensitive header names.
5080
5069
  */
5081
5070
  static checkResponseForRetryAfter(response) {
5082
- if (response.headers) return response.headers.hasOwnProperty(HeaderNames.RETRY_AFTER) && (response.status < 200 || response.status >= 300);
5083
- return false;
5071
+ return getRetryAfterHeader(response) !== void 0;
5084
5072
  }
5085
5073
  /**
5086
5074
  * Calculates the Unix-time value for a throttle to expire given throttleTime in seconds.
@@ -5097,9 +5085,12 @@ var ThrottlingUtils = class ThrottlingUtils {
5097
5085
  cacheManager.removeItem(key, request.correlationId);
5098
5086
  }
5099
5087
  };
5100
- //#endregion
5101
- //#region node_modules/@azure/msal-common/dist/error/NetworkError.mjs
5102
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5088
+ /** Reads Retry-After only for non-success responses. */
5089
+ function getRetryAfterHeader(response) {
5090
+ if ((response.status < 200 || response.status >= 300) && response.headers) return getResponseHeader(response.headers, HeaderNames.RETRY_AFTER);
5091
+ }
5092
+ // node_modules/@azure/msal-common/dist/error/NetworkError.mjs
5093
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
5103
5094
  /**
5104
5095
  * Represents network related errors
5105
5096
  */
@@ -5124,9 +5115,8 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
5124
5115
  error.errorMessage = `${error.errorMessage}, additionalErrorInfo: error.name:${additionalError?.name}, error.message:${additionalError?.message}`;
5125
5116
  return new NetworkError(error, httpStatus, responseHeaders);
5126
5117
  }
5127
- //#endregion
5128
- //#region node_modules/@azure/msal-common/dist/protocol/Token.mjs
5129
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5118
+ // node_modules/@azure/msal-common/dist/protocol/Token.mjs
5119
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
5130
5120
  /**
5131
5121
  * Creates default headers for requests to token endpoint
5132
5122
  */
@@ -5206,7 +5196,11 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
5206
5196
  correlationId,
5207
5197
  performanceClient
5208
5198
  });
5209
- const responseHeaders = response.headers || {};
5199
+ const responseHeaders = normalizeResponseHeaders(response.headers || {});
5200
+ response = {
5201
+ ...response,
5202
+ headers: responseHeaders
5203
+ };
5210
5204
  performanceClient?.addFields({
5211
5205
  refreshTokenSize: response.body.refresh_token?.length || 0,
5212
5206
  httpVerToken: responseHeaders[HeaderNames.X_MS_HTTP_VERSION] || "",
@@ -5214,12 +5208,12 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
5214
5208
  }, correlationId);
5215
5209
  } catch (e) {
5216
5210
  if (e instanceof NetworkError) {
5217
- const responseHeaders = e.responseHeaders;
5211
+ const responseHeaders = e.responseHeaders ? normalizeResponseHeaders(e.responseHeaders) : void 0;
5218
5212
  if (responseHeaders) performanceClient?.addFields({
5219
5213
  httpVerToken: responseHeaders[HeaderNames.X_MS_HTTP_VERSION] || "",
5220
5214
  requestId: responseHeaders[HeaderNames.X_MS_REQUEST_ID] || "",
5221
- contentTypeHeader: responseHeaders[HeaderNames.CONTENT_TYPE] || void 0,
5222
- contentLengthHeader: responseHeaders[HeaderNames.CONTENT_LENGTH] || void 0,
5215
+ contentTypeHeader: getResponseHeader(responseHeaders, HeaderNames.CONTENT_TYPE) || void 0,
5216
+ contentLengthHeader: getResponseHeader(responseHeaders, HeaderNames.CONTENT_LENGTH) || void 0,
5223
5217
  httpStatus: e.httpStatus
5224
5218
  }, correlationId);
5225
5219
  throw e.error;
@@ -5230,9 +5224,8 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
5230
5224
  ThrottlingUtils.postProcess(cacheManager, thumbprint, response, correlationId);
5231
5225
  return response;
5232
5226
  }
5233
- //#endregion
5234
- //#region node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.mjs
5235
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5227
+ // node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.mjs
5228
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
5236
5229
  /**
5237
5230
  * Oauth2.0 Authorization Code client
5238
5231
  * @internal
@@ -5376,6 +5369,7 @@ var AuthorizationCodeClient = class {
5376
5369
  if (request.idTokenHint) addIdTokenHint(parameters, request.idTokenHint);
5377
5370
  if (request.state) addState(parameters, request.state);
5378
5371
  if (request.logoutHint) addLogoutHint(parameters, request.logoutHint);
5372
+ if (request.popupOriginCheckDone) addPopupOriginCheckDone(parameters);
5379
5373
  if (request.extraQueryParameters) addExtraParameters(parameters, request.extraQueryParameters);
5380
5374
  if (this.config.authOptions.instanceAware) addInstanceAware(parameters);
5381
5375
  return mapToQueryString(parameters);
@@ -5390,9 +5384,8 @@ var AuthorizationCodeClient = class {
5390
5384
  this.authority = cloudInstanceAuthority;
5391
5385
  }
5392
5386
  };
5393
- //#endregion
5394
- //#region node_modules/@azure/msal-common/dist/protocol/Authorize.mjs
5395
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5387
+ // node_modules/@azure/msal-common/dist/protocol/Authorize.mjs
5388
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
5396
5389
  /**
5397
5390
  * Returns map of parameters that are applicable to all calls to /authorize whether using PKCE or EAR
5398
5391
  * @param config
@@ -5478,6 +5471,7 @@ function getStandardAuthorizeRequestParameters(authOptions, request, logger, per
5478
5471
  if (request.embeddedClientId) addBrokerParameters(parameters, authOptions.clientId, authOptions.redirectUri);
5479
5472
  addClaims(parameters, request.correlationId, request.claims, authOptions.clientCapabilities, request.skipBrokerClaims);
5480
5473
  if (authOptions.instanceAware && (!request.extraQueryParameters || !Object.keys(request.extraQueryParameters).includes("instance_aware"))) addInstanceAware(parameters);
5474
+ if (request.popupOriginCheckDone) addPopupOriginCheckDone(parameters);
5481
5475
  return parameters;
5482
5476
  }
5483
5477
  /**
@@ -5501,9 +5495,8 @@ function extractAccountSid(account) {
5501
5495
  function extractLoginHint(account) {
5502
5496
  return account.loginHint || account.idTokenClaims?.login_hint || null;
5503
5497
  }
5504
- //#endregion
5505
- //#region node_modules/@azure/msal-common/dist/client/RefreshTokenClient.mjs
5506
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5498
+ // node_modules/@azure/msal-common/dist/client/RefreshTokenClient.mjs
5499
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
5507
5500
  const DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS = 300;
5508
5501
  /**
5509
5502
  * OAuth2.0 refresh token client
@@ -5649,9 +5642,8 @@ var RefreshTokenClient = class {
5649
5642
  return mapToQueryString(parameters);
5650
5643
  }
5651
5644
  };
5652
- //#endregion
5653
- //#region node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs
5654
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5645
+ // node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs
5646
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
5655
5647
  const skuGroupSeparator = ",";
5656
5648
  const skuValueSeparator = "|";
5657
5649
  function makeExtraSkuString(params) {
@@ -5844,9 +5836,8 @@ var ServerTelemetryManager = class ServerTelemetryManager {
5844
5836
  return makeExtraSkuString(params);
5845
5837
  }
5846
5838
  };
5847
- //#endregion
5848
- //#region node_modules/@azure/msal-common/dist/client/SilentFlowClient.mjs
5849
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5839
+ // node_modules/@azure/msal-common/dist/client/SilentFlowClient.mjs
5840
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
5850
5841
  /** @internal */
5851
5842
  var SilentFlowClient = class {
5852
5843
  constructor(configuration, performanceClient) {
@@ -5929,9 +5920,8 @@ var SilentFlowClient = class {
5929
5920
  });
5930
5921
  }
5931
5922
  };
5932
- //#endregion
5933
- //#region node_modules/@azure/msal-common/dist/request/BaseAuthRequest.mjs
5934
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5923
+ // node_modules/@azure/msal-common/dist/request/BaseAuthRequest.mjs
5924
+ /*! @azure/msal-common v16.15.0 2026-10-27 */
5935
5925
  /**
5936
5926
  * Helper to enforce resource parameter presence in token requests when isMcp is set in the configuration.
5937
5927
  * If resource parameter is set in both the request and in extraQueryParameters or extraParameters, an error will be thrown.
@@ -5948,9 +5938,8 @@ function containsResourceParam(params) {
5948
5938
  if (!params) return false;
5949
5939
  return Object.prototype.hasOwnProperty.call(params, "resource");
5950
5940
  }
5951
- //#endregion
5952
- //#region node_modules/@azure/msal-node/dist/cache/serializer/Deserializer.mjs
5953
- /*! @azure/msal-node v7.0.1 2026-10-02 */
5941
+ // node_modules/@azure/msal-node/dist/cache/serializer/Deserializer.mjs
5942
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
5954
5943
  /**
5955
5944
  * This class deserializes cache entities read from the file into in-memory object types defined internally
5956
5945
  * @internal
@@ -6098,7 +6087,7 @@ var Deserializer = class {
6098
6087
  };
6099
6088
  }
6100
6089
  };
6101
- /*! @azure/msal-node v7.0.1 2026-10-02 */
6090
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
6102
6091
  /**
6103
6092
  * Managed Identity Query Parameters - used in network requests
6104
6093
  */
@@ -6209,9 +6198,8 @@ const LOOPBACK_SERVER_CONSTANTS = {
6209
6198
  INTERVAL_MS: 100,
6210
6199
  TIMEOUT_MS: 5e3
6211
6200
  };
6212
- //#endregion
6213
- //#region node_modules/@azure/msal-node/dist/network/HttpClient.mjs
6214
- /*! @azure/msal-node v7.0.1 2026-10-02 */
6201
+ // node_modules/@azure/msal-node/dist/network/HttpClient.mjs
6202
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
6215
6203
  /**
6216
6204
  * HTTP client implementation using Node.js native fetch API.
6217
6205
  *
@@ -6346,9 +6334,8 @@ function getFetchHeaders(options) {
6346
6334
  });
6347
6335
  return headers;
6348
6336
  }
6349
- //#endregion
6350
- //#region node_modules/@azure/msal-node/dist/error/ManagedIdentityErrorCodes.mjs
6351
- /*! @azure/msal-node v7.0.1 2026-10-02 */
6337
+ // node_modules/@azure/msal-node/dist/error/ManagedIdentityErrorCodes.mjs
6338
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
6352
6339
  const invalidFileExtension = "invalid_file_extension";
6353
6340
  const invalidFilePath = "invalid_file_path";
6354
6341
  const invalidManagedIdentityIdType = "invalid_managed_identity_id_type";
@@ -6370,9 +6357,8 @@ const MsiEnvironmentVariableUrlMalformedErrorCodes = {
6370
6357
  [ManagedIdentityEnvironmentVariableNames.IMDS_ENDPOINT]: "imds_endpoint_url_malformed",
6371
6358
  [ManagedIdentityEnvironmentVariableNames.MSI_ENDPOINT]: "msi_endpoint_url_malformed"
6372
6359
  };
6373
- //#endregion
6374
- //#region node_modules/@azure/msal-node/dist/error/ManagedIdentityError.mjs
6375
- /*! @azure/msal-node v7.0.1 2026-10-02 */
6360
+ // node_modules/@azure/msal-node/dist/error/ManagedIdentityError.mjs
6361
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
6376
6362
  /**
6377
6363
  * ManagedIdentityErrorMessage class containing string constants used by error codes and messages.
6378
6364
  */
@@ -6407,12 +6393,10 @@ var ManagedIdentityError = class ManagedIdentityError extends AuthError {
6407
6393
  function createManagedIdentityError(errorCode, correlationId) {
6408
6394
  return new ManagedIdentityError(errorCode, correlationId);
6409
6395
  }
6410
- //#endregion
6411
- //#region node_modules/@azure/msal-node/dist/config/ManagedIdentityId.mjs
6412
- /*! @azure/msal-node v7.0.1 2026-10-02 */
6413
- //#endregion
6414
- //#region node_modules/@azure/msal-node/dist/error/NodeAuthError.mjs
6415
- /*! @azure/msal-node v7.0.1 2026-10-02 */
6396
+ // node_modules/@azure/msal-node/dist/config/ManagedIdentityId.mjs
6397
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
6398
+ // node_modules/@azure/msal-node/dist/error/NodeAuthError.mjs
6399
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
6416
6400
  /**
6417
6401
  * NodeAuthErrorMessage class containing string constants used by error codes and messages.
6418
6402
  */
@@ -6456,6 +6440,10 @@ const NodeAuthErrorMessage = {
6456
6440
  redirectUriNotSupported: {
6457
6441
  code: "redirect_uri_not_supported",
6458
6442
  desc: "RedirectUri is not supported in this scenario. Please remove redirectUri from the request."
6443
+ },
6444
+ unsupportedCcaInstanceAware: {
6445
+ code: "unsupported_cca_instance_aware",
6446
+ desc: "Instance-aware configuration is not supported by ConfidentialClientApplication."
6459
6447
  }
6460
6448
  };
6461
6449
  var NodeAuthError = class NodeAuthError extends AuthError {
@@ -6523,10 +6511,15 @@ var NodeAuthError = class NodeAuthError extends AuthError {
6523
6511
  static createRedirectUriNotSupportedError(correlationId = "") {
6524
6512
  return new NodeAuthError(NodeAuthErrorMessage.redirectUriNotSupported.code, correlationId, NodeAuthErrorMessage.redirectUriNotSupported.desc);
6525
6513
  }
6514
+ /**
6515
+ * Creates an error thrown when instance-aware behavior is requested for a confidential client.
6516
+ */
6517
+ static createUnsupportedCcaInstanceAwareError(correlationId = "") {
6518
+ return new NodeAuthError(NodeAuthErrorMessage.unsupportedCcaInstanceAware.code, correlationId, NodeAuthErrorMessage.unsupportedCcaInstanceAware.desc);
6519
+ }
6526
6520
  };
6527
- //#endregion
6528
- //#region node_modules/@azure/msal-node/dist/config/Configuration.mjs
6529
- /*! @azure/msal-node v7.0.1 2026-10-02 */
6521
+ // node_modules/@azure/msal-node/dist/config/Configuration.mjs
6522
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
6530
6523
  const DEFAULT_AUTH_OPTIONS = {
6531
6524
  clientId: "",
6532
6525
  authority: DEFAULT_AUTHORITY,
@@ -6599,9 +6592,8 @@ function buildAppConfiguration({ auth, broker, cache, system, telemetry }) {
6599
6592
  }
6600
6593
  };
6601
6594
  }
6602
- //#endregion
6603
- //#region node_modules/@azure/msal-node/dist/crypto/GuidGenerator.mjs
6604
- /*! @azure/msal-node v7.0.1 2026-10-02 */
6595
+ // node_modules/@azure/msal-node/dist/crypto/GuidGenerator.mjs
6596
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
6605
6597
  var GuidGenerator = class {
6606
6598
  /**
6607
6599
  * Generates a random [RFC 4122](https://www.rfc-editor.org/rfc/rfc4122.txt) version 4 UUID. The UUID is generated using a
@@ -6618,9 +6610,8 @@ var GuidGenerator = class {
6618
6610
  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(guid);
6619
6611
  }
6620
6612
  };
6621
- //#endregion
6622
- //#region node_modules/@azure/msal-node/dist/utils/EncodingUtils.mjs
6623
- /*! @azure/msal-node v7.0.1 2026-10-02 */
6613
+ // node_modules/@azure/msal-node/dist/utils/EncodingUtils.mjs
6614
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
6624
6615
  var EncodingUtils = class EncodingUtils {
6625
6616
  /**
6626
6617
  * 'utf8': Multibyte encoded Unicode characters. Many web pages and other document formats use UTF-8.
@@ -6656,9 +6647,8 @@ var EncodingUtils = class EncodingUtils {
6656
6647
  return EncodingUtils.base64Decode(str);
6657
6648
  }
6658
6649
  };
6659
- //#endregion
6660
- //#region node_modules/@azure/msal-node/dist/crypto/HashUtils.mjs
6661
- /*! @azure/msal-node v7.0.1 2026-10-02 */
6650
+ // node_modules/@azure/msal-node/dist/crypto/HashUtils.mjs
6651
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
6662
6652
  var HashUtils = class {
6663
6653
  /**
6664
6654
  * generate 'SHA256' hash
@@ -6668,9 +6658,8 @@ var HashUtils = class {
6668
6658
  return crypto.createHash(Hash.SHA256).update(buffer).digest();
6669
6659
  }
6670
6660
  };
6671
- //#endregion
6672
- //#region node_modules/@azure/msal-node/dist/crypto/PkceGenerator.mjs
6673
- /*! @azure/msal-node v7.0.1 2026-10-02 */
6661
+ // node_modules/@azure/msal-node/dist/crypto/PkceGenerator.mjs
6662
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
6674
6663
  /**
6675
6664
  * https://tools.ietf.org/html/rfc7636#page-8
6676
6665
  */
@@ -6712,9 +6701,8 @@ var PkceGenerator = class {
6712
6701
  return EncodingUtils.base64EncodeUrl(this.hashUtils.sha256(codeVerifier).toString(EncodingTypes.BASE64), EncodingTypes.BASE64);
6713
6702
  }
6714
6703
  };
6715
- //#endregion
6716
- //#region node_modules/@azure/msal-node/dist/crypto/CryptoProvider.mjs
6717
- /*! @azure/msal-node v7.0.1 2026-10-02 */
6704
+ // node_modules/@azure/msal-node/dist/crypto/CryptoProvider.mjs
6705
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
6718
6706
  /**
6719
6707
  * This class implements MSAL node's crypto interface, which allows it to perform base64 encoding and decoding, generating cryptographically random GUIDs and
6720
6708
  * implementing Proof Key for Code Exchange specs for the OAuth Authorization Code Flow using PKCE (rfc here: https://tools.ietf.org/html/rfc7636).
@@ -6799,9 +6787,8 @@ var CryptoProvider = class {
6799
6787
  return EncodingUtils.base64EncodeUrl(this.hashUtils.sha256(plainText).toString(EncodingTypes.BASE64), EncodingTypes.BASE64);
6800
6788
  }
6801
6789
  };
6802
- //#endregion
6803
- //#region node_modules/@azure/msal-node/dist/cache/CacheHelpers.mjs
6804
- /*! @azure/msal-node v7.0.1 2026-10-02 */
6790
+ // node_modules/@azure/msal-node/dist/cache/CacheHelpers.mjs
6791
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
6805
6792
  /**
6806
6793
  * Computes a combined hash from additional cache key components.
6807
6794
  *
@@ -6853,9 +6840,8 @@ function generateAccountKey(account) {
6853
6840
  homeTenantId || account.tenantId || ""
6854
6841
  ].join(CACHE.KEY_SEPARATOR).toLowerCase();
6855
6842
  }
6856
- //#endregion
6857
- //#region node_modules/@azure/msal-node/dist/cache/NodeStorage.mjs
6858
- /*! @azure/msal-node v7.0.1 2026-10-02 */
6843
+ // node_modules/@azure/msal-node/dist/cache/NodeStorage.mjs
6844
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
6859
6845
  /**
6860
6846
  * This class implements Storage for node, reading cache from user specified storage location or an extension library
6861
6847
  * @public
@@ -7220,9 +7206,8 @@ var NodeStorage = class extends CacheManager {
7220
7206
  return currentCacheKey;
7221
7207
  }
7222
7208
  };
7223
- //#endregion
7224
- //#region node_modules/@azure/msal-node/dist/cache/TokenCache.mjs
7225
- /*! @azure/msal-node v7.0.1 2026-10-02 */
7209
+ // node_modules/@azure/msal-node/dist/cache/TokenCache.mjs
7210
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
7226
7211
  const defaultSerializedCache = {
7227
7212
  Account: {},
7228
7213
  IdToken: {},
@@ -7459,8 +7444,7 @@ var TokenCache = class {
7459
7444
  };
7460
7445
  }
7461
7446
  };
7462
- //#endregion
7463
- //#region node_modules/safe-buffer/index.js
7447
+ // node_modules/safe-buffer/index.js
7464
7448
  var require_safe_buffer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7465
7449
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
7466
7450
  var buffer = __require("buffer");
@@ -7500,12 +7484,11 @@ var require_safe_buffer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7500
7484
  return buffer.SlowBuffer(size);
7501
7485
  };
7502
7486
  }));
7503
- //#endregion
7504
- //#region node_modules/jws/lib/data-stream.js
7487
+ // node_modules/jws/lib/data-stream.js
7505
7488
  var require_data_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7506
7489
  var Buffer = require_safe_buffer().Buffer;
7507
- var Stream$2 = __require("stream");
7508
- var util$3 = __require("util");
7490
+ var Stream = __require("stream");
7491
+ var util = __require("util");
7509
7492
  function DataStream(data) {
7510
7493
  this.buffer = null;
7511
7494
  this.writable = true;
@@ -7531,7 +7514,7 @@ var require_data_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7531
7514
  }
7532
7515
  throw new TypeError("Unexpected data type (" + typeof data + ")");
7533
7516
  }
7534
- util$3.inherits(DataStream, Stream$2);
7517
+ util.inherits(DataStream, Stream);
7535
7518
  DataStream.prototype.write = function write(data) {
7536
7519
  this.buffer = Buffer.concat([this.buffer, Buffer.from(data)]);
7537
7520
  this.emit("data", data);
@@ -7545,8 +7528,7 @@ var require_data_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7545
7528
  };
7546
7529
  module.exports = DataStream;
7547
7530
  }));
7548
- //#endregion
7549
- //#region node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js
7531
+ // node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js
7550
7532
  var require_param_bytes_for_alg = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7551
7533
  function getParamSize(keySize) {
7552
7534
  return (keySize / 8 | 0) + (keySize % 8 === 0 ? 0 : 1);
@@ -7563,8 +7545,7 @@ var require_param_bytes_for_alg = /* @__PURE__ */ __commonJSMin(((exports, modul
7563
7545
  }
7564
7546
  module.exports = getParamBytesForAlg;
7565
7547
  }));
7566
- //#endregion
7567
- //#region node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js
7548
+ // node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js
7568
7549
  var require_ecdsa_sig_formatter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7569
7550
  var Buffer = require_safe_buffer().Buffer;
7570
7551
  var getParamBytesForAlg = require_param_bytes_for_alg();
@@ -7661,43 +7642,41 @@ var require_ecdsa_sig_formatter = /* @__PURE__ */ __commonJSMin(((exports, modul
7661
7642
  joseToDer
7662
7643
  };
7663
7644
  }));
7664
- //#endregion
7665
- //#region node_modules/buffer-equal-constant-time/index.js
7645
+ // node_modules/buffer-equal-constant-time/index.js
7666
7646
  var require_buffer_equal_constant_time = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7667
- var Buffer$2 = __require("buffer").Buffer;
7647
+ var Buffer = __require("buffer").Buffer;
7668
7648
  var SlowBuffer = __require("buffer").SlowBuffer;
7669
7649
  module.exports = bufferEq;
7670
7650
  function bufferEq(a, b) {
7671
- if (!Buffer$2.isBuffer(a) || !Buffer$2.isBuffer(b)) return false;
7651
+ if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) return false;
7672
7652
  if (a.length !== b.length) return false;
7673
7653
  var c = 0;
7674
7654
  for (var i = 0; i < a.length; i++) c |= a[i] ^ b[i];
7675
7655
  return c === 0;
7676
7656
  }
7677
7657
  bufferEq.install = function() {
7678
- Buffer$2.prototype.equal = SlowBuffer.prototype.equal = function equal(that) {
7658
+ Buffer.prototype.equal = SlowBuffer.prototype.equal = function equal(that) {
7679
7659
  return bufferEq(this, that);
7680
7660
  };
7681
7661
  };
7682
- var origBufEqual = Buffer$2.prototype.equal;
7662
+ var origBufEqual = Buffer.prototype.equal;
7683
7663
  var origSlowBufEqual = SlowBuffer.prototype.equal;
7684
7664
  bufferEq.restore = function() {
7685
- Buffer$2.prototype.equal = origBufEqual;
7665
+ Buffer.prototype.equal = origBufEqual;
7686
7666
  SlowBuffer.prototype.equal = origSlowBufEqual;
7687
7667
  };
7688
7668
  }));
7689
- //#endregion
7690
- //#region node_modules/jwa/index.js
7669
+ // node_modules/jwa/index.js
7691
7670
  var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7692
7671
  var Buffer = require_safe_buffer().Buffer;
7693
- var crypto$1 = __require("crypto");
7672
+ var crypto = __require("crypto");
7694
7673
  var formatEcdsa = require_ecdsa_sig_formatter();
7695
- var util$2 = __require("util");
7674
+ var util = __require("util");
7696
7675
  var MSG_INVALID_ALGORITHM = "\"%s\" is not a valid algorithm.\n Supported algorithms are:\n \"HS256\", \"HS384\", \"HS512\", \"RS256\", \"RS384\", \"RS512\", \"PS256\", \"PS384\", \"PS512\", \"ES256\", \"ES384\", \"ES512\" and \"none\".";
7697
7676
  var MSG_INVALID_SECRET = "secret must be a string or buffer";
7698
7677
  var MSG_INVALID_VERIFIER_KEY = "key must be a string or a buffer";
7699
7678
  var MSG_INVALID_SIGNER_KEY = "key must be a string, a buffer or an object";
7700
- var supportsKeyObjects = typeof crypto$1.createPublicKey === "function";
7679
+ var supportsKeyObjects = typeof crypto.createPublicKey === "function";
7701
7680
  if (supportsKeyObjects) {
7702
7681
  MSG_INVALID_VERIFIER_KEY += " or a KeyObject";
7703
7682
  MSG_INVALID_SECRET += "or a KeyObject";
@@ -7736,7 +7715,7 @@ var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7736
7715
  }
7737
7716
  function typeError(template) {
7738
7717
  var args = [].slice.call(arguments, 1);
7739
- var errMsg = util$2.format.bind(util$2, template).apply(null, args);
7718
+ var errMsg = util.format.bind(util, template).apply(null, args);
7740
7719
  return new TypeError(errMsg);
7741
7720
  }
7742
7721
  function bufferOrString(obj) {
@@ -7750,14 +7729,14 @@ var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7750
7729
  return function sign(thing, secret) {
7751
7730
  checkIsSecretKey(secret);
7752
7731
  thing = normalizeInput(thing);
7753
- var hmac = crypto$1.createHmac("sha" + bits, secret);
7732
+ var hmac = crypto.createHmac("sha" + bits, secret);
7754
7733
  return fromBase64((hmac.update(thing), hmac.digest("base64")));
7755
7734
  };
7756
7735
  }
7757
7736
  var bufferEqual;
7758
- var timingSafeEqual = "timingSafeEqual" in crypto$1 ? function timingSafeEqual(a, b) {
7737
+ var timingSafeEqual = "timingSafeEqual" in crypto ? function timingSafeEqual(a, b) {
7759
7738
  if (a.byteLength !== b.byteLength) return false;
7760
- return crypto$1.timingSafeEqual(a, b);
7739
+ return crypto.timingSafeEqual(a, b);
7761
7740
  } : function timingSafeEqual(a, b) {
7762
7741
  if (!bufferEqual) bufferEqual = require_buffer_equal_constant_time();
7763
7742
  return bufferEqual(a, b);
@@ -7772,7 +7751,7 @@ var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7772
7751
  return function sign(thing, privateKey) {
7773
7752
  checkIsPrivateKey(privateKey);
7774
7753
  thing = normalizeInput(thing);
7775
- var signer = crypto$1.createSign("RSA-SHA" + bits);
7754
+ var signer = crypto.createSign("RSA-SHA" + bits);
7776
7755
  return fromBase64((signer.update(thing), signer.sign(privateKey, "base64")));
7777
7756
  };
7778
7757
  }
@@ -7781,7 +7760,7 @@ var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7781
7760
  checkIsPublicKey(publicKey);
7782
7761
  thing = normalizeInput(thing);
7783
7762
  signature = toBase64(signature);
7784
- var verifier = crypto$1.createVerify("RSA-SHA" + bits);
7763
+ var verifier = crypto.createVerify("RSA-SHA" + bits);
7785
7764
  verifier.update(thing);
7786
7765
  return verifier.verify(publicKey, signature, "base64");
7787
7766
  };
@@ -7790,11 +7769,11 @@ var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7790
7769
  return function sign(thing, privateKey) {
7791
7770
  checkIsPrivateKey(privateKey);
7792
7771
  thing = normalizeInput(thing);
7793
- var signer = crypto$1.createSign("RSA-SHA" + bits);
7772
+ var signer = crypto.createSign("RSA-SHA" + bits);
7794
7773
  return fromBase64((signer.update(thing), signer.sign({
7795
7774
  key: privateKey,
7796
- padding: crypto$1.constants.RSA_PKCS1_PSS_PADDING,
7797
- saltLength: crypto$1.constants.RSA_PSS_SALTLEN_DIGEST
7775
+ padding: crypto.constants.RSA_PKCS1_PSS_PADDING,
7776
+ saltLength: crypto.constants.RSA_PSS_SALTLEN_DIGEST
7798
7777
  }, "base64")));
7799
7778
  };
7800
7779
  }
@@ -7803,12 +7782,12 @@ var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7803
7782
  checkIsPublicKey(publicKey);
7804
7783
  thing = normalizeInput(thing);
7805
7784
  signature = toBase64(signature);
7806
- var verifier = crypto$1.createVerify("RSA-SHA" + bits);
7785
+ var verifier = crypto.createVerify("RSA-SHA" + bits);
7807
7786
  verifier.update(thing);
7808
7787
  return verifier.verify({
7809
7788
  key: publicKey,
7810
- padding: crypto$1.constants.RSA_PKCS1_PSS_PADDING,
7811
- saltLength: crypto$1.constants.RSA_PSS_SALTLEN_DIGEST
7789
+ padding: crypto.constants.RSA_PKCS1_PSS_PADDING,
7790
+ saltLength: crypto.constants.RSA_PSS_SALTLEN_DIGEST
7812
7791
  }, signature, "base64");
7813
7792
  };
7814
7793
  }
@@ -7862,25 +7841,23 @@ var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7862
7841
  };
7863
7842
  };
7864
7843
  }));
7865
- //#endregion
7866
- //#region node_modules/jws/lib/tostring.js
7844
+ // node_modules/jws/lib/tostring.js
7867
7845
  var require_tostring = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7868
- var Buffer$1 = __require("buffer").Buffer;
7846
+ var Buffer = __require("buffer").Buffer;
7869
7847
  module.exports = function toString(obj) {
7870
7848
  if (typeof obj === "string") return obj;
7871
- if (typeof obj === "number" || Buffer$1.isBuffer(obj)) return obj.toString();
7849
+ if (typeof obj === "number" || Buffer.isBuffer(obj)) return obj.toString();
7872
7850
  return JSON.stringify(obj);
7873
7851
  };
7874
7852
  }));
7875
- //#endregion
7876
- //#region node_modules/jws/lib/sign-stream.js
7853
+ // node_modules/jws/lib/sign-stream.js
7877
7854
  var require_sign_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7878
7855
  var Buffer = require_safe_buffer().Buffer;
7879
7856
  var DataStream = require_data_stream();
7880
7857
  var jwa = require_jwa();
7881
- var Stream$1 = __require("stream");
7858
+ var Stream = __require("stream");
7882
7859
  var toString = require_tostring();
7883
- var util$1 = __require("util");
7860
+ var util = __require("util");
7884
7861
  function base64url(string, encoding) {
7885
7862
  return Buffer.from(string, encoding).toString("base64").replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
7886
7863
  }
@@ -7888,7 +7865,7 @@ var require_sign_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7888
7865
  encoding = encoding || "utf8";
7889
7866
  var encodedHeader = base64url(toString(header), "binary");
7890
7867
  var encodedPayload = base64url(toString(payload), encoding);
7891
- return util$1.format("%s.%s", encodedHeader, encodedPayload);
7868
+ return util.format("%s.%s", encodedHeader, encodedPayload);
7892
7869
  }
7893
7870
  function jwsSign(opts) {
7894
7871
  var header = opts.header;
@@ -7898,7 +7875,7 @@ var require_sign_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7898
7875
  var algo = jwa(header.alg);
7899
7876
  var securedInput = jwsSecuredInput(header, payload, encoding);
7900
7877
  var signature = algo.sign(securedInput, secretOrKey);
7901
- return util$1.format("%s.%s", securedInput, signature);
7878
+ return util.format("%s.%s", securedInput, signature);
7902
7879
  }
7903
7880
  function SignStream(opts) {
7904
7881
  var secret = opts.secret;
@@ -7918,7 +7895,7 @@ var require_sign_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7918
7895
  if (!this.secret.writable && this.readable) this.sign();
7919
7896
  }.bind(this));
7920
7897
  }
7921
- util$1.inherits(SignStream, Stream$1);
7898
+ util.inherits(SignStream, Stream);
7922
7899
  SignStream.prototype.sign = function sign() {
7923
7900
  try {
7924
7901
  var signature = jwsSign({
@@ -7941,8 +7918,7 @@ var require_sign_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7941
7918
  SignStream.sign = jwsSign;
7942
7919
  module.exports = SignStream;
7943
7920
  }));
7944
- //#endregion
7945
- //#region node_modules/jws/lib/verify-stream.js
7921
+ // node_modules/jws/lib/verify-stream.js
7946
7922
  var require_verify_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7947
7923
  var Buffer = require_safe_buffer().Buffer;
7948
7924
  var DataStream = require_data_stream();
@@ -8045,8 +8021,7 @@ var require_verify_stream = /* @__PURE__ */ __commonJSMin(((exports, module) =>
8045
8021
  VerifyStream.verify = jwsVerify;
8046
8022
  module.exports = VerifyStream;
8047
8023
  }));
8048
- //#endregion
8049
- //#region node_modules/jws/index.js
8024
+ // node_modules/jws/index.js
8050
8025
  var require_jws = /* @__PURE__ */ __commonJSMin(((exports) => {
8051
8026
  var SignStream = require_sign_stream();
8052
8027
  var VerifyStream = require_verify_stream();
@@ -8075,8 +8050,7 @@ var require_jws = /* @__PURE__ */ __commonJSMin(((exports) => {
8075
8050
  return new VerifyStream(opts);
8076
8051
  };
8077
8052
  }));
8078
- //#endregion
8079
- //#region node_modules/jsonwebtoken/decode.js
8053
+ // node_modules/jsonwebtoken/decode.js
8080
8054
  var require_decode = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8081
8055
  var jws = require_jws();
8082
8056
  module.exports = function(jwt, options) {
@@ -8096,8 +8070,7 @@ var require_decode = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8096
8070
  return payload;
8097
8071
  };
8098
8072
  }));
8099
- //#endregion
8100
- //#region node_modules/jsonwebtoken/lib/JsonWebTokenError.js
8073
+ // node_modules/jsonwebtoken/lib/JsonWebTokenError.js
8101
8074
  var require_JsonWebTokenError = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8102
8075
  var JsonWebTokenError = function(message, error) {
8103
8076
  Error.call(this, message);
@@ -8110,8 +8083,7 @@ var require_JsonWebTokenError = /* @__PURE__ */ __commonJSMin(((exports, module)
8110
8083
  JsonWebTokenError.prototype.constructor = JsonWebTokenError;
8111
8084
  module.exports = JsonWebTokenError;
8112
8085
  }));
8113
- //#endregion
8114
- //#region node_modules/jsonwebtoken/lib/NotBeforeError.js
8086
+ // node_modules/jsonwebtoken/lib/NotBeforeError.js
8115
8087
  var require_NotBeforeError = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8116
8088
  var JsonWebTokenError = require_JsonWebTokenError();
8117
8089
  var NotBeforeError = function(message, date) {
@@ -8123,8 +8095,7 @@ var require_NotBeforeError = /* @__PURE__ */ __commonJSMin(((exports, module) =>
8123
8095
  NotBeforeError.prototype.constructor = NotBeforeError;
8124
8096
  module.exports = NotBeforeError;
8125
8097
  }));
8126
- //#endregion
8127
- //#region node_modules/jsonwebtoken/lib/TokenExpiredError.js
8098
+ // node_modules/jsonwebtoken/lib/TokenExpiredError.js
8128
8099
  var require_TokenExpiredError = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8129
8100
  var JsonWebTokenError = require_JsonWebTokenError();
8130
8101
  var TokenExpiredError = function(message, expiredAt) {
@@ -8136,8 +8107,7 @@ var require_TokenExpiredError = /* @__PURE__ */ __commonJSMin(((exports, module)
8136
8107
  TokenExpiredError.prototype.constructor = TokenExpiredError;
8137
8108
  module.exports = TokenExpiredError;
8138
8109
  }));
8139
- //#endregion
8140
- //#region node_modules/ms/index.js
8110
+ // node_modules/ms/index.js
8141
8111
  var require_ms = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8142
8112
  /**
8143
8113
  * Helpers.
@@ -8254,8 +8224,7 @@ var require_ms = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8254
8224
  return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
8255
8225
  }
8256
8226
  }));
8257
- //#endregion
8258
- //#region node_modules/jsonwebtoken/lib/timespan.js
8227
+ // node_modules/jsonwebtoken/lib/timespan.js
8259
8228
  var require_timespan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8260
8229
  var ms = require_ms();
8261
8230
  module.exports = function(time, iat) {
@@ -8268,8 +8237,7 @@ var require_timespan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8268
8237
  else return;
8269
8238
  };
8270
8239
  }));
8271
- //#endregion
8272
- //#region node_modules/semver/internal/constants.js
8240
+ // node_modules/semver/internal/constants.js
8273
8241
  var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8274
8242
  module.exports = {
8275
8243
  MAX_LENGTH: 256,
@@ -8291,13 +8259,11 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8291
8259
  FLAG_LOOSE: 2
8292
8260
  };
8293
8261
  }));
8294
- //#endregion
8295
- //#region node_modules/semver/internal/debug.js
8262
+ // node_modules/semver/internal/debug.js
8296
8263
  var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8297
8264
  module.exports = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
8298
8265
  }));
8299
- //#endregion
8300
- //#region node_modules/semver/internal/re.js
8266
+ // node_modules/semver/internal/re.js
8301
8267
  var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8302
8268
  const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = require_constants();
8303
8269
  const debug = require_debug();
@@ -8375,8 +8341,7 @@ var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8375
8341
  createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
8376
8342
  createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
8377
8343
  }));
8378
- //#endregion
8379
- //#region node_modules/semver/internal/parse-options.js
8344
+ // node_modules/semver/internal/parse-options.js
8380
8345
  var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8381
8346
  const looseOption = Object.freeze({ loose: true });
8382
8347
  const emptyOpts = Object.freeze({});
@@ -8387,8 +8352,7 @@ var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) =>
8387
8352
  };
8388
8353
  module.exports = parseOptions;
8389
8354
  }));
8390
- //#endregion
8391
- //#region node_modules/semver/internal/identifiers.js
8355
+ // node_modules/semver/internal/identifiers.js
8392
8356
  var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8393
8357
  const numeric = /^[0-9]+$/;
8394
8358
  const compareIdentifiers = (a, b) => {
@@ -8407,8 +8371,7 @@ var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8407
8371
  rcompareIdentifiers
8408
8372
  };
8409
8373
  }));
8410
- //#endregion
8411
- //#region node_modules/semver/classes/semver.js
8374
+ // node_modules/semver/classes/semver.js
8412
8375
  var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8413
8376
  const debug = require_debug();
8414
8377
  const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
@@ -8593,8 +8556,7 @@ var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8593
8556
  }
8594
8557
  };
8595
8558
  }));
8596
- //#endregion
8597
- //#region node_modules/semver/functions/parse.js
8559
+ // node_modules/semver/functions/parse.js
8598
8560
  var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8599
8561
  const SemVer = require_semver$1();
8600
8562
  const parse = (version, options, throwErrors = false) => {
@@ -8608,8 +8570,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8608
8570
  };
8609
8571
  module.exports = parse;
8610
8572
  }));
8611
- //#endregion
8612
- //#region node_modules/semver/functions/valid.js
8573
+ // node_modules/semver/functions/valid.js
8613
8574
  var require_valid$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8614
8575
  const parse = require_parse();
8615
8576
  const valid = (version, options) => {
@@ -8618,8 +8579,7 @@ var require_valid$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8618
8579
  };
8619
8580
  module.exports = valid;
8620
8581
  }));
8621
- //#endregion
8622
- //#region node_modules/semver/functions/clean.js
8582
+ // node_modules/semver/functions/clean.js
8623
8583
  var require_clean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8624
8584
  const parse = require_parse();
8625
8585
  const clean = (version, options) => {
@@ -8628,8 +8588,7 @@ var require_clean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8628
8588
  };
8629
8589
  module.exports = clean;
8630
8590
  }));
8631
- //#endregion
8632
- //#region node_modules/semver/functions/inc.js
8591
+ // node_modules/semver/functions/inc.js
8633
8592
  var require_inc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8634
8593
  const SemVer = require_semver$1();
8635
8594
  const inc = (version, release, options, identifier, identifierBase) => {
@@ -8646,8 +8605,7 @@ var require_inc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8646
8605
  };
8647
8606
  module.exports = inc;
8648
8607
  }));
8649
- //#endregion
8650
- //#region node_modules/semver/functions/diff.js
8608
+ // node_modules/semver/functions/diff.js
8651
8609
  var require_diff = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8652
8610
  const parse = require_parse();
8653
8611
  const diff = (version1, version2) => {
@@ -8674,29 +8632,25 @@ var require_diff = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8674
8632
  };
8675
8633
  module.exports = diff;
8676
8634
  }));
8677
- //#endregion
8678
- //#region node_modules/semver/functions/major.js
8635
+ // node_modules/semver/functions/major.js
8679
8636
  var require_major = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8680
8637
  const SemVer = require_semver$1();
8681
8638
  const major = (a, loose) => new SemVer(a, loose).major;
8682
8639
  module.exports = major;
8683
8640
  }));
8684
- //#endregion
8685
- //#region node_modules/semver/functions/minor.js
8641
+ // node_modules/semver/functions/minor.js
8686
8642
  var require_minor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8687
8643
  const SemVer = require_semver$1();
8688
8644
  const minor = (a, loose) => new SemVer(a, loose).minor;
8689
8645
  module.exports = minor;
8690
8646
  }));
8691
- //#endregion
8692
- //#region node_modules/semver/functions/patch.js
8647
+ // node_modules/semver/functions/patch.js
8693
8648
  var require_patch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8694
8649
  const SemVer = require_semver$1();
8695
8650
  const patch = (a, loose) => new SemVer(a, loose).patch;
8696
8651
  module.exports = patch;
8697
8652
  }));
8698
- //#endregion
8699
- //#region node_modules/semver/functions/prerelease.js
8653
+ // node_modules/semver/functions/prerelease.js
8700
8654
  var require_prerelease = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8701
8655
  const parse = require_parse();
8702
8656
  const prerelease = (version, options) => {
@@ -8705,29 +8659,25 @@ var require_prerelease = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8705
8659
  };
8706
8660
  module.exports = prerelease;
8707
8661
  }));
8708
- //#endregion
8709
- //#region node_modules/semver/functions/compare.js
8662
+ // node_modules/semver/functions/compare.js
8710
8663
  var require_compare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8711
8664
  const SemVer = require_semver$1();
8712
8665
  const compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
8713
8666
  module.exports = compare;
8714
8667
  }));
8715
- //#endregion
8716
- //#region node_modules/semver/functions/rcompare.js
8668
+ // node_modules/semver/functions/rcompare.js
8717
8669
  var require_rcompare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8718
8670
  const compare = require_compare();
8719
8671
  const rcompare = (a, b, loose) => compare(b, a, loose);
8720
8672
  module.exports = rcompare;
8721
8673
  }));
8722
- //#endregion
8723
- //#region node_modules/semver/functions/compare-loose.js
8674
+ // node_modules/semver/functions/compare-loose.js
8724
8675
  var require_compare_loose = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8725
8676
  const compare = require_compare();
8726
8677
  const compareLoose = (a, b) => compare(a, b, true);
8727
8678
  module.exports = compareLoose;
8728
8679
  }));
8729
- //#endregion
8730
- //#region node_modules/semver/functions/compare-build.js
8680
+ // node_modules/semver/functions/compare-build.js
8731
8681
  var require_compare_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8732
8682
  const SemVer = require_semver$1();
8733
8683
  const compareBuild = (a, b, loose) => {
@@ -8737,64 +8687,55 @@ var require_compare_build = /* @__PURE__ */ __commonJSMin(((exports, module) =>
8737
8687
  };
8738
8688
  module.exports = compareBuild;
8739
8689
  }));
8740
- //#endregion
8741
- //#region node_modules/semver/functions/sort.js
8690
+ // node_modules/semver/functions/sort.js
8742
8691
  var require_sort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8743
8692
  const compareBuild = require_compare_build();
8744
8693
  const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
8745
8694
  module.exports = sort;
8746
8695
  }));
8747
- //#endregion
8748
- //#region node_modules/semver/functions/rsort.js
8696
+ // node_modules/semver/functions/rsort.js
8749
8697
  var require_rsort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8750
8698
  const compareBuild = require_compare_build();
8751
8699
  const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
8752
8700
  module.exports = rsort;
8753
8701
  }));
8754
- //#endregion
8755
- //#region node_modules/semver/functions/gt.js
8702
+ // node_modules/semver/functions/gt.js
8756
8703
  var require_gt = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8757
8704
  const compare = require_compare();
8758
8705
  const gt = (a, b, loose) => compare(a, b, loose) > 0;
8759
8706
  module.exports = gt;
8760
8707
  }));
8761
- //#endregion
8762
- //#region node_modules/semver/functions/lt.js
8708
+ // node_modules/semver/functions/lt.js
8763
8709
  var require_lt = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8764
8710
  const compare = require_compare();
8765
8711
  const lt = (a, b, loose) => compare(a, b, loose) < 0;
8766
8712
  module.exports = lt;
8767
8713
  }));
8768
- //#endregion
8769
- //#region node_modules/semver/functions/eq.js
8714
+ // node_modules/semver/functions/eq.js
8770
8715
  var require_eq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8771
8716
  const compare = require_compare();
8772
8717
  const eq = (a, b, loose) => compare(a, b, loose) === 0;
8773
8718
  module.exports = eq;
8774
8719
  }));
8775
- //#endregion
8776
- //#region node_modules/semver/functions/neq.js
8720
+ // node_modules/semver/functions/neq.js
8777
8721
  var require_neq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8778
8722
  const compare = require_compare();
8779
8723
  const neq = (a, b, loose) => compare(a, b, loose) !== 0;
8780
8724
  module.exports = neq;
8781
8725
  }));
8782
- //#endregion
8783
- //#region node_modules/semver/functions/gte.js
8726
+ // node_modules/semver/functions/gte.js
8784
8727
  var require_gte = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8785
8728
  const compare = require_compare();
8786
8729
  const gte = (a, b, loose) => compare(a, b, loose) >= 0;
8787
8730
  module.exports = gte;
8788
8731
  }));
8789
- //#endregion
8790
- //#region node_modules/semver/functions/lte.js
8732
+ // node_modules/semver/functions/lte.js
8791
8733
  var require_lte = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8792
8734
  const compare = require_compare();
8793
8735
  const lte = (a, b, loose) => compare(a, b, loose) <= 0;
8794
8736
  module.exports = lte;
8795
8737
  }));
8796
- //#endregion
8797
- //#region node_modules/semver/functions/cmp.js
8738
+ // node_modules/semver/functions/cmp.js
8798
8739
  var require_cmp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8799
8740
  const eq = require_eq();
8800
8741
  const neq = require_neq();
@@ -8825,8 +8766,7 @@ var require_cmp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8825
8766
  };
8826
8767
  module.exports = cmp;
8827
8768
  }));
8828
- //#endregion
8829
- //#region node_modules/semver/functions/coerce.js
8769
+ // node_modules/semver/functions/coerce.js
8830
8770
  var require_coerce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8831
8771
  const SemVer = require_semver$1();
8832
8772
  const parse = require_parse();
@@ -8857,8 +8797,7 @@ var require_coerce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8857
8797
  };
8858
8798
  module.exports = coerce;
8859
8799
  }));
8860
- //#endregion
8861
- //#region node_modules/semver/functions/truncate.js
8800
+ // node_modules/semver/functions/truncate.js
8862
8801
  var require_truncate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8863
8802
  const parse = require_parse();
8864
8803
  const constants = require_constants();
@@ -8889,8 +8828,7 @@ var require_truncate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8889
8828
  };
8890
8829
  module.exports = truncate;
8891
8830
  }));
8892
- //#endregion
8893
- //#region node_modules/semver/internal/lrucache.js
8831
+ // node_modules/semver/internal/lrucache.js
8894
8832
  var require_lrucache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8895
8833
  var LRUCache = class {
8896
8834
  constructor() {
@@ -8922,8 +8860,7 @@ var require_lrucache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8922
8860
  };
8923
8861
  module.exports = LRUCache;
8924
8862
  }));
8925
- //#endregion
8926
- //#region node_modules/semver/classes/range.js
8863
+ // node_modules/semver/classes/range.js
8927
8864
  var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8928
8865
  const SPACE_CHARACTERS = /\s+/g;
8929
8866
  module.exports = class Range {
@@ -9205,8 +9142,7 @@ var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9205
9142
  return true;
9206
9143
  };
9207
9144
  }));
9208
- //#endregion
9209
- //#region node_modules/semver/classes/comparator.js
9145
+ // node_modules/semver/classes/comparator.js
9210
9146
  var require_comparator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9211
9147
  const ANY = Symbol("SemVer ANY");
9212
9148
  module.exports = class Comparator {
@@ -9277,8 +9213,7 @@ var require_comparator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9277
9213
  const SemVer = require_semver$1();
9278
9214
  const Range = require_range();
9279
9215
  }));
9280
- //#endregion
9281
- //#region node_modules/semver/functions/satisfies.js
9216
+ // node_modules/semver/functions/satisfies.js
9282
9217
  var require_satisfies = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9283
9218
  const Range = require_range();
9284
9219
  const satisfies = (version, range, options) => {
@@ -9291,15 +9226,13 @@ var require_satisfies = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9291
9226
  };
9292
9227
  module.exports = satisfies;
9293
9228
  }));
9294
- //#endregion
9295
- //#region node_modules/semver/ranges/to-comparators.js
9229
+ // node_modules/semver/ranges/to-comparators.js
9296
9230
  var require_to_comparators = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9297
9231
  const Range = require_range();
9298
9232
  const toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
9299
9233
  module.exports = toComparators;
9300
9234
  }));
9301
- //#endregion
9302
- //#region node_modules/semver/ranges/max-satisfying.js
9235
+ // node_modules/semver/ranges/max-satisfying.js
9303
9236
  var require_max_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9304
9237
  const SemVer = require_semver$1();
9305
9238
  const Range = require_range();
@@ -9324,8 +9257,7 @@ var require_max_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) =>
9324
9257
  };
9325
9258
  module.exports = maxSatisfying;
9326
9259
  }));
9327
- //#endregion
9328
- //#region node_modules/semver/ranges/min-satisfying.js
9260
+ // node_modules/semver/ranges/min-satisfying.js
9329
9261
  var require_min_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9330
9262
  const SemVer = require_semver$1();
9331
9263
  const Range = require_range();
@@ -9350,8 +9282,7 @@ var require_min_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) =>
9350
9282
  };
9351
9283
  module.exports = minSatisfying;
9352
9284
  }));
9353
- //#endregion
9354
- //#region node_modules/semver/ranges/min-version.js
9285
+ // node_modules/semver/ranges/min-version.js
9355
9286
  var require_min_version = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9356
9287
  const SemVer = require_semver$1();
9357
9288
  const Range = require_range();
@@ -9390,8 +9321,7 @@ var require_min_version = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9390
9321
  };
9391
9322
  module.exports = minVersion;
9392
9323
  }));
9393
- //#endregion
9394
- //#region node_modules/semver/ranges/valid.js
9324
+ // node_modules/semver/ranges/valid.js
9395
9325
  var require_valid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9396
9326
  const Range = require_range();
9397
9327
  const validRange = (range, options) => {
@@ -9403,8 +9333,7 @@ var require_valid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9403
9333
  };
9404
9334
  module.exports = validRange;
9405
9335
  }));
9406
- //#endregion
9407
- //#region node_modules/semver/ranges/outside.js
9336
+ // node_modules/semver/ranges/outside.js
9408
9337
  var require_outside = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9409
9338
  const SemVer = require_semver$1();
9410
9339
  const Comparator = require_comparator();
@@ -9456,22 +9385,19 @@ var require_outside = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9456
9385
  };
9457
9386
  module.exports = outside;
9458
9387
  }));
9459
- //#endregion
9460
- //#region node_modules/semver/ranges/gtr.js
9388
+ // node_modules/semver/ranges/gtr.js
9461
9389
  var require_gtr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9462
9390
  const outside = require_outside();
9463
9391
  const gtr = (version, range, options) => outside(version, range, ">", options);
9464
9392
  module.exports = gtr;
9465
9393
  }));
9466
- //#endregion
9467
- //#region node_modules/semver/ranges/ltr.js
9394
+ // node_modules/semver/ranges/ltr.js
9468
9395
  var require_ltr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9469
9396
  const outside = require_outside();
9470
9397
  const ltr = (version, range, options) => outside(version, range, "<", options);
9471
9398
  module.exports = ltr;
9472
9399
  }));
9473
- //#endregion
9474
- //#region node_modules/semver/ranges/intersects.js
9400
+ // node_modules/semver/ranges/intersects.js
9475
9401
  var require_intersects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9476
9402
  const Range = require_range();
9477
9403
  const intersects = (r1, r2, options) => {
@@ -9481,8 +9407,7 @@ var require_intersects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9481
9407
  };
9482
9408
  module.exports = intersects;
9483
9409
  }));
9484
- //#endregion
9485
- //#region node_modules/semver/ranges/simplify.js
9410
+ // node_modules/semver/ranges/simplify.js
9486
9411
  var require_simplify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9487
9412
  const satisfies = require_satisfies();
9488
9413
  const compare = require_compare();
@@ -9511,8 +9436,7 @@ var require_simplify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9511
9436
  return simplified.length < original.length ? simplified : range;
9512
9437
  };
9513
9438
  }));
9514
- //#endregion
9515
- //#region node_modules/semver/ranges/subset.js
9439
+ // node_modules/semver/ranges/subset.js
9516
9440
  var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9517
9441
  const Range = require_range();
9518
9442
  const Comparator = require_comparator();
@@ -9610,8 +9534,7 @@ var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9610
9534
  };
9611
9535
  module.exports = subset;
9612
9536
  }));
9613
- //#endregion
9614
- //#region node_modules/semver/index.js
9537
+ // node_modules/semver/index.js
9615
9538
  var require_semver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9616
9539
  const internalRe = require_re();
9617
9540
  const constants = require_constants();
@@ -9666,18 +9589,15 @@ var require_semver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9666
9589
  rcompareIdentifiers: identifiers.rcompareIdentifiers
9667
9590
  };
9668
9591
  }));
9669
- //#endregion
9670
- //#region node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js
9592
+ // node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js
9671
9593
  var require_asymmetricKeyDetailsSupported = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9672
9594
  module.exports = require_semver().satisfies(process.version, ">=15.7.0");
9673
9595
  }));
9674
- //#endregion
9675
- //#region node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js
9596
+ // node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js
9676
9597
  var require_rsaPssKeyDetailsSupported = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9677
9598
  module.exports = require_semver().satisfies(process.version, ">=16.9.0");
9678
9599
  }));
9679
- //#endregion
9680
- //#region node_modules/jsonwebtoken/lib/validateAsymmetricKey.js
9600
+ // node_modules/jsonwebtoken/lib/validateAsymmetricKey.js
9681
9601
  var require_validateAsymmetricKey = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9682
9602
  const ASYMMETRIC_KEY_DETAILS_SUPPORTED = require_asymmetricKeyDetailsSupported();
9683
9603
  const RSA_PSS_KEY_DETAILS_SUPPORTED = require_rsaPssKeyDetailsSupported();
@@ -9729,13 +9649,11 @@ var require_validateAsymmetricKey = /* @__PURE__ */ __commonJSMin(((exports, mod
9729
9649
  }
9730
9650
  };
9731
9651
  }));
9732
- //#endregion
9733
- //#region node_modules/jsonwebtoken/lib/psSupported.js
9652
+ // node_modules/jsonwebtoken/lib/psSupported.js
9734
9653
  var require_psSupported = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9735
9654
  module.exports = require_semver().satisfies(process.version, "^6.12.0 || >=8.0.0");
9736
9655
  }));
9737
- //#endregion
9738
- //#region node_modules/jsonwebtoken/verify.js
9656
+ // node_modules/jsonwebtoken/verify.js
9739
9657
  var require_verify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9740
9658
  const JsonWebTokenError = require_JsonWebTokenError();
9741
9659
  const NotBeforeError = require_NotBeforeError();
@@ -9745,7 +9663,7 @@ var require_verify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9745
9663
  const validateAsymmetricKey = require_validateAsymmetricKey();
9746
9664
  const PS_SUPPORTED = require_psSupported();
9747
9665
  const jws = require_jws();
9748
- const { KeyObject: KeyObject$1, createSecretKey: createSecretKey$1, createPublicKey } = __require("crypto");
9666
+ const { KeyObject, createSecretKey, createPublicKey } = __require("crypto");
9749
9667
  const PUB_KEY_ALGS = [
9750
9668
  "RS256",
9751
9669
  "RS384",
@@ -9812,11 +9730,11 @@ var require_verify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9812
9730
  if (!hasSignature && secretOrPublicKey) return done(new JsonWebTokenError("jwt signature is required"));
9813
9731
  if (hasSignature && !secretOrPublicKey) return done(new JsonWebTokenError("secret or public key must be provided"));
9814
9732
  if (!hasSignature && !options.algorithms) return done(new JsonWebTokenError("please specify \"none\" in \"algorithms\" to verify unsigned tokens"));
9815
- if (secretOrPublicKey != null && !(secretOrPublicKey instanceof KeyObject$1)) try {
9733
+ if (secretOrPublicKey != null && !(secretOrPublicKey instanceof KeyObject)) try {
9816
9734
  secretOrPublicKey = createPublicKey(secretOrPublicKey);
9817
9735
  } catch (_) {
9818
9736
  try {
9819
- secretOrPublicKey = createSecretKey$1(typeof secretOrPublicKey === "string" ? Buffer.from(secretOrPublicKey) : secretOrPublicKey);
9737
+ secretOrPublicKey = createSecretKey(typeof secretOrPublicKey === "string" ? Buffer.from(secretOrPublicKey) : secretOrPublicKey);
9820
9738
  } catch (_) {
9821
9739
  return done(new JsonWebTokenError("secretOrPublicKey is not valid key material"));
9822
9740
  }
@@ -9889,8 +9807,7 @@ var require_verify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9889
9807
  });
9890
9808
  };
9891
9809
  }));
9892
- //#endregion
9893
- //#region node_modules/lodash.includes/index.js
9810
+ // node_modules/lodash.includes/index.js
9894
9811
  var require_lodash_includes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9895
9812
  /**
9896
9813
  * lodash (Custom Build) <https://lodash.com/>
@@ -10524,8 +10441,7 @@ var require_lodash_includes = /* @__PURE__ */ __commonJSMin(((exports, module) =
10524
10441
  }
10525
10442
  module.exports = includes;
10526
10443
  }));
10527
- //#endregion
10528
- //#region node_modules/lodash.isboolean/index.js
10444
+ // node_modules/lodash.isboolean/index.js
10529
10445
  var require_lodash_isboolean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10530
10446
  /**
10531
10447
  * lodash 3.0.3 (Custom Build) <https://lodash.com/>
@@ -10589,8 +10505,7 @@ var require_lodash_isboolean = /* @__PURE__ */ __commonJSMin(((exports, module)
10589
10505
  }
10590
10506
  module.exports = isBoolean;
10591
10507
  }));
10592
- //#endregion
10593
- //#region node_modules/lodash.isinteger/index.js
10508
+ // node_modules/lodash.isinteger/index.js
10594
10509
  var require_lodash_isinteger = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10595
10510
  /**
10596
10511
  * lodash (Custom Build) <https://lodash.com/>
@@ -10823,8 +10738,7 @@ var require_lodash_isinteger = /* @__PURE__ */ __commonJSMin(((exports, module)
10823
10738
  }
10824
10739
  module.exports = isInteger;
10825
10740
  }));
10826
- //#endregion
10827
- //#region node_modules/lodash.isnumber/index.js
10741
+ // node_modules/lodash.isnumber/index.js
10828
10742
  var require_lodash_isnumber = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10829
10743
  /**
10830
10744
  * lodash 3.0.3 (Custom Build) <https://lodash.com/>
@@ -10897,8 +10811,7 @@ var require_lodash_isnumber = /* @__PURE__ */ __commonJSMin(((exports, module) =
10897
10811
  }
10898
10812
  module.exports = isNumber;
10899
10813
  }));
10900
- //#endregion
10901
- //#region node_modules/lodash.isplainobject/index.js
10814
+ // node_modules/lodash.isplainobject/index.js
10902
10815
  var require_lodash_isplainobject = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10903
10816
  /**
10904
10817
  * lodash (Custom Build) <https://lodash.com/>
@@ -11018,8 +10931,7 @@ var require_lodash_isplainobject = /* @__PURE__ */ __commonJSMin(((exports, modu
11018
10931
  }
11019
10932
  module.exports = isPlainObject;
11020
10933
  }));
11021
- //#endregion
11022
- //#region node_modules/lodash.isstring/index.js
10934
+ // node_modules/lodash.isstring/index.js
11023
10935
  var require_lodash_isstring = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11024
10936
  /**
11025
10937
  * lodash 4.0.1 (Custom Build) <https://lodash.com/>
@@ -11107,8 +11019,7 @@ var require_lodash_isstring = /* @__PURE__ */ __commonJSMin(((exports, module) =
11107
11019
  }
11108
11020
  module.exports = isString;
11109
11021
  }));
11110
- //#endregion
11111
- //#region node_modules/lodash.once/index.js
11022
+ // node_modules/lodash.once/index.js
11112
11023
  var require_lodash_once = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11113
11024
  /**
11114
11025
  * lodash (Custom Build) <https://lodash.com/>
@@ -11362,8 +11273,7 @@ var require_lodash_once = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11362
11273
  }
11363
11274
  module.exports = once;
11364
11275
  }));
11365
- //#endregion
11366
- //#region node_modules/jsonwebtoken/sign.js
11276
+ // node_modules/jsonwebtoken/sign.js
11367
11277
  var require_sign = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11368
11278
  const timespan = require_timespan();
11369
11279
  const PS_SUPPORTED = require_psSupported();
@@ -11606,8 +11516,7 @@ var require_sign = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11606
11516
  }
11607
11517
  };
11608
11518
  }));
11609
- //#endregion
11610
- //#region node_modules/@azure/msal-node/dist/error/ClientAuthErrorCodes.mjs
11519
+ // node_modules/@azure/msal-node/dist/error/ClientAuthErrorCodes.mjs
11611
11520
  var import_jsonwebtoken = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
11612
11521
  module.exports = {
11613
11522
  decode: require_decode(),
@@ -11618,15 +11527,14 @@ var import_jsonwebtoken = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin
11618
11527
  TokenExpiredError: require_TokenExpiredError()
11619
11528
  };
11620
11529
  })))(), 1);
11621
- /*! @azure/msal-node v7.0.1 2026-10-02 */
11530
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
11622
11531
  const userTimeoutReached = "user_timeout_reached";
11623
11532
  const invalidAssertion = "invalid_assertion";
11624
11533
  const deviceCodePollingCancelled = "device_code_polling_cancelled";
11625
11534
  const deviceCodeExpired = "device_code_expired";
11626
11535
  const deviceCodeUnknownError = "device_code_unknown_error";
11627
- //#endregion
11628
- //#region node_modules/@azure/msal-node/dist/client/ClientAssertion.mjs
11629
- /*! @azure/msal-node v7.0.1 2026-10-02 */
11536
+ // node_modules/@azure/msal-node/dist/client/ClientAssertion.mjs
11537
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
11630
11538
  /**
11631
11539
  * Client assertion of type jwt-bearer used in confidential client flows
11632
11540
  * @public
@@ -11732,14 +11640,12 @@ var ClientAssertion = class ClientAssertion {
11732
11640
  return certs;
11733
11641
  }
11734
11642
  };
11735
- //#endregion
11736
- //#region node_modules/@azure/msal-node/dist/packageMetadata.mjs
11737
- /*! @azure/msal-node v7.0.1 2026-10-02 */
11643
+ // node_modules/@azure/msal-node/dist/packageMetadata.mjs
11644
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
11738
11645
  const name = "@azure/msal-node";
11739
- const version = "7.0.1";
11740
- //#endregion
11741
- //#region node_modules/@azure/msal-node/dist/client/BaseClient.mjs
11742
- /*! @azure/msal-node v7.0.1 2026-10-02 */
11646
+ const version = "7.1.2";
11647
+ // node_modules/@azure/msal-node/dist/client/BaseClient.mjs
11648
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
11743
11649
  /**
11744
11650
  * Base application class which will construct requests to send to and handle responses from the Microsoft STS using the authorization code flow.
11745
11651
  * @internal
@@ -11789,9 +11695,8 @@ var BaseClient = class {
11789
11695
  return createTokenQueryParameters(request, this.config.authOptions.clientId, this.config.authOptions.redirectUri, this.performanceClient);
11790
11696
  }
11791
11697
  };
11792
- //#endregion
11793
- //#region node_modules/@azure/msal-node/dist/client/UsernamePasswordClient.mjs
11794
- /*! @azure/msal-node v7.0.1 2026-10-02 */
11698
+ // node_modules/@azure/msal-node/dist/client/UsernamePasswordClient.mjs
11699
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
11795
11700
  /**
11796
11701
  * Oauth2.0 Password grant client
11797
11702
  * Note: We are only supporting public clients for password grant and for purely testing purposes
@@ -11870,9 +11775,8 @@ var UsernamePasswordClient = class extends BaseClient {
11870
11775
  return mapToQueryString(parameters);
11871
11776
  }
11872
11777
  };
11873
- //#endregion
11874
- //#region node_modules/@azure/msal-node/dist/protocol/Authorize.mjs
11875
- /*! @azure/msal-node v7.0.1 2026-10-02 */
11778
+ // node_modules/@azure/msal-node/dist/protocol/Authorize.mjs
11779
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
11876
11780
  /**
11877
11781
  * Constructs the full /authorize URL with request parameters
11878
11782
  * @param config
@@ -11899,9 +11803,8 @@ function getAuthCodeRequestUrl(config, authority, request, logger) {
11899
11803
  addExtraParameters(parameters, request.extraQueryParameters || {});
11900
11804
  return getAuthorizeUrl(authority, parameters);
11901
11805
  }
11902
- //#endregion
11903
- //#region node_modules/@azure/msal-node/dist/client/SilentRequestCoalescer.mjs
11904
- /*! @azure/msal-node v7.0.1 2026-10-02 */
11806
+ // node_modules/@azure/msal-node/dist/client/SilentRequestCoalescer.mjs
11807
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
11905
11808
  const activeSilentTokenRequests = /* @__PURE__ */ new WeakMap();
11906
11809
  /**
11907
11810
  * Shares an in-flight silent acquisition while preserving each caller's correlation ID.
@@ -11994,9 +11897,8 @@ function applyCallerCorrelationIdToResult(activeRequest, correlationId) {
11994
11897
  correlationId
11995
11898
  }));
11996
11899
  }
11997
- //#endregion
11998
- //#region node_modules/@azure/msal-node/dist/client/ClientApplication.mjs
11999
- /*! @azure/msal-node v7.0.1 2026-10-02 */
11900
+ // node_modules/@azure/msal-node/dist/client/ClientApplication.mjs
11901
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
12000
11902
  /**
12001
11903
  * Base abstract class for all ClientApplications - public and confidential
12002
11904
  * @public
@@ -12325,9 +12227,8 @@ var ClientApplication = class {
12325
12227
  this.storage.clear();
12326
12228
  }
12327
12229
  };
12328
- //#endregion
12329
- //#region node_modules/@azure/msal-node/dist/network/LoopbackClient.mjs
12330
- /*! @azure/msal-node v7.0.1 2026-10-02 */
12230
+ // node_modules/@azure/msal-node/dist/network/LoopbackClient.mjs
12231
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
12331
12232
  var LoopbackClient = class {
12332
12233
  constructor(preferredPort) {
12333
12234
  this.preferredPort = preferredPort;
@@ -12445,9 +12346,8 @@ var LoopbackClient = class {
12445
12346
  }
12446
12347
  }
12447
12348
  };
12448
- //#endregion
12449
- //#region node_modules/@azure/msal-node/dist/client/DeviceCodeClient.mjs
12450
- /*! @azure/msal-node v7.0.1 2026-10-02 */
12349
+ // node_modules/@azure/msal-node/dist/client/DeviceCodeClient.mjs
12350
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
12451
12351
  /**
12452
12352
  * OAuth2.0 Device code client
12453
12353
  * @public
@@ -12619,9 +12519,8 @@ var DeviceCodeClient = class extends BaseClient {
12619
12519
  return mapToQueryString(parameters);
12620
12520
  }
12621
12521
  };
12622
- //#endregion
12623
- //#region node_modules/@azure/msal-node/dist/client/PublicClientApplication.mjs
12624
- /*! @azure/msal-node v7.0.1 2026-10-02 */
12522
+ // node_modules/@azure/msal-node/dist/client/PublicClientApplication.mjs
12523
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
12625
12524
  /**
12626
12525
  * This class is to be used to acquire tokens for public client applications (desktop, mobile). Public client applications
12627
12526
  * are not trusted to safely store application secrets, and therefore can only request tokens in the name of an user.
@@ -12865,21 +12764,16 @@ var PublicClientApplication = class extends ClientApplication {
12865
12764
  });
12866
12765
  }
12867
12766
  };
12868
- //#endregion
12869
- //#region node_modules/@azure/msal-node/dist/client/ClientCredentialClient.mjs
12870
- /*! @azure/msal-node v7.0.1 2026-10-02 */
12871
- //#endregion
12872
- //#region node_modules/@azure/msal-node/dist/client/OnBehalfOfClient.mjs
12873
- /*! @azure/msal-node v7.0.1 2026-10-02 */
12874
- //#endregion
12875
- //#region node_modules/@azure/msal-node/dist/client/UserFederatedIdentityCredentialClient.mjs
12876
- /*! @azure/msal-node v7.0.1 2026-10-02 */
12877
- //#endregion
12878
- //#region node_modules/@azure/msal-node/dist/client/ConfidentialClientApplication.mjs
12879
- /*! @azure/msal-node v7.0.1 2026-10-02 */
12880
- //#endregion
12881
- //#region node_modules/@azure/msal-node/dist/utils/TimeUtils.mjs
12882
- /*! @azure/msal-node v7.0.1 2026-10-02 */
12767
+ // node_modules/@azure/msal-node/dist/client/ClientCredentialClient.mjs
12768
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
12769
+ // node_modules/@azure/msal-node/dist/client/OnBehalfOfClient.mjs
12770
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
12771
+ // node_modules/@azure/msal-node/dist/client/UserFederatedIdentityCredentialClient.mjs
12772
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
12773
+ // node_modules/@azure/msal-node/dist/client/ConfidentialClientApplication.mjs
12774
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
12775
+ // node_modules/@azure/msal-node/dist/utils/TimeUtils.mjs
12776
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
12883
12777
  /**
12884
12778
  * @internal
12885
12779
  * Checks if a given date string is in ISO 8601 format.
@@ -12892,9 +12786,8 @@ function isIso8601(dateString) {
12892
12786
  const date = new Date(dateString);
12893
12787
  return !isNaN(date.getTime()) && date.toISOString() === dateString;
12894
12788
  }
12895
- //#endregion
12896
- //#region node_modules/@azure/msal-node/dist/network/HttpClientWithRetries.mjs
12897
- /*! @azure/msal-node v7.0.1 2026-10-02 */
12789
+ // node_modules/@azure/msal-node/dist/network/HttpClientWithRetries.mjs
12790
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
12898
12791
  var HttpClientWithRetries = class {
12899
12792
  constructor(httpClientNoRetries, retryPolicy, logger) {
12900
12793
  this.httpClientNoRetries = httpClientNoRetries;
@@ -12922,9 +12815,8 @@ var HttpClientWithRetries = class {
12922
12815
  return this.sendNetworkRequestAsync(HttpMethod.POST, url, options);
12923
12816
  }
12924
12817
  };
12925
- //#endregion
12926
- //#region node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs
12927
- /*! @azure/msal-node v7.0.1 2026-10-02 */
12818
+ // node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs
12819
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
12928
12820
  /**
12929
12821
  * Managed Identity User Assigned Id Query Parameter Names
12930
12822
  */
@@ -13114,21 +13006,20 @@ BaseManagedIdentitySource.getValidatedEnvVariableUrlString = (envVariableStringN
13114
13006
  throw createManagedIdentityError(MsiEnvironmentVariableUrlMalformedErrorCodes[envVariableStringName], "");
13115
13007
  }
13116
13008
  };
13117
- /*! @azure/msal-node v7.0.1 2026-10-02 */
13118
- /*! @azure/msal-node v7.0.1 2026-10-02 */
13119
- /*! @azure/msal-node v7.0.1 2026-10-02 */
13120
- /*! @azure/msal-node v7.0.1 2026-10-02 */
13009
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
13010
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
13011
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
13012
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
13121
13013
  `${process.env["ProgramData"]}`;
13122
13014
  `${process.env["ProgramFiles"]}`;
13123
- /*! @azure/msal-node v7.0.1 2026-10-02 */
13124
- /*! @azure/msal-node v7.0.1 2026-10-02 */
13125
- /*! @azure/msal-node v7.0.1 2026-10-02 */
13126
- /*! @azure/msal-node v7.0.1 2026-10-02 */
13127
- /*! @azure/msal-node v7.0.1 2026-10-02 */
13015
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
13016
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
13017
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
13018
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
13019
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
13128
13020
  `${ManagedIdentitySourceNames.MACHINE_LEARNING}`;
13129
- /*! @azure/msal-node v7.0.1 2026-10-02 */
13130
- /*! @azure/msal-node v7.0.1 2026-10-02 */
13021
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
13022
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
13131
13023
  ManagedIdentitySourceNames.SERVICE_FABRIC;
13132
- /*! @azure/msal-node v7.0.1 2026-10-02 */
13133
- //#endregion
13024
+ /*! @azure/msal-node v7.1.2 2026-10-27 */
13134
13025
  export { CryptoProvider, PublicClientApplication };