jcicl 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AuthContext/AuthProvider.d.ts +5 -0
- package/AuthContext/AuthProvider.js +85 -76
- package/AuthContext/index.d.ts +1 -1
- package/AuthContext/msalConfig.js +439 -435
- package/AuthenticatedApiClient.d.ts +3 -5
- package/AuthenticatedApiClient.js +36 -17
- package/LoginPage/LoginPage.js +32 -38
- package/assets/style.css +1 -1
- package/assets/tailwind.css +1 -1
- package/createUseApi.d.ts +1 -2
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { logger as ds } from "../logger.js";
|
|
2
|
+
import { A as R, O as Gt, d as Pi, e as Or, C as mt, H as L, f as us, g as v, X as gs, R as Rn, h as we, F as gn, i as fs, j as fn, k as Ni, l as ms, m as ps, n as M, T as _t, o as On, p as mn, D as Mi, q as ee, L as Pe, S as ys, r as Ui, t as Di, u as xi, v as Li, w as Cs, x as pn, N as Ye, y as ws, z as Is, B as Ts, G as As, J as Hi, b as Te, K as Es, M as Ss, U as vs, P as ks, Q as Pr, V as Me, Y as Nr, Z as Mr, _ as _s, $ as Ur, a0 as bs, a1 as Rs, a2 as J, a3 as Os, a4 as on, a5 as Ps, a6 as Ns, a7 as Ms, a8 as Us, a9 as Ds, aa as xs, ab as Ki, ac as yn, ad as Ls, ae as Hs, af as bt, ag as Fi, ah as Bi, ai as ue, aj as H, ak as Ue, al as Dr, am as xr, an as Ks, ao as Fs, ap as Bs, aq as zs, ar as js, as as Gs, at as p, au as zi, av as X, c as Pn, aw as Vs, I as C, ax as Lr, ay as $s, az as Js, aA as ji, aB as Gi, aC as Ws, aD as pt, aE as Hr, E as w, aF as P, aG as me, aH as E, aI as V, aJ as Le, aK as Vi, aL as Qs, aM as Ys, aN as G, aO as Kr, aP as $, aQ as Nn, aR as Mn, aS as Fr, aT as Xs, aU as Zs, aV as qs, aW as Xe, aX as Cn, aY as Br, aZ as ea } from "../.chunks/EventType.js";
|
|
2
3
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
3
|
-
const ve = "client_id", $i = "redirect_uri",
|
|
4
|
+
const ve = "client_id", $i = "redirect_uri", ta = "response_type", na = "response_mode", ra = "grant_type", ia = "claims", oa = "scope", sa = "refresh_token", aa = "state", ca = "nonce", ha = "prompt", la = "code", da = "code_challenge", ua = "code_challenge_method", ga = "code_verifier", fa = "client-request-id", ma = "x-client-SKU", pa = "x-client-VER", ya = "x-client-OS", Ca = "x-client-CPU", wa = "x-client-current-telemetry", Ia = "x-client-last-telemetry", Ta = "x-ms-lib-capability", Aa = "x-app-name", Ea = "x-app-ver", Sa = "post_logout_redirect_uri", va = "id_token_hint", ka = "client_secret", _a = "client_assertion", ba = "client_assertion_type", Ji = "token_type", Wi = "req_cnf", zr = "return_spa_code", Ra = "nativebroker", Oa = "logout_hint", Pa = "sid", Na = "login_hint", Ma = "domain_hint", Ua = "x-client-xtra-sku", rt = "brk_client_id", Rt = "brk_redirect_uri", wn = "instance_aware", Da = "ear_jwk", xa = "ear_jwe_crypto", La = "resource", Ha = "clidata";
|
|
4
5
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
5
6
|
class Un extends R {
|
|
6
7
|
constructor(e) {
|
|
@@ -82,15 +83,15 @@ function m(i, e) {
|
|
|
82
83
|
return new Dn(i, e);
|
|
83
84
|
}
|
|
84
85
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
85
|
-
const
|
|
86
|
+
const Ka = "redirect_uri_empty", Fa = "authority_uri_insecure", yt = "url_parse_error", Ba = "empty_url_error", za = "empty_input_scopes_error", Qi = "invalid_claims", ja = "token_request_empty", Ga = "logout_request_empty", Yi = "pkce_params_missing", Xi = "invalid_cloud_discovery_metadata", Va = "invalid_authority_metadata", $a = "untrusted_authority", xn = "missing_ssh_jwk", Ja = "missing_ssh_kid", Wa = "cannot_set_OIDCOptions", Qa = "cannot_allow_platform_broker", Ya = "authority_mismatch", Xa = "invalid_request_method_for_EAR";
|
|
86
87
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
87
|
-
const Zi = "client_info_decoding_error",
|
|
88
|
+
const Zi = "client_info_decoding_error", Za = "client_info_empty_error", qi = "token_parsing_error", qa = "null_or_empty_token", ge = "endpoints_resolution_error", ec = "network_error", tc = "openid_config_error", nc = "hash_not_deserialized", it = "invalid_state", rc = "state_mismatch", jr = "state_not_found", ic = "nonce_mismatch", eo = "auth_time_not_found", oc = "max_age_transpired", sc = "multiple_matching_appMetadata", ac = "request_cannot_be_made", cc = "cannot_remove_empty_scope", hc = "cannot_append_scopeset", Gr = "empty_input_scopeset", to = "no_account_in_silent_request", lc = "invalid_cache_record", no = "invalid_cache_environment", Vr = "no_account_found", ro = "no_crypto_object", ye = "token_refresh_required", dc = "token_claims_cnf_required_for_signedjwt", uc = "authorization_code_missing_from_server_response", gc = "binding_key_not_removed", fc = "end_session_endpoint_not_supported", io = "key_id_missing", T = "method_not_implemented", mc = "resource_parameter_required", pc = "misplaced_resource_parameter";
|
|
88
89
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
89
90
|
class D {
|
|
90
91
|
constructor(e) {
|
|
91
92
|
const t = e ? Z.trimArrayEntries([...e]) : [], n = t ? Z.removeEmptyStringsFromArray(t) : [];
|
|
92
93
|
if (!n || !n.length)
|
|
93
|
-
throw k(
|
|
94
|
+
throw k(za);
|
|
94
95
|
this.scopes = /* @__PURE__ */ new Set(), n.forEach((r) => this.scopes.add(r));
|
|
95
96
|
}
|
|
96
97
|
/**
|
|
@@ -151,7 +152,7 @@ class D {
|
|
|
151
152
|
try {
|
|
152
153
|
e.forEach((t) => this.appendScope(t));
|
|
153
154
|
} catch {
|
|
154
|
-
throw m(
|
|
155
|
+
throw m(hc);
|
|
155
156
|
}
|
|
156
157
|
}
|
|
157
158
|
/**
|
|
@@ -160,7 +161,7 @@ class D {
|
|
|
160
161
|
*/
|
|
161
162
|
removeScope(e) {
|
|
162
163
|
if (!e)
|
|
163
|
-
throw m(
|
|
164
|
+
throw m(cc);
|
|
164
165
|
this.scopes.delete(e.trim());
|
|
165
166
|
}
|
|
166
167
|
/**
|
|
@@ -230,18 +231,18 @@ function Vt(i, e, t) {
|
|
|
230
231
|
}, e));
|
|
231
232
|
}
|
|
232
233
|
function Ln(i, e) {
|
|
233
|
-
i.set(
|
|
234
|
+
i.set(ta, e);
|
|
234
235
|
}
|
|
235
|
-
function
|
|
236
|
-
i.set(
|
|
236
|
+
function yc(i, e) {
|
|
237
|
+
i.set(na, e || Rn.QUERY);
|
|
237
238
|
}
|
|
238
|
-
function
|
|
239
|
-
i.set(
|
|
239
|
+
function Cc(i) {
|
|
240
|
+
i.set(Ra, "1");
|
|
240
241
|
}
|
|
241
242
|
function Hn(i, e, t = !0, n = Gt) {
|
|
242
243
|
t && !n.includes("openid") && !e.includes("openid") && n.push("openid");
|
|
243
244
|
const r = t ? [...e || [], ...n] : e || [], o = new D(r);
|
|
244
|
-
i.set(
|
|
245
|
+
i.set(oa, o.printScopes());
|
|
245
246
|
}
|
|
246
247
|
function Kn(i, e) {
|
|
247
248
|
i.set(ve, e);
|
|
@@ -249,17 +250,17 @@ function Kn(i, e) {
|
|
|
249
250
|
function Fn(i, e) {
|
|
250
251
|
i.set($i, e);
|
|
251
252
|
}
|
|
252
|
-
function Cc(i, e) {
|
|
253
|
-
i.set(Ea, e);
|
|
254
|
-
}
|
|
255
253
|
function wc(i, e) {
|
|
256
254
|
i.set(Sa, e);
|
|
257
255
|
}
|
|
258
256
|
function Ic(i, e) {
|
|
259
|
-
i.set(
|
|
257
|
+
i.set(va, e);
|
|
258
|
+
}
|
|
259
|
+
function Tc(i, e) {
|
|
260
|
+
i.set(Ma, e);
|
|
260
261
|
}
|
|
261
262
|
function Ct(i, e) {
|
|
262
|
-
i.set(
|
|
263
|
+
i.set(Na, e);
|
|
263
264
|
}
|
|
264
265
|
function Ot(i, e) {
|
|
265
266
|
i.set(L.CCS_HEADER, `UPN:${e}`);
|
|
@@ -268,7 +269,7 @@ function et(i, e) {
|
|
|
268
269
|
i.set(L.CCS_HEADER, `Oid:${e.uid}@${e.utid}`);
|
|
269
270
|
}
|
|
270
271
|
function $r(i, e) {
|
|
271
|
-
i.set(
|
|
272
|
+
i.set(Pa, e);
|
|
272
273
|
}
|
|
273
274
|
function Bn(i, e, t, n) {
|
|
274
275
|
const r = n && i.has(rt) ? void 0 : t;
|
|
@@ -279,59 +280,59 @@ function Bn(i, e, t, n) {
|
|
|
279
280
|
} catch {
|
|
280
281
|
throw k(Qi);
|
|
281
282
|
}
|
|
282
|
-
i.set(
|
|
283
|
+
i.set(ia, o);
|
|
283
284
|
}
|
|
284
285
|
}
|
|
285
286
|
function dt(i, e) {
|
|
286
|
-
i.set(
|
|
287
|
+
i.set(fa, e);
|
|
287
288
|
}
|
|
288
289
|
function zn(i, e) {
|
|
289
|
-
i.set(
|
|
290
|
+
i.set(ma, e.sku), i.set(pa, e.version), e.os && i.set(ya, e.os), e.cpu && i.set(Ca, e.cpu);
|
|
290
291
|
}
|
|
291
292
|
function jn(i, e) {
|
|
292
|
-
e != null && e.appName && i.set(
|
|
293
|
+
e != null && e.appName && i.set(Aa, e.appName), e != null && e.appVersion && i.set(Ea, e.appVersion);
|
|
293
294
|
}
|
|
294
|
-
function
|
|
295
|
-
i.set(
|
|
295
|
+
function Ac(i, e) {
|
|
296
|
+
i.set(ha, e);
|
|
296
297
|
}
|
|
297
298
|
function oo(i, e) {
|
|
298
|
-
e && i.set(
|
|
299
|
+
e && i.set(aa, e);
|
|
299
300
|
}
|
|
300
|
-
function
|
|
301
|
-
i.set(
|
|
301
|
+
function Ec(i, e) {
|
|
302
|
+
i.set(ca, e);
|
|
302
303
|
}
|
|
303
304
|
function Gn(i, e, t) {
|
|
304
305
|
if (e && t)
|
|
305
|
-
i.set(
|
|
306
|
+
i.set(da, e), i.set(ua, t);
|
|
306
307
|
else
|
|
307
308
|
throw k(Yi);
|
|
308
309
|
}
|
|
309
|
-
function Ec(i, e) {
|
|
310
|
-
i.set(ha, e);
|
|
311
|
-
}
|
|
312
310
|
function Sc(i, e) {
|
|
313
|
-
i.set(
|
|
311
|
+
i.set(la, e);
|
|
314
312
|
}
|
|
315
313
|
function vc(i, e) {
|
|
316
|
-
i.set(
|
|
314
|
+
i.set(sa, e);
|
|
315
|
+
}
|
|
316
|
+
function kc(i, e) {
|
|
317
|
+
i.set(ga, e);
|
|
317
318
|
}
|
|
318
319
|
function so(i, e) {
|
|
319
|
-
i.set(
|
|
320
|
+
i.set(ka, e);
|
|
320
321
|
}
|
|
321
322
|
function ao(i, e) {
|
|
322
|
-
e && i.set(
|
|
323
|
+
e && i.set(_a, e);
|
|
323
324
|
}
|
|
324
325
|
function co(i, e) {
|
|
325
|
-
e && i.set(
|
|
326
|
+
e && i.set(ba, e);
|
|
326
327
|
}
|
|
327
328
|
function ho(i, e) {
|
|
328
|
-
i.set(
|
|
329
|
+
i.set(ra, e);
|
|
329
330
|
}
|
|
330
331
|
function Vn(i) {
|
|
331
|
-
i.set(
|
|
332
|
+
i.set(us, "1");
|
|
332
333
|
}
|
|
333
|
-
function
|
|
334
|
-
i.set(
|
|
334
|
+
function _c(i) {
|
|
335
|
+
i.set(Ha, "1");
|
|
335
336
|
}
|
|
336
337
|
function lo(i) {
|
|
337
338
|
i.has(wn) || i.set(wn, "true");
|
|
@@ -362,22 +363,22 @@ function go(i, e) {
|
|
|
362
363
|
e && (i.set(Ji, v.SSH), i.set(Wi, e));
|
|
363
364
|
}
|
|
364
365
|
function fo(i, e) {
|
|
365
|
-
i.set(
|
|
366
|
+
i.set(wa, e.generateCurrentRequestHeaderValue()), i.set(Ia, e.generateLastRequestHeaderValue());
|
|
366
367
|
}
|
|
367
368
|
function mo(i) {
|
|
368
|
-
i.set(
|
|
369
|
+
i.set(Ta, gs);
|
|
369
370
|
}
|
|
370
|
-
function
|
|
371
|
-
i.set(
|
|
371
|
+
function bc(i, e) {
|
|
372
|
+
i.set(Oa, e);
|
|
372
373
|
}
|
|
373
374
|
function $t(i, e, t) {
|
|
374
375
|
i.has(rt) || i.set(rt, e), i.has(Rt) || i.set(Rt, t);
|
|
375
376
|
}
|
|
376
|
-
function
|
|
377
|
-
i.set(
|
|
377
|
+
function Rc(i, e) {
|
|
378
|
+
i.set(Da, encodeURIComponent(e)), i.set(xa, "eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0");
|
|
378
379
|
}
|
|
379
380
|
function po(i, e) {
|
|
380
|
-
e && i.set(
|
|
381
|
+
e && i.set(La, e);
|
|
381
382
|
}
|
|
382
383
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
383
384
|
function Jr(i) {
|
|
@@ -397,7 +398,7 @@ function Pt(i) {
|
|
|
397
398
|
if (t.code || t.ear_jwe || t.error || t.error_description || t.state)
|
|
398
399
|
return t;
|
|
399
400
|
} catch {
|
|
400
|
-
throw m(
|
|
401
|
+
throw m(nc);
|
|
401
402
|
}
|
|
402
403
|
return null;
|
|
403
404
|
}
|
|
@@ -511,7 +512,7 @@ function Mt(i, e, t, n) {
|
|
|
511
512
|
}
|
|
512
513
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
513
514
|
function re(i, e) {
|
|
514
|
-
const t =
|
|
515
|
+
const t = Oc(i);
|
|
515
516
|
try {
|
|
516
517
|
const n = e(t);
|
|
517
518
|
return JSON.parse(n);
|
|
@@ -525,9 +526,9 @@ function oe(i) {
|
|
|
525
526
|
const e = ["kmsi", "dvc_dmjd"];
|
|
526
527
|
return i.signin_state.some((t) => e.includes(t.trim().toLowerCase()));
|
|
527
528
|
}
|
|
528
|
-
function
|
|
529
|
+
function Oc(i) {
|
|
529
530
|
if (!i)
|
|
530
|
-
throw m(
|
|
531
|
+
throw m(qa);
|
|
531
532
|
const t = /^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(i);
|
|
532
533
|
if (!t || t.length < 4)
|
|
533
534
|
throw m(qi);
|
|
@@ -535,7 +536,7 @@ function Rc(i) {
|
|
|
535
536
|
}
|
|
536
537
|
function Co(i, e) {
|
|
537
538
|
if (e === 0 || Date.now() - 3e5 > i + e)
|
|
538
|
-
throw m(
|
|
539
|
+
throw m(oc);
|
|
539
540
|
}
|
|
540
541
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
541
542
|
class S {
|
|
@@ -544,7 +545,7 @@ class S {
|
|
|
544
545
|
}
|
|
545
546
|
constructor(e) {
|
|
546
547
|
if (this._urlString = e, !this._urlString)
|
|
547
|
-
throw k(
|
|
548
|
+
throw k(Ba);
|
|
548
549
|
e.includes("#") || (this._urlString = S.canonicalizeUri(e));
|
|
549
550
|
}
|
|
550
551
|
/**
|
|
@@ -571,7 +572,7 @@ class S {
|
|
|
571
572
|
if (!e.HostNameAndPort || !e.PathSegments)
|
|
572
573
|
throw k(yt);
|
|
573
574
|
if (!e.Protocol || e.Protocol.toLowerCase() !== "https:")
|
|
574
|
-
throw k(
|
|
575
|
+
throw k(Fa);
|
|
575
576
|
}
|
|
576
577
|
/**
|
|
577
578
|
* Given a url and a query string return the url with provided query string appended
|
|
@@ -632,7 +633,7 @@ class S {
|
|
|
632
633
|
}
|
|
633
634
|
}
|
|
634
635
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
635
|
-
const
|
|
636
|
+
const Pc = [
|
|
636
637
|
{ host: "login.microsoftonline.com" },
|
|
637
638
|
{
|
|
638
639
|
host: "login.chinacloudapi.cn",
|
|
@@ -644,7 +645,7 @@ const Oc = [
|
|
|
644
645
|
{ host: "login.sovcloud-identity.de" },
|
|
645
646
|
{ host: "login.sovcloud-identity.sg" }
|
|
646
647
|
];
|
|
647
|
-
function
|
|
648
|
+
function Nc(i, e) {
|
|
648
649
|
return {
|
|
649
650
|
token_endpoint: `https://${i}/{tenantid}/oauth2/v2.0/token`,
|
|
650
651
|
jwks_uri: `https://${i}/{tenantid}/discovery/v2.0/keys`,
|
|
@@ -653,8 +654,8 @@ function Pc(i, e) {
|
|
|
653
654
|
end_session_endpoint: `https://${i}/{tenantid}/oauth2/v2.0/logout`
|
|
654
655
|
};
|
|
655
656
|
}
|
|
656
|
-
const
|
|
657
|
-
endpointMetadata:
|
|
657
|
+
const Mc = Pc.reduce((i, { host: e, issuerHost: t }) => (i[e] = Nc(e, t || e), i), {}), wo = {
|
|
658
|
+
endpointMetadata: Mc,
|
|
658
659
|
instanceDiscoveryMetadata: {
|
|
659
660
|
metadata: [
|
|
660
661
|
{
|
|
@@ -716,7 +717,7 @@ Wn.metadata.forEach((i) => {
|
|
|
716
717
|
Io.add(e);
|
|
717
718
|
});
|
|
718
719
|
});
|
|
719
|
-
function
|
|
720
|
+
function Uc(i, e, t) {
|
|
720
721
|
var o;
|
|
721
722
|
let n;
|
|
722
723
|
const r = i.canonicalAuthority;
|
|
@@ -735,7 +736,7 @@ function Xr(i, e, t, n, r) {
|
|
|
735
736
|
}
|
|
736
737
|
return null;
|
|
737
738
|
}
|
|
738
|
-
function
|
|
739
|
+
function Dc(i) {
|
|
739
740
|
return Ut(Wn.metadata, i);
|
|
740
741
|
}
|
|
741
742
|
function Ut(i, e) {
|
|
@@ -747,21 +748,21 @@ function Ut(i, e) {
|
|
|
747
748
|
return null;
|
|
748
749
|
}
|
|
749
750
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
750
|
-
const In = "cache_quota_exceeded",
|
|
751
|
+
const In = "cache_quota_exceeded", xc = "cache_error_unknown";
|
|
751
752
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
752
753
|
class He extends Error {
|
|
753
754
|
constructor(e, t) {
|
|
754
|
-
const n = t ||
|
|
755
|
+
const n = t || fs(e);
|
|
755
756
|
super(n), Object.setPrototypeOf(this, He.prototype), this.name = "CacheError", this.errorCode = e, this.errorMessage = n;
|
|
756
757
|
}
|
|
757
758
|
}
|
|
758
759
|
function Tn(i) {
|
|
759
|
-
return i instanceof Error ? i.name === "QuotaExceededError" || i.name === "NS_ERROR_DOM_QUOTA_REACHED" || i.message.includes("exceeded the quota") ? new He(In) : new He(i.name, i.message) : new He(
|
|
760
|
+
return i instanceof Error ? i.name === "QuotaExceededError" || i.name === "NS_ERROR_DOM_QUOTA_REACHED" || i.message.includes("exceeded the quota") ? new He(In) : new He(i.name, i.message) : new He(xc);
|
|
760
761
|
}
|
|
761
762
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
762
763
|
function Dt(i, e) {
|
|
763
764
|
if (!i)
|
|
764
|
-
throw m(
|
|
765
|
+
throw m(Za);
|
|
765
766
|
try {
|
|
766
767
|
const t = e(i);
|
|
767
768
|
return JSON.parse(t);
|
|
@@ -823,10 +824,10 @@ function ke(i) {
|
|
|
823
824
|
dataBoundary: i.dataBoundary
|
|
824
825
|
};
|
|
825
826
|
}
|
|
826
|
-
function
|
|
827
|
+
function Lc(i, e, t) {
|
|
827
828
|
var y, A, I, O, b, _, j;
|
|
828
829
|
let n;
|
|
829
|
-
e.authorityType === Q.Adfs ? n =
|
|
830
|
+
e.authorityType === Q.Adfs ? n = ms : e.protocolMode === B.OIDC ? n = Ni : n = ps;
|
|
830
831
|
let r, o;
|
|
831
832
|
i.clientInfo && t && (r = Dt(i.clientInfo, t), r.xms_tdbr && (o = r.xms_tdbr === "EU" ? "EU" : "None"));
|
|
832
833
|
const s = i.environment || e && e.getPreferredCache();
|
|
@@ -853,7 +854,7 @@ function xc(i, e, t) {
|
|
|
853
854
|
dataBoundary: o
|
|
854
855
|
};
|
|
855
856
|
}
|
|
856
|
-
function
|
|
857
|
+
function Hc(i, e, t) {
|
|
857
858
|
var r;
|
|
858
859
|
const n = Array.from(((r = i.tenantProfiles) == null ? void 0 : r.values()) || []);
|
|
859
860
|
return n.length === 0 && i.tenantId && i.localAccountId && n.push($e(i.homeAccountId, i.localAccountId, i.tenantId, i.idTokenClaims)), {
|
|
@@ -885,7 +886,7 @@ function To(i, e, t, n, r, o) {
|
|
|
885
886
|
}
|
|
886
887
|
return (o == null ? void 0 : o.sub) || "";
|
|
887
888
|
}
|
|
888
|
-
function
|
|
889
|
+
function Kc(i) {
|
|
889
890
|
return i ? i.hasOwnProperty("homeAccountId") && i.hasOwnProperty("environment") && i.hasOwnProperty("realm") && i.hasOwnProperty("localAccountId") && i.hasOwnProperty("username") && i.hasOwnProperty("authorityType") : !1;
|
|
890
891
|
}
|
|
891
892
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
@@ -973,7 +974,7 @@ class An {
|
|
|
973
974
|
async saveCacheRecord(e, t, n, r, o) {
|
|
974
975
|
var s;
|
|
975
976
|
if (!e)
|
|
976
|
-
throw m(
|
|
977
|
+
throw m(lc);
|
|
977
978
|
try {
|
|
978
979
|
e.account && await this.setAccount(e.account, t, n, r), e.idToken && (o == null ? void 0 : o.idToken) !== !1 && await this.setIdTokenCredential(e.idToken, t, n), e.accessToken && (o == null ? void 0 : o.accessToken) !== !1 && await this.saveAccessToken(e.accessToken, t, n), e.refreshToken && (o == null ? void 0 : o.refreshToken) !== !1 && await this.setRefreshTokenCredential(e.refreshToken, t, n), e.appMetadata && this.setAppMetadata(e.appMetadata, t);
|
|
979
980
|
} catch (a) {
|
|
@@ -1310,7 +1311,7 @@ class An {
|
|
|
1310
1311
|
if (s < 1)
|
|
1311
1312
|
return null;
|
|
1312
1313
|
if (s > 1)
|
|
1313
|
-
throw m(
|
|
1314
|
+
throw m(sc);
|
|
1314
1315
|
return o[0];
|
|
1315
1316
|
}
|
|
1316
1317
|
/**
|
|
@@ -1386,7 +1387,7 @@ class An {
|
|
|
1386
1387
|
*/
|
|
1387
1388
|
matchEnvironment(e, t, n) {
|
|
1388
1389
|
if (this.staticAuthorityOptions) {
|
|
1389
|
-
const o =
|
|
1390
|
+
const o = Uc(this.staticAuthorityOptions, this.commonLogger, n);
|
|
1390
1391
|
if (o.includes(t) && o.includes(e.environment))
|
|
1391
1392
|
return !0;
|
|
1392
1393
|
}
|
|
@@ -1514,7 +1515,7 @@ class An {
|
|
|
1514
1515
|
return e;
|
|
1515
1516
|
}
|
|
1516
1517
|
}
|
|
1517
|
-
class
|
|
1518
|
+
class Fc extends An {
|
|
1518
1519
|
async setAccount() {
|
|
1519
1520
|
throw m(T);
|
|
1520
1521
|
}
|
|
@@ -1586,7 +1587,7 @@ class Kc extends An {
|
|
|
1586
1587
|
}
|
|
1587
1588
|
}
|
|
1588
1589
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
1589
|
-
const
|
|
1590
|
+
const Bc = {
|
|
1590
1591
|
NotStarted: 0,
|
|
1591
1592
|
InProgress: 1,
|
|
1592
1593
|
Completed: 2
|
|
@@ -1607,7 +1608,7 @@ class Ao {
|
|
|
1607
1608
|
},
|
|
1608
1609
|
event: {
|
|
1609
1610
|
eventId: this.generateId(),
|
|
1610
|
-
status:
|
|
1611
|
+
status: Bc.InProgress,
|
|
1611
1612
|
authority: "",
|
|
1612
1613
|
libraryName: "",
|
|
1613
1614
|
libraryVersion: "",
|
|
@@ -1642,31 +1643,31 @@ class Ao {
|
|
|
1642
1643
|
const Eo = {
|
|
1643
1644
|
tokenRenewalOffsetSeconds: Mi,
|
|
1644
1645
|
preventCorsPreflight: !1
|
|
1645
|
-
},
|
|
1646
|
+
}, zc = {
|
|
1646
1647
|
loggerCallback: () => {
|
|
1647
1648
|
},
|
|
1648
1649
|
piiLoggingEnabled: !1,
|
|
1649
1650
|
logLevel: ee.Info,
|
|
1650
1651
|
correlationId: ""
|
|
1651
|
-
},
|
|
1652
|
+
}, jc = {
|
|
1652
1653
|
async sendGetRequestAsync() {
|
|
1653
1654
|
throw m(T);
|
|
1654
1655
|
},
|
|
1655
1656
|
async sendPostRequestAsync() {
|
|
1656
1657
|
throw m(T);
|
|
1657
1658
|
}
|
|
1658
|
-
},
|
|
1659
|
-
sku:
|
|
1659
|
+
}, Gc = {
|
|
1660
|
+
sku: ys,
|
|
1660
1661
|
version: ut,
|
|
1661
1662
|
cpu: "",
|
|
1662
1663
|
os: ""
|
|
1663
|
-
},
|
|
1664
|
+
}, Vc = {
|
|
1664
1665
|
clientSecret: "",
|
|
1665
1666
|
clientAssertion: void 0
|
|
1666
|
-
},
|
|
1667
|
+
}, $c = {
|
|
1667
1668
|
azureCloudInstance: Jn.None,
|
|
1668
1669
|
tenant: `${Ui}`
|
|
1669
|
-
},
|
|
1670
|
+
}, Jc = {
|
|
1670
1671
|
application: {
|
|
1671
1672
|
appName: "",
|
|
1672
1673
|
appVersion: ""
|
|
@@ -1674,28 +1675,28 @@ const Eo = {
|
|
|
1674
1675
|
};
|
|
1675
1676
|
function Yn({ authOptions: i, systemOptions: e, loggerOptions: t, storageInterface: n, networkInterface: r, cryptoInterface: o, clientCredentials: s, libraryInfo: a, telemetry: c, serverTelemetryManager: h, persistencePlugin: l, serializableCache: d }) {
|
|
1676
1677
|
const g = {
|
|
1677
|
-
...
|
|
1678
|
+
...zc,
|
|
1678
1679
|
...t
|
|
1679
1680
|
};
|
|
1680
1681
|
return {
|
|
1681
|
-
authOptions:
|
|
1682
|
+
authOptions: Wc(i),
|
|
1682
1683
|
systemOptions: { ...Eo, ...e },
|
|
1683
1684
|
loggerOptions: g,
|
|
1684
|
-
storageInterface: n || new
|
|
1685
|
-
networkInterface: r ||
|
|
1685
|
+
storageInterface: n || new Fc(i.clientId, Nt, new Pe(g), new Ao()),
|
|
1686
|
+
networkInterface: r || jc,
|
|
1686
1687
|
cryptoInterface: o || Nt,
|
|
1687
|
-
clientCredentials: s ||
|
|
1688
|
-
libraryInfo: { ...
|
|
1689
|
-
telemetry: {
|
|
1688
|
+
clientCredentials: s || Vc,
|
|
1689
|
+
libraryInfo: { ...Gc, ...a },
|
|
1690
|
+
telemetry: { ...Jc, ...c },
|
|
1690
1691
|
serverTelemetryManager: h || null,
|
|
1691
1692
|
persistencePlugin: l || null,
|
|
1692
1693
|
serializableCache: d || null
|
|
1693
1694
|
};
|
|
1694
1695
|
}
|
|
1695
|
-
function
|
|
1696
|
+
function Wc(i) {
|
|
1696
1697
|
return {
|
|
1697
1698
|
clientCapabilities: [],
|
|
1698
|
-
azureCloudOptions:
|
|
1699
|
+
azureCloudOptions: $c,
|
|
1699
1700
|
instanceAware: !1,
|
|
1700
1701
|
isMcp: !1,
|
|
1701
1702
|
...i
|
|
@@ -1705,7 +1706,7 @@ function So(i) {
|
|
|
1705
1706
|
return i.authOptions.authority.options.protocolMode === B.OIDC;
|
|
1706
1707
|
}
|
|
1707
1708
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
1708
|
-
class
|
|
1709
|
+
class Qc {
|
|
1709
1710
|
constructor(e, t) {
|
|
1710
1711
|
this.cache = e, this.hasChanged = t;
|
|
1711
1712
|
}
|
|
@@ -1740,7 +1741,7 @@ function Zr(i, e) {
|
|
|
1740
1741
|
const t = Number(i) + e * 24 * 60 * 60 * 1e3;
|
|
1741
1742
|
return Date.now() > t;
|
|
1742
1743
|
}
|
|
1743
|
-
function
|
|
1744
|
+
function Yc(i) {
|
|
1744
1745
|
return Number(i) > q();
|
|
1745
1746
|
}
|
|
1746
1747
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
@@ -1778,7 +1779,7 @@ function Qt(i, e, t, n, r, o, s, a, c, h, l, d, g) {
|
|
|
1778
1779
|
case v.POP:
|
|
1779
1780
|
const I = re(t, c);
|
|
1780
1781
|
if (!((A = I == null ? void 0 : I.cnf) != null && A.kid))
|
|
1781
|
-
throw m(
|
|
1782
|
+
throw m(dc);
|
|
1782
1783
|
f.keyId = I.cnf.kid;
|
|
1783
1784
|
break;
|
|
1784
1785
|
case v.SSH:
|
|
@@ -1786,7 +1787,7 @@ function Qt(i, e, t, n, r, o, s, a, c, h, l, d, g) {
|
|
|
1786
1787
|
}
|
|
1787
1788
|
return f;
|
|
1788
1789
|
}
|
|
1789
|
-
function
|
|
1790
|
+
function Xc(i, e, t, n, r, o, s) {
|
|
1790
1791
|
const a = {
|
|
1791
1792
|
credentialType: M.REFRESH_TOKEN,
|
|
1792
1793
|
homeAccountId: i,
|
|
@@ -1803,38 +1804,38 @@ function Yt(i) {
|
|
|
1803
1804
|
function qr(i) {
|
|
1804
1805
|
return i ? Yt(i) && i.hasOwnProperty("realm") && i.hasOwnProperty("target") && (i.credentialType === M.ACCESS_TOKEN || i.credentialType === M.ACCESS_TOKEN_WITH_AUTH_SCHEME) : !1;
|
|
1805
1806
|
}
|
|
1806
|
-
function
|
|
1807
|
+
function Zc(i) {
|
|
1807
1808
|
return i ? Yt(i) && i.hasOwnProperty("realm") && i.credentialType === M.ID_TOKEN : !1;
|
|
1808
1809
|
}
|
|
1809
1810
|
function ei(i) {
|
|
1810
1811
|
return i ? Yt(i) && i.credentialType === M.REFRESH_TOKEN : !1;
|
|
1811
1812
|
}
|
|
1812
|
-
function
|
|
1813
|
+
function qc(i, e) {
|
|
1813
1814
|
const t = i.indexOf(Di) === 0;
|
|
1814
1815
|
let n = !0;
|
|
1815
1816
|
return e && (n = e.hasOwnProperty("failedRequests") && e.hasOwnProperty("errors") && e.hasOwnProperty("cacheHits")), t && n;
|
|
1816
1817
|
}
|
|
1817
|
-
function
|
|
1818
|
+
function eh(i, e) {
|
|
1818
1819
|
let t = !1;
|
|
1819
1820
|
i && (t = i.indexOf(xi) === 0);
|
|
1820
1821
|
let n = !0;
|
|
1821
1822
|
return e && (n = e.hasOwnProperty("throttleTime")), t && n;
|
|
1822
1823
|
}
|
|
1823
|
-
function
|
|
1824
|
+
function th({ environment: i, clientId: e }) {
|
|
1824
1825
|
return [
|
|
1825
1826
|
On,
|
|
1826
1827
|
i,
|
|
1827
1828
|
e
|
|
1828
1829
|
].join(Li).toLowerCase();
|
|
1829
1830
|
}
|
|
1830
|
-
function
|
|
1831
|
+
function nh(i, e) {
|
|
1831
1832
|
return e ? i.indexOf(On) === 0 && e.hasOwnProperty("clientId") && e.hasOwnProperty("environment") : !1;
|
|
1832
1833
|
}
|
|
1833
|
-
function
|
|
1834
|
+
function rh(i, e) {
|
|
1834
1835
|
return e ? i.indexOf(mn) === 0 && e.hasOwnProperty("aliases") && e.hasOwnProperty("preferred_cache") && e.hasOwnProperty("preferred_network") && e.hasOwnProperty("canonical_authority") && e.hasOwnProperty("authorization_endpoint") && e.hasOwnProperty("token_endpoint") && e.hasOwnProperty("issuer") && e.hasOwnProperty("aliasesFromNetwork") && e.hasOwnProperty("endpointsFromNetwork") && e.hasOwnProperty("expiresAt") && e.hasOwnProperty("jwks_uri") : !1;
|
|
1835
1836
|
}
|
|
1836
1837
|
function ti() {
|
|
1837
|
-
return q() +
|
|
1838
|
+
return q() + Cs;
|
|
1838
1839
|
}
|
|
1839
1840
|
function wt(i, e, t) {
|
|
1840
1841
|
i.authorization_endpoint = e.authorization_endpoint, i.token_endpoint = e.token_endpoint, i.end_session_endpoint = e.end_session_endpoint, i.issuer = e.issuer, i.endpointsFromNetwork = t, i.jwks_uri = e.jwks_uri;
|
|
@@ -1846,7 +1847,7 @@ function ni(i) {
|
|
|
1846
1847
|
return i.expiresAt <= q();
|
|
1847
1848
|
}
|
|
1848
1849
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
1849
|
-
const
|
|
1850
|
+
const ih = "networkClientSendPostRequestAsync", oh = "refreshTokenClientExecutePostToTokenEndpoint", sh = "authorizationCodeClientExecutePostToTokenEndpoint", ah = "refreshTokenClientExecuteTokenRequest", ch = "refreshTokenClientAcquireToken", an = "refreshTokenClientAcquireTokenWithCachedRefreshToken", hh = "refreshTokenClientCreateTokenRequestBody", lh = "silentFlowClientGenerateResultFromCacheRecord", Xn = "getAuthCodeUrl", vo = "handleCodeResponseFromServer", dh = "authClientExecuteTokenRequest", uh = "authClientCreateTokenRequestBody", gh = "updateTokenEndpointAuthority", gt = "popTokenGenerateCnf", Zn = "handleServerTokenResponse", fh = "authorityResolveEndpointsAsync", mh = "authorityGetCloudDiscoveryMetadataFromNetwork", ph = "authorityUpdateCloudDiscoveryMetadata", yh = "authorityGetEndpointMetadataFromNetwork", Ch = "authorityUpdateEndpointMetadata", ri = "authorityUpdateMetadataWithRegionalInformation", wh = "regionDiscoveryDetectRegion", ii = "regionDiscoveryGetRegionFromIMDS", Ih = "regionDiscoveryGetCurrentVersion", Th = "cacheManagerGetRefreshToken", Ah = "setUserData";
|
|
1850
1851
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
1851
1852
|
const z = (i, e, t, n, r) => (...o) => {
|
|
1852
1853
|
t.trace("1plfzx", r);
|
|
@@ -1886,7 +1887,7 @@ const z = (i, e, t, n, r) => (...o) => {
|
|
|
1886
1887
|
});
|
|
1887
1888
|
};
|
|
1888
1889
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
1889
|
-
const
|
|
1890
|
+
const Eh = {
|
|
1890
1891
|
SW: "sw"
|
|
1891
1892
|
};
|
|
1892
1893
|
class Ge {
|
|
@@ -1914,7 +1915,7 @@ class Ge {
|
|
|
1914
1915
|
async generateKid(e) {
|
|
1915
1916
|
return {
|
|
1916
1917
|
kid: await this.cryptoUtils.getPublicKeyThumbprint(e),
|
|
1917
|
-
xms_ksl:
|
|
1918
|
+
xms_ksl: Eh.SW
|
|
1918
1919
|
};
|
|
1919
1920
|
}
|
|
1920
1921
|
/**
|
|
@@ -1957,10 +1958,10 @@ class Ne extends R {
|
|
|
1957
1958
|
}
|
|
1958
1959
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
1959
1960
|
function qn(i, e, t) {
|
|
1960
|
-
const n =
|
|
1961
|
+
const n = Sh(i, t);
|
|
1961
1962
|
return e ? `${n}${pn}${e}` : n;
|
|
1962
1963
|
}
|
|
1963
|
-
function
|
|
1964
|
+
function Sh(i, e) {
|
|
1964
1965
|
if (!i)
|
|
1965
1966
|
throw m(ro);
|
|
1966
1967
|
const t = {
|
|
@@ -2000,10 +2001,10 @@ class _e {
|
|
|
2000
2001
|
var r;
|
|
2001
2002
|
if (e.error || e.error_description || e.suberror) {
|
|
2002
2003
|
const o = `Error(s): ${e.error_codes || Ye} - Timestamp: ${e.timestamp || Ye} - Description: ${e.error_description || Ye} - Correlation ID: ${e.correlation_id || Ye} - Trace ID: ${e.trace_id || Ye}`, s = (r = e.error_codes) != null && r.length ? e.error_codes[0] : void 0, a = new Ne(e.error, o, e.suberror, s, e.status);
|
|
2003
|
-
if (n && e.status && e.status >=
|
|
2004
|
+
if (n && e.status && e.status >= ws && e.status <= Is) {
|
|
2004
2005
|
this.logger.warning("16ks7j", t);
|
|
2005
2006
|
return;
|
|
2006
|
-
} else if (n && e.status && e.status >=
|
|
2007
|
+
} else if (n && e.status && e.status >= Ts && e.status <= As) {
|
|
2007
2008
|
this.logger.warning("0g61x3", t);
|
|
2008
2009
|
return;
|
|
2009
2010
|
}
|
|
@@ -2020,7 +2021,7 @@ class _e {
|
|
|
2020
2021
|
let d;
|
|
2021
2022
|
if (e.id_token) {
|
|
2022
2023
|
if (d = re(e.id_token || "", this.cryptoObj.base64Decode), s && s.nonce && d.nonce !== s.nonce)
|
|
2023
|
-
throw m(
|
|
2024
|
+
throw m(ic);
|
|
2024
2025
|
if (r.maxAge || r.maxAge === 0) {
|
|
2025
2026
|
const I = d.auth_time;
|
|
2026
2027
|
if (!I)
|
|
@@ -2034,7 +2035,7 @@ class _e {
|
|
|
2034
2035
|
const f = this.generateCacheRecord(e, t, n, r, d, a, s);
|
|
2035
2036
|
let y;
|
|
2036
2037
|
try {
|
|
2037
|
-
if (this.persistencePlugin && this.serializableCache && (this.logger.verbose("0jbz5k", r.correlationId), y = new
|
|
2038
|
+
if (this.persistencePlugin && this.serializableCache && (this.logger.verbose("0jbz5k", r.correlationId), y = new Qc(this.serializableCache, !0), await this.persistencePlugin.beforeCacheAccess(y)), c && !h && f.account && this.cacheStorage.getAllAccounts({
|
|
2038
2039
|
homeAccountId: f.account.homeAccountId,
|
|
2039
2040
|
environment: f.account.environment
|
|
2040
2041
|
}, r.correlationId).length < 1)
|
|
@@ -2090,7 +2091,7 @@ class _e {
|
|
|
2090
2091
|
const O = typeof e.refresh_token_expires_in == "string" ? parseInt(e.refresh_token_expires_in, 10) : e.refresh_token_expires_in;
|
|
2091
2092
|
I = n + O, (A = this.performanceClient) == null || A.addFields({ ntwkRtExpiresOnSeconds: I }, r.correlationId);
|
|
2092
2093
|
}
|
|
2093
|
-
f =
|
|
2094
|
+
f = Xc(this.homeAccountIdentifier, c, e.refresh_token, this.clientId, e.foci, s, I);
|
|
2094
2095
|
}
|
|
2095
2096
|
let y = null;
|
|
2096
2097
|
return e.foci && (y = {
|
|
@@ -2167,7 +2168,7 @@ function ko(i, e, t, n, r, o, s, a, c, h, l, d, g) {
|
|
|
2167
2168
|
d == null || d.verbose("09jz0t", r);
|
|
2168
2169
|
const f = a || e.getPreferredCache(), y = i.getAccountsFilteredBy({ homeAccountId: t, environment: f }, r);
|
|
2169
2170
|
g == null || g.addFields({ cacheMatchedAccounts: y.length }, r), y.length > 1 && (d == null || d.warning("0x7ad1", r));
|
|
2170
|
-
const I = (y.length === 1 ? y[0] : null) ||
|
|
2171
|
+
const I = (y.length === 1 ? y[0] : null) || Lc({
|
|
2171
2172
|
homeAccountId: t,
|
|
2172
2173
|
idTokenClaims: o,
|
|
2173
2174
|
clientInfo: s,
|
|
@@ -2274,7 +2275,7 @@ class te {
|
|
|
2274
2275
|
*/
|
|
2275
2276
|
static calculateThrottleTime(e) {
|
|
2276
2277
|
const t = e <= 0 ? 0 : e, n = Date.now() / 1e3;
|
|
2277
|
-
return Math.floor(Math.min(n + (t ||
|
|
2278
|
+
return Math.floor(Math.min(n + (t || Es), n + Ss) * 1e3);
|
|
2278
2279
|
}
|
|
2279
2280
|
static removeThrottle(e, t, n, r) {
|
|
2280
2281
|
const o = Xt(t, n, r), s = this.generateThrottlingStorageKey(o);
|
|
@@ -2293,7 +2294,7 @@ function qe(i, e, t, n) {
|
|
|
2293
2294
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
2294
2295
|
function bo(i, e, t) {
|
|
2295
2296
|
const n = {};
|
|
2296
|
-
if (n[L.CONTENT_TYPE] =
|
|
2297
|
+
if (n[L.CONTENT_TYPE] = vs, !e && t)
|
|
2297
2298
|
switch (t.type) {
|
|
2298
2299
|
case Y.HOME_ACCOUNT_ID:
|
|
2299
2300
|
try {
|
|
@@ -2314,15 +2315,15 @@ function Ro(i, e, t, n) {
|
|
|
2314
2315
|
return i.embeddedClientId && $t(r, e, t), i.extraQueryParameters && ie(r, i.extraQueryParameters), dt(r, i.correlationId), Vt(r, i.correlationId, n), ot(r);
|
|
2315
2316
|
}
|
|
2316
2317
|
async function Oo(i, e, t, n, r, o, s, a, c, h) {
|
|
2317
|
-
const l = await
|
|
2318
|
+
const l = await vh(n, i, { body: e, headers: t }, r, o, s, a, c);
|
|
2318
2319
|
return h && l.status < 500 && l.status !== 429 && h.clearTelemetryCache(), l;
|
|
2319
2320
|
}
|
|
2320
|
-
async function
|
|
2321
|
+
async function vh(i, e, t, n, r, o, s, a) {
|
|
2321
2322
|
var h;
|
|
2322
2323
|
te.preProcess(r, i, n);
|
|
2323
2324
|
let c;
|
|
2324
2325
|
try {
|
|
2325
|
-
c = await u(o.sendPostRequestAsync.bind(o),
|
|
2326
|
+
c = await u(o.sendPostRequestAsync.bind(o), ih, s, a, n)(e, t);
|
|
2326
2327
|
const l = c.headers || {};
|
|
2327
2328
|
a == null || a.addFields({
|
|
2328
2329
|
refreshTokenSize: ((h = c.body.refresh_token) == null ? void 0 : h.length) || 0,
|
|
@@ -2340,20 +2341,20 @@ async function Sh(i, e, t, n, r, o, s, a) {
|
|
|
2340
2341
|
httpStatus: l.httpStatus
|
|
2341
2342
|
}, n)), l.error;
|
|
2342
2343
|
}
|
|
2343
|
-
throw l instanceof R ? l : m(
|
|
2344
|
+
throw l instanceof R ? l : m(ec);
|
|
2344
2345
|
}
|
|
2345
2346
|
return te.postProcess(r, i, c, n), c;
|
|
2346
2347
|
}
|
|
2347
2348
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
2348
|
-
function
|
|
2349
|
+
function kh(i) {
|
|
2349
2350
|
return i.hasOwnProperty("authorization_endpoint") && i.hasOwnProperty("token_endpoint") && i.hasOwnProperty("issuer") && i.hasOwnProperty("jwks_uri");
|
|
2350
2351
|
}
|
|
2351
2352
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
2352
|
-
function
|
|
2353
|
+
function _h(i) {
|
|
2353
2354
|
return i.hasOwnProperty("tenant_discovery_endpoint") && i.hasOwnProperty("metadata");
|
|
2354
2355
|
}
|
|
2355
2356
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
2356
|
-
function
|
|
2357
|
+
function bh(i) {
|
|
2357
2358
|
return i.hasOwnProperty("error") && i.hasOwnProperty("error_description");
|
|
2358
2359
|
}
|
|
2359
2360
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
@@ -2373,9 +2374,9 @@ class qt {
|
|
|
2373
2374
|
else {
|
|
2374
2375
|
const r = qt.IMDS_OPTIONS;
|
|
2375
2376
|
try {
|
|
2376
|
-
const o = await u(this.getRegionFromIMDS.bind(this), ii, this.logger, this.performanceClient, this.correlationId)(
|
|
2377
|
+
const o = await u(this.getRegionFromIMDS.bind(this), ii, this.logger, this.performanceClient, this.correlationId)(ks, r);
|
|
2377
2378
|
if (o.status === Pr && (n = o.body, t.region_source = Me.IMDS), o.status === Nr) {
|
|
2378
|
-
const s = await u(this.getCurrentVersion.bind(this),
|
|
2379
|
+
const s = await u(this.getCurrentVersion.bind(this), Ih, this.logger, this.performanceClient, this.correlationId)(r);
|
|
2379
2380
|
if (!s)
|
|
2380
2381
|
return t.region_source = Me.FAILED_AUTO_DETECTION, null;
|
|
2381
2382
|
const a = await u(this.getRegionFromIMDS.bind(this), ii, this.logger, this.performanceClient, this.correlationId)(s, r);
|
|
@@ -2394,7 +2395,7 @@ class qt {
|
|
|
2394
2395
|
* @returns Promise<NetworkResponse<string>>
|
|
2395
2396
|
*/
|
|
2396
2397
|
async getRegionFromIMDS(e, t) {
|
|
2397
|
-
return this.networkInterface.sendGetRequestAsync(`${Mr}?api-version=${e}&format=text`, t,
|
|
2398
|
+
return this.networkInterface.sendGetRequestAsync(`${Mr}?api-version=${e}&format=text`, t, _s);
|
|
2398
2399
|
}
|
|
2399
2400
|
/**
|
|
2400
2401
|
* Get the most recent version of the IMDS endpoint available
|
|
@@ -2435,9 +2436,9 @@ class F {
|
|
|
2435
2436
|
const t = e.PathSegments;
|
|
2436
2437
|
if (t.length)
|
|
2437
2438
|
switch (t[0].toLowerCase()) {
|
|
2438
|
-
case
|
|
2439
|
+
case Rs:
|
|
2439
2440
|
return Q.Adfs;
|
|
2440
|
-
case
|
|
2441
|
+
case bs:
|
|
2441
2442
|
return Q.Dsts;
|
|
2442
2443
|
}
|
|
2443
2444
|
return Q.Default;
|
|
@@ -2515,7 +2516,7 @@ class F {
|
|
|
2515
2516
|
get endSessionEndpoint() {
|
|
2516
2517
|
if (this.discoveryComplete()) {
|
|
2517
2518
|
if (!this.metadata.end_session_endpoint)
|
|
2518
|
-
throw m(
|
|
2519
|
+
throw m(fc);
|
|
2519
2520
|
return this.replacePath(this.metadata.end_session_endpoint);
|
|
2520
2521
|
} else
|
|
2521
2522
|
throw m(ge);
|
|
@@ -2586,9 +2587,9 @@ class F {
|
|
|
2586
2587
|
*/
|
|
2587
2588
|
async resolveEndpointsAsync() {
|
|
2588
2589
|
var r;
|
|
2589
|
-
const e = this.getCurrentMetadataEntity(), t = await u(this.updateCloudDiscoveryMetadata.bind(this),
|
|
2590
|
+
const e = this.getCurrentMetadataEntity(), t = await u(this.updateCloudDiscoveryMetadata.bind(this), ph, this.logger, this.performanceClient, this.correlationId)(e);
|
|
2590
2591
|
this.canonicalAuthority = this.canonicalAuthority.replace(this.hostnameAndPort, e.preferred_network);
|
|
2591
|
-
const n = await u(this.updateEndpointMetadata.bind(this),
|
|
2592
|
+
const n = await u(this.updateEndpointMetadata.bind(this), Ch, this.logger, this.performanceClient, this.correlationId)(e);
|
|
2592
2593
|
this.updateCachedMetadata(e, t, {
|
|
2593
2594
|
source: n
|
|
2594
2595
|
}), (r = this.performanceClient) == null || r.addFields({
|
|
@@ -2644,10 +2645,10 @@ class F {
|
|
|
2644
2645
|
}
|
|
2645
2646
|
return t.source;
|
|
2646
2647
|
}
|
|
2647
|
-
let n = await u(this.getEndpointMetadataFromNetwork.bind(this),
|
|
2648
|
+
let n = await u(this.getEndpointMetadataFromNetwork.bind(this), yh, this.logger, this.performanceClient, this.correlationId)();
|
|
2648
2649
|
if (n)
|
|
2649
2650
|
return (o = this.authorityOptions.azureRegionConfiguration) != null && o.azureRegion && (n = await u(this.updateMetadataWithRegionalInformation.bind(this), ri, this.logger, this.performanceClient, this.correlationId)(n)), wt(e, n, !0), J.NETWORK;
|
|
2650
|
-
throw m(
|
|
2651
|
+
throw m(tc, this.defaultOpenIdConfigurationEndpoint);
|
|
2651
2652
|
}
|
|
2652
2653
|
/**
|
|
2653
2654
|
* Updates endpoint metadata from local sources and returns where the information was retrieved from and the metadata config
|
|
@@ -2690,7 +2691,7 @@ class F {
|
|
|
2690
2691
|
try {
|
|
2691
2692
|
return JSON.parse(this.authorityOptions.authorityMetadata);
|
|
2692
2693
|
} catch {
|
|
2693
|
-
throw k(
|
|
2694
|
+
throw k(Va);
|
|
2694
2695
|
}
|
|
2695
2696
|
return null;
|
|
2696
2697
|
}
|
|
@@ -2704,7 +2705,7 @@ class F {
|
|
|
2704
2705
|
this.logger.verbose("1y65x6", this.correlationId);
|
|
2705
2706
|
try {
|
|
2706
2707
|
const n = await this.networkInterface.sendGetRequestAsync(t, e);
|
|
2707
|
-
return
|
|
2708
|
+
return kh(n.body) ? n.body : (this.logger.verbose("1koyv8", this.correlationId), null);
|
|
2708
2709
|
} catch {
|
|
2709
2710
|
return this.logger.verbose("0a9wik", this.correlationId), null;
|
|
2710
2711
|
}
|
|
@@ -2723,9 +2724,9 @@ class F {
|
|
|
2723
2724
|
var n, r;
|
|
2724
2725
|
const t = (n = this.authorityOptions.azureRegionConfiguration) == null ? void 0 : n.azureRegion;
|
|
2725
2726
|
if (t) {
|
|
2726
|
-
if (t !==
|
|
2727
|
+
if (t !== Os)
|
|
2727
2728
|
return this.regionDiscoveryMetadata.region_outcome = on.CONFIGURED_NO_AUTO_DETECTION, this.regionDiscoveryMetadata.region_used = t, F.replaceWithRegionalInformation(e, t);
|
|
2728
|
-
const o = await u(this.regionDiscovery.detectRegion.bind(this.regionDiscovery),
|
|
2729
|
+
const o = await u(this.regionDiscovery.detectRegion.bind(this.regionDiscovery), wh, this.logger, this.performanceClient, this.correlationId)((r = this.authorityOptions.azureRegionConfiguration) == null ? void 0 : r.environmentRegion, this.regionDiscoveryMetadata);
|
|
2729
2730
|
if (o)
|
|
2730
2731
|
return this.regionDiscoveryMetadata.region_outcome = on.AUTO_DETECTION_REQUESTED_SUCCESSFUL, this.regionDiscoveryMetadata.region_used = o, F.replaceWithRegionalInformation(e, o);
|
|
2731
2732
|
this.regionDiscoveryMetadata.region_outcome = on.AUTO_DETECTION_REQUESTED_FAILED;
|
|
@@ -2742,10 +2743,10 @@ class F {
|
|
|
2742
2743
|
const t = this.updateCloudDiscoveryMetadataFromLocalSources(e);
|
|
2743
2744
|
if (t)
|
|
2744
2745
|
return t;
|
|
2745
|
-
const n = await u(this.getCloudDiscoveryMetadataFromNetwork.bind(this),
|
|
2746
|
+
const n = await u(this.getCloudDiscoveryMetadataFromNetwork.bind(this), mh, this.logger, this.performanceClient, this.correlationId)();
|
|
2746
2747
|
if (n)
|
|
2747
2748
|
return sn(e, n, !0), J.NETWORK;
|
|
2748
|
-
throw k(
|
|
2749
|
+
throw k($a);
|
|
2749
2750
|
}
|
|
2750
2751
|
updateCloudDiscoveryMetadataFromLocalSources(e) {
|
|
2751
2752
|
this.logger.verbose("0jhlgt", this.correlationId), this.logger.verbosePii("1fy7uz", this.correlationId), this.logger.verbosePii("08zabj", this.correlationId), this.logger.verbosePii("1o1kv3", this.correlationId);
|
|
@@ -2753,7 +2754,7 @@ class F {
|
|
|
2753
2754
|
if (t)
|
|
2754
2755
|
return this.logger.verbose("1nakio", this.correlationId), sn(e, t, !1), J.CONFIG;
|
|
2755
2756
|
this.logger.verbose("1x74aj", this.correlationId);
|
|
2756
|
-
const n =
|
|
2757
|
+
const n = Dc(this.hostnameAndPort);
|
|
2757
2758
|
if (n)
|
|
2758
2759
|
return this.logger.verbose("0by47c", this.correlationId), sn(e, n, !1), J.HARDCODED_VALUES;
|
|
2759
2760
|
this.logger.verbose("0r2fzy", this.correlationId);
|
|
@@ -2786,15 +2787,15 @@ class F {
|
|
|
2786
2787
|
* @param hasHardcodedMetadata boolean
|
|
2787
2788
|
*/
|
|
2788
2789
|
async getCloudDiscoveryMetadataFromNetwork() {
|
|
2789
|
-
const e = `${
|
|
2790
|
+
const e = `${Ps}${this.canonicalAuthority}oauth2/v2.0/authorize`, t = {};
|
|
2790
2791
|
let n = null;
|
|
2791
2792
|
try {
|
|
2792
2793
|
const r = await this.networkInterface.sendGetRequestAsync(e, t);
|
|
2793
2794
|
let o, s;
|
|
2794
|
-
if (
|
|
2795
|
+
if (_h(r.body))
|
|
2795
2796
|
o = r.body, s = o.metadata, this.logger.verbosePii("1vglyt", this.correlationId);
|
|
2796
|
-
else if (
|
|
2797
|
-
if (this.logger.warning("062uto", this.correlationId), o = r.body, o.error ===
|
|
2797
|
+
else if (bh(r.body)) {
|
|
2798
|
+
if (this.logger.warning("062uto", this.correlationId), o = r.body, o.error === Ns)
|
|
2798
2799
|
return this.logger.error("1x90tm", this.correlationId), null;
|
|
2799
2800
|
this.logger.warning("0wchdm", this.correlationId), this.logger.warning("1s5mpv", this.correlationId), this.logger.warning("1yhqpw", this.correlationId), s = [];
|
|
2800
2801
|
} else
|
|
@@ -2840,7 +2841,7 @@ class F {
|
|
|
2840
2841
|
*/
|
|
2841
2842
|
getPreferredCache() {
|
|
2842
2843
|
if (this.managedIdentity)
|
|
2843
|
-
return
|
|
2844
|
+
return Ms;
|
|
2844
2845
|
if (this.discoveryComplete())
|
|
2845
2846
|
return this.metadata.preferred_cache;
|
|
2846
2847
|
throw m(ge);
|
|
@@ -2866,7 +2867,7 @@ class F {
|
|
|
2866
2867
|
* @returns bool
|
|
2867
2868
|
*/
|
|
2868
2869
|
static isPublicCloudAuthority(e) {
|
|
2869
|
-
return
|
|
2870
|
+
return Us.indexOf(e) >= 0;
|
|
2870
2871
|
}
|
|
2871
2872
|
/**
|
|
2872
2873
|
* Rebuild the authority string with the region
|
|
@@ -2879,7 +2880,7 @@ class F {
|
|
|
2879
2880
|
r.validateAsUri();
|
|
2880
2881
|
const o = r.getUrlComponents();
|
|
2881
2882
|
let s = `${t}.${o.HostNameAndPort}`;
|
|
2882
|
-
this.isPublicCloudAuthority(o.HostNameAndPort) && (s = `${t}.${
|
|
2883
|
+
this.isPublicCloudAuthority(o.HostNameAndPort) && (s = `${t}.${Ds}`);
|
|
2883
2884
|
const a = S.constructAuthorityUriFromObject({
|
|
2884
2885
|
...r.getUrlComponents(),
|
|
2885
2886
|
HostNameAndPort: s
|
|
@@ -2910,7 +2911,7 @@ class F {
|
|
|
2910
2911
|
const r = new S(e).getUrlComponents();
|
|
2911
2912
|
if (r.PathSegments.length === 0 && r.HostNameAndPort.endsWith(Ur)) {
|
|
2912
2913
|
const o = r.HostNameAndPort.split(".")[0];
|
|
2913
|
-
t = `${t}${o}${
|
|
2914
|
+
t = `${t}${o}${xs}`;
|
|
2914
2915
|
}
|
|
2915
2916
|
return t;
|
|
2916
2917
|
}
|
|
@@ -2922,7 +2923,7 @@ F.reservedTenantDomains = /* @__PURE__ */ new Set([
|
|
|
2922
2923
|
we.CONSUMERS,
|
|
2923
2924
|
we.ORGANIZATIONS
|
|
2924
2925
|
]);
|
|
2925
|
-
function
|
|
2926
|
+
function Rh(i) {
|
|
2926
2927
|
var r;
|
|
2927
2928
|
const n = (r = new S(i).getUrlComponents().PathSegments.slice(-1)[0]) == null ? void 0 : r.toLowerCase();
|
|
2928
2929
|
switch (n) {
|
|
@@ -2937,7 +2938,7 @@ function bh(i) {
|
|
|
2937
2938
|
function Po(i) {
|
|
2938
2939
|
return i.endsWith(gn) ? i : `${i}${gn}`;
|
|
2939
2940
|
}
|
|
2940
|
-
function
|
|
2941
|
+
function Oh(i) {
|
|
2941
2942
|
const e = i.cloudDiscoveryMetadata;
|
|
2942
2943
|
let t;
|
|
2943
2944
|
if (e)
|
|
@@ -2956,7 +2957,7 @@ function Rh(i) {
|
|
|
2956
2957
|
async function No(i, e, t, n, r, o, s) {
|
|
2957
2958
|
const a = F.transformCIAMAuthority(Po(i)), c = new F(a, e, t, n, r, o, s);
|
|
2958
2959
|
try {
|
|
2959
|
-
return await u(c.resolveEndpointsAsync.bind(c),
|
|
2960
|
+
return await u(c.resolveEndpointsAsync.bind(c), fh, r, s, o)(), c;
|
|
2960
2961
|
} catch {
|
|
2961
2962
|
throw m(ge);
|
|
2962
2963
|
}
|
|
@@ -2975,9 +2976,9 @@ class Mo {
|
|
|
2975
2976
|
async acquireToken(e, t, n) {
|
|
2976
2977
|
var c;
|
|
2977
2978
|
if (!e.code)
|
|
2978
|
-
throw m(
|
|
2979
|
-
n && n.cloud_instance_host_name && await u(this.updateTokenEndpointAuthority.bind(this),
|
|
2980
|
-
const r = q(), o = await u(this.executeTokenRequest.bind(this),
|
|
2979
|
+
throw m(ac);
|
|
2980
|
+
n && n.cloud_instance_host_name && await u(this.updateTokenEndpointAuthority.bind(this), gh, this.logger, this.performanceClient, e.correlationId)(n.cloud_instance_host_name, e.correlationId);
|
|
2981
|
+
const r = q(), o = await u(this.executeTokenRequest.bind(this), dh, this.logger, this.performanceClient, e.correlationId)(this.authority, e, this.serverTelemetryManager), s = (c = o.headers) == null ? void 0 : c[L.X_MS_REQUEST_ID], a = new _e(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.performanceClient, this.config.serializableCache, this.config.persistencePlugin);
|
|
2981
2982
|
return a.validateTokenResponse(o.body, e.correlationId), u(a.handleServerTokenResponse.bind(a), Zn, this.logger, this.performanceClient, e.correlationId)(o.body, this.authority, r, e, t, n, void 0, void 0, void 0, s);
|
|
2982
2983
|
}
|
|
2983
2984
|
/**
|
|
@@ -2987,7 +2988,7 @@ class Mo {
|
|
|
2987
2988
|
*/
|
|
2988
2989
|
getLogoutUri(e) {
|
|
2989
2990
|
if (!e)
|
|
2990
|
-
throw k(
|
|
2991
|
+
throw k(Ga);
|
|
2991
2992
|
const t = this.createLogoutUrlQueryString(e);
|
|
2992
2993
|
return S.appendQueryString(this.authority.endSessionEndpoint, t);
|
|
2993
2994
|
}
|
|
@@ -2997,7 +2998,7 @@ class Mo {
|
|
|
2997
2998
|
* @param request
|
|
2998
2999
|
*/
|
|
2999
3000
|
async executeTokenRequest(e, t, n) {
|
|
3000
|
-
const r = Ro(t, this.config.authOptions.clientId, this.config.authOptions.redirectUri, this.performanceClient), o = S.appendQueryString(e.tokenEndpoint, r), s = await u(this.createTokenRequestBody.bind(this),
|
|
3001
|
+
const r = Ro(t, this.config.authOptions.clientId, this.config.authOptions.redirectUri, this.performanceClient), o = S.appendQueryString(e.tokenEndpoint, r), s = await u(this.createTokenRequestBody.bind(this), uh, this.logger, this.performanceClient, t.correlationId)(t);
|
|
3001
3002
|
let a;
|
|
3002
3003
|
if (t.clientInfo)
|
|
3003
3004
|
try {
|
|
@@ -3010,7 +3011,7 @@ class Mo {
|
|
|
3010
3011
|
this.logger.verbose("0wznt3", t.correlationId);
|
|
3011
3012
|
}
|
|
3012
3013
|
const c = bo(this.logger, this.config.systemOptions.preventCorsPreflight, a || t.ccsCredential), h = Xt(this.config.authOptions.clientId, t);
|
|
3013
|
-
return u(Oo,
|
|
3014
|
+
return u(Oo, sh, this.logger, this.performanceClient, t.correlationId)(o, s, c, h, t.correlationId, this.cacheManager, this.networkClient, this.logger, this.performanceClient, n);
|
|
3014
3015
|
}
|
|
3015
3016
|
/**
|
|
3016
3017
|
* Generates a map for all the params to be sent to the service
|
|
@@ -3022,8 +3023,8 @@ class Mo {
|
|
|
3022
3023
|
if (Kn(t, e.embeddedClientId || ((r = e.extraParameters) == null ? void 0 : r[ve]) || this.config.authOptions.clientId), this.includeRedirectUri)
|
|
3023
3024
|
Fn(t, e.redirectUri);
|
|
3024
3025
|
else if (!e.redirectUri)
|
|
3025
|
-
throw k(
|
|
3026
|
-
if (Hn(t, e.scopes, !0, this.oidcDefaultScopes), po(t, e.resource),
|
|
3026
|
+
throw k(Ka);
|
|
3027
|
+
if (Hn(t, e.scopes, !0, this.oidcDefaultScopes), po(t, e.resource), Sc(t, e.code), zn(t, this.config.libraryInfo), jn(t, this.config.telemetry.application), mo(t), this.serverTelemetryManager && !So(this.config) && fo(t, this.serverTelemetryManager), e.codeVerifier && kc(t, e.codeVerifier), this.config.clientCredentials.clientSecret && so(t, this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion) {
|
|
3027
3028
|
const o = this.config.clientCredentials.clientAssertion;
|
|
3028
3029
|
ao(t, await _o(o.assertion, this.config.authOptions.clientId, e.resourceRequestUri)), co(t, o.assertionType);
|
|
3029
3030
|
}
|
|
@@ -3073,7 +3074,7 @@ class Mo {
|
|
|
3073
3074
|
*/
|
|
3074
3075
|
createLogoutUrlQueryString(e) {
|
|
3075
3076
|
const t = /* @__PURE__ */ new Map();
|
|
3076
|
-
return e.postLogoutRedirectUri &&
|
|
3077
|
+
return e.postLogoutRedirectUri && wc(t, e.postLogoutRedirectUri), e.correlationId && dt(t, e.correlationId), e.idTokenHint && Ic(t, e.idTokenHint), e.state && oo(t, e.state), e.logoutHint && bc(t, e.logoutHint), e.extraQueryParameters && ie(t, e.extraQueryParameters), this.config.authOptions.instanceAware && lo(t), ot(t);
|
|
3077
3078
|
}
|
|
3078
3079
|
/**
|
|
3079
3080
|
* Updates the authority to the cloud instance provided in the authorization response
|
|
@@ -3086,14 +3087,14 @@ class Mo {
|
|
|
3086
3087
|
}
|
|
3087
3088
|
}
|
|
3088
3089
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
3089
|
-
const
|
|
3090
|
-
class
|
|
3090
|
+
const Ph = 300;
|
|
3091
|
+
class Nh {
|
|
3091
3092
|
constructor(e, t) {
|
|
3092
3093
|
this.config = Yn(e), this.logger = new Pe(this.config.loggerOptions, Jt, ut), this.cryptoUtils = this.config.cryptoInterface, this.cacheManager = this.config.storageInterface, this.networkClient = this.config.networkInterface, this.serverTelemetryManager = this.config.serverTelemetryManager, this.authority = this.config.authOptions.authority, this.performanceClient = t;
|
|
3093
3094
|
}
|
|
3094
3095
|
async acquireToken(e, t) {
|
|
3095
3096
|
var a;
|
|
3096
|
-
const n = q(), r = await u(this.executeTokenRequest.bind(this),
|
|
3097
|
+
const n = q(), r = await u(this.executeTokenRequest.bind(this), ah, this.logger, this.performanceClient, e.correlationId)(e, this.authority), o = (a = r.headers) == null ? void 0 : a[L.X_MS_REQUEST_ID], s = new _e(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.performanceClient, this.config.serializableCache, this.config.persistencePlugin);
|
|
3097
3098
|
return s.validateTokenResponse(r.body, e.correlationId), u(s.handleServerTokenResponse.bind(s), Zn, this.logger, this.performanceClient, e.correlationId)(r.body, this.authority, n, e, t, void 0, void 0, !0, e.forceCache, o);
|
|
3098
3099
|
}
|
|
3099
3100
|
/**
|
|
@@ -3102,14 +3103,14 @@ class Ph {
|
|
|
3102
3103
|
*/
|
|
3103
3104
|
async acquireTokenByRefreshToken(e, t) {
|
|
3104
3105
|
if (!e)
|
|
3105
|
-
throw k(
|
|
3106
|
+
throw k(ja);
|
|
3106
3107
|
if (!e.account)
|
|
3107
3108
|
throw m(to);
|
|
3108
3109
|
if (this.cacheManager.isAppMetadataFOCI(e.account.environment, e.correlationId))
|
|
3109
3110
|
try {
|
|
3110
3111
|
return await u(this.acquireTokenWithCachedRefreshToken.bind(this), an, this.logger, this.performanceClient, e.correlationId)(e, !0, t);
|
|
3111
3112
|
} catch (r) {
|
|
3112
|
-
const o = r instanceof Te && r.errorCode === yn, s = r instanceof Ne && r.errorCode ===
|
|
3113
|
+
const o = r instanceof Te && r.errorCode === yn, s = r instanceof Ne && r.errorCode === Ls && r.subError === Hs;
|
|
3113
3114
|
if (o || s)
|
|
3114
3115
|
return u(this.acquireTokenWithCachedRefreshToken.bind(this), an, this.logger, this.performanceClient, e.correlationId)(e, !1, t);
|
|
3115
3116
|
throw r;
|
|
@@ -3122,11 +3123,11 @@ class Ph {
|
|
|
3122
3123
|
*/
|
|
3123
3124
|
async acquireTokenWithCachedRefreshToken(e, t, n) {
|
|
3124
3125
|
var s;
|
|
3125
|
-
const r = z(this.cacheManager.getRefreshToken.bind(this.cacheManager),
|
|
3126
|
+
const r = z(this.cacheManager.getRefreshToken.bind(this.cacheManager), Th, this.logger, this.performanceClient, e.correlationId)(e.account, t, e.correlationId, void 0);
|
|
3126
3127
|
if (!r)
|
|
3127
3128
|
throw bt(yn);
|
|
3128
3129
|
if (r.expiresOn) {
|
|
3129
|
-
const a = e.refreshTokenExpirationOffsetSeconds ||
|
|
3130
|
+
const a = e.refreshTokenExpirationOffsetSeconds || Ph;
|
|
3130
3131
|
if ((s = this.performanceClient) == null || s.addFields({
|
|
3131
3132
|
cacheRtExpiresOnSeconds: Number(r.expiresOn),
|
|
3132
3133
|
rtOffsetSeconds: a
|
|
@@ -3143,7 +3144,7 @@ class Ph {
|
|
|
3143
3144
|
}
|
|
3144
3145
|
};
|
|
3145
3146
|
try {
|
|
3146
|
-
return await u(this.acquireToken.bind(this),
|
|
3147
|
+
return await u(this.acquireToken.bind(this), ch, this.logger, this.performanceClient, e.correlationId)(o, n);
|
|
3147
3148
|
} catch (a) {
|
|
3148
3149
|
if (a instanceof Te && a.subError === Fi) {
|
|
3149
3150
|
this.logger.verbose("1pg3ap", e.correlationId);
|
|
@@ -3159,8 +3160,8 @@ class Ph {
|
|
|
3159
3160
|
* @param authority
|
|
3160
3161
|
*/
|
|
3161
3162
|
async executeTokenRequest(e, t) {
|
|
3162
|
-
const n = Ro(e, this.config.authOptions.clientId, this.config.authOptions.redirectUri, this.performanceClient), r = S.appendQueryString(t.tokenEndpoint, n), o = await u(this.createTokenRequestBody.bind(this),
|
|
3163
|
-
return u(Oo,
|
|
3163
|
+
const n = Ro(e, this.config.authOptions.clientId, this.config.authOptions.redirectUri, this.performanceClient), r = S.appendQueryString(t.tokenEndpoint, n), o = await u(this.createTokenRequestBody.bind(this), hh, this.logger, this.performanceClient, e.correlationId)(e), s = bo(this.logger, this.config.systemOptions.preventCorsPreflight, e.ccsCredential), a = Xt(this.config.authOptions.clientId, e);
|
|
3164
|
+
return u(Oo, oh, this.logger, this.performanceClient, e.correlationId)(r, o, s, a, e.correlationId, this.cacheManager, this.networkClient, this.logger, this.performanceClient, this.serverTelemetryManager);
|
|
3164
3165
|
}
|
|
3165
3166
|
/**
|
|
3166
3167
|
* Helper function to create the token request body
|
|
@@ -3169,7 +3170,7 @@ class Ph {
|
|
|
3169
3170
|
async createTokenRequestBody(e) {
|
|
3170
3171
|
var n, r;
|
|
3171
3172
|
const t = /* @__PURE__ */ new Map();
|
|
3172
|
-
if (Kn(t, e.embeddedClientId || ((n = e.extraParameters) == null ? void 0 : n[ve]) || this.config.authOptions.clientId), e.redirectUri && Fn(t, e.redirectUri), Hn(t, e.scopes, !0, (r = this.config.authOptions.authority.options.OIDCOptions) == null ? void 0 : r.defaultScopes), ho(t, Ki.REFRESH_TOKEN_GRANT), Vn(t), zn(t, this.config.libraryInfo), jn(t, this.config.telemetry.application), mo(t), this.serverTelemetryManager && !So(this.config) && fo(t, this.serverTelemetryManager),
|
|
3173
|
+
if (Kn(t, e.embeddedClientId || ((n = e.extraParameters) == null ? void 0 : n[ve]) || this.config.authOptions.clientId), e.redirectUri && Fn(t, e.redirectUri), Hn(t, e.scopes, !0, (r = this.config.authOptions.authority.options.OIDCOptions) == null ? void 0 : r.defaultScopes), ho(t, Ki.REFRESH_TOKEN_GRANT), Vn(t), zn(t, this.config.libraryInfo), jn(t, this.config.telemetry.application), mo(t), this.serverTelemetryManager && !So(this.config) && fo(t, this.serverTelemetryManager), vc(t, e.refreshToken), this.config.clientCredentials.clientSecret && so(t, this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion) {
|
|
3173
3174
|
const o = this.config.clientCredentials.clientAssertion;
|
|
3174
3175
|
ao(t, await _o(o.assertion, this.config.authOptions.clientId, e.resourceRequestUri)), co(t, o.assertionType);
|
|
3175
3176
|
}
|
|
@@ -3202,7 +3203,7 @@ class Ph {
|
|
|
3202
3203
|
}
|
|
3203
3204
|
}
|
|
3204
3205
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
3205
|
-
class
|
|
3206
|
+
class Mh {
|
|
3206
3207
|
constructor(e, t) {
|
|
3207
3208
|
this.config = Yn(e), this.logger = new Pe(this.config.loggerOptions, Jt, ut), this.cryptoUtils = this.config.cryptoInterface, this.cacheManager = this.config.storageInterface, this.networkClient = this.config.networkInterface, this.serverTelemetryManager = this.config.serverTelemetryManager, this.authority = this.config.authOptions.authority, this.performanceClient = t;
|
|
3208
3209
|
}
|
|
@@ -3216,9 +3217,9 @@ class Nh {
|
|
|
3216
3217
|
throw this.setCacheOutcome(ue.FORCE_REFRESH_OR_CLAIMS, e.correlationId), m(ye);
|
|
3217
3218
|
if (!e.account)
|
|
3218
3219
|
throw m(to);
|
|
3219
|
-
const n = e.account.tenantId ||
|
|
3220
|
+
const n = e.account.tenantId || Rh(e.authority), r = this.cacheManager.getTokenKeys(), o = this.cacheManager.getAccessToken(e.account, e, r, n);
|
|
3220
3221
|
if (o) {
|
|
3221
|
-
if (
|
|
3222
|
+
if (Yc(o.cachedAt) || Lt(o.expiresOn, this.config.systemOptions.tokenRenewalOffsetSeconds))
|
|
3222
3223
|
throw this.setCacheOutcome(ue.CACHED_ACCESS_TOKEN_EXPIRED, e.correlationId), m(ye);
|
|
3223
3224
|
if (e.resource) {
|
|
3224
3225
|
if (o.resource !== e.resource)
|
|
@@ -3233,7 +3234,7 @@ class Nh {
|
|
|
3233
3234
|
appMetadata: this.cacheManager.readAppMetadataFromCache(s, e.correlationId)
|
|
3234
3235
|
};
|
|
3235
3236
|
return this.setCacheOutcome(t, e.correlationId), this.config.serverTelemetryManager && this.config.serverTelemetryManager.incrementCacheHits(), [
|
|
3236
|
-
await u(this.generateResultFromCacheRecord.bind(this),
|
|
3237
|
+
await u(this.generateResultFromCacheRecord.bind(this), lh, this.logger, this.performanceClient, e.correlationId)(a, e),
|
|
3237
3238
|
t
|
|
3238
3239
|
];
|
|
3239
3240
|
}
|
|
@@ -3259,12 +3260,12 @@ class Nh {
|
|
|
3259
3260
|
}
|
|
3260
3261
|
}
|
|
3261
3262
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
3262
|
-
const
|
|
3263
|
+
const Uh = {
|
|
3263
3264
|
sendGetRequestAsync: () => Promise.reject(m(T)),
|
|
3264
3265
|
sendPostRequestAsync: () => Promise.reject(m(T))
|
|
3265
3266
|
};
|
|
3266
3267
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
3267
|
-
function
|
|
3268
|
+
function Dh(i, e, t, n) {
|
|
3268
3269
|
var a, c;
|
|
3269
3270
|
const r = e.correlationId, o = /* @__PURE__ */ new Map();
|
|
3270
3271
|
Kn(o, e.embeddedClientId || ((a = e.extraQueryParameters) == null ? void 0 : a[ve]) || i.clientId);
|
|
@@ -3272,12 +3273,12 @@ function Uh(i, e, t, n) {
|
|
|
3272
3273
|
...e.scopes || [],
|
|
3273
3274
|
...e.extraScopesToConsent || []
|
|
3274
3275
|
];
|
|
3275
|
-
if (Hn(o, s, !0, (c = i.authority.options.OIDCOptions) == null ? void 0 : c.defaultScopes), po(o, e.resource), Fn(o, e.redirectUri), dt(o, r),
|
|
3276
|
+
if (Hn(o, s, !0, (c = i.authority.options.OIDCOptions) == null ? void 0 : c.defaultScopes), po(o, e.resource), Fn(o, e.redirectUri), dt(o, r), yc(o, e.responseMode), Vn(o), _c(o), e.prompt && (Ac(o, e.prompt), n == null || n.addFields({ prompt: e.prompt }, r)), e.domainHint && (Tc(o, e.domainHint), n == null || n.addFields({ domainHintFromRequest: !0 }, r)), e.prompt !== H.SELECT_ACCOUNT)
|
|
3276
3277
|
if (e.sid && e.prompt === H.NONE)
|
|
3277
3278
|
t.verbose("1tvqyx", e.correlationId), $r(o, e.sid), n == null || n.addFields({ sidFromRequest: !0 }, r);
|
|
3278
3279
|
else if (e.account) {
|
|
3279
|
-
const h =
|
|
3280
|
-
let l =
|
|
3280
|
+
const h = Hh(e.account);
|
|
3281
|
+
let l = Kh(e.account);
|
|
3281
3282
|
if (l && e.domainHint && (t.warning("0wkg3v", e.correlationId), l = null), l) {
|
|
3282
3283
|
t.verbose("1eyfsw", e.correlationId), Ct(o, l), n == null || n.addFields({ loginHintFromClaim: !0 }, r);
|
|
3283
3284
|
try {
|
|
@@ -3308,15 +3309,15 @@ function Uh(i, e, t, n) {
|
|
|
3308
3309
|
} else e.loginHint && (t.verbose("0g01ey", e.correlationId), Ct(o, e.loginHint), Ot(o, e.loginHint), n == null || n.addFields({ loginHintFromRequest: !0 }, r));
|
|
3309
3310
|
else
|
|
3310
3311
|
t.verbose("169k9v", e.correlationId);
|
|
3311
|
-
return e.nonce &&
|
|
3312
|
+
return e.nonce && Ec(o, e.nonce), e.state && oo(o, e.state), e.embeddedClientId && $t(o, i.clientId, i.redirectUri), Bn(o, e.claims, i.clientCapabilities, e.skipBrokerClaims), i.instanceAware && (!e.extraQueryParameters || !Object.keys(e.extraQueryParameters).includes(wn)) && lo(o), o;
|
|
3312
3313
|
}
|
|
3313
3314
|
function er(i, e) {
|
|
3314
3315
|
const t = ot(e);
|
|
3315
3316
|
return S.appendQueryString(i.authorizationEndpoint, t);
|
|
3316
3317
|
}
|
|
3317
|
-
function
|
|
3318
|
+
function xh(i, e) {
|
|
3318
3319
|
if (tr(i, e), !i.code)
|
|
3319
|
-
throw m(
|
|
3320
|
+
throw m(uc);
|
|
3320
3321
|
return i;
|
|
3321
3322
|
}
|
|
3322
3323
|
function tr(i, e) {
|
|
@@ -3334,22 +3335,22 @@ function tr(i, e) {
|
|
|
3334
3335
|
throw m(it, i.state);
|
|
3335
3336
|
}
|
|
3336
3337
|
if (t !== n)
|
|
3337
|
-
throw m(
|
|
3338
|
+
throw m(rc);
|
|
3338
3339
|
if (i.error || i.error_description || i.suberror) {
|
|
3339
|
-
const r =
|
|
3340
|
+
const r = Lh(i);
|
|
3340
3341
|
throw Hi(i.error, i.error_description, i.suberror) ? new Te(i.error || "", i.error_description, i.suberror, i.timestamp || "", i.trace_id || "", i.correlation_id || "", i.claims || "", r) : new Ne(i.error || "", i.error_description, i.suberror, r);
|
|
3341
3342
|
}
|
|
3342
3343
|
}
|
|
3343
|
-
function
|
|
3344
|
+
function Lh(i) {
|
|
3344
3345
|
var n, r;
|
|
3345
3346
|
const e = "code=", t = (n = i.error_uri) == null ? void 0 : n.lastIndexOf(e);
|
|
3346
3347
|
return t && t >= 0 ? (r = i.error_uri) == null ? void 0 : r.substring(t + e.length) : void 0;
|
|
3347
3348
|
}
|
|
3348
|
-
function
|
|
3349
|
+
function Hh(i) {
|
|
3349
3350
|
var e;
|
|
3350
3351
|
return ((e = i.idTokenClaims) == null ? void 0 : e.sid) || null;
|
|
3351
3352
|
}
|
|
3352
|
-
function
|
|
3353
|
+
function Kh(i) {
|
|
3353
3354
|
var e;
|
|
3354
3355
|
return i.loginHint || ((e = i.idTokenClaims) == null ? void 0 : e.login_hint) || null;
|
|
3355
3356
|
}
|
|
@@ -3357,9 +3358,9 @@ function Hh(i) {
|
|
|
3357
3358
|
function Uo(i, e) {
|
|
3358
3359
|
if (i) {
|
|
3359
3360
|
if (e.resource && (oi(e.extraParameters) || oi(e.extraQueryParameters)))
|
|
3360
|
-
throw m(
|
|
3361
|
+
throw m(pc);
|
|
3361
3362
|
if (!e.resource)
|
|
3362
|
-
throw m(
|
|
3363
|
+
throw m(mc);
|
|
3363
3364
|
}
|
|
3364
3365
|
}
|
|
3365
3366
|
function oi(i) {
|
|
@@ -3369,7 +3370,7 @@ function oi(i) {
|
|
|
3369
3370
|
const En = "unexpected_error";
|
|
3370
3371
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
3371
3372
|
const si = ",", Do = "|";
|
|
3372
|
-
function
|
|
3373
|
+
function Fh(i) {
|
|
3373
3374
|
const { skus: e, libraryName: t, libraryVersion: n, extensionName: r, extensionVersion: o } = i, s = /* @__PURE__ */ new Map([
|
|
3374
3375
|
[0, [t, n]],
|
|
3375
3376
|
[2, [r, o]]
|
|
@@ -3382,7 +3383,7 @@ function Kh(i) {
|
|
|
3382
3383
|
a = Array.from({ length: 4 }, () => Do);
|
|
3383
3384
|
return s.forEach((c, h) => {
|
|
3384
3385
|
var l, d;
|
|
3385
|
-
c.length === 2 && ((l = c[0]) != null && l.length) && ((d = c[1]) != null && d.length) &&
|
|
3386
|
+
c.length === 2 && ((l = c[0]) != null && l.length) && ((d = c[1]) != null && d.length) && Bh({
|
|
3386
3387
|
skuArr: a,
|
|
3387
3388
|
index: h,
|
|
3388
3389
|
skuName: c[0],
|
|
@@ -3390,7 +3391,7 @@ function Kh(i) {
|
|
|
3390
3391
|
});
|
|
3391
3392
|
}), a.join(si);
|
|
3392
3393
|
}
|
|
3393
|
-
function
|
|
3394
|
+
function Bh(i) {
|
|
3394
3395
|
const { skuArr: e, index: t, skuName: n, skuVersion: r } = i;
|
|
3395
3396
|
t >= e.length || (e[t] = [n, r].join(Do));
|
|
3396
3397
|
}
|
|
@@ -3418,7 +3419,7 @@ class st {
|
|
|
3418
3419
|
* API to add MSER Telemetry for the last failed request
|
|
3419
3420
|
*/
|
|
3420
3421
|
generateLastRequestHeaderValue() {
|
|
3421
|
-
const e = this.getLastRequests(), t = st.maxErrorsToSend(e), n = e.failedRequests.slice(0, 2 * t).join(Ue), r = e.errors.slice(0, t).join(Ue), o = e.errors.length, s = t < o ?
|
|
3422
|
+
const e = this.getLastRequests(), t = st.maxErrorsToSend(e), n = e.failedRequests.slice(0, 2 * t).join(Ue), r = e.errors.slice(0, t).join(Ue), o = e.errors.length, s = t < o ? zs : js, a = [o, s].join(Ue);
|
|
3422
3423
|
return [
|
|
3423
3424
|
Dr,
|
|
3424
3425
|
e.cacheHits,
|
|
@@ -3433,7 +3434,7 @@ class st {
|
|
|
3433
3434
|
*/
|
|
3434
3435
|
cacheFailedRequest(e) {
|
|
3435
3436
|
const t = this.getLastRequests();
|
|
3436
|
-
t.errors.length >=
|
|
3437
|
+
t.errors.length >= Ks && (t.failedRequests.shift(), t.failedRequests.shift(), t.errors.shift()), t.failedRequests.push(this.apiId, this.correlationId), e instanceof Error && e && e.toString() ? e instanceof R ? e.subError ? t.errors.push(e.subError) : e.errorCode ? t.errors.push(e.errorCode) : t.errors.push(e.toString()) : t.errors.push(e.toString()) : t.errors.push(Fs), this.cacheManager.setServerTelemetry(this.telemetryCacheKey, t, this.correlationId);
|
|
3437
3438
|
}
|
|
3438
3439
|
/**
|
|
3439
3440
|
* Update server telemetry cache entry by incrementing cache hit counter
|
|
@@ -3478,7 +3479,7 @@ class st {
|
|
|
3478
3479
|
const o = e.errors.length;
|
|
3479
3480
|
for (t = 0; t < o; t++) {
|
|
3480
3481
|
const s = e.failedRequests[2 * t] || "", a = e.failedRequests[2 * t + 1] || "", c = e.errors[t] || "";
|
|
3481
|
-
if (r += s.toString().length + a.toString().length + c.length + 3, r <
|
|
3482
|
+
if (r += s.toString().length + a.toString().length + c.length + 3, r < Bs)
|
|
3482
3483
|
n += 1;
|
|
3483
3484
|
else
|
|
3484
3485
|
break;
|
|
@@ -3521,7 +3522,7 @@ class st {
|
|
|
3521
3522
|
delete e.nativeBrokerErrorCode, this.cacheManager.setServerTelemetry(this.telemetryCacheKey, e, this.correlationId);
|
|
3522
3523
|
}
|
|
3523
3524
|
static makeExtraSkuString(e) {
|
|
3524
|
-
return
|
|
3525
|
+
return Fh(e);
|
|
3525
3526
|
}
|
|
3526
3527
|
}
|
|
3527
3528
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
@@ -3534,7 +3535,7 @@ function ai(i) {
|
|
|
3534
3535
|
return new nr(i);
|
|
3535
3536
|
}
|
|
3536
3537
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
3537
|
-
const
|
|
3538
|
+
const zh = "missing_kid_error", jh = "missing_alg_error";
|
|
3538
3539
|
/*! @azure/msal-common v16.6.0 2026-05-07 */
|
|
3539
3540
|
class rr {
|
|
3540
3541
|
constructor(e) {
|
|
@@ -3550,12 +3551,12 @@ class rr {
|
|
|
3550
3551
|
*/
|
|
3551
3552
|
static getShrHeaderString(e) {
|
|
3552
3553
|
if (!e.kid)
|
|
3553
|
-
throw ai(Bh);
|
|
3554
|
-
if (!e.alg)
|
|
3555
3554
|
throw ai(zh);
|
|
3555
|
+
if (!e.alg)
|
|
3556
|
+
throw ai(jh);
|
|
3556
3557
|
const t = new rr({
|
|
3557
3558
|
// Access Token PoP headers must have type pop, but the type header can be overriden for special cases
|
|
3558
|
-
typ: e.typ ||
|
|
3559
|
+
typ: e.typ || Gs.Pop,
|
|
3559
3560
|
kid: e.kid,
|
|
3560
3561
|
alg: e.alg
|
|
3561
3562
|
});
|
|
@@ -3563,7 +3564,7 @@ class rr {
|
|
|
3563
3564
|
}
|
|
3564
3565
|
}
|
|
3565
3566
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
3566
|
-
const
|
|
3567
|
+
const Gh = "acquireTokenFromCache", Vh = "acquireTokenByRefreshToken", $h = "acquireTokenSilentAsync", Jh = "cryptoOptsGetPublicKeyThumbprint", Wh = "cryptoOptsSignJwt", Qh = "silentCacheClientAcquireToken", Yh = "silentIframeClientAcquireToken", Xh = "awaitConcurrentIframe", Zh = "silentRefreshClientAcquireToken", Se = "standardInteractionClientGetDiscoveredAuthority", ir = "nativeInteractionClientAcquireToken", qh = "nativeInteractionClientAcquireToken", el = "refreshTokenClientAcquireTokenByRefreshToken", ci = "acquireTokenBySilentIframe", or = "initializeBaseRequest", tl = "initializeSilentRequest", nl = "initializeCache", hi = "silentIframeClientTokenHelper", cn = "silentHandlerInitiateAuthRequest", Ht = "silentHandlerMonitorIframeForHash", rl = "silentHandlerLoadFrameSync", se = "standardInteractionClientCreateAuthCodeClient", en = "standardInteractionClientGetClientConfiguration", at = "standardInteractionClientInitializeAuthorizationRequest", il = "silentFlowClientAcquireCachedToken", ol = "getStandardParams", sl = "handleCodeResponse", sr = "handleResponseEar", xo = "handleResponsePlatformBroker", Fe = "handleResponseCode", al = "authClientAcquireToken", tt = "deserializeResponse", cl = "authorityFactoryCreateDiscoveredInstance", hl = "acquireTokenByCodeAsync", ll = "handleRedirectPromise", dl = "handleNativeRedirectPromise", ul = "nativeMessageHandlerHandshake", li = "removeHiddenIframe", gl = "importExistingCache", be = "generatePkceCodes", fl = "generateCodeVerifier", ml = "generateCodeChallengeFromVerifier", pl = "sha256Digest", yl = "getRandomValues", di = "generateHKDF", Cl = "generateBaseKey", wl = "base64Decode", Il = "urlEncodeArr", Tl = "encrypt", ui = "decrypt", ar = "generateEarKey", Al = "decryptEarResponse", El = "waitForBridgeLateResponse";
|
|
3567
3568
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
3568
3569
|
function It(i) {
|
|
3569
3570
|
return encodeURIComponent(ct(i).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_"));
|
|
@@ -3579,7 +3580,7 @@ function Lo(i) {
|
|
|
3579
3580
|
return btoa(e);
|
|
3580
3581
|
}
|
|
3581
3582
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
3582
|
-
const Ho = "pkce_not_created", Ko = "ear_jwk_empty",
|
|
3583
|
+
const Ho = "pkce_not_created", Ko = "ear_jwk_empty", Sl = "ear_jwe_empty", gi = "crypto_nonexistent", cr = "empty_navigate_uri", vl = "hash_empty_error", hr = "no_state_in_hash", kl = "hash_does_not_contain_known_properties", Fo = "unable_to_parse_state", _l = "state_interaction_type_mismatch", bl = "interaction_in_progress", Rl = "interaction_in_progress_cancelled", Ol = "popup_window_error", Pl = "empty_window_error", Sn = "user_cancelled", Nl = "redirect_bridge_empty_response", Ml = "redirect_in_iframe", Ul = "block_iframe_reload", Dl = "block_nested_popups", lr = "silent_logout_unsupported", xl = "no_account_error", Ll = "no_token_request_cache_error", Hl = "unable_to_parse_token_request_cache_error", Bo = "non_browser_environment", Ze = "database_not_open", vn = "no_network_connectivity", Kl = "post_request_failed", Fl = "get_request_failed", fi = "failed_to_parse_response", zo = "crypto_key_not_found", Bl = "auth_code_required", zl = "auth_code_or_nativeAccountId_required", jl = "spa_code_and_nativeAccountId_present", jo = "database_unavailable", Gl = "unable_to_acquire_token_from_native_platform", Vl = "native_handshake_timeout", $l = "native_extension_not_installed", Go = "native_connection_not_established", Et = "uninitialized_public_client_application", Jl = "native_prompt_not_supported", Wl = "invalid_base64_string", Ql = "invalid_pop_token_request", Yl = "failed_to_build_headers", Xl = "failed_to_parse_headers", hn = "failed_to_decrypt_ear_response", Kt = "timed_out", Zl = "empty_response";
|
|
3583
3584
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
3584
3585
|
function x(i) {
|
|
3585
3586
|
return new TextDecoder().decode(Ie(i));
|
|
@@ -3596,31 +3597,31 @@ function Ie(i) {
|
|
|
3596
3597
|
e += "=";
|
|
3597
3598
|
break;
|
|
3598
3599
|
default:
|
|
3599
|
-
throw p(
|
|
3600
|
+
throw p(Wl);
|
|
3600
3601
|
}
|
|
3601
3602
|
const t = atob(e);
|
|
3602
3603
|
return Uint8Array.from(t, (n) => n.codePointAt(0) || 0);
|
|
3603
3604
|
}
|
|
3604
3605
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
3605
|
-
const
|
|
3606
|
-
name:
|
|
3606
|
+
const ql = "RSASSA-PKCS1-v1_5", Je = "AES-GCM", Vo = "HKDF", dr = "SHA-256", ed = 2048, td = new Uint8Array([1, 0, 1]), mi = "0123456789abcdef", pi = new Uint32Array(1), ur = "raw", $o = "encrypt", gr = "decrypt", nd = "deriveKey", rd = "crypto_subtle_undefined", fr = {
|
|
3607
|
+
name: ql,
|
|
3607
3608
|
hash: dr,
|
|
3608
|
-
modulusLength:
|
|
3609
|
-
publicExponent:
|
|
3609
|
+
modulusLength: ed,
|
|
3610
|
+
publicExponent: td
|
|
3610
3611
|
};
|
|
3611
|
-
function
|
|
3612
|
+
function id(i) {
|
|
3612
3613
|
if (!window)
|
|
3613
3614
|
throw p(Bo);
|
|
3614
3615
|
if (!window.crypto)
|
|
3615
3616
|
throw p(gi);
|
|
3616
3617
|
if (!i && !window.crypto.subtle)
|
|
3617
|
-
throw p(gi,
|
|
3618
|
+
throw p(gi, rd);
|
|
3618
3619
|
}
|
|
3619
3620
|
async function Jo(i) {
|
|
3620
3621
|
const t = new TextEncoder().encode(i);
|
|
3621
3622
|
return window.crypto.subtle.digest(dr, t);
|
|
3622
3623
|
}
|
|
3623
|
-
function
|
|
3624
|
+
function od(i) {
|
|
3624
3625
|
return window.crypto.getRandomValues(i);
|
|
3625
3626
|
}
|
|
3626
3627
|
function ln() {
|
|
@@ -3634,16 +3635,16 @@ function Ee() {
|
|
|
3634
3635
|
s += mi.charAt(t[a] >>> 4), s += mi.charAt(t[a] & 15), (a === 3 || a === 5 || a === 7 || a === 9) && (s += "-");
|
|
3635
3636
|
return s;
|
|
3636
3637
|
}
|
|
3637
|
-
async function
|
|
3638
|
+
async function sd(i, e) {
|
|
3638
3639
|
return window.crypto.subtle.generateKey(fr, i, e);
|
|
3639
3640
|
}
|
|
3640
3641
|
async function dn(i) {
|
|
3641
3642
|
return window.crypto.subtle.exportKey(zi, i);
|
|
3642
3643
|
}
|
|
3643
|
-
async function
|
|
3644
|
+
async function ad(i, e, t) {
|
|
3644
3645
|
return window.crypto.subtle.importKey(zi, i, fr, e, t);
|
|
3645
3646
|
}
|
|
3646
|
-
async function
|
|
3647
|
+
async function cd(i, e) {
|
|
3647
3648
|
return window.crypto.subtle.sign(fr, i, e);
|
|
3648
3649
|
}
|
|
3649
3650
|
async function mr() {
|
|
@@ -3654,17 +3655,17 @@ async function mr() {
|
|
|
3654
3655
|
};
|
|
3655
3656
|
return ct(JSON.stringify(t));
|
|
3656
3657
|
}
|
|
3657
|
-
async function
|
|
3658
|
+
async function hd(i) {
|
|
3658
3659
|
const e = x(i), n = JSON.parse(e).k, r = Ie(n);
|
|
3659
3660
|
return window.crypto.subtle.importKey(ur, r, Je, !1, [
|
|
3660
3661
|
gr
|
|
3661
3662
|
]);
|
|
3662
3663
|
}
|
|
3663
|
-
async function
|
|
3664
|
+
async function ld(i, e) {
|
|
3664
3665
|
const t = e.split(".");
|
|
3665
3666
|
if (t.length !== 5)
|
|
3666
3667
|
throw p(hn, "jwe_length");
|
|
3667
|
-
const n = await
|
|
3668
|
+
const n = await hd(i).catch(() => {
|
|
3668
3669
|
throw p(hn, "import_key");
|
|
3669
3670
|
});
|
|
3670
3671
|
try {
|
|
@@ -3690,7 +3691,7 @@ async function Wo() {
|
|
|
3690
3691
|
}
|
|
3691
3692
|
async function yi(i) {
|
|
3692
3693
|
return window.crypto.subtle.importKey(ur, i, Vo, !1, [
|
|
3693
|
-
|
|
3694
|
+
nd
|
|
3694
3695
|
]);
|
|
3695
3696
|
}
|
|
3696
3697
|
async function Qo(i, e, t) {
|
|
@@ -3701,7 +3702,7 @@ async function Qo(i, e, t) {
|
|
|
3701
3702
|
info: new TextEncoder().encode(t)
|
|
3702
3703
|
}, i, { name: Je, length: 256 }, !1, [$o, gr]);
|
|
3703
3704
|
}
|
|
3704
|
-
async function
|
|
3705
|
+
async function dd(i, e, t) {
|
|
3705
3706
|
const n = new TextEncoder().encode(e), r = window.crypto.getRandomValues(new Uint8Array(16)), o = await Qo(i, r, t), s = await window.crypto.subtle.encrypt({
|
|
3706
3707
|
name: Je,
|
|
3707
3708
|
iv: new Uint8Array(12)
|
|
@@ -3720,12 +3721,12 @@ async function Ci(i, e, t, n) {
|
|
|
3720
3721
|
}, o, r);
|
|
3721
3722
|
return new TextDecoder().decode(s);
|
|
3722
3723
|
}
|
|
3723
|
-
async function
|
|
3724
|
+
async function ud(i) {
|
|
3724
3725
|
const e = await Jo(i), t = new Uint8Array(e);
|
|
3725
3726
|
return Ae(t);
|
|
3726
3727
|
}
|
|
3727
3728
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
3728
|
-
function
|
|
3729
|
+
function gd() {
|
|
3729
3730
|
const i = window.location.hash, e = window.location.search;
|
|
3730
3731
|
let t = !1, n = !1, r = "", o;
|
|
3731
3732
|
if (i && i.length > 1) {
|
|
@@ -3741,7 +3742,7 @@ function ud() {
|
|
|
3741
3742
|
r = `${l}${d}`, o = new URLSearchParams(r);
|
|
3742
3743
|
}
|
|
3743
3744
|
if (!r || !o)
|
|
3744
|
-
throw p(
|
|
3745
|
+
throw p(Zl);
|
|
3745
3746
|
const s = o.get("state");
|
|
3746
3747
|
if (!s)
|
|
3747
3748
|
throw p(hr);
|
|
@@ -3764,26 +3765,26 @@ function ud() {
|
|
|
3764
3765
|
function Yo(i) {
|
|
3765
3766
|
i.location.hash = "", typeof i.history.replaceState == "function" && i.history.replaceState(null, "", `${i.location.origin}${i.location.pathname}${i.location.search}`);
|
|
3766
3767
|
}
|
|
3767
|
-
function
|
|
3768
|
+
function fd(i) {
|
|
3768
3769
|
const e = i.split("#");
|
|
3769
3770
|
e.shift(), window.location.hash = e.length > 0 ? e.join("#") : "";
|
|
3770
3771
|
}
|
|
3771
3772
|
function tn() {
|
|
3772
3773
|
return window.parent !== window;
|
|
3773
3774
|
}
|
|
3774
|
-
function
|
|
3775
|
+
function md() {
|
|
3775
3776
|
if (tn())
|
|
3776
3777
|
return !1;
|
|
3777
3778
|
try {
|
|
3778
|
-
const { libraryState: i } =
|
|
3779
|
+
const { libraryState: i } = gd(), { meta: e } = i;
|
|
3779
3780
|
return e.interactionType === C.Popup;
|
|
3780
3781
|
} catch {
|
|
3781
3782
|
return !1;
|
|
3782
3783
|
}
|
|
3783
3784
|
}
|
|
3784
3785
|
let pe = null;
|
|
3785
|
-
function
|
|
3786
|
-
pe && (i.verbose("18y01k", e), clearTimeout(pe.timeoutId), pe.channel.close(), pe.reject(p(
|
|
3786
|
+
function pd(i, e) {
|
|
3787
|
+
pe && (i.verbose("18y01k", e), clearTimeout(pe.timeoutId), pe.channel.close(), pe.reject(p(Rl)), pe = null);
|
|
3787
3788
|
}
|
|
3788
3789
|
async function xe(i, e, t, n, r, o) {
|
|
3789
3790
|
return new Promise((s, a) => {
|
|
@@ -3796,7 +3797,7 @@ async function xe(i, e, t, n, r, o) {
|
|
|
3796
3797
|
const { libraryState: h } = ft(t.base64Decode, n.state || ""), l = new BroadcastChannel(h.id);
|
|
3797
3798
|
let d, g = !1, f, y;
|
|
3798
3799
|
const A = window.setTimeout(() => {
|
|
3799
|
-
pe = null, o != null && o.iframeTimeoutTelemetry ? (y = r.startMeasurement(
|
|
3800
|
+
pe = null, o != null && o.iframeTimeoutTelemetry ? (y = r.startMeasurement(El, c), g = !0, f = window.setTimeout(() => {
|
|
3800
3801
|
y == null || y.end({ success: !1 }), clearTimeout(f), l.close();
|
|
3801
3802
|
}, 6e4)) : l.close(), a(p(Kt, "redirect_bridge_timeout"));
|
|
3802
3803
|
}, i);
|
|
@@ -3815,28 +3816,28 @@ async function xe(i, e, t, n, r, o) {
|
|
|
3815
3816
|
}
|
|
3816
3817
|
r.addFields({
|
|
3817
3818
|
redirectBridgeMessageVersion: O
|
|
3818
|
-
}, c), pe = null, clearTimeout(A), l.close(), d ? s(d) : a(p(
|
|
3819
|
+
}, c), pe = null, clearTimeout(A), l.close(), d ? s(d) : a(p(Nl));
|
|
3819
3820
|
};
|
|
3820
3821
|
});
|
|
3821
3822
|
}
|
|
3822
3823
|
function Ce() {
|
|
3823
3824
|
return typeof window < "u" && window.location ? window.location.href.split("?")[0].split("#")[0] : "";
|
|
3824
3825
|
}
|
|
3825
|
-
function
|
|
3826
|
+
function yd() {
|
|
3826
3827
|
const e = new S(window.location.href).getUrlComponents();
|
|
3827
3828
|
return `${e.Protocol}//${e.HostNameAndPort}/`;
|
|
3828
3829
|
}
|
|
3829
|
-
function
|
|
3830
|
+
function Cd() {
|
|
3830
3831
|
if (Pt(window.location.hash) && tn())
|
|
3831
|
-
throw p(
|
|
3832
|
+
throw p(Ul);
|
|
3832
3833
|
}
|
|
3833
|
-
function
|
|
3834
|
+
function wd(i) {
|
|
3834
3835
|
if (tn() && !i)
|
|
3835
|
-
throw p(
|
|
3836
|
+
throw p(Ml);
|
|
3836
3837
|
}
|
|
3837
|
-
function
|
|
3838
|
-
if (
|
|
3839
|
-
throw p(
|
|
3838
|
+
function Id() {
|
|
3839
|
+
if (md())
|
|
3840
|
+
throw p(Dl);
|
|
3840
3841
|
}
|
|
3841
3842
|
function Xo() {
|
|
3842
3843
|
if (typeof window > "u")
|
|
@@ -3847,11 +3848,11 @@ function Zo(i) {
|
|
|
3847
3848
|
throw p(Et);
|
|
3848
3849
|
}
|
|
3849
3850
|
function pr(i) {
|
|
3850
|
-
Xo(),
|
|
3851
|
+
Xo(), Cd(), Id(), Zo(i);
|
|
3851
3852
|
}
|
|
3852
3853
|
function wi(i, e) {
|
|
3853
|
-
if (pr(i),
|
|
3854
|
-
throw Pn(
|
|
3854
|
+
if (pr(i), wd(e.system.allowRedirectInIframe), e.cache.cacheLocation === X.MemoryStorage)
|
|
3855
|
+
throw Pn(Vs);
|
|
3855
3856
|
}
|
|
3856
3857
|
function qo(i) {
|
|
3857
3858
|
const e = document.createElement("link");
|
|
@@ -3866,9 +3867,9 @@ function kn() {
|
|
|
3866
3867
|
return Ee();
|
|
3867
3868
|
}
|
|
3868
3869
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
3869
|
-
class
|
|
3870
|
+
class Td {
|
|
3870
3871
|
constructor() {
|
|
3871
|
-
this.dbName = Lr, this.version =
|
|
3872
|
+
this.dbName = Lr, this.version = $s, this.tableName = Js, this.dbOpen = !1;
|
|
3872
3873
|
}
|
|
3873
3874
|
/**
|
|
3874
3875
|
* Opens IndexedDB instance.
|
|
@@ -4033,9 +4034,9 @@ class nn {
|
|
|
4033
4034
|
}
|
|
4034
4035
|
}
|
|
4035
4036
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
4036
|
-
class
|
|
4037
|
+
class Ad {
|
|
4037
4038
|
constructor(e) {
|
|
4038
|
-
this.inMemoryCache = new nn(), this.indexedDBCache = new
|
|
4039
|
+
this.inMemoryCache = new nn(), this.indexedDBCache = new Td(), this.logger = e;
|
|
4039
4040
|
}
|
|
4040
4041
|
handleDatabaseAccessError(e, t) {
|
|
4041
4042
|
if (e instanceof ji && e.errorCode === jo)
|
|
@@ -4142,7 +4143,7 @@ class Td {
|
|
|
4142
4143
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
4143
4144
|
class ce {
|
|
4144
4145
|
constructor(e, t, n) {
|
|
4145
|
-
this.logger = e,
|
|
4146
|
+
this.logger = e, id(n ?? !1), this.cache = new Ad(this.logger), this.performanceClient = t;
|
|
4146
4147
|
}
|
|
4147
4148
|
/**
|
|
4148
4149
|
* Creates a new random GUID - used to populate state and nonce.
|
|
@@ -4186,11 +4187,11 @@ class ce {
|
|
|
4186
4187
|
*/
|
|
4187
4188
|
async getPublicKeyThumbprint(e) {
|
|
4188
4189
|
var l;
|
|
4189
|
-
const t = (l = this.performanceClient) == null ? void 0 : l.startMeasurement(
|
|
4190
|
+
const t = (l = this.performanceClient) == null ? void 0 : l.startMeasurement(Jh, e.correlationId), n = await sd(ce.EXTRACTABLE, ce.POP_KEY_USAGES), r = await dn(n.publicKey), o = {
|
|
4190
4191
|
e: r.e,
|
|
4191
4192
|
kty: r.kty,
|
|
4192
4193
|
n: r.n
|
|
4193
|
-
}, s = Ii(o), a = await this.hashString(s), c = await dn(n.privateKey), h = await
|
|
4194
|
+
}, s = Ii(o), a = await this.hashString(s), c = await dn(n.privateKey), h = await ad(c, !1, ["sign"]);
|
|
4194
4195
|
return await this.cache.setItem(a, {
|
|
4195
4196
|
privateKey: h,
|
|
4196
4197
|
publicKey: n.publicKey,
|
|
@@ -4207,7 +4208,7 @@ class ce {
|
|
|
4207
4208
|
*/
|
|
4208
4209
|
async removeTokenBindingKey(e, t) {
|
|
4209
4210
|
if (await this.cache.removeItem(e, t), await this.cache.containsKey(e, t))
|
|
4210
|
-
throw m(
|
|
4211
|
+
throw m(gc);
|
|
4211
4212
|
}
|
|
4212
4213
|
/**
|
|
4213
4214
|
* Removes all cryptographic keys from IndexedDB storage
|
|
@@ -4228,7 +4229,7 @@ class ce {
|
|
|
4228
4229
|
*/
|
|
4229
4230
|
async signJwt(e, t, n, r) {
|
|
4230
4231
|
var _;
|
|
4231
|
-
const o = (_ = this.performanceClient) == null ? void 0 : _.startMeasurement(
|
|
4232
|
+
const o = (_ = this.performanceClient) == null ? void 0 : _.startMeasurement(Wh, r), s = await this.cache.getItem(t, r || "");
|
|
4232
4233
|
if (!s)
|
|
4233
4234
|
throw p(zo);
|
|
4234
4235
|
const a = await dn(s.publicKey), c = Ii(a), h = It(JSON.stringify({ kid: t })), l = rr.getShrHeaderString({
|
|
@@ -4239,7 +4240,7 @@ class ce {
|
|
|
4239
4240
|
e.cnf = {
|
|
4240
4241
|
jwk: JSON.parse(c)
|
|
4241
4242
|
};
|
|
4242
|
-
const g = It(JSON.stringify(e)), f = `${d}.${g}`, A = new TextEncoder().encode(f), I = await
|
|
4243
|
+
const g = It(JSON.stringify(e)), f = `${d}.${g}`, A = new TextEncoder().encode(f), I = await cd(s.privateKey, A), O = Ae(new Uint8Array(I)), b = `${f}.${O}`;
|
|
4243
4244
|
return o && o.end({
|
|
4244
4245
|
success: !0
|
|
4245
4246
|
}), b;
|
|
@@ -4249,7 +4250,7 @@ class ce {
|
|
|
4249
4250
|
* @param plainText
|
|
4250
4251
|
*/
|
|
4251
4252
|
async hashString(e) {
|
|
4252
|
-
return
|
|
4253
|
+
return ud(e);
|
|
4253
4254
|
}
|
|
4254
4255
|
}
|
|
4255
4256
|
ce.POP_KEY_USAGES = ["sign", "verify"];
|
|
@@ -4258,9 +4259,9 @@ function Ii(i) {
|
|
|
4258
4259
|
return JSON.stringify(i, Object.keys(i).sort());
|
|
4259
4260
|
}
|
|
4260
4261
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
4261
|
-
const
|
|
4262
|
+
const Ed = "acquireTokenSilent", Sd = "acquireTokenByCode", vd = "acquireTokenPopup", kd = "acquireTokenPreRedirect", un = "acquireTokenRedirect", _d = "ssoSilent", bd = "initializeClientApplication", Rd = "localStorageUpdated", Od = "ssoCapable";
|
|
4262
4263
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
4263
|
-
const N = "msal", rn = "browser", Ti = "|", U = 3, St = 3,
|
|
4264
|
+
const N = "msal", rn = "browser", Ti = "|", U = 3, St = 3, Pd = `${N}.${rn}.log.level`, Nd = `${N}.${rn}.log.pii`, Md = `${N}.${rn}.platform.auth.dom`, Ai = `${N}.version`, Ei = "account.keys", Si = "token.keys", vi = `${N}.${rn}.sso.capable`;
|
|
4264
4265
|
function Be(i = St) {
|
|
4265
4266
|
return i < 1 ? `${N}.${Ei}` : `${N}.${i}.${Ei}`;
|
|
4266
4267
|
}
|
|
@@ -4268,7 +4269,7 @@ function ze(i, e = U) {
|
|
|
4268
4269
|
return e < 1 ? `${N}.${Si}.${i}` : `${N}.${e}.${Si}.${i}`;
|
|
4269
4270
|
}
|
|
4270
4271
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
4271
|
-
const
|
|
4272
|
+
const Ud = 24 * 60 * 60 * 1e3, _n = {
|
|
4272
4273
|
Lax: "Lax",
|
|
4273
4274
|
None: "None"
|
|
4274
4275
|
};
|
|
@@ -4297,7 +4298,7 @@ class es {
|
|
|
4297
4298
|
setItem(e, t, n, r = !0, o = _n.Lax) {
|
|
4298
4299
|
let s = `${encodeURIComponent(e)}=${encodeURIComponent(t)};path=/;SameSite=${o};`;
|
|
4299
4300
|
if (n) {
|
|
4300
|
-
const a =
|
|
4301
|
+
const a = Dd(n);
|
|
4301
4302
|
s += `expires=${a};`;
|
|
4302
4303
|
}
|
|
4303
4304
|
(r || o === _n.None) && (s += "Secure;"), document.cookie = s;
|
|
@@ -4325,9 +4326,9 @@ class es {
|
|
|
4325
4326
|
return Promise.resolve(null);
|
|
4326
4327
|
}
|
|
4327
4328
|
}
|
|
4328
|
-
function
|
|
4329
|
+
function Dd(i) {
|
|
4329
4330
|
const e = /* @__PURE__ */ new Date();
|
|
4330
|
-
return new Date(e.getTime() + i *
|
|
4331
|
+
return new Date(e.getTime() + i * Ud).toUTCString();
|
|
4331
4332
|
}
|
|
4332
4333
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
4333
4334
|
function fe(i, e) {
|
|
@@ -4352,12 +4353,12 @@ function vt(i) {
|
|
|
4352
4353
|
return i.hasOwnProperty("id") && i.hasOwnProperty("nonce") && i.hasOwnProperty("data");
|
|
4353
4354
|
}
|
|
4354
4355
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
4355
|
-
const ki = "msal.cache.encryption",
|
|
4356
|
-
class
|
|
4356
|
+
const ki = "msal.cache.encryption", xd = "msal.broadcast.cache";
|
|
4357
|
+
class Ld {
|
|
4357
4358
|
constructor(e, t, n) {
|
|
4358
4359
|
if (!window.localStorage)
|
|
4359
4360
|
throw Pn(Gi);
|
|
4360
|
-
this.memoryStorage = new nn(), this.initialized = !1, this.clientId = e, this.logger = t, this.performanceClient = n, this.broadcast = new BroadcastChannel(
|
|
4361
|
+
this.memoryStorage = new nn(), this.initialized = !1, this.clientId = e, this.logger = t, this.performanceClient = n, this.broadcast = new BroadcastChannel(xd);
|
|
4361
4362
|
}
|
|
4362
4363
|
async initialize(e) {
|
|
4363
4364
|
const t = new es(), n = t.getItem(ki);
|
|
@@ -4368,13 +4369,13 @@ class xd {
|
|
|
4368
4369
|
} catch {
|
|
4369
4370
|
}
|
|
4370
4371
|
if (r.key && r.id) {
|
|
4371
|
-
const o = z(Ie,
|
|
4372
|
+
const o = z(Ie, wl, this.logger, this.performanceClient, e)(r.key);
|
|
4372
4373
|
this.encryptionCookie = {
|
|
4373
4374
|
id: r.id,
|
|
4374
4375
|
key: await u(yi, di, this.logger, this.performanceClient, e)(o)
|
|
4375
4376
|
};
|
|
4376
4377
|
} else {
|
|
4377
|
-
const o = Ee(), s = await u(Wo,
|
|
4378
|
+
const o = Ee(), s = await u(Wo, Cl, this.logger, this.performanceClient, e)(), a = z(Ae, Il, this.logger, this.performanceClient, e)(new Uint8Array(s));
|
|
4378
4379
|
this.encryptionCookie = {
|
|
4379
4380
|
id: o,
|
|
4380
4381
|
key: await u(yi, di, this.logger, this.performanceClient, e)(s)
|
|
@@ -4394,7 +4395,7 @@ class xd {
|
|
|
4394
4395
|
// SameSite must be None to support iframed apps
|
|
4395
4396
|
);
|
|
4396
4397
|
}
|
|
4397
|
-
await u(this.importExistingCache.bind(this),
|
|
4398
|
+
await u(this.importExistingCache.bind(this), gl, this.logger, this.performanceClient, e)(e), this.broadcast.addEventListener("message", (o) => {
|
|
4398
4399
|
this.updateCache(o, e);
|
|
4399
4400
|
}), this.initialized = !0;
|
|
4400
4401
|
}
|
|
@@ -4432,7 +4433,7 @@ class xd {
|
|
|
4432
4433
|
if (o)
|
|
4433
4434
|
this.setItem(e, t);
|
|
4434
4435
|
else {
|
|
4435
|
-
const { data: s, nonce: a } = await u(
|
|
4436
|
+
const { data: s, nonce: a } = await u(dd, Tl, this.logger, this.performanceClient, n)(this.encryptionCookie.key, t, this.getContext(e)), c = {
|
|
4436
4437
|
id: this.encryptionCookie.id,
|
|
4437
4438
|
nonce: a,
|
|
4438
4439
|
data: s,
|
|
@@ -4525,7 +4526,7 @@ class xd {
|
|
|
4525
4526
|
}
|
|
4526
4527
|
updateCache(e, t) {
|
|
4527
4528
|
this.logger.trace("17cxcm", t);
|
|
4528
|
-
const n = this.performanceClient.startMeasurement(
|
|
4529
|
+
const n = this.performanceClient.startMeasurement(Rd);
|
|
4529
4530
|
n.add({ isBackground: !0 });
|
|
4530
4531
|
const { key: r, value: o, context: s } = e.data;
|
|
4531
4532
|
if (!r) {
|
|
@@ -4543,7 +4544,7 @@ class xd {
|
|
|
4543
4544
|
}
|
|
4544
4545
|
}
|
|
4545
4546
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
4546
|
-
class
|
|
4547
|
+
class Hd {
|
|
4547
4548
|
constructor() {
|
|
4548
4549
|
if (!window.sessionStorage)
|
|
4549
4550
|
throw Pn(Gi);
|
|
@@ -4576,7 +4577,7 @@ class Ld {
|
|
|
4576
4577
|
}
|
|
4577
4578
|
}
|
|
4578
4579
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
4579
|
-
const
|
|
4580
|
+
const Kd = "@azure/msal-browser", Re = "5.10.0";
|
|
4580
4581
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
4581
4582
|
function de(i, e) {
|
|
4582
4583
|
const t = i.indexOf(e);
|
|
@@ -4888,7 +4889,7 @@ class bn extends An {
|
|
|
4888
4889
|
const s = new Array(U + 1).fill(0), a = [], c = 20;
|
|
4889
4890
|
for (let h = 0; h <= c; h++)
|
|
4890
4891
|
try {
|
|
4891
|
-
if (await u(this.browserStorage.setUserData.bind(this.browserStorage),
|
|
4892
|
+
if (await u(this.browserStorage.setUserData.bind(this.browserStorage), Ah, this.logger, this.performanceClient, n)(e, t, n, r, o), h > 0)
|
|
4892
4893
|
for (let l = 0; l <= U; l++) {
|
|
4893
4894
|
const d = s.slice(0, l).reduce((f, y) => f + y, 0);
|
|
4894
4895
|
if (d >= h)
|
|
@@ -4929,11 +4930,11 @@ class bn extends An {
|
|
|
4929
4930
|
if (!n)
|
|
4930
4931
|
return this.removeAccountKeyFromMap(e, t), null;
|
|
4931
4932
|
const r = this.validateAndParseJson(n);
|
|
4932
|
-
if (!r || !
|
|
4933
|
+
if (!r || !Kc(r))
|
|
4933
4934
|
return null;
|
|
4934
4935
|
const o = An.toObject({}, r);
|
|
4935
4936
|
return this.performanceClient.addFields({
|
|
4936
|
-
accountCachedBy:
|
|
4937
|
+
accountCachedBy: Ws(o.cachedByApiId)
|
|
4937
4938
|
}, t), o;
|
|
4938
4939
|
}
|
|
4939
4940
|
/**
|
|
@@ -5055,7 +5056,7 @@ class bn extends An {
|
|
|
5055
5056
|
if (!n)
|
|
5056
5057
|
return this.logger.trace("1jukz6", t), this.removeIdToken(e, t), null;
|
|
5057
5058
|
const r = this.validateAndParseJson(n);
|
|
5058
|
-
return !r || !
|
|
5059
|
+
return !r || !Zc(r) ? (this.logger.trace("1jukz6", t), null) : (this.logger.trace("01ju66", t), r);
|
|
5059
5060
|
}
|
|
5060
5061
|
/**
|
|
5061
5062
|
* set IdToken credential to the platform cache
|
|
@@ -5122,7 +5123,7 @@ class bn extends An {
|
|
|
5122
5123
|
if (!n)
|
|
5123
5124
|
return this.logger.trace("1q101h", t), null;
|
|
5124
5125
|
const r = this.validateAndParseJson(n);
|
|
5125
|
-
return !r || !
|
|
5126
|
+
return !r || !nh(e, r) ? (this.logger.trace("1q101h", t), null) : (this.logger.trace("19pvg2", t), r);
|
|
5126
5127
|
}
|
|
5127
5128
|
/**
|
|
5128
5129
|
* set appMetadata entity to the platform cache
|
|
@@ -5131,7 +5132,7 @@ class bn extends An {
|
|
|
5131
5132
|
*/
|
|
5132
5133
|
setAppMetadata(e, t) {
|
|
5133
5134
|
this.logger.trace("0cyma6", t);
|
|
5134
|
-
const n =
|
|
5135
|
+
const n = th(e);
|
|
5135
5136
|
this.setItem(n, JSON.stringify(e), t);
|
|
5136
5137
|
}
|
|
5137
5138
|
/**
|
|
@@ -5144,7 +5145,7 @@ class bn extends An {
|
|
|
5144
5145
|
if (!n)
|
|
5145
5146
|
return this.logger.trace("0jk19c", t), null;
|
|
5146
5147
|
const r = this.validateAndParseJson(n);
|
|
5147
|
-
return !r || !
|
|
5148
|
+
return !r || !qc(e, r) ? (this.logger.trace("0jk19c", t), null) : (this.logger.trace("12jguk", t), r);
|
|
5148
5149
|
}
|
|
5149
5150
|
/**
|
|
5150
5151
|
* set server telemetry entity to the platform cache
|
|
@@ -5162,7 +5163,7 @@ class bn extends An {
|
|
|
5162
5163
|
if (!n)
|
|
5163
5164
|
return this.logger.trace("1r39oe", t), null;
|
|
5164
5165
|
const r = this.validateAndParseJson(n);
|
|
5165
|
-
return r &&
|
|
5166
|
+
return r && rh(e, r) ? (this.logger.trace("1ohvk3", t), r) : null;
|
|
5166
5167
|
}
|
|
5167
5168
|
/**
|
|
5168
5169
|
*
|
|
@@ -5236,7 +5237,7 @@ class bn extends An {
|
|
|
5236
5237
|
if (!n)
|
|
5237
5238
|
return this.logger.trace("1h4wa6", t), null;
|
|
5238
5239
|
const r = this.validateAndParseJson(n);
|
|
5239
|
-
return !r || !
|
|
5240
|
+
return !r || !eh(e, r) ? (this.logger.trace("1h4wa6", t), null) : (this.logger.trace("0of6n8", t), r);
|
|
5240
5241
|
}
|
|
5241
5242
|
/**
|
|
5242
5243
|
* set throttling entity to the platform cache
|
|
@@ -5360,13 +5361,13 @@ class bn extends An {
|
|
|
5360
5361
|
this.logger.trace("0uen20", e);
|
|
5361
5362
|
const t = this.getTemporaryCache(P.REQUEST_PARAMS, e, !0);
|
|
5362
5363
|
if (!t)
|
|
5363
|
-
throw p(
|
|
5364
|
+
throw p(Ll);
|
|
5364
5365
|
const n = this.getTemporaryCache(P.VERIFIER, e, !0);
|
|
5365
5366
|
let r, o = "";
|
|
5366
5367
|
try {
|
|
5367
5368
|
r = JSON.parse(x(t)), n && (o = x(n));
|
|
5368
5369
|
} catch {
|
|
5369
|
-
throw this.logger.errorPii("0ewsey", e), this.logger.error("0tvdic", e), p(
|
|
5370
|
+
throw this.logger.errorPii("0ewsey", e), this.logger.error("0tvdic", e), p(Hl);
|
|
5370
5371
|
}
|
|
5371
5372
|
return [r, o];
|
|
5372
5373
|
}
|
|
@@ -5401,9 +5402,9 @@ class bn extends An {
|
|
|
5401
5402
|
if (e) {
|
|
5402
5403
|
if (this.getInteractionInProgress())
|
|
5403
5404
|
if (n)
|
|
5404
|
-
this.logger.warning("1pmscr", r),
|
|
5405
|
+
this.logger.warning("1pmscr", r), pd(this.logger, r), this.removeTemporaryItem(o);
|
|
5405
5406
|
else
|
|
5406
|
-
throw p(
|
|
5407
|
+
throw p(bl);
|
|
5407
5408
|
this.setTemporaryCache(o, JSON.stringify({ clientId: this.clientId, type: t }), !1);
|
|
5408
5409
|
} else !e && ((s = this.getInteractionInProgress()) == null ? void 0 : s.clientId) === this.clientId && this.removeTemporaryItem(o);
|
|
5409
5410
|
}
|
|
@@ -5466,9 +5467,9 @@ function _i(i, e, t, n) {
|
|
|
5466
5467
|
try {
|
|
5467
5468
|
switch (e) {
|
|
5468
5469
|
case X.LocalStorage:
|
|
5469
|
-
return new
|
|
5470
|
+
return new Ld(i, t, n);
|
|
5470
5471
|
case X.SessionStorage:
|
|
5471
|
-
return new
|
|
5472
|
+
return new Hd();
|
|
5472
5473
|
case X.MemoryStorage:
|
|
5473
5474
|
default:
|
|
5474
5475
|
break;
|
|
@@ -5478,7 +5479,7 @@ function _i(i, e, t, n) {
|
|
|
5478
5479
|
}
|
|
5479
5480
|
return new nn();
|
|
5480
5481
|
}
|
|
5481
|
-
const
|
|
5482
|
+
const Fd = (i, e, t, n) => {
|
|
5482
5483
|
const r = {
|
|
5483
5484
|
cacheLocation: X.MemoryStorage,
|
|
5484
5485
|
cacheRetentionDays: 5
|
|
@@ -5486,25 +5487,25 @@ const Kd = (i, e, t, n) => {
|
|
|
5486
5487
|
return new bn(i, r, Nt, e, t, n);
|
|
5487
5488
|
};
|
|
5488
5489
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
5489
|
-
function
|
|
5490
|
+
function Bd(i, e, t, n, r) {
|
|
5490
5491
|
return i.verbose("1yd030", n), t ? e.getAllAccounts(r, n) : [];
|
|
5491
5492
|
}
|
|
5492
|
-
function
|
|
5493
|
+
function zd(i, e, t, n) {
|
|
5493
5494
|
e.trace("0u7b90", n);
|
|
5494
5495
|
const r = t.getAccountInfoFilteredBy(i, n);
|
|
5495
5496
|
return r ? (e.verbose("0btgll", n), r) : (e.verbose("0ltaj5", n), null);
|
|
5496
5497
|
}
|
|
5497
|
-
function
|
|
5498
|
+
function jd(i, e, t) {
|
|
5498
5499
|
e.setActiveAccount(i, t);
|
|
5499
5500
|
}
|
|
5500
|
-
function
|
|
5501
|
+
function Gd(i, e) {
|
|
5501
5502
|
return i.getActiveAccount(e);
|
|
5502
5503
|
}
|
|
5503
5504
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
5504
|
-
const
|
|
5505
|
-
class
|
|
5505
|
+
const Vd = "msal.broadcast.event";
|
|
5506
|
+
class $d {
|
|
5506
5507
|
constructor(e) {
|
|
5507
|
-
this.eventCallbacks = /* @__PURE__ */ new Map(), this.logger = e || new Pe({}), typeof BroadcastChannel < "u" && (this.broadcastChannel = new BroadcastChannel(
|
|
5508
|
+
this.eventCallbacks = /* @__PURE__ */ new Map(), this.logger = e || new Pe({}), typeof BroadcastChannel < "u" && (this.broadcastChannel = new BroadcastChannel(Vd)), this.invokeCrossTabCallbacks = this.invokeCrossTabCallbacks.bind(this);
|
|
5508
5509
|
}
|
|
5509
5510
|
/**
|
|
5510
5511
|
* Adds event callbacks to array
|
|
@@ -5613,9 +5614,9 @@ async function ae(i, e, t, n, r, o, s, a, c) {
|
|
|
5613
5614
|
knownAuthorities: i.auth.knownAuthorities,
|
|
5614
5615
|
cloudDiscoveryMetadata: i.auth.cloudDiscoveryMetadata,
|
|
5615
5616
|
authorityMetadata: i.auth.authorityMetadata
|
|
5616
|
-
}, d = o || i.auth.authority, g = h != null && h.length ? h === "true" : i.auth.instanceAware, f = c && g ? i.auth.authority.replace(S.getDomainFromUrl(d), c.environment) : d, y = F.generateAuthority(f, s || i.auth.azureCloudOptions), A = await u(No,
|
|
5617
|
+
}, d = o || i.auth.authority, g = h != null && h.length ? h === "true" : i.auth.instanceAware, f = c && g ? i.auth.authority.replace(S.getDomainFromUrl(d), c.environment) : d, y = F.generateAuthority(f, s || i.auth.azureCloudOptions), A = await u(No, cl, r, t, e)(y, i.system.networkClient, n, l, r, e, t);
|
|
5617
5618
|
if (c && !A.isAlias(c.environment))
|
|
5618
|
-
throw k(
|
|
5619
|
+
throw k(Ya);
|
|
5619
5620
|
return A;
|
|
5620
5621
|
}
|
|
5621
5622
|
async function yr(i, e, t, n, r) {
|
|
@@ -5647,13 +5648,13 @@ async function Cr(i, e, t, n, r) {
|
|
|
5647
5648
|
if (!i.sshJwk)
|
|
5648
5649
|
throw k(xn);
|
|
5649
5650
|
if (!i.sshKid)
|
|
5650
|
-
throw k(
|
|
5651
|
+
throw k(Ja);
|
|
5651
5652
|
}
|
|
5652
5653
|
n.verbose("1ecmns", r);
|
|
5653
5654
|
}
|
|
5654
5655
|
return a;
|
|
5655
5656
|
}
|
|
5656
|
-
async function
|
|
5657
|
+
async function Jd(i, e, t, n, r) {
|
|
5657
5658
|
const o = await u(Cr, or, r, n, i.correlationId)(i, t, n, r, i.correlationId);
|
|
5658
5659
|
return {
|
|
5659
5660
|
...i,
|
|
@@ -5667,7 +5668,7 @@ function ns(i, e) {
|
|
|
5667
5668
|
const n = i.httpMethod;
|
|
5668
5669
|
if (e === B.EAR) {
|
|
5669
5670
|
if (n && n !== Le.POST)
|
|
5670
|
-
throw k(
|
|
5671
|
+
throw k(Xa);
|
|
5671
5672
|
t = Le.POST;
|
|
5672
5673
|
} else
|
|
5673
5674
|
t = n || Le.GET;
|
|
@@ -5791,7 +5792,7 @@ async function ht(i, e, t, n, r, o, s, a) {
|
|
|
5791
5792
|
return y && (o.verbose("1eqlb3", a), o.verbosePii("0tf99t", a), f.account = y), f;
|
|
5792
5793
|
}
|
|
5793
5794
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
5794
|
-
function
|
|
5795
|
+
function Wd(i, e) {
|
|
5795
5796
|
if (!e)
|
|
5796
5797
|
return null;
|
|
5797
5798
|
try {
|
|
@@ -5804,17 +5805,17 @@ function Jd(i, e) {
|
|
|
5804
5805
|
function nt(i, e, t, n) {
|
|
5805
5806
|
const r = Pt(i);
|
|
5806
5807
|
if (!r)
|
|
5807
|
-
throw yo(i) ? (t.error("13pl0s", n), t.errorPii("1097vx", n), p(
|
|
5808
|
+
throw yo(i) ? (t.error("13pl0s", n), t.errorPii("1097vx", n), p(kl)) : (t.error("18h0l1", n), p(vl));
|
|
5808
5809
|
return r;
|
|
5809
5810
|
}
|
|
5810
|
-
function
|
|
5811
|
+
function Qd(i, e, t) {
|
|
5811
5812
|
if (!i.state)
|
|
5812
5813
|
throw p(hr);
|
|
5813
|
-
const n =
|
|
5814
|
+
const n = Wd(e, i.state);
|
|
5814
5815
|
if (!n)
|
|
5815
5816
|
throw p(Fo);
|
|
5816
5817
|
if (n.interactionType !== t)
|
|
5817
|
-
throw p(
|
|
5818
|
+
throw p(_l);
|
|
5818
5819
|
}
|
|
5819
5820
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
5820
5821
|
class rs {
|
|
@@ -5828,7 +5829,7 @@ class rs {
|
|
|
5828
5829
|
async handleCodeResponse(e, t, n) {
|
|
5829
5830
|
let r;
|
|
5830
5831
|
try {
|
|
5831
|
-
r =
|
|
5832
|
+
r = xh(e, t.state);
|
|
5832
5833
|
} catch (o) {
|
|
5833
5834
|
throw o instanceof Ne && o.subError === Sn ? p(Sn) : o;
|
|
5834
5835
|
}
|
|
@@ -5848,7 +5849,7 @@ class rs {
|
|
|
5848
5849
|
const s = this.createCcsCredentials(t);
|
|
5849
5850
|
s && (this.authCodeRequest.ccsCredential = s);
|
|
5850
5851
|
}
|
|
5851
|
-
return await u(this.authModule.acquireToken.bind(this.authModule),
|
|
5852
|
+
return await u(this.authModule.acquireToken.bind(this.authModule), al, this.logger, this.performanceClient, t.correlationId)(this.authCodeRequest, n, e);
|
|
5852
5853
|
}
|
|
5853
5854
|
/**
|
|
5854
5855
|
* Build ccs creds if available
|
|
@@ -5864,22 +5865,22 @@ class rs {
|
|
|
5864
5865
|
}
|
|
5865
5866
|
}
|
|
5866
5867
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
5867
|
-
const
|
|
5868
|
+
const Yd = "ContentError", Xd = "PageException", Zd = "user_switch";
|
|
5868
5869
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
5869
|
-
const
|
|
5870
|
+
const qd = "USER_INTERACTION_REQUIRED", eu = "USER_CANCEL", tu = "NO_NETWORK", nu = "DISABLED", ru = "ACCOUNT_UNAVAILABLE", iu = "UX_NOT_ALLOWED";
|
|
5870
5871
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
5871
|
-
const
|
|
5872
|
+
const ou = -2147186943;
|
|
5872
5873
|
class ne extends R {
|
|
5873
5874
|
constructor(e, t, n) {
|
|
5874
5875
|
super(e, t || Vi(e)), Object.setPrototypeOf(this, ne.prototype), this.name = "NativeAuthError", this.ext = n;
|
|
5875
5876
|
}
|
|
5876
5877
|
}
|
|
5877
5878
|
function De(i) {
|
|
5878
|
-
if (i.ext && i.ext.status && i.ext.status ===
|
|
5879
|
+
if (i.ext && i.ext.status && i.ext.status === nu || i.ext && i.ext.error && i.ext.error === ou)
|
|
5879
5880
|
return !0;
|
|
5880
5881
|
switch (i.errorCode) {
|
|
5881
|
-
case Qd:
|
|
5882
5882
|
case Yd:
|
|
5883
|
+
case Xd:
|
|
5883
5884
|
return !0;
|
|
5884
5885
|
default:
|
|
5885
5886
|
return !1;
|
|
@@ -5888,16 +5889,16 @@ function De(i) {
|
|
|
5888
5889
|
function Bt(i, e, t) {
|
|
5889
5890
|
if (t && t.status)
|
|
5890
5891
|
switch (t.status) {
|
|
5891
|
-
case
|
|
5892
|
-
return bt(
|
|
5893
|
-
case Zd:
|
|
5894
|
-
return new Te(i, e);
|
|
5892
|
+
case ru:
|
|
5893
|
+
return bt(Ys, Vi(i));
|
|
5895
5894
|
case qd:
|
|
5896
|
-
return
|
|
5895
|
+
return new Te(i, e);
|
|
5897
5896
|
case eu:
|
|
5897
|
+
return p(Sn);
|
|
5898
|
+
case tu:
|
|
5898
5899
|
return p(vn);
|
|
5899
|
-
case
|
|
5900
|
-
return bt(
|
|
5900
|
+
case iu:
|
|
5901
|
+
return bt(Qs);
|
|
5901
5902
|
}
|
|
5902
5903
|
return new ne(i, e, t);
|
|
5903
5904
|
}
|
|
@@ -5913,10 +5914,10 @@ class is extends We {
|
|
|
5913
5914
|
requestAuthority: e.authority,
|
|
5914
5915
|
requestAzureCloudOptions: e.azureCloudOptions,
|
|
5915
5916
|
account: e.account
|
|
5916
|
-
}), r = new
|
|
5917
|
+
}), r = new Mh(n, this.performanceClient);
|
|
5917
5918
|
this.logger.verbose("0wa871", this.correlationId);
|
|
5918
5919
|
try {
|
|
5919
|
-
const s = (await u(r.acquireCachedToken.bind(r),
|
|
5920
|
+
const s = (await u(r.acquireCachedToken.bind(r), il, this.logger, this.performanceClient, e.correlationId)(e))[0];
|
|
5920
5921
|
return this.performanceClient.addFields({
|
|
5921
5922
|
fromCache: !0
|
|
5922
5923
|
}, e.correlationId), s;
|
|
@@ -5954,7 +5955,7 @@ class kt extends ts {
|
|
|
5954
5955
|
addRequestSKUs(e) {
|
|
5955
5956
|
e.extraParameters = {
|
|
5956
5957
|
...e.extraParameters,
|
|
5957
|
-
[
|
|
5958
|
+
[Ua]: this.skus
|
|
5958
5959
|
};
|
|
5959
5960
|
}
|
|
5960
5961
|
/**
|
|
@@ -6114,7 +6115,7 @@ class kt extends ts {
|
|
|
6114
6115
|
if ((d = t.extraParameters) != null && d.child_client_id && e.account.id !== t.accountId)
|
|
6115
6116
|
this.logger.info("1ub1in", this.correlationId);
|
|
6116
6117
|
else if (o !== s && e.account.id !== t.accountId)
|
|
6117
|
-
throw Bt(
|
|
6118
|
+
throw Bt(Zd);
|
|
6118
6119
|
const a = await ae(this.config, this.correlationId, this.performanceClient, this.browserStorage, this.logger, t.authority), c = ko(
|
|
6119
6120
|
this.browserStorage,
|
|
6120
6121
|
a,
|
|
@@ -6322,7 +6323,7 @@ class kt extends ts {
|
|
|
6322
6323
|
keyId: e.popKid
|
|
6323
6324
|
};
|
|
6324
6325
|
if (h.signPopToken && e.popKid)
|
|
6325
|
-
throw p(
|
|
6326
|
+
throw p(Ql);
|
|
6326
6327
|
if (this.handleExtraBrokerParams(h), h.extraParameters = h.extraParameters || {}, h.extraParameters.telemetry = $.MATS_TELEMETRY, e.authenticationScheme === v.POP) {
|
|
6327
6328
|
const l = {
|
|
6328
6329
|
resourceRequestUri: e.resourceRequestUri,
|
|
@@ -6375,7 +6376,7 @@ class kt extends ts {
|
|
|
6375
6376
|
case H.LOGIN:
|
|
6376
6377
|
return this.logger.trace("0i0hco", this.correlationId), e;
|
|
6377
6378
|
default:
|
|
6378
|
-
throw this.logger.trace("0w3tpw", this.correlationId), p(
|
|
6379
|
+
throw this.logger.trace("0w3tpw", this.correlationId), p(Jl);
|
|
6379
6380
|
}
|
|
6380
6381
|
}
|
|
6381
6382
|
/**
|
|
@@ -6400,18 +6401,18 @@ class kt extends ts {
|
|
|
6400
6401
|
}
|
|
6401
6402
|
}
|
|
6402
6403
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
6403
|
-
const
|
|
6404
|
+
const su = /* @__PURE__ */ new Map([
|
|
6404
6405
|
["e", "AAD"],
|
|
6405
6406
|
["m", "MSA"]
|
|
6406
6407
|
]);
|
|
6407
|
-
function
|
|
6408
|
+
function au(i) {
|
|
6408
6409
|
var e, t, n, r, o;
|
|
6409
6410
|
if (!i)
|
|
6410
6411
|
return null;
|
|
6411
6412
|
try {
|
|
6412
6413
|
const c = (/%(?:[0-9A-Fa-f]{2})/.test(i) ? decodeURIComponent(i) : i).split("|");
|
|
6413
6414
|
return c.length < 5 ? null : {
|
|
6414
|
-
accountType:
|
|
6415
|
+
accountType: su.get(((e = c[0]) == null ? void 0 : e.trim()) || "") || "",
|
|
6415
6416
|
error: ((t = c[1]) == null ? void 0 : t.trim()) || "",
|
|
6416
6417
|
subError: ((n = c[2]) == null ? void 0 : n.trim()) || "",
|
|
6417
6418
|
cloudInstance: ((r = c[3]) == null ? void 0 : r.trim()) || "",
|
|
@@ -6422,17 +6423,17 @@ function su(i) {
|
|
|
6422
6423
|
}
|
|
6423
6424
|
}
|
|
6424
6425
|
function os(i, e, t) {
|
|
6425
|
-
const n =
|
|
6426
|
+
const n = au(i.clientdata);
|
|
6426
6427
|
n != null && n.accountType && t.addFields({ accountType: n.accountType }, e), n != null && n.error && t.addFields({ serverErrorNo: n.error }, e), n != null && n.subError && t.addFields({ serverSubErrorNo: n.subError }, e);
|
|
6427
6428
|
}
|
|
6428
6429
|
async function wr(i, e, t, n, r) {
|
|
6429
|
-
const o =
|
|
6430
|
+
const o = Dh({ ...i.auth, authority: e }, t, n, r);
|
|
6430
6431
|
if (zn(o, {
|
|
6431
6432
|
sku: V.MSAL_SKU,
|
|
6432
6433
|
version: Re,
|
|
6433
6434
|
os: "",
|
|
6434
6435
|
cpu: ""
|
|
6435
|
-
}), i.system.protocolMode !== B.OIDC && jn(o, i.telemetry.application), t.platformBroker && (
|
|
6436
|
+
}), i.system.protocolMode !== B.OIDC && jn(o, i.telemetry.application), t.platformBroker && (Cc(o), r.addFields({
|
|
6436
6437
|
isPlatformAuthorizeRequest: !0
|
|
6437
6438
|
}, t.correlationId), t.authenticationScheme === v.POP)) {
|
|
6438
6439
|
const s = new ce(n, r), a = new Ge(s, r);
|
|
@@ -6444,7 +6445,7 @@ async function wr(i, e, t, n, r) {
|
|
|
6444
6445
|
async function Ir(i, e, t, n, r) {
|
|
6445
6446
|
if (!t.codeChallenge)
|
|
6446
6447
|
throw k(Yi);
|
|
6447
|
-
const o = await u(wr,
|
|
6448
|
+
const o = await u(wr, ol, n, r, t.correlationId)(i, e, t, n, r);
|
|
6448
6449
|
return Ln(o, Mn.CODE), Gn(o, t.codeChallenge, Nn), ie(o, {
|
|
6449
6450
|
...t.extraQueryParameters,
|
|
6450
6451
|
...t.extraParameters
|
|
@@ -6454,7 +6455,7 @@ async function Tr(i, e, t, n, r, o) {
|
|
|
6454
6455
|
if (!n.earJwk)
|
|
6455
6456
|
throw p(Ko);
|
|
6456
6457
|
const s = await wr(e, t, n, r, o);
|
|
6457
|
-
Ln(s, Mn.IDTOKEN_TOKEN_REFRESHTOKEN),
|
|
6458
|
+
Ln(s, Mn.IDTOKEN_TOKEN_REFRESHTOKEN), Rc(s, n.earJwk), Gn(s, n.codeChallenge, Nn), ie(s, {
|
|
6458
6459
|
...n.extraParameters
|
|
6459
6460
|
});
|
|
6460
6461
|
const a = /* @__PURE__ */ new Map();
|
|
@@ -6498,14 +6499,14 @@ async function je(i, e, t, n, r, o, s, a, c, h, l, d) {
|
|
|
6498
6499
|
code: e.code || "",
|
|
6499
6500
|
codeVerifier: t
|
|
6500
6501
|
}, f = new rs(o, s, g, h, l);
|
|
6501
|
-
return await u(f.handleCodeResponse.bind(f),
|
|
6502
|
+
return await u(f.handleCodeResponse.bind(f), sl, h, l, i.correlationId)(e, i, n);
|
|
6502
6503
|
}
|
|
6503
6504
|
async function Er(i, e, t, n, r, o, s, a, c, h, l) {
|
|
6504
6505
|
if (te.removeThrottle(o, n.auth.clientId, i), os(e, i.correlationId, h), tr(e, i.state), !e.ear_jwe)
|
|
6505
|
-
throw p(
|
|
6506
|
+
throw p(Sl);
|
|
6506
6507
|
if (!i.earJwk)
|
|
6507
6508
|
throw p(Ko);
|
|
6508
|
-
const d = JSON.parse(await u(
|
|
6509
|
+
const d = JSON.parse(await u(ld, Al, c, h, i.correlationId)(i.earJwk, e.ear_jwe));
|
|
6509
6510
|
if (d.accountId)
|
|
6510
6511
|
return u(as, xo, c, h, i.correlationId)(i, d.accountId, t, n, o, s, a, c, h, l);
|
|
6511
6512
|
const g = new _e(n.auth.clientId, o, new ce(c, h), c, h, null, null);
|
|
@@ -6523,25 +6524,25 @@ async function Er(i, e, t, n, r, o, s, a, c, h, l) {
|
|
|
6523
6524
|
return await u(g.handleServerTokenResponse.bind(g), Zn, c, h, i.correlationId)(d, r, q(), i, t, f, void 0, void 0, void 0, void 0);
|
|
6524
6525
|
}
|
|
6525
6526
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
6526
|
-
const
|
|
6527
|
+
const cu = 32;
|
|
6527
6528
|
async function Oe(i, e, t) {
|
|
6528
|
-
const n = z(
|
|
6529
|
+
const n = z(hu, fl, e, i, t)(i, e, t), r = await u(lu, ml, e, i, t)(n, i, e, t);
|
|
6529
6530
|
return {
|
|
6530
6531
|
verifier: n,
|
|
6531
6532
|
challenge: r
|
|
6532
6533
|
};
|
|
6533
6534
|
}
|
|
6534
|
-
function
|
|
6535
|
+
function hu(i, e, t) {
|
|
6535
6536
|
try {
|
|
6536
|
-
const n = new Uint8Array(
|
|
6537
|
-
return z(
|
|
6537
|
+
const n = new Uint8Array(cu);
|
|
6538
|
+
return z(od, yl, e, i, t)(n), Ae(n);
|
|
6538
6539
|
} catch {
|
|
6539
6540
|
throw p(Ho);
|
|
6540
6541
|
}
|
|
6541
6542
|
}
|
|
6542
|
-
async function
|
|
6543
|
+
async function lu(i, e, t, n) {
|
|
6543
6544
|
try {
|
|
6544
|
-
const r = await u(Jo,
|
|
6545
|
+
const r = await u(Jo, pl, t, e, n)(i);
|
|
6545
6546
|
return Ae(new Uint8Array(r));
|
|
6546
6547
|
} catch {
|
|
6547
6548
|
throw p(Ho);
|
|
@@ -6579,7 +6580,7 @@ class zt {
|
|
|
6579
6580
|
}
|
|
6580
6581
|
}
|
|
6581
6582
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
6582
|
-
class
|
|
6583
|
+
class du {
|
|
6583
6584
|
/**
|
|
6584
6585
|
* Fetch Client for REST endpoints - Get request
|
|
6585
6586
|
* @param url
|
|
@@ -6595,7 +6596,7 @@ class lu {
|
|
|
6595
6596
|
headers: s
|
|
6596
6597
|
});
|
|
6597
6598
|
} catch (a) {
|
|
6598
|
-
throw qe(p(window.navigator.onLine ?
|
|
6599
|
+
throw qe(p(window.navigator.onLine ? Fl : vn), void 0, void 0, a);
|
|
6599
6600
|
}
|
|
6600
6601
|
r = Ri(n.headers);
|
|
6601
6602
|
try {
|
|
@@ -6624,7 +6625,7 @@ class lu {
|
|
|
6624
6625
|
body: n
|
|
6625
6626
|
});
|
|
6626
6627
|
} catch (c) {
|
|
6627
|
-
throw qe(p(window.navigator.onLine ?
|
|
6628
|
+
throw qe(p(window.navigator.onLine ? Kl : vn), void 0, void 0, c);
|
|
6628
6629
|
}
|
|
6629
6630
|
a = Ri(o.headers);
|
|
6630
6631
|
try {
|
|
@@ -6648,7 +6649,7 @@ function bi(i) {
|
|
|
6648
6649
|
e.append(n, r);
|
|
6649
6650
|
}), e;
|
|
6650
6651
|
} catch (e) {
|
|
6651
|
-
throw qe(p(
|
|
6652
|
+
throw qe(p(Yl), void 0, void 0, e);
|
|
6652
6653
|
}
|
|
6653
6654
|
}
|
|
6654
6655
|
function Ri(i) {
|
|
@@ -6658,15 +6659,15 @@ function Ri(i) {
|
|
|
6658
6659
|
e[n] = t;
|
|
6659
6660
|
}), e;
|
|
6660
6661
|
} catch {
|
|
6661
|
-
throw p(
|
|
6662
|
+
throw p(Xl);
|
|
6662
6663
|
}
|
|
6663
6664
|
}
|
|
6664
6665
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
6665
|
-
const
|
|
6666
|
-
function
|
|
6666
|
+
const uu = 6e4, gu = 1e4, fu = 3e4, cs = 2e3;
|
|
6667
|
+
function mu({ auth: i, cache: e, system: t, experimental: n, telemetry: r }, o) {
|
|
6667
6668
|
const s = {
|
|
6668
6669
|
clientId: "",
|
|
6669
|
-
authority: `${
|
|
6670
|
+
authority: `${Xs}`,
|
|
6670
6671
|
knownAuthorities: [],
|
|
6671
6672
|
cloudDiscoveryMetadata: "",
|
|
6672
6673
|
authorityMetadata: "",
|
|
@@ -6676,8 +6677,8 @@ function fu({ auth: i, cache: e, system: t, experimental: n, telemetry: r }, o)
|
|
|
6676
6677
|
OIDCOptions: {
|
|
6677
6678
|
responseMode: Rn.FRAGMENT,
|
|
6678
6679
|
defaultScopes: [
|
|
6679
|
-
Xs,
|
|
6680
6680
|
Zs,
|
|
6681
|
+
qs,
|
|
6681
6682
|
Pi
|
|
6682
6683
|
]
|
|
6683
6684
|
},
|
|
@@ -6701,11 +6702,11 @@ function fu({ auth: i, cache: e, system: t, experimental: n, telemetry: r }, o)
|
|
|
6701
6702
|
...{
|
|
6702
6703
|
...Eo,
|
|
6703
6704
|
loggerOptions: c,
|
|
6704
|
-
networkClient: o ? new
|
|
6705
|
+
networkClient: o ? new du() : Uh,
|
|
6705
6706
|
navigationClient: new zt(),
|
|
6706
|
-
popupBridgeTimeout: (t == null ? void 0 : t.popupBridgeTimeout) ||
|
|
6707
|
-
iframeBridgeTimeout: (t == null ? void 0 : t.iframeBridgeTimeout) ||
|
|
6708
|
-
redirectNavigationTimeout:
|
|
6707
|
+
popupBridgeTimeout: (t == null ? void 0 : t.popupBridgeTimeout) || uu,
|
|
6708
|
+
iframeBridgeTimeout: (t == null ? void 0 : t.iframeBridgeTimeout) || gu,
|
|
6709
|
+
redirectNavigationTimeout: fu,
|
|
6709
6710
|
allowRedirectInIframe: !1,
|
|
6710
6711
|
navigatePopups: !0,
|
|
6711
6712
|
allowPlatformBroker: !1,
|
|
@@ -6723,8 +6724,8 @@ function fu({ auth: i, cache: e, system: t, experimental: n, telemetry: r }, o)
|
|
|
6723
6724
|
}, g = {
|
|
6724
6725
|
iframeTimeoutTelemetry: !1
|
|
6725
6726
|
};
|
|
6726
|
-
if ((t == null ? void 0 : t.protocolMode) !== B.OIDC && (i != null && i.OIDCOptions) && new Pe(l.loggerOptions).warning(JSON.stringify(k(
|
|
6727
|
-
throw k(
|
|
6727
|
+
if ((t == null ? void 0 : t.protocolMode) !== B.OIDC && (i != null && i.OIDCOptions) && new Pe(l.loggerOptions).warning(JSON.stringify(k(Wa)), ""), t != null && t.protocolMode && t.protocolMode === B.OIDC && (l != null && l.allowPlatformBroker))
|
|
6728
|
+
throw k(Qa);
|
|
6728
6729
|
return {
|
|
6729
6730
|
auth: {
|
|
6730
6731
|
...s,
|
|
@@ -6746,7 +6747,7 @@ function fu({ auth: i, cache: e, system: t, experimental: n, telemetry: r }, o)
|
|
|
6746
6747
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
6747
6748
|
class jt {
|
|
6748
6749
|
constructor(e, t, n, r) {
|
|
6749
|
-
this.logger = e, this.handshakeTimeoutMs = t, this.extensionId = r, this.resolvers = /* @__PURE__ */ new Map(), this.handshakeResolvers = /* @__PURE__ */ new Map(), this.messageChannel = new MessageChannel(), this.windowListener = this.onWindowMessage.bind(this), this.performanceClient = n, this.handshakeEvent = this.performanceClient.startMeasurement(
|
|
6750
|
+
this.logger = e, this.handshakeTimeoutMs = t, this.extensionId = r, this.resolvers = /* @__PURE__ */ new Map(), this.handshakeResolvers = /* @__PURE__ */ new Map(), this.messageChannel = new MessageChannel(), this.windowListener = this.onWindowMessage.bind(this), this.performanceClient = n, this.handshakeEvent = this.performanceClient.startMeasurement(ul), this.platformAuthType = $.PLATFORM_EXTENSION_PROVIDER;
|
|
6750
6751
|
}
|
|
6751
6752
|
/**
|
|
6752
6753
|
* Sends a given message to the extension and resolves with the extension response
|
|
@@ -6809,7 +6810,7 @@ class jt {
|
|
|
6809
6810
|
window.removeEventListener("message", this.windowListener, !1), this.messageChannel.port1.close(), this.messageChannel.port2.close(), this.handshakeEvent.end({
|
|
6810
6811
|
extensionHandshakeTimedOut: !0,
|
|
6811
6812
|
success: !1
|
|
6812
|
-
}), r(p(
|
|
6813
|
+
}), r(p(Vl)), this.handshakeResolvers.delete(t.responseId);
|
|
6813
6814
|
}, this.handshakeTimeoutMs);
|
|
6814
6815
|
});
|
|
6815
6816
|
}
|
|
@@ -6831,7 +6832,7 @@ class jt {
|
|
|
6831
6832
|
this.logger.verbose(n.extensionId ? "0xrkug" : "No extension installed", t), clearTimeout(this.timeoutId), this.messageChannel.port1.close(), this.messageChannel.port2.close(), window.removeEventListener("message", this.windowListener, !1), this.handshakeEvent.end({
|
|
6832
6833
|
success: !1,
|
|
6833
6834
|
extensionInstalled: !1
|
|
6834
|
-
}), r.reject(p(
|
|
6835
|
+
}), r.reject(p($l));
|
|
6835
6836
|
}
|
|
6836
6837
|
}
|
|
6837
6838
|
/**
|
|
@@ -7007,9 +7008,9 @@ class Sr {
|
|
|
7007
7008
|
}
|
|
7008
7009
|
}
|
|
7009
7010
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
7010
|
-
async function
|
|
7011
|
+
async function pu(i, e, t, n) {
|
|
7011
7012
|
i.trace("134j0v", t);
|
|
7012
|
-
const r =
|
|
7013
|
+
const r = yu();
|
|
7013
7014
|
i.trace("04c81g", t);
|
|
7014
7015
|
let o;
|
|
7015
7016
|
try {
|
|
@@ -7019,10 +7020,10 @@ async function mu(i, e, t, n) {
|
|
|
7019
7020
|
}
|
|
7020
7021
|
return o;
|
|
7021
7022
|
}
|
|
7022
|
-
function
|
|
7023
|
+
function yu() {
|
|
7023
7024
|
let i;
|
|
7024
7025
|
try {
|
|
7025
|
-
return i = window[X.SessionStorage], (i == null ? void 0 : i.getItem(
|
|
7026
|
+
return i = window[X.SessionStorage], (i == null ? void 0 : i.getItem(Md)) === "true";
|
|
7026
7027
|
} catch {
|
|
7027
7028
|
return !1;
|
|
7028
7029
|
}
|
|
@@ -7043,7 +7044,7 @@ function lt(i, e, t, n, r) {
|
|
|
7043
7044
|
return !0;
|
|
7044
7045
|
}
|
|
7045
7046
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
7046
|
-
class
|
|
7047
|
+
class Cu extends We {
|
|
7047
7048
|
constructor(e, t, n, r, o, s, a, c, h, l) {
|
|
7048
7049
|
super(e, t, n, r, o, s, a, h, l), this.nativeStorage = c, this.eventHandler = o;
|
|
7049
7050
|
}
|
|
@@ -7250,10 +7251,10 @@ class yu extends We {
|
|
|
7250
7251
|
try {
|
|
7251
7252
|
let n;
|
|
7252
7253
|
if (t.popup ? (n = t.popup, this.logger.verbosePii("0cgeo7", this.correlationId), n.location.assign(e)) : typeof t.popup > "u" && (this.logger.verbosePii("0c2awd", this.correlationId), n = this.openSizedPopup(e, t)), !n)
|
|
7253
|
-
throw p(
|
|
7254
|
+
throw p(Pl);
|
|
7254
7255
|
return n.focus && n.focus(), this.currentWindow = n, n;
|
|
7255
7256
|
} catch {
|
|
7256
|
-
throw this.logger.error("0dxfb9", this.correlationId), p(
|
|
7257
|
+
throw this.logger.error("0dxfb9", this.correlationId), p(Ol);
|
|
7257
7258
|
}
|
|
7258
7259
|
}
|
|
7259
7260
|
/**
|
|
@@ -7288,13 +7289,13 @@ class yu extends We {
|
|
|
7288
7289
|
}
|
|
7289
7290
|
}
|
|
7290
7291
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
7291
|
-
function
|
|
7292
|
+
function wu() {
|
|
7292
7293
|
if (typeof window > "u" || typeof window.performance > "u" || typeof window.performance.getEntriesByType != "function")
|
|
7293
7294
|
return;
|
|
7294
7295
|
const i = window.performance.getEntriesByType("navigation"), e = i.length ? i[0] : void 0;
|
|
7295
7296
|
return e == null ? void 0 : e.type;
|
|
7296
7297
|
}
|
|
7297
|
-
class
|
|
7298
|
+
class Iu extends We {
|
|
7298
7299
|
constructor(e, t, n, r, o, s, a, c, h, l) {
|
|
7299
7300
|
super(e, t, n, r, o, s, a, h, l), this.nativeStorage = c;
|
|
7300
7301
|
}
|
|
@@ -7386,10 +7387,10 @@ class wu extends We {
|
|
|
7386
7387
|
try {
|
|
7387
7388
|
const [a, c] = this.getRedirectResponse((r == null ? void 0 : r.hash) || "");
|
|
7388
7389
|
if (!a)
|
|
7389
|
-
return this.logger.info("1qmv0q", this.correlationId), this.browserStorage.resetRequestCache(this.correlationId),
|
|
7390
|
+
return this.logger.info("1qmv0q", this.correlationId), this.browserStorage.resetRequestCache(this.correlationId), wu() !== "back_forward" ? n.event.errorCode = "no_server_response" : this.logger.verbose("1eqegq", this.correlationId), null;
|
|
7390
7391
|
const h = this.browserStorage.getTemporaryCache(P.ORIGIN_URI, this.correlationId, !0) || "", l = Wr(h), d = Wr(window.location.href);
|
|
7391
7392
|
if (l === d && s)
|
|
7392
|
-
return this.logger.verbose("11yred", this.correlationId), h.indexOf("#") > -1 &&
|
|
7393
|
+
return this.logger.verbose("11yred", this.correlationId), h.indexOf("#") > -1 && fd(h), await this.handleResponse(a, e, t, o);
|
|
7393
7394
|
if (s) {
|
|
7394
7395
|
if (!tn() || this.config.system.allowRedirectInIframe) {
|
|
7395
7396
|
this.browserStorage.setTemporaryCache(P.URL_HASH, c, !0);
|
|
@@ -7400,7 +7401,7 @@ class wu extends We {
|
|
|
7400
7401
|
};
|
|
7401
7402
|
let f = !0;
|
|
7402
7403
|
if (!h || h === "null") {
|
|
7403
|
-
const y =
|
|
7404
|
+
const y = yd();
|
|
7404
7405
|
this.browserStorage.setTemporaryCache(P.ORIGIN_URI, y, !0), this.logger.warning("1dutq1", this.correlationId), f = await this.navigationClient.navigateInternal(y, g);
|
|
7405
7406
|
} else
|
|
7406
7407
|
this.logger.verbose("08jpy1", this.correlationId), f = await this.navigationClient.navigateInternal(h, g);
|
|
@@ -7425,7 +7426,7 @@ class wu extends We {
|
|
|
7425
7426
|
let n = Pt(t);
|
|
7426
7427
|
if (n) {
|
|
7427
7428
|
try {
|
|
7428
|
-
|
|
7429
|
+
Qd(n, this.browserCrypto, C.Redirect);
|
|
7429
7430
|
} catch (o) {
|
|
7430
7431
|
return o instanceof R && this.logger.error("0bkq6p", this.correlationId), [null, ""];
|
|
7431
7432
|
}
|
|
@@ -7539,24 +7540,24 @@ class wu extends We {
|
|
|
7539
7540
|
}
|
|
7540
7541
|
}
|
|
7541
7542
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
7542
|
-
async function
|
|
7543
|
+
async function Tu(i, e, t, n) {
|
|
7543
7544
|
if (!i)
|
|
7544
7545
|
throw t.info("1l7hyp", n), p(cr);
|
|
7545
|
-
return z(
|
|
7546
|
+
return z(Su, rl, t, e, n)(i);
|
|
7546
7547
|
}
|
|
7547
|
-
async function
|
|
7548
|
+
async function Au(i, e, t, n, r) {
|
|
7548
7549
|
const o = vr();
|
|
7549
7550
|
if (!o.contentDocument)
|
|
7550
7551
|
throw "No document associated with iframe!";
|
|
7551
7552
|
return (await Ar(o.contentDocument, i, e, t, n, r)).submit(), o;
|
|
7552
7553
|
}
|
|
7553
|
-
async function
|
|
7554
|
+
async function Eu(i, e, t, n, r) {
|
|
7554
7555
|
const o = vr();
|
|
7555
7556
|
if (!o.contentDocument)
|
|
7556
7557
|
throw "No document associated with iframe!";
|
|
7557
7558
|
return (await Tr(o.contentDocument, i, e, t, n, r)).submit(), o;
|
|
7558
7559
|
}
|
|
7559
|
-
function
|
|
7560
|
+
function Su(i) {
|
|
7560
7561
|
const e = vr();
|
|
7561
7562
|
return e.src = i, e;
|
|
7562
7563
|
}
|
|
@@ -7568,7 +7569,7 @@ function Oi(i) {
|
|
|
7568
7569
|
document.body === i.parentNode && document.body.removeChild(i);
|
|
7569
7570
|
}
|
|
7570
7571
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
7571
|
-
class
|
|
7572
|
+
class vu extends We {
|
|
7572
7573
|
constructor(e, t, n, r, o, s, a, c, h, l, d) {
|
|
7573
7574
|
super(e, t, n, r, o, s, c, l, d), this.apiId = a, this.nativeStorage = h;
|
|
7574
7575
|
}
|
|
@@ -7616,7 +7617,7 @@ class Su extends We {
|
|
|
7616
7617
|
...e,
|
|
7617
7618
|
earJwk: c,
|
|
7618
7619
|
codeChallenge: h.challenge
|
|
7619
|
-
}, d = await u(
|
|
7620
|
+
}, d = await u(Eu, cn, this.logger, this.performanceClient, t)(this.config, a, l, this.logger, this.performanceClient), g = this.config.auth.OIDCOptions.responseMode;
|
|
7620
7621
|
let f;
|
|
7621
7622
|
try {
|
|
7622
7623
|
f = await u(xe, Ht, this.logger, this.performanceClient, t)(this.config.system.iframeBridgeTimeout, this.logger, this.browserCrypto, e, this.performanceClient, this.config.experimental);
|
|
@@ -7684,10 +7685,10 @@ class Su extends We {
|
|
|
7684
7685
|
};
|
|
7685
7686
|
let s;
|
|
7686
7687
|
if (t.httpMethod === Le.POST)
|
|
7687
|
-
s = await u(
|
|
7688
|
+
s = await u(Au, cn, this.logger, this.performanceClient, n)(this.config, e.authority, o, this.logger, this.performanceClient);
|
|
7688
7689
|
else {
|
|
7689
7690
|
const l = await u(Ir, Xn, this.logger, this.performanceClient, n)(this.config, e.authority, o, this.logger, this.performanceClient);
|
|
7690
|
-
s = await u(
|
|
7691
|
+
s = await u(Tu, cn, this.logger, this.performanceClient, n)(l, this.performanceClient, this.logger, n);
|
|
7691
7692
|
}
|
|
7692
7693
|
const a = this.config.auth.OIDCOptions.responseMode;
|
|
7693
7694
|
let c;
|
|
@@ -7700,7 +7701,7 @@ class Su extends We {
|
|
|
7700
7701
|
}
|
|
7701
7702
|
}
|
|
7702
7703
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
7703
|
-
class
|
|
7704
|
+
class ku extends We {
|
|
7704
7705
|
/**
|
|
7705
7706
|
* Exchanges the refresh token for new tokens
|
|
7706
7707
|
* @param request
|
|
@@ -7717,7 +7718,7 @@ class vu extends We {
|
|
|
7717
7718
|
azureCloudOptions: n.azureCloudOptions,
|
|
7718
7719
|
account: n.account
|
|
7719
7720
|
});
|
|
7720
|
-
return u(o.acquireTokenByRefreshToken.bind(o),
|
|
7721
|
+
return u(o.acquireTokenByRefreshToken.bind(o), el, this.logger, this.performanceClient, e.correlationId)(n, E.acquireTokenSilent_silentFlow).catch((s) => {
|
|
7721
7722
|
throw s.setCorrelationId(this.correlationId), r.cacheFailedRequest(s), s;
|
|
7722
7723
|
});
|
|
7723
7724
|
}
|
|
@@ -7745,17 +7746,17 @@ class vu extends We {
|
|
|
7745
7746
|
requestExtraQueryParameters: e.extraQueryParameters,
|
|
7746
7747
|
account: e.account
|
|
7747
7748
|
});
|
|
7748
|
-
return new
|
|
7749
|
+
return new Nh(t, this.performanceClient);
|
|
7749
7750
|
}
|
|
7750
7751
|
}
|
|
7751
7752
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
7752
|
-
class
|
|
7753
|
+
class _u extends Mo {
|
|
7753
7754
|
constructor(e, t) {
|
|
7754
7755
|
super(e, t), this.includeRedirectUri = !1;
|
|
7755
7756
|
}
|
|
7756
7757
|
}
|
|
7757
7758
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
7758
|
-
class
|
|
7759
|
+
class bu extends We {
|
|
7759
7760
|
constructor(e, t, n, r, o, s, a, c, h, l) {
|
|
7760
7761
|
super(e, t, n, r, o, s, c, h, l), this.apiId = a;
|
|
7761
7762
|
}
|
|
@@ -7765,7 +7766,7 @@ class _u extends We {
|
|
|
7765
7766
|
*/
|
|
7766
7767
|
async acquireToken(e) {
|
|
7767
7768
|
if (!e.code)
|
|
7768
|
-
throw p(
|
|
7769
|
+
throw p(Bl);
|
|
7769
7770
|
const t = await u(ht, at, this.logger, this.performanceClient, this.correlationId)(
|
|
7770
7771
|
e,
|
|
7771
7772
|
C.Silent,
|
|
@@ -7790,7 +7791,7 @@ class _u extends We {
|
|
|
7790
7791
|
requestAzureCloudOptions: t.azureCloudOptions,
|
|
7791
7792
|
requestExtraQueryParameters: t.extraQueryParameters,
|
|
7792
7793
|
account: t.account
|
|
7793
|
-
}), s = new
|
|
7794
|
+
}), s = new _u(o, this.performanceClient);
|
|
7794
7795
|
this.logger.verbose("1uic5e", this.correlationId);
|
|
7795
7796
|
const a = new rs(s, this.browserStorage, r, this.logger, this.performanceClient);
|
|
7796
7797
|
return await u(a.handleCodeResponseFromServer.bind(a), vo, this.logger, this.performanceClient, this.correlationId)({
|
|
@@ -7811,7 +7812,7 @@ class _u extends We {
|
|
|
7811
7812
|
}
|
|
7812
7813
|
}
|
|
7813
7814
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
7814
|
-
function
|
|
7815
|
+
function Ru(i, e, t, n) {
|
|
7815
7816
|
var a;
|
|
7816
7817
|
const r = (
|
|
7817
7818
|
// @ts-ignore
|
|
@@ -7853,7 +7854,7 @@ class kr {
|
|
|
7853
7854
|
* @param configuration Object for the MSAL PublicClientApplication instance
|
|
7854
7855
|
*/
|
|
7855
7856
|
constructor(e) {
|
|
7856
|
-
this.operatingContext = e, this.isBrowserEnvironment = this.operatingContext.isBrowserEnvironment(), this.config = e.getConfig(), this.initialized = !1, this.logger = this.operatingContext.getLogger(), this.networkClient = this.config.system.networkClient, this.navigationClient = this.config.system.navigationClient, this.redirectResponse = /* @__PURE__ */ new Map(), this.hybridAuthCodeResponses = /* @__PURE__ */ new Map(), this.performanceClient = this.config.telemetry.client, this.browserCrypto = this.isBrowserEnvironment ? new ce(this.logger, this.performanceClient) : Nt, this.eventHandler = new
|
|
7857
|
+
this.operatingContext = e, this.isBrowserEnvironment = this.operatingContext.isBrowserEnvironment(), this.config = e.getConfig(), this.initialized = !1, this.logger = this.operatingContext.getLogger(), this.networkClient = this.config.system.networkClient, this.navigationClient = this.config.system.navigationClient, this.redirectResponse = /* @__PURE__ */ new Map(), this.hybridAuthCodeResponses = /* @__PURE__ */ new Map(), this.performanceClient = this.config.telemetry.client, this.browserCrypto = this.isBrowserEnvironment ? new ce(this.logger, this.performanceClient) : Nt, this.eventHandler = new $d(this.logger), this.browserStorage = this.isBrowserEnvironment ? new bn(this.config.auth.clientId, this.config.cache, this.browserCrypto, this.logger, this.performanceClient, this.eventHandler, Oh(this.config.auth)) : Fd(this.config.auth.clientId, this.logger, this.performanceClient, this.eventHandler);
|
|
7857
7858
|
const t = {
|
|
7858
7859
|
cacheLocation: X.MemoryStorage,
|
|
7859
7860
|
cacheRetentionDays: 5
|
|
@@ -7881,10 +7882,10 @@ class kr {
|
|
|
7881
7882
|
this.logger.info("19fvpi", t), this.initialized = !0, this.eventHandler.emitEvent(w.INITIALIZE_END, t);
|
|
7882
7883
|
return;
|
|
7883
7884
|
}
|
|
7884
|
-
const n = this.config.system.allowPlatformBroker, r = this.performanceClient.startMeasurement(
|
|
7885
|
-
if (this.eventHandler.emitEvent(w.INITIALIZE_START, t), this.logMultipleInstances(r, t), r.add({ isMcp: this.config.auth.isMcp }), await u(this.browserStorage.initialize.bind(this.browserStorage),
|
|
7885
|
+
const n = this.config.system.allowPlatformBroker, r = this.performanceClient.startMeasurement(bd, t);
|
|
7886
|
+
if (this.eventHandler.emitEvent(w.INITIALIZE_START, t), this.logMultipleInstances(r, t), r.add({ isMcp: this.config.auth.isMcp }), await u(this.browserStorage.initialize.bind(this.browserStorage), nl, this.logger, this.performanceClient, t)(t), n)
|
|
7886
7887
|
try {
|
|
7887
|
-
this.platformAuthProvider = await
|
|
7888
|
+
this.platformAuthProvider = await pu(this.logger, this.performanceClient, t, this.config.system.nativeBrokerHandshakeTimeout);
|
|
7888
7889
|
} catch (o) {
|
|
7889
7890
|
this.logger.verbose(o, t);
|
|
7890
7891
|
}
|
|
@@ -7930,14 +7931,14 @@ class kr {
|
|
|
7930
7931
|
isPlatformBrokerRequest: !0
|
|
7931
7932
|
});
|
|
7932
7933
|
const d = new kt(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, E.handleRedirectPromise, this.performanceClient, this.platformAuthProvider, r.accountId, this.nativeInternalStorage, r.correlationId);
|
|
7933
|
-
a = u(d.handleRedirectPromise.bind(d),
|
|
7934
|
+
a = u(d.handleRedirectPromise.bind(d), dl, this.logger, this.performanceClient, s.event.correlationId)();
|
|
7934
7935
|
} else {
|
|
7935
7936
|
const [l, d] = this.browserStorage.getCachedRequest("");
|
|
7936
7937
|
c = l;
|
|
7937
7938
|
const g = l.correlationId;
|
|
7938
7939
|
this.eventHandler.emitEvent(w.HANDLE_REDIRECT_START, g, C.Redirect), s = this.performanceClient.startMeasurement(un, g), this.logger.trace("0znzs5", g);
|
|
7939
7940
|
const f = this.createRedirectClient(g);
|
|
7940
|
-
a = u(f.handleRedirectPromise.bind(f),
|
|
7941
|
+
a = u(f.handleRedirectPromise.bind(f), ll, this.logger, this.performanceClient, s.event.correlationId)(l, d, s, e);
|
|
7941
7942
|
}
|
|
7942
7943
|
} catch (l) {
|
|
7943
7944
|
throw this.browserStorage.resetRequestCache(""), l;
|
|
@@ -7964,7 +7965,7 @@ class kr {
|
|
|
7964
7965
|
async acquireTokenRedirect(e) {
|
|
7965
7966
|
const t = this.getRequestCorrelationId(e);
|
|
7966
7967
|
this.logger.verbose("0os66p", t);
|
|
7967
|
-
const n = this.performanceClient.startMeasurement(
|
|
7968
|
+
const n = this.performanceClient.startMeasurement(kd, t);
|
|
7968
7969
|
n.add({
|
|
7969
7970
|
scenarioId: e.scenarioId
|
|
7970
7971
|
});
|
|
@@ -7980,7 +7981,7 @@ class kr {
|
|
|
7980
7981
|
let o;
|
|
7981
7982
|
if (this.platformAuthProvider && this.canUsePlatformBroker(e)) {
|
|
7982
7983
|
const s = new kt(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, E.acquireTokenRedirect, this.performanceClient, this.platformAuthProvider, this.getNativeAccountId(e), this.nativeInternalStorage, t);
|
|
7983
|
-
o = u(s.acquireTokenRedirect.bind(s),
|
|
7984
|
+
o = u(s.acquireTokenRedirect.bind(s), qh, this.logger, this.performanceClient, t)(e, n).catch((a) => {
|
|
7984
7985
|
if (n.add({
|
|
7985
7986
|
brokerErrorName: a.name,
|
|
7986
7987
|
brokerErrorCode: a.errorCode
|
|
@@ -8007,7 +8008,7 @@ class kr {
|
|
|
8007
8008
|
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
|
8008
8009
|
*/
|
|
8009
8010
|
acquireTokenPopup(e) {
|
|
8010
|
-
const t = this.getRequestCorrelationId(e), n = this.performanceClient.startMeasurement(
|
|
8011
|
+
const t = this.getRequestCorrelationId(e), n = this.performanceClient.startMeasurement(vd, t);
|
|
8011
8012
|
n.add({
|
|
8012
8013
|
scenarioId: e.scenarioId
|
|
8013
8014
|
});
|
|
@@ -8099,7 +8100,7 @@ class kr {
|
|
|
8099
8100
|
this.logger.verbose("13poou", "");
|
|
8100
8101
|
return;
|
|
8101
8102
|
}
|
|
8102
|
-
const s = Ee(), a = this.performanceClient.startMeasurement(
|
|
8103
|
+
const s = Ee(), a = this.performanceClient.startMeasurement(Od, s);
|
|
8103
8104
|
a.add({
|
|
8104
8105
|
"ext.interactionType": t
|
|
8105
8106
|
}), this.logger.verbose("0pbr0i", s), setTimeout(() => {
|
|
@@ -8159,7 +8160,7 @@ class kr {
|
|
|
8159
8160
|
...e,
|
|
8160
8161
|
correlationId: t
|
|
8161
8162
|
};
|
|
8162
|
-
this.ssoSilentMeasurement = this.performanceClient.startMeasurement(
|
|
8163
|
+
this.ssoSilentMeasurement = this.performanceClient.startMeasurement(_d, t), (s = this.ssoSilentMeasurement) == null || s.add({
|
|
8163
8164
|
scenarioId: e.scenarioId,
|
|
8164
8165
|
ssoCapable: this.getCachedSsoCapable()
|
|
8165
8166
|
}), Tt(this.initialized, this.ssoSilentMeasurement, this.config, n), (a = this.ssoSilentMeasurement) == null || a.increment({
|
|
@@ -8210,11 +8211,11 @@ class kr {
|
|
|
8210
8211
|
async acquireTokenByCode(e) {
|
|
8211
8212
|
const t = this.getRequestCorrelationId(e);
|
|
8212
8213
|
this.logger.trace("0ch6ga", t);
|
|
8213
|
-
const n = this.performanceClient.startMeasurement(
|
|
8214
|
+
const n = this.performanceClient.startMeasurement(Sd, t);
|
|
8214
8215
|
Tt(this.initialized, n, this.config, e), this.eventHandler.emitEvent(w.ACQUIRE_TOKEN_START, t, C.Silent, e), n.add({ scenarioId: e.scenarioId });
|
|
8215
8216
|
try {
|
|
8216
8217
|
if (e.code && e.nativeAccountId)
|
|
8217
|
-
throw p(
|
|
8218
|
+
throw p(jl);
|
|
8218
8219
|
if (e.code) {
|
|
8219
8220
|
const r = e.code;
|
|
8220
8221
|
let o = this.hybridAuthCodeResponses.get(r);
|
|
@@ -8248,9 +8249,9 @@ class kr {
|
|
|
8248
8249
|
success: !0
|
|
8249
8250
|
}, void 0, r.account), r;
|
|
8250
8251
|
} else
|
|
8251
|
-
throw p(
|
|
8252
|
+
throw p(Gl);
|
|
8252
8253
|
else
|
|
8253
|
-
throw p(
|
|
8254
|
+
throw p(zl);
|
|
8254
8255
|
} catch (r) {
|
|
8255
8256
|
throw this.eventHandler.emitEvent(w.ACQUIRE_TOKEN_FAILURE, t, C.Silent, null, r), n.end({
|
|
8256
8257
|
success: !1
|
|
@@ -8265,7 +8266,7 @@ class kr {
|
|
|
8265
8266
|
async acquireTokenByCodeAsync(e) {
|
|
8266
8267
|
var o;
|
|
8267
8268
|
const t = this.getRequestCorrelationId(e);
|
|
8268
|
-
return this.logger.trace("10d9hy", t), this.acquireTokenByCodeAsyncMeasurement = this.performanceClient.startMeasurement(
|
|
8269
|
+
return this.logger.trace("10d9hy", t), this.acquireTokenByCodeAsyncMeasurement = this.performanceClient.startMeasurement(hl, t), (o = this.acquireTokenByCodeAsyncMeasurement) == null || o.increment({
|
|
8269
8270
|
visibilityChangeCount: 0,
|
|
8270
8271
|
onlineStatusChangeCount: 0
|
|
8271
8272
|
}), this.addStateChangeListeners(this.trackStateChangeWithMeasurement), await this.createSilentAuthCodeClient(t).acquireToken(e).then((s) => {
|
|
@@ -8296,7 +8297,7 @@ class kr {
|
|
|
8296
8297
|
case G.AccessToken:
|
|
8297
8298
|
case G.AccessTokenAndRefreshToken:
|
|
8298
8299
|
const n = this.createSilentCacheClient(e.correlationId);
|
|
8299
|
-
return u(n.acquireToken.bind(n),
|
|
8300
|
+
return u(n.acquireToken.bind(n), Qh, this.logger, this.performanceClient, e.correlationId)(e);
|
|
8300
8301
|
default:
|
|
8301
8302
|
throw m(ye);
|
|
8302
8303
|
}
|
|
@@ -8314,7 +8315,7 @@ class kr {
|
|
|
8314
8315
|
case G.RefreshToken:
|
|
8315
8316
|
case G.RefreshTokenAndNetwork:
|
|
8316
8317
|
const n = this.createSilentRefreshClient(e.correlationId);
|
|
8317
|
-
return u(n.acquireToken.bind(n),
|
|
8318
|
+
return u(n.acquireToken.bind(n), Zh, this.logger, this.performanceClient, e.correlationId)(e);
|
|
8318
8319
|
default:
|
|
8319
8320
|
throw m(ye);
|
|
8320
8321
|
}
|
|
@@ -8326,7 +8327,7 @@ class kr {
|
|
|
8326
8327
|
*/
|
|
8327
8328
|
async acquireTokenBySilentIframe(e) {
|
|
8328
8329
|
const t = this.createSilentIframeClient(e.correlationId);
|
|
8329
|
-
return u(t.acquireToken.bind(t),
|
|
8330
|
+
return u(t.acquireToken.bind(t), Yh, this.logger, this.performanceClient, e.correlationId)(e);
|
|
8330
8331
|
}
|
|
8331
8332
|
// #endregion
|
|
8332
8333
|
// #region Logout
|
|
@@ -8371,7 +8372,7 @@ class kr {
|
|
|
8371
8372
|
* @returns Array of AccountInfo objects in cache
|
|
8372
8373
|
*/
|
|
8373
8374
|
getAllAccounts(e) {
|
|
8374
|
-
return
|
|
8375
|
+
return Bd(this.logger, this.browserStorage, this.isBrowserEnvironment, this.getRequestCorrelationId(), e);
|
|
8375
8376
|
}
|
|
8376
8377
|
/**
|
|
8377
8378
|
* Returns the first account found in the cache that matches the account filter passed in.
|
|
@@ -8379,20 +8380,20 @@ class kr {
|
|
|
8379
8380
|
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
|
8380
8381
|
*/
|
|
8381
8382
|
getAccount(e) {
|
|
8382
|
-
return
|
|
8383
|
+
return zd(e, this.logger, this.browserStorage, this.getRequestCorrelationId());
|
|
8383
8384
|
}
|
|
8384
8385
|
/**
|
|
8385
8386
|
* Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
|
|
8386
8387
|
* @param account
|
|
8387
8388
|
*/
|
|
8388
8389
|
setActiveAccount(e) {
|
|
8389
|
-
|
|
8390
|
+
jd(e, this.browserStorage, this.getRequestCorrelationId());
|
|
8390
8391
|
}
|
|
8391
8392
|
/**
|
|
8392
8393
|
* Gets the currently active account
|
|
8393
8394
|
*/
|
|
8394
8395
|
getActiveAccount() {
|
|
8395
|
-
return
|
|
8396
|
+
return Gd(this.browserStorage, this.getRequestCorrelationId());
|
|
8396
8397
|
}
|
|
8397
8398
|
// #endregion
|
|
8398
8399
|
/**
|
|
@@ -8403,7 +8404,7 @@ class kr {
|
|
|
8403
8404
|
*/
|
|
8404
8405
|
async hydrateCache(e, t) {
|
|
8405
8406
|
this.logger.verbose("16jycr", e.correlationId);
|
|
8406
|
-
const n =
|
|
8407
|
+
const n = Hc(e.account, e.cloudGraphHostName, e.msGraphHost);
|
|
8407
8408
|
if (await this.browserStorage.setAccount(n, e.correlationId, oe(e.idTokenClaims), E.hydrateCache), e.fromPlatformBroker) {
|
|
8408
8409
|
this.logger.verbose("1i5atf", e.correlationId);
|
|
8409
8410
|
const r = Wt(e.account.homeAccountId, e.account.environment, e.idToken, this.config.auth.clientId, e.tenantId), o = Qt(
|
|
@@ -8480,21 +8481,21 @@ class kr {
|
|
|
8480
8481
|
* @param correlationId
|
|
8481
8482
|
*/
|
|
8482
8483
|
createPopupClient(e) {
|
|
8483
|
-
return new
|
|
8484
|
+
return new Cu(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeInternalStorage, e, this.platformAuthProvider);
|
|
8484
8485
|
}
|
|
8485
8486
|
/**
|
|
8486
8487
|
* Returns new instance of the Redirect Interaction Client
|
|
8487
8488
|
* @param correlationId
|
|
8488
8489
|
*/
|
|
8489
8490
|
createRedirectClient(e) {
|
|
8490
|
-
return new
|
|
8491
|
+
return new Iu(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeInternalStorage, e, this.platformAuthProvider);
|
|
8491
8492
|
}
|
|
8492
8493
|
/**
|
|
8493
8494
|
* Returns new instance of the Silent Iframe Interaction Client
|
|
8494
8495
|
* @param correlationId
|
|
8495
8496
|
*/
|
|
8496
8497
|
createSilentIframeClient(e) {
|
|
8497
|
-
return new
|
|
8498
|
+
return new vu(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, E.ssoSilent, this.performanceClient, this.nativeInternalStorage, e, this.platformAuthProvider);
|
|
8498
8499
|
}
|
|
8499
8500
|
/**
|
|
8500
8501
|
* Returns new instance of the Silent Cache Interaction Client
|
|
@@ -8506,13 +8507,13 @@ class kr {
|
|
|
8506
8507
|
* Returns new instance of the Silent Refresh Interaction Client
|
|
8507
8508
|
*/
|
|
8508
8509
|
createSilentRefreshClient(e) {
|
|
8509
|
-
return new
|
|
8510
|
+
return new ku(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, e, this.platformAuthProvider);
|
|
8510
8511
|
}
|
|
8511
8512
|
/**
|
|
8512
8513
|
* Returns new instance of the Silent AuthCode Interaction Client
|
|
8513
8514
|
*/
|
|
8514
8515
|
createSilentAuthCodeClient(e) {
|
|
8515
|
-
return new
|
|
8516
|
+
return new bu(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, E.acquireTokenByCode, this.performanceClient, e, this.platformAuthProvider);
|
|
8516
8517
|
}
|
|
8517
8518
|
/**
|
|
8518
8519
|
* Adds event callbacks to array
|
|
@@ -8640,7 +8641,7 @@ class kr {
|
|
|
8640
8641
|
* @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthResponse} object
|
|
8641
8642
|
*/
|
|
8642
8643
|
async acquireTokenSilent(e) {
|
|
8643
|
-
const t = this.getRequestCorrelationId(e), n = this.performanceClient.startMeasurement(
|
|
8644
|
+
const t = this.getRequestCorrelationId(e), n = this.performanceClient.startMeasurement(Ed, t);
|
|
8644
8645
|
n.add({
|
|
8645
8646
|
cacheLookupPolicy: e.cacheLookupPolicy,
|
|
8646
8647
|
scenarioId: e.scenarioId,
|
|
@@ -8648,7 +8649,7 @@ class kr {
|
|
|
8648
8649
|
}), Tt(this.initialized, n, this.config, e), this.logger.verbose("0x1c4s", t);
|
|
8649
8650
|
const r = e.account || this.getActiveAccount();
|
|
8650
8651
|
if (!r)
|
|
8651
|
-
throw p(
|
|
8652
|
+
throw p(xl);
|
|
8652
8653
|
return this.acquireTokenSilentDeduped(e, r, t).then((o) => (n.end({
|
|
8653
8654
|
success: !0,
|
|
8654
8655
|
fromCache: o.fromCache,
|
|
@@ -8680,7 +8681,7 @@ class kr {
|
|
|
8680
8681
|
}, t.homeAccountId), o = JSON.stringify(r), s = this.activeSilentTokenRequests.get(o);
|
|
8681
8682
|
if (typeof s > "u") {
|
|
8682
8683
|
this.logger.verbose("0fcjbk", n), this.performanceClient.addFields({ deduped: !1 }, n);
|
|
8683
|
-
const a = u(this.acquireTokenSilentAsync.bind(this),
|
|
8684
|
+
const a = u(this.acquireTokenSilentAsync.bind(this), $h, this.logger, this.performanceClient, n)({
|
|
8684
8685
|
...e,
|
|
8685
8686
|
correlationId: n
|
|
8686
8687
|
}, t);
|
|
@@ -8699,15 +8700,15 @@ class kr {
|
|
|
8699
8700
|
async acquireTokenSilentAsync(e, t) {
|
|
8700
8701
|
const n = (a) => this.trackStateChange(e.correlationId, a);
|
|
8701
8702
|
this.eventHandler.emitEvent(w.ACQUIRE_TOKEN_START, e.correlationId, C.Silent, e), e.correlationId && this.performanceClient.incrementFields({ visibilityChangeCount: 0, onlineStatusChangeCount: 0 }, e.correlationId), this.addStateChangeListeners(n);
|
|
8702
|
-
const r = await u(
|
|
8703
|
+
const r = await u(Jd, tl, this.logger, this.performanceClient, e.correlationId)(e, t, this.config, this.performanceClient, this.logger), o = e.cacheLookupPolicy || G.Default;
|
|
8703
8704
|
return this.acquireTokenSilentNoIframe(r, o).catch(async (a) => {
|
|
8704
|
-
if (
|
|
8705
|
+
if (Ou(a, o)) {
|
|
8705
8706
|
const h = `${a.errorCode}${a.subError ? `|${a.subError}` : ""}`;
|
|
8706
8707
|
if (this.performanceClient.addFields({ silentRefreshReason: h }, e.correlationId), this.activeIframeRequest)
|
|
8707
8708
|
if (o !== G.Skip) {
|
|
8708
8709
|
const [l, d] = this.activeIframeRequest;
|
|
8709
8710
|
this.logger.verbose("1w8fso", r.correlationId);
|
|
8710
|
-
const g = this.performanceClient.startMeasurement(
|
|
8711
|
+
const g = this.performanceClient.startMeasurement(Xh, r.correlationId);
|
|
8711
8712
|
g.add({
|
|
8712
8713
|
awaitIframeCorrelationId: d
|
|
8713
8714
|
});
|
|
@@ -8755,10 +8756,10 @@ class kr {
|
|
|
8755
8756
|
brokerErrorName: n.name,
|
|
8756
8757
|
brokerErrorCode: n.errorCode
|
|
8757
8758
|
}, e.correlationId), n instanceof ne && De(n) ? (this.logger.verbose("07rkmb", e.correlationId), this.platformAuthProvider = void 0, m(ye)) : n;
|
|
8758
|
-
})) : (this.logger.verbose("0ox81t", e.correlationId), t === G.AccessToken && this.logger.verbose("0fvwxe", e.correlationId), u(this.acquireTokenFromCache.bind(this),
|
|
8759
|
+
})) : (this.logger.verbose("0ox81t", e.correlationId), t === G.AccessToken && this.logger.verbose("0fvwxe", e.correlationId), u(this.acquireTokenFromCache.bind(this), Gh, this.logger, this.performanceClient, e.correlationId)(e, t).catch((n) => {
|
|
8759
8760
|
if (t === G.AccessToken)
|
|
8760
8761
|
throw n;
|
|
8761
|
-
return this.eventHandler.emitEvent(w.ACQUIRE_TOKEN_NETWORK_START, e.correlationId, C.Silent, e), u(this.acquireTokenByRefreshToken.bind(this),
|
|
8762
|
+
return this.eventHandler.emitEvent(w.ACQUIRE_TOKEN_NETWORK_START, e.correlationId, C.Silent, e), u(this.acquireTokenByRefreshToken.bind(this), Vh, this.logger, this.performanceClient, e.correlationId)(e, t);
|
|
8762
8763
|
}));
|
|
8763
8764
|
}
|
|
8764
8765
|
/**
|
|
@@ -8780,12 +8781,12 @@ class kr {
|
|
|
8780
8781
|
const n = this.config.auth.clientId;
|
|
8781
8782
|
if (!window)
|
|
8782
8783
|
return;
|
|
8783
|
-
window.msal = window.msal || {}, window.msal.clientIds = window.msal.clientIds || [], window.msal.clientIds.length > 0 && this.logger.verbose("1qtz3l", t), window.msal.clientIds.push(n),
|
|
8784
|
+
window.msal = window.msal || {}, window.msal.clientIds = window.msal.clientIds || [], window.msal.clientIds.length > 0 && this.logger.verbose("1qtz3l", t), window.msal.clientIds.push(n), Ru(n, e, this.logger, t);
|
|
8784
8785
|
}
|
|
8785
8786
|
}
|
|
8786
|
-
function
|
|
8787
|
+
function Ou(i, e) {
|
|
8787
8788
|
const t = !(i instanceof Te && // For refresh token errors, bad_token does not always require interaction (silently resolvable)
|
|
8788
|
-
i.subError !== Fi), n = i.errorCode === V.INVALID_GRANT_ERROR || i.errorCode === ye, r = t && n || i.errorCode === yn || i.errorCode === Bi, o =
|
|
8789
|
+
i.subError !== Fi), n = i.errorCode === V.INVALID_GRANT_ERROR || i.errorCode === ye, r = t && n || i.errorCode === yn || i.errorCode === Bi, o = ea.includes(e);
|
|
8789
8790
|
return r && o;
|
|
8790
8791
|
}
|
|
8791
8792
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
@@ -8811,14 +8812,14 @@ class _r {
|
|
|
8811
8812
|
}
|
|
8812
8813
|
constructor(e) {
|
|
8813
8814
|
var c;
|
|
8814
|
-
this.browserEnvironment = typeof window < "u", this.config =
|
|
8815
|
+
this.browserEnvironment = typeof window < "u", this.config = mu(e, this.browserEnvironment);
|
|
8815
8816
|
let t;
|
|
8816
8817
|
try {
|
|
8817
8818
|
t = window[X.SessionStorage];
|
|
8818
8819
|
} catch {
|
|
8819
8820
|
}
|
|
8820
|
-
const n = t == null ? void 0 : t.getItem(
|
|
8821
|
-
a && (s.loggerCallback = _r.loggerCallback, s.logLevel = a), o !== void 0 && (s.piiLoggingEnabled = o), this.logger = new Pe(s,
|
|
8821
|
+
const n = t == null ? void 0 : t.getItem(Pd), r = (c = t == null ? void 0 : t.getItem(Nd)) == null ? void 0 : c.toLowerCase(), o = r === "true" ? !0 : r === "false" ? !1 : void 0, s = { ...this.config.system.loggerOptions }, a = n && Object.keys(ee).includes(n) ? ee[n] : void 0;
|
|
8822
|
+
a && (s.loggerCallback = _r.loggerCallback, s.logLevel = a), o !== void 0 && (s.piiLoggingEnabled = o), this.logger = new Pe(s, Kd, Re), this.available = !1;
|
|
8822
8823
|
}
|
|
8823
8824
|
/**
|
|
8824
8825
|
* Return the MSAL config
|
|
@@ -8871,7 +8872,7 @@ class Ve extends _r {
|
|
|
8871
8872
|
Ve.MODULE_NAME = "";
|
|
8872
8873
|
Ve.ID = "StandardOperatingContext";
|
|
8873
8874
|
/*! @azure/msal-browser v5.10.0 2026-05-07 */
|
|
8874
|
-
class
|
|
8875
|
+
class Pu {
|
|
8875
8876
|
/**
|
|
8876
8877
|
* @constructor
|
|
8877
8878
|
* Constructor for the PublicClientApplication used to instantiate the PublicClientApplication object
|
|
@@ -9128,7 +9129,7 @@ class Ou {
|
|
|
9128
9129
|
return this.controller.clearCache(e);
|
|
9129
9130
|
}
|
|
9130
9131
|
}
|
|
9131
|
-
function
|
|
9132
|
+
function Uu(i) {
|
|
9132
9133
|
const e = i.redirectUri ?? (typeof window < "u" ? window.location.origin : "/"), t = {
|
|
9133
9134
|
auth: {
|
|
9134
9135
|
clientId: i.clientId,
|
|
@@ -9139,19 +9140,22 @@ function Nu(i) {
|
|
|
9139
9140
|
cache: {
|
|
9140
9141
|
cacheLocation: "sessionStorage"
|
|
9141
9142
|
},
|
|
9142
|
-
// Only log errors to avoid leaking sensitive info in logs
|
|
9143
|
+
// Only log errors to avoid leaking sensitive info in logs.
|
|
9143
9144
|
system: {
|
|
9144
9145
|
loggerOptions: {
|
|
9146
|
+
// MSAL invokes this callback synchronously from inside its own flows,
|
|
9147
|
+
// so it must be side-effect-free — never throw. Some error-level logs
|
|
9148
|
+
// (e.g. interaction_in_progress) are recoverable; throwing here would
|
|
9149
|
+
// re-enter MSAL's internals and surface as confusing crashes.
|
|
9145
9150
|
loggerCallback: (n, r, o) => {
|
|
9146
|
-
|
|
9147
|
-
throw new Error(`[MSAL] ${r}`);
|
|
9151
|
+
o || n === ee.Error && ds.error(`[MSAL] ${r}`);
|
|
9148
9152
|
},
|
|
9149
9153
|
logLevel: ee.Error
|
|
9150
9154
|
}
|
|
9151
9155
|
}
|
|
9152
9156
|
};
|
|
9153
|
-
return new
|
|
9157
|
+
return new Pu(t);
|
|
9154
9158
|
}
|
|
9155
9159
|
export {
|
|
9156
|
-
|
|
9160
|
+
Uu as createMsalInstance
|
|
9157
9161
|
};
|