@tapni/auth 0.0.105 → 0.0.107

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 un, 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 dn, 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.105";
11
+ const Xo = "0.0.107";
12
12
  let Un;
13
13
  const qt = {
14
14
  setApiRootFromOptions(n) {
@@ -4485,7 +4485,7 @@ const ze = {
4485
4485
  { code: n.data.auth_code, state: this.$route.query.state },
4486
4486
  e
4487
4487
  );
4488
- }) : this.display === "npm" && (z.$emit("ssoEvent", { name: "setLoading", data: !0 }), z.$emit("ssoEvent", { name: "setStorage", data: this.$storage }), z.$emit("ssoEvent", { name: "getUser", data: { username: this.$storage.username } }), n.isModal && (z.$emit("closeModal"), this.successSnack(this.ssoLang[this.appLanguage].success_login), setTimeout(() => {
4488
+ }) : this.display === "npm" && (z.$emit("ssoEvent", { name: "setLoading", data: !0 }), z.$emit("ssoEvent", { name: "setStorage", data: this.$storage }), z.$emit("ssoEvent", { name: "getUser", data: { username: n.data.data.username } }), n.isModal && (z.$emit("closeModal"), this.successSnack(this.ssoLang[this.appLanguage].success_login), setTimeout(() => {
4489
4489
  location.reload();
4490
4490
  }, 1500)), this.$router.push("/" + n.data.data.username + "#edit"));
4491
4491
  },
@@ -4618,7 +4618,7 @@ const ze = {
4618
4618
  },
4619
4619
  unsetRefreshToken(n) {
4620
4620
  let e = this.getRefreshTokens();
4621
- return e = e.filter((t) => t !== n), this.$storage.refreshTokens = e.join(","), e;
4621
+ return e = e.filter((t) => t !== n), this.$storage && (this.$storage.refreshTokens = e.join(",")), e;
4622
4622
  },
4623
4623
  setToken(n) {
4624
4624
  this.$storage.token = n, this.token = n;
@@ -4654,15 +4654,18 @@ const ze = {
4654
4654
  async mounted() {
4655
4655
  let n = document.getElementById("tapniVideo");
4656
4656
  n.addEventListener("canplay", function() {
4657
- document.body.contains(n) && n.play().catch((e) => {
4658
- console.log("Play was interrupted:", e);
4659
- });
4657
+ if (document.body.contains(n))
4658
+ try {
4659
+ n.play();
4660
+ } catch (e) {
4661
+ console.log("Play was interrupted:", e);
4662
+ }
4660
4663
  }), setTimeout(() => {
4661
4664
  this.$storage.token ? this.$router.push(this.home) : z.$emit("ssoEvent", { name: "setLoading", data: !1 });
4662
4665
  }, 2500);
4663
4666
  },
4664
4667
  methods: {}
4665
- }, $r = (n) => (Dt("data-v-67088d6f"), n = n(), Ht(), n), ri = {
4668
+ }, $r = (n) => (Dt("data-v-b3067fce"), n = n(), Ht(), n), ri = {
4666
4669
  class: "page-login content-boxed content-boxed-padding center-text",
4667
4670
  style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
4668
4671
  }, oi = ["autoplay"], ii = /* @__PURE__ */ $r(() => /* @__PURE__ */ y("source", {
@@ -4670,10 +4673,10 @@ const ze = {
4670
4673
  type: "video/mp4"
4671
4674
  }, null, -1)), ai = [
4672
4675
  ii
4673
- ], 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 = {
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 = {
4674
4677
  key: 2,
4675
4678
  style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
4676
- }, pi = /* @__PURE__ */ Vo('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-67088d6f><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-67088d6f></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-67088d6f><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-67088d6f></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-67088d6f><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-67088d6f></a>', 3), hi = [
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 = [
4677
4680
  pi
4678
4681
  ];
4679
4682
  function mi(n, e, t, r, o, i) {
@@ -4710,12 +4713,12 @@ function mi(n, e, t, r, o, i) {
4710
4713
  ]),
4711
4714
  _: 1
4712
4715
  }),
4713
- di
4716
+ ui
4714
4717
  ]),
4715
- this.isNative ? ee("", !0) : (S(), P("div", ui, hi))
4718
+ this.isNative ? ee("", !0) : (S(), P("div", di, hi))
4716
4719
  ]);
4717
4720
  }
4718
- const Jr = /* @__PURE__ */ We(ni, [["render", mi], ["__scopeId", "data-v-67088d6f"]]), wr = In("GoogleAuth", {
4721
+ const Jr = /* @__PURE__ */ We(ni, [["render", mi], ["__scopeId", "data-v-b3067fce"]]), wr = In("GoogleAuth", {
4719
4722
  web: () => import("./web-5VtGcKeU.js").then((n) => new n.GoogleAuthWeb())
4720
4723
  }), Xr = {
4721
4724
  data() {
@@ -4910,22 +4913,22 @@ function T(n, e, t, r) {
4910
4913
  });
4911
4914
  }
4912
4915
  return new (t || (t = Promise))(function(i, a) {
4913
- function s(u) {
4916
+ function s(d) {
4914
4917
  try {
4915
- p(r.next(u));
4918
+ p(r.next(d));
4916
4919
  } catch (f) {
4917
4920
  a(f);
4918
4921
  }
4919
4922
  }
4920
- function d(u) {
4923
+ function u(d) {
4921
4924
  try {
4922
- p(r.throw(u));
4925
+ p(r.throw(d));
4923
4926
  } catch (f) {
4924
4927
  a(f);
4925
4928
  }
4926
4929
  }
4927
- function p(u) {
4928
- u.done ? i(u.value) : o(u.value).then(s, d);
4930
+ function p(d) {
4931
+ d.done ? i(d.value) : o(d.value).then(s, u);
4929
4932
  }
4930
4933
  p((r = r.apply(n, e || [])).next());
4931
4934
  });
@@ -4940,11 +4943,11 @@ function I(n, e) {
4940
4943
  return this;
4941
4944
  }), a;
4942
4945
  function s(p) {
4943
- return function(u) {
4944
- return d([p, u]);
4946
+ return function(d) {
4947
+ return u([p, d]);
4945
4948
  };
4946
4949
  }
4947
- function d(p) {
4950
+ function u(p) {
4948
4951
  if (r)
4949
4952
  throw new TypeError("Generator is already executing.");
4950
4953
  for (; t; )
@@ -4985,8 +4988,8 @@ function I(n, e) {
4985
4988
  continue;
4986
4989
  }
4987
4990
  p = e.call(n, t);
4988
- } catch (u) {
4989
- p = [6, u], o = 0;
4991
+ } catch (d) {
4992
+ p = [6, d], o = 0;
4990
4993
  } finally {
4991
4994
  r = i = 0;
4992
4995
  }
@@ -5067,22 +5070,22 @@ function j(n, e, t, r) {
5067
5070
  });
5068
5071
  }
5069
5072
  return new (t || (t = Promise))(function(i, a) {
5070
- function s(u) {
5073
+ function s(d) {
5071
5074
  try {
5072
- p(r.next(u));
5075
+ p(r.next(d));
5073
5076
  } catch (f) {
5074
5077
  a(f);
5075
5078
  }
5076
5079
  }
5077
- function d(u) {
5080
+ function u(d) {
5078
5081
  try {
5079
- p(r.throw(u));
5082
+ p(r.throw(d));
5080
5083
  } catch (f) {
5081
5084
  a(f);
5082
5085
  }
5083
5086
  }
5084
- function p(u) {
5085
- u.done ? i(u.value) : o(u.value).then(s, d);
5087
+ function p(d) {
5088
+ d.done ? i(d.value) : o(d.value).then(s, u);
5086
5089
  }
5087
5090
  p((r = r.apply(n, e || [])).next());
5088
5091
  });
@@ -5097,11 +5100,11 @@ function K(n, e) {
5097
5100
  return this;
5098
5101
  }), a;
5099
5102
  function s(p) {
5100
- return function(u) {
5101
- return d([p, u]);
5103
+ return function(d) {
5104
+ return u([p, d]);
5102
5105
  };
5103
5106
  }
5104
- function d(p) {
5107
+ function u(p) {
5105
5108
  if (r)
5106
5109
  throw new TypeError("Generator is already executing.");
5107
5110
  for (; t; )
@@ -5142,8 +5145,8 @@ function K(n, e) {
5142
5145
  continue;
5143
5146
  }
5144
5147
  p = e.call(n, t);
5145
- } catch (u) {
5146
- p = [6, u], o = 0;
5148
+ } catch (d) {
5149
+ p = [6, d], o = 0;
5147
5150
  } finally {
5148
5151
  r = i = 0;
5149
5152
  }
@@ -5321,10 +5324,10 @@ var At;
5321
5324
  (function(n) {
5322
5325
  n[n.httpSuccess = 200] = "httpSuccess", n[n.httpBadRequest = 400] = "httpBadRequest";
5323
5326
  })(At || (At = {}));
5324
- var ut;
5327
+ var dt;
5325
5328
  (function(n) {
5326
5329
  n.FAILED_AUTO_DETECTION = "1", n.INTERNAL_CACHE = "2", n.ENVIRONMENT_VARIABLE = "3", n.IMDS = "4";
5327
- })(ut || (ut = {}));
5330
+ })(dt || (dt = {}));
5328
5331
  var Jt;
5329
5332
  (function(n) {
5330
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";
@@ -5770,8 +5773,8 @@ var L = (
5770
5773
  };
5771
5774
  return r.forEach(function(i) {
5772
5775
  if (i.trim()) {
5773
- var a = i.split(/=(.+)/g, 2), s = a[0], d = a[1];
5774
- s && d && (t[o(s)] = o(d));
5776
+ var a = i.split(/=(.+)/g, 2), s = a[0], u = a[1];
5777
+ s && u && (t[o(s)] = o(u));
5775
5778
  }
5776
5779
  }), t;
5777
5780
  }, n.trimArrayEntries = function(e) {
@@ -6211,34 +6214,34 @@ var we = (
6211
6214
  e.tenantId || g.EMPTY_STRING
6212
6215
  ];
6213
6216
  return t.join(fe.CACHE_KEY_SEPARATOR).toLowerCase();
6214
- }, n.createAccount = function(e, t, r, o, i, a, s, d) {
6215
- var p, u, f, _, k, E, N = new n();
6216
- N.authorityType = ot.MSSTS_ACCOUNT_TYPE, N.clientInfo = e, N.homeAccountId = t, N.nativeAccountId = d;
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
6220
  var Q = s || o && o.getPreferredCache();
6218
6221
  if (!Q)
6219
6222
  throw O.createInvalidCacheEnvironmentError();
6220
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) {
6221
- 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;
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;
6222
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;
6223
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;
6224
6227
  }
6225
6228
  return N.cloudGraphHostName = i, N.msGraphHost = a, N;
6226
6229
  }, n.createGenericAccount = function(e, t, r, o, i, a) {
6227
- var s, d, p, u, f = new n();
6230
+ var s, u, p, d, f = new n();
6228
6231
  f.authorityType = r && r.authorityType === Se.Adfs ? ot.ADFS_ACCOUNT_TYPE : ot.GENERIC_ACCOUNT_TYPE, f.homeAccountId = e, f.realm = g.EMPTY_STRING;
6229
6232
  var _ = a || r && r.getPreferredCache();
6230
6233
  if (!_)
6231
6234
  throw O.createInvalidCacheEnvironmentError();
6232
- 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;
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;
6233
6236
  }, n.generateHomeAccountId = function(e, t, r, o, i) {
6234
6237
  var a, s = !((a = i == null ? void 0 : i.claims) === null || a === void 0) && a.sub ? i.claims.sub : g.EMPTY_STRING;
6235
6238
  if (t === Se.Adfs || t === Se.Dsts)
6236
6239
  return s;
6237
6240
  if (e)
6238
6241
  try {
6239
- var d = vn(e, o);
6240
- if (!L.isEmpty(d.uid) && !L.isEmpty(d.utid))
6241
- return "" + d.uid + fe.CLIENT_INFO_SEPARATOR + d.utid;
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
6245
  } catch {
6243
6246
  }
6244
6247
  return r.verbose("No client info in response"), s;
@@ -6339,12 +6342,12 @@ var Me = (
6339
6342
  realm: e.realm,
6340
6343
  tokenType: e.tokenType,
6341
6344
  requestedClaimsHash: e.requestedClaimsHash
6342
- }, r = this.getTokenKeys(), o = Ee.fromString(e.target), i = [], r.accessToken.forEach(function(d) {
6343
- if (a.accessTokenKeyMatchesFilter(d, t, !1)) {
6344
- var p = a.getAccessTokenCredential(d);
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
6348
  if (p && a.credentialMatchesFilter(p, t)) {
6346
- var u = Ee.fromString(p.target);
6347
- u.intersectingScopeSets(o) && i.push(a.removeAccessToken(d));
6349
+ var d = Ee.fromString(p.target);
6350
+ d.intersectingScopeSets(o) && i.push(a.removeAccessToken(u));
6348
6351
  }
6349
6352
  }
6350
6353
  }), [4, Promise.all(i)];
@@ -6489,12 +6492,12 @@ var Me = (
6489
6492
  e.isAppMetadata(r) && e.removeItem(r);
6490
6493
  }), !0;
6491
6494
  }, n.prototype.readCacheRecord = function(e, t, r) {
6492
- 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);
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);
6493
6496
  return i && a && (i.idTokenClaims = new rt(a.secret, this.cryptoImpl).claims), {
6494
6497
  account: i,
6495
6498
  idToken: a,
6496
6499
  accessToken: s,
6497
- refreshToken: d,
6500
+ refreshToken: u,
6498
6501
  appMetadata: p
6499
6502
  };
6500
6503
  }, n.prototype.readAccountFromCache = function(e) {
@@ -6531,7 +6534,7 @@ var Me = (
6531
6534
  }, n.prototype.getAccessToken = function(e, t, r) {
6532
6535
  var o = this;
6533
6536
  this.commonLogger.trace("CacheManager - getAccessToken called");
6534
- 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 = {
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 = {
6535
6538
  homeAccountId: e.homeAccountId,
6536
6539
  environment: e.environment,
6537
6540
  credentialType: s,
@@ -6541,17 +6544,17 @@ var Me = (
6541
6544
  tokenType: a,
6542
6545
  keyId: t.sshKid,
6543
6546
  requestedClaimsHash: t.requestedClaimsHash
6544
- }, p = r && r.accessToken || this.getTokenKeys().accessToken, u = [];
6547
+ }, p = r && r.accessToken || this.getTokenKeys().accessToken, d = [];
6545
6548
  p.forEach(function(_) {
6546
- if (o.accessTokenKeyMatchesFilter(_, d, !0)) {
6549
+ if (o.accessTokenKeyMatchesFilter(_, u, !0)) {
6547
6550
  var k = o.getAccessTokenCredential(_);
6548
- k && o.credentialMatchesFilter(k, d) && u.push(k);
6551
+ k && o.credentialMatchesFilter(k, u) && d.push(k);
6549
6552
  }
6550
6553
  });
6551
- var f = u.length;
6552
- 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(_) {
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(_) {
6553
6556
  o.removeAccessToken(_.generateCredentialKey());
6554
- }), null) : (this.commonLogger.info("CacheManager:getAccessToken - Returning access token"), u[0]);
6557
+ }), null) : (this.commonLogger.info("CacheManager:getAccessToken - Returning access token"), d[0]);
6555
6558
  }, n.prototype.accessTokenKeyMatchesFilter = function(e, t, r) {
6556
6559
  var o = e.toLowerCase();
6557
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)
@@ -6581,15 +6584,15 @@ var Me = (
6581
6584
  credentialType: H.REFRESH_TOKEN,
6582
6585
  clientId: this.clientId,
6583
6586
  familyId: i
6584
- }, s = r && r.refreshToken || this.getTokenKeys().refreshToken, d = [];
6585
- s.forEach(function(u) {
6586
- if (o.refreshTokenKeyMatchesFilter(u, a)) {
6587
- var f = o.getRefreshTokenCredential(u);
6588
- f && o.credentialMatchesFilter(f, a) && d.push(f);
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);
6589
6592
  }
6590
6593
  });
6591
- var p = d.length;
6592
- return p < 1 ? (this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."), null) : (this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"), d[0]);
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]);
6593
6596
  }, n.prototype.refreshTokenKeyMatchesFilter = function(e, t) {
6594
6597
  var r = e.toLowerCase();
6595
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);
@@ -6784,7 +6787,7 @@ var ki = 300, no = {
6784
6787
  }
6785
6788
  };
6786
6789
  function Ai(n) {
6787
- 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);
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);
6788
6791
  return {
6789
6792
  authOptions: Ri(e),
6790
6793
  systemOptions: Z(Z({}, no), t),
@@ -6793,9 +6796,9 @@ function Ai(n) {
6793
6796
  storageInterface: i || new yi(e.clientId, _n, new er(E)),
6794
6797
  networkInterface: a || Ci,
6795
6798
  cryptoInterface: s || _n,
6796
- clientCredentials: d || Ti,
6799
+ clientCredentials: u || Ti,
6797
6800
  libraryInfo: Z(Z({}, Ei), p),
6798
- telemetry: Z(Z({}, Si), u),
6801
+ telemetry: Z(Z({}, Si), d),
6799
6802
  serverTelemetryManager: f || null,
6800
6803
  persistencePlugin: _ || null,
6801
6804
  serializableCache: k || null
@@ -7133,15 +7136,15 @@ var rr = (
7133
7136
  default:
7134
7137
  throw O.createUnexpectedCredentialTypeError();
7135
7138
  }
7136
- }, n.generateCredentialCacheKey = function(e, t, r, o, i, a, s, d, p) {
7137
- var u = [
7139
+ }, n.generateCredentialCacheKey = function(e, t, r, o, i, a, s, u, p) {
7140
+ var d = [
7138
7141
  this.generateAccountIdForCacheKey(e, t),
7139
7142
  this.generateCredentialIdForCacheKey(r, o, i, s),
7140
7143
  this.generateTargetForCacheKey(a),
7141
7144
  this.generateClaimsHashForCacheKey(p),
7142
- this.generateSchemeForCacheKey(d)
7145
+ this.generateSchemeForCacheKey(u)
7143
7146
  ];
7144
- return u.join(fe.CACHE_KEY_SEPARATOR).toLowerCase();
7147
+ return d.join(fe.CACHE_KEY_SEPARATOR).toLowerCase();
7145
7148
  }, n.generateAccountIdForCacheKey = function(e, t) {
7146
7149
  var r = [e, t];
7147
7150
  return r.join(fe.CACHE_KEY_SEPARATOR).toLowerCase();
@@ -7208,14 +7211,14 @@ var _t = (
7208
7211
  function e() {
7209
7212
  return n !== null && n.apply(this, arguments) || this;
7210
7213
  }
7211
- return e.createAccessTokenEntity = function(t, r, o, i, a, s, d, p, u, f, _, k, E, N, Q) {
7214
+ return e.createAccessTokenEntity = function(t, r, o, i, a, s, u, p, d, f, _, k, E, N, Q) {
7212
7215
  var X, G, $ = new e();
7213
7216
  $.homeAccountId = t, $.credentialType = H.ACCESS_TOKEN, $.secret = o;
7214
7217
  var Ae = Ke.nowSeconds();
7215
- 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())
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())
7216
7219
  switch ($.credentialType = H.ACCESS_TOKEN_WITH_AUTH_SCHEME, $.tokenType) {
7217
7220
  case te.POP:
7218
- var xe = rt.extractTokenClaims(o, u);
7221
+ var xe = rt.extractTokenClaims(o, d);
7219
7222
  if (!(!((G = xe == null ? void 0 : xe.cnf) === null || G === void 0) && G.kid))
7220
7223
  throw O.createTokenClaimsRequiredError();
7221
7224
  $.keyId = xe.cnf.kid;
@@ -7238,8 +7241,8 @@ var Pt = (
7238
7241
  return n !== null && n.apply(this, arguments) || this;
7239
7242
  }
7240
7243
  return e.createRefreshTokenEntity = function(t, r, o, i, a, s) {
7241
- var d = new e();
7242
- 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;
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;
7243
7246
  }, e.isRefreshTokenEntity = function(t) {
7244
7247
  return t ? t.hasOwnProperty("homeAccountId") && t.hasOwnProperty("environment") && t.hasOwnProperty("credentialType") && t.hasOwnProperty("clientId") && t.hasOwnProperty("secret") && t.credentialType === H.REFRESH_TOKEN : !1;
7245
7248
  }, e;
@@ -7269,13 +7272,13 @@ var Ir = [
7269
7272
  /** @class */
7270
7273
  function(n) {
7271
7274
  Ue(e, n);
7272
- function e(t, r, o, i, a, s, d) {
7275
+ function e(t, r, o, i, a, s, u) {
7273
7276
  var p = n.call(this, t, r, o) || this;
7274
- 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;
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;
7275
7278
  }
7276
7279
  return e.isInteractionRequiredError = function(t, r, o) {
7277
- var i = !!t && Ir.indexOf(t) > -1, a = !!o && Mi.indexOf(o) > -1, s = !!r && Ir.some(function(d) {
7278
- return r.indexOf(d) > -1;
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;
7279
7282
  });
7280
7283
  return i || s || a;
7281
7284
  }, e.createNoTokensFoundError = function() {
@@ -7324,8 +7327,8 @@ var st = (
7324
7327
  userRequestState: L.isEmpty(i) ? g.EMPTY_STRING : i,
7325
7328
  libraryState: s
7326
7329
  };
7327
- } catch (d) {
7328
- throw O.createInvalidStateError(t, d);
7330
+ } catch (u) {
7331
+ throw O.createInvalidStateError(t, u);
7329
7332
  }
7330
7333
  }, n;
7331
7334
  }()
@@ -7498,11 +7501,11 @@ var Ut = (
7498
7501
  });
7499
7502
  }, n.prototype.signPayload = function(e, t, r, o) {
7500
7503
  return j(this, void 0, void 0, function() {
7501
- var i, a, s, d, p, u;
7504
+ var i, a, s, u, p, d;
7502
7505
  return K(this, function(f) {
7503
7506
  switch (f.label) {
7504
7507
  case 0:
7505
- 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)];
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)];
7506
7509
  case 1:
7507
7510
  return [2, f.sent()];
7508
7511
  }
@@ -7584,14 +7587,14 @@ var wn = (
7584
7587
  var t = e.error_codes + " - [" + e.timestamp + "]: " + e.error_description + " - Correlation ID: " + e.correlation_id + " - Trace ID: " + e.trace_id;
7585
7588
  throw new bt(e.error, t, e.suberror);
7586
7589
  }
7587
- }, n.prototype.handleServerTokenResponse = function(e, t, r, o, i, a, s, d, p) {
7588
- var u;
7590
+ }, n.prototype.handleServerTokenResponse = function(e, t, r, o, i, a, s, u, p) {
7591
+ var d;
7589
7592
  return j(this, void 0, void 0, function() {
7590
7593
  var f, _, k, E, N, Q, X;
7591
7594
  return K(this, function(G) {
7592
7595
  switch (G.label) {
7593
7596
  case 0:
7594
- if ((u = this.performanceClient) === null || u === void 0 || u.addQueueMeasurement(b.HandleServerTokenResponse, e.correlation_id), e.id_token) {
7597
+ if ((d = this.performanceClient) === null || d === void 0 || d.addQueueMeasurement(b.HandleServerTokenResponse, e.correlation_id), e.id_token) {
7595
7598
  if (f = new rt(e.id_token || g.EMPTY_STRING, this.cryptoObj), i && !L.isEmpty(i.nonce) && f.claims.nonce !== i.nonce)
7596
7599
  throw O.createNonceMismatchError();
7597
7600
  if (o.maxAge || o.maxAge === 0) {
@@ -7606,7 +7609,7 @@ var wn = (
7606
7609
  case 2:
7607
7610
  G.sent(), G.label = 3;
7608
7611
  case 3:
7609
- 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)];
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)];
7610
7613
  case 4:
7611
7614
  return G.sent(), [3, 8];
7612
7615
  case 5:
@@ -7624,20 +7627,20 @@ var wn = (
7624
7627
  });
7625
7628
  });
7626
7629
  }, n.prototype.generateCacheRecord = function(e, t, r, o, i, a, s) {
7627
- var d = t.getPreferredCache();
7628
- if (L.isEmpty(d))
7630
+ var u = t.getPreferredCache();
7631
+ if (L.isEmpty(u))
7629
7632
  throw O.createInvalidCacheEnvironmentError();
7630
- var p, u;
7631
- !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));
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));
7632
7635
  var f = null;
7633
7636
  if (!L.isEmpty(e.access_token)) {
7634
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;
7635
- 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);
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);
7636
7639
  }
7637
7640
  var $ = null;
7638
- L.isEmpty(e.refresh_token) || ($ = Pt.createRefreshTokenEntity(this.homeAccountIdentifier, d, e.refresh_token || g.EMPTY_STRING, this.clientId, e.foci, a));
7641
+ L.isEmpty(e.refresh_token) || ($ = Pt.createRefreshTokenEntity(this.homeAccountIdentifier, u, e.refresh_token || g.EMPTY_STRING, this.clientId, e.foci, a));
7639
7642
  var Ae = null;
7640
- return L.isEmpty(e.foci) || (Ae = Vn.createAppMetadataEntity(this.clientId, d, e.foci)), new Zt(u, p, f, $, Ae);
7643
+ return L.isEmpty(e.foci) || (Ae = Vn.createAppMetadataEntity(this.clientId, u, e.foci)), new Zt(d, p, f, $, Ae);
7641
7644
  }, n.prototype.generateAccountEntity = function(e, t, r, o) {
7642
7645
  var i = r.authorityType, a = o ? o.cloud_graph_host_name : g.EMPTY_STRING, s = o ? o.msgraph_host : g.EMPTY_STRING;
7643
7646
  if (i === Se.Adfs)
@@ -7645,8 +7648,8 @@ var wn = (
7645
7648
  if (L.isEmpty(e.client_info) && r.protocolMode === "AAD")
7646
7649
  throw O.createClientInfoEmptyError();
7647
7650
  return e.client_info ? we.createAccount(e.client_info, this.homeAccountIdentifier, t, r, a, s) : we.createGenericAccount(this.homeAccountIdentifier, t, r, a, s);
7648
- }, n.generateAuthenticationResult = function(e, t, r, o, i, a, s, d, p) {
7649
- var u, f, _;
7651
+ }, n.generateAuthenticationResult = function(e, t, r, o, i, a, s, u, p) {
7652
+ var d, f, _;
7650
7653
  return j(this, void 0, void 0, function() {
7651
7654
  var k, E, N, Q, X, G, $, Ae, xe, Ve, Ct;
7652
7655
  return K(this, function(ce) {
@@ -7666,7 +7669,7 @@ var wn = (
7666
7669
  case 3:
7667
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;
7668
7671
  case 4:
7669
- 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, {
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, {
7670
7673
  authority: t.canonicalAuthority,
7671
7674
  uniqueId: Ve,
7672
7675
  tenantId: Ct,
@@ -7681,11 +7684,11 @@ var wn = (
7681
7684
  requestId: p || g.EMPTY_STRING,
7682
7685
  extExpiresOn: Q,
7683
7686
  familyId: X,
7684
- tokenType: ((u = r.accessToken) === null || u === void 0 ? void 0 : u.tokenType) || g.EMPTY_STRING,
7687
+ tokenType: ((d = r.accessToken) === null || d === void 0 ? void 0 : d.tokenType) || g.EMPTY_STRING,
7685
7688
  state: s ? s.userRequestState : g.EMPTY_STRING,
7686
7689
  cloudGraphHostName: ((f = r.account) === null || f === void 0 ? void 0 : f.cloudGraphHostName) || g.EMPTY_STRING,
7687
7690
  msGraphHost: ((_ = r.account) === null || _ === void 0 ? void 0 : _.msGraphHost) || g.EMPTY_STRING,
7688
- code: d == null ? void 0 : d.spa_code,
7691
+ code: u == null ? void 0 : u.spa_code,
7689
7692
  fromNativeBroker: !1
7690
7693
  }];
7691
7694
  }
@@ -7717,24 +7720,24 @@ var ro = (
7717
7720
  });
7718
7721
  });
7719
7722
  }, e.prototype.acquireToken = function(t, r) {
7720
- var o, i, a, s, d, p;
7723
+ var o, i, a, s, u, p;
7721
7724
  return j(this, void 0, void 0, function() {
7722
- var u, f, _, k, E, N, Q = this;
7725
+ var d, f, _, k, E, N, Q = this;
7723
7726
  return K(this, function(X) {
7724
7727
  switch (X.label) {
7725
7728
  case 0:
7726
7729
  if (!t || !t.code)
7727
7730
  throw O.createTokenRequestCannotBeMadeError();
7728
- 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)];
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)];
7729
7732
  case 1:
7730
- 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({
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({
7731
7734
  httpVerAuthority: E
7732
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) {
7733
- return u == null || u.endMeasurement({
7736
+ return d == null || d.endMeasurement({
7734
7737
  success: !0
7735
7738
  }), G;
7736
7739
  }).catch(function(G) {
7737
- throw Q.logger.verbose("Error in fetching token in ACC", t.correlationId), u == null || u.endMeasurement({
7740
+ throw Q.logger.verbose("Error in fetching token in ACC", t.correlationId), d == null || d.endMeasurement({
7738
7741
  errorCode: G.errorCode,
7739
7742
  subErrorCode: G.subError,
7740
7743
  success: !1
@@ -7759,16 +7762,16 @@ var ro = (
7759
7762
  }, e.prototype.executeTokenRequest = function(t, r) {
7760
7763
  var o, i;
7761
7764
  return j(this, void 0, void 0, function() {
7762
- var a, s, d, p, u, f, _;
7765
+ var a, s, u, p, d, f, _;
7763
7766
  return K(this, function(k) {
7764
7767
  switch (k.label) {
7765
7768
  case 0:
7766
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)];
7767
7770
  case 1:
7768
- if (d = k.sent(), p = void 0, r.clientInfo)
7771
+ if (u = k.sent(), p = void 0, r.clientInfo)
7769
7772
  try {
7770
- u = vn(r.clientInfo, this.cryptoUtils), p = {
7771
- credential: "" + u.uid + fe.CLIENT_INFO_SEPARATOR + u.utid,
7773
+ d = vn(r.clientInfo, this.cryptoUtils), p = {
7774
+ credential: "" + d.uid + fe.CLIENT_INFO_SEPARATOR + d.utid,
7772
7775
  type: Be.HOME_ACCOUNT_ID
7773
7776
  };
7774
7777
  } catch (E) {
@@ -7784,20 +7787,20 @@ var ro = (
7784
7787
  resourceRequestUri: r.resourceRequestUri,
7785
7788
  shrClaims: r.shrClaims,
7786
7789
  sshKid: r.sshKid
7787
- }, [2, this.executePostToTokenEndpoint(s, d, f, _)];
7790
+ }, [2, this.executePostToTokenEndpoint(s, u, f, _)];
7788
7791
  }
7789
7792
  });
7790
7793
  });
7791
7794
  }, e.prototype.createTokenRequestBody = function(t) {
7792
7795
  var r, o;
7793
7796
  return j(this, void 0, void 0, function() {
7794
- var i, a, s, d, p, u, f, f, _;
7797
+ var i, a, s, u, p, d, f, f, _;
7795
7798
  return K(this, function(k) {
7796
7799
  switch (k.label) {
7797
7800
  case 0:
7798
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)]);
7799
7802
  case 1:
7800
- return d = k.sent(), i.addPopToken(d.reqCnfString), [3, 3];
7803
+ return u = k.sent(), i.addPopToken(u.reqCnfString), [3, 3];
7801
7804
  case 2:
7802
7805
  if (t.authenticationScheme === te.SSH)
7803
7806
  if (t.sshJwk)
@@ -7806,9 +7809,9 @@ var ro = (
7806
7809
  throw ie.createMissingSshJwkError();
7807
7810
  k.label = 3;
7808
7811
  case 3:
7809
- 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)
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)
7810
7813
  try {
7811
- f = vn(t.clientInfo, this.cryptoUtils), u = {
7814
+ f = vn(t.clientInfo, this.cryptoUtils), d = {
7812
7815
  credential: "" + f.uid + fe.CLIENT_INFO_SEPARATOR + f.utid,
7813
7816
  type: Be.HOME_ACCOUNT_ID
7814
7817
  };
@@ -7816,18 +7819,18 @@ var ro = (
7816
7819
  this.logger.verbose("Could not parse client info for CCS Header: " + E);
7817
7820
  }
7818
7821
  else
7819
- u = t.ccsCredential;
7820
- if (this.config.systemOptions.preventCorsPreflight && u)
7821
- switch (u.type) {
7822
+ d = t.ccsCredential;
7823
+ if (this.config.systemOptions.preventCorsPreflight && d)
7824
+ switch (d.type) {
7822
7825
  case Be.HOME_ACCOUNT_ID:
7823
7826
  try {
7824
- f = Rt(u.credential), i.addCcsOid(f);
7827
+ f = Rt(d.credential), i.addCcsOid(f);
7825
7828
  } catch (E) {
7826
7829
  this.logger.verbose("Could not parse home account ID for CCS Header: " + E);
7827
7830
  }
7828
7831
  break;
7829
7832
  case Be.UPN:
7830
- i.addCcsUpn(u.credential);
7833
+ i.addCcsUpn(d.credential);
7831
7834
  break;
7832
7835
  }
7833
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()];
@@ -7837,7 +7840,7 @@ var ro = (
7837
7840
  }, e.prototype.createAuthCodeUrlQueryString = function(t) {
7838
7841
  var r;
7839
7842
  return j(this, void 0, void 0, function() {
7840
- var o, i, a, s, d, p, p, p, u, f;
7843
+ var o, i, a, s, u, p, p, p, d, f;
7841
7844
  return K(this, function(_) {
7842
7845
  switch (_.label) {
7843
7846
  case 0:
@@ -7845,8 +7848,8 @@ var ro = (
7845
7848
  if (t.sid && t.prompt === Te.NONE)
7846
7849
  this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"), o.addSid(t.sid);
7847
7850
  else if (t.account) {
7848
- if (s = this.extractAccountSid(t.account), d = this.extractLoginHint(t.account), d) {
7849
- this.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"), o.addLoginHint(d);
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);
7850
7853
  try {
7851
7854
  p = Rt(t.account.homeAccountId), o.addCcsOid(p);
7852
7855
  } catch {
@@ -7873,7 +7876,7 @@ var ro = (
7873
7876
  t.loginHint && (this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"), o.addLoginHint(t.loginHint), o.addCcsUpn(t.loginHint));
7874
7877
  else
7875
7878
  this.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");
7876
- 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];
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];
7877
7880
  case 1:
7878
7881
  f = _.sent(), o.addPopToken(f.reqCnfString), _.label = 2;
7879
7882
  case 2:
@@ -7902,24 +7905,24 @@ var oo = (
7902
7905
  return n.call(this, t, r) || this;
7903
7906
  }
7904
7907
  return e.prototype.acquireToken = function(t) {
7905
- var r, o, i, a, s, d, p;
7908
+ var r, o, i, a, s, u, p;
7906
7909
  return j(this, void 0, void 0, function() {
7907
- var u, f, _, k, E, N, Q = this;
7910
+ var d, f, _, k, E, N, Q = this;
7908
7911
  return K(this, function(X) {
7909
7912
  switch (X.label) {
7910
7913
  case 0:
7911
- 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)];
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)];
7912
7915
  case 1:
7913
- return _ = X.sent(), k = (a = _.headers) === null || a === void 0 ? void 0 : a[De.X_MS_HTTP_VERSION], u == null || u.addStaticFields({
7916
+ return _ = X.sent(), k = (a = _.headers) === null || a === void 0 ? void 0 : a[De.X_MS_HTTP_VERSION], d == null || d.addStaticFields({
7914
7917
  refreshTokenSize: ((s = _.body.refresh_token) === null || s === void 0 ? void 0 : s.length) || 0
7915
- }), k && (u == null || u.addStaticFields({
7918
+ }), k && (d == null || d.addStaticFields({
7916
7919
  httpVerToken: k
7917
- })), 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) {
7918
- return u == null || u.endMeasurement({
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({
7919
7922
  success: !0
7920
7923
  }), G;
7921
7924
  }).catch(function(G) {
7922
- throw Q.logger.verbose("Error in fetching refresh token", t.correlationId), u == null || u.endMeasurement({
7925
+ throw Q.logger.verbose("Error in fetching refresh token", t.correlationId), d == null || d.endMeasurement({
7923
7926
  errorCode: G.errorCode,
7924
7927
  subErrorCode: G.subError,
7925
7928
  success: !1
@@ -7931,8 +7934,8 @@ var oo = (
7931
7934
  }, e.prototype.acquireTokenByRefreshToken = function(t) {
7932
7935
  var r, o, i, a;
7933
7936
  return j(this, void 0, void 0, function() {
7934
- var s, d, p;
7935
- return K(this, function(u) {
7937
+ var s, u, p;
7938
+ return K(this, function(d) {
7936
7939
  if (!t)
7937
7940
  throw ie.createEmptyTokenRequestError();
7938
7941
  if ((r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.RefreshTokenClientAcquireTokenByRefreshToken, t.correlationId), !t.account)
@@ -7941,7 +7944,7 @@ var oo = (
7941
7944
  try {
7942
7945
  return (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(b.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !0)];
7943
7946
  } catch (f) {
7944
- 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)
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)
7945
7948
  return (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !1)];
7946
7949
  throw f;
7947
7950
  }
@@ -7951,13 +7954,13 @@ var oo = (
7951
7954
  }, e.prototype.acquireTokenWithCachedRefreshToken = function(t, r) {
7952
7955
  var o, i, a;
7953
7956
  return j(this, void 0, void 0, function() {
7954
- var s, d, p;
7955
- return K(this, function(u) {
7956
- 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)
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
7960
  throw s == null || s.discardMeasurement(), Ye.createNoTokensFoundError();
7958
7961
  return s == null || s.endMeasurement({
7959
7962
  success: !0
7960
- }), p = Z(Z({}, t), { refreshToken: d.secret, authenticationScheme: t.authenticationScheme || te.BEARER, ccsCredential: {
7963
+ }), p = Z(Z({}, t), { refreshToken: u.secret, authenticationScheme: t.authenticationScheme || te.BEARER, ccsCredential: {
7961
7964
  credential: t.account.homeAccountId,
7962
7965
  type: Be.HOME_ACCOUNT_ID
7963
7966
  } }), (a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.RefreshTokenClientAcquireToken, t.correlationId), [2, this.acquireToken(p)];
@@ -7966,13 +7969,13 @@ var oo = (
7966
7969
  }, e.prototype.executeTokenRequest = function(t, r) {
7967
7970
  var o, i, a;
7968
7971
  return j(this, void 0, void 0, function() {
7969
- var s, d, p, u, f, _;
7972
+ var s, u, p, d, f, _;
7970
7973
  return K(this, function(k) {
7971
7974
  switch (k.label) {
7972
7975
  case 0:
7973
- 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)];
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)];
7974
7977
  case 1:
7975
- return u = k.sent(), f = this.createTokenRequestHeaders(t.ccsCredential), _ = {
7978
+ return d = k.sent(), f = this.createTokenRequestHeaders(t.ccsCredential), _ = {
7976
7979
  clientId: this.config.authOptions.clientId,
7977
7980
  authority: r.canonicalAuthority,
7978
7981
  scopes: t.scopes,
@@ -7982,7 +7985,7 @@ var oo = (
7982
7985
  resourceRequestUri: t.resourceRequestUri,
7983
7986
  shrClaims: t.shrClaims,
7984
7987
  sshKid: t.sshKid
7985
- }, [2, this.executePostToTokenEndpoint(p, u, f, _).then(function(E) {
7988
+ }, [2, this.executePostToTokenEndpoint(p, d, f, _).then(function(E) {
7986
7989
  return s == null || s.endMeasurement({
7987
7990
  success: !0
7988
7991
  }), E;
@@ -7997,39 +8000,39 @@ var oo = (
7997
8000
  }, e.prototype.createTokenRequestBody = function(t) {
7998
8001
  var r, o, i;
7999
8002
  return j(this, void 0, void 0, function() {
8000
- var a, s, d, p, u, f, _;
8003
+ var a, s, u, p, d, f, _;
8001
8004
  return K(this, function(k) {
8002
8005
  switch (k.label) {
8003
8006
  case 0:
8004
- 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)]);
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)]);
8005
8008
  case 1:
8006
- return f = k.sent(), d.addPopToken(f.reqCnfString), [3, 3];
8009
+ return f = k.sent(), u.addPopToken(f.reqCnfString), [3, 3];
8007
8010
  case 2:
8008
8011
  if (t.authenticationScheme === te.SSH)
8009
8012
  if (t.sshJwk)
8010
- d.addSshJwk(t.sshJwk);
8013
+ u.addSshJwk(t.sshJwk);
8011
8014
  else
8012
8015
  throw s == null || s.endMeasurement({
8013
8016
  success: !1
8014
8017
  }), ie.createMissingSshJwkError();
8015
8018
  k.label = 3;
8016
8019
  case 3:
8017
- 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)
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)
8018
8021
  switch (t.ccsCredential.type) {
8019
8022
  case Be.HOME_ACCOUNT_ID:
8020
8023
  try {
8021
- _ = Rt(t.ccsCredential.credential), d.addCcsOid(_);
8024
+ _ = Rt(t.ccsCredential.credential), u.addCcsOid(_);
8022
8025
  } catch (E) {
8023
8026
  this.logger.verbose("Could not parse home account ID for CCS Header: " + E);
8024
8027
  }
8025
8028
  break;
8026
8029
  case Be.UPN:
8027
- d.addCcsUpn(t.ccsCredential.credential);
8030
+ u.addCcsUpn(t.ccsCredential.credential);
8028
8031
  break;
8029
8032
  }
8030
8033
  return s == null || s.endMeasurement({
8031
8034
  success: !0
8032
- }), [2, d.createQueryString()];
8035
+ }), [2, u.createQueryString()];
8033
8036
  }
8034
8037
  });
8035
8038
  });
@@ -8068,9 +8071,9 @@ var Oi = (
8068
8071
  }, e.prototype.acquireCachedToken = function(t) {
8069
8072
  var r, o, i, a, s;
8070
8073
  return j(this, void 0, void 0, function() {
8071
- var d, p;
8072
- return K(this, function(u) {
8073
- switch (u.label) {
8074
+ var u, p;
8075
+ return K(this, function(d) {
8076
+ switch (d.label) {
8074
8077
  case 0:
8075
8078
  if (!t)
8076
8079
  throw ie.createEmptyTokenRequestError();
@@ -8080,7 +8083,7 @@ var Oi = (
8080
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();
8081
8084
  if (!t.account)
8082
8085
  throw O.createNoAccountInSilentRequestError();
8083
- if (d = t.authority || this.authority.getPreferredCache(), p = this.cacheManager.readCacheRecord(t.account, t, d), p.accessToken) {
8086
+ if (u = t.authority || this.authority.getPreferredCache(), p = this.cacheManager.readCacheRecord(t.account, t, u), p.accessToken) {
8084
8087
  if (Ke.wasClockTurnedBack(p.accessToken.cachedAt) || Ke.isTokenExpired(p.accessToken.expiresOn, this.config.systemOptions.tokenRenewalOffsetSeconds))
8085
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();
8086
8089
  if (p.accessToken.refreshOn && Ke.isTokenExpired(p.accessToken.refreshOn, 0))
@@ -8089,7 +8092,7 @@ var Oi = (
8089
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();
8090
8093
  return this.config.serverTelemetryManager && this.config.serverTelemetryManager.incrementCacheHits(), [4, this.generateResultFromCacheRecord(p, t)];
8091
8094
  case 1:
8092
- return [2, u.sent()];
8095
+ return [2, d.sent()];
8093
8096
  }
8094
8097
  });
8095
8098
  });
@@ -8164,31 +8167,31 @@ var Bi = (
8164
8167
  return n.prototype.detectRegion = function(e, t) {
8165
8168
  var r, o, i, a;
8166
8169
  return j(this, void 0, void 0, function() {
8167
- var s, d, p, u, f;
8170
+ var s, u, p, d, f;
8168
8171
  return K(this, function(_) {
8169
8172
  switch (_.label) {
8170
8173
  case 0:
8171
8174
  if ((r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.RegionDiscoveryDetectRegion, this.correlationId), s = e, s)
8172
8175
  return [3, 8];
8173
- d = n.IMDS_OPTIONS, _.label = 1;
8176
+ u = n.IMDS_OPTIONS, _.label = 1;
8174
8177
  case 1:
8175
- 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)];
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)];
8176
8179
  case 2:
8177
- 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)]);
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)]);
8178
8181
  case 3:
8179
- 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]);
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]);
8180
8183
  case 4:
8181
- f = _.sent(), f.status === At.httpSuccess && (s = f.body, t.region_source = ut.IMDS), _.label = 5;
8184
+ f = _.sent(), f.status === At.httpSuccess && (s = f.body, t.region_source = dt.IMDS), _.label = 5;
8182
8185
  case 5:
8183
8186
  return [3, 7];
8184
8187
  case 6:
8185
- return _.sent(), t.region_source = ut.FAILED_AUTO_DETECTION, [2, null];
8188
+ return _.sent(), t.region_source = dt.FAILED_AUTO_DETECTION, [2, null];
8186
8189
  case 7:
8187
8190
  return [3, 9];
8188
8191
  case 8:
8189
- t.region_source = ut.ENVIRONMENT_VARIABLE, _.label = 9;
8192
+ t.region_source = dt.ENVIRONMENT_VARIABLE, _.label = 9;
8190
8193
  case 9:
8191
- return s || (t.region_source = ut.FAILED_AUTO_DETECTION), [2, s || null];
8194
+ return s || (t.region_source = dt.FAILED_AUTO_DETECTION), [2, s || null];
8192
8195
  }
8193
8196
  });
8194
8197
  });
@@ -8386,13 +8389,13 @@ var rn = (
8386
8389
  return e.replace(/{tenant}|{tenantid}/g, this.tenant);
8387
8390
  }, n.prototype.replacePath = function(e) {
8388
8391
  var t = this, r = e, o = new W(this.metadata.canonical_authority), i = o.getUrlComponents(), a = i.PathSegments, s = this.canonicalAuthorityUrlComponents.PathSegments;
8389
- return s.forEach(function(d, p) {
8390
- var u = a[p];
8392
+ return s.forEach(function(u, p) {
8393
+ var d = a[p];
8391
8394
  if (p === 0 && t.canReplaceTenant(i)) {
8392
8395
  var f = new W(t.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];
8393
- u !== f && (t.logger.verbose("Replacing tenant domain name " + u + " with id " + f), u = f);
8396
+ d !== f && (t.logger.verbose("Replacing tenant domain name " + d + " with id " + f), d = f);
8394
8397
  }
8395
- d !== u && (r = r.replace("/" + u + "/", "/" + d + "/"));
8398
+ u !== d && (r = r.replace("/" + d + "/", "/" + u + "/"));
8396
8399
  }), this.replaceTenant(r);
8397
8400
  }, Object.defineProperty(n.prototype, "defaultOpenIdConfigurationEndpoint", {
8398
8401
  /**
@@ -8409,14 +8412,14 @@ var rn = (
8409
8412
  var e, t, r;
8410
8413
  return j(this, void 0, void 0, function() {
8411
8414
  var o, i, a, s;
8412
- return K(this, function(d) {
8413
- switch (d.label) {
8415
+ return K(this, function(u) {
8416
+ switch (u.label) {
8414
8417
  case 0:
8415
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)];
8416
8419
  case 1:
8417
- 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)];
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)];
8418
8421
  case 2:
8419
- 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, [
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, [
8420
8423
  2
8421
8424
  /*return*/
8422
8425
  ];
@@ -8426,21 +8429,21 @@ var rn = (
8426
8429
  }, n.prototype.updateEndpointMetadata = function(e) {
8427
8430
  var t, r, o, i, a, s;
8428
8431
  return j(this, void 0, void 0, function() {
8429
- var d, p;
8430
- return K(this, function(u) {
8431
- switch (u.label) {
8432
+ var u, p;
8433
+ return K(this, function(d) {
8434
+ switch (d.label) {
8432
8435
  case 0:
8433
- 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()]);
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()]);
8434
8437
  case 1:
8435
- 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];
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];
8436
8439
  case 2:
8437
- d = u.sent(), u.label = 3;
8440
+ u = d.sent(), d.label = 3;
8438
8441
  case 3:
8439
- return e.updateEndpointMetadata(d, !0), [2, Fe.NETWORK];
8442
+ return e.updateEndpointMetadata(u, !0), [2, Fe.NETWORK];
8440
8443
  case 4:
8441
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];
8442
8445
  case 5:
8443
- p = u.sent(), u.label = 6;
8446
+ p = d.sent(), d.label = 6;
8444
8447
  case 6:
8445
8448
  return e.updateEndpointMetadata(p, !1), [2, Fe.HARDCODED_VALUES];
8446
8449
  case 7:
@@ -8487,14 +8490,14 @@ var rn = (
8487
8490
  var t, r, o, i;
8488
8491
  return j(this, void 0, void 0, function() {
8489
8492
  var a, s;
8490
- return K(this, function(d) {
8491
- switch (d.label) {
8493
+ return K(this, function(u) {
8494
+ switch (u.label) {
8492
8495
  case 0:
8493
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];
8494
8497
  case 1:
8495
- if (s = d.sent(), s)
8498
+ if (s = u.sent(), s)
8496
8499
  return this.regionDiscoveryMetadata.region_outcome = Jt.AUTO_DETECTION_REQUESTED_SUCCESSFUL, this.regionDiscoveryMetadata.region_used = s, [2, n.replaceWithRegionalInformation(e, s)];
8497
- this.regionDiscoveryMetadata.region_outcome = Jt.AUTO_DETECTION_REQUESTED_FAILED, d.label = 2;
8500
+ this.regionDiscoveryMetadata.region_outcome = Jt.AUTO_DETECTION_REQUESTED_FAILED, u.label = 2;
8498
8501
  case 2:
8499
8502
  return [2, e];
8500
8503
  }
@@ -8536,15 +8539,15 @@ var rn = (
8536
8539
  }, n.prototype.getCloudDiscoveryMetadataFromNetwork = function() {
8537
8540
  var e;
8538
8541
  return j(this, void 0, void 0, function() {
8539
- var t, r, o, i, a, s, d, p;
8540
- return K(this, function(u) {
8541
- switch (u.label) {
8542
+ var t, r, o, i, a, s, u, p;
8543
+ return K(this, function(d) {
8544
+ switch (d.label) {
8542
8545
  case 0:
8543
- (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;
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;
8544
8547
  case 1:
8545
- return u.trys.push([1, 3, , 4]), [4, this.networkInterface.sendGetRequestAsync(t, r)];
8548
+ return d.trys.push([1, 3, , 4]), [4, this.networkInterface.sendGetRequestAsync(t, r)];
8546
8549
  case 2:
8547
- if (i = u.sent(), a = void 0, s = void 0, Ui(i.body))
8550
+ if (i = d.sent(), a = void 0, s = void 0, Ui(i.body))
8548
8551
  a = i.body, s = a.metadata, this.logger.verbosePii("tenant_discovery_endpoint is: " + a.tenant_discovery_endpoint);
8549
8552
  else if (xi(i.body)) {
8550
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)
@@ -8554,9 +8557,9 @@ var rn = (
8554
8557
  return this.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"), [2, null];
8555
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];
8556
8559
  case 3:
8557
- return d = u.sent(), d instanceof D ? this.logger.error(`There was a network error while attempting to get the cloud discovery instance metadata.
8558
- Error: ` + d.errorCode + `
8559
- Error Description: ` + d.errorMessage) : (p = d, this.logger.error(`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.
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
8563
  Error: ` + p.name + `
8561
8564
  Error Description: ` + p.message)), [2, null];
8562
8565
  case 4:
@@ -8632,17 +8635,17 @@ var bn = (
8632
8635
  }
8633
8636
  return n.createDiscoveredInstance = function(e, t, r, o, i, a, s) {
8634
8637
  return j(this, void 0, void 0, function() {
8635
- var d, p, u;
8638
+ var u, p, d;
8636
8639
  return K(this, function(f) {
8637
8640
  switch (f.label) {
8638
8641
  case 0:
8639
- a == null || a.addQueueMeasurement(b.AuthorityFactoryCreateDiscoveredInstance, s), d = rn.transformCIAMAuthority(e), p = n.createInstance(d, t, r, o, i, a, s), f.label = 1;
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;
8640
8643
  case 1:
8641
8644
  return f.trys.push([1, 3, , 4]), a == null || a.setPreQueueTime(b.AuthorityResolveEndpointsAsync, s), [4, p.resolveEndpointsAsync()];
8642
8645
  case 2:
8643
8646
  return f.sent(), [2, p];
8644
8647
  case 3:
8645
- throw u = f.sent(), O.createEndpointDiscoveryIncompleteError(u);
8648
+ throw d = f.sent(), O.createEndpointDiscoveryIncompleteError(d);
8646
8649
  case 4:
8647
8650
  return [
8648
8651
  2
@@ -8697,7 +8700,7 @@ var Di = {
8697
8700
  }
8698
8701
  };
8699
8702
  /*! @azure/msal-common v13.3.1 2023-10-27 */
8700
- var dn = {
8703
+ var un = {
8701
8704
  missingKidError: {
8702
8705
  code: "missing_kid_error",
8703
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."
@@ -8715,9 +8718,9 @@ var dn = {
8715
8718
  return o.name = "JoseHeaderError", Object.setPrototypeOf(o, e.prototype), o;
8716
8719
  }
8717
8720
  return e.createMissingKidError = function() {
8718
- return new e(dn.missingKidError.code, dn.missingKidError.desc);
8721
+ return new e(un.missingKidError.code, un.missingKidError.desc);
8719
8722
  }, e.createMissingAlgError = function() {
8720
- return new e(dn.missingAlgError.code, dn.missingAlgError.desc);
8723
+ return new e(un.missingAlgError.code, un.missingAlgError.desc);
8721
8724
  }, e;
8722
8725
  }(D)
8723
8726
  );
@@ -8776,8 +8779,8 @@ var qi = (
8776
8779
  }, n.maxErrorsToSend = function(e) {
8777
8780
  var t, r = 0, o = 0, i = e.errors.length;
8778
8781
  for (t = 0; t < i; t++) {
8779
- 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;
8780
- if (o += a.toString().length + s.toString().length + d.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, 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)
8781
8784
  r += 1;
8782
8785
  else
8783
8786
  break;
@@ -8845,7 +8848,7 @@ var ao = (
8845
8848
  t || this.logger.info("PerformanceClient: No correlation id provided for " + e + ", generating", a), this.logger.trace("PerformanceClient: Performance measurement started for " + e, a);
8846
8849
  var s = this.startPerformanceMeasuremeant(e, a);
8847
8850
  s.startMeasurement();
8848
- var d = {
8851
+ var u = {
8849
8852
  eventId: this.generateId(),
8850
8853
  status: kn.InProgress,
8851
8854
  authority: this.authority,
@@ -8858,41 +8861,41 @@ var ao = (
8858
8861
  appName: (o = this.applicationTelemetry) === null || o === void 0 ? void 0 : o.appName,
8859
8862
  appVersion: (i = this.applicationTelemetry) === null || i === void 0 ? void 0 : i.appVersion
8860
8863
  };
8861
- return this.cacheEventByCorrelationId(d), {
8864
+ return this.cacheEventByCorrelationId(u), {
8862
8865
  endMeasurement: function(p) {
8863
- return r.endMeasurement(Z(Z({}, d), p), s);
8866
+ return r.endMeasurement(Z(Z({}, u), p), s);
8864
8867
  },
8865
8868
  discardMeasurement: function() {
8866
- return r.discardMeasurements(d.correlationId);
8869
+ return r.discardMeasurements(u.correlationId);
8867
8870
  },
8868
8871
  addStaticFields: function(p) {
8869
- return r.addStaticFields(p, d.correlationId);
8872
+ return r.addStaticFields(p, u.correlationId);
8870
8873
  },
8871
8874
  increment: function(p) {
8872
- return r.increment(p, d.correlationId);
8875
+ return r.increment(p, u.correlationId);
8873
8876
  },
8874
8877
  measurement: s,
8875
- event: d
8878
+ event: u
8876
8879
  };
8877
8880
  }, n.prototype.endMeasurement = function(e, t) {
8878
8881
  var r = this, o, i, a = this.eventsByCorrelationId.get(e.correlationId);
8879
8882
  if (!a)
8880
8883
  return this.logger.trace("PerformanceClient: Measurement not found for " + e.eventId, e.correlationId), null;
8881
- var s = e.eventId === a.eventId, d = {
8884
+ var s = e.eventId === a.eventId, u = {
8882
8885
  totalQueueTime: 0,
8883
8886
  totalQueueCount: 0,
8884
8887
  manuallyCompletedCount: 0
8885
8888
  };
8886
- 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();
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();
8887
8890
  var p = t == null ? void 0 : t.flushMeasurement();
8888
8891
  if (!p)
8889
8892
  return this.logger.trace("PerformanceClient: Performance measurement not taken", a.correlationId), null;
8890
8893
  if (this.logger.trace("PerformanceClient: Performance measurement ended for " + e.name + ": " + p + " ms", e.correlationId), !s)
8891
8894
  return a[e.name + "DurationMs"] = Math.floor(p), Z({}, a);
8892
- var u = Z(Z({}, a), e), f = 0;
8893
- return (i = u.incompleteSubMeasurements) === null || i === void 0 || i.forEach(function(_) {
8894
- r.logger.trace("PerformanceClient: Incomplete submeasurement " + _.name + " found for " + e.name, u.correlationId), f++;
8895
- }), 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;
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;
8896
8899
  }, n.prototype.addStaticFields = function(e, t) {
8897
8900
  this.logger.trace("PerformanceClient: Updating static fields");
8898
8901
  var r = this.eventsByCorrelationId.get(t);
@@ -9505,7 +9508,7 @@ var $n = (
9505
9508
  return this.internalStorage;
9506
9509
  }
9507
9510
  }, e.prototype.migrateCacheEntries = function() {
9508
- 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];
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];
9509
9512
  _.forEach(function(k, E) {
9510
9513
  return t.migrateCacheEntry(k, f[E]);
9511
9514
  });
@@ -9524,33 +9527,33 @@ var $n = (
9524
9527
  if (t.isCredentialKey(a)) {
9525
9528
  var s = t.getItem(a);
9526
9529
  if (s) {
9527
- var d = t.validateAndParseJson(s);
9528
- if (d && d.hasOwnProperty("credentialType"))
9529
- switch (d.credentialType) {
9530
+ var u = t.validateAndParseJson(s);
9531
+ if (u && u.hasOwnProperty("credentialType"))
9532
+ switch (u.credentialType) {
9530
9533
  case H.ID_TOKEN:
9531
- if (gt.isIdTokenEntity(d)) {
9534
+ if (gt.isIdTokenEntity(u)) {
9532
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");
9533
- var p = Me.toObject(new gt(), d), u = t.updateCredentialCacheKey(a, p);
9534
- t.addTokenKey(u, H.ID_TOKEN);
9536
+ var p = Me.toObject(new gt(), u), d = t.updateCredentialCacheKey(a, p);
9537
+ t.addTokenKey(d, H.ID_TOKEN);
9535
9538
  return;
9536
9539
  } else
9537
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);
9538
9541
  break;
9539
9542
  case H.ACCESS_TOKEN:
9540
9543
  case H.ACCESS_TOKEN_WITH_AUTH_SCHEME:
9541
- if (_t.isAccessTokenEntity(d)) {
9544
+ if (_t.isAccessTokenEntity(u)) {
9542
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");
9543
- var f = Me.toObject(new _t(), d), u = t.updateCredentialCacheKey(a, f);
9544
- t.addTokenKey(u, H.ACCESS_TOKEN);
9546
+ var f = Me.toObject(new _t(), u), d = t.updateCredentialCacheKey(a, f);
9547
+ t.addTokenKey(d, H.ACCESS_TOKEN);
9545
9548
  return;
9546
9549
  } else
9547
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);
9548
9551
  break;
9549
9552
  case H.REFRESH_TOKEN:
9550
- if (Pt.isRefreshTokenEntity(d)) {
9553
+ if (Pt.isRefreshTokenEntity(u)) {
9551
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");
9552
- var _ = Me.toObject(new Pt(), d), u = t.updateCredentialCacheKey(a, _);
9553
- t.addTokenKey(u, H.REFRESH_TOKEN);
9555
+ var _ = Me.toObject(new Pt(), u), d = t.updateCredentialCacheKey(a, _);
9556
+ t.addTokenKey(d, H.REFRESH_TOKEN);
9554
9557
  return;
9555
9558
  } else
9556
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);
@@ -9911,21 +9914,21 @@ var $n = (
9911
9914
  this.logger.trace("BrowserCacheManager.updateCacheEntries called");
9912
9915
  var s = this.generateStateKey(t);
9913
9916
  this.setTemporaryCache(s, t, !1);
9914
- var d = this.generateNonceKey(t);
9915
- this.setTemporaryCache(d, r, !1);
9917
+ var u = this.generateNonceKey(t);
9918
+ this.setTemporaryCache(u, r, !1);
9916
9919
  var p = this.generateAuthorityKey(t);
9917
9920
  if (this.setTemporaryCache(p, o, !1), a) {
9918
- var u = {
9921
+ var d = {
9919
9922
  credential: a.homeAccountId,
9920
9923
  type: Be.HOME_ACCOUNT_ID
9921
9924
  };
9922
- this.setTemporaryCache(J.CCS_CREDENTIAL, JSON.stringify(u), !0);
9925
+ this.setTemporaryCache(J.CCS_CREDENTIAL, JSON.stringify(d), !0);
9923
9926
  } else if (!L.isEmpty(i)) {
9924
- var u = {
9927
+ var d = {
9925
9928
  credential: i,
9926
9929
  type: Be.UPN
9927
9930
  };
9928
- this.setTemporaryCache(J.CCS_CREDENTIAL, JSON.stringify(u), !0);
9931
+ this.setTemporaryCache(J.CCS_CREDENTIAL, JSON.stringify(d), !0);
9929
9932
  }
9930
9933
  }, e.prototype.resetRequestCache = function(t) {
9931
9934
  var r = this;
@@ -10147,9 +10150,9 @@ var Qi = (
10147
10150
  ), o.setXhrHeaders(s, r), s.onload = function() {
10148
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)));
10149
10152
  try {
10150
- var d = JSON.parse(s.responseText), p = {
10153
+ var u = JSON.parse(s.responseText), p = {
10151
10154
  headers: o.getHeaderDict(s),
10152
- body: d,
10155
+ body: u,
10153
10156
  status: s.status
10154
10157
  };
10155
10158
  i(p);
@@ -10175,14 +10178,14 @@ var Qi = (
10175
10178
  }, n.prototype.getHeaderDict = function(e) {
10176
10179
  var t = e.getAllResponseHeaders(), r = t.trim().split(/[\r\n]+/), o = {};
10177
10180
  return r.forEach(function(i) {
10178
- var a = i.split(": "), s = a.shift(), d = a.join(": ");
10179
- s && d && (o[s] = d);
10181
+ var a = i.split(": "), s = a.shift(), u = a.join(": ");
10182
+ s && u && (o[s] = u);
10180
10183
  }), o;
10181
10184
  }, n;
10182
10185
  }()
10183
10186
  );
10184
10187
  /*! @azure/msal-browser v2.38.3 2023-10-27 */
10185
- var ue = (
10188
+ var de = (
10186
10189
  /** @class */
10187
10190
  function() {
10188
10191
  function n() {
@@ -10230,8 +10233,8 @@ var ue = (
10230
10233
  var co = (
10231
10234
  /** @class */
10232
10235
  function() {
10233
- function n(e, t, r, o, i, a, s, d, p) {
10234
- 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;
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;
10235
10238
  }
10236
10239
  return n.prototype.clearCacheOnLogout = function(e) {
10237
10240
  return T(this, void 0, void 0, function() {
@@ -10300,8 +10303,8 @@ var co = (
10300
10303
  });
10301
10304
  }, n.prototype.getRedirectUri = function(e) {
10302
10305
  this.logger.verbose("getRedirectUri called");
10303
- var t = e || this.config.auth.redirectUri || ue.getCurrentUri();
10304
- return W.getAbsoluteUrl(t, ue.getCurrentUri());
10306
+ var t = e || this.config.auth.redirectUri || de.getCurrentUri();
10307
+ return W.getAbsoluteUrl(t, de.getCurrentUri());
10305
10308
  }, n.prototype.validateRequestAuthority = function(e, t) {
10306
10309
  return T(this, void 0, void 0, function() {
10307
10310
  var r;
@@ -10387,7 +10390,7 @@ var Ft = (
10387
10390
  this.logger.verbose("logoutHint was not set and account was not passed into logout request, logoutHint will not be set");
10388
10391
  else
10389
10392
  this.logger.verbose("logoutHint will not be set since no logout request was configured");
10390
- 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;
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;
10391
10394
  }, e.prototype.getLogoutHintFromIdTokenClaims = function(t) {
10392
10395
  var r = t.idTokenClaims;
10393
10396
  if (r) {
@@ -10463,7 +10466,7 @@ var Ft = (
10463
10466
  }, e.prototype.getDiscoveredAuthority = function(t, r) {
10464
10467
  var o;
10465
10468
  return T(this, void 0, void 0, function() {
10466
- var i, a, s, d;
10469
+ var i, a, s, u;
10467
10470
  return I(this, function(p) {
10468
10471
  switch (p.label) {
10469
10472
  case 0:
@@ -10473,16 +10476,16 @@ var Ft = (
10473
10476
  cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
10474
10477
  authorityMetadata: this.config.auth.authorityMetadata,
10475
10478
  skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache
10476
- }, 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) {
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) {
10477
10480
  return i.endMeasurement({
10478
10481
  success: !0
10479
- }), u;
10480
- }).catch(function(u) {
10482
+ }), d;
10483
+ }).catch(function(d) {
10481
10484
  throw i.endMeasurement({
10482
- errorCode: u.errorCode,
10483
- subErrorCode: u.subError,
10485
+ errorCode: d.errorCode,
10486
+ subErrorCode: d.subError,
10484
10487
  success: !1
10485
- }), u;
10488
+ }), d;
10486
10489
  })];
10487
10490
  case 1:
10488
10491
  return [2, p.sent()];
@@ -10491,15 +10494,15 @@ var Ft = (
10491
10494
  });
10492
10495
  }, e.prototype.initializeAuthorizationRequest = function(t, r) {
10493
10496
  return T(this, void 0, void 0, function() {
10494
- var o, i, a, s, d, p, u;
10497
+ var o, i, a, s, u, p, d;
10495
10498
  return I(this, function(f) {
10496
10499
  switch (f.label) {
10497
10500
  case 0:
10498
10501
  return this.performanceClient.addQueueMeasurement(b.StandardInteractionClientInitializeAuthorizationRequest, this.correlationId), this.logger.verbose("initializeAuthorizationRequest called", this.correlationId), o = this.getRedirectUri(t.redirectUri), i = {
10499
10502
  interactionType: r
10500
- }, a = st.setRequestState(this.browserCrypto, t && t.state || g.EMPTY_STRING, i), this.performanceClient.setPreQueueTime(b.InitializeBaseRequest, this.correlationId), d = [{}], [4, this.initializeBaseRequest(t)];
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)];
10501
10504
  case 1:
10502
- 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];
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];
10503
10506
  }
10504
10507
  });
10505
10508
  });
@@ -10516,7 +10519,7 @@ var or = (
10516
10519
  return n.prototype.handleCodeResponseFromHash = function(e, t, r, o) {
10517
10520
  return T(this, void 0, void 0, function() {
10518
10521
  var i, a, s;
10519
- return I(this, function(d) {
10522
+ return I(this, function(u) {
10520
10523
  if (this.performanceClient.addQueueMeasurement(b.HandleCodeResponseFromHash, this.authCodeRequest.correlationId), this.logger.verbose("InteractionHandler.handleCodeResponse called"), L.isEmpty(e))
10521
10524
  throw M.createEmptyHashError(e);
10522
10525
  if (i = this.browserStorage.generateStateKey(t), a = this.browserStorage.getTemporaryCache(i), !a)
@@ -10531,17 +10534,17 @@ var or = (
10531
10534
  });
10532
10535
  }, n.prototype.handleCodeResponseFromServer = function(e, t, r, o, i) {
10533
10536
  return i === void 0 && (i = !0), T(this, void 0, void 0, function() {
10534
- var a, s, d, p, u, f;
10537
+ var a, s, u, p, d, f;
10535
10538
  return I(this, function(_) {
10536
10539
  switch (_.label) {
10537
10540
  case 0:
10538
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)
10539
10542
  throw O.createStateNotFoundError("Cached State");
10540
- 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];
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];
10541
10544
  case 1:
10542
10545
  _.sent(), _.label = 2;
10543
10546
  case 2:
10544
- 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)];
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)];
10545
10548
  case 3:
10546
10549
  return f = _.sent(), this.browserStorage.cleanRequestByState(t), [2, f];
10547
10550
  }
@@ -10580,8 +10583,8 @@ var Ur = (
10580
10583
  function(n) {
10581
10584
  be(e, n);
10582
10585
  function e(t, r, o, i, a, s) {
10583
- var d = n.call(this, t, r, o, i, s) || this;
10584
- return d.browserCrypto = a, d;
10586
+ var u = n.call(this, t, r, o, i, s) || this;
10587
+ return u.browserCrypto = a, u;
10585
10588
  }
10586
10589
  return e.prototype.initiateAuthRequest = function(t, r) {
10587
10590
  return T(this, void 0, void 0, function() {
@@ -10627,7 +10630,7 @@ var Ur = (
10627
10630
  });
10628
10631
  }, e.prototype.handleCodeResponseFromHash = function(t, r, o, i) {
10629
10632
  return T(this, void 0, void 0, function() {
10630
- var a, s, d, p, u, f, _;
10633
+ var a, s, u, p, d, f, _;
10631
10634
  return I(this, function(k) {
10632
10635
  switch (k.label) {
10633
10636
  case 0:
@@ -10636,15 +10639,15 @@ var Ur = (
10636
10639
  if (this.browserStorage.setInteractionInProgress(!1), a = this.browserStorage.generateStateKey(r), s = this.browserStorage.getTemporaryCache(a), !s)
10637
10640
  throw O.createStateNotFoundError("Cached State");
10638
10641
  try {
10639
- d = this.authModule.handleFragmentResponse(t, s);
10642
+ u = this.authModule.handleFragmentResponse(t, s);
10640
10643
  } catch (E) {
10641
10644
  throw E instanceof bt && E.subError === A.userCancelledError.code ? M.createUserCancelledError() : E;
10642
10645
  }
10643
- 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];
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];
10644
10647
  case 1:
10645
10648
  k.sent(), k.label = 2;
10646
10649
  case 2:
10647
- 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)];
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)];
10648
10651
  case 3:
10649
10652
  return _ = k.sent(), this.browserStorage.cleanRequestByState(r), [2, _];
10650
10653
  }
@@ -10723,21 +10726,21 @@ var lo = (
10723
10726
  return e.prototype.acquireToken = function(t) {
10724
10727
  return T(this, void 0, void 0, function() {
10725
10728
  var r, o, i, a, s;
10726
- return I(this, function(d) {
10727
- switch (d.label) {
10729
+ return I(this, function(u) {
10730
+ switch (u.label) {
10728
10731
  case 0:
10729
10732
  return r = this.performanceClient.startMeasurement(b.SilentCacheClientAcquireToken, t.correlationId), o = this.initializeServerTelemetryManager(oe.acquireTokenSilent_silentFlow), [4, this.createSilentFlowClient(o, t.authority, t.azureCloudOptions)];
10730
10733
  case 1:
10731
- i = d.sent(), this.logger.verbose("Silent auth client created"), d.label = 2;
10734
+ i = u.sent(), this.logger.verbose("Silent auth client created"), u.label = 2;
10732
10735
  case 2:
10733
- return d.trys.push([2, 4, , 5]), [4, i.acquireCachedToken(t)];
10736
+ return u.trys.push([2, 4, , 5]), [4, i.acquireCachedToken(t)];
10734
10737
  case 3:
10735
- return a = d.sent(), r.endMeasurement({
10738
+ return a = u.sent(), r.endMeasurement({
10736
10739
  success: !0,
10737
10740
  fromCache: !0
10738
10741
  }), [2, a];
10739
10742
  case 4:
10740
- 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({
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({
10741
10744
  errorCode: s instanceof D && s.errorCode || void 0,
10742
10745
  subErrorCode: s instanceof D && s.subError || void 0,
10743
10746
  success: !1
@@ -10784,36 +10787,36 @@ var Ot = (
10784
10787
  /** @class */
10785
10788
  function(n) {
10786
10789
  be(e, n);
10787
- function e(t, r, o, i, a, s, d, p, u, f, _, k) {
10788
- var E = n.call(this, t, r, o, i, a, s, p, u, k) || this;
10789
- 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;
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
10793
  }
10791
10794
  return e.prototype.acquireToken = function(t) {
10792
10795
  return T(this, void 0, void 0, function() {
10793
- var r, o, i, a, s, d, p;
10794
- return I(this, function(u) {
10795
- switch (u.label) {
10796
+ var r, o, i, a, s, u, p;
10797
+ return I(this, function(d) {
10798
+ switch (d.label) {
10796
10799
  case 0:
10797
10800
  return this.logger.trace("NativeInteractionClient - acquireToken called."), r = this.performanceClient.startMeasurement(b.NativeInteractionClientAcquireToken, t.correlationId), o = Ke.nowSeconds(), [4, this.initializeNativeRequest(t)];
10798
10801
  case 1:
10799
- i = u.sent(), u.label = 2;
10802
+ i = d.sent(), d.label = 2;
10800
10803
  case 2:
10801
- return u.trys.push([2, 4, , 5]), [4, this.acquireTokensFromCache(this.accountId, i)];
10804
+ return d.trys.push([2, 4, , 5]), [4, this.acquireTokensFromCache(this.accountId, i)];
10802
10805
  case 3:
10803
- return a = u.sent(), r.endMeasurement({
10806
+ return a = d.sent(), r.endMeasurement({
10804
10807
  success: !0,
10805
10808
  isNativeBroker: !1,
10806
10809
  fromCache: !0
10807
10810
  }), [2, a];
10808
10811
  case 4:
10809
- return u.sent(), this.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call"), [3, 5];
10812
+ return d.sent(), this.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call"), [3, 5];
10810
10813
  case 5:
10811
10814
  return s = {
10812
10815
  method: at.GetToken,
10813
10816
  request: i
10814
10817
  }, [4, this.nativeMessageHandler.sendMessage(s)];
10815
10818
  case 6:
10816
- return d = u.sent(), p = this.validateNativeResponse(d), [2, this.handleNativeResponse(p, i, o).then(function(f) {
10819
+ return u = d.sent(), p = this.validateNativeResponse(u), [2, this.handleNativeResponse(p, i, o).then(function(f) {
10817
10820
  return r.endMeasurement({
10818
10821
  success: !0,
10819
10822
  isNativeBroker: !0,
@@ -10841,20 +10844,20 @@ var Ot = (
10841
10844
  }, e.prototype.acquireTokensFromCache = function(t, r) {
10842
10845
  return T(this, void 0, void 0, function() {
10843
10846
  var o, i, a, s;
10844
- return I(this, function(d) {
10845
- switch (d.label) {
10847
+ return I(this, function(u) {
10848
+ switch (u.label) {
10846
10849
  case 0:
10847
10850
  if (!t)
10848
10851
  throw this.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"), O.createNoAccountFoundError();
10849
10852
  if (o = this.browserStorage.getAccountInfoFilteredBy({ nativeAccountId: t }), !o)
10850
10853
  throw O.createNoAccountFoundError();
10851
- d.label = 1;
10854
+ u.label = 1;
10852
10855
  case 1:
10853
- return d.trys.push([1, 3, , 4]), i = this.createSilentCacheRequest(r, o), [4, this.silentCacheClient.acquireToken(i)];
10856
+ return u.trys.push([1, 3, , 4]), i = this.createSilentCacheRequest(r, o), [4, this.silentCacheClient.acquireToken(i)];
10854
10857
  case 2:
10855
- return a = d.sent(), [2, a];
10858
+ return a = u.sent(), [2, a];
10856
10859
  case 3:
10857
- throw s = d.sent(), s;
10860
+ throw s = u.sent(), s;
10858
10861
  case 4:
10859
10862
  return [
10860
10863
  2
@@ -10865,7 +10868,7 @@ var Ot = (
10865
10868
  });
10866
10869
  }, e.prototype.acquireTokenRedirect = function(t) {
10867
10870
  return T(this, void 0, void 0, function() {
10868
- var r, o, i, a, s, d;
10871
+ var r, o, i, a, s, u;
10869
10872
  return I(this, function(p) {
10870
10873
  switch (p.label) {
10871
10874
  case 0:
@@ -10888,7 +10891,7 @@ var Ot = (
10888
10891
  apiId: oe.acquireTokenRedirect,
10889
10892
  timeout: this.config.system.redirectNavigationTimeout,
10890
10893
  noHistory: !1
10891
- }, d = this.config.auth.navigateToLoginRequestUrl ? window.location.href : this.getRedirectUri(t.redirectUri), [4, this.navigationClient.navigateExternal(d, s)];
10894
+ }, u = this.config.auth.navigateToLoginRequestUrl ? window.location.href : this.getRedirectUri(t.redirectUri), [4, this.navigationClient.navigateExternal(u, s)];
10892
10895
  case 6:
10893
10896
  return p.sent(), [
10894
10897
  2
@@ -10899,9 +10902,9 @@ var Ot = (
10899
10902
  });
10900
10903
  }, e.prototype.handleRedirectPromise = function() {
10901
10904
  return T(this, void 0, void 0, function() {
10902
- var t, r, o, i, a, s, d, p;
10903
- return I(this, function(u) {
10904
- switch (u.label) {
10905
+ var t, r, o, i, a, s, u, p;
10906
+ return I(this, function(d) {
10907
+ switch (d.label) {
10905
10908
  case 0:
10906
10909
  if (this.logger.trace("NativeInteractionClient - handleRedirectPromise called."), !this.browserStorage.isInteractionInProgress(!0))
10907
10910
  return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."), [2, null];
@@ -10910,13 +10913,13 @@ var Ot = (
10910
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 = {
10911
10914
  method: at.GetToken,
10912
10915
  request: o
10913
- }, a = Ke.nowSeconds(), u.label = 1;
10916
+ }, a = Ke.nowSeconds(), d.label = 1;
10914
10917
  case 1:
10915
- return u.trys.push([1, 3, , 4]), this.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker."), [4, this.nativeMessageHandler.sendMessage(i)];
10918
+ return d.trys.push([1, 3, , 4]), this.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker."), [4, this.nativeMessageHandler.sendMessage(i)];
10916
10919
  case 2:
10917
- return s = u.sent(), this.validateNativeResponse(s), d = this.handleNativeResponse(s, o, a), this.browserStorage.setInteractionInProgress(!1), [2, d];
10920
+ return s = d.sent(), this.validateNativeResponse(s), u = this.handleNativeResponse(s, o, a), this.browserStorage.setInteractionInProgress(!1), [2, u];
10918
10921
  case 3:
10919
- throw p = u.sent(), this.browserStorage.setInteractionInProgress(!1), p;
10922
+ throw p = d.sent(), this.browserStorage.setInteractionInProgress(!1), p;
10920
10923
  case 4:
10921
10924
  return [
10922
10925
  2
@@ -10929,7 +10932,7 @@ var Ot = (
10929
10932
  return this.logger.trace("NativeInteractionClient - logout called."), Promise.reject("Logout not implemented yet");
10930
10933
  }, e.prototype.handleNativeResponse = function(t, r, o) {
10931
10934
  return T(this, void 0, void 0, function() {
10932
- var i, a, s, d, p, u;
10935
+ var i, a, s, u, p, d;
10933
10936
  return I(this, function(f) {
10934
10937
  switch (f.label) {
10935
10938
  case 0:
@@ -10937,9 +10940,9 @@ var Ot = (
10937
10940
  throw tt.createUserSwitchError();
10938
10941
  return [4, this.getDiscoveredAuthority(r.authority)];
10939
10942
  case 1:
10940
- 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)];
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)];
10941
10944
  case 2:
10942
- return u = f.sent(), this.cacheAccount(p), this.cacheNativeTokens(t, r, d, p, s, u.accessToken, u.tenantId, o), [2, u];
10945
+ return d = f.sent(), this.cacheAccount(p), this.cacheNativeTokens(t, r, u, p, s, d.accessToken, d.tenantId, o), [2, d];
10943
10946
  }
10944
10947
  });
10945
10948
  });
@@ -10979,11 +10982,11 @@ var Ot = (
10979
10982
  });
10980
10983
  }, e.prototype.generateAuthenticationResult = function(t, r, o, i, a, s) {
10981
10984
  return T(this, void 0, void 0, function() {
10982
- var d, p, u, f, _, k, E, N;
10985
+ var u, p, d, f, _, k, E, N;
10983
10986
  return I(this, function(Q) {
10984
10987
  switch (Q.label) {
10985
10988
  case 0:
10986
- 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)];
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)];
10987
10990
  case 1:
10988
10991
  return k = Q.sent(), E = r.tokenType === te.POP ? te.POP : te.BEARER, N = {
10989
10992
  authority: a,
@@ -10994,7 +10997,7 @@ var Ot = (
10994
10997
  idToken: t.id_token,
10995
10998
  idTokenClaims: o.claims,
10996
10999
  accessToken: k,
10997
- fromCache: d ? this.isResponseFromCache(d) : !1,
11000
+ fromCache: u ? this.isResponseFromCache(u) : !1,
10998
11001
  expiresOn: new Date(Number(s + t.expires_in) * 1e3),
10999
11002
  tokenType: E,
11000
11003
  correlationId: this.correlationId,
@@ -11009,8 +11012,8 @@ var Ot = (
11009
11012
  this.browserStorage.setAccount(t), this.browserStorage.removeAccountContext(t).catch(function(o) {
11010
11013
  r.logger.error("Error occurred while removing account context from browser storage. " + o);
11011
11014
  });
11012
- }, e.prototype.cacheNativeTokens = function(t, r, o, i, a, s, d, p) {
11013
- 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);
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);
11014
11017
  this.nativeStorageManager.saveCacheRecord(N);
11015
11018
  }, e.prototype.addTelemetryFromNativeResponse = function(t) {
11016
11019
  var r = this.getMATSFromResponse(t);
@@ -11047,7 +11050,7 @@ var Ot = (
11047
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;
11048
11051
  }, e.prototype.initializeNativeRequest = function(t) {
11049
11052
  return T(this, void 0, void 0, function() {
11050
- var r, o, i, a, s, d, p, u, f, _, k = this;
11053
+ var r, o, i, a, s, u, p, d, f, _, k = this;
11051
11054
  return I(this, function(E) {
11052
11055
  switch (E.label) {
11053
11056
  case 0:
@@ -11055,7 +11058,7 @@ var Ot = (
11055
11058
  case 1:
11056
11059
  E.sent(), E.label = 2;
11057
11060
  case 2:
11058
- return o = new W(r), o.validateAsUri(), i = t.scopes, a = br(t, ["scopes"]), s = new Ee(i || []), s.appendScopes(on), d = function() {
11061
+ return o = new W(r), o.validateAsUri(), i = t.scopes, a = br(t, ["scopes"]), s = new Ee(i || []), s.appendScopes(on), u = function() {
11059
11062
  switch (k.apiId) {
11060
11063
  case oe.ssoSilent:
11061
11064
  case oe.acquireTokenSilent_silentFlow:
@@ -11079,19 +11082,19 @@ var Ot = (
11079
11082
  authority: o.urlString,
11080
11083
  scope: s.printScopes(),
11081
11084
  redirectUri: this.getRedirectUri(t.redirectUri),
11082
- prompt: d(),
11085
+ prompt: u(),
11083
11086
  correlationId: this.correlationId,
11084
11087
  tokenType: t.authenticationScheme,
11085
11088
  windowTitleSubstring: document.title,
11086
11089
  extraParameters: B(B(B({}, t.extraQueryParameters), t.tokenQueryParameters), { telemetry: Gt.MATS_TELEMETRY }),
11087
11090
  extendedExpiryToken: !1
11088
11091
  // Make this configurable?
11089
- }), t.authenticationScheme !== te.POP ? [3, 4] : (u = {
11092
+ }), t.authenticationScheme !== te.POP ? [3, 4] : (d = {
11090
11093
  resourceRequestUri: t.resourceRequestUri,
11091
11094
  resourceRequestMethod: t.resourceRequestMethod,
11092
11095
  shrClaims: t.shrClaims,
11093
11096
  shrNonce: t.shrNonce
11094
- }, f = new Ut(this.browserCrypto), [4, f.generateCnf(u)]);
11097
+ }, f = new Ut(this.browserCrypto), [4, f.generateCnf(d)]);
11095
11098
  case 3:
11096
11099
  _ = E.sent(), p.reqCnf = _.reqCnfString, p.keyId = _.kid, E.label = 4;
11097
11100
  case 4:
@@ -11228,13 +11231,13 @@ var Yi = (
11228
11231
  /** @class */
11229
11232
  function(n) {
11230
11233
  be(e, n);
11231
- function e(t, r, o, i, a, s, d, p, u, f) {
11232
- var _ = n.call(this, t, r, o, i, a, s, d, u, f) || this;
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;
11233
11236
  return _.nativeStorage = p, _;
11234
11237
  }
11235
11238
  return e.prototype.acquireToken = function(t) {
11236
11239
  return T(this, void 0, void 0, function() {
11237
- var r, o, i, a, s, d, p, u, f, _ = this;
11240
+ var r, o, i, a, s, u, p, d, f, _ = this;
11238
11241
  return I(this, function(k) {
11239
11242
  switch (k.label) {
11240
11243
  case 0:
@@ -11248,12 +11251,12 @@ var Yi = (
11248
11251
  case 3:
11249
11252
  return a = k.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(o, r.authority, r.azureCloudOptions)];
11250
11253
  case 4:
11251
- 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) }))];
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) }))];
11252
11255
  case 5:
11253
- return p = k.sent(), u = this.getRedirectStartPage(t.redirectStartPage), this.logger.verbosePii("Redirect start page: " + u), window.addEventListener("pageshow", i), [4, d.initiateAuthRequest(p, {
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, {
11254
11257
  navigationClient: this.navigationClient,
11255
11258
  redirectTimeout: this.config.system.redirectNavigationTimeout,
11256
- redirectStartPage: u,
11259
+ redirectStartPage: d,
11257
11260
  onRedirectNavigate: t.onRedirectNavigate
11258
11261
  })];
11259
11262
  case 6:
@@ -11270,7 +11273,7 @@ var Yi = (
11270
11273
  });
11271
11274
  }, e.prototype.handleRedirectPromise = function(t) {
11272
11275
  return T(this, void 0, void 0, function() {
11273
- var r, o, i, a, s, d, p, u, f, _, k, E;
11276
+ var r, o, i, a, s, u, p, d, f, _, k, E;
11274
11277
  return I(this, function(N) {
11275
11278
  switch (N.label) {
11276
11279
  case 0:
@@ -11286,17 +11289,17 @@ var Yi = (
11286
11289
  } catch (Q) {
11287
11290
  return this.logger.info("handleRedirectPromise was unable to extract state due to: " + Q), this.browserStorage.cleanRequestByInteractionType(x.Redirect), [2, null];
11288
11291
  }
11289
- 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];
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];
11290
11293
  case 2:
11291
- return u = N.sent(), s.indexOf("#") > -1 && ue.replaceHash(s), [2, u];
11294
+ return d = N.sent(), s.indexOf("#") > -1 && de.replaceHash(s), [2, d];
11292
11295
  case 3:
11293
11296
  return this.config.auth.navigateToLoginRequestUrl ? [3, 4] : (this.logger.verbose("NavigateToLoginRequestUrl set to false, handling hash"), [2, this.handleHash(o, i, r)]);
11294
11297
  case 4:
11295
- return !ue.isInIframe() || this.config.system.allowRedirectInIframe ? (this.browserStorage.setTemporaryCache(J.URL_HASH, o, !0), f = {
11298
+ return !de.isInIframe() || this.config.system.allowRedirectInIframe ? (this.browserStorage.setTemporaryCache(J.URL_HASH, o, !0), f = {
11296
11299
  apiId: oe.handleRedirectPromise,
11297
11300
  timeout: this.config.system.redirectNavigationTimeout,
11298
11301
  noHistory: !0
11299
- }, _ = !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];
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];
11300
11303
  case 5:
11301
11304
  return _ = N.sent(), [3, 8];
11302
11305
  case 6:
@@ -11323,20 +11326,20 @@ var Yi = (
11323
11326
  this.logger.verbose("getRedirectResponseHash called");
11324
11327
  var r = W.hashContainsKnownProperties(t);
11325
11328
  if (r)
11326
- return ue.clearHash(window), this.logger.verbose("Hash contains known properties, returning response hash"), t;
11329
+ return de.clearHash(window), this.logger.verbose("Hash contains known properties, returning response hash"), t;
11327
11330
  var o = this.browserStorage.getTemporaryCache(J.URL_HASH, !0);
11328
11331
  return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(J.URL_HASH)), this.logger.verbose("Hash does not contain known properties, returning cached hash"), o;
11329
11332
  }, e.prototype.handleHash = function(t, r, o) {
11330
11333
  return T(this, void 0, void 0, function() {
11331
- var i, a, s, d, p, u, f, _ = this;
11334
+ var i, a, s, u, p, d, f, _ = this;
11332
11335
  return I(this, function(k) {
11333
11336
  switch (k.label) {
11334
11337
  case 0:
11335
11338
  if (i = this.browserStorage.getCachedRequest(r, this.browserCrypto), this.logger.verbose("handleHash called, retrieved cached request"), a = W.getDeserializedHash(t), a.accountId) {
11336
11339
  if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
11337
11340
  throw M.createNativeConnectionNotEstablishedError();
11338
- 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), {
11339
- state: d,
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,
11340
11343
  prompt: void 0
11341
11344
  // Server should handle the prompt, ideally native broker can do this part silently
11342
11345
  })).finally(function() {
@@ -11347,7 +11350,7 @@ var Yi = (
11347
11350
  throw M.createNoCachedAuthorityError();
11348
11351
  return this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, i.correlationId), [4, this.createAuthCodeClient(o, p)];
11349
11352
  case 1:
11350
- 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)];
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)];
11351
11354
  case 2:
11352
11355
  return [2, k.sent()];
11353
11356
  }
@@ -11355,41 +11358,41 @@ var Yi = (
11355
11358
  });
11356
11359
  }, e.prototype.logout = function(t) {
11357
11360
  return T(this, void 0, void 0, function() {
11358
- var r, o, i, a, s, d, p;
11359
- return I(this, function(u) {
11360
- switch (u.label) {
11361
+ var r, o, i, a, s, u, p;
11362
+ return I(this, function(d) {
11363
+ switch (d.label) {
11361
11364
  case 0:
11362
- this.logger.verbose("logoutRedirect called"), r = this.initializeLogoutRequest(t), o = this.initializeServerTelemetryManager(oe.logout), u.label = 1;
11365
+ this.logger.verbose("logoutRedirect called"), r = this.initializeLogoutRequest(t), o = this.initializeServerTelemetryManager(oe.logout), d.label = 1;
11363
11366
  case 1:
11364
- return u.trys.push([1, 10, , 11]), this.eventHandler.emitEvent(q.LOGOUT_START, x.Redirect, t), [4, this.clearCacheOnLogout(r.account)];
11367
+ return d.trys.push([1, 10, , 11]), this.eventHandler.emitEvent(q.LOGOUT_START, x.Redirect, t), [4, this.clearCacheOnLogout(r.account)];
11365
11368
  case 2:
11366
- return u.sent(), i = {
11369
+ return d.sent(), i = {
11367
11370
  apiId: oe.logout,
11368
11371
  timeout: this.config.system.redirectNavigationTimeout,
11369
11372
  noHistory: !1
11370
11373
  }, this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, r.correlationId), [4, this.createAuthCodeClient(o, t && t.authority)];
11371
11374
  case 3:
11372
- 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];
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];
11373
11376
  case 4:
11374
- return u.sent(), [
11377
+ return d.sent(), [
11375
11378
  2
11376
11379
  /*return*/
11377
11380
  ];
11378
11381
  case 5:
11379
- this.browserStorage.setInteractionInProgress(!1), this.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation"), u.label = 6;
11382
+ this.browserStorage.setInteractionInProgress(!1), this.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation"), d.label = 6;
11380
11383
  case 6:
11381
11384
  return [3, 9];
11382
11385
  case 7:
11383
11386
  return this.browserStorage.getInteractionInProgress() || this.browserStorage.setInteractionInProgress(!0), [4, this.navigationClient.navigateExternal(s, i)];
11384
11387
  case 8:
11385
- return u.sent(), [
11388
+ return d.sent(), [
11386
11389
  2
11387
11390
  /*return*/
11388
11391
  ];
11389
11392
  case 9:
11390
11393
  return [3, 11];
11391
11394
  case 10:
11392
- 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;
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;
11393
11396
  case 11:
11394
11397
  return this.eventHandler.emitEvent(q.LOGOUT_END, x.Redirect), [
11395
11398
  2
@@ -11400,7 +11403,7 @@ var Yi = (
11400
11403
  });
11401
11404
  }, e.prototype.getRedirectStartPage = function(t) {
11402
11405
  var r = t || window.location.href;
11403
- return W.getAbsoluteUrl(r, ue.getCurrentUri());
11406
+ return W.getAbsoluteUrl(r, de.getCurrentUri());
11404
11407
  }, e;
11405
11408
  }(Ft)
11406
11409
  );
@@ -11409,8 +11412,8 @@ var Wi = (
11409
11412
  /** @class */
11410
11413
  function(n) {
11411
11414
  be(e, n);
11412
- function e(t, r, o, i, a, s, d, p, u, f) {
11413
- var _ = n.call(this, t, r, o, i, a, s, d, u, f) || this;
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;
11414
11417
  return _.unloadWindow = _.unloadWindow.bind(_), _.nativeStorage = p, _;
11415
11418
  }
11416
11419
  return e.prototype.acquireToken = function(t) {
@@ -11431,14 +11434,14 @@ var Wi = (
11431
11434
  if (this.config.system.asyncPopups)
11432
11435
  return this.logger.verbose("asyncPopups set to true"), this.logoutPopupAsync(r, o, s, i, void 0, a);
11433
11436
  this.logger.verbose("asyncPopup set to false, opening popup");
11434
- var d = this.openSizedPopup("about:blank", o, s);
11435
- return this.logoutPopupAsync(r, o, s, i, d, a);
11437
+ var u = this.openSizedPopup("about:blank", o, s);
11438
+ return this.logoutPopupAsync(r, o, s, i, u, a);
11436
11439
  } catch (p) {
11437
11440
  return Promise.reject(p);
11438
11441
  }
11439
11442
  }, e.prototype.acquireTokenPopupAsync = function(t, r, o, i) {
11440
11443
  return T(this, void 0, void 0, function() {
11441
- var a, s, d, p, u, f, _, k, E, N, Q, X, G, $, Ae, xe, Ve, Ct = this;
11444
+ var a, s, u, p, d, f, _, k, E, N, Q, X, G, $, Ae, xe, Ve, Ct = this;
11442
11445
  return I(this, function(ce) {
11443
11446
  switch (ce.label) {
11444
11447
  case 0:
@@ -11448,17 +11451,17 @@ var Wi = (
11448
11451
  case 2:
11449
11452
  return ce.trys.push([2, 8, , 9]), this.performanceClient.setPreQueueTime(b.StandardInteractionClientInitializeAuthorizationCodeRequest, t.correlationId), [4, this.initializeAuthorizationCodeRequest(s)];
11450
11453
  case 3:
11451
- return d = ce.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(a, s.authority, s.azureCloudOptions)];
11454
+ return u = ce.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(a, s.authority, s.azureCloudOptions)];
11452
11455
  case 4:
11453
- 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 }))];
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 }))];
11454
11457
  case 5:
11455
- return _ = ce.sent(), k = new or(p, this.browserStorage, d, this.logger, this.performanceClient), E = {
11458
+ return _ = ce.sent(), k = new or(p, this.browserStorage, u, this.logger, this.performanceClient), E = {
11456
11459
  popup: i,
11457
11460
  popupName: r,
11458
11461
  popupWindowAttributes: o
11459
11462
  }, N = this.initiateAuthRequest(_, E), this.eventHandler.emitEvent(q.POPUP_OPENED, x.Popup, { popupWindow: N }, null), [4, this.monitorPopupForHash(N)];
11460
11463
  case 6:
11461
- 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) {
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) {
11462
11465
  if (this.logger.verbose("Account id found in hash, calling WAM for token"), f && f.endMeasurement({
11463
11466
  success: !0,
11464
11467
  isNativeBroker: !0
@@ -11487,25 +11490,25 @@ var Wi = (
11487
11490
  });
11488
11491
  }, e.prototype.logoutPopupAsync = function(t, r, o, i, a, s) {
11489
11492
  return T(this, void 0, void 0, function() {
11490
- var d, p, u, f, _, k, E;
11493
+ var u, p, d, f, _, k, E;
11491
11494
  return I(this, function(N) {
11492
11495
  switch (N.label) {
11493
11496
  case 0:
11494
- this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(q.LOGOUT_START, x.Popup, t), d = this.initializeServerTelemetryManager(oe.logoutPopup), N.label = 1;
11497
+ this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(q.LOGOUT_START, x.Popup, t), u = this.initializeServerTelemetryManager(oe.logoutPopup), N.label = 1;
11495
11498
  case 1:
11496
11499
  return N.trys.push([1, 5, , 6]), [4, this.clearCacheOnLogout(t.account)];
11497
11500
  case 2:
11498
- return N.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(d, i)];
11501
+ return N.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(u, i)];
11499
11502
  case 3:
11500
- 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)];
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)];
11501
11504
  case 4:
11502
11505
  return N.sent(), s ? (_ = {
11503
11506
  apiId: oe.logoutPopup,
11504
11507
  timeout: this.config.system.redirectNavigationTimeout,
11505
11508
  noHistory: !1
11506
- }, 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];
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];
11507
11510
  case 5:
11508
- 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;
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;
11509
11512
  case 6:
11510
11513
  return this.eventHandler.emitEvent(q.LOGOUT_END, x.Popup), [
11511
11514
  2
@@ -11523,17 +11526,17 @@ var Wi = (
11523
11526
  return new Promise(function(o, i) {
11524
11527
  var a = r.config.system.windowHashTimeout / r.config.system.pollIntervalMilliseconds, s = 0;
11525
11528
  r.logger.verbose("PopupHandler.monitorPopupForHash - polling started");
11526
- var d = setInterval(function() {
11529
+ var u = setInterval(function() {
11527
11530
  if (t.closed) {
11528
- r.logger.error("PopupHandler.monitorPopupForHash - window closed"), r.cleanPopup(), clearInterval(d), i(M.createUserCancelledError());
11531
+ r.logger.error("PopupHandler.monitorPopupForHash - window closed"), r.cleanPopup(), clearInterval(u), i(M.createUserCancelledError());
11529
11532
  return;
11530
11533
  }
11531
- var p = g.EMPTY_STRING, u = g.EMPTY_STRING;
11534
+ var p = g.EMPTY_STRING, d = g.EMPTY_STRING;
11532
11535
  try {
11533
- p = t.location.href, u = t.location.hash;
11536
+ p = t.location.href, d = t.location.hash;
11534
11537
  } catch {
11535
11538
  }
11536
- 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())));
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())));
11537
11540
  }, r.config.system.pollIntervalMilliseconds);
11538
11541
  });
11539
11542
  }, e.prototype.waitForLogoutPopup = function(t) {
@@ -11560,8 +11563,8 @@ var Wi = (
11560
11563
  throw this.logger.error("error opening popup " + i.message), this.browserStorage.setInteractionInProgress(!1), M.createPopupWindowError(i.toString());
11561
11564
  }
11562
11565
  }, e.prototype.openSizedPopup = function(t, r, o) {
11563
- 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;
11564
- 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");
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");
11565
11568
  }, e.prototype.unloadWindow = function(t) {
11566
11569
  this.browserStorage.cleanRequestByInteractionType(x.Popup), this.currentWindow && this.currentWindow.close(), t.preventDefault();
11567
11570
  }, e.prototype.cleanPopup = function(t) {
@@ -11620,21 +11623,21 @@ function ea(n, e) {
11620
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
11621
11624
  cacheMigrationEnabled: !!(r && r.cacheLocation === pe.LocalStorage),
11622
11625
  claimsBasedCachingEnabled: !0
11623
- }, d = {
11626
+ }, u = {
11624
11627
  // eslint-disable-next-line @typescript-eslint/no-empty-function
11625
11628
  loggerCallback: function() {
11626
11629
  },
11627
11630
  logLevel: ve.Info,
11628
11631
  piiLoggingEnabled: !1
11629
11632
  }, p = B(B({}, no), {
11630
- loggerOptions: d,
11631
- networkClient: e ? ue.getBrowserNetworkClient() : Di,
11633
+ loggerOptions: u,
11634
+ networkClient: e ? de.getBrowserNetworkClient() : Di,
11632
11635
  navigationClient: new $i(),
11633
11636
  loadFrameTimeout: 0,
11634
11637
  // If loadFrameTimeout is provided, use that as default.
11635
11638
  windowHashTimeout: (o == null ? void 0 : o.loadFrameTimeout) || Ji,
11636
11639
  iframeHashTimeout: (o == null ? void 0 : o.loadFrameTimeout) || Jn,
11637
- navigateFrameWait: e && ue.detectIEOrEdge() ? 500 : 0,
11640
+ navigateFrameWait: e && de.detectIEOrEdge() ? 500 : 0,
11638
11641
  redirectNavigationTimeout: Xi,
11639
11642
  asyncPopups: !1,
11640
11643
  allowRedirectInIframe: !1,
@@ -11645,7 +11648,7 @@ function ea(n, e) {
11645
11648
  useMsrCrypto: !1,
11646
11649
  entropy: void 0
11647
11650
  }
11648
- }), u = B(B({}, o), { loggerOptions: (o == null ? void 0 : o.loggerOptions) || d }), f = {
11651
+ }), d = B(B({}, o), { loggerOptions: (o == null ? void 0 : o.loggerOptions) || u }), f = {
11649
11652
  application: {
11650
11653
  appName: g.EMPTY_STRING,
11651
11654
  appVersion: g.EMPTY_STRING
@@ -11653,7 +11656,7 @@ function ea(n, e) {
11653
11656
  }, _ = {
11654
11657
  auth: B(B({}, a), t),
11655
11658
  cache: B(B({}, s), r),
11656
- system: B(B({}, p), u),
11659
+ system: B(B({}, p), d),
11657
11660
  telemetry: B(B({}, f), i)
11658
11661
  };
11659
11662
  return _;
@@ -11664,8 +11667,8 @@ var uo = (
11664
11667
  function(n) {
11665
11668
  be(e, n);
11666
11669
  function e(t, r, o, i, a, s) {
11667
- var d = n.call(this, t, r, o, i, s) || this;
11668
- return d.navigateFrameWait = a.navigateFrameWait, d.pollIntervalMilliseconds = a.pollIntervalMilliseconds, d;
11670
+ var u = n.call(this, t, r, o, i, s) || this;
11671
+ return u.navigateFrameWait = a.navigateFrameWait, u.pollIntervalMilliseconds = a.pollIntervalMilliseconds, u;
11669
11672
  }
11670
11673
  return e.prototype.initiateAuthRequest = function(t) {
11671
11674
  return T(this, void 0, void 0, function() {
@@ -11686,17 +11689,17 @@ var uo = (
11686
11689
  var o = this;
11687
11690
  return this.performanceClient.addQueueMeasurement(b.SilentHandlerMonitorIframeForHash, this.authCodeRequest.correlationId), new Promise(function(i, a) {
11688
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.");
11689
- var s = window.performance.now(), d = s + r, p = setInterval(function() {
11690
- if (window.performance.now() > d) {
11692
+ var s = window.performance.now(), u = s + r, p = setInterval(function() {
11693
+ if (window.performance.now() > u) {
11691
11694
  o.removeHiddenIframe(t), clearInterval(p), a(M.createMonitorIframeTimeoutError());
11692
11695
  return;
11693
11696
  }
11694
- var u = g.EMPTY_STRING, f = t.contentWindow;
11697
+ var d = g.EMPTY_STRING, f = t.contentWindow;
11695
11698
  try {
11696
- u = f ? f.location.href : g.EMPTY_STRING;
11699
+ d = f ? f.location.href : g.EMPTY_STRING;
11697
11700
  } catch {
11698
11701
  }
11699
- if (!L.isEmpty(u)) {
11702
+ if (!L.isEmpty(d)) {
11700
11703
  var _ = f ? f.location.hash : g.EMPTY_STRING;
11701
11704
  if (W.hashContainsKnownProperties(_)) {
11702
11705
  o.removeHiddenIframe(t), clearInterval(p), i(_);
@@ -11733,15 +11736,15 @@ var ta = (
11733
11736
  /** @class */
11734
11737
  function(n) {
11735
11738
  be(e, n);
11736
- function e(t, r, o, i, a, s, d, p, u, f, _) {
11739
+ function e(t, r, o, i, a, s, u, p, d, f, _) {
11737
11740
  var k = n.call(this, t, r, o, i, a, s, p, f, _) || this;
11738
- return k.apiId = d, k.nativeStorage = u, k;
11741
+ return k.apiId = u, k.nativeStorage = d, k;
11739
11742
  }
11740
11743
  return e.prototype.acquireToken = function(t) {
11741
11744
  return T(this, void 0, void 0, function() {
11742
11745
  var r, o, i, a, s;
11743
- return I(this, function(d) {
11744
- switch (d.label) {
11746
+ return I(this, function(u) {
11747
+ switch (u.label) {
11745
11748
  case 0:
11746
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)
11747
11750
  throw r.endMeasurement({
@@ -11749,11 +11752,11 @@ var ta = (
11749
11752
  }), M.createSilentPromptValueError(t.prompt);
11750
11753
  return this.performanceClient.setPreQueueTime(b.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(B(B({}, t), { prompt: t.prompt || Te.NONE }), x.Silent)];
11751
11754
  case 1:
11752
- 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;
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;
11753
11756
  case 2:
11754
- return d.trys.push([2, 5, , 6]), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(i, o.authority, o.azureCloudOptions)];
11757
+ return u.trys.push([2, 5, , 6]), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(i, o.authority, o.azureCloudOptions)];
11755
11758
  case 3:
11756
- 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) {
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) {
11757
11760
  return r.endMeasurement({
11758
11761
  success: !0,
11759
11762
  fromCache: !1,
@@ -11761,9 +11764,9 @@ var ta = (
11761
11764
  }), p;
11762
11765
  })];
11763
11766
  case 4:
11764
- return [2, d.sent()];
11767
+ return [2, u.sent()];
11765
11768
  case 5:
11766
- throw s = d.sent(), s instanceof D && s.setCorrelationId(this.correlationId), i.cacheFailedRequest(s), this.browserStorage.cleanRequestByState(o.state), r.endMeasurement({
11769
+ throw s = u.sent(), s instanceof D && s.setCorrelationId(this.correlationId), i.cacheFailedRequest(s), this.browserStorage.cleanRequestByState(o.state), r.endMeasurement({
11767
11770
  errorCode: s instanceof D && s.errorCode || void 0,
11768
11771
  subErrorCode: s instanceof D && s.subError || void 0,
11769
11772
  success: !1
@@ -11780,7 +11783,7 @@ var ta = (
11780
11783
  return Promise.reject(M.createSilentLogoutUnsupportedError());
11781
11784
  }, e.prototype.silentTokenHelper = function(t, r) {
11782
11785
  return T(this, void 0, void 0, function() {
11783
- var o, i, a, s, d, p, u, f, _, k = this;
11786
+ var o, i, a, s, u, p, d, f, _, k = this;
11784
11787
  return I(this, function(E) {
11785
11788
  switch (E.label) {
11786
11789
  case 0:
@@ -11792,14 +11795,14 @@ var ta = (
11792
11795
  case 3:
11793
11796
  return s = E.sent(), this.performanceClient.setPreQueueTime(b.SilentHandlerMonitorIframeForHash, r.correlationId), [4, a.monitorIframeForHash(s, this.config.system.iframeHashTimeout)];
11794
11797
  case 4:
11795
- if (d = E.sent(), p = W.getDeserializedHash(d), u = this.validateAndExtractStateFromHash(p, x.Silent, o.correlationId), p.accountId) {
11798
+ if (u = E.sent(), p = W.getDeserializedHash(u), d = this.validateAndExtractStateFromHash(p, x.Silent, o.correlationId), p.accountId) {
11796
11799
  if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
11797
11800
  throw M.createNativeConnectionNotEstablishedError();
11798
- 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() {
11799
- k.browserStorage.cleanRequestByState(u);
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);
11800
11803
  })];
11801
11804
  }
11802
- return this.performanceClient.setPreQueueTime(b.HandleCodeResponseFromHash, r.correlationId), [2, a.handleCodeResponseFromHash(d, u, t.authority, this.networkClient)];
11805
+ return this.performanceClient.setPreQueueTime(b.HandleCodeResponseFromHash, r.correlationId), [2, a.handleCodeResponseFromHash(u, d, t.authority, this.networkClient)];
11803
11806
  }
11804
11807
  });
11805
11808
  });
@@ -11816,7 +11819,7 @@ var na = (
11816
11819
  }
11817
11820
  return e.prototype.acquireToken = function(t) {
11818
11821
  return T(this, void 0, void 0, function() {
11819
- var r, o, i, a, s, d = this;
11822
+ var r, o, i, a, s, u = this;
11820
11823
  return I(this, function(p) {
11821
11824
  switch (p.label) {
11822
11825
  case 0:
@@ -11824,18 +11827,18 @@ var na = (
11824
11827
  case 1:
11825
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)];
11826
11829
  case 2:
11827
- 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) {
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) {
11828
11831
  return i.endMeasurement({
11829
11832
  success: !0,
11830
- fromCache: u.fromCache,
11831
- requestId: u.requestId
11832
- }), u;
11833
- }).catch(function(u) {
11834
- throw u instanceof D && u.setCorrelationId(d.correlationId), a.cacheFailedRequest(u), i.endMeasurement({
11835
- errorCode: u.errorCode,
11836
- subErrorCode: u.subError,
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,
11837
11840
  success: !1
11838
- }), u;
11841
+ }), d;
11839
11842
  })];
11840
11843
  }
11841
11844
  });
@@ -11886,8 +11889,8 @@ var ra = (
11886
11889
  error: o || null,
11887
11890
  timestamp: Date.now()
11888
11891
  };
11889
- this.logger.info("Emitting event: " + e), this.eventCallbacks.forEach(function(s, d) {
11890
- i.logger.verbose("Emitting event to callback " + d + ": " + e), s.apply(null, [a]);
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]);
11891
11894
  });
11892
11895
  }
11893
11896
  }, n.prototype.handleAccountCacheChange = function(e) {
@@ -11950,8 +11953,8 @@ var ct = (
11950
11953
  return n.stringToUtf8Arr = function(e) {
11951
11954
  for (var t, r = 0, o = e.length, i = 0; i < o; i++)
11952
11955
  t = e.charCodeAt(i), r += t < 128 ? 1 : t < 2048 ? 2 : t < 65536 ? 3 : t < 2097152 ? 4 : t < 67108864 ? 5 : 6;
11953
- for (var a = new Uint8Array(r), s = 0, d = 0; s < r; d++)
11954
- 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));
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));
11955
11958
  return a;
11956
11959
  }, n.stringToArrayBuffer = function(e) {
11957
11960
  for (var t = new ArrayBuffer(e.length), r = new Uint8Array(t), o = 0; o < e.length; o++)
@@ -12031,10 +12034,10 @@ var oa = (
12031
12034
  var r = this.base64DecToArr(t);
12032
12035
  return ct.utf8ArrToString(r);
12033
12036
  }, n.prototype.base64DecToArr = function(e, t) {
12034
- 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++)
12035
- if (d = f & 3, p |= this.b64ToUint6(r.charCodeAt(f)) << 18 - 6 * d, d === 3 || o - f === 1) {
12036
- for (s = 0; s < 3 && u < i; s++, u++)
12037
- a[u] = 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, 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;
12038
12041
  p = 0;
12039
12042
  }
12040
12043
  return a;
@@ -12193,10 +12196,10 @@ var la = (
12193
12196
  return I(this, function(o) {
12194
12197
  return [2, new Promise(function(i, a) {
12195
12198
  var s = window.msCrypto.subtle.generateKey(e, t, r);
12196
- s.addEventListener("complete", function(d) {
12197
- i(d.target.result);
12198
- }), s.addEventListener("error", function(d) {
12199
- a(d);
12199
+ s.addEventListener("complete", function(u) {
12200
+ i(u.target.result);
12201
+ }), s.addEventListener("error", function(u) {
12202
+ a(u);
12200
12203
  });
12201
12204
  })];
12202
12205
  });
@@ -12207,9 +12210,9 @@ var la = (
12207
12210
  return [2, new Promise(function(r, o) {
12208
12211
  var i = window.msCrypto.subtle.exportKey(xt, e);
12209
12212
  i.addEventListener("complete", function(a) {
12210
- 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);
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);
12211
12214
  try {
12212
- r(JSON.parse(d));
12215
+ r(JSON.parse(u));
12213
12216
  } catch (p) {
12214
12217
  o(p);
12215
12218
  }
@@ -12223,11 +12226,11 @@ var la = (
12223
12226
  return T(this, void 0, void 0, function() {
12224
12227
  var i, a;
12225
12228
  return I(this, function(s) {
12226
- return i = ct.getSortedObjectString(e), a = ct.stringToArrayBuffer(i), [2, new Promise(function(d, p) {
12227
- var u = window.msCrypto.subtle.importKey(xt, a, t, r, o);
12228
- u.addEventListener("complete", function(f) {
12229
- d(f.target.result);
12230
- }), u.addEventListener("error", function(f) {
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) {
12231
12234
  p(f);
12232
12235
  });
12233
12236
  })];
@@ -12238,10 +12241,10 @@ var la = (
12238
12241
  return I(this, function(o) {
12239
12242
  return [2, new Promise(function(i, a) {
12240
12243
  var s = window.msCrypto.subtle.sign(e, t, r);
12241
- s.addEventListener("complete", function(d) {
12242
- i(d.target.result);
12243
- }), s.addEventListener("error", function(d) {
12244
- a(d);
12244
+ s.addEventListener("complete", function(u) {
12245
+ i(u.target.result);
12246
+ }), s.addEventListener("error", function(u) {
12247
+ a(u);
12245
12248
  });
12246
12249
  })];
12247
12250
  });
@@ -12263,7 +12266,7 @@ var la = (
12263
12266
  }()
12264
12267
  );
12265
12268
  /*! @azure/msal-browser v2.38.3 2023-10-27 */
12266
- var da = "RSASSA-PKCS1-v1_5", xr = "SHA-256", ua = 2048, pa = new Uint8Array([1, 0, 1]), mo = (
12269
+ var ua = "RSASSA-PKCS1-v1_5", xr = "SHA-256", da = 2048, pa = new Uint8Array([1, 0, 1]), mo = (
12267
12270
  /** @class */
12268
12271
  function() {
12269
12272
  function n(e, t) {
@@ -12282,9 +12285,9 @@ var da = "RSASSA-PKCS1-v1_5", xr = "SHA-256", ua = 2048, pa = new Uint8Array([1,
12282
12285
  this.logger.verbose("BrowserCrypto: Entropy provided"), this.subtleCrypto.initPrng(this.cryptoOptions.entropy);
12283
12286
  }
12284
12287
  this.keygenAlgorithmOptions = {
12285
- name: da,
12288
+ name: ua,
12286
12289
  hash: xr,
12287
- modulusLength: ua,
12290
+ modulusLength: da,
12288
12291
  publicExponent: pa
12289
12292
  };
12290
12293
  }
@@ -12385,11 +12388,11 @@ var ha = (
12385
12388
  return r.sent(), [2, new Promise(function(o, i) {
12386
12389
  if (!t.db)
12387
12390
  return i(M.createDatabaseNotOpenError());
12388
- var a = t.db.transaction([t.tableName], "readonly"), s = a.objectStore(t.tableName), d = s.get(e);
12389
- d.addEventListener("success", function(p) {
12390
- var u = p;
12391
- t.closeConnection(), o(u.target.result);
12392
- }), d.addEventListener("error", function(p) {
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) {
12393
12396
  t.closeConnection(), i(p);
12394
12397
  });
12395
12398
  })];
@@ -12407,11 +12410,11 @@ var ha = (
12407
12410
  return o.sent(), [2, new Promise(function(i, a) {
12408
12411
  if (!r.db)
12409
12412
  return a(M.createDatabaseNotOpenError());
12410
- var s = r.db.transaction([r.tableName], "readwrite"), d = s.objectStore(r.tableName), p = d.put(t, e);
12413
+ var s = r.db.transaction([r.tableName], "readwrite"), u = s.objectStore(r.tableName), p = u.put(t, e);
12411
12414
  p.addEventListener("success", function() {
12412
12415
  r.closeConnection(), i();
12413
- }), p.addEventListener("error", function(u) {
12414
- r.closeConnection(), a(u);
12416
+ }), p.addEventListener("error", function(d) {
12417
+ r.closeConnection(), a(d);
12415
12418
  });
12416
12419
  })];
12417
12420
  }
@@ -12428,10 +12431,10 @@ var ha = (
12428
12431
  return r.sent(), [2, new Promise(function(o, i) {
12429
12432
  if (!t.db)
12430
12433
  return i(M.createDatabaseNotOpenError());
12431
- var a = t.db.transaction([t.tableName], "readwrite"), s = a.objectStore(t.tableName), d = s.delete(e);
12432
- d.addEventListener("success", function() {
12434
+ var a = t.db.transaction([t.tableName], "readwrite"), s = a.objectStore(t.tableName), u = s.delete(e);
12435
+ u.addEventListener("success", function() {
12433
12436
  t.closeConnection(), o();
12434
- }), d.addEventListener("error", function(p) {
12437
+ }), u.addEventListener("error", function(p) {
12435
12438
  t.closeConnection(), i(p);
12436
12439
  });
12437
12440
  })];
@@ -12450,11 +12453,11 @@ var ha = (
12450
12453
  if (!e.db)
12451
12454
  return o(M.createDatabaseNotOpenError());
12452
12455
  var i = e.db.transaction([e.tableName], "readonly"), a = i.objectStore(e.tableName), s = a.getAllKeys();
12453
- s.addEventListener("success", function(d) {
12454
- var p = d;
12456
+ s.addEventListener("success", function(u) {
12457
+ var p = u;
12455
12458
  e.closeConnection(), r(p.target.result);
12456
- }), s.addEventListener("error", function(d) {
12457
- e.closeConnection(), o(d);
12459
+ }), s.addEventListener("error", function(u) {
12460
+ e.closeConnection(), o(u);
12458
12461
  });
12459
12462
  })];
12460
12463
  }
@@ -12471,11 +12474,11 @@ var ha = (
12471
12474
  return r.sent(), [2, new Promise(function(o, i) {
12472
12475
  if (!t.db)
12473
12476
  return i(M.createDatabaseNotOpenError());
12474
- var a = t.db.transaction([t.tableName], "readonly"), s = a.objectStore(t.tableName), d = s.count(e);
12475
- d.addEventListener("success", function(p) {
12476
- var u = p;
12477
- t.closeConnection(), o(u.target.result === 1);
12478
- }), d.addEventListener("error", function(p) {
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) {
12479
12482
  t.closeConnection(), i(p);
12480
12483
  });
12481
12484
  })];
@@ -12695,7 +12698,7 @@ var fa = (
12695
12698
  }, n.prototype.getPublicKeyThumbprint = function(e) {
12696
12699
  var t;
12697
12700
  return T(this, void 0, void 0, function() {
12698
- var r, o, i, a, s, d, p, u;
12701
+ var r, o, i, a, s, u, p, d;
12699
12702
  return I(this, function(f) {
12700
12703
  switch (f.label) {
12701
12704
  case 0:
@@ -12709,12 +12712,12 @@ var fa = (
12709
12712
  n: i.n
12710
12713
  }, s = ct.getSortedObjectString(a), [4, this.hashString(s)];
12711
12714
  case 3:
12712
- return d = f.sent(), [4, this.browserCrypto.exportJwk(o.privateKey)];
12715
+ return u = f.sent(), [4, this.browserCrypto.exportJwk(o.privateKey)];
12713
12716
  case 4:
12714
12717
  return p = f.sent(), [4, this.browserCrypto.importJwk(p, !1, ["sign"])];
12715
12718
  case 5:
12716
- return u = f.sent(), [4, this.cache.asymmetricKeys.setItem(d, {
12717
- privateKey: u,
12719
+ return d = f.sent(), [4, this.cache.asymmetricKeys.setItem(u, {
12720
+ privateKey: d,
12718
12721
  publicKey: o.publicKey,
12719
12722
  requestMethod: e.resourceRequestMethod,
12720
12723
  requestUri: e.resourceRequestUri
@@ -12722,7 +12725,7 @@ var fa = (
12722
12725
  case 6:
12723
12726
  return f.sent(), r && r.endMeasurement({
12724
12727
  success: !0
12725
- }), [2, d];
12728
+ }), [2, u];
12726
12729
  }
12727
12730
  });
12728
12731
  });
@@ -12754,7 +12757,7 @@ var fa = (
12754
12757
  }, n.prototype.signJwt = function(e, t, r) {
12755
12758
  var o;
12756
12759
  return T(this, void 0, void 0, function() {
12757
- var i, a, s, d, p, u, f, _, k, E, N, Q, X;
12760
+ var i, a, s, u, p, d, f, _, k, E, N, Q, X;
12758
12761
  return I(this, function(G) {
12759
12762
  switch (G.label) {
12760
12763
  case 0:
@@ -12764,8 +12767,8 @@ var fa = (
12764
12767
  throw M.createSigningKeyNotFoundInStorageError(t);
12765
12768
  return [4, this.browserCrypto.exportJwk(a.publicKey)];
12766
12769
  case 2:
12767
- 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 = {
12768
- jwk: JSON.parse(d)
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)
12769
12772
  }, _ = this.b64Encode.urlEncode(JSON.stringify(e)), k = f + "." + _, E = ct.stringToArrayBuffer(k), [4, this.browserCrypto.sign(a.privateKey, E)];
12770
12773
  case 3:
12771
12774
  return N = G.sent(), Q = this.b64Encode.urlEncodeArr(new Uint8Array(N)), X = k + "." + Q, i && i.endMeasurement({
@@ -12844,9 +12847,9 @@ var ga = (
12844
12847
  /** @class */
12845
12848
  function(n) {
12846
12849
  be(e, n);
12847
- function e(t, r, o, i, a, s, d) {
12850
+ function e(t, r, o, i, a, s, u) {
12848
12851
  var p = n.call(this, t, r, o, i, a, s) || this;
12849
- return p.browserCrypto = new mo(p.logger, d), p.guidGenerator = new po(p.browserCrypto), p;
12852
+ return p.browserCrypto = new mo(p.logger, u), p.guidGenerator = new po(p.browserCrypto), p;
12850
12853
  }
12851
12854
  return e.prototype.startPerformanceMeasuremeant = function(t, r) {
12852
12855
  return new Dr(t, r);
@@ -12865,8 +12868,8 @@ var ga = (
12865
12868
  }, e.prototype.startMeasurement = function(t, r) {
12866
12869
  var o = this, i = this.getPageVisibility(), a = n.prototype.startMeasurement.call(this, t, r);
12867
12870
  return B(B({}, a), { endMeasurement: function(s) {
12868
- var d = a.endMeasurement(B({ startPageVisibility: i, endPageVisibility: o.getPageVisibility() }, s));
12869
- return o.deleteIncompleteSubMeasurements(a), d;
12871
+ var u = a.endMeasurement(B({ startPageVisibility: i, endPageVisibility: o.getPageVisibility() }, s));
12872
+ return o.deleteIncompleteSubMeasurements(a), u;
12870
12873
  }, discardMeasurement: function() {
12871
12874
  a.discardMeasurement(), o.deleteIncompleteSubMeasurements(a), a.measurement.flushMeasurement();
12872
12875
  } });
@@ -12892,8 +12895,8 @@ var ga = (
12892
12895
  }
12893
12896
  var a = n.prototype.getPreQueueTime.call(this, t, r);
12894
12897
  if (a) {
12895
- var s = window.performance.now(), d = o || n.prototype.calculateQueuedTime.call(this, a, s);
12896
- return n.prototype.addQueueMeasurement.call(this, t, r, d, i);
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);
12897
12900
  }
12898
12901
  }, e;
12899
12902
  }(ao)
@@ -12913,14 +12916,14 @@ var _a = (
12913
12916
  var s = this.loadAccount(o, e.account.environment, void 0, void 0, e.account.homeAccountId);
12914
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));
12915
12918
  } else if (e.authority) {
12916
- var d = rn.generateAuthority(e.authority, e.azureCloudOptions), p = {
12919
+ var u = rn.generateAuthority(e.authority, e.azureCloudOptions), p = {
12917
12920
  protocolMode: this.config.auth.protocolMode,
12918
12921
  knownAuthorities: this.config.auth.knownAuthorities,
12919
12922
  cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
12920
12923
  authorityMetadata: this.config.auth.authorityMetadata,
12921
12924
  skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache
12922
12925
  };
12923
- if (a = new rn(d, this.config.system.networkClient, this.storage, p, this.logger), r.clientInfo) {
12926
+ if (a = new rn(u, this.config.system.networkClient, this.storage, p, this.logger), r.clientInfo) {
12924
12927
  this.logger.trace("TokenCache - homeAccountId from options");
12925
12928
  var s = this.loadAccount(o, a.hostnameAndPort, r.clientInfo, a.authorityType);
12926
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));
@@ -12953,9 +12956,9 @@ var _a = (
12953
12956
  throw M.createUnableToLoadTokenError("Please ensure server response includes expires_in value.");
12954
12957
  if (!a.extendedExpiresOn)
12955
12958
  throw M.createUnableToLoadTokenError("Please provide an extendedExpiresOn value in the options.");
12956
- 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);
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);
12957
12960
  if (this.isBrowserEnvironment)
12958
- return this.logger.verbose("TokenCache - loading access token"), this.storage.setAccessTokenCredential(u), u;
12961
+ return this.logger.verbose("TokenCache - loading access token"), this.storage.setAccessTokenCredential(d), d;
12959
12962
  throw M.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.");
12960
12963
  }, n.prototype.loadRefreshToken = function(e, t, r, o) {
12961
12964
  if (!t.refresh_token)
@@ -12965,8 +12968,8 @@ var _a = (
12965
12968
  return this.logger.verbose("TokenCache - loading refresh token"), this.storage.setRefreshTokenCredential(i), i;
12966
12969
  throw M.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.");
12967
12970
  }, n.prototype.generateAuthenticationResult = function(e, t, r, o) {
12968
- var i, a, s, d = g.EMPTY_STRING, p = [], u = null, f;
12969
- 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));
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));
12970
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;
12971
12974
  return {
12972
12975
  authority: o ? o.canonicalAuthority : g.EMPTY_STRING,
@@ -12976,9 +12979,9 @@ var _a = (
12976
12979
  account: r != null && r.account ? r.account.getAccountInfo() : null,
12977
12980
  idToken: t ? t.rawToken : g.EMPTY_STRING,
12978
12981
  idTokenClaims: t ? t.claims : {},
12979
- accessToken: d,
12982
+ accessToken: u,
12980
12983
  fromCache: !0,
12981
- expiresOn: u,
12984
+ expiresOn: d,
12982
12985
  correlationId: e.correlationId || g.EMPTY_STRING,
12983
12986
  requestId: g.EMPTY_STRING,
12984
12987
  extExpiresOn: f,
@@ -13010,32 +13013,32 @@ var ya = (
13010
13013
  /** @class */
13011
13014
  function(n) {
13012
13015
  be(e, n);
13013
- function e(t, r, o, i, a, s, d, p, u, f) {
13014
- var _ = n.call(this, t, r, o, i, a, s, p, u, f) || this;
13015
- return _.apiId = d, _;
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
13019
  }
13017
13020
  return e.prototype.acquireToken = function(t) {
13018
13021
  return T(this, void 0, void 0, function() {
13019
- var r, o, i, a, s, d, p;
13020
- return I(this, function(u) {
13021
- switch (u.label) {
13022
+ var r, o, i, a, s, u, p;
13023
+ return I(this, function(d) {
13024
+ switch (d.label) {
13022
13025
  case 0:
13023
13026
  if (this.logger.trace("SilentAuthCodeClient.acquireToken called"), !t.code)
13024
13027
  throw M.createAuthCodeRequiredError();
13025
13028
  return this.performanceClient.setPreQueueTime(b.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(t, x.Silent)];
13026
13029
  case 1:
13027
- 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;
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;
13028
13031
  case 2:
13029
- 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)];
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)];
13030
13033
  case 3:
13031
- 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({
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({
13032
13035
  code: t.code,
13033
13036
  msgraph_host: t.msGraphHost,
13034
13037
  cloud_graph_host_name: t.cloudGraphHostName,
13035
13038
  cloud_instance_host_name: t.cloudInstanceHostName
13036
13039
  }, r.state, s.authority, this.networkClient, !1)];
13037
13040
  case 4:
13038
- throw p = u.sent(), p instanceof D && p.setCorrelationId(this.correlationId), o.cacheFailedRequest(p), this.browserStorage.cleanRequestByState(r.state), p;
13041
+ throw p = d.sent(), p instanceof D && p.setCorrelationId(this.correlationId), o.cacheFailedRequest(p), this.browserStorage.cleanRequestByState(r.state), p;
13039
13042
  case 5:
13040
13043
  return [
13041
13044
  2
@@ -13099,32 +13102,32 @@ var ka = (
13099
13102
  });
13100
13103
  }, n.prototype.handleRedirectPromise = function(e) {
13101
13104
  return T(this, void 0, void 0, function() {
13102
- var t, r, o, i, a, s, d, p, u = this;
13105
+ var t, r, o, i, a, s, u, p, d = this;
13103
13106
  return I(this, function(f) {
13104
- 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(_) {
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(_) {
13105
13108
  if (_) {
13106
- var k = t.length < u.getAllAccounts().length;
13107
- 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"));
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"));
13108
13111
  }
13109
- return u.eventHandler.emitEvent(q.HANDLE_REDIRECT_END, x.Redirect), _;
13112
+ return d.eventHandler.emitEvent(q.HANDLE_REDIRECT_END, x.Redirect), _;
13110
13113
  }).catch(function(_) {
13111
- 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), _;
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), _;
13112
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]);
13113
13116
  });
13114
13117
  });
13115
13118
  }, n.prototype.acquireTokenRedirect = function(e) {
13116
13119
  return T(this, void 0, void 0, function() {
13117
13120
  var t, r, o, i, a, s = this;
13118
- return I(this, function(d) {
13121
+ return I(this, function(u) {
13119
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) {
13120
13123
  if (p instanceof tt && p.isFatal()) {
13121
13124
  s.nativeExtensionProvider = void 0;
13122
- var u = s.createRedirectClient(e.correlationId);
13123
- return u.acquireToken(e);
13125
+ var d = s.createRedirectClient(e.correlationId);
13126
+ return d.acquireToken(e);
13124
13127
  } else if (p instanceof Ye) {
13125
13128
  s.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow");
13126
- var u = s.createRedirectClient(e.correlationId);
13127
- return u.acquireToken(e);
13129
+ var d = s.createRedirectClient(e.correlationId);
13130
+ return d.acquireToken(e);
13128
13131
  }
13129
13132
  throw s.browserStorage.setInteractionInProgress(!1), p;
13130
13133
  })) : (a = this.createRedirectClient(e.correlationId), o = a.acquireToken(e)), [2, o.catch(function(p) {
@@ -13136,50 +13139,50 @@ var ka = (
13136
13139
  var t = this, r = this.getRequestCorrelationId(e), o = this.performanceClient.startMeasurement(b.AcquireTokenPopup, r);
13137
13140
  try {
13138
13141
  this.logger.verbose("acquireTokenPopup called", r), this.preflightBrowserEnvironmentCheck(x.Popup);
13139
- } catch (d) {
13140
- return Promise.reject(d);
13142
+ } catch (u) {
13143
+ return Promise.reject(u);
13141
13144
  }
13142
13145
  var i = this.getAllAccounts();
13143
13146
  i.length > 0 ? this.eventHandler.emitEvent(q.ACQUIRE_TOKEN_START, x.Popup, e) : this.eventHandler.emitEvent(q.LOGIN_START, x.Popup, e);
13144
13147
  var a;
13145
13148
  if (this.canUseNative(e))
13146
- a = this.acquireTokenNative(e, oe.acquireTokenPopup).then(function(d) {
13149
+ a = this.acquireTokenNative(e, oe.acquireTokenPopup).then(function(u) {
13147
13150
  return t.browserStorage.setInteractionInProgress(!1), o.endMeasurement({
13148
13151
  success: !0,
13149
13152
  isNativeBroker: !0,
13150
- requestId: d.requestId
13151
- }), d;
13152
- }).catch(function(d) {
13153
- if (d instanceof tt && d.isFatal()) {
13153
+ requestId: u.requestId
13154
+ }), u;
13155
+ }).catch(function(u) {
13156
+ if (u instanceof tt && u.isFatal()) {
13154
13157
  t.nativeExtensionProvider = void 0;
13155
13158
  var p = t.createPopupClient(e.correlationId);
13156
13159
  return p.acquireToken(e);
13157
- } else if (d instanceof Ye) {
13160
+ } else if (u instanceof Ye) {
13158
13161
  t.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow");
13159
13162
  var p = t.createPopupClient(e.correlationId);
13160
13163
  return p.acquireToken(e);
13161
13164
  }
13162
- throw t.browserStorage.setInteractionInProgress(!1), d;
13165
+ throw t.browserStorage.setInteractionInProgress(!1), u;
13163
13166
  });
13164
13167
  else {
13165
13168
  var s = this.createPopupClient(e.correlationId);
13166
13169
  a = s.acquireToken(e);
13167
13170
  }
13168
- return a.then(function(d) {
13171
+ return a.then(function(u) {
13169
13172
  var p = i.length < t.getAllAccounts().length;
13170
- return p ? t.eventHandler.emitEvent(q.LOGIN_SUCCESS, x.Popup, d) : t.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Popup, d), o.addStaticFields({
13171
- accessTokenSize: d.accessToken.length,
13172
- idTokenSize: d.idToken.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
13176
  }), o.endMeasurement({
13174
13177
  success: !0,
13175
- requestId: d.requestId
13176
- }), d;
13177
- }).catch(function(d) {
13178
- 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({
13179
- errorCode: d.errorCode,
13180
- subErrorCode: d.subError,
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,
13181
13184
  success: !1
13182
- }), Promise.reject(d);
13185
+ }), Promise.reject(u);
13183
13186
  });
13184
13187
  }, n.prototype.trackPageVisibilityWithMeasurement = function() {
13185
13188
  var e = this.ssoSilentMeasurement || this.acquireTokenByCodeAsyncMeasurement;
@@ -13190,7 +13193,7 @@ var ka = (
13190
13193
  var t;
13191
13194
  return T(this, void 0, void 0, function() {
13192
13195
  var r, o, i, a, s = this;
13193
- return I(this, function(d) {
13196
+ return I(this, function(u) {
13194
13197
  return r = this.getRequestCorrelationId(e), o = B(B({}, e), {
13195
13198
  // will be PromptValue.NONE or PromptValue.NO_SESSION
13196
13199
  prompt: e.prompt,
@@ -13200,13 +13203,13 @@ var ka = (
13200
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) {
13201
13204
  if (p instanceof tt && p.isFatal()) {
13202
13205
  s.nativeExtensionProvider = void 0;
13203
- var u = s.createSilentIframeClient(o.correlationId);
13204
- return u.acquireToken(o);
13206
+ var d = s.createSilentIframeClient(o.correlationId);
13207
+ return d.acquireToken(o);
13205
13208
  }
13206
13209
  throw p;
13207
13210
  }) : (a = this.createSilentIframeClient(o.correlationId), i = a.acquireToken(o)), [2, i.then(function(p) {
13208
- var u, f;
13209
- return s.eventHandler.emitEvent(q.SSO_SILENT_SUCCESS, x.Silent, p), (u = s.ssoSilentMeasurement) === null || u === void 0 || u.addStaticFields({
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({
13210
13213
  accessTokenSize: p.accessToken.length,
13211
13214
  idTokenSize: p.idToken.length
13212
13215
  }), (f = s.ssoSilentMeasurement) === null || f === void 0 || f.endMeasurement({
@@ -13215,8 +13218,8 @@ var ka = (
13215
13218
  requestId: p.requestId
13216
13219
  }), p;
13217
13220
  }).catch(function(p) {
13218
- var u;
13219
- throw s.eventHandler.emitEvent(q.SSO_SILENT_FAILURE, x.Silent, null, p), (u = s.ssoSilentMeasurement) === null || u === void 0 || u.endMeasurement({
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({
13220
13223
  errorCode: p.errorCode,
13221
13224
  subErrorCode: p.subError,
13222
13225
  success: !1
@@ -13235,36 +13238,36 @@ var ka = (
13235
13238
  if (e.code && e.nativeAccountId)
13236
13239
  throw M.createSpaCodeAndNativeAccountIdPresentError();
13237
13240
  if (e.code)
13238
- 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) {
13239
- return a.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_SUCCESS, x.Silent, d), a.hybridAuthCodeResponses.delete(o), r.addStaticFields({
13240
- accessTokenSize: d.accessToken.length,
13241
- idTokenSize: d.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(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
13242
13245
  }), r.endMeasurement({
13243
13246
  success: !0,
13244
- isNativeBroker: d.fromNativeBroker,
13245
- requestId: d.requestId
13246
- }), d;
13247
- }).catch(function(d) {
13248
- throw a.hybridAuthCodeResponses.delete(o), a.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_FAILURE, x.Silent, null, d), r.endMeasurement({
13249
- errorCode: d.errorCode,
13250
- subErrorCode: d.subError,
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,
13251
13254
  success: !1
13252
- }), d;
13255
+ }), u;
13253
13256
  }), this.hybridAuthCodeResponses.set(o, i)), [2, i];
13254
13257
  if (e.nativeAccountId) {
13255
13258
  if (this.canUseNative(e, e.nativeAccountId))
13256
- return [2, this.acquireTokenNative(e, oe.acquireTokenByCode, e.nativeAccountId).catch(function(d) {
13257
- throw d instanceof tt && d.isFatal() && (a.nativeExtensionProvider = void 0), d;
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;
13258
13261
  })];
13259
13262
  throw M.createUnableToAcquireTokenFromNativePlatformError();
13260
13263
  } else
13261
13264
  throw M.createAuthCodeOrNativeAccountIdRequiredError();
13262
- } catch (d) {
13263
- throw this.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_FAILURE, x.Silent, null, d), r.endMeasurement({
13264
- errorCode: d instanceof D && d.errorCode || void 0,
13265
- subErrorCode: d instanceof D && d.subError || void 0,
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,
13266
13269
  success: !1
13267
- }), d;
13270
+ }), u;
13268
13271
  }
13269
13272
  return [
13270
13273
  2
@@ -13282,16 +13285,16 @@ var ka = (
13282
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({
13283
13286
  visibilityChangeCount: 0
13284
13287
  }), document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement), r = this.createSilentAuthCodeClient(e.correlationId), [4, r.acquireToken(e).then(function(s) {
13285
- var d;
13286
- return (d = i.acquireTokenByCodeAsyncMeasurement) === null || d === void 0 || d.endMeasurement({
13288
+ var u;
13289
+ return (u = i.acquireTokenByCodeAsyncMeasurement) === null || u === void 0 || u.endMeasurement({
13287
13290
  success: !0,
13288
13291
  fromCache: s.fromCache,
13289
13292
  isNativeBroker: s.fromNativeBroker,
13290
13293
  requestId: s.requestId
13291
13294
  }), s;
13292
13295
  }).catch(function(s) {
13293
- var d;
13294
- throw (d = i.acquireTokenByCodeAsyncMeasurement) === null || d === void 0 || d.endMeasurement({
13296
+ var u;
13297
+ throw (u = i.acquireTokenByCodeAsyncMeasurement) === null || u === void 0 || u.endMeasurement({
13295
13298
  errorCode: s.errorCode,
13296
13299
  subErrorCode: s.subError,
13297
13300
  success: !1
@@ -13392,11 +13395,11 @@ var ka = (
13392
13395
  }, n.prototype.getActiveAccount = function() {
13393
13396
  return this.browserStorage.getActiveAccount();
13394
13397
  }, n.prototype.preflightBrowserEnvironmentCheck = function(e, t) {
13395
- 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)
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)
13396
13399
  throw En.createInMemoryRedirectUnavailableError();
13397
13400
  (e === x.Redirect || e === x.Popup) && this.preflightInteractiveRequest(t);
13398
13401
  }, n.prototype.preflightInteractiveRequest = function(e) {
13399
- this.logger.verbose("preflightInteractiveRequest called, validating app environment"), ue.blockReloadInHiddenIframes(), e && this.browserStorage.setInteractionInProgress(!0);
13402
+ this.logger.verbose("preflightInteractiveRequest called, validating app environment"), de.blockReloadInHiddenIframes(), e && this.browserStorage.setInteractionInProgress(!0);
13400
13403
  }, n.prototype.acquireTokenNative = function(e, t, r) {
13401
13404
  return T(this, void 0, void 0, function() {
13402
13405
  var o;
@@ -13485,7 +13488,7 @@ var wa = (
13485
13488
  return this.logger.verbose("loginPopup called", r), this.acquireTokenPopup(B({ correlationId: r }, t || Lr));
13486
13489
  }, e.prototype.acquireTokenSilent = function(t) {
13487
13490
  return T(this, void 0, void 0, function() {
13488
- var r, o, i, a, s, d, p, u = this;
13491
+ var r, o, i, a, s, u, p, d = this;
13489
13492
  return I(this, function(f) {
13490
13493
  if (r = this.getRequestCorrelationId(t), o = this.performanceClient.startMeasurement(b.AcquireTokenSilent, r), o.addStaticFields({
13491
13494
  cacheLookupPolicy: t.cacheLookupPolicy
@@ -13502,8 +13505,8 @@ var wa = (
13502
13505
  resourceRequestUri: t.resourceRequestUri,
13503
13506
  shrClaims: t.shrClaims,
13504
13507
  sshKid: t.sshKid
13505
- }, 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(_) {
13506
- return u.activeSilentTokenRequests.delete(s), o.addStaticFields({
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({
13507
13510
  accessTokenSize: _.accessToken.length,
13508
13511
  idTokenSize: _.idToken.length
13509
13512
  }), o.endMeasurement({
@@ -13514,12 +13517,12 @@ var wa = (
13514
13517
  requestId: _.requestId
13515
13518
  }), _;
13516
13519
  }).catch(function(_) {
13517
- throw u.activeSilentTokenRequests.delete(s), o.endMeasurement({
13520
+ throw d.activeSilentTokenRequests.delete(s), o.endMeasurement({
13518
13521
  errorCode: _.errorCode,
13519
13522
  subErrorCode: _.subError,
13520
13523
  success: !1
13521
13524
  }), _;
13522
- }), 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]);
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]);
13523
13526
  });
13524
13527
  });
13525
13528
  }, e.prototype.trackPageVisibility = function() {
@@ -13529,14 +13532,14 @@ var wa = (
13529
13532
  }, e.prototype.acquireTokenSilentAsync = function(t, r) {
13530
13533
  var o;
13531
13534
  return T(this, void 0, void 0, function() {
13532
- var i, a, s, d, p, u = this;
13535
+ var i, a, s, u, p, d = this;
13533
13536
  return I(this, function(f) {
13534
13537
  switch (f.label) {
13535
13538
  case 0:
13536
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({
13537
13540
  visibilityChangeCount: 0
13538
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(_) {
13539
- return T(u, void 0, void 0, function() {
13542
+ return T(d, void 0, void 0, function() {
13540
13543
  var k;
13541
13544
  return I(this, function(E) {
13542
13545
  if (_ instanceof tt && _.isFatal())
@@ -13548,23 +13551,23 @@ var wa = (
13548
13551
  case 1:
13549
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)];
13550
13553
  case 2:
13551
- d = f.sent(), p = B(B({}, t), {
13554
+ u = f.sent(), p = B(B({}, t), {
13552
13555
  // set the request's CacheLookupPolicy to Default if it was not optionally passed in
13553
13556
  cacheLookupPolicy: t.cacheLookupPolicy || Le.Default
13554
- }), this.performanceClient.setPreQueueTime(b.AcquireTokenFromCache, d.correlationId), i = this.acquireTokenFromCache(s, d, p).catch(function(_) {
13557
+ }), this.performanceClient.setPreQueueTime(b.AcquireTokenFromCache, u.correlationId), i = this.acquireTokenFromCache(s, u, p).catch(function(_) {
13555
13558
  if (p.cacheLookupPolicy === Le.AccessToken)
13556
13559
  throw _;
13557
- 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) {
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) {
13558
13561
  var E = k instanceof bt, N = k instanceof Ye, Q = k.errorCode === Mt.noTokensFoundError.code, X = k.errorCode === Qe.INVALID_GRANT_ERROR;
13559
13562
  if ((!E || !X || N || p.cacheLookupPolicy === Le.AccessTokenAndRefreshToken || p.cacheLookupPolicy === Le.RefreshToken) && p.cacheLookupPolicy !== Le.Skip && !Q)
13560
13563
  throw k;
13561
- 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);
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);
13562
13565
  });
13563
13566
  }), f.label = 3;
13564
13567
  case 3:
13565
13568
  return [2, i.then(function(_) {
13566
13569
  var k;
13567
- return u.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Silent, _), (k = u.astsAsyncMeasurement) === null || k === void 0 || k.endMeasurement({
13570
+ return d.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Silent, _), (k = d.astsAsyncMeasurement) === null || k === void 0 || k.endMeasurement({
13568
13571
  success: !0,
13569
13572
  fromCache: _.fromCache,
13570
13573
  isNativeBroker: _.fromNativeBroker,
@@ -13572,13 +13575,13 @@ var wa = (
13572
13575
  }), _;
13573
13576
  }).catch(function(_) {
13574
13577
  var k;
13575
- throw u.eventHandler.emitEvent(q.ACQUIRE_TOKEN_FAILURE, x.Silent, null, _), (k = u.astsAsyncMeasurement) === null || k === void 0 || k.endMeasurement({
13578
+ throw d.eventHandler.emitEvent(q.ACQUIRE_TOKEN_FAILURE, x.Silent, null, _), (k = d.astsAsyncMeasurement) === null || k === void 0 || k.endMeasurement({
13576
13579
  errorCode: _.errorCode,
13577
13580
  subErrorCode: _.subError,
13578
13581
  success: !1
13579
13582
  }), _;
13580
13583
  }).finally(function() {
13581
- document.removeEventListener("visibilitychange", u.trackPageVisibility);
13584
+ document.removeEventListener("visibilitychange", d.trackPageVisibility);
13582
13585
  })];
13583
13586
  }
13584
13587
  });
@@ -13671,18 +13674,18 @@ const An = {
13671
13674
  if (t)
13672
13675
  return console.log("Error: " + JSON.stringify(t)), this.microsoftLoad = !1;
13673
13676
  if (this.referral && (r.ref = this.referral), this.display === "popup" && (r.response_type = "code"), r && (r.accessToken || r.idToken)) {
13674
- const [s, d] = await ne(
13677
+ const [s, u] = await ne(
13675
13678
  Ne.microsoftSDK(r, this.$storage)
13676
13679
  );
13677
13680
  if (s)
13678
13681
  return this.microsoftLoad = !1, this.microsoftSSOLoad = !1, z.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(s);
13679
- if (d.data.success) {
13682
+ if (u.data.success) {
13680
13683
  if (this.display === "popup")
13681
13684
  return (a = window.parent) == null ? void 0 : a.postMessage(
13682
- { code: d.data.auth_code, state: this.$route.query.state },
13685
+ { code: u.data.auth_code, state: this.$route.query.state },
13683
13686
  "*"
13684
13687
  );
13685
- await this.loginSetup(d), await this.getLoggedInAccounts(), this.loginSuccess({ ...d, isModal: this.isModal }), setTimeout(() => {
13688
+ await this.loginSetup(u), await this.getLoggedInAccounts(), this.loginSuccess({ ...u, isModal: this.isModal }), setTimeout(() => {
13686
13689
  this.microsoftLoad = !1, this.microsoftSSOLoad = !1;
13687
13690
  }, 1e3);
13688
13691
  } else
@@ -13709,7 +13712,7 @@ const An = {
13709
13712
  },
13710
13713
  compareLangKeys() {
13711
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);
13712
- 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();
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();
13713
13716
  },
13714
13717
  base64ImageToBlob(n) {
13715
13718
  const e = n.split(";base64,"), t = e[0].split(":")[1], r = window.atob(e[1]), o = new Uint8Array(r.length);
@@ -13743,8 +13746,8 @@ const An = {
13743
13746
  cropCardScan(n, e) {
13744
13747
  const t = new window.Image(), r = document.createElement("canvas"), o = r.getContext("2d");
13745
13748
  t.src = "data:image/jpeg;base64," + n, t.onload = () => {
13746
- const i = t.width, a = t.width / 1.65, s = 0, d = t.height / 2 - a / 2, p = i, u = a;
13747
- r.width = p, r.height = u, o.drawImage(t, s, d, i, a, 0, 0, p, u);
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);
13748
13751
  const f = r.toDataURL();
13749
13752
  return e(f), f;
13750
13753
  };
@@ -13770,7 +13773,7 @@ const An = {
13770
13773
  },
13771
13774
  async decryptAES(n, e, t) {
13772
13775
  try {
13773
- const r = (d) => Uint8Array.from(atob(d), (p) => p.charCodeAt(0));
13776
+ const r = (u) => Uint8Array.from(atob(u), (p) => p.charCodeAt(0));
13774
13777
  t = t.replace(/ /g, "+");
13775
13778
  const o = new TextEncoder(), i = new TextDecoder();
13776
13779
  n = o.encode(n), e = o.encode(e), t = r(t, storage);
@@ -13820,11 +13823,11 @@ const An = {
13820
13823
  localStorage.setItem("pkce_code_verifier", r);
13821
13824
  let o = await zt.pkceChallengeFromVerifier(r), i = n.domain + "/v1/authorize", a;
13822
13825
  this.isNative ? a = "tapni://t.link/callback/okta" : a = location.origin + "/callback/okta";
13823
- 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;
13824
- window.addEventListener("message", async (u) => {
13825
- if (!this.allowedOrigins.includes(u.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", u = this, p;
13827
+ window.addEventListener("message", async (d) => {
13828
+ if (!this.allowedOrigins.includes(d.origin))
13826
13829
  return console.log("Origin is not allowed!");
13827
- u.data.type === "okta" && (p = u.data.code, await d.exchangeCode({ domain: n.domain, code: p, clientID: n.clientID }));
13830
+ d.data.type === "okta" && (p = d.data.code, await u.exchangeCode({ domain: n.domain, code: p, clientID: n.clientID }));
13828
13831
  }, { once: !0 }), this.isNative ? await hn.open({ url: s, presentationStyle: "popover" }) : window.open(s, "popup", "width=600,height=600");
13829
13832
  },
13830
13833
  async handleOktaRedirect() {
@@ -13864,10 +13867,10 @@ function Aa(n, e, t) {
13864
13867
  return (e + t) * 3 / 4 - t;
13865
13868
  }
13866
13869
  function Ra(n) {
13867
- 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;
13868
- for (d = 0; d < s; d += 4)
13869
- 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;
13870
- 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;
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;
13871
13874
  }
13872
13875
  function Pa(n) {
13873
13876
  return et[n >> 18 & 63] + et[n >> 12 & 63] + et[n >> 6 & 63] + et[n & 63];
@@ -13889,23 +13892,23 @@ function Na(n) {
13889
13892
  var ir = {};
13890
13893
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
13891
13894
  ir.read = function(n, e, t, r, o) {
13892
- 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];
13893
- for (f += _, i = k & (1 << -u) - 1, k >>= -u, u += s; u > 0; i = i * 256 + n[e + f], f += _, u -= 8)
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)
13894
13897
  ;
13895
- for (a = i & (1 << -u) - 1, i >>= -u, u += r; u > 0; a = a * 256 + n[e + f], f += _, u -= 8)
13898
+ for (a = i & (1 << -d) - 1, i >>= -d, d += r; d > 0; a = a * 256 + n[e + f], f += _, d -= 8)
13896
13899
  ;
13897
13900
  if (i === 0)
13898
13901
  i = 1 - p;
13899
13902
  else {
13900
- if (i === d)
13903
+ if (i === u)
13901
13904
  return a ? NaN : (k ? -1 : 1) * (1 / 0);
13902
13905
  a = a + Math.pow(2, r), i = i - p;
13903
13906
  }
13904
13907
  return (k ? -1 : 1) * a * Math.pow(2, i - r);
13905
13908
  };
13906
13909
  ir.write = function(n, e, t, r, o, i) {
13907
- 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;
13908
- 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)
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)
13909
13912
  ;
13910
13913
  for (a = a << o | s, p += o; p > 0; n[t + k] = a & 255, k += E, a /= 256, p -= 8)
13911
13914
  ;
@@ -13919,14 +13922,14 @@ ir.write = function(n, e, t, r, o, i) {
13919
13922
  */
13920
13923
  (function(n) {
13921
13924
  const e = Pn, t = ir, r = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
13922
- n.Buffer = u, n.SlowBuffer = xe, n.INSPECT_MAX_BYTES = 50;
13925
+ n.Buffer = d, n.SlowBuffer = xe, n.INSPECT_MAX_BYTES = 50;
13923
13926
  const o = 2147483647;
13924
13927
  n.kMaxLength = o;
13925
13928
  const { Uint8Array: i, ArrayBuffer: a, SharedArrayBuffer: s } = globalThis;
13926
- u.TYPED_ARRAY_SUPPORT = d(), !u.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
13929
+ d.TYPED_ARRAY_SUPPORT = u(), !d.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
13927
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."
13928
13931
  );
13929
- function d() {
13932
+ function u() {
13930
13933
  try {
13931
13934
  const h = new i(1), c = { foo: function() {
13932
13935
  return 42;
@@ -13936,16 +13939,16 @@ ir.write = function(n, e, t, r, o, i) {
13936
13939
  return !1;
13937
13940
  }
13938
13941
  }
13939
- Object.defineProperty(u.prototype, "parent", {
13942
+ Object.defineProperty(d.prototype, "parent", {
13940
13943
  enumerable: !0,
13941
13944
  get: function() {
13942
- if (u.isBuffer(this))
13945
+ if (d.isBuffer(this))
13943
13946
  return this.buffer;
13944
13947
  }
13945
- }), Object.defineProperty(u.prototype, "offset", {
13948
+ }), Object.defineProperty(d.prototype, "offset", {
13946
13949
  enumerable: !0,
13947
13950
  get: function() {
13948
- if (u.isBuffer(this))
13951
+ if (d.isBuffer(this))
13949
13952
  return this.byteOffset;
13950
13953
  }
13951
13954
  });
@@ -13953,9 +13956,9 @@ ir.write = function(n, e, t, r, o, i) {
13953
13956
  if (h > o)
13954
13957
  throw new RangeError('The value "' + h + '" is invalid for option "size"');
13955
13958
  const c = new i(h);
13956
- return Object.setPrototypeOf(c, u.prototype), c;
13959
+ return Object.setPrototypeOf(c, d.prototype), c;
13957
13960
  }
13958
- function u(h, c, l) {
13961
+ function d(h, c, l) {
13959
13962
  if (typeof h == "number") {
13960
13963
  if (typeof c == "string")
13961
13964
  throw new TypeError(
@@ -13965,7 +13968,7 @@ ir.write = function(n, e, t, r, o, i) {
13965
13968
  }
13966
13969
  return f(h, c, l);
13967
13970
  }
13968
- u.poolSize = 8192;
13971
+ d.poolSize = 8192;
13969
13972
  function f(h, c, l) {
13970
13973
  if (typeof h == "string")
13971
13974
  return N(h, c);
@@ -13983,19 +13986,19 @@ ir.write = function(n, e, t, r, o, i) {
13983
13986
  );
13984
13987
  const m = h.valueOf && h.valueOf();
13985
13988
  if (m != null && m !== h)
13986
- return u.from(m, c, l);
13989
+ return d.from(m, c, l);
13987
13990
  const v = $(h);
13988
13991
  if (v)
13989
13992
  return v;
13990
13993
  if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof h[Symbol.toPrimitive] == "function")
13991
- return u.from(h[Symbol.toPrimitive]("string"), c, l);
13994
+ return d.from(h[Symbol.toPrimitive]("string"), c, l);
13992
13995
  throw new TypeError(
13993
13996
  "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof h
13994
13997
  );
13995
13998
  }
13996
- u.from = function(h, c, l) {
13999
+ d.from = function(h, c, l) {
13997
14000
  return f(h, c, l);
13998
- }, Object.setPrototypeOf(u.prototype, i.prototype), Object.setPrototypeOf(u, i);
14001
+ }, Object.setPrototypeOf(d.prototype, i.prototype), Object.setPrototypeOf(d, i);
13999
14002
  function _(h) {
14000
14003
  if (typeof h != "number")
14001
14004
  throw new TypeError('"size" argument must be of type number');
@@ -14005,19 +14008,19 @@ ir.write = function(n, e, t, r, o, i) {
14005
14008
  function k(h, c, l) {
14006
14009
  return _(h), h <= 0 ? p(h) : c !== void 0 ? typeof l == "string" ? p(h).fill(c, l) : p(h).fill(c) : p(h);
14007
14010
  }
14008
- u.alloc = function(h, c, l) {
14011
+ d.alloc = function(h, c, l) {
14009
14012
  return k(h, c, l);
14010
14013
  };
14011
14014
  function E(h) {
14012
14015
  return _(h), p(h < 0 ? 0 : Ae(h) | 0);
14013
14016
  }
14014
- u.allocUnsafe = function(h) {
14017
+ d.allocUnsafe = function(h) {
14015
14018
  return E(h);
14016
- }, u.allocUnsafeSlow = function(h) {
14019
+ }, d.allocUnsafeSlow = function(h) {
14017
14020
  return E(h);
14018
14021
  };
14019
14022
  function N(h, c) {
14020
- if ((typeof c != "string" || c === "") && (c = "utf8"), !u.isEncoding(c))
14023
+ if ((typeof c != "string" || c === "") && (c = "utf8"), !d.isEncoding(c))
14021
14024
  throw new TypeError("Unknown encoding: " + c);
14022
14025
  const l = Ve(h, c) | 0;
14023
14026
  let m = p(l);
@@ -14043,10 +14046,10 @@ ir.write = function(n, e, t, r, o, i) {
14043
14046
  if (h.byteLength < c + (l || 0))
14044
14047
  throw new RangeError('"length" is outside of buffer bounds');
14045
14048
  let m;
14046
- 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;
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;
14047
14050
  }
14048
14051
  function $(h) {
14049
- if (u.isBuffer(h)) {
14052
+ if (d.isBuffer(h)) {
14050
14053
  const c = Ae(h.length) | 0, l = p(c);
14051
14054
  return l.length === 0 || h.copy(l, 0, 0, c), l;
14052
14055
  }
@@ -14061,12 +14064,12 @@ ir.write = function(n, e, t, r, o, i) {
14061
14064
  return h | 0;
14062
14065
  }
14063
14066
  function xe(h) {
14064
- return +h != h && (h = 0), u.alloc(+h);
14067
+ return +h != h && (h = 0), d.alloc(+h);
14065
14068
  }
14066
- u.isBuffer = function(c) {
14067
- return c != null && c._isBuffer === !0 && c !== u.prototype;
14068
- }, u.compare = function(c, l) {
14069
- 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))
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))
14070
14073
  throw new TypeError(
14071
14074
  'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
14072
14075
  );
@@ -14079,7 +14082,7 @@ ir.write = function(n, e, t, r, o, i) {
14079
14082
  break;
14080
14083
  }
14081
14084
  return m < v ? -1 : v < m ? 1 : 0;
14082
- }, u.isEncoding = function(c) {
14085
+ }, d.isEncoding = function(c) {
14083
14086
  switch (String(c).toLowerCase()) {
14084
14087
  case "hex":
14085
14088
  case "utf8":
@@ -14096,26 +14099,26 @@ ir.write = function(n, e, t, r, o, i) {
14096
14099
  default:
14097
14100
  return !1;
14098
14101
  }
14099
- }, u.concat = function(c, l) {
14102
+ }, d.concat = function(c, l) {
14100
14103
  if (!Array.isArray(c))
14101
14104
  throw new TypeError('"list" argument must be an Array of Buffers');
14102
14105
  if (c.length === 0)
14103
- return u.alloc(0);
14106
+ return d.alloc(0);
14104
14107
  let m;
14105
14108
  if (l === void 0)
14106
14109
  for (l = 0, m = 0; m < c.length; ++m)
14107
14110
  l += c[m].length;
14108
- const v = u.allocUnsafe(l);
14111
+ const v = d.allocUnsafe(l);
14109
14112
  let w = 0;
14110
14113
  for (m = 0; m < c.length; ++m) {
14111
14114
  let C = c[m];
14112
14115
  if ($e(C, i))
14113
- w + C.length > v.length ? (u.isBuffer(C) || (C = u.from(C)), C.copy(v, w)) : i.prototype.set.call(
14116
+ w + C.length > v.length ? (d.isBuffer(C) || (C = d.from(C)), C.copy(v, w)) : i.prototype.set.call(
14114
14117
  v,
14115
14118
  C,
14116
14119
  w
14117
14120
  );
14118
- else if (u.isBuffer(C))
14121
+ else if (d.isBuffer(C))
14119
14122
  C.copy(v, w);
14120
14123
  else
14121
14124
  throw new TypeError('"list" argument must be an Array of Buffers');
@@ -14124,7 +14127,7 @@ ir.write = function(n, e, t, r, o, i) {
14124
14127
  return v;
14125
14128
  };
14126
14129
  function Ve(h, c) {
14127
- if (u.isBuffer(h))
14130
+ if (d.isBuffer(h))
14128
14131
  return h.length;
14129
14132
  if (a.isView(h) || $e(h, a))
14130
14133
  return h.byteLength;
@@ -14160,7 +14163,7 @@ ir.write = function(n, e, t, r, o, i) {
14160
14163
  c = ("" + c).toLowerCase(), v = !0;
14161
14164
  }
14162
14165
  }
14163
- u.byteLength = Ve;
14166
+ d.byteLength = Ve;
14164
14167
  function Ct(h, c, l) {
14165
14168
  let m = !1;
14166
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))
@@ -14190,45 +14193,45 @@ ir.write = function(n, e, t, r, o, i) {
14190
14193
  h = (h + "").toLowerCase(), m = !0;
14191
14194
  }
14192
14195
  }
14193
- u.prototype._isBuffer = !0;
14196
+ d.prototype._isBuffer = !0;
14194
14197
  function ce(h, c, l) {
14195
14198
  const m = h[c];
14196
14199
  h[c] = h[l], h[l] = m;
14197
14200
  }
14198
- u.prototype.swap16 = function() {
14201
+ d.prototype.swap16 = function() {
14199
14202
  const c = this.length;
14200
14203
  if (c % 2 !== 0)
14201
14204
  throw new RangeError("Buffer size must be a multiple of 16-bits");
14202
14205
  for (let l = 0; l < c; l += 2)
14203
14206
  ce(this, l, l + 1);
14204
14207
  return this;
14205
- }, u.prototype.swap32 = function() {
14208
+ }, d.prototype.swap32 = function() {
14206
14209
  const c = this.length;
14207
14210
  if (c % 4 !== 0)
14208
14211
  throw new RangeError("Buffer size must be a multiple of 32-bits");
14209
14212
  for (let l = 0; l < c; l += 4)
14210
14213
  ce(this, l, l + 3), ce(this, l + 1, l + 2);
14211
14214
  return this;
14212
- }, u.prototype.swap64 = function() {
14215
+ }, d.prototype.swap64 = function() {
14213
14216
  const c = this.length;
14214
14217
  if (c % 8 !== 0)
14215
14218
  throw new RangeError("Buffer size must be a multiple of 64-bits");
14216
14219
  for (let l = 0; l < c; l += 8)
14217
14220
  ce(this, l, l + 7), ce(this, l + 1, l + 6), ce(this, l + 2, l + 5), ce(this, l + 3, l + 4);
14218
14221
  return this;
14219
- }, u.prototype.toString = function() {
14222
+ }, d.prototype.toString = function() {
14220
14223
  const c = this.length;
14221
14224
  return c === 0 ? "" : arguments.length === 0 ? cr(this, 0, c) : Ct.apply(this, arguments);
14222
- }, u.prototype.toLocaleString = u.prototype.toString, u.prototype.equals = function(c) {
14223
- if (!u.isBuffer(c))
14225
+ }, d.prototype.toLocaleString = d.prototype.toString, d.prototype.equals = function(c) {
14226
+ if (!d.isBuffer(c))
14224
14227
  throw new TypeError("Argument must be a Buffer");
14225
- return this === c ? !0 : u.compare(this, c) === 0;
14226
- }, u.prototype.inspect = function() {
14228
+ return this === c ? !0 : d.compare(this, c) === 0;
14229
+ }, d.prototype.inspect = function() {
14227
14230
  let c = "";
14228
14231
  const l = n.INSPECT_MAX_BYTES;
14229
14232
  return c = this.toString("hex", 0, l).replace(/(.{2})/g, "$1 ").trim(), this.length > l && (c += " ... "), "<Buffer " + c + ">";
14230
- }, r && (u.prototype[r] = u.prototype.inspect), u.prototype.compare = function(c, l, m, v, w) {
14231
- if ($e(c, i) && (c = u.from(c, c.offset, c.byteLength)), !u.isBuffer(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))
14232
14235
  throw new TypeError(
14233
14236
  'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof c
14234
14237
  );
@@ -14243,10 +14246,10 @@ ir.write = function(n, e, t, r, o, i) {
14243
14246
  if (l >>>= 0, m >>>= 0, v >>>= 0, w >>>= 0, this === c)
14244
14247
  return 0;
14245
14248
  let C = w - v, Y = m - l;
14246
- const le = Math.min(C, Y), ae = this.slice(v, w), de = c.slice(l, m);
14249
+ const le = Math.min(C, Y), ae = this.slice(v, w), ue = c.slice(l, m);
14247
14250
  for (let re = 0; re < le; ++re)
14248
- if (ae[re] !== de[re]) {
14249
- C = ae[re], Y = de[re];
14251
+ if (ae[re] !== ue[re]) {
14252
+ C = ae[re], Y = ue[re];
14250
14253
  break;
14251
14254
  }
14252
14255
  return C < Y ? -1 : Y < C ? 1 : 0;
@@ -14263,7 +14266,7 @@ ir.write = function(n, e, t, r, o, i) {
14263
14266
  l = 0;
14264
14267
  else
14265
14268
  return -1;
14266
- if (typeof c == "string" && (c = u.from(c, m)), u.isBuffer(c))
14269
+ if (typeof c == "string" && (c = d.from(c, m)), d.isBuffer(c))
14267
14270
  return c.length === 0 ? -1 : sr(h, c, l, m, v);
14268
14271
  if (typeof c == "number")
14269
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);
@@ -14276,36 +14279,36 @@ ir.write = function(n, e, t, r, o, i) {
14276
14279
  return -1;
14277
14280
  w = 2, C /= 2, Y /= 2, l /= 2;
14278
14281
  }
14279
- function le(de, re) {
14280
- return w === 1 ? de[re] : de.readUInt16BE(re * w);
14282
+ function le(ue, re) {
14283
+ return w === 1 ? ue[re] : ue.readUInt16BE(re * w);
14281
14284
  }
14282
14285
  let ae;
14283
14286
  if (v) {
14284
- let de = -1;
14287
+ let ue = -1;
14285
14288
  for (ae = l; ae < C; ae++)
14286
- if (le(h, ae) === le(c, de === -1 ? 0 : ae - de)) {
14287
- if (de === -1 && (de = ae), ae - de + 1 === Y)
14288
- return de * w;
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
14292
  } else
14290
- de !== -1 && (ae -= ae - de), de = -1;
14293
+ ue !== -1 && (ae -= ae - ue), ue = -1;
14291
14294
  } else
14292
14295
  for (l + Y > C && (l = C - Y), ae = l; ae >= 0; ae--) {
14293
- let de = !0;
14296
+ let ue = !0;
14294
14297
  for (let re = 0; re < Y; re++)
14295
14298
  if (le(h, ae + re) !== le(c, re)) {
14296
- de = !1;
14299
+ ue = !1;
14297
14300
  break;
14298
14301
  }
14299
- if (de)
14302
+ if (ue)
14300
14303
  return ae;
14301
14304
  }
14302
14305
  return -1;
14303
14306
  }
14304
- u.prototype.includes = function(c, l, m) {
14307
+ d.prototype.includes = function(c, l, m) {
14305
14308
  return this.indexOf(c, l, m) !== -1;
14306
- }, u.prototype.indexOf = function(c, l, m) {
14309
+ }, d.prototype.indexOf = function(c, l, m) {
14307
14310
  return ar(this, c, l, m, !0);
14308
- }, u.prototype.lastIndexOf = function(c, l, m) {
14311
+ }, d.prototype.lastIndexOf = function(c, l, m) {
14309
14312
  return ar(this, c, l, m, !1);
14310
14313
  };
14311
14314
  function Io(h, c, l, m) {
@@ -14335,7 +14338,7 @@ ir.write = function(n, e, t, r, o, i) {
14335
14338
  function Po(h, c, l, m) {
14336
14339
  return an(qo(c, h.length - l), h, l, m);
14337
14340
  }
14338
- u.prototype.write = function(c, l, m, v) {
14341
+ d.prototype.write = function(c, l, m, v) {
14339
14342
  if (l === void 0)
14340
14343
  v = "utf8", m = this.length, l = 0;
14341
14344
  else if (m === void 0 && typeof l == "string")
@@ -14374,7 +14377,7 @@ ir.write = function(n, e, t, r, o, i) {
14374
14377
  throw new TypeError("Unknown encoding: " + v);
14375
14378
  v = ("" + v).toLowerCase(), C = !0;
14376
14379
  }
14377
- }, u.prototype.toJSON = function() {
14380
+ }, d.prototype.toJSON = function() {
14378
14381
  return {
14379
14382
  type: "Buffer",
14380
14383
  data: Array.prototype.slice.call(this._arr || this, 0)
@@ -14391,7 +14394,7 @@ ir.write = function(n, e, t, r, o, i) {
14391
14394
  const w = h[v];
14392
14395
  let C = null, Y = w > 239 ? 4 : w > 223 ? 3 : w > 191 ? 2 : 1;
14393
14396
  if (v + Y <= l) {
14394
- let le, ae, de, re;
14397
+ let le, ae, ue, re;
14395
14398
  switch (Y) {
14396
14399
  case 1:
14397
14400
  w < 128 && (C = w);
@@ -14403,7 +14406,7 @@ ir.write = function(n, e, t, r, o, i) {
14403
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));
14404
14407
  break;
14405
14408
  case 4:
14406
- 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));
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));
14407
14410
  }
14408
14411
  }
14409
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;
@@ -14452,11 +14455,11 @@ ir.write = function(n, e, t, r, o, i) {
14452
14455
  v += String.fromCharCode(m[w] + m[w + 1] * 256);
14453
14456
  return v;
14454
14457
  }
14455
- u.prototype.slice = function(c, l) {
14458
+ d.prototype.slice = function(c, l) {
14456
14459
  const m = this.length;
14457
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);
14458
14461
  const v = this.subarray(c, l);
14459
- return Object.setPrototypeOf(v, u.prototype), v;
14462
+ return Object.setPrototypeOf(v, d.prototype), v;
14460
14463
  };
14461
14464
  function ge(h, c, l) {
14462
14465
  if (h % 1 !== 0 || h < 0)
@@ -14464,97 +14467,97 @@ ir.write = function(n, e, t, r, o, i) {
14464
14467
  if (h + c > l)
14465
14468
  throw new RangeError("Trying to access beyond buffer length");
14466
14469
  }
14467
- u.prototype.readUintLE = u.prototype.readUIntLE = function(c, l, m) {
14470
+ d.prototype.readUintLE = d.prototype.readUIntLE = function(c, l, m) {
14468
14471
  c = c >>> 0, l = l >>> 0, m || ge(c, l, this.length);
14469
14472
  let v = this[c], w = 1, C = 0;
14470
14473
  for (; ++C < l && (w *= 256); )
14471
14474
  v += this[c + C] * w;
14472
14475
  return v;
14473
- }, u.prototype.readUintBE = u.prototype.readUIntBE = function(c, l, m) {
14476
+ }, d.prototype.readUintBE = d.prototype.readUIntBE = function(c, l, m) {
14474
14477
  c = c >>> 0, l = l >>> 0, m || ge(c, l, this.length);
14475
14478
  let v = this[c + --l], w = 1;
14476
14479
  for (; l > 0 && (w *= 256); )
14477
14480
  v += this[c + --l] * w;
14478
14481
  return v;
14479
- }, u.prototype.readUint8 = u.prototype.readUInt8 = function(c, l) {
14482
+ }, d.prototype.readUint8 = d.prototype.readUInt8 = function(c, l) {
14480
14483
  return c = c >>> 0, l || ge(c, 1, this.length), this[c];
14481
- }, u.prototype.readUint16LE = u.prototype.readUInt16LE = function(c, l) {
14484
+ }, d.prototype.readUint16LE = d.prototype.readUInt16LE = function(c, l) {
14482
14485
  return c = c >>> 0, l || ge(c, 2, this.length), this[c] | this[c + 1] << 8;
14483
- }, u.prototype.readUint16BE = u.prototype.readUInt16BE = function(c, l) {
14486
+ }, d.prototype.readUint16BE = d.prototype.readUInt16BE = function(c, l) {
14484
14487
  return c = c >>> 0, l || ge(c, 2, this.length), this[c] << 8 | this[c + 1];
14485
- }, u.prototype.readUint32LE = u.prototype.readUInt32LE = function(c, l) {
14488
+ }, d.prototype.readUint32LE = d.prototype.readUInt32LE = function(c, l) {
14486
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;
14487
- }, u.prototype.readUint32BE = u.prototype.readUInt32BE = function(c, l) {
14490
+ }, d.prototype.readUint32BE = d.prototype.readUInt32BE = function(c, l) {
14488
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]);
14489
- }, u.prototype.readBigUInt64LE = dt(function(c) {
14492
+ }, d.prototype.readBigUInt64LE = ut(function(c) {
14490
14493
  c = c >>> 0, Tt(c, "offset");
14491
14494
  const l = this[c], m = this[c + 7];
14492
14495
  (l === void 0 || m === void 0) && jt(c, this.length - 8);
14493
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;
14494
14497
  return BigInt(v) + (BigInt(w) << BigInt(32));
14495
- }), u.prototype.readBigUInt64BE = dt(function(c) {
14498
+ }), d.prototype.readBigUInt64BE = ut(function(c) {
14496
14499
  c = c >>> 0, Tt(c, "offset");
14497
14500
  const l = this[c], m = this[c + 7];
14498
14501
  (l === void 0 || m === void 0) && jt(c, this.length - 8);
14499
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;
14500
14503
  return (BigInt(v) << BigInt(32)) + BigInt(w);
14501
- }), u.prototype.readIntLE = function(c, l, m) {
14504
+ }), d.prototype.readIntLE = function(c, l, m) {
14502
14505
  c = c >>> 0, l = l >>> 0, m || ge(c, l, this.length);
14503
14506
  let v = this[c], w = 1, C = 0;
14504
14507
  for (; ++C < l && (w *= 256); )
14505
14508
  v += this[c + C] * w;
14506
14509
  return w *= 128, v >= w && (v -= Math.pow(2, 8 * l)), v;
14507
- }, u.prototype.readIntBE = function(c, l, m) {
14510
+ }, d.prototype.readIntBE = function(c, l, m) {
14508
14511
  c = c >>> 0, l = l >>> 0, m || ge(c, l, this.length);
14509
14512
  let v = l, w = 1, C = this[c + --v];
14510
14513
  for (; v > 0 && (w *= 256); )
14511
14514
  C += this[c + --v] * w;
14512
14515
  return w *= 128, C >= w && (C -= Math.pow(2, 8 * l)), C;
14513
- }, u.prototype.readInt8 = function(c, l) {
14516
+ }, d.prototype.readInt8 = function(c, l) {
14514
14517
  return c = c >>> 0, l || ge(c, 1, this.length), this[c] & 128 ? (255 - this[c] + 1) * -1 : this[c];
14515
- }, u.prototype.readInt16LE = function(c, l) {
14518
+ }, d.prototype.readInt16LE = function(c, l) {
14516
14519
  c = c >>> 0, l || ge(c, 2, this.length);
14517
14520
  const m = this[c] | this[c + 1] << 8;
14518
14521
  return m & 32768 ? m | 4294901760 : m;
14519
- }, u.prototype.readInt16BE = function(c, l) {
14522
+ }, d.prototype.readInt16BE = function(c, l) {
14520
14523
  c = c >>> 0, l || ge(c, 2, this.length);
14521
14524
  const m = this[c + 1] | this[c] << 8;
14522
14525
  return m & 32768 ? m | 4294901760 : m;
14523
- }, u.prototype.readInt32LE = function(c, l) {
14526
+ }, d.prototype.readInt32LE = function(c, l) {
14524
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;
14525
- }, u.prototype.readInt32BE = function(c, l) {
14528
+ }, d.prototype.readInt32BE = function(c, l) {
14526
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];
14527
- }, u.prototype.readBigInt64LE = dt(function(c) {
14530
+ }, d.prototype.readBigInt64LE = ut(function(c) {
14528
14531
  c = c >>> 0, Tt(c, "offset");
14529
14532
  const l = this[c], m = this[c + 7];
14530
14533
  (l === void 0 || m === void 0) && jt(c, this.length - 8);
14531
14534
  const v = this[c + 4] + this[c + 5] * 2 ** 8 + this[c + 6] * 2 ** 16 + (m << 24);
14532
14535
  return (BigInt(v) << BigInt(32)) + BigInt(l + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + this[++c] * 2 ** 24);
14533
- }), u.prototype.readBigInt64BE = dt(function(c) {
14536
+ }), d.prototype.readBigInt64BE = ut(function(c) {
14534
14537
  c = c >>> 0, Tt(c, "offset");
14535
14538
  const l = this[c], m = this[c + 7];
14536
14539
  (l === void 0 || m === void 0) && jt(c, this.length - 8);
14537
14540
  const v = (l << 24) + // Overflow
14538
14541
  this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + this[++c];
14539
14542
  return (BigInt(v) << BigInt(32)) + BigInt(this[++c] * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + m);
14540
- }), u.prototype.readFloatLE = function(c, l) {
14543
+ }), d.prototype.readFloatLE = function(c, l) {
14541
14544
  return c = c >>> 0, l || ge(c, 4, this.length), t.read(this, c, !0, 23, 4);
14542
- }, u.prototype.readFloatBE = function(c, l) {
14545
+ }, d.prototype.readFloatBE = function(c, l) {
14543
14546
  return c = c >>> 0, l || ge(c, 4, this.length), t.read(this, c, !1, 23, 4);
14544
- }, u.prototype.readDoubleLE = function(c, l) {
14547
+ }, d.prototype.readDoubleLE = function(c, l) {
14545
14548
  return c = c >>> 0, l || ge(c, 8, this.length), t.read(this, c, !0, 52, 8);
14546
- }, u.prototype.readDoubleBE = function(c, l) {
14549
+ }, d.prototype.readDoubleBE = function(c, l) {
14547
14550
  return c = c >>> 0, l || ge(c, 8, this.length), t.read(this, c, !1, 52, 8);
14548
14551
  };
14549
14552
  function Re(h, c, l, m, v, w) {
14550
- if (!u.isBuffer(h))
14553
+ if (!d.isBuffer(h))
14551
14554
  throw new TypeError('"buffer" argument must be a Buffer instance');
14552
14555
  if (c > v || c < w)
14553
14556
  throw new RangeError('"value" argument is out of bounds');
14554
14557
  if (l + m > h.length)
14555
14558
  throw new RangeError("Index out of range");
14556
14559
  }
14557
- u.prototype.writeUintLE = u.prototype.writeUIntLE = function(c, l, m, v) {
14560
+ d.prototype.writeUintLE = d.prototype.writeUIntLE = function(c, l, m, v) {
14558
14561
  if (c = +c, l = l >>> 0, m = m >>> 0, !v) {
14559
14562
  const Y = Math.pow(2, 8 * m) - 1;
14560
14563
  Re(this, c, l, m, Y, 0);
@@ -14563,7 +14566,7 @@ ir.write = function(n, e, t, r, o, i) {
14563
14566
  for (this[l] = c & 255; ++C < m && (w *= 256); )
14564
14567
  this[l + C] = c / w & 255;
14565
14568
  return l + m;
14566
- }, u.prototype.writeUintBE = u.prototype.writeUIntBE = function(c, l, m, v) {
14569
+ }, d.prototype.writeUintBE = d.prototype.writeUIntBE = function(c, l, m, v) {
14567
14570
  if (c = +c, l = l >>> 0, m = m >>> 0, !v) {
14568
14571
  const Y = Math.pow(2, 8 * m) - 1;
14569
14572
  Re(this, c, l, m, Y, 0);
@@ -14572,36 +14575,36 @@ ir.write = function(n, e, t, r, o, i) {
14572
14575
  for (this[l + w] = c & 255; --w >= 0 && (C *= 256); )
14573
14576
  this[l + w] = c / C & 255;
14574
14577
  return l + m;
14575
- }, u.prototype.writeUint8 = u.prototype.writeUInt8 = function(c, l, m) {
14578
+ }, d.prototype.writeUint8 = d.prototype.writeUInt8 = function(c, l, m) {
14576
14579
  return c = +c, l = l >>> 0, m || Re(this, c, l, 1, 255, 0), this[l] = c & 255, l + 1;
14577
- }, u.prototype.writeUint16LE = u.prototype.writeUInt16LE = function(c, l, m) {
14580
+ }, d.prototype.writeUint16LE = d.prototype.writeUInt16LE = function(c, l, m) {
14578
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;
14579
- }, u.prototype.writeUint16BE = u.prototype.writeUInt16BE = function(c, l, m) {
14582
+ }, d.prototype.writeUint16BE = d.prototype.writeUInt16BE = function(c, l, m) {
14580
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;
14581
- }, u.prototype.writeUint32LE = u.prototype.writeUInt32LE = function(c, l, m) {
14584
+ }, d.prototype.writeUint32LE = d.prototype.writeUInt32LE = function(c, l, m) {
14582
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;
14583
- }, u.prototype.writeUint32BE = u.prototype.writeUInt32BE = function(c, l, m) {
14586
+ }, d.prototype.writeUint32BE = d.prototype.writeUInt32BE = function(c, l, m) {
14584
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;
14585
14588
  };
14586
- function dr(h, c, l, m, v) {
14589
+ function ur(h, c, l, m, v) {
14587
14590
  gr(c, m, v, h, l, 7);
14588
14591
  let w = Number(c & BigInt(4294967295));
14589
14592
  h[l++] = w, w = w >> 8, h[l++] = w, w = w >> 8, h[l++] = w, w = w >> 8, h[l++] = w;
14590
14593
  let C = Number(c >> BigInt(32) & BigInt(4294967295));
14591
14594
  return h[l++] = C, C = C >> 8, h[l++] = C, C = C >> 8, h[l++] = C, C = C >> 8, h[l++] = C, l;
14592
14595
  }
14593
- function ur(h, c, l, m, v) {
14596
+ function dr(h, c, l, m, v) {
14594
14597
  gr(c, m, v, h, l, 7);
14595
14598
  let w = Number(c & BigInt(4294967295));
14596
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;
14597
14600
  let C = Number(c >> BigInt(32) & BigInt(4294967295));
14598
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;
14599
14602
  }
14600
- u.prototype.writeBigUInt64LE = dt(function(c, l = 0) {
14601
- return dr(this, c, l, BigInt(0), BigInt("0xffffffffffffffff"));
14602
- }), u.prototype.writeBigUInt64BE = dt(function(c, l = 0) {
14603
+ d.prototype.writeBigUInt64LE = ut(function(c, l = 0) {
14603
14604
  return ur(this, c, l, BigInt(0), BigInt("0xffffffffffffffff"));
14604
- }), u.prototype.writeIntLE = function(c, l, m, v) {
14605
+ }), d.prototype.writeBigUInt64BE = ut(function(c, l = 0) {
14606
+ return dr(this, c, l, BigInt(0), BigInt("0xffffffffffffffff"));
14607
+ }), d.prototype.writeIntLE = function(c, l, m, v) {
14605
14608
  if (c = +c, l = l >>> 0, !v) {
14606
14609
  const le = Math.pow(2, 8 * m - 1);
14607
14610
  Re(this, c, l, m, le - 1, -le);
@@ -14610,7 +14613,7 @@ ir.write = function(n, e, t, r, o, i) {
14610
14613
  for (this[l] = c & 255; ++w < m && (C *= 256); )
14611
14614
  c < 0 && Y === 0 && this[l + w - 1] !== 0 && (Y = 1), this[l + w] = (c / C >> 0) - Y & 255;
14612
14615
  return l + m;
14613
- }, u.prototype.writeIntBE = function(c, l, m, v) {
14616
+ }, d.prototype.writeIntBE = function(c, l, m, v) {
14614
14617
  if (c = +c, l = l >>> 0, !v) {
14615
14618
  const le = Math.pow(2, 8 * m - 1);
14616
14619
  Re(this, c, l, m, le - 1, -le);
@@ -14619,20 +14622,20 @@ ir.write = function(n, e, t, r, o, i) {
14619
14622
  for (this[l + w] = c & 255; --w >= 0 && (C *= 256); )
14620
14623
  c < 0 && Y === 0 && this[l + w + 1] !== 0 && (Y = 1), this[l + w] = (c / C >> 0) - Y & 255;
14621
14624
  return l + m;
14622
- }, u.prototype.writeInt8 = function(c, l, m) {
14625
+ }, d.prototype.writeInt8 = function(c, l, m) {
14623
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;
14624
- }, u.prototype.writeInt16LE = function(c, l, m) {
14627
+ }, d.prototype.writeInt16LE = function(c, l, m) {
14625
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;
14626
- }, u.prototype.writeInt16BE = function(c, l, m) {
14629
+ }, d.prototype.writeInt16BE = function(c, l, m) {
14627
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;
14628
- }, u.prototype.writeInt32LE = function(c, l, m) {
14631
+ }, d.prototype.writeInt32LE = function(c, l, m) {
14629
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;
14630
- }, u.prototype.writeInt32BE = function(c, l, m) {
14633
+ }, d.prototype.writeInt32BE = function(c, l, m) {
14631
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;
14632
- }, u.prototype.writeBigInt64LE = dt(function(c, l = 0) {
14633
- return dr(this, c, l, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
14634
- }), u.prototype.writeBigInt64BE = dt(function(c, l = 0) {
14635
+ }, d.prototype.writeBigInt64LE = ut(function(c, l = 0) {
14635
14636
  return ur(this, c, l, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
14637
+ }), d.prototype.writeBigInt64BE = ut(function(c, l = 0) {
14638
+ return dr(this, c, l, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
14636
14639
  });
14637
14640
  function pr(h, c, l, m, v, w) {
14638
14641
  if (l + m > h.length)
@@ -14643,20 +14646,20 @@ ir.write = function(n, e, t, r, o, i) {
14643
14646
  function hr(h, c, l, m, v) {
14644
14647
  return c = +c, l = l >>> 0, v || pr(h, c, l, 4), t.write(h, c, l, m, 23, 4), l + 4;
14645
14648
  }
14646
- u.prototype.writeFloatLE = function(c, l, m) {
14649
+ d.prototype.writeFloatLE = function(c, l, m) {
14647
14650
  return hr(this, c, l, !0, m);
14648
- }, u.prototype.writeFloatBE = function(c, l, m) {
14651
+ }, d.prototype.writeFloatBE = function(c, l, m) {
14649
14652
  return hr(this, c, l, !1, m);
14650
14653
  };
14651
14654
  function mr(h, c, l, m, v) {
14652
14655
  return c = +c, l = l >>> 0, v || pr(h, c, l, 8), t.write(h, c, l, m, 52, 8), l + 8;
14653
14656
  }
14654
- u.prototype.writeDoubleLE = function(c, l, m) {
14657
+ d.prototype.writeDoubleLE = function(c, l, m) {
14655
14658
  return mr(this, c, l, !0, m);
14656
- }, u.prototype.writeDoubleBE = function(c, l, m) {
14659
+ }, d.prototype.writeDoubleBE = function(c, l, m) {
14657
14660
  return mr(this, c, l, !1, m);
14658
- }, u.prototype.copy = function(c, l, m, v) {
14659
- if (!u.isBuffer(c))
14661
+ }, d.prototype.copy = function(c, l, m, v) {
14662
+ if (!d.isBuffer(c))
14660
14663
  throw new TypeError("argument should be a Buffer");
14661
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)
14662
14665
  return 0;
@@ -14673,11 +14676,11 @@ ir.write = function(n, e, t, r, o, i) {
14673
14676
  this.subarray(m, v),
14674
14677
  l
14675
14678
  ), w;
14676
- }, u.prototype.fill = function(c, l, m, v) {
14679
+ }, d.prototype.fill = function(c, l, m, v) {
14677
14680
  if (typeof c == "string") {
14678
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")
14679
14682
  throw new TypeError("encoding must be a string");
14680
- if (typeof v == "string" && !u.isEncoding(v))
14683
+ if (typeof v == "string" && !d.isEncoding(v))
14681
14684
  throw new TypeError("Unknown encoding: " + v);
14682
14685
  if (c.length === 1) {
14683
14686
  const C = c.charCodeAt(0);
@@ -14695,7 +14698,7 @@ ir.write = function(n, e, t, r, o, i) {
14695
14698
  for (w = l; w < m; ++w)
14696
14699
  this[w] = c;
14697
14700
  else {
14698
- const C = u.isBuffer(c) ? c : u.from(c, v), Y = C.length;
14701
+ const C = d.isBuffer(c) ? c : d.from(c, v), Y = C.length;
14699
14702
  if (Y === 0)
14700
14703
  throw new TypeError('The value "' + c + '" is invalid for argument "value"');
14701
14704
  for (w = 0; w < m - l; ++w)
@@ -14882,7 +14885,7 @@ ir.write = function(n, e, t, r, o, i) {
14882
14885
  }
14883
14886
  return c;
14884
14887
  }();
14885
- function dt(h) {
14888
+ function ut(h) {
14886
14889
  return typeof BigInt > "u" ? jo : h;
14887
14890
  }
14888
14891
  function jo() {
@@ -15147,7 +15150,7 @@ const La = fo.Buffer, Mn = {
15147
15150
  }, ls = /* @__PURE__ */ y("img", {
15148
15151
  src: "https://cdn.tapni.co/icons/outlook.png",
15149
15152
  style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
15150
- }, null, -1), ds = { key: 0 }, us = {
15153
+ }, null, -1), us = { key: 0 }, ds = {
15151
15154
  key: 1,
15152
15155
  class: "button--loading-black button__loader"
15153
15156
  }, ps = /* @__PURE__ */ y("img", {
@@ -15217,7 +15220,7 @@ function Ps(n, e, t, r, o, i) {
15217
15220
  required: "",
15218
15221
  minlength: "8"
15219
15222
  }, null, 8, Qa), [
15220
- [un, o.password]
15223
+ [dn, o.password]
15221
15224
  ]),
15222
15225
  y("em", {
15223
15226
  onClick: e[4] || (e[4] = (s) => o.revealPassword = !o.revealPassword),
@@ -15266,7 +15269,7 @@ function Ps(n, e, t, r, o, i) {
15266
15269
  class: "button-center button button-90 google-button pointer"
15267
15270
  }, [
15268
15271
  ls,
15269
- n.microsoftLoad ? (S(), P("span", us)) : (S(), P("span", ds, U(n.ssoLang[n.appLanguage].sign_in_with) + " Outlook", 1))
15272
+ n.microsoftLoad ? (S(), P("span", ds)) : (S(), P("span", us, U(n.ssoLang[n.appLanguage].sign_in_with) + " Outlook", 1))
15270
15273
  ])),
15271
15274
  n.displayMicrosoftSSOLogin ? ee("", !0) : (S(), P("a", {
15272
15275
  key: 6,
@@ -15460,10 +15463,10 @@ const _o = /* @__PURE__ */ We(za, [["render", Ps]]), Ms = {
15460
15463
  }, cc = /* @__PURE__ */ y("img", {
15461
15464
  src: "https://cdn.tapni.co/icons/facebook-blue.png",
15462
15465
  style: { position: "absolute", "margin-left": "-10px", padding: "10px 0", height: "100%" }
15463
- }, null, -1), lc = { key: 0 }, dc = {
15466
+ }, null, -1), lc = { key: 0 }, uc = {
15464
15467
  key: 1,
15465
15468
  class: "button--loading-black button__loader"
15466
- }, uc = /* @__PURE__ */ y("img", {
15469
+ }, dc = /* @__PURE__ */ y("img", {
15467
15470
  src: "https://cdn.tapni.co/icons/mail.png",
15468
15471
  style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
15469
15472
  }, 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 = {
@@ -15540,7 +15543,7 @@ function Cc(n, e, t, r, o, i) {
15540
15543
  required: "",
15541
15544
  minlength: "8"
15542
15545
  }, null, 8, Ws), [
15543
- [un, o.password]
15546
+ [dn, o.password]
15544
15547
  ]),
15545
15548
  y("em", {
15546
15549
  onClick: e[6] || (e[6] = (s) => o.revealPassword = !o.revealPassword),
@@ -15580,14 +15583,14 @@ function Cc(n, e, t, r, o, i) {
15580
15583
  class: "button-center button button-90 google-button pointer"
15581
15584
  }, [
15582
15585
  cc,
15583
- n.facebookLoad ? (S(), P("span", dc)) : (S(), P("span", lc, U(n.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
15586
+ n.facebookLoad ? (S(), P("span", uc)) : (S(), P("span", lc, U(n.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
15584
15587
  ])) : ee("", !0),
15585
15588
  o.emailLogin ? ee("", !0) : (S(), P("a", {
15586
15589
  key: 4,
15587
15590
  onClick: e[10] || (e[10] = (s) => o.emailLogin = !0),
15588
15591
  class: "button-center button button-90 google-button pointer"
15589
15592
  }, [
15590
- uc,
15593
+ dc,
15591
15594
  y("span", null, U(n.ssoLang[this.appLanguage].sign_up_with) + " Email", 1)
15592
15595
  ])),
15593
15596
  pc,
@@ -15894,7 +15897,7 @@ const yo = /* @__PURE__ */ We(Ec, [["render", $c], ["__scopeId", "data-v-75db7f0
15894
15897
  }, al = {
15895
15898
  key: 1,
15896
15899
  class: "button--loading button__loader"
15897
- }, 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 = {
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 = {
15898
15901
  class: "bold no-bottom center-text",
15899
15902
  style: { "margin-top": "63px" }
15900
15903
  }, 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" } }, [
@@ -15948,7 +15951,7 @@ function Ll(n, e, t, r, o, i) {
15948
15951
  placeholder: n.ssoLang[this.appLanguage].password,
15949
15952
  required: ""
15950
15953
  }, null, 8, vl), [
15951
- [un, o.password]
15954
+ [dn, o.password]
15952
15955
  ]),
15953
15956
  y("em", {
15954
15957
  onClick: e[4] || (e[4] = (s) => o.revealPassword = !o.revealPassword)
@@ -15969,7 +15972,7 @@ function Ll(n, e, t, r, o, i) {
15969
15972
  placeholder: n.ssoLang[this.appLanguage].password_repeat,
15970
15973
  required: ""
15971
15974
  }, null, 8, Cl), [
15972
- [un, o.passwordRepeat]
15975
+ [dn, o.passwordRepeat]
15973
15976
  ]),
15974
15977
  y("em", {
15975
15978
  onClick: e[6] || (e[6] = (s) => o.revealPassword2 = !o.revealPassword2)
@@ -16028,9 +16031,9 @@ function Ll(n, e, t, r, o, i) {
16028
16031
  }, null, 8, ll),
16029
16032
  y("a", {
16030
16033
  href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
16031
- }, " support@tapni.com", 8, dl)
16034
+ }, " support@tapni.com", 8, ul)
16032
16035
  ]),
16033
- ul,
16036
+ dl,
16034
16037
  y("div", pl, [
16035
16038
  ke(a, {
16036
16039
  class: "create float-right",
@@ -16261,29 +16264,29 @@ const Co = /* @__PURE__ */ We(Fl, [["render", Jl], ["__scopeId", "data-v-11f19a0
16261
16264
  class: "responsive-image",
16262
16265
  style: { width: "45%" }
16263
16266
  })
16264
- ], -1)), ed = [
16267
+ ], -1)), eu = [
16265
16268
  Zl
16266
- ], td = { class: "bold center-text color-black half-top half-bottom" }, nd = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16269
+ ], tu = { class: "bold center-text color-black half-top half-bottom" }, nu = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16267
16270
  src: "https://cdn.tapni.co/icons/azure.png",
16268
16271
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
16269
- }, null, -1)), rd = { key: 0 }, od = {
16272
+ }, null, -1)), ru = { key: 0 }, ou = {
16270
16273
  key: 1,
16271
16274
  class: "button--loading button__loader"
16272
- }, id = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16275
+ }, iu = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16273
16276
  src: "https://cdn.tapni.co/icons/okta.png",
16274
16277
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
16275
- }, null, -1)), ad = { key: 0 }, sd = {
16278
+ }, null, -1)), au = { key: 0 }, su = {
16276
16279
  key: 1,
16277
16280
  class: "button--loading button__loader"
16278
- }, cd = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16281
+ }, cu = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16279
16282
  src: "https://cdn.tapni.co/icons/saml.png",
16280
16283
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
16281
- }, null, -1)), ld = { key: 0 }, dd = {
16284
+ }, null, -1)), lu = { key: 0 }, uu = {
16282
16285
  key: 1,
16283
16286
  class: "button--loading button__loader"
16284
16287
  };
16285
- function ud(n, e, t, r, o, i) {
16286
- var a, s, d;
16288
+ function du(n, e, t, r, o, i) {
16289
+ var a, s, u;
16287
16290
  return S(), P("form", {
16288
16291
  onSubmit: e[4] || (e[4] = Oe(() => {
16289
16292
  }, ["prevent"])),
@@ -16294,35 +16297,35 @@ function ud(n, e, t, r, o, i) {
16294
16297
  onClick: e[0] || (e[0] = (...p) => i.forceClose && i.forceClose(...p)),
16295
16298
  class: "color-black pull-right pointer",
16296
16299
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
16297
- }, ed),
16298
- y("h3", td, U(n.ssoLang[n.appLanguage].select_sign_method), 1),
16300
+ }, eu),
16301
+ y("h3", tu, U(n.ssoLang[n.appLanguage].select_sign_method), 1),
16299
16302
  (a = o.sso) != null && a.azure ? (S(), P("a", {
16300
16303
  key: 0,
16301
16304
  onClick: e[1] || (e[1] = (p) => i.ssoLogin("azure")),
16302
16305
  class: "button-center button black-button button-90 google-button pointer"
16303
16306
  }, [
16304
- nd,
16305
- o.azureLoad ? (S(), P("span", od)) : (S(), P("span", rd, U(n.ssoLang[n.appLanguage].sign_in_with) + " Azure", 1))
16307
+ nu,
16308
+ o.azureLoad ? (S(), P("span", ou)) : (S(), P("span", ru, U(n.ssoLang[n.appLanguage].sign_in_with) + " Azure", 1))
16306
16309
  ])) : ee("", !0),
16307
16310
  (s = o.sso) != null && s.okta ? (S(), P("a", {
16308
16311
  key: 1,
16309
16312
  onClick: e[2] || (e[2] = (p) => i.ssoLogin("okta")),
16310
16313
  class: "button-center button black-button button-90 google-button pointer"
16311
16314
  }, [
16312
- id,
16313
- o.oktaLoad ? (S(), P("span", sd)) : (S(), P("span", ad, U(n.ssoLang[n.appLanguage].sign_in_with) + " Okta", 1))
16315
+ iu,
16316
+ o.oktaLoad ? (S(), P("span", su)) : (S(), P("span", au, U(n.ssoLang[n.appLanguage].sign_in_with) + " Okta", 1))
16314
16317
  ])) : ee("", !0),
16315
- (d = o.sso) != null && d.saml ? (S(), P("a", {
16318
+ (u = o.sso) != null && u.saml ? (S(), P("a", {
16316
16319
  key: 2,
16317
16320
  onClick: e[3] || (e[3] = (p) => i.ssoLogin("saml")),
16318
16321
  class: "button-center button black-button button-90 google-button pointer"
16319
16322
  }, [
16320
- cd,
16321
- o.samlLoad ? (S(), P("span", dd)) : (S(), P("span", ld, U(n.ssoLang[n.appLanguage].sign_in_with) + " SAML", 1))
16323
+ cu,
16324
+ o.samlLoad ? (S(), P("span", uu)) : (S(), P("span", lu, U(n.ssoLang[n.appLanguage].sign_in_with) + " SAML", 1))
16322
16325
  ])) : ee("", !0)
16323
16326
  ], 34);
16324
16327
  }
16325
- const Eo = /* @__PURE__ */ We(Xl, [["render", ud], ["__scopeId", "data-v-4f821f65"]]), pd = {
16328
+ const Eo = /* @__PURE__ */ We(Xl, [["render", du], ["__scopeId", "data-v-4f821f65"]]), pu = {
16326
16329
  name: "LinkIcon",
16327
16330
  mixins: [ze],
16328
16331
  props: {
@@ -16394,8 +16397,8 @@ const Eo = /* @__PURE__ */ We(Xl, [["render", ud], ["__scopeId", "data-v-4f821f6
16394
16397
  }
16395
16398
  },
16396
16399
  methods: {}
16397
- }, hd = ["src", "alt"], md = ["src", "alt"], fd = ["src", "alt"], gd = ["src", "alt"];
16398
- function _d(n, e, t, r, o, i) {
16400
+ }, hu = ["src", "alt"], mu = ["src", "alt"], fu = ["src", "alt"], gu = ["src", "alt"];
16401
+ function _u(n, e, t, r, o, i) {
16399
16402
  var a, s;
16400
16403
  return S(), P("a", {
16401
16404
  class: Ie(["disable-select", t.linkStyle + (t.disabled ? " opacity-50" : "")]),
@@ -16416,31 +16419,31 @@ function _d(n, e, t, r, o, i) {
16416
16419
  src: "https://cdn.tapni.co/icons/" + t.data.type + ".png",
16417
16420
  class: "responsive-image",
16418
16421
  alt: t.data.text,
16419
- onLoad: e[0] || (e[0] = (d) => n.$emit("loaded")),
16420
- onError: e[1] || (e[1] = (d) => n.$emit("loaded"))
16421
- }, null, 40, hd)) : !t.data.custom_icon && t.data.type === "customlink" && t.linkAdding ? (S(), P("img", {
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", {
16422
16425
  key: 1,
16423
16426
  src: "https://cdn.tapni.co/icons/custom-icon-128.gif",
16424
16427
  class: "responsive-image",
16425
16428
  alt: t.data.text,
16426
- onLoad: e[2] || (e[2] = (d) => n.$emit("loaded")),
16427
- onError: e[3] || (e[3] = (d) => n.$emit("loaded"))
16428
- }, null, 40, md)) : !t.data.custom_icon && t.data.type === "customlink" && !t.linkAdding ? (S(), P("img", {
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", {
16429
16432
  key: 2,
16430
16433
  src: "https://cdn.tapni.co/icons/customlink.png",
16431
16434
  class: "responsive-image",
16432
16435
  alt: t.data.text,
16433
- onLoad: e[4] || (e[4] = (d) => n.$emit("loaded")),
16434
- onError: e[5] || (e[5] = (d) => n.$emit("loaded"))
16435
- }, null, 40, fd)) : (S(), P("img", {
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", {
16436
16439
  key: 3,
16437
16440
  src: t.data.style.custom_icon,
16438
16441
  style: { "border-radius": "22.46%" },
16439
16442
  class: "responsive-image",
16440
16443
  alt: t.data.text,
16441
- onLoad: e[6] || (e[6] = (d) => n.$emit("loaded")),
16442
- onError: e[7] || (e[7] = (d) => n.$emit("loaded"))
16443
- }, null, 40, gd))
16444
+ onLoad: e[6] || (e[6] = (u) => n.$emit("loaded")),
16445
+ onError: e[7] || (e[7] = (u) => n.$emit("loaded"))
16446
+ }, null, 40, gu))
16444
16447
  ], 6),
16445
16448
  y("span", {
16446
16449
  class: "link-text link-drag color-black",
@@ -16448,17 +16451,17 @@ function _d(n, e, t, r, o, i) {
16448
16451
  }, U(i.linkText), 5)
16449
16452
  ], 6);
16450
16453
  }
16451
- const vd = /* @__PURE__ */ We(pd, [["render", _d]]), yd = {
16454
+ const vu = /* @__PURE__ */ We(pu, [["render", _u]]), yu = {
16452
16455
  ANDROID_VERSION: "5.6",
16453
16456
  IOS_VERSION: "5.6",
16454
16457
  WEB_VERSION: "5.6.0",
16455
16458
  SUPPORTED_LANGUAGES: ["en", "de", "es", "kr", "it", "fr"],
16456
16459
  METAPIXEL_ID: "1203678696914368",
16457
16460
  GOOGLE_ANALYTICS_ID: ""
16458
- }, kd = {
16461
+ }, ku = {
16459
16462
  name: "Language",
16460
16463
  mixins: [ze],
16461
- components: { LinkIcon: vd },
16464
+ components: { LinkIcon: vu },
16462
16465
  data() {
16463
16466
  return {
16464
16467
  toggle: !1
@@ -16469,7 +16472,7 @@ const vd = /* @__PURE__ */ We(pd, [["render", _d]]), yd = {
16469
16472
  this.toggle = !1;
16470
16473
  });
16471
16474
  let n = this.isNative ? await pn.getLanguageCode() : zt.getFirstBrowserLanguage();
16472
- n && yd.SUPPORTED_LANGUAGES.includes(n) && this.updateLanguage(n);
16475
+ n && yu.SUPPORTED_LANGUAGES.includes(n) && this.updateLanguage(n);
16473
16476
  },
16474
16477
  beforeDestroy() {
16475
16478
  z._events.toggleSSOLanguageModal.pop();
@@ -16488,16 +16491,16 @@ const vd = /* @__PURE__ */ We(pd, [["render", _d]]), yd = {
16488
16491
  this.toggle = !this.toggle;
16489
16492
  }
16490
16493
  }
16491
- }, wd = (n) => (Dt("data-v-29699ad7"), n = n(), Ht(), n), bd = /* @__PURE__ */ wd(() => /* @__PURE__ */ y("i", { class: "font-17 fa color-black" }, [
16494
+ }, wu = (n) => (Dt("data-v-29699ad7"), n = n(), Ht(), n), bu = /* @__PURE__ */ wu(() => /* @__PURE__ */ y("i", { class: "font-17 fa color-black" }, [
16492
16495
  /* @__PURE__ */ y("img", {
16493
16496
  src: "https://cdn.tapni.co/icons/down-arrow.png",
16494
16497
  class: "fa responsive-image",
16495
16498
  style: { width: "45%" }
16496
16499
  })
16497
- ], -1)), Cd = [
16498
- bd
16499
- ], Ed = { class: "bold center-text color-black small-bottom" };
16500
- function Td(n, e, t, r, o, i) {
16500
+ ], -1)), Cu = [
16501
+ bu
16502
+ ], Eu = { class: "bold center-text color-black small-bottom" };
16503
+ function Tu(n, e, t, r, o, i) {
16501
16504
  const a = Bt("LinkIcon");
16502
16505
  return S(), P("div", {
16503
16506
  class: Ie(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu": o.toggle }]),
@@ -16507,8 +16510,8 @@ function Td(n, e, t, r, o, i) {
16507
16510
  onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
16508
16511
  class: "color-black pull-right pointer",
16509
16512
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
16510
- }, Cd),
16511
- y("h3", Ed, U(n.ssoLang[n.appLanguage].app_language), 1),
16513
+ }, Cu),
16514
+ y("h3", Eu, U(n.ssoLang[n.appLanguage].app_language), 1),
16512
16515
  ke(a, {
16513
16516
  onClick: e[1] || (e[1] = (s) => i.updateLanguage("en")),
16514
16517
  "link-style": "link-grid",
@@ -16567,38 +16570,38 @@ function Td(n, e, t, r, o, i) {
16567
16570
  }, null, 8, ["data"])
16568
16571
  ], 2);
16569
16572
  }
16570
- const To = /* @__PURE__ */ We(kd, [["render", Td], ["__scopeId", "data-v-29699ad7"]]);
16571
- 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 };
16572
- const Sd = { id: "ssoapp" }, Ad = {
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 = {
16573
16576
  key: 0,
16574
16577
  href: "/",
16575
16578
  class: "header-logo"
16576
- }, Rd = /* @__PURE__ */ y("img", {
16579
+ }, Ru = /* @__PURE__ */ y("img", {
16577
16580
  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",
16578
16581
  onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
16579
16582
  class: "header-logo-img"
16580
- }, null, -1), Pd = [
16581
- Rd
16582
- ], Md = { class: "lang-icon" }, Nd = {
16583
+ }, null, -1), Pu = [
16584
+ Ru
16585
+ ], Mu = { class: "lang-icon" }, Nu = {
16583
16586
  class: "snackbar snackbar-boxed",
16584
16587
  id: "snackbar"
16585
- }, Ld = {
16588
+ }, Lu = {
16586
16589
  class: "snack-body",
16587
16590
  id: "errorSnack"
16588
- }, Od = { id: "errorMessage" }, zd = /* @__PURE__ */ y("img", {
16591
+ }, Ou = { id: "errorMessage" }, zu = /* @__PURE__ */ y("img", {
16589
16592
  src: "https://cdn.tapni.co/icons/notification-close.png",
16590
16593
  style: { width: "100%" }
16591
- }, null, -1), Ud = [
16592
- zd
16593
- ], xd = {
16594
+ }, null, -1), Uu = [
16595
+ zu
16596
+ ], xu = {
16594
16597
  class: "snack-body",
16595
16598
  id: "successSnack"
16596
- }, Bd = { id: "successMessage" }, Dd = /* @__PURE__ */ y("img", {
16599
+ }, Bu = { id: "successMessage" }, Du = /* @__PURE__ */ y("img", {
16597
16600
  src: "https://cdn.tapni.co/icons/notification-close.png",
16598
16601
  style: { width: "100%" }
16599
- }, null, -1), Hd = [
16600
- Dd
16601
- ], qd = {
16602
+ }, null, -1), Hu = [
16603
+ Du
16604
+ ], qu = {
16602
16605
  name: "TapniAuth",
16603
16606
  mixins: [ze],
16604
16607
  data() {
@@ -16671,20 +16674,20 @@ const Sd = { id: "ssoapp" }, Ad = {
16671
16674
  });
16672
16675
  }
16673
16676
  }
16674
- }, Hr = /* @__PURE__ */ Object.assign(qd, {
16677
+ }, Hr = /* @__PURE__ */ Object.assign(qu, {
16675
16678
  setup(n) {
16676
16679
  return document.addEventListener("DOMContentLoaded", function() {
16677
16680
  const e = document.createElement("script");
16678
- e.src = `https://www.google.com/recaptcha/api.js?render=${Id.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(e);
16679
- }), (e, t) => (S(), P("div", Sd, [
16680
- e.display === "redirect" || e.renderView.includes("Auth") ? (S(), P("a", Ad, Pd)) : ee("", !0),
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),
16681
16684
  e.display === "redirect" ? (S(), P("a", {
16682
16685
  key: 1,
16683
16686
  onClick: t[0] || (t[0] = (...r) => e.toggleSSOLanguageModal && e.toggleSSOLanguageModal(...r)),
16684
16687
  class: "font-18 no-border pointer color-black",
16685
16688
  style: { position: "absolute", right: "20px", top: "-10px", "z-index": "1" }
16686
16689
  }, [
16687
- y("span", Md, U(e.appLanguage.toUpperCase()), 1)
16690
+ y("span", Mu, U(e.appLanguage.toUpperCase()), 1)
16688
16691
  ])) : ee("", !0),
16689
16692
  ke(bo),
16690
16693
  n.isModal ? ee("", !0) : (S(), qe(To, { key: 2 })),
@@ -16700,25 +16703,25 @@ const Sd = { id: "ssoapp" }, Ad = {
16700
16703
  key: 8,
16701
16704
  isModal: n.isModal
16702
16705
  }, 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),
16703
- y("div", Nd, [
16704
- y("p", Ld, [
16705
- y("span", Od, U(e.ssoLang[e.appLanguage].error), 1),
16706
+ y("div", Nu, [
16707
+ y("p", Lu, [
16708
+ y("span", Ou, U(e.ssoLang[e.appLanguage].error), 1),
16706
16709
  y("a", {
16707
16710
  onClick: t[1] || (t[1] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
16708
16711
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
16709
- }, Ud)
16712
+ }, Uu)
16710
16713
  ]),
16711
- y("p", xd, [
16712
- y("span", Bd, U(e.ssoLang[e.appLanguage].success), 1),
16714
+ y("p", xu, [
16715
+ y("span", Bu, U(e.ssoLang[e.appLanguage].success), 1),
16713
16716
  y("a", {
16714
16717
  onClick: t[2] || (t[2] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
16715
16718
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
16716
- }, Hd)
16719
+ }, Hu)
16717
16720
  ])
16718
16721
  ])
16719
16722
  ]));
16720
16723
  }
16721
- }), Zd = {
16724
+ }), Zu = {
16722
16725
  TapniAuth: Hr,
16723
16726
  AuthMixin: ze,
16724
16727
  install: (n, e) => {
@@ -16726,5 +16729,5 @@ const Sd = { id: "ssoapp" }, Ad = {
16726
16729
  }
16727
16730
  };
16728
16731
  export {
16729
- Zd as default
16732
+ Zu as default
16730
16733
  };