@tapni/auth 0.0.108 → 0.0.109

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { reactive as Ko, readonly as Go, resolveComponent as Bt, openBlock as S, createElementBlock as P, createElementVNode as y, toDisplayString as U, createCommentVNode as ee, createVNode as ke, withCtx as nt, createTextVNode as se, pushScopeId as Dt, popScopeId as Ht, createStaticVNode as Vo, nextTick as vr, withModifiers as Oe, normalizeStyle as Lt, withDirectives as me, withKeys as kt, vModelText as wt, vModelDynamic as dn, vShow as mt, createBlock as qe, normalizeClass as Ie, unref as Qo } from "vue";
1
+ import { reactive as Ko, readonly as Go, resolveComponent as Bt, openBlock as S, createElementBlock as P, createElementVNode as y, toDisplayString as U, createCommentVNode as ee, createVNode as ke, withCtx as nt, createTextVNode as se, pushScopeId as Dt, popScopeId as Ht, createStaticVNode as Vo, nextTick as vr, withModifiers as Oe, normalizeStyle as Lt, withDirectives as me, withKeys as kt, vModelText as wt, vModelDynamic as un, vShow as mt, createBlock as qe, normalizeClass as Ie, unref as Qo } from "vue";
2
2
  import { RouterView as Yo } from "vue-router";
3
3
  import ne from "await-to-js";
4
4
  import Xn from "axios";
@@ -8,7 +8,7 @@ import { Capacitor as Vt, registerPlugin as In, WebPlugin as Wo } from "@capacit
8
8
  import { Browser as hn } from "@capacitor/browser";
9
9
  import $o from "qr-code-styling";
10
10
  import { sanitizeUrl as Jo } from "@braintree/sanitize-url";
11
- const Xo = "0.0.108";
11
+ const Xo = "0.0.109";
12
12
  let Un;
13
13
  const qt = {
14
14
  setApiRootFromOptions(n) {
@@ -4661,11 +4661,11 @@ const ze = {
4661
4661
  console.log("Play was interrupted:", e);
4662
4662
  }
4663
4663
  }), setTimeout(() => {
4664
- this.$storage.token ? this.$router.push(this.home) : z.$emit("ssoEvent", { name: "setLoading", data: !1 });
4664
+ this.$storage && this.$storage.token ? this.$router.push(this.home) : z.$emit("ssoEvent", { name: "setLoading", data: !1 });
4665
4665
  }, 2500);
4666
4666
  },
4667
4667
  methods: {}
4668
- }, $r = (n) => (Dt("data-v-b3067fce"), n = n(), Ht(), n), ri = {
4668
+ }, $r = (n) => (Dt("data-v-9c201b2d"), n = n(), Ht(), n), ri = {
4669
4669
  class: "page-login content-boxed content-boxed-padding center-text",
4670
4670
  style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
4671
4671
  }, oi = ["autoplay"], ii = /* @__PURE__ */ $r(() => /* @__PURE__ */ y("source", {
@@ -4673,10 +4673,10 @@ const ze = {
4673
4673
  type: "video/mp4"
4674
4674
  }, null, -1)), ai = [
4675
4675
  ii
4676
- ], si = { class: "bold full-top no-bottom center-text" }, ci = { class: "full-bottom half-top center-text color-black font-16" }, li = { class: "page-login-links center-text" }, ui = /* @__PURE__ */ $r(() => /* @__PURE__ */ y("div", { class: "clear" }, null, -1)), di = {
4676
+ ], si = { class: "bold full-top no-bottom center-text" }, ci = { class: "full-bottom half-top center-text color-black font-16" }, li = { class: "page-login-links center-text" }, di = /* @__PURE__ */ $r(() => /* @__PURE__ */ y("div", { class: "clear" }, null, -1)), ui = {
4677
4677
  key: 2,
4678
4678
  style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
4679
- }, pi = /* @__PURE__ */ Vo('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-b3067fce><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-b3067fce></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-b3067fce><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-b3067fce></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-b3067fce><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-b3067fce></a>', 3), hi = [
4679
+ }, pi = /* @__PURE__ */ Vo('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-9c201b2d><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-9c201b2d></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-9c201b2d><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-9c201b2d></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-9c201b2d><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-9c201b2d></a>', 3), hi = [
4680
4680
  pi
4681
4681
  ];
4682
4682
  function mi(n, e, t, r, o, i) {
@@ -4713,12 +4713,12 @@ function mi(n, e, t, r, o, i) {
4713
4713
  ]),
4714
4714
  _: 1
4715
4715
  }),
4716
- ui
4716
+ di
4717
4717
  ]),
4718
- this.isNative ? ee("", !0) : (S(), P("div", di, hi))
4718
+ this.isNative ? ee("", !0) : (S(), P("div", ui, hi))
4719
4719
  ]);
4720
4720
  }
4721
- const Jr = /* @__PURE__ */ We(ni, [["render", mi], ["__scopeId", "data-v-b3067fce"]]), wr = In("GoogleAuth", {
4721
+ const Jr = /* @__PURE__ */ We(ni, [["render", mi], ["__scopeId", "data-v-9c201b2d"]]), wr = In("GoogleAuth", {
4722
4722
  web: () => import("./web-5VtGcKeU.js").then((n) => new n.GoogleAuthWeb())
4723
4723
  }), Xr = {
4724
4724
  data() {
@@ -4913,22 +4913,22 @@ function T(n, e, t, r) {
4913
4913
  });
4914
4914
  }
4915
4915
  return new (t || (t = Promise))(function(i, a) {
4916
- function s(d) {
4916
+ function s(u) {
4917
4917
  try {
4918
- p(r.next(d));
4918
+ p(r.next(u));
4919
4919
  } catch (f) {
4920
4920
  a(f);
4921
4921
  }
4922
4922
  }
4923
- function u(d) {
4923
+ function d(u) {
4924
4924
  try {
4925
- p(r.throw(d));
4925
+ p(r.throw(u));
4926
4926
  } catch (f) {
4927
4927
  a(f);
4928
4928
  }
4929
4929
  }
4930
- function p(d) {
4931
- d.done ? i(d.value) : o(d.value).then(s, u);
4930
+ function p(u) {
4931
+ u.done ? i(u.value) : o(u.value).then(s, d);
4932
4932
  }
4933
4933
  p((r = r.apply(n, e || [])).next());
4934
4934
  });
@@ -4943,11 +4943,11 @@ function I(n, e) {
4943
4943
  return this;
4944
4944
  }), a;
4945
4945
  function s(p) {
4946
- return function(d) {
4947
- return u([p, d]);
4946
+ return function(u) {
4947
+ return d([p, u]);
4948
4948
  };
4949
4949
  }
4950
- function u(p) {
4950
+ function d(p) {
4951
4951
  if (r)
4952
4952
  throw new TypeError("Generator is already executing.");
4953
4953
  for (; t; )
@@ -4988,8 +4988,8 @@ function I(n, e) {
4988
4988
  continue;
4989
4989
  }
4990
4990
  p = e.call(n, t);
4991
- } catch (d) {
4992
- p = [6, d], o = 0;
4991
+ } catch (u) {
4992
+ p = [6, u], o = 0;
4993
4993
  } finally {
4994
4994
  r = i = 0;
4995
4995
  }
@@ -5070,22 +5070,22 @@ function j(n, e, t, r) {
5070
5070
  });
5071
5071
  }
5072
5072
  return new (t || (t = Promise))(function(i, a) {
5073
- function s(d) {
5073
+ function s(u) {
5074
5074
  try {
5075
- p(r.next(d));
5075
+ p(r.next(u));
5076
5076
  } catch (f) {
5077
5077
  a(f);
5078
5078
  }
5079
5079
  }
5080
- function u(d) {
5080
+ function d(u) {
5081
5081
  try {
5082
- p(r.throw(d));
5082
+ p(r.throw(u));
5083
5083
  } catch (f) {
5084
5084
  a(f);
5085
5085
  }
5086
5086
  }
5087
- function p(d) {
5088
- d.done ? i(d.value) : o(d.value).then(s, u);
5087
+ function p(u) {
5088
+ u.done ? i(u.value) : o(u.value).then(s, d);
5089
5089
  }
5090
5090
  p((r = r.apply(n, e || [])).next());
5091
5091
  });
@@ -5100,11 +5100,11 @@ function K(n, e) {
5100
5100
  return this;
5101
5101
  }), a;
5102
5102
  function s(p) {
5103
- return function(d) {
5104
- return u([p, d]);
5103
+ return function(u) {
5104
+ return d([p, u]);
5105
5105
  };
5106
5106
  }
5107
- function u(p) {
5107
+ function d(p) {
5108
5108
  if (r)
5109
5109
  throw new TypeError("Generator is already executing.");
5110
5110
  for (; t; )
@@ -5145,8 +5145,8 @@ function K(n, e) {
5145
5145
  continue;
5146
5146
  }
5147
5147
  p = e.call(n, t);
5148
- } catch (d) {
5149
- p = [6, d], o = 0;
5148
+ } catch (u) {
5149
+ p = [6, u], o = 0;
5150
5150
  } finally {
5151
5151
  r = i = 0;
5152
5152
  }
@@ -5324,10 +5324,10 @@ var At;
5324
5324
  (function(n) {
5325
5325
  n[n.httpSuccess = 200] = "httpSuccess", n[n.httpBadRequest = 400] = "httpBadRequest";
5326
5326
  })(At || (At = {}));
5327
- var dt;
5327
+ var ut;
5328
5328
  (function(n) {
5329
5329
  n.FAILED_AUTO_DETECTION = "1", n.INTERNAL_CACHE = "2", n.ENVIRONMENT_VARIABLE = "3", n.IMDS = "4";
5330
- })(dt || (dt = {}));
5330
+ })(ut || (ut = {}));
5331
5331
  var Jt;
5332
5332
  (function(n) {
5333
5333
  n.CONFIGURED_MATCHES_DETECTED = "1", n.CONFIGURED_NO_AUTO_DETECTION = "2", n.CONFIGURED_NOT_DETECTED = "3", n.AUTO_DETECTION_REQUESTED_SUCCESSFUL = "4", n.AUTO_DETECTION_REQUESTED_FAILED = "5";
@@ -5773,8 +5773,8 @@ var L = (
5773
5773
  };
5774
5774
  return r.forEach(function(i) {
5775
5775
  if (i.trim()) {
5776
- var a = i.split(/=(.+)/g, 2), s = a[0], u = a[1];
5777
- s && u && (t[o(s)] = o(u));
5776
+ var a = i.split(/=(.+)/g, 2), s = a[0], d = a[1];
5777
+ s && d && (t[o(s)] = o(d));
5778
5778
  }
5779
5779
  }), t;
5780
5780
  }, n.trimArrayEntries = function(e) {
@@ -6214,34 +6214,34 @@ var we = (
6214
6214
  e.tenantId || g.EMPTY_STRING
6215
6215
  ];
6216
6216
  return t.join(fe.CACHE_KEY_SEPARATOR).toLowerCase();
6217
- }, n.createAccount = function(e, t, r, o, i, a, s, u) {
6218
- var p, d, f, _, k, E, N = new n();
6219
- N.authorityType = ot.MSSTS_ACCOUNT_TYPE, N.clientInfo = e, N.homeAccountId = t, N.nativeAccountId = u;
6217
+ }, n.createAccount = function(e, t, r, o, i, a, s, d) {
6218
+ var p, u, f, _, k, E, N = new n();
6219
+ N.authorityType = ot.MSSTS_ACCOUNT_TYPE, N.clientInfo = e, N.homeAccountId = t, N.nativeAccountId = d;
6220
6220
  var Q = s || o && o.getPreferredCache();
6221
6221
  if (!Q)
6222
6222
  throw O.createInvalidCacheEnvironmentError();
6223
6223
  if (N.environment = Q, N.realm = ((p = r == null ? void 0 : r.claims) === null || p === void 0 ? void 0 : p.tid) || g.EMPTY_STRING, r) {
6224
- N.idTokenClaims = r.claims, N.localAccountId = ((d = r == null ? void 0 : r.claims) === null || d === void 0 ? void 0 : d.oid) || ((f = r == null ? void 0 : r.claims) === null || f === void 0 ? void 0 : f.sub) || g.EMPTY_STRING;
6224
+ N.idTokenClaims = r.claims, N.localAccountId = ((u = r == null ? void 0 : r.claims) === null || u === void 0 ? void 0 : u.oid) || ((f = r == null ? void 0 : r.claims) === null || f === void 0 ? void 0 : f.sub) || g.EMPTY_STRING;
6225
6225
  var X = (_ = r == null ? void 0 : r.claims) === null || _ === void 0 ? void 0 : _.preferred_username, G = !((k = r == null ? void 0 : r.claims) === null || k === void 0) && k.emails ? r.claims.emails[0] : null;
6226
6226
  N.username = X || G || g.EMPTY_STRING, N.name = (E = r == null ? void 0 : r.claims) === null || E === void 0 ? void 0 : E.name;
6227
6227
  }
6228
6228
  return N.cloudGraphHostName = i, N.msGraphHost = a, N;
6229
6229
  }, n.createGenericAccount = function(e, t, r, o, i, a) {
6230
- var s, u, p, d, f = new n();
6230
+ var s, d, p, u, f = new n();
6231
6231
  f.authorityType = r && r.authorityType === Se.Adfs ? ot.ADFS_ACCOUNT_TYPE : ot.GENERIC_ACCOUNT_TYPE, f.homeAccountId = e, f.realm = g.EMPTY_STRING;
6232
6232
  var _ = a || r && r.getPreferredCache();
6233
6233
  if (!_)
6234
6234
  throw O.createInvalidCacheEnvironmentError();
6235
- return t && (f.localAccountId = ((s = t == null ? void 0 : t.claims) === null || s === void 0 ? void 0 : s.oid) || ((u = t == null ? void 0 : t.claims) === null || u === void 0 ? void 0 : u.sub) || g.EMPTY_STRING, f.username = ((p = t == null ? void 0 : t.claims) === null || p === void 0 ? void 0 : p.upn) || g.EMPTY_STRING, f.name = ((d = t == null ? void 0 : t.claims) === null || d === void 0 ? void 0 : d.name) || g.EMPTY_STRING, f.idTokenClaims = t == null ? void 0 : t.claims), f.environment = _, f.cloudGraphHostName = o, f.msGraphHost = i, f;
6235
+ return t && (f.localAccountId = ((s = t == null ? void 0 : t.claims) === null || s === void 0 ? void 0 : s.oid) || ((d = t == null ? void 0 : t.claims) === null || d === void 0 ? void 0 : d.sub) || g.EMPTY_STRING, f.username = ((p = t == null ? void 0 : t.claims) === null || p === void 0 ? void 0 : p.upn) || g.EMPTY_STRING, f.name = ((u = t == null ? void 0 : t.claims) === null || u === void 0 ? void 0 : u.name) || g.EMPTY_STRING, f.idTokenClaims = t == null ? void 0 : t.claims), f.environment = _, f.cloudGraphHostName = o, f.msGraphHost = i, f;
6236
6236
  }, n.generateHomeAccountId = function(e, t, r, o, i) {
6237
6237
  var a, s = !((a = i == null ? void 0 : i.claims) === null || a === void 0) && a.sub ? i.claims.sub : g.EMPTY_STRING;
6238
6238
  if (t === Se.Adfs || t === Se.Dsts)
6239
6239
  return s;
6240
6240
  if (e)
6241
6241
  try {
6242
- var u = vn(e, o);
6243
- if (!L.isEmpty(u.uid) && !L.isEmpty(u.utid))
6244
- return "" + u.uid + fe.CLIENT_INFO_SEPARATOR + u.utid;
6242
+ var d = vn(e, o);
6243
+ if (!L.isEmpty(d.uid) && !L.isEmpty(d.utid))
6244
+ return "" + d.uid + fe.CLIENT_INFO_SEPARATOR + d.utid;
6245
6245
  } catch {
6246
6246
  }
6247
6247
  return r.verbose("No client info in response"), s;
@@ -6342,12 +6342,12 @@ var Me = (
6342
6342
  realm: e.realm,
6343
6343
  tokenType: e.tokenType,
6344
6344
  requestedClaimsHash: e.requestedClaimsHash
6345
- }, r = this.getTokenKeys(), o = Ee.fromString(e.target), i = [], r.accessToken.forEach(function(u) {
6346
- if (a.accessTokenKeyMatchesFilter(u, t, !1)) {
6347
- var p = a.getAccessTokenCredential(u);
6345
+ }, r = this.getTokenKeys(), o = Ee.fromString(e.target), i = [], r.accessToken.forEach(function(d) {
6346
+ if (a.accessTokenKeyMatchesFilter(d, t, !1)) {
6347
+ var p = a.getAccessTokenCredential(d);
6348
6348
  if (p && a.credentialMatchesFilter(p, t)) {
6349
- var d = Ee.fromString(p.target);
6350
- d.intersectingScopeSets(o) && i.push(a.removeAccessToken(u));
6349
+ var u = Ee.fromString(p.target);
6350
+ u.intersectingScopeSets(o) && i.push(a.removeAccessToken(d));
6351
6351
  }
6352
6352
  }
6353
6353
  }), [4, Promise.all(i)];
@@ -6492,12 +6492,12 @@ var Me = (
6492
6492
  e.isAppMetadata(r) && e.removeItem(r);
6493
6493
  }), !0;
6494
6494
  }, n.prototype.readCacheRecord = function(e, t, r) {
6495
- var o = this.getTokenKeys(), i = this.readAccountFromCache(e), a = this.getIdToken(e, o), s = this.getAccessToken(e, t, o), u = this.getRefreshToken(e, !1, o), p = this.readAppMetadataFromCache(r);
6495
+ var o = this.getTokenKeys(), i = this.readAccountFromCache(e), a = this.getIdToken(e, o), s = this.getAccessToken(e, t, o), d = this.getRefreshToken(e, !1, o), p = this.readAppMetadataFromCache(r);
6496
6496
  return i && a && (i.idTokenClaims = new rt(a.secret, this.cryptoImpl).claims), {
6497
6497
  account: i,
6498
6498
  idToken: a,
6499
6499
  accessToken: s,
6500
- refreshToken: u,
6500
+ refreshToken: d,
6501
6501
  appMetadata: p
6502
6502
  };
6503
6503
  }, n.prototype.readAccountFromCache = function(e) {
@@ -6534,7 +6534,7 @@ var Me = (
6534
6534
  }, n.prototype.getAccessToken = function(e, t, r) {
6535
6535
  var o = this;
6536
6536
  this.commonLogger.trace("CacheManager - getAccessToken called");
6537
- var i = Ee.createSearchScopes(t.scopes), a = t.authenticationScheme || te.BEARER, s = a && a.toLowerCase() !== te.BEARER.toLowerCase() ? H.ACCESS_TOKEN_WITH_AUTH_SCHEME : H.ACCESS_TOKEN, u = {
6537
+ var i = Ee.createSearchScopes(t.scopes), a = t.authenticationScheme || te.BEARER, s = a && a.toLowerCase() !== te.BEARER.toLowerCase() ? H.ACCESS_TOKEN_WITH_AUTH_SCHEME : H.ACCESS_TOKEN, d = {
6538
6538
  homeAccountId: e.homeAccountId,
6539
6539
  environment: e.environment,
6540
6540
  credentialType: s,
@@ -6544,17 +6544,17 @@ var Me = (
6544
6544
  tokenType: a,
6545
6545
  keyId: t.sshKid,
6546
6546
  requestedClaimsHash: t.requestedClaimsHash
6547
- }, p = r && r.accessToken || this.getTokenKeys().accessToken, d = [];
6547
+ }, p = r && r.accessToken || this.getTokenKeys().accessToken, u = [];
6548
6548
  p.forEach(function(_) {
6549
- if (o.accessTokenKeyMatchesFilter(_, u, !0)) {
6549
+ if (o.accessTokenKeyMatchesFilter(_, d, !0)) {
6550
6550
  var k = o.getAccessTokenCredential(_);
6551
- k && o.credentialMatchesFilter(k, u) && d.push(k);
6551
+ k && o.credentialMatchesFilter(k, d) && u.push(k);
6552
6552
  }
6553
6553
  });
6554
- var f = d.length;
6555
- return f < 1 ? (this.commonLogger.info("CacheManager:getAccessToken - No token found"), null) : f > 1 ? (this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them"), d.forEach(function(_) {
6554
+ var f = u.length;
6555
+ return f < 1 ? (this.commonLogger.info("CacheManager:getAccessToken - No token found"), null) : f > 1 ? (this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them"), u.forEach(function(_) {
6556
6556
  o.removeAccessToken(_.generateCredentialKey());
6557
- }), null) : (this.commonLogger.info("CacheManager:getAccessToken - Returning access token"), d[0]);
6557
+ }), null) : (this.commonLogger.info("CacheManager:getAccessToken - Returning access token"), u[0]);
6558
6558
  }, n.prototype.accessTokenKeyMatchesFilter = function(e, t, r) {
6559
6559
  var o = e.toLowerCase();
6560
6560
  if (t.clientId && o.indexOf(t.clientId.toLowerCase()) === -1 || t.homeAccountId && o.indexOf(t.homeAccountId.toLowerCase()) === -1 || t.realm && o.indexOf(t.realm.toLowerCase()) === -1 || t.requestedClaimsHash && o.indexOf(t.requestedClaimsHash.toLowerCase()) === -1)
@@ -6584,15 +6584,15 @@ var Me = (
6584
6584
  credentialType: H.REFRESH_TOKEN,
6585
6585
  clientId: this.clientId,
6586
6586
  familyId: i
6587
- }, s = r && r.refreshToken || this.getTokenKeys().refreshToken, u = [];
6588
- s.forEach(function(d) {
6589
- if (o.refreshTokenKeyMatchesFilter(d, a)) {
6590
- var f = o.getRefreshTokenCredential(d);
6591
- f && o.credentialMatchesFilter(f, a) && u.push(f);
6587
+ }, s = r && r.refreshToken || this.getTokenKeys().refreshToken, d = [];
6588
+ s.forEach(function(u) {
6589
+ if (o.refreshTokenKeyMatchesFilter(u, a)) {
6590
+ var f = o.getRefreshTokenCredential(u);
6591
+ f && o.credentialMatchesFilter(f, a) && d.push(f);
6592
6592
  }
6593
6593
  });
6594
- var p = u.length;
6595
- return p < 1 ? (this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."), null) : (this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"), u[0]);
6594
+ var p = d.length;
6595
+ return p < 1 ? (this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."), null) : (this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"), d[0]);
6596
6596
  }, n.prototype.refreshTokenKeyMatchesFilter = function(e, t) {
6597
6597
  var r = e.toLowerCase();
6598
6598
  return !(t.familyId && r.indexOf(t.familyId.toLowerCase()) === -1 || !t.familyId && t.clientId && r.indexOf(t.clientId.toLowerCase()) === -1 || t.homeAccountId && r.indexOf(t.homeAccountId.toLowerCase()) === -1);
@@ -6787,7 +6787,7 @@ var ki = 300, no = {
6787
6787
  }
6788
6788
  };
6789
6789
  function Ai(n) {
6790
- var e = n.authOptions, t = n.systemOptions, r = n.loggerOptions, o = n.cacheOptions, i = n.storageInterface, a = n.networkInterface, s = n.cryptoInterface, u = n.clientCredentials, p = n.libraryInfo, d = n.telemetry, f = n.serverTelemetryManager, _ = n.persistencePlugin, k = n.serializableCache, E = Z(Z({}, wi), r);
6790
+ var e = n.authOptions, t = n.systemOptions, r = n.loggerOptions, o = n.cacheOptions, i = n.storageInterface, a = n.networkInterface, s = n.cryptoInterface, d = n.clientCredentials, p = n.libraryInfo, u = n.telemetry, f = n.serverTelemetryManager, _ = n.persistencePlugin, k = n.serializableCache, E = Z(Z({}, wi), r);
6791
6791
  return {
6792
6792
  authOptions: Ri(e),
6793
6793
  systemOptions: Z(Z({}, no), t),
@@ -6796,9 +6796,9 @@ function Ai(n) {
6796
6796
  storageInterface: i || new yi(e.clientId, _n, new er(E)),
6797
6797
  networkInterface: a || Ci,
6798
6798
  cryptoInterface: s || _n,
6799
- clientCredentials: u || Ti,
6799
+ clientCredentials: d || Ti,
6800
6800
  libraryInfo: Z(Z({}, Ei), p),
6801
- telemetry: Z(Z({}, Si), d),
6801
+ telemetry: Z(Z({}, Si), u),
6802
6802
  serverTelemetryManager: f || null,
6803
6803
  persistencePlugin: _ || null,
6804
6804
  serializableCache: k || null
@@ -7136,15 +7136,15 @@ var rr = (
7136
7136
  default:
7137
7137
  throw O.createUnexpectedCredentialTypeError();
7138
7138
  }
7139
- }, n.generateCredentialCacheKey = function(e, t, r, o, i, a, s, u, p) {
7140
- var d = [
7139
+ }, n.generateCredentialCacheKey = function(e, t, r, o, i, a, s, d, p) {
7140
+ var u = [
7141
7141
  this.generateAccountIdForCacheKey(e, t),
7142
7142
  this.generateCredentialIdForCacheKey(r, o, i, s),
7143
7143
  this.generateTargetForCacheKey(a),
7144
7144
  this.generateClaimsHashForCacheKey(p),
7145
- this.generateSchemeForCacheKey(u)
7145
+ this.generateSchemeForCacheKey(d)
7146
7146
  ];
7147
- return d.join(fe.CACHE_KEY_SEPARATOR).toLowerCase();
7147
+ return u.join(fe.CACHE_KEY_SEPARATOR).toLowerCase();
7148
7148
  }, n.generateAccountIdForCacheKey = function(e, t) {
7149
7149
  var r = [e, t];
7150
7150
  return r.join(fe.CACHE_KEY_SEPARATOR).toLowerCase();
@@ -7211,14 +7211,14 @@ var _t = (
7211
7211
  function e() {
7212
7212
  return n !== null && n.apply(this, arguments) || this;
7213
7213
  }
7214
- return e.createAccessTokenEntity = function(t, r, o, i, a, s, u, p, d, f, _, k, E, N, Q) {
7214
+ return e.createAccessTokenEntity = function(t, r, o, i, a, s, d, p, u, f, _, k, E, N, Q) {
7215
7215
  var X, G, $ = new e();
7216
7216
  $.homeAccountId = t, $.credentialType = H.ACCESS_TOKEN, $.secret = o;
7217
7217
  var Ae = Ke.nowSeconds();
7218
- if ($.cachedAt = Ae.toString(), $.expiresOn = u.toString(), $.extendedExpiresOn = p.toString(), f && ($.refreshOn = f.toString()), $.environment = r, $.clientId = i, $.realm = a, $.target = s, $.userAssertionHash = k, $.tokenType = L.isEmpty(_) ? te.BEARER : _, N && ($.requestedClaims = N, $.requestedClaimsHash = Q), ((X = $.tokenType) === null || X === void 0 ? void 0 : X.toLowerCase()) !== te.BEARER.toLowerCase())
7218
+ if ($.cachedAt = Ae.toString(), $.expiresOn = d.toString(), $.extendedExpiresOn = p.toString(), f && ($.refreshOn = f.toString()), $.environment = r, $.clientId = i, $.realm = a, $.target = s, $.userAssertionHash = k, $.tokenType = L.isEmpty(_) ? te.BEARER : _, N && ($.requestedClaims = N, $.requestedClaimsHash = Q), ((X = $.tokenType) === null || X === void 0 ? void 0 : X.toLowerCase()) !== te.BEARER.toLowerCase())
7219
7219
  switch ($.credentialType = H.ACCESS_TOKEN_WITH_AUTH_SCHEME, $.tokenType) {
7220
7220
  case te.POP:
7221
- var xe = rt.extractTokenClaims(o, d);
7221
+ var xe = rt.extractTokenClaims(o, u);
7222
7222
  if (!(!((G = xe == null ? void 0 : xe.cnf) === null || G === void 0) && G.kid))
7223
7223
  throw O.createTokenClaimsRequiredError();
7224
7224
  $.keyId = xe.cnf.kid;
@@ -7241,8 +7241,8 @@ var Pt = (
7241
7241
  return n !== null && n.apply(this, arguments) || this;
7242
7242
  }
7243
7243
  return e.createRefreshTokenEntity = function(t, r, o, i, a, s) {
7244
- var u = new e();
7245
- return u.clientId = i, u.credentialType = H.REFRESH_TOKEN, u.environment = r, u.homeAccountId = t, u.secret = o, u.userAssertionHash = s, a && (u.familyId = a), u;
7244
+ var d = new e();
7245
+ return d.clientId = i, d.credentialType = H.REFRESH_TOKEN, d.environment = r, d.homeAccountId = t, d.secret = o, d.userAssertionHash = s, a && (d.familyId = a), d;
7246
7246
  }, e.isRefreshTokenEntity = function(t) {
7247
7247
  return t ? t.hasOwnProperty("homeAccountId") && t.hasOwnProperty("environment") && t.hasOwnProperty("credentialType") && t.hasOwnProperty("clientId") && t.hasOwnProperty("secret") && t.credentialType === H.REFRESH_TOKEN : !1;
7248
7248
  }, e;
@@ -7272,13 +7272,13 @@ var Ir = [
7272
7272
  /** @class */
7273
7273
  function(n) {
7274
7274
  Ue(e, n);
7275
- function e(t, r, o, i, a, s, u) {
7275
+ function e(t, r, o, i, a, s, d) {
7276
7276
  var p = n.call(this, t, r, o) || this;
7277
- return Object.setPrototypeOf(p, e.prototype), p.timestamp = i || g.EMPTY_STRING, p.traceId = a || g.EMPTY_STRING, p.correlationId = s || g.EMPTY_STRING, p.claims = u || g.EMPTY_STRING, p.name = "InteractionRequiredAuthError", p;
7277
+ return Object.setPrototypeOf(p, e.prototype), p.timestamp = i || g.EMPTY_STRING, p.traceId = a || g.EMPTY_STRING, p.correlationId = s || g.EMPTY_STRING, p.claims = d || g.EMPTY_STRING, p.name = "InteractionRequiredAuthError", p;
7278
7278
  }
7279
7279
  return e.isInteractionRequiredError = function(t, r, o) {
7280
- var i = !!t && Ir.indexOf(t) > -1, a = !!o && Mi.indexOf(o) > -1, s = !!r && Ir.some(function(u) {
7281
- return r.indexOf(u) > -1;
7280
+ var i = !!t && Ir.indexOf(t) > -1, a = !!o && Mi.indexOf(o) > -1, s = !!r && Ir.some(function(d) {
7281
+ return r.indexOf(d) > -1;
7282
7282
  });
7283
7283
  return i || s || a;
7284
7284
  }, e.createNoTokensFoundError = function() {
@@ -7327,8 +7327,8 @@ var st = (
7327
7327
  userRequestState: L.isEmpty(i) ? g.EMPTY_STRING : i,
7328
7328
  libraryState: s
7329
7329
  };
7330
- } catch (u) {
7331
- throw O.createInvalidStateError(t, u);
7330
+ } catch (d) {
7331
+ throw O.createInvalidStateError(t, d);
7332
7332
  }
7333
7333
  }, n;
7334
7334
  }()
@@ -7501,11 +7501,11 @@ var Ut = (
7501
7501
  });
7502
7502
  }, n.prototype.signPayload = function(e, t, r, o) {
7503
7503
  return j(this, void 0, void 0, function() {
7504
- var i, a, s, u, p, d;
7504
+ var i, a, s, d, p, u;
7505
7505
  return K(this, function(f) {
7506
7506
  switch (f.label) {
7507
7507
  case 0:
7508
- return i = r.resourceRequestMethod, a = r.resourceRequestUri, s = r.shrClaims, u = r.shrNonce, p = a ? new W(a) : void 0, d = p == null ? void 0 : p.getUrlComponents(), [4, this.cryptoUtils.signJwt(Z({ at: e, ts: Ke.nowSeconds(), m: i == null ? void 0 : i.toUpperCase(), u: d == null ? void 0 : d.HostNameAndPort, nonce: u || this.cryptoUtils.createNewGuid(), p: d == null ? void 0 : d.AbsolutePath, q: d != null && d.QueryString ? [[], d.QueryString] : void 0, client_claims: s || void 0 }, o), t, r.correlationId)];
7508
+ return i = r.resourceRequestMethod, a = r.resourceRequestUri, s = r.shrClaims, d = r.shrNonce, p = a ? new W(a) : void 0, u = p == null ? void 0 : p.getUrlComponents(), [4, this.cryptoUtils.signJwt(Z({ at: e, ts: Ke.nowSeconds(), m: i == null ? void 0 : i.toUpperCase(), u: u == null ? void 0 : u.HostNameAndPort, nonce: d || this.cryptoUtils.createNewGuid(), p: u == null ? void 0 : u.AbsolutePath, q: u != null && u.QueryString ? [[], u.QueryString] : void 0, client_claims: s || void 0 }, o), t, r.correlationId)];
7509
7509
  case 1:
7510
7510
  return [2, f.sent()];
7511
7511
  }
@@ -7587,14 +7587,14 @@ var wn = (
7587
7587
  var t = e.error_codes + " - [" + e.timestamp + "]: " + e.error_description + " - Correlation ID: " + e.correlation_id + " - Trace ID: " + e.trace_id;
7588
7588
  throw new bt(e.error, t, e.suberror);
7589
7589
  }
7590
- }, n.prototype.handleServerTokenResponse = function(e, t, r, o, i, a, s, u, p) {
7591
- var d;
7590
+ }, n.prototype.handleServerTokenResponse = function(e, t, r, o, i, a, s, d, p) {
7591
+ var u;
7592
7592
  return j(this, void 0, void 0, function() {
7593
7593
  var f, _, k, E, N, Q, X;
7594
7594
  return K(this, function(G) {
7595
7595
  switch (G.label) {
7596
7596
  case 0:
7597
- if ((d = this.performanceClient) === null || d === void 0 || d.addQueueMeasurement(b.HandleServerTokenResponse, e.correlation_id), e.id_token) {
7597
+ if ((u = this.performanceClient) === null || u === void 0 || u.addQueueMeasurement(b.HandleServerTokenResponse, e.correlation_id), e.id_token) {
7598
7598
  if (f = new rt(e.id_token || g.EMPTY_STRING, this.cryptoObj), i && !L.isEmpty(i.nonce) && f.claims.nonce !== i.nonce)
7599
7599
  throw O.createNonceMismatchError();
7600
7600
  if (o.maxAge || o.maxAge === 0) {
@@ -7609,7 +7609,7 @@ var wn = (
7609
7609
  case 2:
7610
7610
  G.sent(), G.label = 3;
7611
7611
  case 3:
7612
- return s && !u && E.account && (Q = E.account.generateAccountKey(), X = this.cacheStorage.getAccount(Q), !X) ? (this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"), [2, n.generateAuthenticationResult(this.cryptoObj, t, E, !1, o, f, k, void 0, p)]) : [4, this.cacheStorage.saveCacheRecord(E)];
7612
+ return s && !d && E.account && (Q = E.account.generateAccountKey(), X = this.cacheStorage.getAccount(Q), !X) ? (this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"), [2, n.generateAuthenticationResult(this.cryptoObj, t, E, !1, o, f, k, void 0, p)]) : [4, this.cacheStorage.saveCacheRecord(E)];
7613
7613
  case 4:
7614
7614
  return G.sent(), [3, 8];
7615
7615
  case 5:
@@ -7627,20 +7627,20 @@ var wn = (
7627
7627
  });
7628
7628
  });
7629
7629
  }, n.prototype.generateCacheRecord = function(e, t, r, o, i, a, s) {
7630
- var u = t.getPreferredCache();
7631
- if (L.isEmpty(u))
7630
+ var d = t.getPreferredCache();
7631
+ if (L.isEmpty(d))
7632
7632
  throw O.createInvalidCacheEnvironmentError();
7633
- var p, d;
7634
- !L.isEmpty(e.id_token) && i && (p = gt.createIdTokenEntity(this.homeAccountIdentifier, u, e.id_token || g.EMPTY_STRING, this.clientId, i.claims.tid || g.EMPTY_STRING), d = this.generateAccountEntity(e, i, t, s));
7633
+ var p, u;
7634
+ !L.isEmpty(e.id_token) && i && (p = gt.createIdTokenEntity(this.homeAccountIdentifier, d, e.id_token || g.EMPTY_STRING, this.clientId, i.claims.tid || g.EMPTY_STRING), u = this.generateAccountEntity(e, i, t, s));
7635
7635
  var f = null;
7636
7636
  if (!L.isEmpty(e.access_token)) {
7637
7637
  var _ = e.scope ? Ee.fromString(e.scope) : new Ee(o.scopes || []), k = (typeof e.expires_in == "string" ? parseInt(e.expires_in, 10) : e.expires_in) || 0, E = (typeof e.ext_expires_in == "string" ? parseInt(e.ext_expires_in, 10) : e.ext_expires_in) || 0, N = (typeof e.refresh_in == "string" ? parseInt(e.refresh_in, 10) : e.refresh_in) || void 0, Q = r + k, X = Q + E, G = N && N > 0 ? r + N : void 0;
7638
- f = _t.createAccessTokenEntity(this.homeAccountIdentifier, u, e.access_token || g.EMPTY_STRING, this.clientId, i ? i.claims.tid || g.EMPTY_STRING : t.tenant, _.printScopes(), Q, X, this.cryptoObj, G, e.token_type, a, e.key_id, o.claims, o.requestedClaimsHash);
7638
+ f = _t.createAccessTokenEntity(this.homeAccountIdentifier, d, e.access_token || g.EMPTY_STRING, this.clientId, i ? i.claims.tid || g.EMPTY_STRING : t.tenant, _.printScopes(), Q, X, this.cryptoObj, G, e.token_type, a, e.key_id, o.claims, o.requestedClaimsHash);
7639
7639
  }
7640
7640
  var $ = null;
7641
- L.isEmpty(e.refresh_token) || ($ = Pt.createRefreshTokenEntity(this.homeAccountIdentifier, u, e.refresh_token || g.EMPTY_STRING, this.clientId, e.foci, a));
7641
+ L.isEmpty(e.refresh_token) || ($ = Pt.createRefreshTokenEntity(this.homeAccountIdentifier, d, e.refresh_token || g.EMPTY_STRING, this.clientId, e.foci, a));
7642
7642
  var Ae = null;
7643
- return L.isEmpty(e.foci) || (Ae = Vn.createAppMetadataEntity(this.clientId, u, e.foci)), new Zt(d, p, f, $, Ae);
7643
+ return L.isEmpty(e.foci) || (Ae = Vn.createAppMetadataEntity(this.clientId, d, e.foci)), new Zt(u, p, f, $, Ae);
7644
7644
  }, n.prototype.generateAccountEntity = function(e, t, r, o) {
7645
7645
  var i = r.authorityType, a = o ? o.cloud_graph_host_name : g.EMPTY_STRING, s = o ? o.msgraph_host : g.EMPTY_STRING;
7646
7646
  if (i === Se.Adfs)
@@ -7648,8 +7648,8 @@ var wn = (
7648
7648
  if (L.isEmpty(e.client_info) && r.protocolMode === "AAD")
7649
7649
  throw O.createClientInfoEmptyError();
7650
7650
  return e.client_info ? we.createAccount(e.client_info, this.homeAccountIdentifier, t, r, a, s) : we.createGenericAccount(this.homeAccountIdentifier, t, r, a, s);
7651
- }, n.generateAuthenticationResult = function(e, t, r, o, i, a, s, u, p) {
7652
- var d, f, _;
7651
+ }, n.generateAuthenticationResult = function(e, t, r, o, i, a, s, d, p) {
7652
+ var u, f, _;
7653
7653
  return j(this, void 0, void 0, function() {
7654
7654
  var k, E, N, Q, X, G, $, Ae, xe, Ve, Ct;
7655
7655
  return K(this, function(ce) {
@@ -7669,7 +7669,7 @@ var wn = (
7669
7669
  case 3:
7670
7670
  E = Ee.fromString(r.accessToken.target).asArray(), N = new Date(Number(r.accessToken.expiresOn) * 1e3), Q = new Date(Number(r.accessToken.extendedExpiresOn) * 1e3), ce.label = 4;
7671
7671
  case 4:
7672
- return r.appMetadata && (X = r.appMetadata.familyId === Yt ? Yt : g.EMPTY_STRING), Ve = (a == null ? void 0 : a.claims.oid) || (a == null ? void 0 : a.claims.sub) || g.EMPTY_STRING, Ct = (a == null ? void 0 : a.claims.tid) || g.EMPTY_STRING, u != null && u.spa_accountid && r.account && (r.account.nativeAccountId = u == null ? void 0 : u.spa_accountid), [2, {
7672
+ return r.appMetadata && (X = r.appMetadata.familyId === Yt ? Yt : g.EMPTY_STRING), Ve = (a == null ? void 0 : a.claims.oid) || (a == null ? void 0 : a.claims.sub) || g.EMPTY_STRING, Ct = (a == null ? void 0 : a.claims.tid) || g.EMPTY_STRING, d != null && d.spa_accountid && r.account && (r.account.nativeAccountId = d == null ? void 0 : d.spa_accountid), [2, {
7673
7673
  authority: t.canonicalAuthority,
7674
7674
  uniqueId: Ve,
7675
7675
  tenantId: Ct,
@@ -7684,11 +7684,11 @@ var wn = (
7684
7684
  requestId: p || g.EMPTY_STRING,
7685
7685
  extExpiresOn: Q,
7686
7686
  familyId: X,
7687
- tokenType: ((d = r.accessToken) === null || d === void 0 ? void 0 : d.tokenType) || g.EMPTY_STRING,
7687
+ tokenType: ((u = r.accessToken) === null || u === void 0 ? void 0 : u.tokenType) || g.EMPTY_STRING,
7688
7688
  state: s ? s.userRequestState : g.EMPTY_STRING,
7689
7689
  cloudGraphHostName: ((f = r.account) === null || f === void 0 ? void 0 : f.cloudGraphHostName) || g.EMPTY_STRING,
7690
7690
  msGraphHost: ((_ = r.account) === null || _ === void 0 ? void 0 : _.msGraphHost) || g.EMPTY_STRING,
7691
- code: u == null ? void 0 : u.spa_code,
7691
+ code: d == null ? void 0 : d.spa_code,
7692
7692
  fromNativeBroker: !1
7693
7693
  }];
7694
7694
  }
@@ -7720,24 +7720,24 @@ var ro = (
7720
7720
  });
7721
7721
  });
7722
7722
  }, e.prototype.acquireToken = function(t, r) {
7723
- var o, i, a, s, u, p;
7723
+ var o, i, a, s, d, p;
7724
7724
  return j(this, void 0, void 0, function() {
7725
- var d, f, _, k, E, N, Q = this;
7725
+ var u, f, _, k, E, N, Q = this;
7726
7726
  return K(this, function(X) {
7727
7727
  switch (X.label) {
7728
7728
  case 0:
7729
7729
  if (!t || !t.code)
7730
7730
  throw O.createTokenRequestCannotBeMadeError();
7731
- return (o = this.performanceClient) === null || o === void 0 || o.addQueueMeasurement(b.AuthClientAcquireToken, t.correlationId), d = (i = this.performanceClient) === null || i === void 0 ? void 0 : i.startMeasurement("AuthCodeClientAcquireToken", t.correlationId), this.logger.info("in acquireToken call in auth-code client"), f = Ke.nowSeconds(), (a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.AuthClientExecuteTokenRequest, t.correlationId), [4, this.executeTokenRequest(this.authority, t)];
7731
+ return (o = this.performanceClient) === null || o === void 0 || o.addQueueMeasurement(b.AuthClientAcquireToken, t.correlationId), u = (i = this.performanceClient) === null || i === void 0 ? void 0 : i.startMeasurement("AuthCodeClientAcquireToken", t.correlationId), this.logger.info("in acquireToken call in auth-code client"), f = Ke.nowSeconds(), (a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.AuthClientExecuteTokenRequest, t.correlationId), [4, this.executeTokenRequest(this.authority, t)];
7732
7732
  case 1:
7733
- return _ = X.sent(), k = (s = _.headers) === null || s === void 0 ? void 0 : s[De.X_MS_REQUEST_ID], E = (u = _.headers) === null || u === void 0 ? void 0 : u[De.X_MS_HTTP_VERSION], E && (d == null || d.addStaticFields({
7733
+ return _ = X.sent(), k = (s = _.headers) === null || s === void 0 ? void 0 : s[De.X_MS_REQUEST_ID], E = (d = _.headers) === null || d === void 0 ? void 0 : d[De.X_MS_HTTP_VERSION], E && (u == null || u.addStaticFields({
7734
7734
  httpVerAuthority: E
7735
7735
  })), N = new wn(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin, this.performanceClient), N.validateTokenResponse(_.body), (p = this.performanceClient) === null || p === void 0 || p.setPreQueueTime(b.HandleServerTokenResponse, t.correlationId), [2, N.handleServerTokenResponse(_.body, this.authority, f, t, r, void 0, void 0, void 0, k).then(function(G) {
7736
- return d == null || d.endMeasurement({
7736
+ return u == null || u.endMeasurement({
7737
7737
  success: !0
7738
7738
  }), G;
7739
7739
  }).catch(function(G) {
7740
- throw Q.logger.verbose("Error in fetching token in ACC", t.correlationId), d == null || d.endMeasurement({
7740
+ throw Q.logger.verbose("Error in fetching token in ACC", t.correlationId), u == null || u.endMeasurement({
7741
7741
  errorCode: G.errorCode,
7742
7742
  subErrorCode: G.subError,
7743
7743
  success: !1
@@ -7762,16 +7762,16 @@ var ro = (
7762
7762
  }, e.prototype.executeTokenRequest = function(t, r) {
7763
7763
  var o, i;
7764
7764
  return j(this, void 0, void 0, function() {
7765
- var a, s, u, p, d, f, _;
7765
+ var a, s, d, p, u, f, _;
7766
7766
  return K(this, function(k) {
7767
7767
  switch (k.label) {
7768
7768
  case 0:
7769
7769
  return (o = this.performanceClient) === null || o === void 0 || o.addQueueMeasurement(b.AuthClientExecuteTokenRequest, r.correlationId), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.AuthClientCreateTokenRequestBody, r.correlationId), a = this.createTokenQueryParameters(r), s = W.appendQueryString(t.tokenEndpoint, a), [4, this.createTokenRequestBody(r)];
7770
7770
  case 1:
7771
- if (u = k.sent(), p = void 0, r.clientInfo)
7771
+ if (d = k.sent(), p = void 0, r.clientInfo)
7772
7772
  try {
7773
- d = vn(r.clientInfo, this.cryptoUtils), p = {
7774
- credential: "" + d.uid + fe.CLIENT_INFO_SEPARATOR + d.utid,
7773
+ u = vn(r.clientInfo, this.cryptoUtils), p = {
7774
+ credential: "" + u.uid + fe.CLIENT_INFO_SEPARATOR + u.utid,
7775
7775
  type: Be.HOME_ACCOUNT_ID
7776
7776
  };
7777
7777
  } catch (E) {
@@ -7787,20 +7787,20 @@ var ro = (
7787
7787
  resourceRequestUri: r.resourceRequestUri,
7788
7788
  shrClaims: r.shrClaims,
7789
7789
  sshKid: r.sshKid
7790
- }, [2, this.executePostToTokenEndpoint(s, u, f, _)];
7790
+ }, [2, this.executePostToTokenEndpoint(s, d, f, _)];
7791
7791
  }
7792
7792
  });
7793
7793
  });
7794
7794
  }, e.prototype.createTokenRequestBody = function(t) {
7795
7795
  var r, o;
7796
7796
  return j(this, void 0, void 0, function() {
7797
- var i, a, s, u, p, d, f, f, _;
7797
+ var i, a, s, d, p, u, f, f, _;
7798
7798
  return K(this, function(k) {
7799
7799
  switch (k.label) {
7800
7800
  case 0:
7801
7801
  return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.AuthClientCreateTokenRequestBody, t.correlationId), i = new Xt(), i.addClientId(this.config.authOptions.clientId), this.includeRedirectUri ? i.addRedirectUri(t.redirectUri) : ft.validateRedirectUri(t.redirectUri), i.addScopes(t.scopes), i.addAuthorizationCode(t.code), i.addLibraryInfo(this.config.libraryInfo), i.addApplicationTelemetry(this.config.telemetry.application), i.addThrottling(), this.serverTelemetryManager && i.addServerTelemetry(this.serverTelemetryManager), t.codeVerifier && i.addCodeVerifier(t.codeVerifier), this.config.clientCredentials.clientSecret && i.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (a = this.config.clientCredentials.clientAssertion, i.addClientAssertion(a.assertion), i.addClientAssertionType(a.assertionType)), i.addGrantType(fn.AUTHORIZATION_CODE_GRANT), i.addClientInfo(), t.authenticationScheme !== te.POP ? [3, 2] : (s = new Ut(this.cryptoUtils, this.performanceClient), (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(b.PopTokenGenerateCnf, t.correlationId), [4, s.generateCnf(t)]);
7802
7802
  case 1:
7803
- return u = k.sent(), i.addPopToken(u.reqCnfString), [3, 3];
7803
+ return d = k.sent(), i.addPopToken(d.reqCnfString), [3, 3];
7804
7804
  case 2:
7805
7805
  if (t.authenticationScheme === te.SSH)
7806
7806
  if (t.sshJwk)
@@ -7809,9 +7809,9 @@ var ro = (
7809
7809
  throw ie.createMissingSshJwkError();
7810
7810
  k.label = 3;
7811
7811
  case 3:
7812
- if (p = t.correlationId || this.config.cryptoInterface.createNewGuid(), i.addCorrelationId(p), (!L.isEmptyObj(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && i.addClaims(t.claims, this.config.authOptions.clientCapabilities), d = void 0, t.clientInfo)
7812
+ if (p = t.correlationId || this.config.cryptoInterface.createNewGuid(), i.addCorrelationId(p), (!L.isEmptyObj(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && i.addClaims(t.claims, this.config.authOptions.clientCapabilities), u = void 0, t.clientInfo)
7813
7813
  try {
7814
- f = vn(t.clientInfo, this.cryptoUtils), d = {
7814
+ f = vn(t.clientInfo, this.cryptoUtils), u = {
7815
7815
  credential: "" + f.uid + fe.CLIENT_INFO_SEPARATOR + f.utid,
7816
7816
  type: Be.HOME_ACCOUNT_ID
7817
7817
  };
@@ -7819,18 +7819,18 @@ var ro = (
7819
7819
  this.logger.verbose("Could not parse client info for CCS Header: " + E);
7820
7820
  }
7821
7821
  else
7822
- d = t.ccsCredential;
7823
- if (this.config.systemOptions.preventCorsPreflight && d)
7824
- switch (d.type) {
7822
+ u = t.ccsCredential;
7823
+ if (this.config.systemOptions.preventCorsPreflight && u)
7824
+ switch (u.type) {
7825
7825
  case Be.HOME_ACCOUNT_ID:
7826
7826
  try {
7827
- f = Rt(d.credential), i.addCcsOid(f);
7827
+ f = Rt(u.credential), i.addCcsOid(f);
7828
7828
  } catch (E) {
7829
7829
  this.logger.verbose("Could not parse home account ID for CCS Header: " + E);
7830
7830
  }
7831
7831
  break;
7832
7832
  case Be.UPN:
7833
- i.addCcsUpn(d.credential);
7833
+ i.addCcsUpn(u.credential);
7834
7834
  break;
7835
7835
  }
7836
7836
  return t.tokenBodyParameters && i.addExtraQueryParameters(t.tokenBodyParameters), t.enableSpaAuthorizationCode && (!t.tokenBodyParameters || !t.tokenBodyParameters[V.RETURN_SPA_CODE]) && i.addExtraQueryParameters((_ = {}, _[V.RETURN_SPA_CODE] = "1", _)), [2, i.createQueryString()];
@@ -7840,7 +7840,7 @@ var ro = (
7840
7840
  }, e.prototype.createAuthCodeUrlQueryString = function(t) {
7841
7841
  var r;
7842
7842
  return j(this, void 0, void 0, function() {
7843
- var o, i, a, s, u, p, p, p, d, f;
7843
+ var o, i, a, s, d, p, p, p, u, f;
7844
7844
  return K(this, function(_) {
7845
7845
  switch (_.label) {
7846
7846
  case 0:
@@ -7848,8 +7848,8 @@ var ro = (
7848
7848
  if (t.sid && t.prompt === Te.NONE)
7849
7849
  this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"), o.addSid(t.sid);
7850
7850
  else if (t.account) {
7851
- if (s = this.extractAccountSid(t.account), u = this.extractLoginHint(t.account), u) {
7852
- this.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"), o.addLoginHint(u);
7851
+ if (s = this.extractAccountSid(t.account), d = this.extractLoginHint(t.account), d) {
7852
+ this.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"), o.addLoginHint(d);
7853
7853
  try {
7854
7854
  p = Rt(t.account.homeAccountId), o.addCcsOid(p);
7855
7855
  } catch {
@@ -7876,7 +7876,7 @@ var ro = (
7876
7876
  t.loginHint && (this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"), o.addLoginHint(t.loginHint), o.addCcsUpn(t.loginHint));
7877
7877
  else
7878
7878
  this.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");
7879
- return t.nonce && o.addNonce(t.nonce), t.state && o.addState(t.state), (!L.isEmpty(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && o.addClaims(t.claims, this.config.authOptions.clientCapabilities), t.extraQueryParameters && o.addExtraQueryParameters(t.extraQueryParameters), t.nativeBroker ? (o.addNativeBroker(), t.authenticationScheme !== te.POP ? [3, 2] : (d = new Ut(this.cryptoUtils), [4, d.generateCnf(t)])) : [3, 2];
7879
+ return t.nonce && o.addNonce(t.nonce), t.state && o.addState(t.state), (!L.isEmpty(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && o.addClaims(t.claims, this.config.authOptions.clientCapabilities), t.extraQueryParameters && o.addExtraQueryParameters(t.extraQueryParameters), t.nativeBroker ? (o.addNativeBroker(), t.authenticationScheme !== te.POP ? [3, 2] : (u = new Ut(this.cryptoUtils), [4, u.generateCnf(t)])) : [3, 2];
7880
7880
  case 1:
7881
7881
  f = _.sent(), o.addPopToken(f.reqCnfString), _.label = 2;
7882
7882
  case 2:
@@ -7905,24 +7905,24 @@ var oo = (
7905
7905
  return n.call(this, t, r) || this;
7906
7906
  }
7907
7907
  return e.prototype.acquireToken = function(t) {
7908
- var r, o, i, a, s, u, p;
7908
+ var r, o, i, a, s, d, p;
7909
7909
  return j(this, void 0, void 0, function() {
7910
- var d, f, _, k, E, N, Q = this;
7910
+ var u, f, _, k, E, N, Q = this;
7911
7911
  return K(this, function(X) {
7912
7912
  switch (X.label) {
7913
7913
  case 0:
7914
- return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.RefreshTokenClientAcquireToken, t.correlationId), d = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(b.RefreshTokenClientAcquireToken, t.correlationId), this.logger.verbose("RefreshTokenClientAcquireToken called", t.correlationId), f = Ke.nowSeconds(), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.RefreshTokenClientExecuteTokenRequest, t.correlationId), [4, this.executeTokenRequest(t, this.authority)];
7914
+ return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.RefreshTokenClientAcquireToken, t.correlationId), u = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(b.RefreshTokenClientAcquireToken, t.correlationId), this.logger.verbose("RefreshTokenClientAcquireToken called", t.correlationId), f = Ke.nowSeconds(), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.RefreshTokenClientExecuteTokenRequest, t.correlationId), [4, this.executeTokenRequest(t, this.authority)];
7915
7915
  case 1:
7916
- return _ = X.sent(), k = (a = _.headers) === null || a === void 0 ? void 0 : a[De.X_MS_HTTP_VERSION], d == null || d.addStaticFields({
7916
+ return _ = X.sent(), k = (a = _.headers) === null || a === void 0 ? void 0 : a[De.X_MS_HTTP_VERSION], u == null || u.addStaticFields({
7917
7917
  refreshTokenSize: ((s = _.body.refresh_token) === null || s === void 0 ? void 0 : s.length) || 0
7918
- }), k && (d == null || d.addStaticFields({
7918
+ }), k && (u == null || u.addStaticFields({
7919
7919
  httpVerToken: k
7920
- })), E = (u = _.headers) === null || u === void 0 ? void 0 : u[De.X_MS_REQUEST_ID], N = new wn(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin), N.validateTokenResponse(_.body), (p = this.performanceClient) === null || p === void 0 || p.setPreQueueTime(b.HandleServerTokenResponse, t.correlationId), [2, N.handleServerTokenResponse(_.body, this.authority, f, t, void 0, void 0, !0, t.forceCache, E).then(function(G) {
7921
- return d == null || d.endMeasurement({
7920
+ })), E = (d = _.headers) === null || d === void 0 ? void 0 : d[De.X_MS_REQUEST_ID], N = new wn(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin), N.validateTokenResponse(_.body), (p = this.performanceClient) === null || p === void 0 || p.setPreQueueTime(b.HandleServerTokenResponse, t.correlationId), [2, N.handleServerTokenResponse(_.body, this.authority, f, t, void 0, void 0, !0, t.forceCache, E).then(function(G) {
7921
+ return u == null || u.endMeasurement({
7922
7922
  success: !0
7923
7923
  }), G;
7924
7924
  }).catch(function(G) {
7925
- throw Q.logger.verbose("Error in fetching refresh token", t.correlationId), d == null || d.endMeasurement({
7925
+ throw Q.logger.verbose("Error in fetching refresh token", t.correlationId), u == null || u.endMeasurement({
7926
7926
  errorCode: G.errorCode,
7927
7927
  subErrorCode: G.subError,
7928
7928
  success: !1
@@ -7934,8 +7934,8 @@ var oo = (
7934
7934
  }, e.prototype.acquireTokenByRefreshToken = function(t) {
7935
7935
  var r, o, i, a;
7936
7936
  return j(this, void 0, void 0, function() {
7937
- var s, u, p;
7938
- return K(this, function(d) {
7937
+ var s, d, p;
7938
+ return K(this, function(u) {
7939
7939
  if (!t)
7940
7940
  throw ie.createEmptyTokenRequestError();
7941
7941
  if ((r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.RefreshTokenClientAcquireTokenByRefreshToken, t.correlationId), !t.account)
@@ -7944,7 +7944,7 @@ var oo = (
7944
7944
  try {
7945
7945
  return (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(b.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !0)];
7946
7946
  } catch (f) {
7947
- if (u = f instanceof Ye && f.errorCode === Mt.noTokensFoundError.code, p = f instanceof bt && f.errorCode === Tr.INVALID_GRANT_ERROR && f.subError === Tr.CLIENT_MISMATCH_ERROR, u || p)
7947
+ if (d = f instanceof Ye && f.errorCode === Mt.noTokensFoundError.code, p = f instanceof bt && f.errorCode === Tr.INVALID_GRANT_ERROR && f.subError === Tr.CLIENT_MISMATCH_ERROR, d || p)
7948
7948
  return (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !1)];
7949
7949
  throw f;
7950
7950
  }
@@ -7954,13 +7954,13 @@ var oo = (
7954
7954
  }, e.prototype.acquireTokenWithCachedRefreshToken = function(t, r) {
7955
7955
  var o, i, a;
7956
7956
  return j(this, void 0, void 0, function() {
7957
- var s, u, p;
7958
- return K(this, function(d) {
7959
- if ((o = this.performanceClient) === null || o === void 0 || o.addQueueMeasurement(b.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), s = (i = this.performanceClient) === null || i === void 0 ? void 0 : i.startMeasurement(b.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), this.logger.verbose("RefreshTokenClientAcquireTokenWithCachedRefreshToken called", t.correlationId), u = this.cacheManager.getRefreshToken(t.account, r), !u)
7957
+ var s, d, p;
7958
+ return K(this, function(u) {
7959
+ if ((o = this.performanceClient) === null || o === void 0 || o.addQueueMeasurement(b.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), s = (i = this.performanceClient) === null || i === void 0 ? void 0 : i.startMeasurement(b.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), this.logger.verbose("RefreshTokenClientAcquireTokenWithCachedRefreshToken called", t.correlationId), d = this.cacheManager.getRefreshToken(t.account, r), !d)
7960
7960
  throw s == null || s.discardMeasurement(), Ye.createNoTokensFoundError();
7961
7961
  return s == null || s.endMeasurement({
7962
7962
  success: !0
7963
- }), p = Z(Z({}, t), { refreshToken: u.secret, authenticationScheme: t.authenticationScheme || te.BEARER, ccsCredential: {
7963
+ }), p = Z(Z({}, t), { refreshToken: d.secret, authenticationScheme: t.authenticationScheme || te.BEARER, ccsCredential: {
7964
7964
  credential: t.account.homeAccountId,
7965
7965
  type: Be.HOME_ACCOUNT_ID
7966
7966
  } }), (a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.RefreshTokenClientAcquireToken, t.correlationId), [2, this.acquireToken(p)];
@@ -7969,13 +7969,13 @@ var oo = (
7969
7969
  }, e.prototype.executeTokenRequest = function(t, r) {
7970
7970
  var o, i, a;
7971
7971
  return j(this, void 0, void 0, function() {
7972
- var s, u, p, d, f, _;
7972
+ var s, d, p, u, f, _;
7973
7973
  return K(this, function(k) {
7974
7974
  switch (k.label) {
7975
7975
  case 0:
7976
- return (o = this.performanceClient) === null || o === void 0 || o.addQueueMeasurement(b.RefreshTokenClientExecuteTokenRequest, t.correlationId), s = (i = this.performanceClient) === null || i === void 0 ? void 0 : i.startMeasurement(b.RefreshTokenClientExecuteTokenRequest, t.correlationId), (a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.RefreshTokenClientCreateTokenRequestBody, t.correlationId), u = this.createTokenQueryParameters(t), p = W.appendQueryString(r.tokenEndpoint, u), [4, this.createTokenRequestBody(t)];
7976
+ return (o = this.performanceClient) === null || o === void 0 || o.addQueueMeasurement(b.RefreshTokenClientExecuteTokenRequest, t.correlationId), s = (i = this.performanceClient) === null || i === void 0 ? void 0 : i.startMeasurement(b.RefreshTokenClientExecuteTokenRequest, t.correlationId), (a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.RefreshTokenClientCreateTokenRequestBody, t.correlationId), d = this.createTokenQueryParameters(t), p = W.appendQueryString(r.tokenEndpoint, d), [4, this.createTokenRequestBody(t)];
7977
7977
  case 1:
7978
- return d = k.sent(), f = this.createTokenRequestHeaders(t.ccsCredential), _ = {
7978
+ return u = k.sent(), f = this.createTokenRequestHeaders(t.ccsCredential), _ = {
7979
7979
  clientId: this.config.authOptions.clientId,
7980
7980
  authority: r.canonicalAuthority,
7981
7981
  scopes: t.scopes,
@@ -7985,7 +7985,7 @@ var oo = (
7985
7985
  resourceRequestUri: t.resourceRequestUri,
7986
7986
  shrClaims: t.shrClaims,
7987
7987
  sshKid: t.sshKid
7988
- }, [2, this.executePostToTokenEndpoint(p, d, f, _).then(function(E) {
7988
+ }, [2, this.executePostToTokenEndpoint(p, u, f, _).then(function(E) {
7989
7989
  return s == null || s.endMeasurement({
7990
7990
  success: !0
7991
7991
  }), E;
@@ -8000,39 +8000,39 @@ var oo = (
8000
8000
  }, e.prototype.createTokenRequestBody = function(t) {
8001
8001
  var r, o, i;
8002
8002
  return j(this, void 0, void 0, function() {
8003
- var a, s, u, p, d, f, _;
8003
+ var a, s, d, p, u, f, _;
8004
8004
  return K(this, function(k) {
8005
8005
  switch (k.label) {
8006
8006
  case 0:
8007
- return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.RefreshTokenClientCreateTokenRequestBody, t.correlationId), a = t.correlationId, s = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(b.BaseClientCreateTokenRequestHeaders, a), u = new Xt(), u.addClientId(this.config.authOptions.clientId), u.addScopes(t.scopes), u.addGrantType(fn.REFRESH_TOKEN_GRANT), u.addClientInfo(), u.addLibraryInfo(this.config.libraryInfo), u.addApplicationTelemetry(this.config.telemetry.application), u.addThrottling(), this.serverTelemetryManager && u.addServerTelemetry(this.serverTelemetryManager), u.addCorrelationId(a), u.addRefreshToken(t.refreshToken), this.config.clientCredentials.clientSecret && u.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (p = this.config.clientCredentials.clientAssertion, u.addClientAssertion(p.assertion), u.addClientAssertionType(p.assertionType)), t.authenticationScheme !== te.POP ? [3, 2] : (d = new Ut(this.cryptoUtils, this.performanceClient), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.PopTokenGenerateCnf, t.correlationId), [4, d.generateCnf(t)]);
8007
+ return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.RefreshTokenClientCreateTokenRequestBody, t.correlationId), a = t.correlationId, s = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(b.BaseClientCreateTokenRequestHeaders, a), d = new Xt(), d.addClientId(this.config.authOptions.clientId), d.addScopes(t.scopes), d.addGrantType(fn.REFRESH_TOKEN_GRANT), d.addClientInfo(), d.addLibraryInfo(this.config.libraryInfo), d.addApplicationTelemetry(this.config.telemetry.application), d.addThrottling(), this.serverTelemetryManager && d.addServerTelemetry(this.serverTelemetryManager), d.addCorrelationId(a), d.addRefreshToken(t.refreshToken), this.config.clientCredentials.clientSecret && d.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (p = this.config.clientCredentials.clientAssertion, d.addClientAssertion(p.assertion), d.addClientAssertionType(p.assertionType)), t.authenticationScheme !== te.POP ? [3, 2] : (u = new Ut(this.cryptoUtils, this.performanceClient), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.PopTokenGenerateCnf, t.correlationId), [4, u.generateCnf(t)]);
8008
8008
  case 1:
8009
- return f = k.sent(), u.addPopToken(f.reqCnfString), [3, 3];
8009
+ return f = k.sent(), d.addPopToken(f.reqCnfString), [3, 3];
8010
8010
  case 2:
8011
8011
  if (t.authenticationScheme === te.SSH)
8012
8012
  if (t.sshJwk)
8013
- u.addSshJwk(t.sshJwk);
8013
+ d.addSshJwk(t.sshJwk);
8014
8014
  else
8015
8015
  throw s == null || s.endMeasurement({
8016
8016
  success: !1
8017
8017
  }), ie.createMissingSshJwkError();
8018
8018
  k.label = 3;
8019
8019
  case 3:
8020
- if ((!L.isEmptyObj(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && u.addClaims(t.claims, this.config.authOptions.clientCapabilities), this.config.systemOptions.preventCorsPreflight && t.ccsCredential)
8020
+ if ((!L.isEmptyObj(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && d.addClaims(t.claims, this.config.authOptions.clientCapabilities), this.config.systemOptions.preventCorsPreflight && t.ccsCredential)
8021
8021
  switch (t.ccsCredential.type) {
8022
8022
  case Be.HOME_ACCOUNT_ID:
8023
8023
  try {
8024
- _ = Rt(t.ccsCredential.credential), u.addCcsOid(_);
8024
+ _ = Rt(t.ccsCredential.credential), d.addCcsOid(_);
8025
8025
  } catch (E) {
8026
8026
  this.logger.verbose("Could not parse home account ID for CCS Header: " + E);
8027
8027
  }
8028
8028
  break;
8029
8029
  case Be.UPN:
8030
- u.addCcsUpn(t.ccsCredential.credential);
8030
+ d.addCcsUpn(t.ccsCredential.credential);
8031
8031
  break;
8032
8032
  }
8033
8033
  return s == null || s.endMeasurement({
8034
8034
  success: !0
8035
- }), [2, u.createQueryString()];
8035
+ }), [2, d.createQueryString()];
8036
8036
  }
8037
8037
  });
8038
8038
  });
@@ -8071,9 +8071,9 @@ var Oi = (
8071
8071
  }, e.prototype.acquireCachedToken = function(t) {
8072
8072
  var r, o, i, a, s;
8073
8073
  return j(this, void 0, void 0, function() {
8074
- var u, p;
8075
- return K(this, function(d) {
8076
- switch (d.label) {
8074
+ var d, p;
8075
+ return K(this, function(u) {
8076
+ switch (u.label) {
8077
8077
  case 0:
8078
8078
  if (!t)
8079
8079
  throw ie.createEmptyTokenRequestError();
@@ -8083,7 +8083,7 @@ var Oi = (
8083
8083
  throw (o = this.serverTelemetryManager) === null || o === void 0 || o.setCacheOutcome(ht.CLAIMS_REQUESTED_CACHE_SKIPPED), this.logger.info("SilentFlowClient:acquireCachedToken - Skipping cache because claims-based caching is disabled and claims were requested."), O.createRefreshRequiredError();
8084
8084
  if (!t.account)
8085
8085
  throw O.createNoAccountInSilentRequestError();
8086
- if (u = t.authority || this.authority.getPreferredCache(), p = this.cacheManager.readCacheRecord(t.account, t, u), p.accessToken) {
8086
+ if (d = t.authority || this.authority.getPreferredCache(), p = this.cacheManager.readCacheRecord(t.account, t, d), p.accessToken) {
8087
8087
  if (Ke.wasClockTurnedBack(p.accessToken.cachedAt) || Ke.isTokenExpired(p.accessToken.expiresOn, this.config.systemOptions.tokenRenewalOffsetSeconds))
8088
8088
  throw (a = this.serverTelemetryManager) === null || a === void 0 || a.setCacheOutcome(ht.CACHED_ACCESS_TOKEN_EXPIRED), this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token is expired or will expire within " + this.config.systemOptions.tokenRenewalOffsetSeconds + " seconds."), O.createRefreshRequiredError();
8089
8089
  if (p.accessToken.refreshOn && Ke.isTokenExpired(p.accessToken.refreshOn, 0))
@@ -8092,7 +8092,7 @@ var Oi = (
8092
8092
  throw (i = this.serverTelemetryManager) === null || i === void 0 || i.setCacheOutcome(ht.NO_CACHED_ACCESS_TOKEN), this.logger.info("SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties."), O.createRefreshRequiredError();
8093
8093
  return this.config.serverTelemetryManager && this.config.serverTelemetryManager.incrementCacheHits(), [4, this.generateResultFromCacheRecord(p, t)];
8094
8094
  case 1:
8095
- return [2, d.sent()];
8095
+ return [2, u.sent()];
8096
8096
  }
8097
8097
  });
8098
8098
  });
@@ -8167,31 +8167,31 @@ var Bi = (
8167
8167
  return n.prototype.detectRegion = function(e, t) {
8168
8168
  var r, o, i, a;
8169
8169
  return j(this, void 0, void 0, function() {
8170
- var s, u, p, d, f;
8170
+ var s, d, p, u, f;
8171
8171
  return K(this, function(_) {
8172
8172
  switch (_.label) {
8173
8173
  case 0:
8174
8174
  if ((r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.RegionDiscoveryDetectRegion, this.correlationId), s = e, s)
8175
8175
  return [3, 8];
8176
- u = n.IMDS_OPTIONS, _.label = 1;
8176
+ d = n.IMDS_OPTIONS, _.label = 1;
8177
8177
  case 1:
8178
- return _.trys.push([1, 6, , 7]), (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(b.RegionDiscoveryGetRegionFromIMDS, this.correlationId), [4, this.getRegionFromIMDS(g.IMDS_VERSION, u)];
8178
+ return _.trys.push([1, 6, , 7]), (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(b.RegionDiscoveryGetRegionFromIMDS, this.correlationId), [4, this.getRegionFromIMDS(g.IMDS_VERSION, d)];
8179
8179
  case 2:
8180
- return p = _.sent(), p.status === At.httpSuccess && (s = p.body, t.region_source = dt.IMDS), p.status !== At.httpBadRequest ? [3, 5] : ((i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.RegionDiscoveryGetCurrentVersion, this.correlationId), [4, this.getCurrentVersion(u)]);
8180
+ return p = _.sent(), p.status === At.httpSuccess && (s = p.body, t.region_source = ut.IMDS), p.status !== At.httpBadRequest ? [3, 5] : ((i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.RegionDiscoveryGetCurrentVersion, this.correlationId), [4, this.getCurrentVersion(d)]);
8181
8181
  case 3:
8182
- return d = _.sent(), d ? ((a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.RegionDiscoveryGetRegionFromIMDS, this.correlationId), [4, this.getRegionFromIMDS(d, u)]) : (t.region_source = dt.FAILED_AUTO_DETECTION, [2, null]);
8182
+ return u = _.sent(), u ? ((a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.RegionDiscoveryGetRegionFromIMDS, this.correlationId), [4, this.getRegionFromIMDS(u, d)]) : (t.region_source = ut.FAILED_AUTO_DETECTION, [2, null]);
8183
8183
  case 4:
8184
- f = _.sent(), f.status === At.httpSuccess && (s = f.body, t.region_source = dt.IMDS), _.label = 5;
8184
+ f = _.sent(), f.status === At.httpSuccess && (s = f.body, t.region_source = ut.IMDS), _.label = 5;
8185
8185
  case 5:
8186
8186
  return [3, 7];
8187
8187
  case 6:
8188
- return _.sent(), t.region_source = dt.FAILED_AUTO_DETECTION, [2, null];
8188
+ return _.sent(), t.region_source = ut.FAILED_AUTO_DETECTION, [2, null];
8189
8189
  case 7:
8190
8190
  return [3, 9];
8191
8191
  case 8:
8192
- t.region_source = dt.ENVIRONMENT_VARIABLE, _.label = 9;
8192
+ t.region_source = ut.ENVIRONMENT_VARIABLE, _.label = 9;
8193
8193
  case 9:
8194
- return s || (t.region_source = dt.FAILED_AUTO_DETECTION), [2, s || null];
8194
+ return s || (t.region_source = ut.FAILED_AUTO_DETECTION), [2, s || null];
8195
8195
  }
8196
8196
  });
8197
8197
  });
@@ -8389,13 +8389,13 @@ var rn = (
8389
8389
  return e.replace(/{tenant}|{tenantid}/g, this.tenant);
8390
8390
  }, n.prototype.replacePath = function(e) {
8391
8391
  var t = this, r = e, o = new W(this.metadata.canonical_authority), i = o.getUrlComponents(), a = i.PathSegments, s = this.canonicalAuthorityUrlComponents.PathSegments;
8392
- return s.forEach(function(u, p) {
8393
- var d = a[p];
8392
+ return s.forEach(function(d, p) {
8393
+ var u = a[p];
8394
8394
  if (p === 0 && t.canReplaceTenant(i)) {
8395
8395
  var f = new W(t.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];
8396
- d !== f && (t.logger.verbose("Replacing tenant domain name " + d + " with id " + f), d = f);
8396
+ u !== f && (t.logger.verbose("Replacing tenant domain name " + u + " with id " + f), u = f);
8397
8397
  }
8398
- u !== d && (r = r.replace("/" + d + "/", "/" + u + "/"));
8398
+ d !== u && (r = r.replace("/" + u + "/", "/" + d + "/"));
8399
8399
  }), this.replaceTenant(r);
8400
8400
  }, Object.defineProperty(n.prototype, "defaultOpenIdConfigurationEndpoint", {
8401
8401
  /**
@@ -8412,14 +8412,14 @@ var rn = (
8412
8412
  var e, t, r;
8413
8413
  return j(this, void 0, void 0, function() {
8414
8414
  var o, i, a, s;
8415
- return K(this, function(u) {
8416
- switch (u.label) {
8415
+ return K(this, function(d) {
8416
+ switch (d.label) {
8417
8417
  case 0:
8418
8418
  return (e = this.performanceClient) === null || e === void 0 || e.addQueueMeasurement(b.AuthorityResolveEndpointsAsync, this.correlationId), o = this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort), o || (o = new Qn(), o.updateCanonicalAuthority(this.canonicalAuthority)), (t = this.performanceClient) === null || t === void 0 || t.setPreQueueTime(b.AuthorityUpdateCloudDiscoveryMetadata, this.correlationId), [4, this.updateCloudDiscoveryMetadata(o)];
8419
8419
  case 1:
8420
- return i = u.sent(), this.canonicalAuthority = this.canonicalAuthority.replace(this.hostnameAndPort, o.preferred_network), (r = this.performanceClient) === null || r === void 0 || r.setPreQueueTime(b.AuthorityUpdateEndpointMetadata, this.correlationId), [4, this.updateEndpointMetadata(o)];
8420
+ return i = d.sent(), this.canonicalAuthority = this.canonicalAuthority.replace(this.hostnameAndPort, o.preferred_network), (r = this.performanceClient) === null || r === void 0 || r.setPreQueueTime(b.AuthorityUpdateEndpointMetadata, this.correlationId), [4, this.updateEndpointMetadata(o)];
8421
8421
  case 2:
8422
- return a = u.sent(), i !== Fe.CACHE && a !== Fe.CACHE && (o.resetExpiresAt(), o.updateCanonicalAuthority(this.canonicalAuthority)), s = this.cacheManager.generateAuthorityMetadataCacheKey(o.preferred_cache), this.cacheManager.setAuthorityMetadata(s, o), this.metadata = o, [
8422
+ return a = d.sent(), i !== Fe.CACHE && a !== Fe.CACHE && (o.resetExpiresAt(), o.updateCanonicalAuthority(this.canonicalAuthority)), s = this.cacheManager.generateAuthorityMetadataCacheKey(o.preferred_cache), this.cacheManager.setAuthorityMetadata(s, o), this.metadata = o, [
8423
8423
  2
8424
8424
  /*return*/
8425
8425
  ];
@@ -8429,21 +8429,21 @@ var rn = (
8429
8429
  }, n.prototype.updateEndpointMetadata = function(e) {
8430
8430
  var t, r, o, i, a, s;
8431
8431
  return j(this, void 0, void 0, function() {
8432
- var u, p;
8433
- return K(this, function(d) {
8434
- switch (d.label) {
8432
+ var d, p;
8433
+ return K(this, function(u) {
8434
+ switch (u.label) {
8435
8435
  case 0:
8436
- return (t = this.performanceClient) === null || t === void 0 || t.addQueueMeasurement(b.AuthorityUpdateEndpointMetadata, this.correlationId), u = this.getEndpointMetadataFromConfig(), u ? (e.updateEndpointMetadata(u, !1), [2, Fe.CONFIG]) : this.isAuthoritySameType(e) && e.endpointsFromNetwork && !e.isExpired() ? [2, Fe.CACHE] : ((r = this.performanceClient) === null || r === void 0 || r.setPreQueueTime(b.AuthorityGetEndpointMetadataFromNetwork, this.correlationId), [4, this.getEndpointMetadataFromNetwork()]);
8436
+ return (t = this.performanceClient) === null || t === void 0 || t.addQueueMeasurement(b.AuthorityUpdateEndpointMetadata, this.correlationId), d = this.getEndpointMetadataFromConfig(), d ? (e.updateEndpointMetadata(d, !1), [2, Fe.CONFIG]) : this.isAuthoritySameType(e) && e.endpointsFromNetwork && !e.isExpired() ? [2, Fe.CACHE] : ((r = this.performanceClient) === null || r === void 0 || r.setPreQueueTime(b.AuthorityGetEndpointMetadataFromNetwork, this.correlationId), [4, this.getEndpointMetadataFromNetwork()]);
8437
8437
  case 1:
8438
- return u = d.sent(), u ? !((o = this.authorityOptions.azureRegionConfiguration) === null || o === void 0) && o.azureRegion ? ((i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.AuthorityUpdateMetadataWithRegionalInformation, this.correlationId), [4, this.updateMetadataWithRegionalInformation(u)]) : [3, 3] : [3, 4];
8438
+ return d = u.sent(), d ? !((o = this.authorityOptions.azureRegionConfiguration) === null || o === void 0) && o.azureRegion ? ((i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.AuthorityUpdateMetadataWithRegionalInformation, this.correlationId), [4, this.updateMetadataWithRegionalInformation(d)]) : [3, 3] : [3, 4];
8439
8439
  case 2:
8440
- u = d.sent(), d.label = 3;
8440
+ d = u.sent(), u.label = 3;
8441
8441
  case 3:
8442
- return e.updateEndpointMetadata(u, !0), [2, Fe.NETWORK];
8442
+ return e.updateEndpointMetadata(d, !0), [2, Fe.NETWORK];
8443
8443
  case 4:
8444
8444
  return p = this.getEndpointMetadataFromHardcodedValues(), p && !this.authorityOptions.skipAuthorityMetadataCache ? !((a = this.authorityOptions.azureRegionConfiguration) === null || a === void 0) && a.azureRegion ? ((s = this.performanceClient) === null || s === void 0 || s.setPreQueueTime(b.AuthorityUpdateMetadataWithRegionalInformation, this.correlationId), [4, this.updateMetadataWithRegionalInformation(p)]) : [3, 6] : [3, 7];
8445
8445
  case 5:
8446
- p = d.sent(), d.label = 6;
8446
+ p = u.sent(), u.label = 6;
8447
8447
  case 6:
8448
8448
  return e.updateEndpointMetadata(p, !1), [2, Fe.HARDCODED_VALUES];
8449
8449
  case 7:
@@ -8490,14 +8490,14 @@ var rn = (
8490
8490
  var t, r, o, i;
8491
8491
  return j(this, void 0, void 0, function() {
8492
8492
  var a, s;
8493
- return K(this, function(u) {
8494
- switch (u.label) {
8493
+ return K(this, function(d) {
8494
+ switch (d.label) {
8495
8495
  case 0:
8496
8496
  return (t = this.performanceClient) === null || t === void 0 || t.addQueueMeasurement(b.AuthorityUpdateMetadataWithRegionalInformation, this.correlationId), a = (r = this.authorityOptions.azureRegionConfiguration) === null || r === void 0 ? void 0 : r.azureRegion, a ? a !== g.AZURE_REGION_AUTO_DISCOVER_FLAG ? (this.regionDiscoveryMetadata.region_outcome = Jt.CONFIGURED_NO_AUTO_DETECTION, this.regionDiscoveryMetadata.region_used = a, [2, n.replaceWithRegionalInformation(e, a)]) : ((o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(b.RegionDiscoveryDetectRegion, this.correlationId), [4, this.regionDiscovery.detectRegion((i = this.authorityOptions.azureRegionConfiguration) === null || i === void 0 ? void 0 : i.environmentRegion, this.regionDiscoveryMetadata)]) : [3, 2];
8497
8497
  case 1:
8498
- if (s = u.sent(), s)
8498
+ if (s = d.sent(), s)
8499
8499
  return this.regionDiscoveryMetadata.region_outcome = Jt.AUTO_DETECTION_REQUESTED_SUCCESSFUL, this.regionDiscoveryMetadata.region_used = s, [2, n.replaceWithRegionalInformation(e, s)];
8500
- this.regionDiscoveryMetadata.region_outcome = Jt.AUTO_DETECTION_REQUESTED_FAILED, u.label = 2;
8500
+ this.regionDiscoveryMetadata.region_outcome = Jt.AUTO_DETECTION_REQUESTED_FAILED, d.label = 2;
8501
8501
  case 2:
8502
8502
  return [2, e];
8503
8503
  }
@@ -8539,15 +8539,15 @@ var rn = (
8539
8539
  }, n.prototype.getCloudDiscoveryMetadataFromNetwork = function() {
8540
8540
  var e;
8541
8541
  return j(this, void 0, void 0, function() {
8542
- var t, r, o, i, a, s, u, p;
8543
- return K(this, function(d) {
8544
- switch (d.label) {
8542
+ var t, r, o, i, a, s, d, p;
8543
+ return K(this, function(u) {
8544
+ switch (u.label) {
8545
8545
  case 0:
8546
- (e = this.performanceClient) === null || e === void 0 || e.addQueueMeasurement(b.AuthorityGetCloudDiscoveryMetadataFromNetwork, this.correlationId), t = "" + g.AAD_INSTANCE_DISCOVERY_ENDPT + this.canonicalAuthority + "oauth2/v2.0/authorize", r = {}, o = null, d.label = 1;
8546
+ (e = this.performanceClient) === null || e === void 0 || e.addQueueMeasurement(b.AuthorityGetCloudDiscoveryMetadataFromNetwork, this.correlationId), t = "" + g.AAD_INSTANCE_DISCOVERY_ENDPT + this.canonicalAuthority + "oauth2/v2.0/authorize", r = {}, o = null, u.label = 1;
8547
8547
  case 1:
8548
- return d.trys.push([1, 3, , 4]), [4, this.networkInterface.sendGetRequestAsync(t, r)];
8548
+ return u.trys.push([1, 3, , 4]), [4, this.networkInterface.sendGetRequestAsync(t, r)];
8549
8549
  case 2:
8550
- if (i = d.sent(), a = void 0, s = void 0, Ui(i.body))
8550
+ if (i = u.sent(), a = void 0, s = void 0, Ui(i.body))
8551
8551
  a = i.body, s = a.metadata, this.logger.verbosePii("tenant_discovery_endpoint is: " + a.tenant_discovery_endpoint);
8552
8552
  else if (xi(i.body)) {
8553
8553
  if (this.logger.warning("A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: " + i.status), a = i.body, a.error === g.INVALID_INSTANCE)
@@ -8557,9 +8557,9 @@ var rn = (
8557
8557
  return this.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"), [2, null];
8558
8558
  return this.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."), o = n.getCloudDiscoveryMetadataFromNetworkResponse(s, this.hostnameAndPort), [3, 4];
8559
8559
  case 3:
8560
- return u = d.sent(), u instanceof D ? this.logger.error(`There was a network error while attempting to get the cloud discovery instance metadata.
8561
- Error: ` + u.errorCode + `
8562
- Error Description: ` + u.errorMessage) : (p = u, this.logger.error(`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.
8560
+ return d = u.sent(), d instanceof D ? this.logger.error(`There was a network error while attempting to get the cloud discovery instance metadata.
8561
+ Error: ` + d.errorCode + `
8562
+ Error Description: ` + d.errorMessage) : (p = d, this.logger.error(`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.
8563
8563
  Error: ` + p.name + `
8564
8564
  Error Description: ` + p.message)), [2, null];
8565
8565
  case 4:
@@ -8635,17 +8635,17 @@ var bn = (
8635
8635
  }
8636
8636
  return n.createDiscoveredInstance = function(e, t, r, o, i, a, s) {
8637
8637
  return j(this, void 0, void 0, function() {
8638
- var u, p, d;
8638
+ var d, p, u;
8639
8639
  return K(this, function(f) {
8640
8640
  switch (f.label) {
8641
8641
  case 0:
8642
- a == null || a.addQueueMeasurement(b.AuthorityFactoryCreateDiscoveredInstance, s), u = rn.transformCIAMAuthority(e), p = n.createInstance(u, t, r, o, i, a, s), f.label = 1;
8642
+ a == null || a.addQueueMeasurement(b.AuthorityFactoryCreateDiscoveredInstance, s), d = rn.transformCIAMAuthority(e), p = n.createInstance(d, t, r, o, i, a, s), f.label = 1;
8643
8643
  case 1:
8644
8644
  return f.trys.push([1, 3, , 4]), a == null || a.setPreQueueTime(b.AuthorityResolveEndpointsAsync, s), [4, p.resolveEndpointsAsync()];
8645
8645
  case 2:
8646
8646
  return f.sent(), [2, p];
8647
8647
  case 3:
8648
- throw d = f.sent(), O.createEndpointDiscoveryIncompleteError(d);
8648
+ throw u = f.sent(), O.createEndpointDiscoveryIncompleteError(u);
8649
8649
  case 4:
8650
8650
  return [
8651
8651
  2
@@ -8700,7 +8700,7 @@ var Di = {
8700
8700
  }
8701
8701
  };
8702
8702
  /*! @azure/msal-common v13.3.1 2023-10-27 */
8703
- var un = {
8703
+ var dn = {
8704
8704
  missingKidError: {
8705
8705
  code: "missing_kid_error",
8706
8706
  desc: "The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided."
@@ -8718,9 +8718,9 @@ var un = {
8718
8718
  return o.name = "JoseHeaderError", Object.setPrototypeOf(o, e.prototype), o;
8719
8719
  }
8720
8720
  return e.createMissingKidError = function() {
8721
- return new e(un.missingKidError.code, un.missingKidError.desc);
8721
+ return new e(dn.missingKidError.code, dn.missingKidError.desc);
8722
8722
  }, e.createMissingAlgError = function() {
8723
- return new e(un.missingAlgError.code, un.missingAlgError.desc);
8723
+ return new e(dn.missingAlgError.code, dn.missingAlgError.desc);
8724
8724
  }, e;
8725
8725
  }(D)
8726
8726
  );
@@ -8779,8 +8779,8 @@ var qi = (
8779
8779
  }, n.maxErrorsToSend = function(e) {
8780
8780
  var t, r = 0, o = 0, i = e.errors.length;
8781
8781
  for (t = 0; t < i; t++) {
8782
- var a = e.failedRequests[2 * t] || g.EMPTY_STRING, s = e.failedRequests[2 * t + 1] || g.EMPTY_STRING, u = e.errors[t] || g.EMPTY_STRING;
8783
- if (o += a.toString().length + s.toString().length + u.length + 3, o < ye.MAX_LAST_HEADER_BYTES)
8782
+ var a = e.failedRequests[2 * t] || g.EMPTY_STRING, s = e.failedRequests[2 * t + 1] || g.EMPTY_STRING, d = e.errors[t] || g.EMPTY_STRING;
8783
+ if (o += a.toString().length + s.toString().length + d.length + 3, o < ye.MAX_LAST_HEADER_BYTES)
8784
8784
  r += 1;
8785
8785
  else
8786
8786
  break;
@@ -8848,7 +8848,7 @@ var ao = (
8848
8848
  t || this.logger.info("PerformanceClient: No correlation id provided for " + e + ", generating", a), this.logger.trace("PerformanceClient: Performance measurement started for " + e, a);
8849
8849
  var s = this.startPerformanceMeasuremeant(e, a);
8850
8850
  s.startMeasurement();
8851
- var u = {
8851
+ var d = {
8852
8852
  eventId: this.generateId(),
8853
8853
  status: kn.InProgress,
8854
8854
  authority: this.authority,
@@ -8861,41 +8861,41 @@ var ao = (
8861
8861
  appName: (o = this.applicationTelemetry) === null || o === void 0 ? void 0 : o.appName,
8862
8862
  appVersion: (i = this.applicationTelemetry) === null || i === void 0 ? void 0 : i.appVersion
8863
8863
  };
8864
- return this.cacheEventByCorrelationId(u), {
8864
+ return this.cacheEventByCorrelationId(d), {
8865
8865
  endMeasurement: function(p) {
8866
- return r.endMeasurement(Z(Z({}, u), p), s);
8866
+ return r.endMeasurement(Z(Z({}, d), p), s);
8867
8867
  },
8868
8868
  discardMeasurement: function() {
8869
- return r.discardMeasurements(u.correlationId);
8869
+ return r.discardMeasurements(d.correlationId);
8870
8870
  },
8871
8871
  addStaticFields: function(p) {
8872
- return r.addStaticFields(p, u.correlationId);
8872
+ return r.addStaticFields(p, d.correlationId);
8873
8873
  },
8874
8874
  increment: function(p) {
8875
- return r.increment(p, u.correlationId);
8875
+ return r.increment(p, d.correlationId);
8876
8876
  },
8877
8877
  measurement: s,
8878
- event: u
8878
+ event: d
8879
8879
  };
8880
8880
  }, n.prototype.endMeasurement = function(e, t) {
8881
8881
  var r = this, o, i, a = this.eventsByCorrelationId.get(e.correlationId);
8882
8882
  if (!a)
8883
8883
  return this.logger.trace("PerformanceClient: Measurement not found for " + e.eventId, e.correlationId), null;
8884
- var s = e.eventId === a.eventId, u = {
8884
+ var s = e.eventId === a.eventId, d = {
8885
8885
  totalQueueTime: 0,
8886
8886
  totalQueueCount: 0,
8887
8887
  manuallyCompletedCount: 0
8888
8888
  };
8889
- s ? (u = this.getQueueInfo(e.correlationId), this.discardCache(a.correlationId)) : (o = a.incompleteSubMeasurements) === null || o === void 0 || o.delete(e.eventId), t == null || t.endMeasurement();
8889
+ s ? (d = this.getQueueInfo(e.correlationId), this.discardCache(a.correlationId)) : (o = a.incompleteSubMeasurements) === null || o === void 0 || o.delete(e.eventId), t == null || t.endMeasurement();
8890
8890
  var p = t == null ? void 0 : t.flushMeasurement();
8891
8891
  if (!p)
8892
8892
  return this.logger.trace("PerformanceClient: Performance measurement not taken", a.correlationId), null;
8893
8893
  if (this.logger.trace("PerformanceClient: Performance measurement ended for " + e.name + ": " + p + " ms", e.correlationId), !s)
8894
8894
  return a[e.name + "DurationMs"] = Math.floor(p), Z({}, a);
8895
- var d = Z(Z({}, a), e), f = 0;
8896
- return (i = d.incompleteSubMeasurements) === null || i === void 0 || i.forEach(function(_) {
8897
- r.logger.trace("PerformanceClient: Incomplete submeasurement " + _.name + " found for " + e.name, d.correlationId), f++;
8898
- }), d.incompleteSubMeasurements = void 0, d = Z(Z({}, d), { durationMs: Math.round(p), queuedTimeMs: u.totalQueueTime, queuedCount: u.totalQueueCount, queuedManuallyCompletedCount: u.manuallyCompletedCount, status: kn.Completed, incompleteSubsCount: f }), this.truncateIntegralFields(d, this.getIntFields()), this.emitEvents([d], e.correlationId), d;
8895
+ var u = Z(Z({}, a), e), f = 0;
8896
+ return (i = u.incompleteSubMeasurements) === null || i === void 0 || i.forEach(function(_) {
8897
+ r.logger.trace("PerformanceClient: Incomplete submeasurement " + _.name + " found for " + e.name, u.correlationId), f++;
8898
+ }), u.incompleteSubMeasurements = void 0, u = Z(Z({}, u), { durationMs: Math.round(p), queuedTimeMs: d.totalQueueTime, queuedCount: d.totalQueueCount, queuedManuallyCompletedCount: d.manuallyCompletedCount, status: kn.Completed, incompleteSubsCount: f }), this.truncateIntegralFields(u, this.getIntFields()), this.emitEvents([u], e.correlationId), u;
8899
8899
  }, n.prototype.addStaticFields = function(e, t) {
8900
8900
  this.logger.trace("PerformanceClient: Updating static fields");
8901
8901
  var r = this.eventsByCorrelationId.get(t);
@@ -9508,7 +9508,7 @@ var $n = (
9508
9508
  return this.internalStorage;
9509
9509
  }
9510
9510
  }, e.prototype.migrateCacheEntries = function() {
9511
- var t = this, r = g.CACHE_PREFIX + "." + he.ID_TOKEN, o = g.CACHE_PREFIX + "." + he.CLIENT_INFO, i = g.CACHE_PREFIX + "." + he.ERROR, a = g.CACHE_PREFIX + "." + he.ERROR_DESC, s = this.browserStorage.getItem(r), u = this.browserStorage.getItem(o), p = this.browserStorage.getItem(i), d = this.browserStorage.getItem(a), f = [s, u, p, d], _ = [he.ID_TOKEN, he.CLIENT_INFO, he.ERROR, he.ERROR_DESC];
9511
+ var t = this, r = g.CACHE_PREFIX + "." + he.ID_TOKEN, o = g.CACHE_PREFIX + "." + he.CLIENT_INFO, i = g.CACHE_PREFIX + "." + he.ERROR, a = g.CACHE_PREFIX + "." + he.ERROR_DESC, s = this.browserStorage.getItem(r), d = this.browserStorage.getItem(o), p = this.browserStorage.getItem(i), u = this.browserStorage.getItem(a), f = [s, d, p, u], _ = [he.ID_TOKEN, he.CLIENT_INFO, he.ERROR, he.ERROR_DESC];
9512
9512
  _.forEach(function(k, E) {
9513
9513
  return t.migrateCacheEntry(k, f[E]);
9514
9514
  });
@@ -9527,33 +9527,33 @@ var $n = (
9527
9527
  if (t.isCredentialKey(a)) {
9528
9528
  var s = t.getItem(a);
9529
9529
  if (s) {
9530
- var u = t.validateAndParseJson(s);
9531
- if (u && u.hasOwnProperty("credentialType"))
9532
- switch (u.credentialType) {
9530
+ var d = t.validateAndParseJson(s);
9531
+ if (d && d.hasOwnProperty("credentialType"))
9532
+ switch (d.credentialType) {
9533
9533
  case H.ID_TOKEN:
9534
- if (gt.isIdTokenEntity(u)) {
9534
+ if (gt.isIdTokenEntity(d)) {
9535
9535
  t.logger.trace("BrowserCacheManager:createKeyMaps - idToken found, saving key to token key map"), t.logger.tracePii("BrowserCacheManager:createKeyMaps - idToken with key: " + a + " found, saving key to token key map");
9536
- var p = Me.toObject(new gt(), u), d = t.updateCredentialCacheKey(a, p);
9537
- t.addTokenKey(d, H.ID_TOKEN);
9536
+ var p = Me.toObject(new gt(), d), u = t.updateCredentialCacheKey(a, p);
9537
+ t.addTokenKey(u, H.ID_TOKEN);
9538
9538
  return;
9539
9539
  } else
9540
9540
  t.logger.trace("BrowserCacheManager:createKeyMaps - key found matching idToken schema with value containing idToken credentialType field but value failed IdTokenEntity validation, skipping."), t.logger.tracePii("BrowserCacheManager:createKeyMaps - failed idToken validation on key: " + a);
9541
9541
  break;
9542
9542
  case H.ACCESS_TOKEN:
9543
9543
  case H.ACCESS_TOKEN_WITH_AUTH_SCHEME:
9544
- if (_t.isAccessTokenEntity(u)) {
9544
+ if (_t.isAccessTokenEntity(d)) {
9545
9545
  t.logger.trace("BrowserCacheManager:createKeyMaps - accessToken found, saving key to token key map"), t.logger.tracePii("BrowserCacheManager:createKeyMaps - accessToken with key: " + a + " found, saving key to token key map");
9546
- var f = Me.toObject(new _t(), u), d = t.updateCredentialCacheKey(a, f);
9547
- t.addTokenKey(d, H.ACCESS_TOKEN);
9546
+ var f = Me.toObject(new _t(), d), u = t.updateCredentialCacheKey(a, f);
9547
+ t.addTokenKey(u, H.ACCESS_TOKEN);
9548
9548
  return;
9549
9549
  } else
9550
9550
  t.logger.trace("BrowserCacheManager:createKeyMaps - key found matching accessToken schema with value containing accessToken credentialType field but value failed AccessTokenEntity validation, skipping."), t.logger.tracePii("BrowserCacheManager:createKeyMaps - failed accessToken validation on key: " + a);
9551
9551
  break;
9552
9552
  case H.REFRESH_TOKEN:
9553
- if (Pt.isRefreshTokenEntity(u)) {
9553
+ if (Pt.isRefreshTokenEntity(d)) {
9554
9554
  t.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"), t.logger.tracePii("BrowserCacheManager:createKeyMaps - refreshToken with key: " + a + " found, saving key to token key map");
9555
- var _ = Me.toObject(new Pt(), u), d = t.updateCredentialCacheKey(a, _);
9556
- t.addTokenKey(d, H.REFRESH_TOKEN);
9555
+ var _ = Me.toObject(new Pt(), d), u = t.updateCredentialCacheKey(a, _);
9556
+ t.addTokenKey(u, H.REFRESH_TOKEN);
9557
9557
  return;
9558
9558
  } else
9559
9559
  t.logger.trace("BrowserCacheManager:createKeyMaps - key found matching refreshToken schema with value containing refreshToken credentialType field but value failed RefreshTokenEntity validation, skipping."), t.logger.tracePii("BrowserCacheManager:createKeyMaps - failed refreshToken validation on key: " + a);
@@ -9914,21 +9914,21 @@ var $n = (
9914
9914
  this.logger.trace("BrowserCacheManager.updateCacheEntries called");
9915
9915
  var s = this.generateStateKey(t);
9916
9916
  this.setTemporaryCache(s, t, !1);
9917
- var u = this.generateNonceKey(t);
9918
- this.setTemporaryCache(u, r, !1);
9917
+ var d = this.generateNonceKey(t);
9918
+ this.setTemporaryCache(d, r, !1);
9919
9919
  var p = this.generateAuthorityKey(t);
9920
9920
  if (this.setTemporaryCache(p, o, !1), a) {
9921
- var d = {
9921
+ var u = {
9922
9922
  credential: a.homeAccountId,
9923
9923
  type: Be.HOME_ACCOUNT_ID
9924
9924
  };
9925
- this.setTemporaryCache(J.CCS_CREDENTIAL, JSON.stringify(d), !0);
9925
+ this.setTemporaryCache(J.CCS_CREDENTIAL, JSON.stringify(u), !0);
9926
9926
  } else if (!L.isEmpty(i)) {
9927
- var d = {
9927
+ var u = {
9928
9928
  credential: i,
9929
9929
  type: Be.UPN
9930
9930
  };
9931
- this.setTemporaryCache(J.CCS_CREDENTIAL, JSON.stringify(d), !0);
9931
+ this.setTemporaryCache(J.CCS_CREDENTIAL, JSON.stringify(u), !0);
9932
9932
  }
9933
9933
  }, e.prototype.resetRequestCache = function(t) {
9934
9934
  var r = this;
@@ -10150,9 +10150,9 @@ var Qi = (
10150
10150
  ), o.setXhrHeaders(s, r), s.onload = function() {
10151
10151
  (s.status < 200 || s.status >= 300) && (t === Ze.POST ? a(M.createPostRequestFailedError("Failed with status " + s.status, e)) : a(M.createGetRequestFailedError("Failed with status " + s.status, e)));
10152
10152
  try {
10153
- var u = JSON.parse(s.responseText), p = {
10153
+ var d = JSON.parse(s.responseText), p = {
10154
10154
  headers: o.getHeaderDict(s),
10155
- body: u,
10155
+ body: d,
10156
10156
  status: s.status
10157
10157
  };
10158
10158
  i(p);
@@ -10178,14 +10178,14 @@ var Qi = (
10178
10178
  }, n.prototype.getHeaderDict = function(e) {
10179
10179
  var t = e.getAllResponseHeaders(), r = t.trim().split(/[\r\n]+/), o = {};
10180
10180
  return r.forEach(function(i) {
10181
- var a = i.split(": "), s = a.shift(), u = a.join(": ");
10182
- s && u && (o[s] = u);
10181
+ var a = i.split(": "), s = a.shift(), d = a.join(": ");
10182
+ s && d && (o[s] = d);
10183
10183
  }), o;
10184
10184
  }, n;
10185
10185
  }()
10186
10186
  );
10187
10187
  /*! @azure/msal-browser v2.38.3 2023-10-27 */
10188
- var de = (
10188
+ var ue = (
10189
10189
  /** @class */
10190
10190
  function() {
10191
10191
  function n() {
@@ -10233,8 +10233,8 @@ var de = (
10233
10233
  var co = (
10234
10234
  /** @class */
10235
10235
  function() {
10236
- function n(e, t, r, o, i, a, s, u, p) {
10237
- this.config = e, this.browserStorage = t, this.browserCrypto = r, this.networkClient = this.config.system.networkClient, this.eventHandler = i, this.navigationClient = a, this.nativeMessageHandler = u, this.correlationId = p || this.browserCrypto.createNewGuid(), this.logger = o.clone(Qe.MSAL_SKU, en, this.correlationId), this.performanceClient = s;
10236
+ function n(e, t, r, o, i, a, s, d, p) {
10237
+ this.config = e, this.browserStorage = t, this.browserCrypto = r, this.networkClient = this.config.system.networkClient, this.eventHandler = i, this.navigationClient = a, this.nativeMessageHandler = d, this.correlationId = p || this.browserCrypto.createNewGuid(), this.logger = o.clone(Qe.MSAL_SKU, en, this.correlationId), this.performanceClient = s;
10238
10238
  }
10239
10239
  return n.prototype.clearCacheOnLogout = function(e) {
10240
10240
  return T(this, void 0, void 0, function() {
@@ -10303,8 +10303,8 @@ var co = (
10303
10303
  });
10304
10304
  }, n.prototype.getRedirectUri = function(e) {
10305
10305
  this.logger.verbose("getRedirectUri called");
10306
- var t = e || this.config.auth.redirectUri || de.getCurrentUri();
10307
- return W.getAbsoluteUrl(t, de.getCurrentUri());
10306
+ var t = e || this.config.auth.redirectUri || ue.getCurrentUri();
10307
+ return W.getAbsoluteUrl(t, ue.getCurrentUri());
10308
10308
  }, n.prototype.validateRequestAuthority = function(e, t) {
10309
10309
  return T(this, void 0, void 0, function() {
10310
10310
  var r;
@@ -10390,7 +10390,7 @@ var Ft = (
10390
10390
  this.logger.verbose("logoutHint was not set and account was not passed into logout request, logoutHint will not be set");
10391
10391
  else
10392
10392
  this.logger.verbose("logoutHint will not be set since no logout request was configured");
10393
- return !t || t.postLogoutRedirectUri !== null ? t && t.postLogoutRedirectUri ? (this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request", r.correlationId), r.postLogoutRedirectUri = W.getAbsoluteUrl(t.postLogoutRedirectUri, de.getCurrentUri())) : this.config.auth.postLogoutRedirectUri === null ? this.logger.verbose("postLogoutRedirectUri configured as null and no uri set on request, not passing post logout redirect", r.correlationId) : this.config.auth.postLogoutRedirectUri ? (this.logger.verbose("Setting postLogoutRedirectUri to configured uri", r.correlationId), r.postLogoutRedirectUri = W.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri, de.getCurrentUri())) : (this.logger.verbose("Setting postLogoutRedirectUri to current page", r.correlationId), r.postLogoutRedirectUri = W.getAbsoluteUrl(de.getCurrentUri(), de.getCurrentUri())) : this.logger.verbose("postLogoutRedirectUri passed as null, not setting post logout redirect uri", r.correlationId), r;
10393
+ return !t || t.postLogoutRedirectUri !== null ? t && t.postLogoutRedirectUri ? (this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request", r.correlationId), r.postLogoutRedirectUri = W.getAbsoluteUrl(t.postLogoutRedirectUri, ue.getCurrentUri())) : this.config.auth.postLogoutRedirectUri === null ? this.logger.verbose("postLogoutRedirectUri configured as null and no uri set on request, not passing post logout redirect", r.correlationId) : this.config.auth.postLogoutRedirectUri ? (this.logger.verbose("Setting postLogoutRedirectUri to configured uri", r.correlationId), r.postLogoutRedirectUri = W.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri, ue.getCurrentUri())) : (this.logger.verbose("Setting postLogoutRedirectUri to current page", r.correlationId), r.postLogoutRedirectUri = W.getAbsoluteUrl(ue.getCurrentUri(), ue.getCurrentUri())) : this.logger.verbose("postLogoutRedirectUri passed as null, not setting post logout redirect uri", r.correlationId), r;
10394
10394
  }, e.prototype.getLogoutHintFromIdTokenClaims = function(t) {
10395
10395
  var r = t.idTokenClaims;
10396
10396
  if (r) {
@@ -10466,7 +10466,7 @@ var Ft = (
10466
10466
  }, e.prototype.getDiscoveredAuthority = function(t, r) {
10467
10467
  var o;
10468
10468
  return T(this, void 0, void 0, function() {
10469
- var i, a, s, u;
10469
+ var i, a, s, d;
10470
10470
  return I(this, function(p) {
10471
10471
  switch (p.label) {
10472
10472
  case 0:
@@ -10476,16 +10476,16 @@ var Ft = (
10476
10476
  cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
10477
10477
  authorityMetadata: this.config.auth.authorityMetadata,
10478
10478
  skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache
10479
- }, s = t || this.config.auth.authority, u = rn.generateAuthority(s, r || this.config.auth.azureCloudOptions), this.logger.verbose("Creating discovered authority with configured authority", this.correlationId), this.performanceClient.setPreQueueTime(b.AuthorityFactoryCreateDiscoveredInstance, this.correlationId), [4, bn.createDiscoveredInstance(u, this.config.system.networkClient, this.browserStorage, a, this.logger, this.performanceClient, this.correlationId).then(function(d) {
10479
+ }, s = t || this.config.auth.authority, d = rn.generateAuthority(s, r || this.config.auth.azureCloudOptions), this.logger.verbose("Creating discovered authority with configured authority", this.correlationId), this.performanceClient.setPreQueueTime(b.AuthorityFactoryCreateDiscoveredInstance, this.correlationId), [4, bn.createDiscoveredInstance(d, this.config.system.networkClient, this.browserStorage, a, this.logger, this.performanceClient, this.correlationId).then(function(u) {
10480
10480
  return i.endMeasurement({
10481
10481
  success: !0
10482
- }), d;
10483
- }).catch(function(d) {
10482
+ }), u;
10483
+ }).catch(function(u) {
10484
10484
  throw i.endMeasurement({
10485
- errorCode: d.errorCode,
10486
- subErrorCode: d.subError,
10485
+ errorCode: u.errorCode,
10486
+ subErrorCode: u.subError,
10487
10487
  success: !1
10488
- }), d;
10488
+ }), u;
10489
10489
  })];
10490
10490
  case 1:
10491
10491
  return [2, p.sent()];
@@ -10494,15 +10494,15 @@ var Ft = (
10494
10494
  });
10495
10495
  }, e.prototype.initializeAuthorizationRequest = function(t, r) {
10496
10496
  return T(this, void 0, void 0, function() {
10497
- var o, i, a, s, u, p, d;
10497
+ var o, i, a, s, d, p, u;
10498
10498
  return I(this, function(f) {
10499
10499
  switch (f.label) {
10500
10500
  case 0:
10501
10501
  return this.performanceClient.addQueueMeasurement(b.StandardInteractionClientInitializeAuthorizationRequest, this.correlationId), this.logger.verbose("initializeAuthorizationRequest called", this.correlationId), o = this.getRedirectUri(t.redirectUri), i = {
10502
10502
  interactionType: r
10503
- }, a = st.setRequestState(this.browserCrypto, t && t.state || g.EMPTY_STRING, i), this.performanceClient.setPreQueueTime(b.InitializeBaseRequest, this.correlationId), u = [{}], [4, this.initializeBaseRequest(t)];
10503
+ }, a = st.setRequestState(this.browserCrypto, t && t.state || g.EMPTY_STRING, i), this.performanceClient.setPreQueueTime(b.InitializeBaseRequest, this.correlationId), d = [{}], [4, this.initializeBaseRequest(t)];
10504
10504
  case 1:
10505
- return s = B.apply(void 0, [B.apply(void 0, u.concat([f.sent()])), { redirectUri: o, state: a, nonce: t.nonce || this.browserCrypto.createNewGuid(), responseMode: mn.FRAGMENT }]), p = t.account || this.browserStorage.getActiveAccount(), p && (this.logger.verbose("Setting validated request account", this.correlationId), this.logger.verbosePii("Setting validated request account: " + p.homeAccountId, this.correlationId), s.account = p), L.isEmpty(s.loginHint) && !p && (d = this.browserStorage.getLegacyLoginHint(), d && (s.loginHint = d)), [2, s];
10505
+ return s = B.apply(void 0, [B.apply(void 0, d.concat([f.sent()])), { redirectUri: o, state: a, nonce: t.nonce || this.browserCrypto.createNewGuid(), responseMode: mn.FRAGMENT }]), p = t.account || this.browserStorage.getActiveAccount(), p && (this.logger.verbose("Setting validated request account", this.correlationId), this.logger.verbosePii("Setting validated request account: " + p.homeAccountId, this.correlationId), s.account = p), L.isEmpty(s.loginHint) && !p && (u = this.browserStorage.getLegacyLoginHint(), u && (s.loginHint = u)), [2, s];
10506
10506
  }
10507
10507
  });
10508
10508
  });
@@ -10519,7 +10519,7 @@ var or = (
10519
10519
  return n.prototype.handleCodeResponseFromHash = function(e, t, r, o) {
10520
10520
  return T(this, void 0, void 0, function() {
10521
10521
  var i, a, s;
10522
- return I(this, function(u) {
10522
+ return I(this, function(d) {
10523
10523
  if (this.performanceClient.addQueueMeasurement(b.HandleCodeResponseFromHash, this.authCodeRequest.correlationId), this.logger.verbose("InteractionHandler.handleCodeResponse called"), L.isEmpty(e))
10524
10524
  throw M.createEmptyHashError(e);
10525
10525
  if (i = this.browserStorage.generateStateKey(t), a = this.browserStorage.getTemporaryCache(i), !a)
@@ -10534,17 +10534,17 @@ var or = (
10534
10534
  });
10535
10535
  }, n.prototype.handleCodeResponseFromServer = function(e, t, r, o, i) {
10536
10536
  return i === void 0 && (i = !0), T(this, void 0, void 0, function() {
10537
- var a, s, u, p, d, f;
10537
+ var a, s, d, p, u, f;
10538
10538
  return I(this, function(_) {
10539
10539
  switch (_.label) {
10540
10540
  case 0:
10541
10541
  if (this.performanceClient.addQueueMeasurement(b.HandleCodeResponseFromServer, this.authCodeRequest.correlationId), this.logger.trace("InteractionHandler.handleCodeResponseFromServer called"), a = this.browserStorage.generateStateKey(t), s = this.browserStorage.getTemporaryCache(a), !s)
10542
10542
  throw O.createStateNotFoundError("Cached State");
10543
- return u = this.browserStorage.generateNonceKey(s), p = this.browserStorage.getTemporaryCache(u), this.authCodeRequest.code = e.code, e.cloud_instance_host_name ? (this.performanceClient.setPreQueueTime(b.UpdateTokenEndpointAuthority, this.authCodeRequest.correlationId), [4, this.updateTokenEndpointAuthority(e.cloud_instance_host_name, r, o)]) : [3, 2];
10543
+ return d = this.browserStorage.generateNonceKey(s), p = this.browserStorage.getTemporaryCache(d), this.authCodeRequest.code = e.code, e.cloud_instance_host_name ? (this.performanceClient.setPreQueueTime(b.UpdateTokenEndpointAuthority, this.authCodeRequest.correlationId), [4, this.updateTokenEndpointAuthority(e.cloud_instance_host_name, r, o)]) : [3, 2];
10544
10544
  case 1:
10545
10545
  _.sent(), _.label = 2;
10546
10546
  case 2:
10547
- return i && (e.nonce = p || void 0), e.state = s, e.client_info ? this.authCodeRequest.clientInfo = e.client_info : (d = this.checkCcsCredentials(), d && (this.authCodeRequest.ccsCredential = d)), this.performanceClient.setPreQueueTime(b.AuthClientAcquireToken, this.authCodeRequest.correlationId), [4, this.authModule.acquireToken(this.authCodeRequest, e)];
10547
+ return i && (e.nonce = p || void 0), e.state = s, e.client_info ? this.authCodeRequest.clientInfo = e.client_info : (u = this.checkCcsCredentials(), u && (this.authCodeRequest.ccsCredential = u)), this.performanceClient.setPreQueueTime(b.AuthClientAcquireToken, this.authCodeRequest.correlationId), [4, this.authModule.acquireToken(this.authCodeRequest, e)];
10548
10548
  case 3:
10549
10549
  return f = _.sent(), this.browserStorage.cleanRequestByState(t), [2, f];
10550
10550
  }
@@ -10583,8 +10583,8 @@ var Ur = (
10583
10583
  function(n) {
10584
10584
  be(e, n);
10585
10585
  function e(t, r, o, i, a, s) {
10586
- var u = n.call(this, t, r, o, i, s) || this;
10587
- return u.browserCrypto = a, u;
10586
+ var d = n.call(this, t, r, o, i, s) || this;
10587
+ return d.browserCrypto = a, d;
10588
10588
  }
10589
10589
  return e.prototype.initiateAuthRequest = function(t, r) {
10590
10590
  return T(this, void 0, void 0, function() {
@@ -10630,7 +10630,7 @@ var Ur = (
10630
10630
  });
10631
10631
  }, e.prototype.handleCodeResponseFromHash = function(t, r, o, i) {
10632
10632
  return T(this, void 0, void 0, function() {
10633
- var a, s, u, p, d, f, _;
10633
+ var a, s, d, p, u, f, _;
10634
10634
  return I(this, function(k) {
10635
10635
  switch (k.label) {
10636
10636
  case 0:
@@ -10639,15 +10639,15 @@ var Ur = (
10639
10639
  if (this.browserStorage.setInteractionInProgress(!1), a = this.browserStorage.generateStateKey(r), s = this.browserStorage.getTemporaryCache(a), !s)
10640
10640
  throw O.createStateNotFoundError("Cached State");
10641
10641
  try {
10642
- u = this.authModule.handleFragmentResponse(t, s);
10642
+ d = this.authModule.handleFragmentResponse(t, s);
10643
10643
  } catch (E) {
10644
10644
  throw E instanceof bt && E.subError === A.userCancelledError.code ? M.createUserCancelledError() : E;
10645
10645
  }
10646
- return p = this.browserStorage.generateNonceKey(s), d = this.browserStorage.getTemporaryCache(p), this.authCodeRequest.code = u.code, u.cloud_instance_host_name ? [4, this.updateTokenEndpointAuthority(u.cloud_instance_host_name, o, i)] : [3, 2];
10646
+ return p = this.browserStorage.generateNonceKey(s), u = this.browserStorage.getTemporaryCache(p), this.authCodeRequest.code = d.code, d.cloud_instance_host_name ? [4, this.updateTokenEndpointAuthority(d.cloud_instance_host_name, o, i)] : [3, 2];
10647
10647
  case 1:
10648
10648
  k.sent(), k.label = 2;
10649
10649
  case 2:
10650
- return u.nonce = d || void 0, u.state = s, u.client_info ? this.authCodeRequest.clientInfo = u.client_info : (f = this.checkCcsCredentials(), f && (this.authCodeRequest.ccsCredential = f)), [4, this.authModule.acquireToken(this.authCodeRequest, u)];
10650
+ return d.nonce = u || void 0, d.state = s, d.client_info ? this.authCodeRequest.clientInfo = d.client_info : (f = this.checkCcsCredentials(), f && (this.authCodeRequest.ccsCredential = f)), [4, this.authModule.acquireToken(this.authCodeRequest, d)];
10651
10651
  case 3:
10652
10652
  return _ = k.sent(), this.browserStorage.cleanRequestByState(r), [2, _];
10653
10653
  }
@@ -10726,21 +10726,21 @@ var lo = (
10726
10726
  return e.prototype.acquireToken = function(t) {
10727
10727
  return T(this, void 0, void 0, function() {
10728
10728
  var r, o, i, a, s;
10729
- return I(this, function(u) {
10730
- switch (u.label) {
10729
+ return I(this, function(d) {
10730
+ switch (d.label) {
10731
10731
  case 0:
10732
10732
  return r = this.performanceClient.startMeasurement(b.SilentCacheClientAcquireToken, t.correlationId), o = this.initializeServerTelemetryManager(oe.acquireTokenSilent_silentFlow), [4, this.createSilentFlowClient(o, t.authority, t.azureCloudOptions)];
10733
10733
  case 1:
10734
- i = u.sent(), this.logger.verbose("Silent auth client created"), u.label = 2;
10734
+ i = d.sent(), this.logger.verbose("Silent auth client created"), d.label = 2;
10735
10735
  case 2:
10736
- return u.trys.push([2, 4, , 5]), [4, i.acquireCachedToken(t)];
10736
+ return d.trys.push([2, 4, , 5]), [4, i.acquireCachedToken(t)];
10737
10737
  case 3:
10738
- return a = u.sent(), r.endMeasurement({
10738
+ return a = d.sent(), r.endMeasurement({
10739
10739
  success: !0,
10740
10740
  fromCache: !0
10741
10741
  }), [2, a];
10742
10742
  case 4:
10743
- throw s = u.sent(), s instanceof M && s.errorCode === A.signingKeyNotFoundInStorage.code && this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."), r.endMeasurement({
10743
+ throw s = d.sent(), s instanceof M && s.errorCode === A.signingKeyNotFoundInStorage.code && this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."), r.endMeasurement({
10744
10744
  errorCode: s instanceof D && s.errorCode || void 0,
10745
10745
  subErrorCode: s instanceof D && s.subError || void 0,
10746
10746
  success: !1
@@ -10787,36 +10787,36 @@ var Ot = (
10787
10787
  /** @class */
10788
10788
  function(n) {
10789
10789
  be(e, n);
10790
- function e(t, r, o, i, a, s, u, p, d, f, _, k) {
10791
- var E = n.call(this, t, r, o, i, a, s, p, d, k) || this;
10792
- return E.apiId = u, E.accountId = f, E.nativeMessageHandler = d, E.nativeStorageManager = _, E.silentCacheClient = new lo(t, E.nativeStorageManager, o, i, a, s, p, d, k), E;
10790
+ function e(t, r, o, i, a, s, d, p, u, f, _, k) {
10791
+ var E = n.call(this, t, r, o, i, a, s, p, u, k) || this;
10792
+ return E.apiId = d, E.accountId = f, E.nativeMessageHandler = u, E.nativeStorageManager = _, E.silentCacheClient = new lo(t, E.nativeStorageManager, o, i, a, s, p, u, k), E;
10793
10793
  }
10794
10794
  return e.prototype.acquireToken = function(t) {
10795
10795
  return T(this, void 0, void 0, function() {
10796
- var r, o, i, a, s, u, p;
10797
- return I(this, function(d) {
10798
- switch (d.label) {
10796
+ var r, o, i, a, s, d, p;
10797
+ return I(this, function(u) {
10798
+ switch (u.label) {
10799
10799
  case 0:
10800
10800
  return this.logger.trace("NativeInteractionClient - acquireToken called."), r = this.performanceClient.startMeasurement(b.NativeInteractionClientAcquireToken, t.correlationId), o = Ke.nowSeconds(), [4, this.initializeNativeRequest(t)];
10801
10801
  case 1:
10802
- i = d.sent(), d.label = 2;
10802
+ i = u.sent(), u.label = 2;
10803
10803
  case 2:
10804
- return d.trys.push([2, 4, , 5]), [4, this.acquireTokensFromCache(this.accountId, i)];
10804
+ return u.trys.push([2, 4, , 5]), [4, this.acquireTokensFromCache(this.accountId, i)];
10805
10805
  case 3:
10806
- return a = d.sent(), r.endMeasurement({
10806
+ return a = u.sent(), r.endMeasurement({
10807
10807
  success: !0,
10808
10808
  isNativeBroker: !1,
10809
10809
  fromCache: !0
10810
10810
  }), [2, a];
10811
10811
  case 4:
10812
- return d.sent(), this.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call"), [3, 5];
10812
+ return u.sent(), this.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call"), [3, 5];
10813
10813
  case 5:
10814
10814
  return s = {
10815
10815
  method: at.GetToken,
10816
10816
  request: i
10817
10817
  }, [4, this.nativeMessageHandler.sendMessage(s)];
10818
10818
  case 6:
10819
- return u = d.sent(), p = this.validateNativeResponse(u), [2, this.handleNativeResponse(p, i, o).then(function(f) {
10819
+ return d = u.sent(), p = this.validateNativeResponse(d), [2, this.handleNativeResponse(p, i, o).then(function(f) {
10820
10820
  return r.endMeasurement({
10821
10821
  success: !0,
10822
10822
  isNativeBroker: !0,
@@ -10844,20 +10844,20 @@ var Ot = (
10844
10844
  }, e.prototype.acquireTokensFromCache = function(t, r) {
10845
10845
  return T(this, void 0, void 0, function() {
10846
10846
  var o, i, a, s;
10847
- return I(this, function(u) {
10848
- switch (u.label) {
10847
+ return I(this, function(d) {
10848
+ switch (d.label) {
10849
10849
  case 0:
10850
10850
  if (!t)
10851
10851
  throw this.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"), O.createNoAccountFoundError();
10852
10852
  if (o = this.browserStorage.getAccountInfoFilteredBy({ nativeAccountId: t }), !o)
10853
10853
  throw O.createNoAccountFoundError();
10854
- u.label = 1;
10854
+ d.label = 1;
10855
10855
  case 1:
10856
- return u.trys.push([1, 3, , 4]), i = this.createSilentCacheRequest(r, o), [4, this.silentCacheClient.acquireToken(i)];
10856
+ return d.trys.push([1, 3, , 4]), i = this.createSilentCacheRequest(r, o), [4, this.silentCacheClient.acquireToken(i)];
10857
10857
  case 2:
10858
- return a = u.sent(), [2, a];
10858
+ return a = d.sent(), [2, a];
10859
10859
  case 3:
10860
- throw s = u.sent(), s;
10860
+ throw s = d.sent(), s;
10861
10861
  case 4:
10862
10862
  return [
10863
10863
  2
@@ -10868,7 +10868,7 @@ var Ot = (
10868
10868
  });
10869
10869
  }, e.prototype.acquireTokenRedirect = function(t) {
10870
10870
  return T(this, void 0, void 0, function() {
10871
- var r, o, i, a, s, u;
10871
+ var r, o, i, a, s, d;
10872
10872
  return I(this, function(p) {
10873
10873
  switch (p.label) {
10874
10874
  case 0:
@@ -10891,7 +10891,7 @@ var Ot = (
10891
10891
  apiId: oe.acquireTokenRedirect,
10892
10892
  timeout: this.config.system.redirectNavigationTimeout,
10893
10893
  noHistory: !1
10894
- }, u = this.config.auth.navigateToLoginRequestUrl ? window.location.href : this.getRedirectUri(t.redirectUri), [4, this.navigationClient.navigateExternal(u, s)];
10894
+ }, d = this.config.auth.navigateToLoginRequestUrl ? window.location.href : this.getRedirectUri(t.redirectUri), [4, this.navigationClient.navigateExternal(d, s)];
10895
10895
  case 6:
10896
10896
  return p.sent(), [
10897
10897
  2
@@ -10902,9 +10902,9 @@ var Ot = (
10902
10902
  });
10903
10903
  }, e.prototype.handleRedirectPromise = function() {
10904
10904
  return T(this, void 0, void 0, function() {
10905
- var t, r, o, i, a, s, u, p;
10906
- return I(this, function(d) {
10907
- switch (d.label) {
10905
+ var t, r, o, i, a, s, d, p;
10906
+ return I(this, function(u) {
10907
+ switch (u.label) {
10908
10908
  case 0:
10909
10909
  if (this.logger.trace("NativeInteractionClient - handleRedirectPromise called."), !this.browserStorage.isInteractionInProgress(!0))
10910
10910
  return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."), [2, null];
@@ -10913,13 +10913,13 @@ var Ot = (
10913
10913
  r = t.prompt, o = br(t, ["prompt"]), r && this.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."), this.browserStorage.removeItem(this.browserStorage.generateCacheKey(J.NATIVE_REQUEST)), i = {
10914
10914
  method: at.GetToken,
10915
10915
  request: o
10916
- }, a = Ke.nowSeconds(), d.label = 1;
10916
+ }, a = Ke.nowSeconds(), u.label = 1;
10917
10917
  case 1:
10918
- return d.trys.push([1, 3, , 4]), this.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker."), [4, this.nativeMessageHandler.sendMessage(i)];
10918
+ return u.trys.push([1, 3, , 4]), this.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker."), [4, this.nativeMessageHandler.sendMessage(i)];
10919
10919
  case 2:
10920
- return s = d.sent(), this.validateNativeResponse(s), u = this.handleNativeResponse(s, o, a), this.browserStorage.setInteractionInProgress(!1), [2, u];
10920
+ return s = u.sent(), this.validateNativeResponse(s), d = this.handleNativeResponse(s, o, a), this.browserStorage.setInteractionInProgress(!1), [2, d];
10921
10921
  case 3:
10922
- throw p = d.sent(), this.browserStorage.setInteractionInProgress(!1), p;
10922
+ throw p = u.sent(), this.browserStorage.setInteractionInProgress(!1), p;
10923
10923
  case 4:
10924
10924
  return [
10925
10925
  2
@@ -10932,7 +10932,7 @@ var Ot = (
10932
10932
  return this.logger.trace("NativeInteractionClient - logout called."), Promise.reject("Logout not implemented yet");
10933
10933
  }, e.prototype.handleNativeResponse = function(t, r, o) {
10934
10934
  return T(this, void 0, void 0, function() {
10935
- var i, a, s, u, p, d;
10935
+ var i, a, s, d, p, u;
10936
10936
  return I(this, function(f) {
10937
10937
  switch (f.label) {
10938
10938
  case 0:
@@ -10940,9 +10940,9 @@ var Ot = (
10940
10940
  throw tt.createUserSwitchError();
10941
10941
  return [4, this.getDiscoveredAuthority(r.authority)];
10942
10942
  case 1:
10943
- return i = f.sent(), a = i.getPreferredCache(), s = this.createIdTokenObj(t), u = this.createHomeAccountIdentifier(t, s), p = this.createAccountEntity(t, u, s, a), [4, this.generateAuthenticationResult(t, r, s, p, i.canonicalAuthority, o)];
10943
+ return i = f.sent(), a = i.getPreferredCache(), s = this.createIdTokenObj(t), d = this.createHomeAccountIdentifier(t, s), p = this.createAccountEntity(t, d, s, a), [4, this.generateAuthenticationResult(t, r, s, p, i.canonicalAuthority, o)];
10944
10944
  case 2:
10945
- return d = f.sent(), this.cacheAccount(p), this.cacheNativeTokens(t, r, u, p, s, d.accessToken, d.tenantId, o), [2, d];
10945
+ return u = f.sent(), this.cacheAccount(p), this.cacheNativeTokens(t, r, d, p, s, u.accessToken, u.tenantId, o), [2, u];
10946
10946
  }
10947
10947
  });
10948
10948
  });
@@ -10982,11 +10982,11 @@ var Ot = (
10982
10982
  });
10983
10983
  }, e.prototype.generateAuthenticationResult = function(t, r, o, i, a, s) {
10984
10984
  return T(this, void 0, void 0, function() {
10985
- var u, p, d, f, _, k, E, N;
10985
+ var d, p, u, f, _, k, E, N;
10986
10986
  return I(this, function(Q) {
10987
10987
  switch (Q.label) {
10988
10988
  case 0:
10989
- return u = this.addTelemetryFromNativeResponse(t), p = t.scope ? Ee.fromString(t.scope) : Ee.fromString(r.scope), d = t.account.properties || {}, f = d.UID || o.claims.oid || o.claims.sub || g.EMPTY_STRING, _ = d.TenantId || o.claims.tid || g.EMPTY_STRING, [4, this.generatePopAccessToken(t, r)];
10989
+ return d = this.addTelemetryFromNativeResponse(t), p = t.scope ? Ee.fromString(t.scope) : Ee.fromString(r.scope), u = t.account.properties || {}, f = u.UID || o.claims.oid || o.claims.sub || g.EMPTY_STRING, _ = u.TenantId || o.claims.tid || g.EMPTY_STRING, [4, this.generatePopAccessToken(t, r)];
10990
10990
  case 1:
10991
10991
  return k = Q.sent(), E = r.tokenType === te.POP ? te.POP : te.BEARER, N = {
10992
10992
  authority: a,
@@ -10997,7 +10997,7 @@ var Ot = (
10997
10997
  idToken: t.id_token,
10998
10998
  idTokenClaims: o.claims,
10999
10999
  accessToken: k,
11000
- fromCache: u ? this.isResponseFromCache(u) : !1,
11000
+ fromCache: d ? this.isResponseFromCache(d) : !1,
11001
11001
  expiresOn: new Date(Number(s + t.expires_in) * 1e3),
11002
11002
  tokenType: E,
11003
11003
  correlationId: this.correlationId,
@@ -11012,8 +11012,8 @@ var Ot = (
11012
11012
  this.browserStorage.setAccount(t), this.browserStorage.removeAccountContext(t).catch(function(o) {
11013
11013
  r.logger.error("Error occurred while removing account context from browser storage. " + o);
11014
11014
  });
11015
- }, e.prototype.cacheNativeTokens = function(t, r, o, i, a, s, u, p) {
11016
- var d = gt.createIdTokenEntity(o, r.authority, t.id_token || g.EMPTY_STRING, r.clientId, a.claims.tid || g.EMPTY_STRING), f = r.tokenType === te.POP ? g.SHR_NONCE_VALIDITY : (typeof t.expires_in == "string" ? parseInt(t.expires_in, 10) : t.expires_in) || 0, _ = p + f, k = this.generateScopes(t, r), E = _t.createAccessTokenEntity(o, r.authority, s, r.clientId, a ? a.claims.tid || g.EMPTY_STRING : u, k.printScopes(), _, 0, this.browserCrypto), N = new Zt(i, d, E);
11015
+ }, e.prototype.cacheNativeTokens = function(t, r, o, i, a, s, d, p) {
11016
+ var u = gt.createIdTokenEntity(o, r.authority, t.id_token || g.EMPTY_STRING, r.clientId, a.claims.tid || g.EMPTY_STRING), f = r.tokenType === te.POP ? g.SHR_NONCE_VALIDITY : (typeof t.expires_in == "string" ? parseInt(t.expires_in, 10) : t.expires_in) || 0, _ = p + f, k = this.generateScopes(t, r), E = _t.createAccessTokenEntity(o, r.authority, s, r.clientId, a ? a.claims.tid || g.EMPTY_STRING : d, k.printScopes(), _, 0, this.browserCrypto), N = new Zt(i, u, E);
11017
11017
  this.nativeStorageManager.saveCacheRecord(N);
11018
11018
  }, e.prototype.addTelemetryFromNativeResponse = function(t) {
11019
11019
  var r = this.getMATSFromResponse(t);
@@ -11050,7 +11050,7 @@ var Ot = (
11050
11050
  return typeof t.is_cached > "u" ? (this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."), !1) : !!t.is_cached;
11051
11051
  }, e.prototype.initializeNativeRequest = function(t) {
11052
11052
  return T(this, void 0, void 0, function() {
11053
- var r, o, i, a, s, u, p, d, f, _, k = this;
11053
+ var r, o, i, a, s, d, p, u, f, _, k = this;
11054
11054
  return I(this, function(E) {
11055
11055
  switch (E.label) {
11056
11056
  case 0:
@@ -11058,7 +11058,7 @@ var Ot = (
11058
11058
  case 1:
11059
11059
  E.sent(), E.label = 2;
11060
11060
  case 2:
11061
- return o = new W(r), o.validateAsUri(), i = t.scopes, a = br(t, ["scopes"]), s = new Ee(i || []), s.appendScopes(on), u = function() {
11061
+ return o = new W(r), o.validateAsUri(), i = t.scopes, a = br(t, ["scopes"]), s = new Ee(i || []), s.appendScopes(on), d = function() {
11062
11062
  switch (k.apiId) {
11063
11063
  case oe.ssoSilent:
11064
11064
  case oe.acquireTokenSilent_silentFlow:
@@ -11082,19 +11082,19 @@ var Ot = (
11082
11082
  authority: o.urlString,
11083
11083
  scope: s.printScopes(),
11084
11084
  redirectUri: this.getRedirectUri(t.redirectUri),
11085
- prompt: u(),
11085
+ prompt: d(),
11086
11086
  correlationId: this.correlationId,
11087
11087
  tokenType: t.authenticationScheme,
11088
11088
  windowTitleSubstring: document.title,
11089
11089
  extraParameters: B(B(B({}, t.extraQueryParameters), t.tokenQueryParameters), { telemetry: Gt.MATS_TELEMETRY }),
11090
11090
  extendedExpiryToken: !1
11091
11091
  // Make this configurable?
11092
- }), t.authenticationScheme !== te.POP ? [3, 4] : (d = {
11092
+ }), t.authenticationScheme !== te.POP ? [3, 4] : (u = {
11093
11093
  resourceRequestUri: t.resourceRequestUri,
11094
11094
  resourceRequestMethod: t.resourceRequestMethod,
11095
11095
  shrClaims: t.shrClaims,
11096
11096
  shrNonce: t.shrNonce
11097
- }, f = new Ut(this.browserCrypto), [4, f.generateCnf(d)]);
11097
+ }, f = new Ut(this.browserCrypto), [4, f.generateCnf(u)]);
11098
11098
  case 3:
11099
11099
  _ = E.sent(), p.reqCnf = _.reqCnfString, p.keyId = _.kid, E.label = 4;
11100
11100
  case 4:
@@ -11231,13 +11231,13 @@ var Yi = (
11231
11231
  /** @class */
11232
11232
  function(n) {
11233
11233
  be(e, n);
11234
- function e(t, r, o, i, a, s, u, p, d, f) {
11235
- var _ = n.call(this, t, r, o, i, a, s, u, d, f) || this;
11234
+ function e(t, r, o, i, a, s, d, p, u, f) {
11235
+ var _ = n.call(this, t, r, o, i, a, s, d, u, f) || this;
11236
11236
  return _.nativeStorage = p, _;
11237
11237
  }
11238
11238
  return e.prototype.acquireToken = function(t) {
11239
11239
  return T(this, void 0, void 0, function() {
11240
- var r, o, i, a, s, u, p, d, f, _ = this;
11240
+ var r, o, i, a, s, d, p, u, f, _ = this;
11241
11241
  return I(this, function(k) {
11242
11242
  switch (k.label) {
11243
11243
  case 0:
@@ -11251,12 +11251,12 @@ var Yi = (
11251
11251
  case 3:
11252
11252
  return a = k.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(o, r.authority, r.azureCloudOptions)];
11253
11253
  case 4:
11254
- return s = k.sent(), this.logger.verbose("Auth code client created"), u = new Ur(s, this.browserStorage, a, this.logger, this.browserCrypto, this.performanceClient), [4, s.getAuthCodeUrl(B(B({}, r), { nativeBroker: yt.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, t.authenticationScheme) }))];
11254
+ return s = k.sent(), this.logger.verbose("Auth code client created"), d = new Ur(s, this.browserStorage, a, this.logger, this.browserCrypto, this.performanceClient), [4, s.getAuthCodeUrl(B(B({}, r), { nativeBroker: yt.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, t.authenticationScheme) }))];
11255
11255
  case 5:
11256
- return p = k.sent(), d = this.getRedirectStartPage(t.redirectStartPage), this.logger.verbosePii("Redirect start page: " + d), window.addEventListener("pageshow", i), [4, u.initiateAuthRequest(p, {
11256
+ return p = k.sent(), u = this.getRedirectStartPage(t.redirectStartPage), this.logger.verbosePii("Redirect start page: " + u), window.addEventListener("pageshow", i), [4, d.initiateAuthRequest(p, {
11257
11257
  navigationClient: this.navigationClient,
11258
11258
  redirectTimeout: this.config.system.redirectNavigationTimeout,
11259
- redirectStartPage: d,
11259
+ redirectStartPage: u,
11260
11260
  onRedirectNavigate: t.onRedirectNavigate
11261
11261
  })];
11262
11262
  case 6:
@@ -11273,7 +11273,7 @@ var Yi = (
11273
11273
  });
11274
11274
  }, e.prototype.handleRedirectPromise = function(t) {
11275
11275
  return T(this, void 0, void 0, function() {
11276
- var r, o, i, a, s, u, p, d, f, _, k, E;
11276
+ var r, o, i, a, s, d, p, u, f, _, k, E;
11277
11277
  return I(this, function(N) {
11278
11278
  switch (N.label) {
11279
11279
  case 0:
@@ -11289,17 +11289,17 @@ var Yi = (
11289
11289
  } catch (Q) {
11290
11290
  return this.logger.info("handleRedirectPromise was unable to extract state due to: " + Q), this.browserStorage.cleanRequestByInteractionType(x.Redirect), [2, null];
11291
11291
  }
11292
- return s = this.browserStorage.getTemporaryCache(J.ORIGIN_URI, !0) || g.EMPTY_STRING, u = W.removeHashFromUrl(s), p = W.removeHashFromUrl(window.location.href), u === p && this.config.auth.navigateToLoginRequestUrl ? (this.logger.verbose("Current page is loginRequestUrl, handling hash"), [4, this.handleHash(o, i, r)]) : [3, 3];
11292
+ return s = this.browserStorage.getTemporaryCache(J.ORIGIN_URI, !0) || g.EMPTY_STRING, d = W.removeHashFromUrl(s), p = W.removeHashFromUrl(window.location.href), d === p && this.config.auth.navigateToLoginRequestUrl ? (this.logger.verbose("Current page is loginRequestUrl, handling hash"), [4, this.handleHash(o, i, r)]) : [3, 3];
11293
11293
  case 2:
11294
- return d = N.sent(), s.indexOf("#") > -1 && de.replaceHash(s), [2, d];
11294
+ return u = N.sent(), s.indexOf("#") > -1 && ue.replaceHash(s), [2, u];
11295
11295
  case 3:
11296
11296
  return this.config.auth.navigateToLoginRequestUrl ? [3, 4] : (this.logger.verbose("NavigateToLoginRequestUrl set to false, handling hash"), [2, this.handleHash(o, i, r)]);
11297
11297
  case 4:
11298
- return !de.isInIframe() || this.config.system.allowRedirectInIframe ? (this.browserStorage.setTemporaryCache(J.URL_HASH, o, !0), f = {
11298
+ return !ue.isInIframe() || this.config.system.allowRedirectInIframe ? (this.browserStorage.setTemporaryCache(J.URL_HASH, o, !0), f = {
11299
11299
  apiId: oe.handleRedirectPromise,
11300
11300
  timeout: this.config.system.redirectNavigationTimeout,
11301
11301
  noHistory: !0
11302
- }, _ = !0, !s || s === "null" ? (k = de.getHomepage(), this.browserStorage.setTemporaryCache(J.ORIGIN_URI, k, !0), this.logger.warning("Unable to get valid login request url from cache, redirecting to home page"), [4, this.navigationClient.navigateInternal(k, f)]) : [3, 6]) : [3, 9];
11302
+ }, _ = !0, !s || s === "null" ? (k = ue.getHomepage(), this.browserStorage.setTemporaryCache(J.ORIGIN_URI, k, !0), this.logger.warning("Unable to get valid login request url from cache, redirecting to home page"), [4, this.navigationClient.navigateInternal(k, f)]) : [3, 6]) : [3, 9];
11303
11303
  case 5:
11304
11304
  return _ = N.sent(), [3, 8];
11305
11305
  case 6:
@@ -11326,20 +11326,20 @@ var Yi = (
11326
11326
  this.logger.verbose("getRedirectResponseHash called");
11327
11327
  var r = W.hashContainsKnownProperties(t);
11328
11328
  if (r)
11329
- return de.clearHash(window), this.logger.verbose("Hash contains known properties, returning response hash"), t;
11329
+ return ue.clearHash(window), this.logger.verbose("Hash contains known properties, returning response hash"), t;
11330
11330
  var o = this.browserStorage.getTemporaryCache(J.URL_HASH, !0);
11331
11331
  return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(J.URL_HASH)), this.logger.verbose("Hash does not contain known properties, returning cached hash"), o;
11332
11332
  }, e.prototype.handleHash = function(t, r, o) {
11333
11333
  return T(this, void 0, void 0, function() {
11334
- var i, a, s, u, p, d, f, _ = this;
11334
+ var i, a, s, d, p, u, f, _ = this;
11335
11335
  return I(this, function(k) {
11336
11336
  switch (k.label) {
11337
11337
  case 0:
11338
11338
  if (i = this.browserStorage.getCachedRequest(r, this.browserCrypto), this.logger.verbose("handleHash called, retrieved cached request"), a = W.getDeserializedHash(t), a.accountId) {
11339
11339
  if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
11340
11340
  throw M.createNativeConnectionNotEstablishedError();
11341
- return s = new Ot(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, oe.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, a.accountId, this.nativeStorage, i.correlationId), u = st.parseRequestState(this.browserCrypto, r).userRequestState, [2, s.acquireToken(B(B({}, i), {
11342
- state: u,
11341
+ return s = new Ot(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, oe.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, a.accountId, this.nativeStorage, i.correlationId), d = st.parseRequestState(this.browserCrypto, r).userRequestState, [2, s.acquireToken(B(B({}, i), {
11342
+ state: d,
11343
11343
  prompt: void 0
11344
11344
  // Server should handle the prompt, ideally native broker can do this part silently
11345
11345
  })).finally(function() {
@@ -11350,7 +11350,7 @@ var Yi = (
11350
11350
  throw M.createNoCachedAuthorityError();
11351
11351
  return this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, i.correlationId), [4, this.createAuthCodeClient(o, p)];
11352
11352
  case 1:
11353
- return d = k.sent(), this.logger.verbose("Auth code client created"), yn.removeThrottle(this.browserStorage, this.config.auth.clientId, i), f = new Ur(d, this.browserStorage, i, this.logger, this.browserCrypto, this.performanceClient), [4, f.handleCodeResponseFromHash(t, r, d.authority, this.networkClient)];
11353
+ return u = k.sent(), this.logger.verbose("Auth code client created"), yn.removeThrottle(this.browserStorage, this.config.auth.clientId, i), f = new Ur(u, this.browserStorage, i, this.logger, this.browserCrypto, this.performanceClient), [4, f.handleCodeResponseFromHash(t, r, u.authority, this.networkClient)];
11354
11354
  case 2:
11355
11355
  return [2, k.sent()];
11356
11356
  }
@@ -11358,41 +11358,41 @@ var Yi = (
11358
11358
  });
11359
11359
  }, e.prototype.logout = function(t) {
11360
11360
  return T(this, void 0, void 0, function() {
11361
- var r, o, i, a, s, u, p;
11362
- return I(this, function(d) {
11363
- switch (d.label) {
11361
+ var r, o, i, a, s, d, p;
11362
+ return I(this, function(u) {
11363
+ switch (u.label) {
11364
11364
  case 0:
11365
- this.logger.verbose("logoutRedirect called"), r = this.initializeLogoutRequest(t), o = this.initializeServerTelemetryManager(oe.logout), d.label = 1;
11365
+ this.logger.verbose("logoutRedirect called"), r = this.initializeLogoutRequest(t), o = this.initializeServerTelemetryManager(oe.logout), u.label = 1;
11366
11366
  case 1:
11367
- return d.trys.push([1, 10, , 11]), this.eventHandler.emitEvent(q.LOGOUT_START, x.Redirect, t), [4, this.clearCacheOnLogout(r.account)];
11367
+ return u.trys.push([1, 10, , 11]), this.eventHandler.emitEvent(q.LOGOUT_START, x.Redirect, t), [4, this.clearCacheOnLogout(r.account)];
11368
11368
  case 2:
11369
- return d.sent(), i = {
11369
+ return u.sent(), i = {
11370
11370
  apiId: oe.logout,
11371
11371
  timeout: this.config.system.redirectNavigationTimeout,
11372
11372
  noHistory: !1
11373
11373
  }, this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, r.correlationId), [4, this.createAuthCodeClient(o, t && t.authority)];
11374
11374
  case 3:
11375
- return a = d.sent(), this.logger.verbose("Auth code client created"), s = a.getLogoutUri(r), this.eventHandler.emitEvent(q.LOGOUT_SUCCESS, x.Redirect, r), t && typeof t.onRedirectNavigate == "function" ? (u = t.onRedirectNavigate(s), u === !1 ? [3, 5] : (this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"), this.browserStorage.getInteractionInProgress() || this.browserStorage.setInteractionInProgress(!0), [4, this.navigationClient.navigateExternal(s, i)])) : [3, 7];
11375
+ return a = u.sent(), this.logger.verbose("Auth code client created"), s = a.getLogoutUri(r), this.eventHandler.emitEvent(q.LOGOUT_SUCCESS, x.Redirect, r), t && typeof t.onRedirectNavigate == "function" ? (d = t.onRedirectNavigate(s), d === !1 ? [3, 5] : (this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"), this.browserStorage.getInteractionInProgress() || this.browserStorage.setInteractionInProgress(!0), [4, this.navigationClient.navigateExternal(s, i)])) : [3, 7];
11376
11376
  case 4:
11377
- return d.sent(), [
11377
+ return u.sent(), [
11378
11378
  2
11379
11379
  /*return*/
11380
11380
  ];
11381
11381
  case 5:
11382
- this.browserStorage.setInteractionInProgress(!1), this.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation"), d.label = 6;
11382
+ this.browserStorage.setInteractionInProgress(!1), this.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation"), u.label = 6;
11383
11383
  case 6:
11384
11384
  return [3, 9];
11385
11385
  case 7:
11386
11386
  return this.browserStorage.getInteractionInProgress() || this.browserStorage.setInteractionInProgress(!0), [4, this.navigationClient.navigateExternal(s, i)];
11387
11387
  case 8:
11388
- return d.sent(), [
11388
+ return u.sent(), [
11389
11389
  2
11390
11390
  /*return*/
11391
11391
  ];
11392
11392
  case 9:
11393
11393
  return [3, 11];
11394
11394
  case 10:
11395
- throw p = d.sent(), p instanceof D && p.setCorrelationId(this.correlationId), o.cacheFailedRequest(p), this.eventHandler.emitEvent(q.LOGOUT_FAILURE, x.Redirect, null, p), this.eventHandler.emitEvent(q.LOGOUT_END, x.Redirect), p;
11395
+ throw p = u.sent(), p instanceof D && p.setCorrelationId(this.correlationId), o.cacheFailedRequest(p), this.eventHandler.emitEvent(q.LOGOUT_FAILURE, x.Redirect, null, p), this.eventHandler.emitEvent(q.LOGOUT_END, x.Redirect), p;
11396
11396
  case 11:
11397
11397
  return this.eventHandler.emitEvent(q.LOGOUT_END, x.Redirect), [
11398
11398
  2
@@ -11403,7 +11403,7 @@ var Yi = (
11403
11403
  });
11404
11404
  }, e.prototype.getRedirectStartPage = function(t) {
11405
11405
  var r = t || window.location.href;
11406
- return W.getAbsoluteUrl(r, de.getCurrentUri());
11406
+ return W.getAbsoluteUrl(r, ue.getCurrentUri());
11407
11407
  }, e;
11408
11408
  }(Ft)
11409
11409
  );
@@ -11412,8 +11412,8 @@ var Wi = (
11412
11412
  /** @class */
11413
11413
  function(n) {
11414
11414
  be(e, n);
11415
- function e(t, r, o, i, a, s, u, p, d, f) {
11416
- var _ = n.call(this, t, r, o, i, a, s, u, d, f) || this;
11415
+ function e(t, r, o, i, a, s, d, p, u, f) {
11416
+ var _ = n.call(this, t, r, o, i, a, s, d, u, f) || this;
11417
11417
  return _.unloadWindow = _.unloadWindow.bind(_), _.nativeStorage = p, _;
11418
11418
  }
11419
11419
  return e.prototype.acquireToken = function(t) {
@@ -11434,14 +11434,14 @@ var Wi = (
11434
11434
  if (this.config.system.asyncPopups)
11435
11435
  return this.logger.verbose("asyncPopups set to true"), this.logoutPopupAsync(r, o, s, i, void 0, a);
11436
11436
  this.logger.verbose("asyncPopup set to false, opening popup");
11437
- var u = this.openSizedPopup("about:blank", o, s);
11438
- return this.logoutPopupAsync(r, o, s, i, u, a);
11437
+ var d = this.openSizedPopup("about:blank", o, s);
11438
+ return this.logoutPopupAsync(r, o, s, i, d, a);
11439
11439
  } catch (p) {
11440
11440
  return Promise.reject(p);
11441
11441
  }
11442
11442
  }, e.prototype.acquireTokenPopupAsync = function(t, r, o, i) {
11443
11443
  return T(this, void 0, void 0, function() {
11444
- var a, s, u, p, d, f, _, k, E, N, Q, X, G, $, Ae, xe, Ve, Ct = this;
11444
+ var a, s, d, p, u, f, _, k, E, N, Q, X, G, $, Ae, xe, Ve, Ct = this;
11445
11445
  return I(this, function(ce) {
11446
11446
  switch (ce.label) {
11447
11447
  case 0:
@@ -11451,17 +11451,17 @@ var Wi = (
11451
11451
  case 2:
11452
11452
  return ce.trys.push([2, 8, , 9]), this.performanceClient.setPreQueueTime(b.StandardInteractionClientInitializeAuthorizationCodeRequest, t.correlationId), [4, this.initializeAuthorizationCodeRequest(s)];
11453
11453
  case 3:
11454
- return u = ce.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(a, s.authority, s.azureCloudOptions)];
11454
+ return d = ce.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(a, s.authority, s.azureCloudOptions)];
11455
11455
  case 4:
11456
- return p = ce.sent(), this.logger.verbose("Auth code client created"), d = yt.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, t.authenticationScheme), f = void 0, d && (f = this.performanceClient.startMeasurement(b.FetchAccountIdWithNativeBroker, t.correlationId)), [4, p.getAuthCodeUrl(B(B({}, s), { nativeBroker: d }))];
11456
+ return p = ce.sent(), this.logger.verbose("Auth code client created"), u = yt.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, t.authenticationScheme), f = void 0, u && (f = this.performanceClient.startMeasurement(b.FetchAccountIdWithNativeBroker, t.correlationId)), [4, p.getAuthCodeUrl(B(B({}, s), { nativeBroker: u }))];
11457
11457
  case 5:
11458
- return _ = ce.sent(), k = new or(p, this.browserStorage, u, this.logger, this.performanceClient), E = {
11458
+ return _ = ce.sent(), k = new or(p, this.browserStorage, d, this.logger, this.performanceClient), E = {
11459
11459
  popup: i,
11460
11460
  popupName: r,
11461
11461
  popupWindowAttributes: o
11462
11462
  }, N = this.initiateAuthRequest(_, E), this.eventHandler.emitEvent(q.POPUP_OPENED, x.Popup, { popupWindow: N }, null), [4, this.monitorPopupForHash(N)];
11463
11463
  case 6:
11464
- if (Q = ce.sent(), X = W.getDeserializedHash(Q), G = this.validateAndExtractStateFromHash(X, x.Popup, s.correlationId), yn.removeThrottle(this.browserStorage, this.config.auth.clientId, u), X.accountId) {
11464
+ if (Q = ce.sent(), X = W.getDeserializedHash(Q), G = this.validateAndExtractStateFromHash(X, x.Popup, s.correlationId), yn.removeThrottle(this.browserStorage, this.config.auth.clientId, d), X.accountId) {
11465
11465
  if (this.logger.verbose("Account id found in hash, calling WAM for token"), f && f.endMeasurement({
11466
11466
  success: !0,
11467
11467
  isNativeBroker: !0
@@ -11490,25 +11490,25 @@ var Wi = (
11490
11490
  });
11491
11491
  }, e.prototype.logoutPopupAsync = function(t, r, o, i, a, s) {
11492
11492
  return T(this, void 0, void 0, function() {
11493
- var u, p, d, f, _, k, E;
11493
+ var d, p, u, f, _, k, E;
11494
11494
  return I(this, function(N) {
11495
11495
  switch (N.label) {
11496
11496
  case 0:
11497
- this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(q.LOGOUT_START, x.Popup, t), u = this.initializeServerTelemetryManager(oe.logoutPopup), N.label = 1;
11497
+ this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(q.LOGOUT_START, x.Popup, t), d = this.initializeServerTelemetryManager(oe.logoutPopup), N.label = 1;
11498
11498
  case 1:
11499
11499
  return N.trys.push([1, 5, , 6]), [4, this.clearCacheOnLogout(t.account)];
11500
11500
  case 2:
11501
- return N.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(u, i)];
11501
+ return N.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(d, i)];
11502
11502
  case 3:
11503
- return p = N.sent(), this.logger.verbose("Auth code client created"), d = p.getLogoutUri(t), this.eventHandler.emitEvent(q.LOGOUT_SUCCESS, x.Popup, t), f = this.openPopup(d, { popupName: r, popupWindowAttributes: o, popup: a }), this.eventHandler.emitEvent(q.POPUP_OPENED, x.Popup, { popupWindow: f }, null), [4, this.waitForLogoutPopup(f)];
11503
+ return p = N.sent(), this.logger.verbose("Auth code client created"), u = p.getLogoutUri(t), this.eventHandler.emitEvent(q.LOGOUT_SUCCESS, x.Popup, t), f = this.openPopup(u, { popupName: r, popupWindowAttributes: o, popup: a }), this.eventHandler.emitEvent(q.POPUP_OPENED, x.Popup, { popupWindow: f }, null), [4, this.waitForLogoutPopup(f)];
11504
11504
  case 4:
11505
11505
  return N.sent(), s ? (_ = {
11506
11506
  apiId: oe.logoutPopup,
11507
11507
  timeout: this.config.system.redirectNavigationTimeout,
11508
11508
  noHistory: !1
11509
- }, k = W.getAbsoluteUrl(s, de.getCurrentUri()), this.logger.verbose("Redirecting main window to url specified in the request"), this.logger.verbosePii("Redirecting main window to: " + k), this.navigationClient.navigateInternal(k, _)) : this.logger.verbose("No main window navigation requested"), [3, 6];
11509
+ }, k = W.getAbsoluteUrl(s, ue.getCurrentUri()), this.logger.verbose("Redirecting main window to url specified in the request"), this.logger.verbosePii("Redirecting main window to: " + k), this.navigationClient.navigateInternal(k, _)) : this.logger.verbose("No main window navigation requested"), [3, 6];
11510
11510
  case 5:
11511
- throw E = N.sent(), a && a.close(), E instanceof D && E.setCorrelationId(this.correlationId), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(q.LOGOUT_FAILURE, x.Popup, null, E), this.eventHandler.emitEvent(q.LOGOUT_END, x.Popup), u.cacheFailedRequest(E), E;
11511
+ throw E = N.sent(), a && a.close(), E instanceof D && E.setCorrelationId(this.correlationId), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(q.LOGOUT_FAILURE, x.Popup, null, E), this.eventHandler.emitEvent(q.LOGOUT_END, x.Popup), d.cacheFailedRequest(E), E;
11512
11512
  case 6:
11513
11513
  return this.eventHandler.emitEvent(q.LOGOUT_END, x.Popup), [
11514
11514
  2
@@ -11526,17 +11526,17 @@ var Wi = (
11526
11526
  return new Promise(function(o, i) {
11527
11527
  var a = r.config.system.windowHashTimeout / r.config.system.pollIntervalMilliseconds, s = 0;
11528
11528
  r.logger.verbose("PopupHandler.monitorPopupForHash - polling started");
11529
- var u = setInterval(function() {
11529
+ var d = setInterval(function() {
11530
11530
  if (t.closed) {
11531
- r.logger.error("PopupHandler.monitorPopupForHash - window closed"), r.cleanPopup(), clearInterval(u), i(M.createUserCancelledError());
11531
+ r.logger.error("PopupHandler.monitorPopupForHash - window closed"), r.cleanPopup(), clearInterval(d), i(M.createUserCancelledError());
11532
11532
  return;
11533
11533
  }
11534
- var p = g.EMPTY_STRING, d = g.EMPTY_STRING;
11534
+ var p = g.EMPTY_STRING, u = g.EMPTY_STRING;
11535
11535
  try {
11536
- p = t.location.href, d = t.location.hash;
11536
+ p = t.location.href, u = t.location.hash;
11537
11537
  } catch {
11538
11538
  }
11539
- L.isEmpty(p) || p === "about:blank" || (r.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"), s++, d ? (r.logger.verbose("PopupHandler.monitorPopupForHash - found hash in url"), clearInterval(u), r.cleanPopup(t), W.hashContainsKnownProperties(d) ? (r.logger.verbose("PopupHandler.monitorPopupForHash - hash contains known properties, returning."), o(d)) : (r.logger.error("PopupHandler.monitorPopupForHash - found hash in url but it does not contain known properties. Check that your router is not changing the hash prematurely."), r.logger.errorPii("PopupHandler.monitorPopupForHash - hash found: " + d), i(M.createHashDoesNotContainKnownPropertiesError()))) : s > a && (r.logger.error("PopupHandler.monitorPopupForHash - unable to find hash in url, timing out"), clearInterval(u), i(M.createMonitorPopupTimeoutError())));
11539
+ L.isEmpty(p) || p === "about:blank" || (r.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"), s++, u ? (r.logger.verbose("PopupHandler.monitorPopupForHash - found hash in url"), clearInterval(d), r.cleanPopup(t), W.hashContainsKnownProperties(u) ? (r.logger.verbose("PopupHandler.monitorPopupForHash - hash contains known properties, returning."), o(u)) : (r.logger.error("PopupHandler.monitorPopupForHash - found hash in url but it does not contain known properties. Check that your router is not changing the hash prematurely."), r.logger.errorPii("PopupHandler.monitorPopupForHash - hash found: " + u), i(M.createHashDoesNotContainKnownPropertiesError()))) : s > a && (r.logger.error("PopupHandler.monitorPopupForHash - unable to find hash in url, timing out"), clearInterval(d), i(M.createMonitorPopupTimeoutError())));
11540
11540
  }, r.config.system.pollIntervalMilliseconds);
11541
11541
  });
11542
11542
  }, e.prototype.waitForLogoutPopup = function(t) {
@@ -11563,8 +11563,8 @@ var Wi = (
11563
11563
  throw this.logger.error("error opening popup " + i.message), this.browserStorage.setInteractionInProgress(!1), M.createPopupWindowError(i.toString());
11564
11564
  }
11565
11565
  }, e.prototype.openSizedPopup = function(t, r, o) {
11566
- var i, a, s, u, p = window.screenLeft ? window.screenLeft : window.screenX, d = window.screenTop ? window.screenTop : window.screenY, f = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, _ = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight, k = (i = o.popupSize) === null || i === void 0 ? void 0 : i.width, E = (a = o.popupSize) === null || a === void 0 ? void 0 : a.height, N = (s = o.popupPosition) === null || s === void 0 ? void 0 : s.top, Q = (u = o.popupPosition) === null || u === void 0 ? void 0 : u.left;
11567
- return (!k || k < 0 || k > f) && (this.logger.verbose("Default popup window width used. Window width not configured or invalid."), k = Qe.POPUP_WIDTH), (!E || E < 0 || E > _) && (this.logger.verbose("Default popup window height used. Window height not configured or invalid."), E = Qe.POPUP_HEIGHT), (!N || N < 0 || N > _) && (this.logger.verbose("Default popup window top position used. Window top not configured or invalid."), N = Math.max(0, _ / 2 - Qe.POPUP_HEIGHT / 2 + d)), (!Q || Q < 0 || Q > f) && (this.logger.verbose("Default popup window left position used. Window left not configured or invalid."), Q = Math.max(0, f / 2 - Qe.POPUP_WIDTH / 2 + p)), window.open(t, r, "width=" + k + ", height=" + E + ", top=" + N + ", left=" + Q + ", scrollbars=yes");
11566
+ var i, a, s, d, p = window.screenLeft ? window.screenLeft : window.screenX, u = window.screenTop ? window.screenTop : window.screenY, f = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, _ = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight, k = (i = o.popupSize) === null || i === void 0 ? void 0 : i.width, E = (a = o.popupSize) === null || a === void 0 ? void 0 : a.height, N = (s = o.popupPosition) === null || s === void 0 ? void 0 : s.top, Q = (d = o.popupPosition) === null || d === void 0 ? void 0 : d.left;
11567
+ return (!k || k < 0 || k > f) && (this.logger.verbose("Default popup window width used. Window width not configured or invalid."), k = Qe.POPUP_WIDTH), (!E || E < 0 || E > _) && (this.logger.verbose("Default popup window height used. Window height not configured or invalid."), E = Qe.POPUP_HEIGHT), (!N || N < 0 || N > _) && (this.logger.verbose("Default popup window top position used. Window top not configured or invalid."), N = Math.max(0, _ / 2 - Qe.POPUP_HEIGHT / 2 + u)), (!Q || Q < 0 || Q > f) && (this.logger.verbose("Default popup window left position used. Window left not configured or invalid."), Q = Math.max(0, f / 2 - Qe.POPUP_WIDTH / 2 + p)), window.open(t, r, "width=" + k + ", height=" + E + ", top=" + N + ", left=" + Q + ", scrollbars=yes");
11568
11568
  }, e.prototype.unloadWindow = function(t) {
11569
11569
  this.browserStorage.cleanRequestByInteractionType(x.Popup), this.currentWindow && this.currentWindow.close(), t.preventDefault();
11570
11570
  }, e.prototype.cleanPopup = function(t) {
@@ -11623,21 +11623,21 @@ function ea(n, e) {
11623
11623
  // Default cache migration to true if cache location is localStorage since entries are preserved across tabs/windows. Migration has little to no benefit in sessionStorage and memoryStorage
11624
11624
  cacheMigrationEnabled: !!(r && r.cacheLocation === pe.LocalStorage),
11625
11625
  claimsBasedCachingEnabled: !0
11626
- }, u = {
11626
+ }, d = {
11627
11627
  // eslint-disable-next-line @typescript-eslint/no-empty-function
11628
11628
  loggerCallback: function() {
11629
11629
  },
11630
11630
  logLevel: ve.Info,
11631
11631
  piiLoggingEnabled: !1
11632
11632
  }, p = B(B({}, no), {
11633
- loggerOptions: u,
11634
- networkClient: e ? de.getBrowserNetworkClient() : Di,
11633
+ loggerOptions: d,
11634
+ networkClient: e ? ue.getBrowserNetworkClient() : Di,
11635
11635
  navigationClient: new $i(),
11636
11636
  loadFrameTimeout: 0,
11637
11637
  // If loadFrameTimeout is provided, use that as default.
11638
11638
  windowHashTimeout: (o == null ? void 0 : o.loadFrameTimeout) || Ji,
11639
11639
  iframeHashTimeout: (o == null ? void 0 : o.loadFrameTimeout) || Jn,
11640
- navigateFrameWait: e && de.detectIEOrEdge() ? 500 : 0,
11640
+ navigateFrameWait: e && ue.detectIEOrEdge() ? 500 : 0,
11641
11641
  redirectNavigationTimeout: Xi,
11642
11642
  asyncPopups: !1,
11643
11643
  allowRedirectInIframe: !1,
@@ -11648,7 +11648,7 @@ function ea(n, e) {
11648
11648
  useMsrCrypto: !1,
11649
11649
  entropy: void 0
11650
11650
  }
11651
- }), d = B(B({}, o), { loggerOptions: (o == null ? void 0 : o.loggerOptions) || u }), f = {
11651
+ }), u = B(B({}, o), { loggerOptions: (o == null ? void 0 : o.loggerOptions) || d }), f = {
11652
11652
  application: {
11653
11653
  appName: g.EMPTY_STRING,
11654
11654
  appVersion: g.EMPTY_STRING
@@ -11656,7 +11656,7 @@ function ea(n, e) {
11656
11656
  }, _ = {
11657
11657
  auth: B(B({}, a), t),
11658
11658
  cache: B(B({}, s), r),
11659
- system: B(B({}, p), d),
11659
+ system: B(B({}, p), u),
11660
11660
  telemetry: B(B({}, f), i)
11661
11661
  };
11662
11662
  return _;
@@ -11667,8 +11667,8 @@ var uo = (
11667
11667
  function(n) {
11668
11668
  be(e, n);
11669
11669
  function e(t, r, o, i, a, s) {
11670
- var u = n.call(this, t, r, o, i, s) || this;
11671
- return u.navigateFrameWait = a.navigateFrameWait, u.pollIntervalMilliseconds = a.pollIntervalMilliseconds, u;
11670
+ var d = n.call(this, t, r, o, i, s) || this;
11671
+ return d.navigateFrameWait = a.navigateFrameWait, d.pollIntervalMilliseconds = a.pollIntervalMilliseconds, d;
11672
11672
  }
11673
11673
  return e.prototype.initiateAuthRequest = function(t) {
11674
11674
  return T(this, void 0, void 0, function() {
@@ -11689,17 +11689,17 @@ var uo = (
11689
11689
  var o = this;
11690
11690
  return this.performanceClient.addQueueMeasurement(b.SilentHandlerMonitorIframeForHash, this.authCodeRequest.correlationId), new Promise(function(i, a) {
11691
11691
  r < Jn && o.logger.warning("system.loadFrameTimeout or system.iframeHashTimeout set to lower (" + r + "ms) than the default (" + Jn + "ms). This may result in timeouts.");
11692
- var s = window.performance.now(), u = s + r, p = setInterval(function() {
11693
- if (window.performance.now() > u) {
11692
+ var s = window.performance.now(), d = s + r, p = setInterval(function() {
11693
+ if (window.performance.now() > d) {
11694
11694
  o.removeHiddenIframe(t), clearInterval(p), a(M.createMonitorIframeTimeoutError());
11695
11695
  return;
11696
11696
  }
11697
- var d = g.EMPTY_STRING, f = t.contentWindow;
11697
+ var u = g.EMPTY_STRING, f = t.contentWindow;
11698
11698
  try {
11699
- d = f ? f.location.href : g.EMPTY_STRING;
11699
+ u = f ? f.location.href : g.EMPTY_STRING;
11700
11700
  } catch {
11701
11701
  }
11702
- if (!L.isEmpty(d)) {
11702
+ if (!L.isEmpty(u)) {
11703
11703
  var _ = f ? f.location.hash : g.EMPTY_STRING;
11704
11704
  if (W.hashContainsKnownProperties(_)) {
11705
11705
  o.removeHiddenIframe(t), clearInterval(p), i(_);
@@ -11736,15 +11736,15 @@ var ta = (
11736
11736
  /** @class */
11737
11737
  function(n) {
11738
11738
  be(e, n);
11739
- function e(t, r, o, i, a, s, u, p, d, f, _) {
11739
+ function e(t, r, o, i, a, s, d, p, u, f, _) {
11740
11740
  var k = n.call(this, t, r, o, i, a, s, p, f, _) || this;
11741
- return k.apiId = u, k.nativeStorage = d, k;
11741
+ return k.apiId = d, k.nativeStorage = u, k;
11742
11742
  }
11743
11743
  return e.prototype.acquireToken = function(t) {
11744
11744
  return T(this, void 0, void 0, function() {
11745
11745
  var r, o, i, a, s;
11746
- return I(this, function(u) {
11747
- switch (u.label) {
11746
+ return I(this, function(d) {
11747
+ switch (d.label) {
11748
11748
  case 0:
11749
11749
  if (this.performanceClient.addQueueMeasurement(b.SilentIframeClientAcquireToken, t.correlationId), this.logger.verbose("acquireTokenByIframe called"), r = this.performanceClient.startMeasurement(b.SilentIframeClientAcquireToken, t.correlationId), L.isEmpty(t.loginHint) && L.isEmpty(t.sid) && (!t.account || L.isEmpty(t.account.username)) && this.logger.warning("No user hint provided. The authorization server may need more information to complete this request."), t.prompt && t.prompt !== Te.NONE && t.prompt !== Te.NO_SESSION)
11750
11750
  throw r.endMeasurement({
@@ -11752,11 +11752,11 @@ var ta = (
11752
11752
  }), M.createSilentPromptValueError(t.prompt);
11753
11753
  return this.performanceClient.setPreQueueTime(b.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(B(B({}, t), { prompt: t.prompt || Te.NONE }), x.Silent)];
11754
11754
  case 1:
11755
- o = u.sent(), this.browserStorage.updateCacheEntries(o.state, o.nonce, o.authority, o.loginHint || g.EMPTY_STRING, o.account || null), i = this.initializeServerTelemetryManager(this.apiId), u.label = 2;
11755
+ o = d.sent(), this.browserStorage.updateCacheEntries(o.state, o.nonce, o.authority, o.loginHint || g.EMPTY_STRING, o.account || null), i = this.initializeServerTelemetryManager(this.apiId), d.label = 2;
11756
11756
  case 2:
11757
- return u.trys.push([2, 5, , 6]), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(i, o.authority, o.azureCloudOptions)];
11757
+ return d.trys.push([2, 5, , 6]), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(i, o.authority, o.azureCloudOptions)];
11758
11758
  case 3:
11759
- return a = u.sent(), this.logger.verbose("Auth code client created"), this.performanceClient.setPreQueueTime(b.SilentIframeClientTokenHelper, t.correlationId), [4, this.silentTokenHelper(a, o).then(function(p) {
11759
+ return a = d.sent(), this.logger.verbose("Auth code client created"), this.performanceClient.setPreQueueTime(b.SilentIframeClientTokenHelper, t.correlationId), [4, this.silentTokenHelper(a, o).then(function(p) {
11760
11760
  return r.endMeasurement({
11761
11761
  success: !0,
11762
11762
  fromCache: !1,
@@ -11764,9 +11764,9 @@ var ta = (
11764
11764
  }), p;
11765
11765
  })];
11766
11766
  case 4:
11767
- return [2, u.sent()];
11767
+ return [2, d.sent()];
11768
11768
  case 5:
11769
- throw s = u.sent(), s instanceof D && s.setCorrelationId(this.correlationId), i.cacheFailedRequest(s), this.browserStorage.cleanRequestByState(o.state), r.endMeasurement({
11769
+ throw s = d.sent(), s instanceof D && s.setCorrelationId(this.correlationId), i.cacheFailedRequest(s), this.browserStorage.cleanRequestByState(o.state), r.endMeasurement({
11770
11770
  errorCode: s instanceof D && s.errorCode || void 0,
11771
11771
  subErrorCode: s instanceof D && s.subError || void 0,
11772
11772
  success: !1
@@ -11783,7 +11783,7 @@ var ta = (
11783
11783
  return Promise.reject(M.createSilentLogoutUnsupportedError());
11784
11784
  }, e.prototype.silentTokenHelper = function(t, r) {
11785
11785
  return T(this, void 0, void 0, function() {
11786
- var o, i, a, s, u, p, d, f, _, k = this;
11786
+ var o, i, a, s, d, p, u, f, _, k = this;
11787
11787
  return I(this, function(E) {
11788
11788
  switch (E.label) {
11789
11789
  case 0:
@@ -11795,14 +11795,14 @@ var ta = (
11795
11795
  case 3:
11796
11796
  return s = E.sent(), this.performanceClient.setPreQueueTime(b.SilentHandlerMonitorIframeForHash, r.correlationId), [4, a.monitorIframeForHash(s, this.config.system.iframeHashTimeout)];
11797
11797
  case 4:
11798
- if (u = E.sent(), p = W.getDeserializedHash(u), d = this.validateAndExtractStateFromHash(p, x.Silent, o.correlationId), p.accountId) {
11798
+ if (d = E.sent(), p = W.getDeserializedHash(d), u = this.validateAndExtractStateFromHash(p, x.Silent, o.correlationId), p.accountId) {
11799
11799
  if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
11800
11800
  throw M.createNativeConnectionNotEstablishedError();
11801
- return f = new Ot(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.apiId, this.performanceClient, this.nativeMessageHandler, p.accountId, this.browserStorage, this.correlationId), _ = st.parseRequestState(this.browserCrypto, d).userRequestState, [2, f.acquireToken(B(B({}, r), { state: _, prompt: r.prompt || Te.NONE })).finally(function() {
11802
- k.browserStorage.cleanRequestByState(d);
11801
+ return f = new Ot(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.apiId, this.performanceClient, this.nativeMessageHandler, p.accountId, this.browserStorage, this.correlationId), _ = st.parseRequestState(this.browserCrypto, u).userRequestState, [2, f.acquireToken(B(B({}, r), { state: _, prompt: r.prompt || Te.NONE })).finally(function() {
11802
+ k.browserStorage.cleanRequestByState(u);
11803
11803
  })];
11804
11804
  }
11805
- return this.performanceClient.setPreQueueTime(b.HandleCodeResponseFromHash, r.correlationId), [2, a.handleCodeResponseFromHash(u, d, t.authority, this.networkClient)];
11805
+ return this.performanceClient.setPreQueueTime(b.HandleCodeResponseFromHash, r.correlationId), [2, a.handleCodeResponseFromHash(d, u, t.authority, this.networkClient)];
11806
11806
  }
11807
11807
  });
11808
11808
  });
@@ -11819,7 +11819,7 @@ var na = (
11819
11819
  }
11820
11820
  return e.prototype.acquireToken = function(t) {
11821
11821
  return T(this, void 0, void 0, function() {
11822
- var r, o, i, a, s, u = this;
11822
+ var r, o, i, a, s, d = this;
11823
11823
  return I(this, function(p) {
11824
11824
  switch (p.label) {
11825
11825
  case 0:
@@ -11827,18 +11827,18 @@ var na = (
11827
11827
  case 1:
11828
11828
  return r = B.apply(void 0, o.concat([p.sent()])), i = this.performanceClient.startMeasurement(b.SilentRefreshClientAcquireToken, r.correlationId), a = this.initializeServerTelemetryManager(oe.acquireTokenSilent_silentFlow), [4, this.createRefreshTokenClient(a, r.authority, r.azureCloudOptions)];
11829
11829
  case 2:
11830
- return s = p.sent(), this.logger.verbose("Refresh token client created"), this.performanceClient.setPreQueueTime(b.RefreshTokenClientAcquireTokenByRefreshToken, t.correlationId), [2, s.acquireTokenByRefreshToken(r).then(function(d) {
11830
+ return s = p.sent(), this.logger.verbose("Refresh token client created"), this.performanceClient.setPreQueueTime(b.RefreshTokenClientAcquireTokenByRefreshToken, t.correlationId), [2, s.acquireTokenByRefreshToken(r).then(function(u) {
11831
11831
  return i.endMeasurement({
11832
11832
  success: !0,
11833
- fromCache: d.fromCache,
11834
- requestId: d.requestId
11835
- }), d;
11836
- }).catch(function(d) {
11837
- throw d instanceof D && d.setCorrelationId(u.correlationId), a.cacheFailedRequest(d), i.endMeasurement({
11838
- errorCode: d.errorCode,
11839
- subErrorCode: d.subError,
11833
+ fromCache: u.fromCache,
11834
+ requestId: u.requestId
11835
+ }), u;
11836
+ }).catch(function(u) {
11837
+ throw u instanceof D && u.setCorrelationId(d.correlationId), a.cacheFailedRequest(u), i.endMeasurement({
11838
+ errorCode: u.errorCode,
11839
+ subErrorCode: u.subError,
11840
11840
  success: !1
11841
- }), d;
11841
+ }), u;
11842
11842
  })];
11843
11843
  }
11844
11844
  });
@@ -11889,8 +11889,8 @@ var ra = (
11889
11889
  error: o || null,
11890
11890
  timestamp: Date.now()
11891
11891
  };
11892
- this.logger.info("Emitting event: " + e), this.eventCallbacks.forEach(function(s, u) {
11893
- i.logger.verbose("Emitting event to callback " + u + ": " + e), s.apply(null, [a]);
11892
+ this.logger.info("Emitting event: " + e), this.eventCallbacks.forEach(function(s, d) {
11893
+ i.logger.verbose("Emitting event to callback " + d + ": " + e), s.apply(null, [a]);
11894
11894
  });
11895
11895
  }
11896
11896
  }, n.prototype.handleAccountCacheChange = function(e) {
@@ -11953,8 +11953,8 @@ var ct = (
11953
11953
  return n.stringToUtf8Arr = function(e) {
11954
11954
  for (var t, r = 0, o = e.length, i = 0; i < o; i++)
11955
11955
  t = e.charCodeAt(i), r += t < 128 ? 1 : t < 2048 ? 2 : t < 65536 ? 3 : t < 2097152 ? 4 : t < 67108864 ? 5 : 6;
11956
- for (var a = new Uint8Array(r), s = 0, u = 0; s < r; u++)
11957
- t = e.charCodeAt(u), t < 128 ? a[s++] = t : t < 2048 ? (a[s++] = 192 + (t >>> 6), a[s++] = 128 + (t & 63)) : t < 65536 ? (a[s++] = 224 + (t >>> 12), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63)) : t < 2097152 ? (a[s++] = 240 + (t >>> 18), a[s++] = 128 + (t >>> 12 & 63), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63)) : t < 67108864 ? (a[s++] = 248 + (t >>> 24), a[s++] = 128 + (t >>> 18 & 63), a[s++] = 128 + (t >>> 12 & 63), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63)) : (a[s++] = 252 + (t >>> 30), a[s++] = 128 + (t >>> 24 & 63), a[s++] = 128 + (t >>> 18 & 63), a[s++] = 128 + (t >>> 12 & 63), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63));
11956
+ for (var a = new Uint8Array(r), s = 0, d = 0; s < r; d++)
11957
+ t = e.charCodeAt(d), t < 128 ? a[s++] = t : t < 2048 ? (a[s++] = 192 + (t >>> 6), a[s++] = 128 + (t & 63)) : t < 65536 ? (a[s++] = 224 + (t >>> 12), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63)) : t < 2097152 ? (a[s++] = 240 + (t >>> 18), a[s++] = 128 + (t >>> 12 & 63), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63)) : t < 67108864 ? (a[s++] = 248 + (t >>> 24), a[s++] = 128 + (t >>> 18 & 63), a[s++] = 128 + (t >>> 12 & 63), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63)) : (a[s++] = 252 + (t >>> 30), a[s++] = 128 + (t >>> 24 & 63), a[s++] = 128 + (t >>> 18 & 63), a[s++] = 128 + (t >>> 12 & 63), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63));
11958
11958
  return a;
11959
11959
  }, n.stringToArrayBuffer = function(e) {
11960
11960
  for (var t = new ArrayBuffer(e.length), r = new Uint8Array(t), o = 0; o < e.length; o++)
@@ -12034,10 +12034,10 @@ var oa = (
12034
12034
  var r = this.base64DecToArr(t);
12035
12035
  return ct.utf8ArrToString(r);
12036
12036
  }, n.prototype.base64DecToArr = function(e, t) {
12037
- for (var r = e.replace(/[^A-Za-z0-9\+\/]/g, g.EMPTY_STRING), o = r.length, i = t ? Math.ceil((o * 3 + 1 >>> 2) / t) * t : o * 3 + 1 >>> 2, a = new Uint8Array(i), s = void 0, u = void 0, p = 0, d = 0, f = 0; f < o; f++)
12038
- if (u = f & 3, p |= this.b64ToUint6(r.charCodeAt(f)) << 18 - 6 * u, u === 3 || o - f === 1) {
12039
- for (s = 0; s < 3 && d < i; s++, d++)
12040
- a[d] = p >>> (16 >>> s & 24) & 255;
12037
+ for (var r = e.replace(/[^A-Za-z0-9\+\/]/g, g.EMPTY_STRING), o = r.length, i = t ? Math.ceil((o * 3 + 1 >>> 2) / t) * t : o * 3 + 1 >>> 2, a = new Uint8Array(i), s = void 0, d = void 0, p = 0, u = 0, f = 0; f < o; f++)
12038
+ if (d = f & 3, p |= this.b64ToUint6(r.charCodeAt(f)) << 18 - 6 * d, d === 3 || o - f === 1) {
12039
+ for (s = 0; s < 3 && u < i; s++, u++)
12040
+ a[u] = p >>> (16 >>> s & 24) & 255;
12041
12041
  p = 0;
12042
12042
  }
12043
12043
  return a;
@@ -12196,10 +12196,10 @@ var la = (
12196
12196
  return I(this, function(o) {
12197
12197
  return [2, new Promise(function(i, a) {
12198
12198
  var s = window.msCrypto.subtle.generateKey(e, t, r);
12199
- s.addEventListener("complete", function(u) {
12200
- i(u.target.result);
12201
- }), s.addEventListener("error", function(u) {
12202
- a(u);
12199
+ s.addEventListener("complete", function(d) {
12200
+ i(d.target.result);
12201
+ }), s.addEventListener("error", function(d) {
12202
+ a(d);
12203
12203
  });
12204
12204
  })];
12205
12205
  });
@@ -12210,9 +12210,9 @@ var la = (
12210
12210
  return [2, new Promise(function(r, o) {
12211
12211
  var i = window.msCrypto.subtle.exportKey(xt, e);
12212
12212
  i.addEventListener("complete", function(a) {
12213
- var s = a.target.result, u = ct.utf8ArrToString(new Uint8Array(s)).replace(/\r/g, g.EMPTY_STRING).replace(/\n/g, g.EMPTY_STRING).replace(/\t/g, g.EMPTY_STRING).split(" ").join(g.EMPTY_STRING).replace("\0", g.EMPTY_STRING);
12213
+ var s = a.target.result, d = ct.utf8ArrToString(new Uint8Array(s)).replace(/\r/g, g.EMPTY_STRING).replace(/\n/g, g.EMPTY_STRING).replace(/\t/g, g.EMPTY_STRING).split(" ").join(g.EMPTY_STRING).replace("\0", g.EMPTY_STRING);
12214
12214
  try {
12215
- r(JSON.parse(u));
12215
+ r(JSON.parse(d));
12216
12216
  } catch (p) {
12217
12217
  o(p);
12218
12218
  }
@@ -12226,11 +12226,11 @@ var la = (
12226
12226
  return T(this, void 0, void 0, function() {
12227
12227
  var i, a;
12228
12228
  return I(this, function(s) {
12229
- return i = ct.getSortedObjectString(e), a = ct.stringToArrayBuffer(i), [2, new Promise(function(u, p) {
12230
- var d = window.msCrypto.subtle.importKey(xt, a, t, r, o);
12231
- d.addEventListener("complete", function(f) {
12232
- u(f.target.result);
12233
- }), d.addEventListener("error", function(f) {
12229
+ return i = ct.getSortedObjectString(e), a = ct.stringToArrayBuffer(i), [2, new Promise(function(d, p) {
12230
+ var u = window.msCrypto.subtle.importKey(xt, a, t, r, o);
12231
+ u.addEventListener("complete", function(f) {
12232
+ d(f.target.result);
12233
+ }), u.addEventListener("error", function(f) {
12234
12234
  p(f);
12235
12235
  });
12236
12236
  })];
@@ -12241,10 +12241,10 @@ var la = (
12241
12241
  return I(this, function(o) {
12242
12242
  return [2, new Promise(function(i, a) {
12243
12243
  var s = window.msCrypto.subtle.sign(e, t, r);
12244
- s.addEventListener("complete", function(u) {
12245
- i(u.target.result);
12246
- }), s.addEventListener("error", function(u) {
12247
- a(u);
12244
+ s.addEventListener("complete", function(d) {
12245
+ i(d.target.result);
12246
+ }), s.addEventListener("error", function(d) {
12247
+ a(d);
12248
12248
  });
12249
12249
  })];
12250
12250
  });
@@ -12266,7 +12266,7 @@ var la = (
12266
12266
  }()
12267
12267
  );
12268
12268
  /*! @azure/msal-browser v2.38.3 2023-10-27 */
12269
- var ua = "RSASSA-PKCS1-v1_5", xr = "SHA-256", da = 2048, pa = new Uint8Array([1, 0, 1]), mo = (
12269
+ var da = "RSASSA-PKCS1-v1_5", xr = "SHA-256", ua = 2048, pa = new Uint8Array([1, 0, 1]), mo = (
12270
12270
  /** @class */
12271
12271
  function() {
12272
12272
  function n(e, t) {
@@ -12285,9 +12285,9 @@ var ua = "RSASSA-PKCS1-v1_5", xr = "SHA-256", da = 2048, pa = new Uint8Array([1,
12285
12285
  this.logger.verbose("BrowserCrypto: Entropy provided"), this.subtleCrypto.initPrng(this.cryptoOptions.entropy);
12286
12286
  }
12287
12287
  this.keygenAlgorithmOptions = {
12288
- name: ua,
12288
+ name: da,
12289
12289
  hash: xr,
12290
- modulusLength: da,
12290
+ modulusLength: ua,
12291
12291
  publicExponent: pa
12292
12292
  };
12293
12293
  }
@@ -12388,11 +12388,11 @@ var ha = (
12388
12388
  return r.sent(), [2, new Promise(function(o, i) {
12389
12389
  if (!t.db)
12390
12390
  return i(M.createDatabaseNotOpenError());
12391
- var a = t.db.transaction([t.tableName], "readonly"), s = a.objectStore(t.tableName), u = s.get(e);
12392
- u.addEventListener("success", function(p) {
12393
- var d = p;
12394
- t.closeConnection(), o(d.target.result);
12395
- }), u.addEventListener("error", function(p) {
12391
+ var a = t.db.transaction([t.tableName], "readonly"), s = a.objectStore(t.tableName), d = s.get(e);
12392
+ d.addEventListener("success", function(p) {
12393
+ var u = p;
12394
+ t.closeConnection(), o(u.target.result);
12395
+ }), d.addEventListener("error", function(p) {
12396
12396
  t.closeConnection(), i(p);
12397
12397
  });
12398
12398
  })];
@@ -12410,11 +12410,11 @@ var ha = (
12410
12410
  return o.sent(), [2, new Promise(function(i, a) {
12411
12411
  if (!r.db)
12412
12412
  return a(M.createDatabaseNotOpenError());
12413
- var s = r.db.transaction([r.tableName], "readwrite"), u = s.objectStore(r.tableName), p = u.put(t, e);
12413
+ var s = r.db.transaction([r.tableName], "readwrite"), d = s.objectStore(r.tableName), p = d.put(t, e);
12414
12414
  p.addEventListener("success", function() {
12415
12415
  r.closeConnection(), i();
12416
- }), p.addEventListener("error", function(d) {
12417
- r.closeConnection(), a(d);
12416
+ }), p.addEventListener("error", function(u) {
12417
+ r.closeConnection(), a(u);
12418
12418
  });
12419
12419
  })];
12420
12420
  }
@@ -12431,10 +12431,10 @@ var ha = (
12431
12431
  return r.sent(), [2, new Promise(function(o, i) {
12432
12432
  if (!t.db)
12433
12433
  return i(M.createDatabaseNotOpenError());
12434
- var a = t.db.transaction([t.tableName], "readwrite"), s = a.objectStore(t.tableName), u = s.delete(e);
12435
- u.addEventListener("success", function() {
12434
+ var a = t.db.transaction([t.tableName], "readwrite"), s = a.objectStore(t.tableName), d = s.delete(e);
12435
+ d.addEventListener("success", function() {
12436
12436
  t.closeConnection(), o();
12437
- }), u.addEventListener("error", function(p) {
12437
+ }), d.addEventListener("error", function(p) {
12438
12438
  t.closeConnection(), i(p);
12439
12439
  });
12440
12440
  })];
@@ -12453,11 +12453,11 @@ var ha = (
12453
12453
  if (!e.db)
12454
12454
  return o(M.createDatabaseNotOpenError());
12455
12455
  var i = e.db.transaction([e.tableName], "readonly"), a = i.objectStore(e.tableName), s = a.getAllKeys();
12456
- s.addEventListener("success", function(u) {
12457
- var p = u;
12456
+ s.addEventListener("success", function(d) {
12457
+ var p = d;
12458
12458
  e.closeConnection(), r(p.target.result);
12459
- }), s.addEventListener("error", function(u) {
12460
- e.closeConnection(), o(u);
12459
+ }), s.addEventListener("error", function(d) {
12460
+ e.closeConnection(), o(d);
12461
12461
  });
12462
12462
  })];
12463
12463
  }
@@ -12474,11 +12474,11 @@ var ha = (
12474
12474
  return r.sent(), [2, new Promise(function(o, i) {
12475
12475
  if (!t.db)
12476
12476
  return i(M.createDatabaseNotOpenError());
12477
- var a = t.db.transaction([t.tableName], "readonly"), s = a.objectStore(t.tableName), u = s.count(e);
12478
- u.addEventListener("success", function(p) {
12479
- var d = p;
12480
- t.closeConnection(), o(d.target.result === 1);
12481
- }), u.addEventListener("error", function(p) {
12477
+ var a = t.db.transaction([t.tableName], "readonly"), s = a.objectStore(t.tableName), d = s.count(e);
12478
+ d.addEventListener("success", function(p) {
12479
+ var u = p;
12480
+ t.closeConnection(), o(u.target.result === 1);
12481
+ }), d.addEventListener("error", function(p) {
12482
12482
  t.closeConnection(), i(p);
12483
12483
  });
12484
12484
  })];
@@ -12698,7 +12698,7 @@ var fa = (
12698
12698
  }, n.prototype.getPublicKeyThumbprint = function(e) {
12699
12699
  var t;
12700
12700
  return T(this, void 0, void 0, function() {
12701
- var r, o, i, a, s, u, p, d;
12701
+ var r, o, i, a, s, d, p, u;
12702
12702
  return I(this, function(f) {
12703
12703
  switch (f.label) {
12704
12704
  case 0:
@@ -12712,12 +12712,12 @@ var fa = (
12712
12712
  n: i.n
12713
12713
  }, s = ct.getSortedObjectString(a), [4, this.hashString(s)];
12714
12714
  case 3:
12715
- return u = f.sent(), [4, this.browserCrypto.exportJwk(o.privateKey)];
12715
+ return d = f.sent(), [4, this.browserCrypto.exportJwk(o.privateKey)];
12716
12716
  case 4:
12717
12717
  return p = f.sent(), [4, this.browserCrypto.importJwk(p, !1, ["sign"])];
12718
12718
  case 5:
12719
- return d = f.sent(), [4, this.cache.asymmetricKeys.setItem(u, {
12720
- privateKey: d,
12719
+ return u = f.sent(), [4, this.cache.asymmetricKeys.setItem(d, {
12720
+ privateKey: u,
12721
12721
  publicKey: o.publicKey,
12722
12722
  requestMethod: e.resourceRequestMethod,
12723
12723
  requestUri: e.resourceRequestUri
@@ -12725,7 +12725,7 @@ var fa = (
12725
12725
  case 6:
12726
12726
  return f.sent(), r && r.endMeasurement({
12727
12727
  success: !0
12728
- }), [2, u];
12728
+ }), [2, d];
12729
12729
  }
12730
12730
  });
12731
12731
  });
@@ -12757,7 +12757,7 @@ var fa = (
12757
12757
  }, n.prototype.signJwt = function(e, t, r) {
12758
12758
  var o;
12759
12759
  return T(this, void 0, void 0, function() {
12760
- var i, a, s, u, p, d, f, _, k, E, N, Q, X;
12760
+ var i, a, s, d, p, u, f, _, k, E, N, Q, X;
12761
12761
  return I(this, function(G) {
12762
12762
  switch (G.label) {
12763
12763
  case 0:
@@ -12767,8 +12767,8 @@ var fa = (
12767
12767
  throw M.createSigningKeyNotFoundInStorageError(t);
12768
12768
  return [4, this.browserCrypto.exportJwk(a.publicKey)];
12769
12769
  case 2:
12770
- return s = G.sent(), u = ct.getSortedObjectString(s), p = this.b64Encode.urlEncode(JSON.stringify({ kid: t })), d = Hi.getShrHeaderString({ kid: p, alg: s.alg }), f = this.b64Encode.urlEncode(d), e.cnf = {
12771
- jwk: JSON.parse(u)
12770
+ return s = G.sent(), d = ct.getSortedObjectString(s), p = this.b64Encode.urlEncode(JSON.stringify({ kid: t })), u = Hi.getShrHeaderString({ kid: p, alg: s.alg }), f = this.b64Encode.urlEncode(u), e.cnf = {
12771
+ jwk: JSON.parse(d)
12772
12772
  }, _ = this.b64Encode.urlEncode(JSON.stringify(e)), k = f + "." + _, E = ct.stringToArrayBuffer(k), [4, this.browserCrypto.sign(a.privateKey, E)];
12773
12773
  case 3:
12774
12774
  return N = G.sent(), Q = this.b64Encode.urlEncodeArr(new Uint8Array(N)), X = k + "." + Q, i && i.endMeasurement({
@@ -12847,9 +12847,9 @@ var ga = (
12847
12847
  /** @class */
12848
12848
  function(n) {
12849
12849
  be(e, n);
12850
- function e(t, r, o, i, a, s, u) {
12850
+ function e(t, r, o, i, a, s, d) {
12851
12851
  var p = n.call(this, t, r, o, i, a, s) || this;
12852
- return p.browserCrypto = new mo(p.logger, u), p.guidGenerator = new po(p.browserCrypto), p;
12852
+ return p.browserCrypto = new mo(p.logger, d), p.guidGenerator = new po(p.browserCrypto), p;
12853
12853
  }
12854
12854
  return e.prototype.startPerformanceMeasuremeant = function(t, r) {
12855
12855
  return new Dr(t, r);
@@ -12868,8 +12868,8 @@ var ga = (
12868
12868
  }, e.prototype.startMeasurement = function(t, r) {
12869
12869
  var o = this, i = this.getPageVisibility(), a = n.prototype.startMeasurement.call(this, t, r);
12870
12870
  return B(B({}, a), { endMeasurement: function(s) {
12871
- var u = a.endMeasurement(B({ startPageVisibility: i, endPageVisibility: o.getPageVisibility() }, s));
12872
- return o.deleteIncompleteSubMeasurements(a), u;
12871
+ var d = a.endMeasurement(B({ startPageVisibility: i, endPageVisibility: o.getPageVisibility() }, s));
12872
+ return o.deleteIncompleteSubMeasurements(a), d;
12873
12873
  }, discardMeasurement: function() {
12874
12874
  a.discardMeasurement(), o.deleteIncompleteSubMeasurements(a), a.measurement.flushMeasurement();
12875
12875
  } });
@@ -12895,8 +12895,8 @@ var ga = (
12895
12895
  }
12896
12896
  var a = n.prototype.getPreQueueTime.call(this, t, r);
12897
12897
  if (a) {
12898
- var s = window.performance.now(), u = o || n.prototype.calculateQueuedTime.call(this, a, s);
12899
- return n.prototype.addQueueMeasurement.call(this, t, r, u, i);
12898
+ var s = window.performance.now(), d = o || n.prototype.calculateQueuedTime.call(this, a, s);
12899
+ return n.prototype.addQueueMeasurement.call(this, t, r, d, i);
12900
12900
  }
12901
12901
  }, e;
12902
12902
  }(ao)
@@ -12916,14 +12916,14 @@ var _a = (
12916
12916
  var s = this.loadAccount(o, e.account.environment, void 0, void 0, e.account.homeAccountId);
12917
12917
  i = new Zt(s, this.loadIdToken(o, s.homeAccountId, e.account.environment, e.account.tenantId), this.loadAccessToken(e, t, s.homeAccountId, e.account.environment, e.account.tenantId, r), this.loadRefreshToken(e, t, s.homeAccountId, e.account.environment));
12918
12918
  } else if (e.authority) {
12919
- var u = rn.generateAuthority(e.authority, e.azureCloudOptions), p = {
12919
+ var d = rn.generateAuthority(e.authority, e.azureCloudOptions), p = {
12920
12920
  protocolMode: this.config.auth.protocolMode,
12921
12921
  knownAuthorities: this.config.auth.knownAuthorities,
12922
12922
  cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
12923
12923
  authorityMetadata: this.config.auth.authorityMetadata,
12924
12924
  skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache
12925
12925
  };
12926
- if (a = new rn(u, this.config.system.networkClient, this.storage, p, this.logger), r.clientInfo) {
12926
+ if (a = new rn(d, this.config.system.networkClient, this.storage, p, this.logger), r.clientInfo) {
12927
12927
  this.logger.trace("TokenCache - homeAccountId from options");
12928
12928
  var s = this.loadAccount(o, a.hostnameAndPort, r.clientInfo, a.authorityType);
12929
12929
  i = new Zt(s, this.loadIdToken(o, s.homeAccountId, a.hostnameAndPort, a.tenant), this.loadAccessToken(e, t, s.homeAccountId, a.hostnameAndPort, a.tenant, r), this.loadRefreshToken(e, t, s.homeAccountId, a.hostnameAndPort));
@@ -12956,9 +12956,9 @@ var _a = (
12956
12956
  throw M.createUnableToLoadTokenError("Please ensure server response includes expires_in value.");
12957
12957
  if (!a.extendedExpiresOn)
12958
12958
  throw M.createUnableToLoadTokenError("Please provide an extendedExpiresOn value in the options.");
12959
- var s = new Ee(e.scopes).printScopes(), u = a.expiresOn || t.expires_in + (/* @__PURE__ */ new Date()).getTime() / 1e3, p = a.extendedExpiresOn, d = _t.createAccessTokenEntity(r, o, t.access_token, this.config.auth.clientId, i, s, u, p, this.cryptoObj);
12959
+ var s = new Ee(e.scopes).printScopes(), d = a.expiresOn || t.expires_in + (/* @__PURE__ */ new Date()).getTime() / 1e3, p = a.extendedExpiresOn, u = _t.createAccessTokenEntity(r, o, t.access_token, this.config.auth.clientId, i, s, d, p, this.cryptoObj);
12960
12960
  if (this.isBrowserEnvironment)
12961
- return this.logger.verbose("TokenCache - loading access token"), this.storage.setAccessTokenCredential(d), d;
12961
+ return this.logger.verbose("TokenCache - loading access token"), this.storage.setAccessTokenCredential(u), u;
12962
12962
  throw M.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.");
12963
12963
  }, n.prototype.loadRefreshToken = function(e, t, r, o) {
12964
12964
  if (!t.refresh_token)
@@ -12968,8 +12968,8 @@ var _a = (
12968
12968
  return this.logger.verbose("TokenCache - loading refresh token"), this.storage.setRefreshTokenCredential(i), i;
12969
12969
  throw M.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.");
12970
12970
  }, n.prototype.generateAuthenticationResult = function(e, t, r, o) {
12971
- var i, a, s, u = g.EMPTY_STRING, p = [], d = null, f;
12972
- r != null && r.accessToken && (u = r.accessToken.secret, p = Ee.fromString(r.accessToken.target).asArray(), d = new Date(Number(r.accessToken.expiresOn) * 1e3), f = new Date(Number(r.accessToken.extendedExpiresOn) * 1e3));
12971
+ var i, a, s, d = g.EMPTY_STRING, p = [], u = null, f;
12972
+ r != null && r.accessToken && (d = r.accessToken.secret, p = Ee.fromString(r.accessToken.target).asArray(), u = new Date(Number(r.accessToken.expiresOn) * 1e3), f = new Date(Number(r.accessToken.extendedExpiresOn) * 1e3));
12973
12973
  var _ = (t == null ? void 0 : t.claims.oid) || (t == null ? void 0 : t.claims.sub) || g.EMPTY_STRING, k = (t == null ? void 0 : t.claims.tid) || g.EMPTY_STRING;
12974
12974
  return {
12975
12975
  authority: o ? o.canonicalAuthority : g.EMPTY_STRING,
@@ -12979,9 +12979,9 @@ var _a = (
12979
12979
  account: r != null && r.account ? r.account.getAccountInfo() : null,
12980
12980
  idToken: t ? t.rawToken : g.EMPTY_STRING,
12981
12981
  idTokenClaims: t ? t.claims : {},
12982
- accessToken: u,
12982
+ accessToken: d,
12983
12983
  fromCache: !0,
12984
- expiresOn: d,
12984
+ expiresOn: u,
12985
12985
  correlationId: e.correlationId || g.EMPTY_STRING,
12986
12986
  requestId: g.EMPTY_STRING,
12987
12987
  extExpiresOn: f,
@@ -13013,32 +13013,32 @@ var ya = (
13013
13013
  /** @class */
13014
13014
  function(n) {
13015
13015
  be(e, n);
13016
- function e(t, r, o, i, a, s, u, p, d, f) {
13017
- var _ = n.call(this, t, r, o, i, a, s, p, d, f) || this;
13018
- return _.apiId = u, _;
13016
+ function e(t, r, o, i, a, s, d, p, u, f) {
13017
+ var _ = n.call(this, t, r, o, i, a, s, p, u, f) || this;
13018
+ return _.apiId = d, _;
13019
13019
  }
13020
13020
  return e.prototype.acquireToken = function(t) {
13021
13021
  return T(this, void 0, void 0, function() {
13022
- var r, o, i, a, s, u, p;
13023
- return I(this, function(d) {
13024
- switch (d.label) {
13022
+ var r, o, i, a, s, d, p;
13023
+ return I(this, function(u) {
13024
+ switch (u.label) {
13025
13025
  case 0:
13026
13026
  if (this.logger.trace("SilentAuthCodeClient.acquireToken called"), !t.code)
13027
13027
  throw M.createAuthCodeRequiredError();
13028
13028
  return this.performanceClient.setPreQueueTime(b.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(t, x.Silent)];
13029
13029
  case 1:
13030
- r = d.sent(), this.browserStorage.updateCacheEntries(r.state, r.nonce, r.authority, r.loginHint || g.EMPTY_STRING, r.account || null), o = this.initializeServerTelemetryManager(this.apiId), d.label = 2;
13030
+ r = u.sent(), this.browserStorage.updateCacheEntries(r.state, r.nonce, r.authority, r.loginHint || g.EMPTY_STRING, r.account || null), o = this.initializeServerTelemetryManager(this.apiId), u.label = 2;
13031
13031
  case 2:
13032
- return d.trys.push([2, 4, , 5]), i = B(B({}, r), { code: t.code }), this.performanceClient.setPreQueueTime(b.StandardInteractionClientGetClientConfiguration, t.correlationId), [4, this.getClientConfiguration(o, r.authority)];
13032
+ return u.trys.push([2, 4, , 5]), i = B(B({}, r), { code: t.code }), this.performanceClient.setPreQueueTime(b.StandardInteractionClientGetClientConfiguration, t.correlationId), [4, this.getClientConfiguration(o, r.authority)];
13033
13033
  case 3:
13034
- return a = d.sent(), s = new va(a), this.logger.verbose("Auth code client created"), u = new uo(s, this.browserStorage, i, this.logger, this.config.system, this.performanceClient), [2, u.handleCodeResponseFromServer({
13034
+ return a = u.sent(), s = new va(a), this.logger.verbose("Auth code client created"), d = new uo(s, this.browserStorage, i, this.logger, this.config.system, this.performanceClient), [2, d.handleCodeResponseFromServer({
13035
13035
  code: t.code,
13036
13036
  msgraph_host: t.msGraphHost,
13037
13037
  cloud_graph_host_name: t.cloudGraphHostName,
13038
13038
  cloud_instance_host_name: t.cloudInstanceHostName
13039
13039
  }, r.state, s.authority, this.networkClient, !1)];
13040
13040
  case 4:
13041
- throw p = d.sent(), p instanceof D && p.setCorrelationId(this.correlationId), o.cacheFailedRequest(p), this.browserStorage.cleanRequestByState(r.state), p;
13041
+ throw p = u.sent(), p instanceof D && p.setCorrelationId(this.correlationId), o.cacheFailedRequest(p), this.browserStorage.cleanRequestByState(r.state), p;
13042
13042
  case 5:
13043
13043
  return [
13044
13044
  2
@@ -13102,32 +13102,32 @@ var ka = (
13102
13102
  });
13103
13103
  }, n.prototype.handleRedirectPromise = function(e) {
13104
13104
  return T(this, void 0, void 0, function() {
13105
- var t, r, o, i, a, s, u, p, d = this;
13105
+ var t, r, o, i, a, s, d, p, u = this;
13106
13106
  return I(this, function(f) {
13107
- return this.logger.verbose("handleRedirectPromise called"), de.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), t = this.getAllAccounts(), this.isBrowserEnvironment ? (r = e || g.EMPTY_STRING, o = this.redirectResponse.get(r), typeof o > "u" ? (this.eventHandler.emitEvent(q.HANDLE_REDIRECT_START, x.Redirect), this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"), i = this.browserStorage.getCachedNativeRequest(), a = void 0, i && yt.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider) && this.nativeExtensionProvider && !e ? (this.logger.trace("handleRedirectPromise - acquiring token from native platform"), s = new Ot(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, oe.handleRedirectPromise, this.performanceClient, this.nativeExtensionProvider, i.accountId, this.nativeInternalStorage, i.correlationId), a = s.handleRedirectPromise()) : (this.logger.trace("handleRedirectPromise - acquiring token from web flow"), u = this.browserStorage.getTemporaryCache(J.CORRELATION_ID, !0) || g.EMPTY_STRING, p = this.createRedirectClient(u), a = p.handleRedirectPromise(e)), o = a.then(function(_) {
13107
+ return this.logger.verbose("handleRedirectPromise called"), ue.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), t = this.getAllAccounts(), this.isBrowserEnvironment ? (r = e || g.EMPTY_STRING, o = this.redirectResponse.get(r), typeof o > "u" ? (this.eventHandler.emitEvent(q.HANDLE_REDIRECT_START, x.Redirect), this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"), i = this.browserStorage.getCachedNativeRequest(), a = void 0, i && yt.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider) && this.nativeExtensionProvider && !e ? (this.logger.trace("handleRedirectPromise - acquiring token from native platform"), s = new Ot(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, oe.handleRedirectPromise, this.performanceClient, this.nativeExtensionProvider, i.accountId, this.nativeInternalStorage, i.correlationId), a = s.handleRedirectPromise()) : (this.logger.trace("handleRedirectPromise - acquiring token from web flow"), d = this.browserStorage.getTemporaryCache(J.CORRELATION_ID, !0) || g.EMPTY_STRING, p = this.createRedirectClient(d), a = p.handleRedirectPromise(e)), o = a.then(function(_) {
13108
13108
  if (_) {
13109
- var k = t.length < d.getAllAccounts().length;
13110
- k ? (d.eventHandler.emitEvent(q.LOGIN_SUCCESS, x.Redirect, _), d.logger.verbose("handleRedirectResponse returned result, login success")) : (d.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Redirect, _), d.logger.verbose("handleRedirectResponse returned result, acquire token success"));
13109
+ var k = t.length < u.getAllAccounts().length;
13110
+ k ? (u.eventHandler.emitEvent(q.LOGIN_SUCCESS, x.Redirect, _), u.logger.verbose("handleRedirectResponse returned result, login success")) : (u.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Redirect, _), u.logger.verbose("handleRedirectResponse returned result, acquire token success"));
13111
13111
  }
13112
- return d.eventHandler.emitEvent(q.HANDLE_REDIRECT_END, x.Redirect), _;
13112
+ return u.eventHandler.emitEvent(q.HANDLE_REDIRECT_END, x.Redirect), _;
13113
13113
  }).catch(function(_) {
13114
- throw t.length > 0 ? d.eventHandler.emitEvent(q.ACQUIRE_TOKEN_FAILURE, x.Redirect, null, _) : d.eventHandler.emitEvent(q.LOGIN_FAILURE, x.Redirect, null, _), d.eventHandler.emitEvent(q.HANDLE_REDIRECT_END, x.Redirect), _;
13114
+ throw t.length > 0 ? u.eventHandler.emitEvent(q.ACQUIRE_TOKEN_FAILURE, x.Redirect, null, _) : u.eventHandler.emitEvent(q.LOGIN_FAILURE, x.Redirect, null, _), u.eventHandler.emitEvent(q.HANDLE_REDIRECT_END, x.Redirect), _;
13115
13115
  }), this.redirectResponse.set(r, o)) : this.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call"), [2, o]) : (this.logger.verbose("handleRedirectPromise returns null, not browser environment"), [2, null]);
13116
13116
  });
13117
13117
  });
13118
13118
  }, n.prototype.acquireTokenRedirect = function(e) {
13119
13119
  return T(this, void 0, void 0, function() {
13120
13120
  var t, r, o, i, a, s = this;
13121
- return I(this, function(u) {
13121
+ return I(this, function(d) {
13122
13122
  return t = this.getRequestCorrelationId(e), this.logger.verbose("acquireTokenRedirect called", t), this.preflightBrowserEnvironmentCheck(x.Redirect), r = this.getAllAccounts().length > 0, r ? this.eventHandler.emitEvent(q.ACQUIRE_TOKEN_START, x.Redirect, e) : this.eventHandler.emitEvent(q.LOGIN_START, x.Redirect, e), this.nativeExtensionProvider && this.canUseNative(e) ? (i = new Ot(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, oe.acquireTokenRedirect, this.performanceClient, this.nativeExtensionProvider, this.getNativeAccountId(e), this.nativeInternalStorage, e.correlationId), o = i.acquireTokenRedirect(e).catch(function(p) {
13123
13123
  if (p instanceof tt && p.isFatal()) {
13124
13124
  s.nativeExtensionProvider = void 0;
13125
- var d = s.createRedirectClient(e.correlationId);
13126
- return d.acquireToken(e);
13125
+ var u = s.createRedirectClient(e.correlationId);
13126
+ return u.acquireToken(e);
13127
13127
  } else if (p instanceof Ye) {
13128
13128
  s.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow");
13129
- var d = s.createRedirectClient(e.correlationId);
13130
- return d.acquireToken(e);
13129
+ var u = s.createRedirectClient(e.correlationId);
13130
+ return u.acquireToken(e);
13131
13131
  }
13132
13132
  throw s.browserStorage.setInteractionInProgress(!1), p;
13133
13133
  })) : (a = this.createRedirectClient(e.correlationId), o = a.acquireToken(e)), [2, o.catch(function(p) {
@@ -13139,50 +13139,50 @@ var ka = (
13139
13139
  var t = this, r = this.getRequestCorrelationId(e), o = this.performanceClient.startMeasurement(b.AcquireTokenPopup, r);
13140
13140
  try {
13141
13141
  this.logger.verbose("acquireTokenPopup called", r), this.preflightBrowserEnvironmentCheck(x.Popup);
13142
- } catch (u) {
13143
- return Promise.reject(u);
13142
+ } catch (d) {
13143
+ return Promise.reject(d);
13144
13144
  }
13145
13145
  var i = this.getAllAccounts();
13146
13146
  i.length > 0 ? this.eventHandler.emitEvent(q.ACQUIRE_TOKEN_START, x.Popup, e) : this.eventHandler.emitEvent(q.LOGIN_START, x.Popup, e);
13147
13147
  var a;
13148
13148
  if (this.canUseNative(e))
13149
- a = this.acquireTokenNative(e, oe.acquireTokenPopup).then(function(u) {
13149
+ a = this.acquireTokenNative(e, oe.acquireTokenPopup).then(function(d) {
13150
13150
  return t.browserStorage.setInteractionInProgress(!1), o.endMeasurement({
13151
13151
  success: !0,
13152
13152
  isNativeBroker: !0,
13153
- requestId: u.requestId
13154
- }), u;
13155
- }).catch(function(u) {
13156
- if (u instanceof tt && u.isFatal()) {
13153
+ requestId: d.requestId
13154
+ }), d;
13155
+ }).catch(function(d) {
13156
+ if (d instanceof tt && d.isFatal()) {
13157
13157
  t.nativeExtensionProvider = void 0;
13158
13158
  var p = t.createPopupClient(e.correlationId);
13159
13159
  return p.acquireToken(e);
13160
- } else if (u instanceof Ye) {
13160
+ } else if (d instanceof Ye) {
13161
13161
  t.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow");
13162
13162
  var p = t.createPopupClient(e.correlationId);
13163
13163
  return p.acquireToken(e);
13164
13164
  }
13165
- throw t.browserStorage.setInteractionInProgress(!1), u;
13165
+ throw t.browserStorage.setInteractionInProgress(!1), d;
13166
13166
  });
13167
13167
  else {
13168
13168
  var s = this.createPopupClient(e.correlationId);
13169
13169
  a = s.acquireToken(e);
13170
13170
  }
13171
- return a.then(function(u) {
13171
+ return a.then(function(d) {
13172
13172
  var p = i.length < t.getAllAccounts().length;
13173
- return p ? t.eventHandler.emitEvent(q.LOGIN_SUCCESS, x.Popup, u) : t.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Popup, u), o.addStaticFields({
13174
- accessTokenSize: u.accessToken.length,
13175
- idTokenSize: u.idToken.length
13173
+ return p ? t.eventHandler.emitEvent(q.LOGIN_SUCCESS, x.Popup, d) : t.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Popup, d), o.addStaticFields({
13174
+ accessTokenSize: d.accessToken.length,
13175
+ idTokenSize: d.idToken.length
13176
13176
  }), o.endMeasurement({
13177
13177
  success: !0,
13178
- requestId: u.requestId
13179
- }), u;
13180
- }).catch(function(u) {
13181
- return i.length > 0 ? t.eventHandler.emitEvent(q.ACQUIRE_TOKEN_FAILURE, x.Popup, null, u) : t.eventHandler.emitEvent(q.LOGIN_FAILURE, x.Popup, null, u), o.endMeasurement({
13182
- errorCode: u.errorCode,
13183
- subErrorCode: u.subError,
13178
+ requestId: d.requestId
13179
+ }), d;
13180
+ }).catch(function(d) {
13181
+ return i.length > 0 ? t.eventHandler.emitEvent(q.ACQUIRE_TOKEN_FAILURE, x.Popup, null, d) : t.eventHandler.emitEvent(q.LOGIN_FAILURE, x.Popup, null, d), o.endMeasurement({
13182
+ errorCode: d.errorCode,
13183
+ subErrorCode: d.subError,
13184
13184
  success: !1
13185
- }), Promise.reject(u);
13185
+ }), Promise.reject(d);
13186
13186
  });
13187
13187
  }, n.prototype.trackPageVisibilityWithMeasurement = function() {
13188
13188
  var e = this.ssoSilentMeasurement || this.acquireTokenByCodeAsyncMeasurement;
@@ -13193,7 +13193,7 @@ var ka = (
13193
13193
  var t;
13194
13194
  return T(this, void 0, void 0, function() {
13195
13195
  var r, o, i, a, s = this;
13196
- return I(this, function(u) {
13196
+ return I(this, function(d) {
13197
13197
  return r = this.getRequestCorrelationId(e), o = B(B({}, e), {
13198
13198
  // will be PromptValue.NONE or PromptValue.NO_SESSION
13199
13199
  prompt: e.prompt,
@@ -13203,13 +13203,13 @@ var ka = (
13203
13203
  }), document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement), this.logger.verbose("ssoSilent called", r), this.eventHandler.emitEvent(q.SSO_SILENT_START, x.Silent, o), this.canUseNative(o) ? i = this.acquireTokenNative(o, oe.ssoSilent).catch(function(p) {
13204
13204
  if (p instanceof tt && p.isFatal()) {
13205
13205
  s.nativeExtensionProvider = void 0;
13206
- var d = s.createSilentIframeClient(o.correlationId);
13207
- return d.acquireToken(o);
13206
+ var u = s.createSilentIframeClient(o.correlationId);
13207
+ return u.acquireToken(o);
13208
13208
  }
13209
13209
  throw p;
13210
13210
  }) : (a = this.createSilentIframeClient(o.correlationId), i = a.acquireToken(o)), [2, i.then(function(p) {
13211
- var d, f;
13212
- return s.eventHandler.emitEvent(q.SSO_SILENT_SUCCESS, x.Silent, p), (d = s.ssoSilentMeasurement) === null || d === void 0 || d.addStaticFields({
13211
+ var u, f;
13212
+ return s.eventHandler.emitEvent(q.SSO_SILENT_SUCCESS, x.Silent, p), (u = s.ssoSilentMeasurement) === null || u === void 0 || u.addStaticFields({
13213
13213
  accessTokenSize: p.accessToken.length,
13214
13214
  idTokenSize: p.idToken.length
13215
13215
  }), (f = s.ssoSilentMeasurement) === null || f === void 0 || f.endMeasurement({
@@ -13218,8 +13218,8 @@ var ka = (
13218
13218
  requestId: p.requestId
13219
13219
  }), p;
13220
13220
  }).catch(function(p) {
13221
- var d;
13222
- throw s.eventHandler.emitEvent(q.SSO_SILENT_FAILURE, x.Silent, null, p), (d = s.ssoSilentMeasurement) === null || d === void 0 || d.endMeasurement({
13221
+ var u;
13222
+ throw s.eventHandler.emitEvent(q.SSO_SILENT_FAILURE, x.Silent, null, p), (u = s.ssoSilentMeasurement) === null || u === void 0 || u.endMeasurement({
13223
13223
  errorCode: p.errorCode,
13224
13224
  subErrorCode: p.subError,
13225
13225
  success: !1
@@ -13238,36 +13238,36 @@ var ka = (
13238
13238
  if (e.code && e.nativeAccountId)
13239
13239
  throw M.createSpaCodeAndNativeAccountIdPresentError();
13240
13240
  if (e.code)
13241
- return o = e.code, i = this.hybridAuthCodeResponses.get(o), i ? (this.logger.verbose("Existing acquireTokenByCode request found", e.correlationId), r.discardMeasurement()) : (this.logger.verbose("Initiating new acquireTokenByCode request", t), i = this.acquireTokenByCodeAsync(B(B({}, e), { correlationId: t })).then(function(u) {
13242
- return a.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_SUCCESS, x.Silent, u), a.hybridAuthCodeResponses.delete(o), r.addStaticFields({
13243
- accessTokenSize: u.accessToken.length,
13244
- idTokenSize: u.idToken.length
13241
+ return o = e.code, i = this.hybridAuthCodeResponses.get(o), i ? (this.logger.verbose("Existing acquireTokenByCode request found", e.correlationId), r.discardMeasurement()) : (this.logger.verbose("Initiating new acquireTokenByCode request", t), i = this.acquireTokenByCodeAsync(B(B({}, e), { correlationId: t })).then(function(d) {
13242
+ return a.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_SUCCESS, x.Silent, d), a.hybridAuthCodeResponses.delete(o), r.addStaticFields({
13243
+ accessTokenSize: d.accessToken.length,
13244
+ idTokenSize: d.idToken.length
13245
13245
  }), r.endMeasurement({
13246
13246
  success: !0,
13247
- isNativeBroker: u.fromNativeBroker,
13248
- requestId: u.requestId
13249
- }), u;
13250
- }).catch(function(u) {
13251
- throw a.hybridAuthCodeResponses.delete(o), a.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_FAILURE, x.Silent, null, u), r.endMeasurement({
13252
- errorCode: u.errorCode,
13253
- subErrorCode: u.subError,
13247
+ isNativeBroker: d.fromNativeBroker,
13248
+ requestId: d.requestId
13249
+ }), d;
13250
+ }).catch(function(d) {
13251
+ throw a.hybridAuthCodeResponses.delete(o), a.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_FAILURE, x.Silent, null, d), r.endMeasurement({
13252
+ errorCode: d.errorCode,
13253
+ subErrorCode: d.subError,
13254
13254
  success: !1
13255
- }), u;
13255
+ }), d;
13256
13256
  }), this.hybridAuthCodeResponses.set(o, i)), [2, i];
13257
13257
  if (e.nativeAccountId) {
13258
13258
  if (this.canUseNative(e, e.nativeAccountId))
13259
- return [2, this.acquireTokenNative(e, oe.acquireTokenByCode, e.nativeAccountId).catch(function(u) {
13260
- throw u instanceof tt && u.isFatal() && (a.nativeExtensionProvider = void 0), u;
13259
+ return [2, this.acquireTokenNative(e, oe.acquireTokenByCode, e.nativeAccountId).catch(function(d) {
13260
+ throw d instanceof tt && d.isFatal() && (a.nativeExtensionProvider = void 0), d;
13261
13261
  })];
13262
13262
  throw M.createUnableToAcquireTokenFromNativePlatformError();
13263
13263
  } else
13264
13264
  throw M.createAuthCodeOrNativeAccountIdRequiredError();
13265
- } catch (u) {
13266
- throw this.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_FAILURE, x.Silent, null, u), r.endMeasurement({
13267
- errorCode: u instanceof D && u.errorCode || void 0,
13268
- subErrorCode: u instanceof D && u.subError || void 0,
13265
+ } catch (d) {
13266
+ throw this.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_FAILURE, x.Silent, null, d), r.endMeasurement({
13267
+ errorCode: d instanceof D && d.errorCode || void 0,
13268
+ subErrorCode: d instanceof D && d.subError || void 0,
13269
13269
  success: !1
13270
- }), u;
13270
+ }), d;
13271
13271
  }
13272
13272
  return [
13273
13273
  2
@@ -13285,16 +13285,16 @@ var ka = (
13285
13285
  return this.logger.trace("acquireTokenByCodeAsync called", e.correlationId), this.acquireTokenByCodeAsyncMeasurement = this.performanceClient.startMeasurement(b.AcquireTokenByCodeAsync, e.correlationId), (t = this.acquireTokenByCodeAsyncMeasurement) === null || t === void 0 || t.increment({
13286
13286
  visibilityChangeCount: 0
13287
13287
  }), document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement), r = this.createSilentAuthCodeClient(e.correlationId), [4, r.acquireToken(e).then(function(s) {
13288
- var u;
13289
- return (u = i.acquireTokenByCodeAsyncMeasurement) === null || u === void 0 || u.endMeasurement({
13288
+ var d;
13289
+ return (d = i.acquireTokenByCodeAsyncMeasurement) === null || d === void 0 || d.endMeasurement({
13290
13290
  success: !0,
13291
13291
  fromCache: s.fromCache,
13292
13292
  isNativeBroker: s.fromNativeBroker,
13293
13293
  requestId: s.requestId
13294
13294
  }), s;
13295
13295
  }).catch(function(s) {
13296
- var u;
13297
- throw (u = i.acquireTokenByCodeAsyncMeasurement) === null || u === void 0 || u.endMeasurement({
13296
+ var d;
13297
+ throw (d = i.acquireTokenByCodeAsyncMeasurement) === null || d === void 0 || d.endMeasurement({
13298
13298
  errorCode: s.errorCode,
13299
13299
  subErrorCode: s.subError,
13300
13300
  success: !1
@@ -13395,11 +13395,11 @@ var ka = (
13395
13395
  }, n.prototype.getActiveAccount = function() {
13396
13396
  return this.browserStorage.getActiveAccount();
13397
13397
  }, n.prototype.preflightBrowserEnvironmentCheck = function(e, t) {
13398
- if (t === void 0 && (t = !0), this.logger.verbose("preflightBrowserEnvironmentCheck started"), de.blockNonBrowserEnvironment(this.isBrowserEnvironment), de.blockRedirectInIframe(e, this.config.system.allowRedirectInIframe), de.blockReloadInHiddenIframes(), de.blockAcquireTokenInPopups(), de.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), e === x.Redirect && this.config.cache.cacheLocation === pe.MemoryStorage && !this.config.cache.storeAuthStateInCookie)
13398
+ if (t === void 0 && (t = !0), this.logger.verbose("preflightBrowserEnvironmentCheck started"), ue.blockNonBrowserEnvironment(this.isBrowserEnvironment), ue.blockRedirectInIframe(e, this.config.system.allowRedirectInIframe), ue.blockReloadInHiddenIframes(), ue.blockAcquireTokenInPopups(), ue.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), e === x.Redirect && this.config.cache.cacheLocation === pe.MemoryStorage && !this.config.cache.storeAuthStateInCookie)
13399
13399
  throw En.createInMemoryRedirectUnavailableError();
13400
13400
  (e === x.Redirect || e === x.Popup) && this.preflightInteractiveRequest(t);
13401
13401
  }, n.prototype.preflightInteractiveRequest = function(e) {
13402
- this.logger.verbose("preflightInteractiveRequest called, validating app environment"), de.blockReloadInHiddenIframes(), e && this.browserStorage.setInteractionInProgress(!0);
13402
+ this.logger.verbose("preflightInteractiveRequest called, validating app environment"), ue.blockReloadInHiddenIframes(), e && this.browserStorage.setInteractionInProgress(!0);
13403
13403
  }, n.prototype.acquireTokenNative = function(e, t, r) {
13404
13404
  return T(this, void 0, void 0, function() {
13405
13405
  var o;
@@ -13488,7 +13488,7 @@ var wa = (
13488
13488
  return this.logger.verbose("loginPopup called", r), this.acquireTokenPopup(B({ correlationId: r }, t || Lr));
13489
13489
  }, e.prototype.acquireTokenSilent = function(t) {
13490
13490
  return T(this, void 0, void 0, function() {
13491
- var r, o, i, a, s, u, p, d = this;
13491
+ var r, o, i, a, s, d, p, u = this;
13492
13492
  return I(this, function(f) {
13493
13493
  if (r = this.getRequestCorrelationId(t), o = this.performanceClient.startMeasurement(b.AcquireTokenSilent, r), o.addStaticFields({
13494
13494
  cacheLookupPolicy: t.cacheLookupPolicy
@@ -13505,8 +13505,8 @@ var wa = (
13505
13505
  resourceRequestUri: t.resourceRequestUri,
13506
13506
  shrClaims: t.shrClaims,
13507
13507
  sshKid: t.sshKid
13508
- }, s = JSON.stringify(a), u = this.activeSilentTokenRequests.get(s), typeof u > "u" ? (this.logger.verbose("acquireTokenSilent called for the first time, storing active request", r), this.performanceClient.setPreQueueTime(b.AcquireTokenSilentAsync, r), p = this.acquireTokenSilentAsync(B(B({}, t), { correlationId: r }), i).then(function(_) {
13509
- return d.activeSilentTokenRequests.delete(s), o.addStaticFields({
13508
+ }, s = JSON.stringify(a), d = this.activeSilentTokenRequests.get(s), typeof d > "u" ? (this.logger.verbose("acquireTokenSilent called for the first time, storing active request", r), this.performanceClient.setPreQueueTime(b.AcquireTokenSilentAsync, r), p = this.acquireTokenSilentAsync(B(B({}, t), { correlationId: r }), i).then(function(_) {
13509
+ return u.activeSilentTokenRequests.delete(s), o.addStaticFields({
13510
13510
  accessTokenSize: _.accessToken.length,
13511
13511
  idTokenSize: _.idToken.length
13512
13512
  }), o.endMeasurement({
@@ -13517,12 +13517,12 @@ var wa = (
13517
13517
  requestId: _.requestId
13518
13518
  }), _;
13519
13519
  }).catch(function(_) {
13520
- throw d.activeSilentTokenRequests.delete(s), o.endMeasurement({
13520
+ throw u.activeSilentTokenRequests.delete(s), o.endMeasurement({
13521
13521
  errorCode: _.errorCode,
13522
13522
  subErrorCode: _.subError,
13523
13523
  success: !1
13524
13524
  }), _;
13525
- }), this.activeSilentTokenRequests.set(s, p), [2, p]) : (this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call", r), o.discardMeasurement(), [2, u]);
13525
+ }), this.activeSilentTokenRequests.set(s, p), [2, p]) : (this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call", r), o.discardMeasurement(), [2, d]);
13526
13526
  });
13527
13527
  });
13528
13528
  }, e.prototype.trackPageVisibility = function() {
@@ -13532,14 +13532,14 @@ var wa = (
13532
13532
  }, e.prototype.acquireTokenSilentAsync = function(t, r) {
13533
13533
  var o;
13534
13534
  return T(this, void 0, void 0, function() {
13535
- var i, a, s, u, p, d = this;
13535
+ var i, a, s, d, p, u = this;
13536
13536
  return I(this, function(f) {
13537
13537
  switch (f.label) {
13538
13538
  case 0:
13539
13539
  return this.performanceClient.addQueueMeasurement(b.AcquireTokenSilentAsync, t.correlationId), this.eventHandler.emitEvent(q.ACQUIRE_TOKEN_START, x.Silent, t), this.astsAsyncMeasurement = this.performanceClient.startMeasurement(b.AcquireTokenSilentAsync, t.correlationId), (o = this.astsAsyncMeasurement) === null || o === void 0 || o.increment({
13540
13540
  visibilityChangeCount: 0
13541
13541
  }), document.addEventListener("visibilitychange", this.trackPageVisibility), yt.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider, t.authenticationScheme) && r.nativeAccountId ? (this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform"), a = B(B({}, t), { account: r }), i = this.acquireTokenNative(a, oe.acquireTokenSilent_silentFlow).catch(function(_) {
13542
- return T(d, void 0, void 0, function() {
13542
+ return T(u, void 0, void 0, function() {
13543
13543
  var k;
13544
13544
  return I(this, function(E) {
13545
13545
  if (_ instanceof tt && _.isFatal())
@@ -13551,23 +13551,23 @@ var wa = (
13551
13551
  case 1:
13552
13552
  return this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow"), s = this.createSilentCacheClient(t.correlationId), this.performanceClient.setPreQueueTime(b.InitializeSilentRequest, t.correlationId), [4, s.initializeSilentRequest(t, r)];
13553
13553
  case 2:
13554
- u = f.sent(), p = B(B({}, t), {
13554
+ d = f.sent(), p = B(B({}, t), {
13555
13555
  // set the request's CacheLookupPolicy to Default if it was not optionally passed in
13556
13556
  cacheLookupPolicy: t.cacheLookupPolicy || Le.Default
13557
- }), this.performanceClient.setPreQueueTime(b.AcquireTokenFromCache, u.correlationId), i = this.acquireTokenFromCache(s, u, p).catch(function(_) {
13557
+ }), this.performanceClient.setPreQueueTime(b.AcquireTokenFromCache, d.correlationId), i = this.acquireTokenFromCache(s, d, p).catch(function(_) {
13558
13558
  if (p.cacheLookupPolicy === Le.AccessToken)
13559
13559
  throw _;
13560
- return de.blockReloadInHiddenIframes(), d.eventHandler.emitEvent(q.ACQUIRE_TOKEN_NETWORK_START, x.Silent, u), d.performanceClient.setPreQueueTime(b.AcquireTokenByRefreshToken, u.correlationId), d.acquireTokenByRefreshToken(u, p).catch(function(k) {
13560
+ return ue.blockReloadInHiddenIframes(), u.eventHandler.emitEvent(q.ACQUIRE_TOKEN_NETWORK_START, x.Silent, d), u.performanceClient.setPreQueueTime(b.AcquireTokenByRefreshToken, d.correlationId), u.acquireTokenByRefreshToken(d, p).catch(function(k) {
13561
13561
  var E = k instanceof bt, N = k instanceof Ye, Q = k.errorCode === Mt.noTokensFoundError.code, X = k.errorCode === Qe.INVALID_GRANT_ERROR;
13562
13562
  if ((!E || !X || N || p.cacheLookupPolicy === Le.AccessTokenAndRefreshToken || p.cacheLookupPolicy === Le.RefreshToken) && p.cacheLookupPolicy !== Le.Skip && !Q)
13563
13563
  throw k;
13564
- return d.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.", t.correlationId), d.performanceClient.setPreQueueTime(b.AcquireTokenBySilentIframe, u.correlationId), d.acquireTokenBySilentIframe(u);
13564
+ return u.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.", t.correlationId), u.performanceClient.setPreQueueTime(b.AcquireTokenBySilentIframe, d.correlationId), u.acquireTokenBySilentIframe(d);
13565
13565
  });
13566
13566
  }), f.label = 3;
13567
13567
  case 3:
13568
13568
  return [2, i.then(function(_) {
13569
13569
  var k;
13570
- return d.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Silent, _), (k = d.astsAsyncMeasurement) === null || k === void 0 || k.endMeasurement({
13570
+ return u.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Silent, _), (k = u.astsAsyncMeasurement) === null || k === void 0 || k.endMeasurement({
13571
13571
  success: !0,
13572
13572
  fromCache: _.fromCache,
13573
13573
  isNativeBroker: _.fromNativeBroker,
@@ -13575,13 +13575,13 @@ var wa = (
13575
13575
  }), _;
13576
13576
  }).catch(function(_) {
13577
13577
  var k;
13578
- throw d.eventHandler.emitEvent(q.ACQUIRE_TOKEN_FAILURE, x.Silent, null, _), (k = d.astsAsyncMeasurement) === null || k === void 0 || k.endMeasurement({
13578
+ throw u.eventHandler.emitEvent(q.ACQUIRE_TOKEN_FAILURE, x.Silent, null, _), (k = u.astsAsyncMeasurement) === null || k === void 0 || k.endMeasurement({
13579
13579
  errorCode: _.errorCode,
13580
13580
  subErrorCode: _.subError,
13581
13581
  success: !1
13582
13582
  }), _;
13583
13583
  }).finally(function() {
13584
- document.removeEventListener("visibilitychange", d.trackPageVisibility);
13584
+ document.removeEventListener("visibilitychange", u.trackPageVisibility);
13585
13585
  })];
13586
13586
  }
13587
13587
  });
@@ -13674,18 +13674,18 @@ const An = {
13674
13674
  if (t)
13675
13675
  return console.log("Error: " + JSON.stringify(t)), this.microsoftLoad = !1;
13676
13676
  if (this.referral && (r.ref = this.referral), this.display === "popup" && (r.response_type = "code"), r && (r.accessToken || r.idToken)) {
13677
- const [s, u] = await ne(
13677
+ const [s, d] = await ne(
13678
13678
  Ne.microsoftSDK(r, this.$storage)
13679
13679
  );
13680
13680
  if (s)
13681
13681
  return this.microsoftLoad = !1, this.microsoftSSOLoad = !1, z.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(s);
13682
- if (u.data.success) {
13682
+ if (d.data.success) {
13683
13683
  if (this.display === "popup")
13684
13684
  return (a = window.parent) == null ? void 0 : a.postMessage(
13685
- { code: u.data.auth_code, state: this.$route.query.state },
13685
+ { code: d.data.auth_code, state: this.$route.query.state },
13686
13686
  "*"
13687
13687
  );
13688
- await this.loginSetup(u), await this.getLoggedInAccounts(), this.loginSuccess({ ...u, isModal: this.isModal }), setTimeout(() => {
13688
+ await this.loginSetup(d), await this.getLoggedInAccounts(), this.loginSuccess({ ...d, isModal: this.isModal }), setTimeout(() => {
13689
13689
  this.microsoftLoad = !1, this.microsoftSSOLoad = !1;
13690
13690
  }, 1e3);
13691
13691
  } else
@@ -13712,7 +13712,7 @@ const An = {
13712
13712
  },
13713
13713
  compareLangKeys() {
13714
13714
  const n = Object.keys(Fr.default.state), e = Object.keys(jr.default.state), t = Object.keys(Kr.default.state), r = Object.keys(Wr.default.state), o = Object.keys(Vr.default.state), i = Object.keys(Gr.default.state), a = Object.keys(Qr.default.state), s = Object.keys(Yr.default.state);
13715
- console.log("In en but not in de", n.filter((u) => !e.includes(u))), console.log("In de but not in en", e.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in es", n.filter((u) => !t.includes(u))), console.log("In es but not in en", t.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in kr", n.filter((u) => !r.includes(u))), console.log("In kr but not in en", r.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in it", n.filter((u) => !o.includes(u))), console.log("In it but not in en", o.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in fr", n.filter((u) => !i.includes(u))), console.log("In fr but not in en", i.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in sr", n.filter((u) => !a.includes(u))), console.log("In sr but not in en", a.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in tr", n.filter((u) => !s.includes(u))), console.log("In tr but not in en", s.filter((u) => !n.includes(u))), console.log();
13715
+ console.log("In en but not in de", n.filter((d) => !e.includes(d))), console.log("In de but not in en", e.filter((d) => !n.includes(d))), console.log(), console.log("In en but not in es", n.filter((d) => !t.includes(d))), console.log("In es but not in en", t.filter((d) => !n.includes(d))), console.log(), console.log("In en but not in kr", n.filter((d) => !r.includes(d))), console.log("In kr but not in en", r.filter((d) => !n.includes(d))), console.log(), console.log("In en but not in it", n.filter((d) => !o.includes(d))), console.log("In it but not in en", o.filter((d) => !n.includes(d))), console.log(), console.log("In en but not in fr", n.filter((d) => !i.includes(d))), console.log("In fr but not in en", i.filter((d) => !n.includes(d))), console.log(), console.log("In en but not in sr", n.filter((d) => !a.includes(d))), console.log("In sr but not in en", a.filter((d) => !n.includes(d))), console.log(), console.log("In en but not in tr", n.filter((d) => !s.includes(d))), console.log("In tr but not in en", s.filter((d) => !n.includes(d))), console.log();
13716
13716
  },
13717
13717
  base64ImageToBlob(n) {
13718
13718
  const e = n.split(";base64,"), t = e[0].split(":")[1], r = window.atob(e[1]), o = new Uint8Array(r.length);
@@ -13746,8 +13746,8 @@ const An = {
13746
13746
  cropCardScan(n, e) {
13747
13747
  const t = new window.Image(), r = document.createElement("canvas"), o = r.getContext("2d");
13748
13748
  t.src = "data:image/jpeg;base64," + n, t.onload = () => {
13749
- const i = t.width, a = t.width / 1.65, s = 0, u = t.height / 2 - a / 2, p = i, d = a;
13750
- r.width = p, r.height = d, o.drawImage(t, s, u, i, a, 0, 0, p, d);
13749
+ const i = t.width, a = t.width / 1.65, s = 0, d = t.height / 2 - a / 2, p = i, u = a;
13750
+ r.width = p, r.height = u, o.drawImage(t, s, d, i, a, 0, 0, p, u);
13751
13751
  const f = r.toDataURL();
13752
13752
  return e(f), f;
13753
13753
  };
@@ -13773,7 +13773,7 @@ const An = {
13773
13773
  },
13774
13774
  async decryptAES(n, e, t) {
13775
13775
  try {
13776
- const r = (u) => Uint8Array.from(atob(u), (p) => p.charCodeAt(0));
13776
+ const r = (d) => Uint8Array.from(atob(d), (p) => p.charCodeAt(0));
13777
13777
  t = t.replace(/ /g, "+");
13778
13778
  const o = new TextEncoder(), i = new TextDecoder();
13779
13779
  n = o.encode(n), e = o.encode(e), t = r(t, storage);
@@ -13823,11 +13823,11 @@ const An = {
13823
13823
  localStorage.setItem("pkce_code_verifier", r);
13824
13824
  let o = await zt.pkceChallengeFromVerifier(r), i = n.domain + "/v1/authorize", a;
13825
13825
  this.isNative ? a = "tapni://t.link/callback/okta" : a = location.origin + "/callback/okta";
13826
- let s = i + "?response_type=code&client_id=" + encodeURIComponent(n.clientID) + "&state=" + encodeURIComponent(t) + "&scope=" + encodeURIComponent("openid email profile") + "&redirect_uri=" + encodeURIComponent(a) + "&code_challenge=" + encodeURIComponent(o) + "&code_challenge_method=S256", u = this, p;
13827
- window.addEventListener("message", async (d) => {
13828
- if (!this.allowedOrigins.includes(d.origin))
13826
+ let s = i + "?response_type=code&client_id=" + encodeURIComponent(n.clientID) + "&state=" + encodeURIComponent(t) + "&scope=" + encodeURIComponent("openid email profile") + "&redirect_uri=" + encodeURIComponent(a) + "&code_challenge=" + encodeURIComponent(o) + "&code_challenge_method=S256", d = this, p;
13827
+ window.addEventListener("message", async (u) => {
13828
+ if (!this.allowedOrigins.includes(u.origin))
13829
13829
  return console.log("Origin is not allowed!");
13830
- d.data.type === "okta" && (p = d.data.code, await u.exchangeCode({ domain: n.domain, code: p, clientID: n.clientID }));
13830
+ u.data.type === "okta" && (p = u.data.code, await d.exchangeCode({ domain: n.domain, code: p, clientID: n.clientID }));
13831
13831
  }, { once: !0 }), this.isNative ? await hn.open({ url: s, presentationStyle: "popover" }) : window.open(s, "popup", "width=600,height=600");
13832
13832
  },
13833
13833
  async handleOktaRedirect() {
@@ -13867,10 +13867,10 @@ function Aa(n, e, t) {
13867
13867
  return (e + t) * 3 / 4 - t;
13868
13868
  }
13869
13869
  function Ra(n) {
13870
- var e, t = go(n), r = t[0], o = t[1], i = new Ta(Aa(n, r, o)), a = 0, s = o > 0 ? r - 4 : r, u;
13871
- for (u = 0; u < s; u += 4)
13872
- e = je[n.charCodeAt(u)] << 18 | je[n.charCodeAt(u + 1)] << 12 | je[n.charCodeAt(u + 2)] << 6 | je[n.charCodeAt(u + 3)], i[a++] = e >> 16 & 255, i[a++] = e >> 8 & 255, i[a++] = e & 255;
13873
- return o === 2 && (e = je[n.charCodeAt(u)] << 2 | je[n.charCodeAt(u + 1)] >> 4, i[a++] = e & 255), o === 1 && (e = je[n.charCodeAt(u)] << 10 | je[n.charCodeAt(u + 1)] << 4 | je[n.charCodeAt(u + 2)] >> 2, i[a++] = e >> 8 & 255, i[a++] = e & 255), i;
13870
+ var e, t = go(n), r = t[0], o = t[1], i = new Ta(Aa(n, r, o)), a = 0, s = o > 0 ? r - 4 : r, d;
13871
+ for (d = 0; d < s; d += 4)
13872
+ e = je[n.charCodeAt(d)] << 18 | je[n.charCodeAt(d + 1)] << 12 | je[n.charCodeAt(d + 2)] << 6 | je[n.charCodeAt(d + 3)], i[a++] = e >> 16 & 255, i[a++] = e >> 8 & 255, i[a++] = e & 255;
13873
+ return o === 2 && (e = je[n.charCodeAt(d)] << 2 | je[n.charCodeAt(d + 1)] >> 4, i[a++] = e & 255), o === 1 && (e = je[n.charCodeAt(d)] << 10 | je[n.charCodeAt(d + 1)] << 4 | je[n.charCodeAt(d + 2)] >> 2, i[a++] = e >> 8 & 255, i[a++] = e & 255), i;
13874
13874
  }
13875
13875
  function Pa(n) {
13876
13876
  return et[n >> 18 & 63] + et[n >> 12 & 63] + et[n >> 6 & 63] + et[n & 63];
@@ -13892,23 +13892,23 @@ function Na(n) {
13892
13892
  var ir = {};
13893
13893
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
13894
13894
  ir.read = function(n, e, t, r, o) {
13895
- var i, a, s = o * 8 - r - 1, u = (1 << s) - 1, p = u >> 1, d = -7, f = t ? o - 1 : 0, _ = t ? -1 : 1, k = n[e + f];
13896
- for (f += _, i = k & (1 << -d) - 1, k >>= -d, d += s; d > 0; i = i * 256 + n[e + f], f += _, d -= 8)
13895
+ var i, a, s = o * 8 - r - 1, d = (1 << s) - 1, p = d >> 1, u = -7, f = t ? o - 1 : 0, _ = t ? -1 : 1, k = n[e + f];
13896
+ for (f += _, i = k & (1 << -u) - 1, k >>= -u, u += s; u > 0; i = i * 256 + n[e + f], f += _, u -= 8)
13897
13897
  ;
13898
- for (a = i & (1 << -d) - 1, i >>= -d, d += r; d > 0; a = a * 256 + n[e + f], f += _, d -= 8)
13898
+ for (a = i & (1 << -u) - 1, i >>= -u, u += r; u > 0; a = a * 256 + n[e + f], f += _, u -= 8)
13899
13899
  ;
13900
13900
  if (i === 0)
13901
13901
  i = 1 - p;
13902
13902
  else {
13903
- if (i === u)
13903
+ if (i === d)
13904
13904
  return a ? NaN : (k ? -1 : 1) * (1 / 0);
13905
13905
  a = a + Math.pow(2, r), i = i - p;
13906
13906
  }
13907
13907
  return (k ? -1 : 1) * a * Math.pow(2, i - r);
13908
13908
  };
13909
13909
  ir.write = function(n, e, t, r, o, i) {
13910
- var a, s, u, p = i * 8 - o - 1, d = (1 << p) - 1, f = d >> 1, _ = o === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, k = r ? 0 : i - 1, E = r ? 1 : -1, N = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
13911
- for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (s = isNaN(e) ? 1 : 0, a = d) : (a = Math.floor(Math.log(e) / Math.LN2), e * (u = Math.pow(2, -a)) < 1 && (a--, u *= 2), a + f >= 1 ? e += _ / u : e += _ * Math.pow(2, 1 - f), e * u >= 2 && (a++, u /= 2), a + f >= d ? (s = 0, a = d) : a + f >= 1 ? (s = (e * u - 1) * Math.pow(2, o), a = a + f) : (s = e * Math.pow(2, f - 1) * Math.pow(2, o), a = 0)); o >= 8; n[t + k] = s & 255, k += E, s /= 256, o -= 8)
13910
+ var a, s, d, p = i * 8 - o - 1, u = (1 << p) - 1, f = u >> 1, _ = o === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, k = r ? 0 : i - 1, E = r ? 1 : -1, N = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
13911
+ for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (s = isNaN(e) ? 1 : 0, a = u) : (a = Math.floor(Math.log(e) / Math.LN2), e * (d = Math.pow(2, -a)) < 1 && (a--, d *= 2), a + f >= 1 ? e += _ / d : e += _ * Math.pow(2, 1 - f), e * d >= 2 && (a++, d /= 2), a + f >= u ? (s = 0, a = u) : a + f >= 1 ? (s = (e * d - 1) * Math.pow(2, o), a = a + f) : (s = e * Math.pow(2, f - 1) * Math.pow(2, o), a = 0)); o >= 8; n[t + k] = s & 255, k += E, s /= 256, o -= 8)
13912
13912
  ;
13913
13913
  for (a = a << o | s, p += o; p > 0; n[t + k] = a & 255, k += E, a /= 256, p -= 8)
13914
13914
  ;
@@ -13922,14 +13922,14 @@ ir.write = function(n, e, t, r, o, i) {
13922
13922
  */
13923
13923
  (function(n) {
13924
13924
  const e = Pn, t = ir, r = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
13925
- n.Buffer = d, n.SlowBuffer = xe, n.INSPECT_MAX_BYTES = 50;
13925
+ n.Buffer = u, n.SlowBuffer = xe, n.INSPECT_MAX_BYTES = 50;
13926
13926
  const o = 2147483647;
13927
13927
  n.kMaxLength = o;
13928
13928
  const { Uint8Array: i, ArrayBuffer: a, SharedArrayBuffer: s } = globalThis;
13929
- d.TYPED_ARRAY_SUPPORT = u(), !d.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
13929
+ u.TYPED_ARRAY_SUPPORT = d(), !u.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
13930
13930
  "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
13931
13931
  );
13932
- function u() {
13932
+ function d() {
13933
13933
  try {
13934
13934
  const h = new i(1), c = { foo: function() {
13935
13935
  return 42;
@@ -13939,16 +13939,16 @@ ir.write = function(n, e, t, r, o, i) {
13939
13939
  return !1;
13940
13940
  }
13941
13941
  }
13942
- Object.defineProperty(d.prototype, "parent", {
13942
+ Object.defineProperty(u.prototype, "parent", {
13943
13943
  enumerable: !0,
13944
13944
  get: function() {
13945
- if (d.isBuffer(this))
13945
+ if (u.isBuffer(this))
13946
13946
  return this.buffer;
13947
13947
  }
13948
- }), Object.defineProperty(d.prototype, "offset", {
13948
+ }), Object.defineProperty(u.prototype, "offset", {
13949
13949
  enumerable: !0,
13950
13950
  get: function() {
13951
- if (d.isBuffer(this))
13951
+ if (u.isBuffer(this))
13952
13952
  return this.byteOffset;
13953
13953
  }
13954
13954
  });
@@ -13956,9 +13956,9 @@ ir.write = function(n, e, t, r, o, i) {
13956
13956
  if (h > o)
13957
13957
  throw new RangeError('The value "' + h + '" is invalid for option "size"');
13958
13958
  const c = new i(h);
13959
- return Object.setPrototypeOf(c, d.prototype), c;
13959
+ return Object.setPrototypeOf(c, u.prototype), c;
13960
13960
  }
13961
- function d(h, c, l) {
13961
+ function u(h, c, l) {
13962
13962
  if (typeof h == "number") {
13963
13963
  if (typeof c == "string")
13964
13964
  throw new TypeError(
@@ -13968,7 +13968,7 @@ ir.write = function(n, e, t, r, o, i) {
13968
13968
  }
13969
13969
  return f(h, c, l);
13970
13970
  }
13971
- d.poolSize = 8192;
13971
+ u.poolSize = 8192;
13972
13972
  function f(h, c, l) {
13973
13973
  if (typeof h == "string")
13974
13974
  return N(h, c);
@@ -13986,19 +13986,19 @@ ir.write = function(n, e, t, r, o, i) {
13986
13986
  );
13987
13987
  const m = h.valueOf && h.valueOf();
13988
13988
  if (m != null && m !== h)
13989
- return d.from(m, c, l);
13989
+ return u.from(m, c, l);
13990
13990
  const v = $(h);
13991
13991
  if (v)
13992
13992
  return v;
13993
13993
  if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof h[Symbol.toPrimitive] == "function")
13994
- return d.from(h[Symbol.toPrimitive]("string"), c, l);
13994
+ return u.from(h[Symbol.toPrimitive]("string"), c, l);
13995
13995
  throw new TypeError(
13996
13996
  "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof h
13997
13997
  );
13998
13998
  }
13999
- d.from = function(h, c, l) {
13999
+ u.from = function(h, c, l) {
14000
14000
  return f(h, c, l);
14001
- }, Object.setPrototypeOf(d.prototype, i.prototype), Object.setPrototypeOf(d, i);
14001
+ }, Object.setPrototypeOf(u.prototype, i.prototype), Object.setPrototypeOf(u, i);
14002
14002
  function _(h) {
14003
14003
  if (typeof h != "number")
14004
14004
  throw new TypeError('"size" argument must be of type number');
@@ -14008,19 +14008,19 @@ ir.write = function(n, e, t, r, o, i) {
14008
14008
  function k(h, c, l) {
14009
14009
  return _(h), h <= 0 ? p(h) : c !== void 0 ? typeof l == "string" ? p(h).fill(c, l) : p(h).fill(c) : p(h);
14010
14010
  }
14011
- d.alloc = function(h, c, l) {
14011
+ u.alloc = function(h, c, l) {
14012
14012
  return k(h, c, l);
14013
14013
  };
14014
14014
  function E(h) {
14015
14015
  return _(h), p(h < 0 ? 0 : Ae(h) | 0);
14016
14016
  }
14017
- d.allocUnsafe = function(h) {
14017
+ u.allocUnsafe = function(h) {
14018
14018
  return E(h);
14019
- }, d.allocUnsafeSlow = function(h) {
14019
+ }, u.allocUnsafeSlow = function(h) {
14020
14020
  return E(h);
14021
14021
  };
14022
14022
  function N(h, c) {
14023
- if ((typeof c != "string" || c === "") && (c = "utf8"), !d.isEncoding(c))
14023
+ if ((typeof c != "string" || c === "") && (c = "utf8"), !u.isEncoding(c))
14024
14024
  throw new TypeError("Unknown encoding: " + c);
14025
14025
  const l = Ve(h, c) | 0;
14026
14026
  let m = p(l);
@@ -14046,10 +14046,10 @@ ir.write = function(n, e, t, r, o, i) {
14046
14046
  if (h.byteLength < c + (l || 0))
14047
14047
  throw new RangeError('"length" is outside of buffer bounds');
14048
14048
  let m;
14049
- return c === void 0 && l === void 0 ? m = new i(h) : l === void 0 ? m = new i(h, c) : m = new i(h, c, l), Object.setPrototypeOf(m, d.prototype), m;
14049
+ return c === void 0 && l === void 0 ? m = new i(h) : l === void 0 ? m = new i(h, c) : m = new i(h, c, l), Object.setPrototypeOf(m, u.prototype), m;
14050
14050
  }
14051
14051
  function $(h) {
14052
- if (d.isBuffer(h)) {
14052
+ if (u.isBuffer(h)) {
14053
14053
  const c = Ae(h.length) | 0, l = p(c);
14054
14054
  return l.length === 0 || h.copy(l, 0, 0, c), l;
14055
14055
  }
@@ -14064,12 +14064,12 @@ ir.write = function(n, e, t, r, o, i) {
14064
14064
  return h | 0;
14065
14065
  }
14066
14066
  function xe(h) {
14067
- return +h != h && (h = 0), d.alloc(+h);
14067
+ return +h != h && (h = 0), u.alloc(+h);
14068
14068
  }
14069
- d.isBuffer = function(c) {
14070
- return c != null && c._isBuffer === !0 && c !== d.prototype;
14071
- }, d.compare = function(c, l) {
14072
- if ($e(c, i) && (c = d.from(c, c.offset, c.byteLength)), $e(l, i) && (l = d.from(l, l.offset, l.byteLength)), !d.isBuffer(c) || !d.isBuffer(l))
14069
+ u.isBuffer = function(c) {
14070
+ return c != null && c._isBuffer === !0 && c !== u.prototype;
14071
+ }, u.compare = function(c, l) {
14072
+ if ($e(c, i) && (c = u.from(c, c.offset, c.byteLength)), $e(l, i) && (l = u.from(l, l.offset, l.byteLength)), !u.isBuffer(c) || !u.isBuffer(l))
14073
14073
  throw new TypeError(
14074
14074
  'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
14075
14075
  );
@@ -14082,7 +14082,7 @@ ir.write = function(n, e, t, r, o, i) {
14082
14082
  break;
14083
14083
  }
14084
14084
  return m < v ? -1 : v < m ? 1 : 0;
14085
- }, d.isEncoding = function(c) {
14085
+ }, u.isEncoding = function(c) {
14086
14086
  switch (String(c).toLowerCase()) {
14087
14087
  case "hex":
14088
14088
  case "utf8":
@@ -14099,26 +14099,26 @@ ir.write = function(n, e, t, r, o, i) {
14099
14099
  default:
14100
14100
  return !1;
14101
14101
  }
14102
- }, d.concat = function(c, l) {
14102
+ }, u.concat = function(c, l) {
14103
14103
  if (!Array.isArray(c))
14104
14104
  throw new TypeError('"list" argument must be an Array of Buffers');
14105
14105
  if (c.length === 0)
14106
- return d.alloc(0);
14106
+ return u.alloc(0);
14107
14107
  let m;
14108
14108
  if (l === void 0)
14109
14109
  for (l = 0, m = 0; m < c.length; ++m)
14110
14110
  l += c[m].length;
14111
- const v = d.allocUnsafe(l);
14111
+ const v = u.allocUnsafe(l);
14112
14112
  let w = 0;
14113
14113
  for (m = 0; m < c.length; ++m) {
14114
14114
  let C = c[m];
14115
14115
  if ($e(C, i))
14116
- w + C.length > v.length ? (d.isBuffer(C) || (C = d.from(C)), C.copy(v, w)) : i.prototype.set.call(
14116
+ w + C.length > v.length ? (u.isBuffer(C) || (C = u.from(C)), C.copy(v, w)) : i.prototype.set.call(
14117
14117
  v,
14118
14118
  C,
14119
14119
  w
14120
14120
  );
14121
- else if (d.isBuffer(C))
14121
+ else if (u.isBuffer(C))
14122
14122
  C.copy(v, w);
14123
14123
  else
14124
14124
  throw new TypeError('"list" argument must be an Array of Buffers');
@@ -14127,7 +14127,7 @@ ir.write = function(n, e, t, r, o, i) {
14127
14127
  return v;
14128
14128
  };
14129
14129
  function Ve(h, c) {
14130
- if (d.isBuffer(h))
14130
+ if (u.isBuffer(h))
14131
14131
  return h.length;
14132
14132
  if (a.isView(h) || $e(h, a))
14133
14133
  return h.byteLength;
@@ -14163,7 +14163,7 @@ ir.write = function(n, e, t, r, o, i) {
14163
14163
  c = ("" + c).toLowerCase(), v = !0;
14164
14164
  }
14165
14165
  }
14166
- d.byteLength = Ve;
14166
+ u.byteLength = Ve;
14167
14167
  function Ct(h, c, l) {
14168
14168
  let m = !1;
14169
14169
  if ((c === void 0 || c < 0) && (c = 0), c > this.length || ((l === void 0 || l > this.length) && (l = this.length), l <= 0) || (l >>>= 0, c >>>= 0, l <= c))
@@ -14193,45 +14193,45 @@ ir.write = function(n, e, t, r, o, i) {
14193
14193
  h = (h + "").toLowerCase(), m = !0;
14194
14194
  }
14195
14195
  }
14196
- d.prototype._isBuffer = !0;
14196
+ u.prototype._isBuffer = !0;
14197
14197
  function ce(h, c, l) {
14198
14198
  const m = h[c];
14199
14199
  h[c] = h[l], h[l] = m;
14200
14200
  }
14201
- d.prototype.swap16 = function() {
14201
+ u.prototype.swap16 = function() {
14202
14202
  const c = this.length;
14203
14203
  if (c % 2 !== 0)
14204
14204
  throw new RangeError("Buffer size must be a multiple of 16-bits");
14205
14205
  for (let l = 0; l < c; l += 2)
14206
14206
  ce(this, l, l + 1);
14207
14207
  return this;
14208
- }, d.prototype.swap32 = function() {
14208
+ }, u.prototype.swap32 = function() {
14209
14209
  const c = this.length;
14210
14210
  if (c % 4 !== 0)
14211
14211
  throw new RangeError("Buffer size must be a multiple of 32-bits");
14212
14212
  for (let l = 0; l < c; l += 4)
14213
14213
  ce(this, l, l + 3), ce(this, l + 1, l + 2);
14214
14214
  return this;
14215
- }, d.prototype.swap64 = function() {
14215
+ }, u.prototype.swap64 = function() {
14216
14216
  const c = this.length;
14217
14217
  if (c % 8 !== 0)
14218
14218
  throw new RangeError("Buffer size must be a multiple of 64-bits");
14219
14219
  for (let l = 0; l < c; l += 8)
14220
14220
  ce(this, l, l + 7), ce(this, l + 1, l + 6), ce(this, l + 2, l + 5), ce(this, l + 3, l + 4);
14221
14221
  return this;
14222
- }, d.prototype.toString = function() {
14222
+ }, u.prototype.toString = function() {
14223
14223
  const c = this.length;
14224
14224
  return c === 0 ? "" : arguments.length === 0 ? cr(this, 0, c) : Ct.apply(this, arguments);
14225
- }, d.prototype.toLocaleString = d.prototype.toString, d.prototype.equals = function(c) {
14226
- if (!d.isBuffer(c))
14225
+ }, u.prototype.toLocaleString = u.prototype.toString, u.prototype.equals = function(c) {
14226
+ if (!u.isBuffer(c))
14227
14227
  throw new TypeError("Argument must be a Buffer");
14228
- return this === c ? !0 : d.compare(this, c) === 0;
14229
- }, d.prototype.inspect = function() {
14228
+ return this === c ? !0 : u.compare(this, c) === 0;
14229
+ }, u.prototype.inspect = function() {
14230
14230
  let c = "";
14231
14231
  const l = n.INSPECT_MAX_BYTES;
14232
14232
  return c = this.toString("hex", 0, l).replace(/(.{2})/g, "$1 ").trim(), this.length > l && (c += " ... "), "<Buffer " + c + ">";
14233
- }, r && (d.prototype[r] = d.prototype.inspect), d.prototype.compare = function(c, l, m, v, w) {
14234
- if ($e(c, i) && (c = d.from(c, c.offset, c.byteLength)), !d.isBuffer(c))
14233
+ }, r && (u.prototype[r] = u.prototype.inspect), u.prototype.compare = function(c, l, m, v, w) {
14234
+ if ($e(c, i) && (c = u.from(c, c.offset, c.byteLength)), !u.isBuffer(c))
14235
14235
  throw new TypeError(
14236
14236
  'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof c
14237
14237
  );
@@ -14246,10 +14246,10 @@ ir.write = function(n, e, t, r, o, i) {
14246
14246
  if (l >>>= 0, m >>>= 0, v >>>= 0, w >>>= 0, this === c)
14247
14247
  return 0;
14248
14248
  let C = w - v, Y = m - l;
14249
- const le = Math.min(C, Y), ae = this.slice(v, w), ue = c.slice(l, m);
14249
+ const le = Math.min(C, Y), ae = this.slice(v, w), de = c.slice(l, m);
14250
14250
  for (let re = 0; re < le; ++re)
14251
- if (ae[re] !== ue[re]) {
14252
- C = ae[re], Y = ue[re];
14251
+ if (ae[re] !== de[re]) {
14252
+ C = ae[re], Y = de[re];
14253
14253
  break;
14254
14254
  }
14255
14255
  return C < Y ? -1 : Y < C ? 1 : 0;
@@ -14266,7 +14266,7 @@ ir.write = function(n, e, t, r, o, i) {
14266
14266
  l = 0;
14267
14267
  else
14268
14268
  return -1;
14269
- if (typeof c == "string" && (c = d.from(c, m)), d.isBuffer(c))
14269
+ if (typeof c == "string" && (c = u.from(c, m)), u.isBuffer(c))
14270
14270
  return c.length === 0 ? -1 : sr(h, c, l, m, v);
14271
14271
  if (typeof c == "number")
14272
14272
  return c = c & 255, typeof i.prototype.indexOf == "function" ? v ? i.prototype.indexOf.call(h, c, l) : i.prototype.lastIndexOf.call(h, c, l) : sr(h, [c], l, m, v);
@@ -14279,36 +14279,36 @@ ir.write = function(n, e, t, r, o, i) {
14279
14279
  return -1;
14280
14280
  w = 2, C /= 2, Y /= 2, l /= 2;
14281
14281
  }
14282
- function le(ue, re) {
14283
- return w === 1 ? ue[re] : ue.readUInt16BE(re * w);
14282
+ function le(de, re) {
14283
+ return w === 1 ? de[re] : de.readUInt16BE(re * w);
14284
14284
  }
14285
14285
  let ae;
14286
14286
  if (v) {
14287
- let ue = -1;
14287
+ let de = -1;
14288
14288
  for (ae = l; ae < C; ae++)
14289
- if (le(h, ae) === le(c, ue === -1 ? 0 : ae - ue)) {
14290
- if (ue === -1 && (ue = ae), ae - ue + 1 === Y)
14291
- return ue * w;
14289
+ if (le(h, ae) === le(c, de === -1 ? 0 : ae - de)) {
14290
+ if (de === -1 && (de = ae), ae - de + 1 === Y)
14291
+ return de * w;
14292
14292
  } else
14293
- ue !== -1 && (ae -= ae - ue), ue = -1;
14293
+ de !== -1 && (ae -= ae - de), de = -1;
14294
14294
  } else
14295
14295
  for (l + Y > C && (l = C - Y), ae = l; ae >= 0; ae--) {
14296
- let ue = !0;
14296
+ let de = !0;
14297
14297
  for (let re = 0; re < Y; re++)
14298
14298
  if (le(h, ae + re) !== le(c, re)) {
14299
- ue = !1;
14299
+ de = !1;
14300
14300
  break;
14301
14301
  }
14302
- if (ue)
14302
+ if (de)
14303
14303
  return ae;
14304
14304
  }
14305
14305
  return -1;
14306
14306
  }
14307
- d.prototype.includes = function(c, l, m) {
14307
+ u.prototype.includes = function(c, l, m) {
14308
14308
  return this.indexOf(c, l, m) !== -1;
14309
- }, d.prototype.indexOf = function(c, l, m) {
14309
+ }, u.prototype.indexOf = function(c, l, m) {
14310
14310
  return ar(this, c, l, m, !0);
14311
- }, d.prototype.lastIndexOf = function(c, l, m) {
14311
+ }, u.prototype.lastIndexOf = function(c, l, m) {
14312
14312
  return ar(this, c, l, m, !1);
14313
14313
  };
14314
14314
  function Io(h, c, l, m) {
@@ -14338,7 +14338,7 @@ ir.write = function(n, e, t, r, o, i) {
14338
14338
  function Po(h, c, l, m) {
14339
14339
  return an(qo(c, h.length - l), h, l, m);
14340
14340
  }
14341
- d.prototype.write = function(c, l, m, v) {
14341
+ u.prototype.write = function(c, l, m, v) {
14342
14342
  if (l === void 0)
14343
14343
  v = "utf8", m = this.length, l = 0;
14344
14344
  else if (m === void 0 && typeof l == "string")
@@ -14377,7 +14377,7 @@ ir.write = function(n, e, t, r, o, i) {
14377
14377
  throw new TypeError("Unknown encoding: " + v);
14378
14378
  v = ("" + v).toLowerCase(), C = !0;
14379
14379
  }
14380
- }, d.prototype.toJSON = function() {
14380
+ }, u.prototype.toJSON = function() {
14381
14381
  return {
14382
14382
  type: "Buffer",
14383
14383
  data: Array.prototype.slice.call(this._arr || this, 0)
@@ -14394,7 +14394,7 @@ ir.write = function(n, e, t, r, o, i) {
14394
14394
  const w = h[v];
14395
14395
  let C = null, Y = w > 239 ? 4 : w > 223 ? 3 : w > 191 ? 2 : 1;
14396
14396
  if (v + Y <= l) {
14397
- let le, ae, ue, re;
14397
+ let le, ae, de, re;
14398
14398
  switch (Y) {
14399
14399
  case 1:
14400
14400
  w < 128 && (C = w);
@@ -14406,7 +14406,7 @@ ir.write = function(n, e, t, r, o, i) {
14406
14406
  le = h[v + 1], ae = h[v + 2], (le & 192) === 128 && (ae & 192) === 128 && (re = (w & 15) << 12 | (le & 63) << 6 | ae & 63, re > 2047 && (re < 55296 || re > 57343) && (C = re));
14407
14407
  break;
14408
14408
  case 4:
14409
- le = h[v + 1], ae = h[v + 2], ue = h[v + 3], (le & 192) === 128 && (ae & 192) === 128 && (ue & 192) === 128 && (re = (w & 15) << 18 | (le & 63) << 12 | (ae & 63) << 6 | ue & 63, re > 65535 && re < 1114112 && (C = re));
14409
+ le = h[v + 1], ae = h[v + 2], de = h[v + 3], (le & 192) === 128 && (ae & 192) === 128 && (de & 192) === 128 && (re = (w & 15) << 18 | (le & 63) << 12 | (ae & 63) << 6 | de & 63, re > 65535 && re < 1114112 && (C = re));
14410
14410
  }
14411
14411
  }
14412
14412
  C === null ? (C = 65533, Y = 1) : C > 65535 && (C -= 65536, m.push(C >>> 10 & 1023 | 55296), C = 56320 | C & 1023), m.push(C), v += Y;
@@ -14455,11 +14455,11 @@ ir.write = function(n, e, t, r, o, i) {
14455
14455
  v += String.fromCharCode(m[w] + m[w + 1] * 256);
14456
14456
  return v;
14457
14457
  }
14458
- d.prototype.slice = function(c, l) {
14458
+ u.prototype.slice = function(c, l) {
14459
14459
  const m = this.length;
14460
14460
  c = ~~c, l = l === void 0 ? m : ~~l, c < 0 ? (c += m, c < 0 && (c = 0)) : c > m && (c = m), l < 0 ? (l += m, l < 0 && (l = 0)) : l > m && (l = m), l < c && (l = c);
14461
14461
  const v = this.subarray(c, l);
14462
- return Object.setPrototypeOf(v, d.prototype), v;
14462
+ return Object.setPrototypeOf(v, u.prototype), v;
14463
14463
  };
14464
14464
  function ge(h, c, l) {
14465
14465
  if (h % 1 !== 0 || h < 0)
@@ -14467,97 +14467,97 @@ ir.write = function(n, e, t, r, o, i) {
14467
14467
  if (h + c > l)
14468
14468
  throw new RangeError("Trying to access beyond buffer length");
14469
14469
  }
14470
- d.prototype.readUintLE = d.prototype.readUIntLE = function(c, l, m) {
14470
+ u.prototype.readUintLE = u.prototype.readUIntLE = function(c, l, m) {
14471
14471
  c = c >>> 0, l = l >>> 0, m || ge(c, l, this.length);
14472
14472
  let v = this[c], w = 1, C = 0;
14473
14473
  for (; ++C < l && (w *= 256); )
14474
14474
  v += this[c + C] * w;
14475
14475
  return v;
14476
- }, d.prototype.readUintBE = d.prototype.readUIntBE = function(c, l, m) {
14476
+ }, u.prototype.readUintBE = u.prototype.readUIntBE = function(c, l, m) {
14477
14477
  c = c >>> 0, l = l >>> 0, m || ge(c, l, this.length);
14478
14478
  let v = this[c + --l], w = 1;
14479
14479
  for (; l > 0 && (w *= 256); )
14480
14480
  v += this[c + --l] * w;
14481
14481
  return v;
14482
- }, d.prototype.readUint8 = d.prototype.readUInt8 = function(c, l) {
14482
+ }, u.prototype.readUint8 = u.prototype.readUInt8 = function(c, l) {
14483
14483
  return c = c >>> 0, l || ge(c, 1, this.length), this[c];
14484
- }, d.prototype.readUint16LE = d.prototype.readUInt16LE = function(c, l) {
14484
+ }, u.prototype.readUint16LE = u.prototype.readUInt16LE = function(c, l) {
14485
14485
  return c = c >>> 0, l || ge(c, 2, this.length), this[c] | this[c + 1] << 8;
14486
- }, d.prototype.readUint16BE = d.prototype.readUInt16BE = function(c, l) {
14486
+ }, u.prototype.readUint16BE = u.prototype.readUInt16BE = function(c, l) {
14487
14487
  return c = c >>> 0, l || ge(c, 2, this.length), this[c] << 8 | this[c + 1];
14488
- }, d.prototype.readUint32LE = d.prototype.readUInt32LE = function(c, l) {
14488
+ }, u.prototype.readUint32LE = u.prototype.readUInt32LE = function(c, l) {
14489
14489
  return c = c >>> 0, l || ge(c, 4, this.length), (this[c] | this[c + 1] << 8 | this[c + 2] << 16) + this[c + 3] * 16777216;
14490
- }, d.prototype.readUint32BE = d.prototype.readUInt32BE = function(c, l) {
14490
+ }, u.prototype.readUint32BE = u.prototype.readUInt32BE = function(c, l) {
14491
14491
  return c = c >>> 0, l || ge(c, 4, this.length), this[c] * 16777216 + (this[c + 1] << 16 | this[c + 2] << 8 | this[c + 3]);
14492
- }, d.prototype.readBigUInt64LE = ut(function(c) {
14492
+ }, u.prototype.readBigUInt64LE = dt(function(c) {
14493
14493
  c = c >>> 0, Tt(c, "offset");
14494
14494
  const l = this[c], m = this[c + 7];
14495
14495
  (l === void 0 || m === void 0) && jt(c, this.length - 8);
14496
14496
  const v = l + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + this[++c] * 2 ** 24, w = this[++c] + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + m * 2 ** 24;
14497
14497
  return BigInt(v) + (BigInt(w) << BigInt(32));
14498
- }), d.prototype.readBigUInt64BE = ut(function(c) {
14498
+ }), u.prototype.readBigUInt64BE = dt(function(c) {
14499
14499
  c = c >>> 0, Tt(c, "offset");
14500
14500
  const l = this[c], m = this[c + 7];
14501
14501
  (l === void 0 || m === void 0) && jt(c, this.length - 8);
14502
14502
  const v = l * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + this[++c], w = this[++c] * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + m;
14503
14503
  return (BigInt(v) << BigInt(32)) + BigInt(w);
14504
- }), d.prototype.readIntLE = function(c, l, m) {
14504
+ }), u.prototype.readIntLE = function(c, l, m) {
14505
14505
  c = c >>> 0, l = l >>> 0, m || ge(c, l, this.length);
14506
14506
  let v = this[c], w = 1, C = 0;
14507
14507
  for (; ++C < l && (w *= 256); )
14508
14508
  v += this[c + C] * w;
14509
14509
  return w *= 128, v >= w && (v -= Math.pow(2, 8 * l)), v;
14510
- }, d.prototype.readIntBE = function(c, l, m) {
14510
+ }, u.prototype.readIntBE = function(c, l, m) {
14511
14511
  c = c >>> 0, l = l >>> 0, m || ge(c, l, this.length);
14512
14512
  let v = l, w = 1, C = this[c + --v];
14513
14513
  for (; v > 0 && (w *= 256); )
14514
14514
  C += this[c + --v] * w;
14515
14515
  return w *= 128, C >= w && (C -= Math.pow(2, 8 * l)), C;
14516
- }, d.prototype.readInt8 = function(c, l) {
14516
+ }, u.prototype.readInt8 = function(c, l) {
14517
14517
  return c = c >>> 0, l || ge(c, 1, this.length), this[c] & 128 ? (255 - this[c] + 1) * -1 : this[c];
14518
- }, d.prototype.readInt16LE = function(c, l) {
14518
+ }, u.prototype.readInt16LE = function(c, l) {
14519
14519
  c = c >>> 0, l || ge(c, 2, this.length);
14520
14520
  const m = this[c] | this[c + 1] << 8;
14521
14521
  return m & 32768 ? m | 4294901760 : m;
14522
- }, d.prototype.readInt16BE = function(c, l) {
14522
+ }, u.prototype.readInt16BE = function(c, l) {
14523
14523
  c = c >>> 0, l || ge(c, 2, this.length);
14524
14524
  const m = this[c + 1] | this[c] << 8;
14525
14525
  return m & 32768 ? m | 4294901760 : m;
14526
- }, d.prototype.readInt32LE = function(c, l) {
14526
+ }, u.prototype.readInt32LE = function(c, l) {
14527
14527
  return c = c >>> 0, l || ge(c, 4, this.length), this[c] | this[c + 1] << 8 | this[c + 2] << 16 | this[c + 3] << 24;
14528
- }, d.prototype.readInt32BE = function(c, l) {
14528
+ }, u.prototype.readInt32BE = function(c, l) {
14529
14529
  return c = c >>> 0, l || ge(c, 4, this.length), this[c] << 24 | this[c + 1] << 16 | this[c + 2] << 8 | this[c + 3];
14530
- }, d.prototype.readBigInt64LE = ut(function(c) {
14530
+ }, u.prototype.readBigInt64LE = dt(function(c) {
14531
14531
  c = c >>> 0, Tt(c, "offset");
14532
14532
  const l = this[c], m = this[c + 7];
14533
14533
  (l === void 0 || m === void 0) && jt(c, this.length - 8);
14534
14534
  const v = this[c + 4] + this[c + 5] * 2 ** 8 + this[c + 6] * 2 ** 16 + (m << 24);
14535
14535
  return (BigInt(v) << BigInt(32)) + BigInt(l + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + this[++c] * 2 ** 24);
14536
- }), d.prototype.readBigInt64BE = ut(function(c) {
14536
+ }), u.prototype.readBigInt64BE = dt(function(c) {
14537
14537
  c = c >>> 0, Tt(c, "offset");
14538
14538
  const l = this[c], m = this[c + 7];
14539
14539
  (l === void 0 || m === void 0) && jt(c, this.length - 8);
14540
14540
  const v = (l << 24) + // Overflow
14541
14541
  this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + this[++c];
14542
14542
  return (BigInt(v) << BigInt(32)) + BigInt(this[++c] * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + m);
14543
- }), d.prototype.readFloatLE = function(c, l) {
14543
+ }), u.prototype.readFloatLE = function(c, l) {
14544
14544
  return c = c >>> 0, l || ge(c, 4, this.length), t.read(this, c, !0, 23, 4);
14545
- }, d.prototype.readFloatBE = function(c, l) {
14545
+ }, u.prototype.readFloatBE = function(c, l) {
14546
14546
  return c = c >>> 0, l || ge(c, 4, this.length), t.read(this, c, !1, 23, 4);
14547
- }, d.prototype.readDoubleLE = function(c, l) {
14547
+ }, u.prototype.readDoubleLE = function(c, l) {
14548
14548
  return c = c >>> 0, l || ge(c, 8, this.length), t.read(this, c, !0, 52, 8);
14549
- }, d.prototype.readDoubleBE = function(c, l) {
14549
+ }, u.prototype.readDoubleBE = function(c, l) {
14550
14550
  return c = c >>> 0, l || ge(c, 8, this.length), t.read(this, c, !1, 52, 8);
14551
14551
  };
14552
14552
  function Re(h, c, l, m, v, w) {
14553
- if (!d.isBuffer(h))
14553
+ if (!u.isBuffer(h))
14554
14554
  throw new TypeError('"buffer" argument must be a Buffer instance');
14555
14555
  if (c > v || c < w)
14556
14556
  throw new RangeError('"value" argument is out of bounds');
14557
14557
  if (l + m > h.length)
14558
14558
  throw new RangeError("Index out of range");
14559
14559
  }
14560
- d.prototype.writeUintLE = d.prototype.writeUIntLE = function(c, l, m, v) {
14560
+ u.prototype.writeUintLE = u.prototype.writeUIntLE = function(c, l, m, v) {
14561
14561
  if (c = +c, l = l >>> 0, m = m >>> 0, !v) {
14562
14562
  const Y = Math.pow(2, 8 * m) - 1;
14563
14563
  Re(this, c, l, m, Y, 0);
@@ -14566,7 +14566,7 @@ ir.write = function(n, e, t, r, o, i) {
14566
14566
  for (this[l] = c & 255; ++C < m && (w *= 256); )
14567
14567
  this[l + C] = c / w & 255;
14568
14568
  return l + m;
14569
- }, d.prototype.writeUintBE = d.prototype.writeUIntBE = function(c, l, m, v) {
14569
+ }, u.prototype.writeUintBE = u.prototype.writeUIntBE = function(c, l, m, v) {
14570
14570
  if (c = +c, l = l >>> 0, m = m >>> 0, !v) {
14571
14571
  const Y = Math.pow(2, 8 * m) - 1;
14572
14572
  Re(this, c, l, m, Y, 0);
@@ -14575,36 +14575,36 @@ ir.write = function(n, e, t, r, o, i) {
14575
14575
  for (this[l + w] = c & 255; --w >= 0 && (C *= 256); )
14576
14576
  this[l + w] = c / C & 255;
14577
14577
  return l + m;
14578
- }, d.prototype.writeUint8 = d.prototype.writeUInt8 = function(c, l, m) {
14578
+ }, u.prototype.writeUint8 = u.prototype.writeUInt8 = function(c, l, m) {
14579
14579
  return c = +c, l = l >>> 0, m || Re(this, c, l, 1, 255, 0), this[l] = c & 255, l + 1;
14580
- }, d.prototype.writeUint16LE = d.prototype.writeUInt16LE = function(c, l, m) {
14580
+ }, u.prototype.writeUint16LE = u.prototype.writeUInt16LE = function(c, l, m) {
14581
14581
  return c = +c, l = l >>> 0, m || Re(this, c, l, 2, 65535, 0), this[l] = c & 255, this[l + 1] = c >>> 8, l + 2;
14582
- }, d.prototype.writeUint16BE = d.prototype.writeUInt16BE = function(c, l, m) {
14582
+ }, u.prototype.writeUint16BE = u.prototype.writeUInt16BE = function(c, l, m) {
14583
14583
  return c = +c, l = l >>> 0, m || Re(this, c, l, 2, 65535, 0), this[l] = c >>> 8, this[l + 1] = c & 255, l + 2;
14584
- }, d.prototype.writeUint32LE = d.prototype.writeUInt32LE = function(c, l, m) {
14584
+ }, u.prototype.writeUint32LE = u.prototype.writeUInt32LE = function(c, l, m) {
14585
14585
  return c = +c, l = l >>> 0, m || Re(this, c, l, 4, 4294967295, 0), this[l + 3] = c >>> 24, this[l + 2] = c >>> 16, this[l + 1] = c >>> 8, this[l] = c & 255, l + 4;
14586
- }, d.prototype.writeUint32BE = d.prototype.writeUInt32BE = function(c, l, m) {
14586
+ }, u.prototype.writeUint32BE = u.prototype.writeUInt32BE = function(c, l, m) {
14587
14587
  return c = +c, l = l >>> 0, m || Re(this, c, l, 4, 4294967295, 0), this[l] = c >>> 24, this[l + 1] = c >>> 16, this[l + 2] = c >>> 8, this[l + 3] = c & 255, l + 4;
14588
14588
  };
14589
- function ur(h, c, l, m, v) {
14589
+ function dr(h, c, l, m, v) {
14590
14590
  gr(c, m, v, h, l, 7);
14591
14591
  let w = Number(c & BigInt(4294967295));
14592
14592
  h[l++] = w, w = w >> 8, h[l++] = w, w = w >> 8, h[l++] = w, w = w >> 8, h[l++] = w;
14593
14593
  let C = Number(c >> BigInt(32) & BigInt(4294967295));
14594
14594
  return h[l++] = C, C = C >> 8, h[l++] = C, C = C >> 8, h[l++] = C, C = C >> 8, h[l++] = C, l;
14595
14595
  }
14596
- function dr(h, c, l, m, v) {
14596
+ function ur(h, c, l, m, v) {
14597
14597
  gr(c, m, v, h, l, 7);
14598
14598
  let w = Number(c & BigInt(4294967295));
14599
14599
  h[l + 7] = w, w = w >> 8, h[l + 6] = w, w = w >> 8, h[l + 5] = w, w = w >> 8, h[l + 4] = w;
14600
14600
  let C = Number(c >> BigInt(32) & BigInt(4294967295));
14601
14601
  return h[l + 3] = C, C = C >> 8, h[l + 2] = C, C = C >> 8, h[l + 1] = C, C = C >> 8, h[l] = C, l + 8;
14602
14602
  }
14603
- d.prototype.writeBigUInt64LE = ut(function(c, l = 0) {
14604
- return ur(this, c, l, BigInt(0), BigInt("0xffffffffffffffff"));
14605
- }), d.prototype.writeBigUInt64BE = ut(function(c, l = 0) {
14603
+ u.prototype.writeBigUInt64LE = dt(function(c, l = 0) {
14606
14604
  return dr(this, c, l, BigInt(0), BigInt("0xffffffffffffffff"));
14607
- }), d.prototype.writeIntLE = function(c, l, m, v) {
14605
+ }), u.prototype.writeBigUInt64BE = dt(function(c, l = 0) {
14606
+ return ur(this, c, l, BigInt(0), BigInt("0xffffffffffffffff"));
14607
+ }), u.prototype.writeIntLE = function(c, l, m, v) {
14608
14608
  if (c = +c, l = l >>> 0, !v) {
14609
14609
  const le = Math.pow(2, 8 * m - 1);
14610
14610
  Re(this, c, l, m, le - 1, -le);
@@ -14613,7 +14613,7 @@ ir.write = function(n, e, t, r, o, i) {
14613
14613
  for (this[l] = c & 255; ++w < m && (C *= 256); )
14614
14614
  c < 0 && Y === 0 && this[l + w - 1] !== 0 && (Y = 1), this[l + w] = (c / C >> 0) - Y & 255;
14615
14615
  return l + m;
14616
- }, d.prototype.writeIntBE = function(c, l, m, v) {
14616
+ }, u.prototype.writeIntBE = function(c, l, m, v) {
14617
14617
  if (c = +c, l = l >>> 0, !v) {
14618
14618
  const le = Math.pow(2, 8 * m - 1);
14619
14619
  Re(this, c, l, m, le - 1, -le);
@@ -14622,20 +14622,20 @@ ir.write = function(n, e, t, r, o, i) {
14622
14622
  for (this[l + w] = c & 255; --w >= 0 && (C *= 256); )
14623
14623
  c < 0 && Y === 0 && this[l + w + 1] !== 0 && (Y = 1), this[l + w] = (c / C >> 0) - Y & 255;
14624
14624
  return l + m;
14625
- }, d.prototype.writeInt8 = function(c, l, m) {
14625
+ }, u.prototype.writeInt8 = function(c, l, m) {
14626
14626
  return c = +c, l = l >>> 0, m || Re(this, c, l, 1, 127, -128), c < 0 && (c = 255 + c + 1), this[l] = c & 255, l + 1;
14627
- }, d.prototype.writeInt16LE = function(c, l, m) {
14627
+ }, u.prototype.writeInt16LE = function(c, l, m) {
14628
14628
  return c = +c, l = l >>> 0, m || Re(this, c, l, 2, 32767, -32768), this[l] = c & 255, this[l + 1] = c >>> 8, l + 2;
14629
- }, d.prototype.writeInt16BE = function(c, l, m) {
14629
+ }, u.prototype.writeInt16BE = function(c, l, m) {
14630
14630
  return c = +c, l = l >>> 0, m || Re(this, c, l, 2, 32767, -32768), this[l] = c >>> 8, this[l + 1] = c & 255, l + 2;
14631
- }, d.prototype.writeInt32LE = function(c, l, m) {
14631
+ }, u.prototype.writeInt32LE = function(c, l, m) {
14632
14632
  return c = +c, l = l >>> 0, m || Re(this, c, l, 4, 2147483647, -2147483648), this[l] = c & 255, this[l + 1] = c >>> 8, this[l + 2] = c >>> 16, this[l + 3] = c >>> 24, l + 4;
14633
- }, d.prototype.writeInt32BE = function(c, l, m) {
14633
+ }, u.prototype.writeInt32BE = function(c, l, m) {
14634
14634
  return c = +c, l = l >>> 0, m || Re(this, c, l, 4, 2147483647, -2147483648), c < 0 && (c = 4294967295 + c + 1), this[l] = c >>> 24, this[l + 1] = c >>> 16, this[l + 2] = c >>> 8, this[l + 3] = c & 255, l + 4;
14635
- }, d.prototype.writeBigInt64LE = ut(function(c, l = 0) {
14636
- return ur(this, c, l, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
14637
- }), d.prototype.writeBigInt64BE = ut(function(c, l = 0) {
14635
+ }, u.prototype.writeBigInt64LE = dt(function(c, l = 0) {
14638
14636
  return dr(this, c, l, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
14637
+ }), u.prototype.writeBigInt64BE = dt(function(c, l = 0) {
14638
+ return ur(this, c, l, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
14639
14639
  });
14640
14640
  function pr(h, c, l, m, v, w) {
14641
14641
  if (l + m > h.length)
@@ -14646,20 +14646,20 @@ ir.write = function(n, e, t, r, o, i) {
14646
14646
  function hr(h, c, l, m, v) {
14647
14647
  return c = +c, l = l >>> 0, v || pr(h, c, l, 4), t.write(h, c, l, m, 23, 4), l + 4;
14648
14648
  }
14649
- d.prototype.writeFloatLE = function(c, l, m) {
14649
+ u.prototype.writeFloatLE = function(c, l, m) {
14650
14650
  return hr(this, c, l, !0, m);
14651
- }, d.prototype.writeFloatBE = function(c, l, m) {
14651
+ }, u.prototype.writeFloatBE = function(c, l, m) {
14652
14652
  return hr(this, c, l, !1, m);
14653
14653
  };
14654
14654
  function mr(h, c, l, m, v) {
14655
14655
  return c = +c, l = l >>> 0, v || pr(h, c, l, 8), t.write(h, c, l, m, 52, 8), l + 8;
14656
14656
  }
14657
- d.prototype.writeDoubleLE = function(c, l, m) {
14657
+ u.prototype.writeDoubleLE = function(c, l, m) {
14658
14658
  return mr(this, c, l, !0, m);
14659
- }, d.prototype.writeDoubleBE = function(c, l, m) {
14659
+ }, u.prototype.writeDoubleBE = function(c, l, m) {
14660
14660
  return mr(this, c, l, !1, m);
14661
- }, d.prototype.copy = function(c, l, m, v) {
14662
- if (!d.isBuffer(c))
14661
+ }, u.prototype.copy = function(c, l, m, v) {
14662
+ if (!u.isBuffer(c))
14663
14663
  throw new TypeError("argument should be a Buffer");
14664
14664
  if (m || (m = 0), !v && v !== 0 && (v = this.length), l >= c.length && (l = c.length), l || (l = 0), v > 0 && v < m && (v = m), v === m || c.length === 0 || this.length === 0)
14665
14665
  return 0;
@@ -14676,11 +14676,11 @@ ir.write = function(n, e, t, r, o, i) {
14676
14676
  this.subarray(m, v),
14677
14677
  l
14678
14678
  ), w;
14679
- }, d.prototype.fill = function(c, l, m, v) {
14679
+ }, u.prototype.fill = function(c, l, m, v) {
14680
14680
  if (typeof c == "string") {
14681
14681
  if (typeof l == "string" ? (v = l, l = 0, m = this.length) : typeof m == "string" && (v = m, m = this.length), v !== void 0 && typeof v != "string")
14682
14682
  throw new TypeError("encoding must be a string");
14683
- if (typeof v == "string" && !d.isEncoding(v))
14683
+ if (typeof v == "string" && !u.isEncoding(v))
14684
14684
  throw new TypeError("Unknown encoding: " + v);
14685
14685
  if (c.length === 1) {
14686
14686
  const C = c.charCodeAt(0);
@@ -14698,7 +14698,7 @@ ir.write = function(n, e, t, r, o, i) {
14698
14698
  for (w = l; w < m; ++w)
14699
14699
  this[w] = c;
14700
14700
  else {
14701
- const C = d.isBuffer(c) ? c : d.from(c, v), Y = C.length;
14701
+ const C = u.isBuffer(c) ? c : u.from(c, v), Y = C.length;
14702
14702
  if (Y === 0)
14703
14703
  throw new TypeError('The value "' + c + '" is invalid for argument "value"');
14704
14704
  for (w = 0; w < m - l; ++w)
@@ -14885,7 +14885,7 @@ ir.write = function(n, e, t, r, o, i) {
14885
14885
  }
14886
14886
  return c;
14887
14887
  }();
14888
- function ut(h) {
14888
+ function dt(h) {
14889
14889
  return typeof BigInt > "u" ? jo : h;
14890
14890
  }
14891
14891
  function jo() {
@@ -15057,7 +15057,9 @@ const La = fo.Buffer, Mn = {
15057
15057
  return await this.handleOktaRedirect();
15058
15058
  if (this.$route.path === "/login/callback/saml")
15059
15059
  return await this.handleSamlRedirect();
15060
- this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && z.$emit("ssoEvent", { name: "setLoading", data: !1 });
15060
+ setTimeout(() => {
15061
+ this.$storage && this.$storage.token ? this.$router.push(this.home) : z.$emit("ssoEvent", { name: "setLoading", data: !1 });
15062
+ }, 2500);
15061
15063
  }
15062
15064
  },
15063
15065
  methods: {
@@ -15150,7 +15152,7 @@ const La = fo.Buffer, Mn = {
15150
15152
  }, ls = /* @__PURE__ */ y("img", {
15151
15153
  src: "https://cdn.tapni.co/icons/outlook.png",
15152
15154
  style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
15153
- }, null, -1), us = { key: 0 }, ds = {
15155
+ }, null, -1), ds = { key: 0 }, us = {
15154
15156
  key: 1,
15155
15157
  class: "button--loading-black button__loader"
15156
15158
  }, ps = /* @__PURE__ */ y("img", {
@@ -15220,7 +15222,7 @@ function Ps(n, e, t, r, o, i) {
15220
15222
  required: "",
15221
15223
  minlength: "8"
15222
15224
  }, null, 8, Qa), [
15223
- [dn, o.password]
15225
+ [un, o.password]
15224
15226
  ]),
15225
15227
  y("em", {
15226
15228
  onClick: e[4] || (e[4] = (s) => o.revealPassword = !o.revealPassword),
@@ -15269,7 +15271,7 @@ function Ps(n, e, t, r, o, i) {
15269
15271
  class: "button-center button button-90 google-button pointer"
15270
15272
  }, [
15271
15273
  ls,
15272
- n.microsoftLoad ? (S(), P("span", ds)) : (S(), P("span", us, U(n.ssoLang[n.appLanguage].sign_in_with) + " Outlook", 1))
15274
+ n.microsoftLoad ? (S(), P("span", us)) : (S(), P("span", ds, U(n.ssoLang[n.appLanguage].sign_in_with) + " Outlook", 1))
15273
15275
  ])),
15274
15276
  n.displayMicrosoftSSOLogin ? ee("", !0) : (S(), P("a", {
15275
15277
  key: 6,
@@ -15463,10 +15465,10 @@ const _o = /* @__PURE__ */ We(za, [["render", Ps]]), Ms = {
15463
15465
  }, cc = /* @__PURE__ */ y("img", {
15464
15466
  src: "https://cdn.tapni.co/icons/facebook-blue.png",
15465
15467
  style: { position: "absolute", "margin-left": "-10px", padding: "10px 0", height: "100%" }
15466
- }, null, -1), lc = { key: 0 }, uc = {
15468
+ }, null, -1), lc = { key: 0 }, dc = {
15467
15469
  key: 1,
15468
15470
  class: "button--loading-black button__loader"
15469
- }, dc = /* @__PURE__ */ y("img", {
15471
+ }, uc = /* @__PURE__ */ y("img", {
15470
15472
  src: "https://cdn.tapni.co/icons/mail.png",
15471
15473
  style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
15472
15474
  }, null, -1), pc = /* @__PURE__ */ y("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), hc = { class: "close-text center-text half-top color-black" }, mc = /* @__PURE__ */ y("br", null, null, -1), fc = {
@@ -15543,7 +15545,7 @@ function Cc(n, e, t, r, o, i) {
15543
15545
  required: "",
15544
15546
  minlength: "8"
15545
15547
  }, null, 8, Ws), [
15546
- [dn, o.password]
15548
+ [un, o.password]
15547
15549
  ]),
15548
15550
  y("em", {
15549
15551
  onClick: e[6] || (e[6] = (s) => o.revealPassword = !o.revealPassword),
@@ -15583,14 +15585,14 @@ function Cc(n, e, t, r, o, i) {
15583
15585
  class: "button-center button button-90 google-button pointer"
15584
15586
  }, [
15585
15587
  cc,
15586
- n.facebookLoad ? (S(), P("span", uc)) : (S(), P("span", lc, U(n.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
15588
+ n.facebookLoad ? (S(), P("span", dc)) : (S(), P("span", lc, U(n.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
15587
15589
  ])) : ee("", !0),
15588
15590
  o.emailLogin ? ee("", !0) : (S(), P("a", {
15589
15591
  key: 4,
15590
15592
  onClick: e[10] || (e[10] = (s) => o.emailLogin = !0),
15591
15593
  class: "button-center button button-90 google-button pointer"
15592
15594
  }, [
15593
- dc,
15595
+ uc,
15594
15596
  y("span", null, U(n.ssoLang[this.appLanguage].sign_up_with) + " Email", 1)
15595
15597
  ])),
15596
15598
  pc,
@@ -15897,7 +15899,7 @@ const yo = /* @__PURE__ */ We(Ec, [["render", $c], ["__scopeId", "data-v-75db7f0
15897
15899
  }, al = {
15898
15900
  key: 1,
15899
15901
  class: "button--loading button__loader"
15900
- }, sl = /* @__PURE__ */ lt(() => /* @__PURE__ */ y("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), cl = { class: "close-text center-text half-top color-black" }, ll = ["innerHTML"], ul = ["href"], dl = /* @__PURE__ */ lt(() => /* @__PURE__ */ y("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), pl = { class: "page-login-links" }, hl = /* @__PURE__ */ lt(() => /* @__PURE__ */ y("div", { class: "clear" }, null, -1)), ml = {
15902
+ }, sl = /* @__PURE__ */ lt(() => /* @__PURE__ */ y("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), cl = { class: "close-text center-text half-top color-black" }, ll = ["innerHTML"], dl = ["href"], ul = /* @__PURE__ */ lt(() => /* @__PURE__ */ y("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), pl = { class: "page-login-links" }, hl = /* @__PURE__ */ lt(() => /* @__PURE__ */ y("div", { class: "clear" }, null, -1)), ml = {
15901
15903
  class: "bold no-bottom center-text",
15902
15904
  style: { "margin-top": "63px" }
15903
15905
  }, fl = { class: "half-bottom small-top center-text color-black" }, gl = { class: "page-login-field half-top" }, _l = /* @__PURE__ */ lt(() => /* @__PURE__ */ y("i", { style: { "padding-top": "15px" } }, [
@@ -15951,7 +15953,7 @@ function Ll(n, e, t, r, o, i) {
15951
15953
  placeholder: n.ssoLang[this.appLanguage].password,
15952
15954
  required: ""
15953
15955
  }, null, 8, vl), [
15954
- [dn, o.password]
15956
+ [un, o.password]
15955
15957
  ]),
15956
15958
  y("em", {
15957
15959
  onClick: e[4] || (e[4] = (s) => o.revealPassword = !o.revealPassword)
@@ -15972,7 +15974,7 @@ function Ll(n, e, t, r, o, i) {
15972
15974
  placeholder: n.ssoLang[this.appLanguage].password_repeat,
15973
15975
  required: ""
15974
15976
  }, null, 8, Cl), [
15975
- [dn, o.passwordRepeat]
15977
+ [un, o.passwordRepeat]
15976
15978
  ]),
15977
15979
  y("em", {
15978
15980
  onClick: e[6] || (e[6] = (s) => o.revealPassword2 = !o.revealPassword2)
@@ -16031,9 +16033,9 @@ function Ll(n, e, t, r, o, i) {
16031
16033
  }, null, 8, ll),
16032
16034
  y("a", {
16033
16035
  href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
16034
- }, " support@tapni.com", 8, ul)
16036
+ }, " support@tapni.com", 8, dl)
16035
16037
  ]),
16036
- dl,
16038
+ ul,
16037
16039
  y("div", pl, [
16038
16040
  ke(a, {
16039
16041
  class: "create float-right",
@@ -16264,29 +16266,29 @@ const Co = /* @__PURE__ */ We(Fl, [["render", Jl], ["__scopeId", "data-v-11f19a0
16264
16266
  class: "responsive-image",
16265
16267
  style: { width: "45%" }
16266
16268
  })
16267
- ], -1)), eu = [
16269
+ ], -1)), ed = [
16268
16270
  Zl
16269
- ], tu = { class: "bold center-text color-black half-top half-bottom" }, nu = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16271
+ ], td = { class: "bold center-text color-black half-top half-bottom" }, nd = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16270
16272
  src: "https://cdn.tapni.co/icons/azure.png",
16271
16273
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
16272
- }, null, -1)), ru = { key: 0 }, ou = {
16274
+ }, null, -1)), rd = { key: 0 }, od = {
16273
16275
  key: 1,
16274
16276
  class: "button--loading button__loader"
16275
- }, iu = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16277
+ }, id = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16276
16278
  src: "https://cdn.tapni.co/icons/okta.png",
16277
16279
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
16278
- }, null, -1)), au = { key: 0 }, su = {
16280
+ }, null, -1)), ad = { key: 0 }, sd = {
16279
16281
  key: 1,
16280
16282
  class: "button--loading button__loader"
16281
- }, cu = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16283
+ }, cd = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16282
16284
  src: "https://cdn.tapni.co/icons/saml.png",
16283
16285
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
16284
- }, null, -1)), lu = { key: 0 }, uu = {
16286
+ }, null, -1)), ld = { key: 0 }, dd = {
16285
16287
  key: 1,
16286
16288
  class: "button--loading button__loader"
16287
16289
  };
16288
- function du(n, e, t, r, o, i) {
16289
- var a, s, u;
16290
+ function ud(n, e, t, r, o, i) {
16291
+ var a, s, d;
16290
16292
  return S(), P("form", {
16291
16293
  onSubmit: e[4] || (e[4] = Oe(() => {
16292
16294
  }, ["prevent"])),
@@ -16297,35 +16299,35 @@ function du(n, e, t, r, o, i) {
16297
16299
  onClick: e[0] || (e[0] = (...p) => i.forceClose && i.forceClose(...p)),
16298
16300
  class: "color-black pull-right pointer",
16299
16301
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
16300
- }, eu),
16301
- y("h3", tu, U(n.ssoLang[n.appLanguage].select_sign_method), 1),
16302
+ }, ed),
16303
+ y("h3", td, U(n.ssoLang[n.appLanguage].select_sign_method), 1),
16302
16304
  (a = o.sso) != null && a.azure ? (S(), P("a", {
16303
16305
  key: 0,
16304
16306
  onClick: e[1] || (e[1] = (p) => i.ssoLogin("azure")),
16305
16307
  class: "button-center button black-button button-90 google-button pointer"
16306
16308
  }, [
16307
- nu,
16308
- o.azureLoad ? (S(), P("span", ou)) : (S(), P("span", ru, U(n.ssoLang[n.appLanguage].sign_in_with) + " Azure", 1))
16309
+ nd,
16310
+ o.azureLoad ? (S(), P("span", od)) : (S(), P("span", rd, U(n.ssoLang[n.appLanguage].sign_in_with) + " Azure", 1))
16309
16311
  ])) : ee("", !0),
16310
16312
  (s = o.sso) != null && s.okta ? (S(), P("a", {
16311
16313
  key: 1,
16312
16314
  onClick: e[2] || (e[2] = (p) => i.ssoLogin("okta")),
16313
16315
  class: "button-center button black-button button-90 google-button pointer"
16314
16316
  }, [
16315
- iu,
16316
- o.oktaLoad ? (S(), P("span", su)) : (S(), P("span", au, U(n.ssoLang[n.appLanguage].sign_in_with) + " Okta", 1))
16317
+ id,
16318
+ o.oktaLoad ? (S(), P("span", sd)) : (S(), P("span", ad, U(n.ssoLang[n.appLanguage].sign_in_with) + " Okta", 1))
16317
16319
  ])) : ee("", !0),
16318
- (u = o.sso) != null && u.saml ? (S(), P("a", {
16320
+ (d = o.sso) != null && d.saml ? (S(), P("a", {
16319
16321
  key: 2,
16320
16322
  onClick: e[3] || (e[3] = (p) => i.ssoLogin("saml")),
16321
16323
  class: "button-center button black-button button-90 google-button pointer"
16322
16324
  }, [
16323
- cu,
16324
- o.samlLoad ? (S(), P("span", uu)) : (S(), P("span", lu, U(n.ssoLang[n.appLanguage].sign_in_with) + " SAML", 1))
16325
+ cd,
16326
+ o.samlLoad ? (S(), P("span", dd)) : (S(), P("span", ld, U(n.ssoLang[n.appLanguage].sign_in_with) + " SAML", 1))
16325
16327
  ])) : ee("", !0)
16326
16328
  ], 34);
16327
16329
  }
16328
- const Eo = /* @__PURE__ */ We(Xl, [["render", du], ["__scopeId", "data-v-4f821f65"]]), pu = {
16330
+ const Eo = /* @__PURE__ */ We(Xl, [["render", ud], ["__scopeId", "data-v-4f821f65"]]), pd = {
16329
16331
  name: "LinkIcon",
16330
16332
  mixins: [ze],
16331
16333
  props: {
@@ -16397,8 +16399,8 @@ const Eo = /* @__PURE__ */ We(Xl, [["render", du], ["__scopeId", "data-v-4f821f6
16397
16399
  }
16398
16400
  },
16399
16401
  methods: {}
16400
- }, hu = ["src", "alt"], mu = ["src", "alt"], fu = ["src", "alt"], gu = ["src", "alt"];
16401
- function _u(n, e, t, r, o, i) {
16402
+ }, hd = ["src", "alt"], md = ["src", "alt"], fd = ["src", "alt"], gd = ["src", "alt"];
16403
+ function _d(n, e, t, r, o, i) {
16402
16404
  var a, s;
16403
16405
  return S(), P("a", {
16404
16406
  class: Ie(["disable-select", t.linkStyle + (t.disabled ? " opacity-50" : "")]),
@@ -16419,31 +16421,31 @@ function _u(n, e, t, r, o, i) {
16419
16421
  src: "https://cdn.tapni.co/icons/" + t.data.type + ".png",
16420
16422
  class: "responsive-image",
16421
16423
  alt: t.data.text,
16422
- onLoad: e[0] || (e[0] = (u) => n.$emit("loaded")),
16423
- onError: e[1] || (e[1] = (u) => n.$emit("loaded"))
16424
- }, null, 40, hu)) : !t.data.custom_icon && t.data.type === "customlink" && t.linkAdding ? (S(), P("img", {
16424
+ onLoad: e[0] || (e[0] = (d) => n.$emit("loaded")),
16425
+ onError: e[1] || (e[1] = (d) => n.$emit("loaded"))
16426
+ }, null, 40, hd)) : !t.data.custom_icon && t.data.type === "customlink" && t.linkAdding ? (S(), P("img", {
16425
16427
  key: 1,
16426
16428
  src: "https://cdn.tapni.co/icons/custom-icon-128.gif",
16427
16429
  class: "responsive-image",
16428
16430
  alt: t.data.text,
16429
- onLoad: e[2] || (e[2] = (u) => n.$emit("loaded")),
16430
- onError: e[3] || (e[3] = (u) => n.$emit("loaded"))
16431
- }, null, 40, mu)) : !t.data.custom_icon && t.data.type === "customlink" && !t.linkAdding ? (S(), P("img", {
16431
+ onLoad: e[2] || (e[2] = (d) => n.$emit("loaded")),
16432
+ onError: e[3] || (e[3] = (d) => n.$emit("loaded"))
16433
+ }, null, 40, md)) : !t.data.custom_icon && t.data.type === "customlink" && !t.linkAdding ? (S(), P("img", {
16432
16434
  key: 2,
16433
16435
  src: "https://cdn.tapni.co/icons/customlink.png",
16434
16436
  class: "responsive-image",
16435
16437
  alt: t.data.text,
16436
- onLoad: e[4] || (e[4] = (u) => n.$emit("loaded")),
16437
- onError: e[5] || (e[5] = (u) => n.$emit("loaded"))
16438
- }, null, 40, fu)) : (S(), P("img", {
16438
+ onLoad: e[4] || (e[4] = (d) => n.$emit("loaded")),
16439
+ onError: e[5] || (e[5] = (d) => n.$emit("loaded"))
16440
+ }, null, 40, fd)) : (S(), P("img", {
16439
16441
  key: 3,
16440
16442
  src: t.data.style.custom_icon,
16441
16443
  style: { "border-radius": "22.46%" },
16442
16444
  class: "responsive-image",
16443
16445
  alt: t.data.text,
16444
- onLoad: e[6] || (e[6] = (u) => n.$emit("loaded")),
16445
- onError: e[7] || (e[7] = (u) => n.$emit("loaded"))
16446
- }, null, 40, gu))
16446
+ onLoad: e[6] || (e[6] = (d) => n.$emit("loaded")),
16447
+ onError: e[7] || (e[7] = (d) => n.$emit("loaded"))
16448
+ }, null, 40, gd))
16447
16449
  ], 6),
16448
16450
  y("span", {
16449
16451
  class: "link-text link-drag color-black",
@@ -16451,17 +16453,17 @@ function _u(n, e, t, r, o, i) {
16451
16453
  }, U(i.linkText), 5)
16452
16454
  ], 6);
16453
16455
  }
16454
- const vu = /* @__PURE__ */ We(pu, [["render", _u]]), yu = {
16456
+ const vd = /* @__PURE__ */ We(pd, [["render", _d]]), yd = {
16455
16457
  ANDROID_VERSION: "5.6",
16456
16458
  IOS_VERSION: "5.6",
16457
16459
  WEB_VERSION: "5.6.0",
16458
16460
  SUPPORTED_LANGUAGES: ["en", "de", "es", "kr", "it", "fr"],
16459
16461
  METAPIXEL_ID: "1203678696914368",
16460
16462
  GOOGLE_ANALYTICS_ID: ""
16461
- }, ku = {
16463
+ }, kd = {
16462
16464
  name: "Language",
16463
16465
  mixins: [ze],
16464
- components: { LinkIcon: vu },
16466
+ components: { LinkIcon: vd },
16465
16467
  data() {
16466
16468
  return {
16467
16469
  toggle: !1
@@ -16472,7 +16474,7 @@ const vu = /* @__PURE__ */ We(pu, [["render", _u]]), yu = {
16472
16474
  this.toggle = !1;
16473
16475
  });
16474
16476
  let n = this.isNative ? await pn.getLanguageCode() : zt.getFirstBrowserLanguage();
16475
- n && yu.SUPPORTED_LANGUAGES.includes(n) && this.updateLanguage(n);
16477
+ n && yd.SUPPORTED_LANGUAGES.includes(n) && this.updateLanguage(n);
16476
16478
  },
16477
16479
  beforeDestroy() {
16478
16480
  z._events.toggleSSOLanguageModal.pop();
@@ -16491,16 +16493,16 @@ const vu = /* @__PURE__ */ We(pu, [["render", _u]]), yu = {
16491
16493
  this.toggle = !this.toggle;
16492
16494
  }
16493
16495
  }
16494
- }, wu = (n) => (Dt("data-v-29699ad7"), n = n(), Ht(), n), bu = /* @__PURE__ */ wu(() => /* @__PURE__ */ y("i", { class: "font-17 fa color-black" }, [
16496
+ }, wd = (n) => (Dt("data-v-29699ad7"), n = n(), Ht(), n), bd = /* @__PURE__ */ wd(() => /* @__PURE__ */ y("i", { class: "font-17 fa color-black" }, [
16495
16497
  /* @__PURE__ */ y("img", {
16496
16498
  src: "https://cdn.tapni.co/icons/down-arrow.png",
16497
16499
  class: "fa responsive-image",
16498
16500
  style: { width: "45%" }
16499
16501
  })
16500
- ], -1)), Cu = [
16501
- bu
16502
- ], Eu = { class: "bold center-text color-black small-bottom" };
16503
- function Tu(n, e, t, r, o, i) {
16502
+ ], -1)), Cd = [
16503
+ bd
16504
+ ], Ed = { class: "bold center-text color-black small-bottom" };
16505
+ function Td(n, e, t, r, o, i) {
16504
16506
  const a = Bt("LinkIcon");
16505
16507
  return S(), P("div", {
16506
16508
  class: Ie(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu": o.toggle }]),
@@ -16510,8 +16512,8 @@ function Tu(n, e, t, r, o, i) {
16510
16512
  onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
16511
16513
  class: "color-black pull-right pointer",
16512
16514
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
16513
- }, Cu),
16514
- y("h3", Eu, U(n.ssoLang[n.appLanguage].app_language), 1),
16515
+ }, Cd),
16516
+ y("h3", Ed, U(n.ssoLang[n.appLanguage].app_language), 1),
16515
16517
  ke(a, {
16516
16518
  onClick: e[1] || (e[1] = (s) => i.updateLanguage("en")),
16517
16519
  "link-style": "link-grid",
@@ -16570,38 +16572,38 @@ function Tu(n, e, t, r, o, i) {
16570
16572
  }, null, 8, ["data"])
16571
16573
  ], 2);
16572
16574
  }
16573
- const To = /* @__PURE__ */ We(ku, [["render", Tu], ["__scopeId", "data-v-29699ad7"]]);
16574
- var Iu = { VITE_APP_MODE: "npm", VITE_APP_APP_ROOT: "https://t.link", VITE_APP_API_ROOT: "https://api.tapni.co", VITE_APP_GOOGLE_RECAPTCHA_SITE_KEY: "6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk", VITE_APP_SSO_ID: "9cd47053-080a-4df8-8fd8-ca4389163fde", VITE_APP_POPUP_LOGIN_ALLOWED_ORIGIN: "https://auth.tapni.com", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
16575
- const Su = { id: "ssoapp" }, Au = {
16575
+ const To = /* @__PURE__ */ We(kd, [["render", Td], ["__scopeId", "data-v-29699ad7"]]);
16576
+ var Id = { VITE_APP_MODE: "npm", VITE_APP_APP_ROOT: "https://t.link", VITE_APP_API_ROOT: "https://api.tapni.co", VITE_APP_GOOGLE_RECAPTCHA_SITE_KEY: "6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk", VITE_APP_SSO_ID: "9cd47053-080a-4df8-8fd8-ca4389163fde", VITE_APP_POPUP_LOGIN_ALLOWED_ORIGIN: "https://auth.tapni.com", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
16577
+ const Sd = { id: "ssoapp" }, Ad = {
16576
16578
  key: 0,
16577
16579
  href: "/",
16578
16580
  class: "header-logo"
16579
- }, Ru = /* @__PURE__ */ y("img", {
16581
+ }, Rd = /* @__PURE__ */ y("img", {
16580
16582
  src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAC1CAYAAACppQ33AAAhq0lEQVR42uydCZxWVfnHnxlAdkVQXAABIZHcE1ERcClcSS3/Y5oZppZammVm/jV3XNJscdck11ywNMncF0pUBNM0EVBEXBBUVGQTEJien+d5c4CZYd557z33nHt/38/n+QzM8t6z3fOc5VlESFJsrHKAyuUqM1UuYJMQQkhqbKjyHZVbVF5RWayyXOUzlYUqM1TGq5yp0r+pH1pTUyO1tbVRSkuOiWZRpbKRynYqg1R2VtlSZf1VfocQQkiyYN49xjZQG9bz82oV6LaeJjuqnKLyqMplKo/ntWGo0JuuwLurbK8ypI4C78imIYQQL2DDdIntyluU+bftbQEAuU/lpyrTqNCLQQtb2UGBD7ZdeH8bFIQQQvyCjdSfVHok8FnDbV4/TuUOKvT8gXborbKDDZwdTYG3YdMQQkimHKpyo8paCX5mJ5Xbxdk+/YYKPW4wMPrWUeA72f9b890hhJBgOEyc0VtaNkmXijOiu5wKPT5gyHahKfA+whMKQggJlQGmaNM2MP6tymyVu2JvsOqCDZDNVEao9KMyJ4SQYGljynxdD8+CzdQV4q5dqdAjYgXfE0IICZ4fiztJ9UVXcae3VOgNsIvKgRyXhBBCyqCzyo8yeO7BKgOp0Fdna5U/q9wmzvWLEEIIaQr7q2ySwXNxV38EFfrKwOXrQXERfNqq/FWcBTkhhBCyJg7PeDHRiQrdgWP2+8VZk5dAhLUbxY9xAyGEkHhBNLitMnx+N3EnzIVX6FDm94q7/6jvZ7dL8YzwCCGENJ0tZOWcGFmVodAKvaTMuzTyO3upXMnxSgghpAE2D6AMW8XaeEko9EFNUOYljlU5iWOWEEJIPfQMoAxdYm28ShU6lPmYMhsAofa+y3FLCCFkFUII+FVbRIVezs58Va5S2Z1jlxBCSB1CCP5VFWvjNVeh72zKfL1m/j3SkN6ksinHLyGEEGNWAGWYWSSFDmU+pgJlXqKHfU53jmFCCCHK1ADK8HpRFHpSyrwE3AP+IC4ADSGEkGLzssq8jMvwXBEU+rZS2TF7Q+wtOclFSwghpCLezlihTlF5Me8KHcfjiACXlsP/USrnciwTQkjhyTIv+X0qi/Ou0D9UeTTlspwh2cbwJYQQEoZCfzuD5y4SF6Y8WqrLqOgRKr9QWZZief6osg/HMyGEFBZsIK/I4Lk3qEwqgkIH8A+8WOUga/A0QFCBUSrbcUwTQkhhgUJ/wePzZqiMjL3RmuO2Biv3/VTeSKlMyNT2J8k+QD8hhJBswKnwCSpLPDxrubiw5LOLqNDBs+IixT2dUrn6q9wtLgBNklTxPSGEkCh4SuXElJ/xmTjbrYfy0GCVhH7FamY3lVtSKttglcuohAkhpLBcq3JaSp+9VOVQcam9c0GlyVmwukGildNTKt+RKr/mmCaEkMJyoemCJG23PlD5lspf8tRQSeVDv0Dlh5KO/x7SrZ7AMU0IIYUFFujIU36nVJ4NDTFVcGX817w1UnWCn3W1ytdU3kqhnL8RF1GOEEJIMUHilkNUdhFnOF1OiFgcrz9semS4yrQ8NlDSuWdhxIC779ut0ZMs52hbMEyo4HN4H08IIXHzjEk3lYNVhqr0VdlApZ1Ka3HXwa+qvKbyT5UH7d+5Jo1k8ojwM0zlOpXvJPi5HVVuVtlXZTrHNCGEFBqkOf2tSSvTEWuL847C9e+bkm4gtOCoTulzPxXnCnB2wp/bz5R6O45lQgghBnbkH4kLEINob68XTZmnqdBLnGOK/dMEPxNH+TjSb80xTAghhPhR6OBWlT3FHY8kxf4qF7H7CCGEEH8KHYxTGSKVGbStyk8k/ShChBBCCBX6KiD2+1dVbkvwMy9R2baM36eVOyGEECr0BFigcpgkZywHV7ZX2I2EZAoXyoQEQMuMngtjOVgkXirO3aA5XK9yjLi0riR84FKCDHobq3Q3aaGymThXk1X7cbl9D+4n82284N9TVeaKyyXwnrjgErVs3tRY1/poW+vDLiqbqKyjsp7KWnX662OTd8QFAUG//btOn5H0N2jwxe4jLsHVFuJ8tfEetbW+amHz/jJ7d9AvM+zf8Nt+w/pvAZuTCr0cLleZLM5ifb0y/xZR6X4YeNsWeaHRSWV7lU1VvmITS2+VzpKcyyE8Jz4RF5kQASNetgnpFfvKhV7zFTj6DkGcdlDZUqVrhZ+JhddL4tyJkKnxMXGxtEnlYO5EOushtujqa4ut5rLU+utFcbZPY8XlJV/KpqZCXxOPioupe6+tKJsCEt/HENv9Gyo9m3EC0cJWyz+z3U4sYNcGG4l9bHLZMOXntTXBcwauMiFBcTwhLiXis6b4SeNjbjdxySoOtJOUJMGucZiJ2GkL+geJMR5RmcMuKAu47O6hcoQtvDon+NnYxfcwGW7fm6IyRly41ZcyqnPpdGGFnS4s5zBYnVDuvrCju9VWmo2BdKqVWLbvZhNJDAyzBU/IYMGyry1esDBrH2AZZ1uf/03l71Je/OckQbaoH0k6R5lo9+tMyqHa+u5UlQEZtQsyaI0yeTWQMYN5ZidJNn5Gab7FAv+nKuObeXpSo/JjcadevllmO3bk1njA0zPPN73Q2tpumS3acf22RCo/icNC4U1bHH2eXKympkZGjx7N1UGFoLOQKrW2AbksgWfs3sjnhybnBNxXOIr9gymn2ogE0aPOEnev6JvzUq7b5WWWBycpEwPqG0ym8IDZMoDxPS7luh5WZnla2oLw9YD66/E6Jy5p8oSHukChdyg9EAq9trY2SqkOSEkgdN/J4tKlrnpfc6WtSovErgGWaZCtzHGMfXSgO/LGwJ3+2eJsN7B43Njjs9O+02/qu4xd3jV2WjEgoL7BDuxQlX+p3CLuLjgr0u6rcq46dzDlOcrGbyhgc4QrLZys9oi4L0rPyIVhbXWAZUKg/REqC+3/WLUXMR/6NhntJOsDx4/32c5lb4nfTQnW2rBRgAHdSHFW9rHTlIkPu3IYOB0TcB/iCBRJnZ4TFw2yUw7f7abc/6J/TlF5UpxNSohU2WkDAobtJ4QKvQHuUNlLXOCY70sx3ZJKluJZsontDMbZC5s3f2NYA58uzqL3/3Ks0PGen2q78p4R9c0vxKXJ/GrOxt2aFl8w9LxH5VcSR84KlHeMvUuECr1enrIV6qIC98/uGa68kVQHx5+4u2uR83bupXKXOLuAdXJWN/Qd3DwvjHRBtrk4S/iL5Quf9zyDBReMYQ+IUJfgtAvXJS2FUKF7UlQxsUsGz1zPlNvNUn58gNiBXQCMcLbKSX1wtQCbhx/k4L39uTj/9b45Hn872vjbIuI64LrkpoIsvoJU6AjQcojKUHFHvIgyhGhQHQqwMwsdvNg+DWEwBuBOc1CB23w7lQclTKPEct9t7JaG5ahvBotzmxqaw3GHoDBwreydg7p82zYExDM4Grlyle/B93KBfYWPKIKbIIQjwgF+Yt8rhXXEzz6QL6J24e8YoSs5EFUNBmnTPTwLR+vXCo/LAKzfcewJq+s/R1oHWLIfkMO+6WY7dewE78xJnWCrAuPf9XPUTwhShLgCZ3I68avQV8jKR++lCFylgbYm4G62xJT7PFPqs03B43vvrrIQKC0U5tnf4f+Mxd0wu0qyGerqA8Y3p7CpV3s3brHxfW9kZYdXyPcL0DeIQHdZ5HWB6yci5vXPYT+dIS6W/92cTvy9GJXSyqRDGX8DpQ+3NBi8zTHlDqU/077OtUHwBrvo83v0VqZY0phMcEIzgs1cL21McSC85oTAy1paFCMM7kUF6Bu8E78Xd4oVc32RoGpAjvsJbsjjbWNHIlDozaFDnQVAQ3dGUOqjEn5ujFa+/cRlu5qUQt/DeOUgvgaNAsMyHLvj/vatgMsJ1yFYhP9OkkuAEwMX2qbg+ojKXLqWxF3zMTnvn01swfVdTiXpE7KVe1Ukn+lj0bVzwp+JK5XbqMybTA9bXIZsX4A7y8kpjJUYuEqcvUMswEYDBq8jC9I/cIHdm9NIsRV6GmWL9a4+aX90JFeo4fAvCxy7n8pmCJJWtuDaKZLyImAWghn1LlAfnSt0ZaNCJ58D/9SkjlFhAHcsm7RZ/L9kH72P1A9OnZAiq0cEZcXcVjSXYMSkP4zDtLhKkz7wX4DYAEkEm4BrGq3Zmw8WVSPZDMECZX4tNwPBciz7hgqdOAZX+PedqMwTAXeBX2czBAsS0DCmeJgMFN6lU6EnSMzJRSqNXAavgT0kbJ9QWP8ujaAvTpb8JarJE1Dou7AZgt2lk5QI2WqXCn1lBtgue24FnwFfUBjDIbb3OSpdM6gH/OmnirPIRgQ8pMn80BT5fPt5T6trF/vaz1b3XwpkEYrQo8PFheok4YEMZb+2fvqMzREUMC6Fe+UUNgUVepFByEvkSP9HArtghAVFvHLcN+7poexLrdyIiDXWFHljE+3ker4HC9kvi0urCzeYrBNYHE2FHjSweD/RFDsJh7b2DlOhp0DIR+6MKb46QxL8rBni7hsRJnReSuXF595su+s9bQExtZm7JiwKEEYSVvqwmIXf9VMZ9gXuArcuyLhDCGcE1XlbXDTHOZHsfGEz0rMgfYT+wAncG7ZgRl99GmhZDxBSOKW5EbtnNXaTZK2ssVu/QuUh27XvkeDkcofKaeKS+iQNJiq4KN0jLgLVeRmMl7VsQfRSzsYYwjE/o/JP20Uh/8I0W5xVmSAk7rri0utiUYN0s5vZrrhDQHVBspOfqPw0Z32E9/YFlcfFhSRG/yy2vlpifYTN2sa2oMG7gSu70nF31hs5BD/C9dlrnNKTZ7m4gCuhSRqhHIcFWtemCnZGG6Q0DnDFcbp8kSynuTLBdtA+6S4uO5rv/ijnhOCcgMcVFMQj4jKY9aqwH5COeWJAdcPJTrmxA/4ZaD9hsXWrLZyqmvmOw1jwFlP8WdalqaFgH/NQFpxqtC89sKamRmpra6OUUI7csaNDspb3VV6xY9lJKTwndstkGIl9JcWF3fn2wj/bzM9AIoYhNqH7BKcA+9lpg0+wcNky8jF1jymIYaYsZlTYDwjDikBIuGIZG0D9EEXupBxsvGCvMdAWXeOleVEvl9si9HDro8cyrM+uQhInrSP3ZSofmaKGVfa7Nphwr/OBrQ5xJ1eybsb359vucK79PWn4lOGBFD//eXHWwWeJC3XalEUfMuTBcn50hu2CMXWCjTlfR6xQFrupvBzhOJpo7ZSGHUJpxw/5psrF4oIjZcWB4jwlpkbYT4tsQXJtwp/7b5tLzrB33ffmDguKtSQON9WoFHpju9Zamyjxgn5syhYT5izbTeNn0+37C01Jf2r/fs86a7EU03UE90OP2qRfLV/cP1Y38v8Wdb7fos7X9e0r7i7X9lB29BuO3x9WuVoaz9WMRdmhNnmHwEnW5sd7et7gDE4GKgHvIuwwfmXvb9rcbTvBi23RlwWI8HesxHeXPltcEKPnUvp8zO/n2jvsewxvKs5zhymyE1boj9iLvcB21XNsJTvPds3v2I659P/lbLYm8aS4+8Sk8bmShqvZQHvpf1LP4g+LOfhjTw6s7XGyACMgH8k6to5opwELddxdPu75uTjBQZrQZ2yB2CaDumPReaFtRGIAV441nt6tK8UZOZ7nsX5wX+tNhU4qYU/xZ/Txx5y13V42GZbqh1X9tgGXd5DtRtPuZyyGN2tCebI2ipslYbjZ7WEbhyzaoKlRyrI2ipuZ0bv1N8/1PLEJZaJRXIRGcb7waRS3ImdtB9c2WAvfbrvREeLu4ULlaXE+8GmD3Xn/wPsOR7ffkDBc7HA6cJC4E0HfjJDwDWPRLgdk9G4hpPE8j8/rIyRRqNCp0MsBxotH2I70vgjKe5WnfugXcBvMstOV8QGV6QlxR/C+wfXRdoGPWdzzP5fRs3HVeoPH521OFUyFHgsrclov7M7fjKSs/1IZ5+E5vQIeg9+XMIPf3Cbp2Jisab7bN+DxCi+R6zMuwyjxZ8S8thAqdCp0UgY+fG03DrTuF6j8PeC+gYHcTZ6feWCg8x6O2s8LoBz/EXdd5QPkr1+HUxQVegzUsgmCwMdRc/cA6w0/8/Mj6B/EW/dp6YwEPyHe3V4m4cQzeMjTc5AVby1OUVTo3KHHCfzD4ROMeN+d68h6tlLHEVxHcRanrRJ6pg83JcTK7hRYWyOOwOIIxgT65yKPz4O71M6BtQE8Rq4JqDy+duitpY51OamcomU0o1GcnwkTCSH6ijOe6ylf5Dfvaj9vUWdlXgqkU3IxA4h1gAhZcN+BId4McYGNcHeP0MAIYNTUoCiw8P7IFg5p1rl1QH0A96NHIhozcPFEONLBnp6HsKM3B1T/v9g4DwUExZrrYZGKhf36Ulm4YVJghc4devIgSMg2NkliQkbmrW4J7bDrs4JdbIoed30weEPoUgThmN/AZyy0xUGaCr1KwnKHuiSyMYTAVQj64uu+f3ub+0IIMY1F7KjA+uM9e8d8nDq1o6qgQo+BPN+hQ1nj2PJgcS5RfT0vIPqYHGjfw+QDlxu4Q40Rdxe5ok4/pN0XLQJ6l2AE+GSEY+pBcUe9gzw8C6k7uweyM4QnxsTA+gInZMi/sYWnuYRQoXOHngE4HjtM5UjbiYdCNxNEIUOiCQTlQAzxu2xiSrsv6l4hZM2oiN+XUZ4UOnaFGwei0O8PdPE/m/MkFTrJ50DF5IdMZkeLM2ALfUwPMDnTdqs+XGNCmJQxCT8c8TiDcpvjaYz1EX/GX40xNtC+mO/xNIBQoQdPHo7cce/8M3EBQDpFWH4czw8r0JiDPcGHEZcfCxIkBDrIw7NCiGsPC/9JgfbFB9z4xEc160uF3gDIY427vdMiVeZFZGwO6uAr7On6AdR1soSb/W0+XycqOBK/QsfxNHIjw5VmU3ZjVExgHZpMCPH3pwXcD0v5OsUHj9xJXRBF61YJP4EFWR0ctechtzR2rT58oFsEUNeXAu4H3m1zh04iBj7kT1KZR8sM8XfvmSY4gn7Hw3MQlTDrYEAvc9gSKnSSNIeIiy7WmU0RLYtzUg/sDH0Y9pXCDWcFIiPO5LAlScLQr+RrKjdKWKFLSfm8laO6+DAUQ7jeLOOIfyxxeyQQ7tBJYOCY/U4q81wwO0d1WeThGQgE1CHDOs4TWpITKnSSEAh9eYPwmD0v5MmI6TMPz4BRXKuM+4s+2IQKPRJCP96/VvzGYCekqdR6ekaWrqWLhZbkhAo9GkI2UvqFyr7sIr7LBWaFp5OAxnbotewGwkkgDj4KtFzwNT+V3ZM78mQH4UPRQZl/ymFDqNDjxecxeKg7dIZyzSeb5KgubT08A5HQFmVYR3rckMSh21p6hGjwsr24HOYhsFDlNXFRwWaICyYyy75fZe3XRZzxHthMZUOVXirrShiRvkJiwxzVZTNPC+4lGW+mMM557E6o0CMgRIOXn0u2lr0IpDFG5TFxSTjeKbOdqk2ZYze6o7jc2QPFGfcVXcH3FpdwJPZocR08LU6wePw4AIVOCBV6BIS2Q8eu5+sZPXuKyqUqo8X531bSph+avKByjTh/4i1VhqvUiLMRKKJtCCKf9cmBQu+p0s3Dc97PeHfcggqdpLFKJMXYoX9HpZ3nZ+JI8wxx8eGvr1CZNwTuQp9XOdees4s4l7wiRuHqlYM6DPC00cg6sh536IQKnTv0ZvfzcM/PhJX/PiojxZ+B4DKV8SrH2q79FJVJBRpzQ3JQh109PSfryHrcoRMq9AopqlHc5qbgfDHNdspPZFhnTNiXiItVP6cg4xt1bRtx+Tuq7O7pWa8GMBdRoRMq9EgI6ch9J/FnDAerdRzvTwmk7rhjL0qsethJ7Bxx+YeKv2uDEBQ6IVTokRCSO8ogj886UeXZgOoOn/sOBRp334247CM8PQeGg9M5RREq9LjxGRlqWUD13srTcx5WuTmwPu9VsN3QN8S5sMVGP/Fn5/GmxO8NQEjhFbrP6G3tAqkz7iU39vSs8wPs8+0KNsbXVjkhwnLjZMfX/f+rQggVevS863GXPjiQOiMIi49AHfALHxdgn+9awPf6eJVtIyovggQd4/F5j3HqJ1To8YPIUPM9PWsvCePuFjs2H369T0l4wXS+ZMqiaMAA8qyIynumx7kI8dv/wamfUKHHD4KNvOPpWZtKdpHZ6uIrEcsrAfY37mTbFfTdPlDl2xGU88fiN5Xvv1Re59RPqNDzwZsen4VdUpeM6+vrlGBGYP0MQ7iagr/fvxM/iU6aC05PRnp+5gOc9gkVen7w6R8Ny93fZlxfXz7YoYW6xZXHzgV/v5GsBV4HHQMsG+w6rvdcNlwJPchpn1Ch54f/eH7e4Sp/kuyOfn3lfO4SUB9jd34KX+//7YIR275VQGXqoXK/+I1eCHDc/gKHBKFCzw9TxX/QF9xlPqOyv7jIZT7xlYTiywH1MYKr7M7X+38cqnJHIEodXheIV5CFO+HfOBRInili+lTs0GHAtYXn526tcq89/z6VCeL84hfZ1yUmnzVjUYbPmNnAz5faAibt4CqhuIf1UrmAr/ZqfNPG3/dU3suoDPA6uEtcbgHfIFnQzRwGhAo9X0BhPp6BQi+xldQfuQ1KF9HlynX9wh35ayrbS/0ueQvE+d6nfeQPv2dY9k/PeDxfJ/4C6cQGst+NVTlC/IfnPVjlapXOGdUdi5k3OQRInilqLPcQLV2xg25lCrocKe18tmngc5F17H0P5Ydx0/EZt+EolWF8rRtlc1Pqp4kfg8mNVG5SuTNDZb7MFhOEUKHnkKfF392yL4Y28P1FHncmR4l/Q6fSzvzXEndiEp+0ERemF7niD5F0TuoQ0Ogke0bW/YI7+4nsdkKFnk8+sZc8TzRmBObLVW9t241t6LHeMDKEF8HP+DqXTR+V21X+LS6Weo8EPrO/ynmmyC9VWTeAev6OXU2o0PPN3Tmrz1fEHW/Wx9Oey4HFUncPz4IdxJPi7mdJZe0IpTdZ5SHbWSMXwQbSuGV8tS3e9lA5Q+UJcW5hv/TU/00BRniPsItJEWhZ4LrjHn2chJNEpVJwPwnDtFn1/AwW9UvFn8vcVqbUj05pMYF6/EjlHAkzaEqstFfZ0wTMFXc1VbKKn2a/002c8WYX2+WvE2h94DVyEbuVUKEXg8tzpNDFFHp9Bn/TbTL26Sve33Zs14g7gp2TwGdCccCnGsfDm/P1TZ1OsnIugNgMDq9SeZ7dSIpCdcHr/2dxAV/ywg4NfB+78zszKA920ki+8aLKxeJC4TZnjMKH/1fi4gdcTWVOmsB0GzOEcIdeEHBsCOvov+SkPgNtRzW3np/B+AnhUNtnUC74hf/clDusjceKy3j1qji3uo+sL7ADx9VBX/sbHN3vZAq8FV9XUgYnS3YBdAihQs8IGMfhmHqfHNQFd5sIqflEPT9D8BmEvjwkw/LB73mwrHzNgaA3n5hCR2Y43IlXcViSCviDyj1sBlI0qtkEn4Od67yc1GVIIz+7LsDythVnKY0d+dpU5qRCcC1zKpuBUKEXl5fFGW7lgaGN/Aw797vZ3SSnIMzxCHFXOIRQoRcYBMH4aw7qgSP3jRr5+VniksEQkjcQqfA5NgOhQidIjgLf5pcirweMygY18nOcRlzI7iY5AwvV0WwGQoVOSrwrLhNV7Ed2u63h57Dsf5bdTXLC71XOZTMQKnSyKghduZ/KBxHXYZs1/BwJW34o7s4xz7zOhUvuuUWcUSshVOhsgnoZb0r9/UjLD7/t9dfwO4ighdCsK3LahwiBi4Q1R3I455Y/isvktpRNQQgVemNMNKU+JcKyQ5lv14TfQ/S4M3PYdwis8y2Vt8VPzu9QwIkLwhkjQtobOa8rjtiP4jRFCBV6U4HF7NfERTaLjV2b+HvIi31GjvoMMeOHi8vCVjQ+VjldnB/2UZLPKxUkXEGq3LM4PRFChV4uM8UlpThb5bOIyr1LGb87UvLhhw+7h6+rPFXg97n0TiPmQI3ky0XxQ3Gpcn/DaYkQKvTmskxcqk64g8WSvQkJTTYq4/dx9H5kxAoAyhxXJOM5XP/HgyoHmSKMHeQ0R/KhMexWQqjQk+A52/keJy6pSMisKy6dajncIO6o/pXI+gX2DkPtK1mZ+61PX4u0/PDIOE1lb8m/XQAhVOiewQ72GtsBny3uSD5UhjTjbybYouWGSPrjJpWvSpzGi76YJC5r3Z2RlRvXBkjkg0BIK9iNhFChpwWOeHEM/2WV76k8LS7aXOwKHcBKHMfvOMKeHGj7I0MbDL+OUJnP4bhGECwJmfYOl/DdMaeKuyvfU1xcCEIIFboXkKXtRlOeO9puAkfWywIoG/KJd6/g73FcixzrJ0hYuaVxj7q9OD/kNeEre1ssWeJuFXcXjbZbEljZZqicqDJA5a4M36EqT88IecyE8t6wL8qA+dCTA0eCE03OVukn7u5ykE1Q8A3v5LlM64iz0K/k+ByuT1eIO6492XZ4G2XUxtPF+ViXkwYWngmz7IVdkdI7ND+QBVxTectON9COv1TZN8PFPU61cM1zlbjkSCGkMcbpG06pFqX0+a1tgVwb8BhZaOM6rdOvKnt31rSohBvqJ1aeNFjL+iIXVzrMPe0HDJouKj3ERXHr4GkAYeJ4UZL1o8ciAQZKh9qCxcci5XlbVIxuxovdQqW9hzIuWEOf4nom7SA+sOfYwibAcoA9yA9U9rcx6mtxdp/K7abQQ5pQ25uySVPhrpCw4wRgzmrrYdGB93l5AH2xsPSMmpoaGT06zjw/3KH7YantEmfZ5BUzn9huHbKBKfU97SSij00ElfKpLURgl/CQymNreOkbY3kgu76QQYbB48UFpIG3wD72tZ8kF2kPfYBMf+NUHhAXY//TgHennLPCCKnLvqBCJ554z3bNkFYqvVS2FHd3/yWV3uLSuXa2lXaLOn9baxMGfKRxvAmXpCm2G4e8LbRs9g12jPebYG7oaTv+baw/N1FZz3ZuPev0JxZNuNrA8ekc+4qxMU3cvTiuoSbZgraWzUwIFToJG0zor5ncU+f7mPRxLN+uAYU+N+CdWpGBTcDrJqVgLiXjoTbiTmM62u8tMoFL58em0GupvAmhQif5Yrntwj9kU0RPSUlDef+HzUFIWNBtjRBCCKFCJ4QQQggVOiGEEEKo0AkhhBBChU4IIYRQoRNCCCGECp0QQgghCdKyU6dObAWSGgsWLJBly5axIUgqtGvXTlq3bi21tYxhQypn/vz50r59+2jL33Lq1KnsRZI4VVVV0rJlS9l7771lwoQJbBCSCiNHjpTjjjtO5s1juH5SOVgYtm3bNl6F3rVrV/YiSY1WrVqxEUhqdOzYUdq0afO5EFJ0eIdOCCGEUKETQgghhAqdEEIIIVTohBBCCKFCJ4QQQqjQCSGEEEKFTgghhBAqdEIIIYRQoRNCCCFU6IQQQgihQieEEEIIFTohhBBCqNAJIYQQKnRCCCGEUKETQgghhAqdEEIIIVTohBBCCBU6IYQQQqjQCSGEEEKFTgghhBAqdEIIIYQKnRBCCCFU6IQQQgihQieEEEIIFTohhBBChU4IIYSQWGjJJiDEK7UpfW5Vip9NCImA/wowALqv7GXv+J+kAAAAAElFTkSuQmCC",
16581
16583
  onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
16582
16584
  class: "header-logo-img"
16583
- }, null, -1), Pu = [
16584
- Ru
16585
- ], Mu = { class: "lang-icon" }, Nu = {
16585
+ }, null, -1), Pd = [
16586
+ Rd
16587
+ ], Md = { class: "lang-icon" }, Nd = {
16586
16588
  class: "snackbar snackbar-boxed",
16587
16589
  id: "snackbar"
16588
- }, Lu = {
16590
+ }, Ld = {
16589
16591
  class: "snack-body",
16590
16592
  id: "errorSnack"
16591
- }, Ou = { id: "errorMessage" }, zu = /* @__PURE__ */ y("img", {
16593
+ }, Od = { id: "errorMessage" }, zd = /* @__PURE__ */ y("img", {
16592
16594
  src: "https://cdn.tapni.co/icons/notification-close.png",
16593
16595
  style: { width: "100%" }
16594
- }, null, -1), Uu = [
16595
- zu
16596
- ], xu = {
16596
+ }, null, -1), Ud = [
16597
+ zd
16598
+ ], xd = {
16597
16599
  class: "snack-body",
16598
16600
  id: "successSnack"
16599
- }, Bu = { id: "successMessage" }, Du = /* @__PURE__ */ y("img", {
16601
+ }, Bd = { id: "successMessage" }, Dd = /* @__PURE__ */ y("img", {
16600
16602
  src: "https://cdn.tapni.co/icons/notification-close.png",
16601
16603
  style: { width: "100%" }
16602
- }, null, -1), Hu = [
16603
- Du
16604
- ], qu = {
16604
+ }, null, -1), Hd = [
16605
+ Dd
16606
+ ], qd = {
16605
16607
  name: "TapniAuth",
16606
16608
  mixins: [ze],
16607
16609
  data() {
@@ -16674,20 +16676,20 @@ const Su = { id: "ssoapp" }, Au = {
16674
16676
  });
16675
16677
  }
16676
16678
  }
16677
- }, Hr = /* @__PURE__ */ Object.assign(qu, {
16679
+ }, Hr = /* @__PURE__ */ Object.assign(qd, {
16678
16680
  setup(n) {
16679
16681
  return document.addEventListener("DOMContentLoaded", function() {
16680
16682
  const e = document.createElement("script");
16681
- e.src = `https://www.google.com/recaptcha/api.js?render=${Iu.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(e);
16682
- }), (e, t) => (S(), P("div", Su, [
16683
- e.display === "redirect" || e.renderView.includes("Auth") ? (S(), P("a", Au, Pu)) : ee("", !0),
16683
+ e.src = `https://www.google.com/recaptcha/api.js?render=${Id.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(e);
16684
+ }), (e, t) => (S(), P("div", Sd, [
16685
+ e.display === "redirect" || e.renderView.includes("Auth") ? (S(), P("a", Ad, Pd)) : ee("", !0),
16684
16686
  e.display === "redirect" ? (S(), P("a", {
16685
16687
  key: 1,
16686
16688
  onClick: t[0] || (t[0] = (...r) => e.toggleSSOLanguageModal && e.toggleSSOLanguageModal(...r)),
16687
16689
  class: "font-18 no-border pointer color-black",
16688
16690
  style: { position: "absolute", right: "20px", top: "-10px", "z-index": "1" }
16689
16691
  }, [
16690
- y("span", Mu, U(e.appLanguage.toUpperCase()), 1)
16692
+ y("span", Md, U(e.appLanguage.toUpperCase()), 1)
16691
16693
  ])) : ee("", !0),
16692
16694
  ke(bo),
16693
16695
  n.isModal ? ee("", !0) : (S(), qe(To, { key: 2 })),
@@ -16703,25 +16705,25 @@ const Su = { id: "ssoapp" }, Au = {
16703
16705
  key: 8,
16704
16706
  isModal: n.isModal
16705
16707
  }, null, 8, ["isModal"])) : e.initialized && e.renderView === "AuthReset" ? (S(), qe(ko, { key: 9 })) : e.initialized && e.renderView === "AuthCallback" ? (S(), qe(wo, { key: 10 })) : e.display !== "npm" ? (S(), qe(Qo(Yo), { key: 11 })) : ee("", !0),
16706
- y("div", Nu, [
16707
- y("p", Lu, [
16708
- y("span", Ou, U(e.ssoLang[e.appLanguage].error), 1),
16708
+ y("div", Nd, [
16709
+ y("p", Ld, [
16710
+ y("span", Od, U(e.ssoLang[e.appLanguage].error), 1),
16709
16711
  y("a", {
16710
16712
  onClick: t[1] || (t[1] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
16711
16713
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
16712
- }, Uu)
16714
+ }, Ud)
16713
16715
  ]),
16714
- y("p", xu, [
16715
- y("span", Bu, U(e.ssoLang[e.appLanguage].success), 1),
16716
+ y("p", xd, [
16717
+ y("span", Bd, U(e.ssoLang[e.appLanguage].success), 1),
16716
16718
  y("a", {
16717
16719
  onClick: t[2] || (t[2] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
16718
16720
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
16719
- }, Hu)
16721
+ }, Hd)
16720
16722
  ])
16721
16723
  ])
16722
16724
  ]));
16723
16725
  }
16724
- }), Zu = {
16726
+ }), Zd = {
16725
16727
  TapniAuth: Hr,
16726
16728
  AuthMixin: ze,
16727
16729
  install: (n, e) => {
@@ -16729,5 +16731,5 @@ const Su = { id: "ssoapp" }, Au = {
16729
16731
  }
16730
16732
  };
16731
16733
  export {
16732
- Zu as default
16734
+ Zd as default
16733
16735
  };