@tapni/auth 0.0.169 → 0.0.171

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.
Files changed (69) hide show
  1. package/README.md +2 -0
  2. package/dist/.vite/manifest.json +18 -10
  3. package/dist/.well-known/assetlinks.json +10 -12
  4. package/dist/.well-known/microsoft-identity-association.json +5 -5
  5. package/dist/{Account-ja1hZJy5.js → Account-BB71UmF3.js} +31 -32
  6. package/dist/{QR-ybXT1KGe.js → QR-BJnR_0ci.js} +3 -3
  7. package/dist/TapniAuth.es.js +1 -1
  8. package/dist/TapniAuth.umd.js +9 -9
  9. package/dist/blank.html +31 -0
  10. package/dist/{install-4aK3Wz63.js → install-Cx9Gi17U.js} +753 -997
  11. package/dist/site.webmanifest +11 -1
  12. package/dist/style.css +1 -1
  13. package/dist/{web-NrPZl3qD.js → web-XbruGdlD.js} +2 -5
  14. package/package.json +64 -55
  15. package/src/.prettierrc.json +16 -0
  16. package/src/App.vue +249 -265
  17. package/src/components/Language.vue +66 -143
  18. package/src/components/LinkIcon.vue +174 -225
  19. package/src/components/ModalOverlay.vue +47 -50
  20. package/src/components/OTP.vue +64 -94
  21. package/src/components/SSO.vue +80 -111
  22. package/src/components/SSOPick.vue +93 -148
  23. package/src/eslint.config.js +15 -0
  24. package/src/install.js +9 -10
  25. package/src/main.js +54 -57
  26. package/src/mixins/apple.mixin.js +56 -54
  27. package/src/mixins/auth.mixin.js +21 -74
  28. package/src/mixins/facebook.mixin.js +67 -66
  29. package/src/mixins/global.mixin.js +107 -109
  30. package/src/mixins/google.mixin.js +53 -54
  31. package/src/mixins/mfa-auth.mixin.js +68 -68
  32. package/src/mixins/microsoft.mixin.js +67 -75
  33. package/src/mixins/okta.mixin.js +50 -57
  34. package/src/mixins/qr-auth.mixin.js +111 -107
  35. package/src/mixins/saml.mixin.js +97 -48
  36. package/src/router/index.js +6 -6
  37. package/src/routes.js +60 -66
  38. package/src/services/Api.js +55 -57
  39. package/src/services/AuthService.js +75 -75
  40. package/src/services/CompanyService.js +10 -10
  41. package/src/services/DeviceService.js +3 -3
  42. package/src/services/UserService.js +45 -45
  43. package/src/services/UtilService.js +256 -218
  44. package/src/store/auth.js +471 -543
  45. package/src/store/constants.js +1 -1
  46. package/src/store/event-bus.js +22 -22
  47. package/src/store/locales/cn.js +442 -458
  48. package/src/store/locales/de.js +438 -517
  49. package/src/store/locales/en.js +449 -510
  50. package/src/store/locales/es.js +442 -524
  51. package/src/store/locales/fr.js +442 -516
  52. package/src/store/locales/it.js +442 -514
  53. package/src/store/locales/kr.js +442 -491
  54. package/src/store/locales/lang.js +43 -43
  55. package/src/store/locales/sr.js +439 -492
  56. package/src/store/locales/tr.js +436 -487
  57. package/src/store/store.js +6 -6
  58. package/src/views/Account.vue +169 -207
  59. package/src/views/Callback.vue +36 -33
  60. package/src/views/Login.vue +220 -392
  61. package/src/views/MFA.vue +89 -103
  62. package/src/views/QR.vue +25 -28
  63. package/src/views/Register.vue +201 -205
  64. package/src/views/Reset.vue +132 -135
  65. package/src/views/Verify.vue +153 -151
  66. package/src/views/Welcome.vue +61 -60
  67. /package/dist/{web-L3jORB19.js → web-AXRKjAOB.js} +0 -0
  68. /package/dist/{web-5VtGcKeU.js → web-IFGkBi0t.js} +0 -0
  69. /package/dist/{web-AImUTDQQ.js → web-LIfHmYL2.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { reactive as Qr, readonly as zi, resolveComponent as Fn, openBlock as N, createElementBlock as x, createElementVNode as _, toDisplayString as Q, createCommentVNode as pe, createVNode as Ue, withCtx as Gt, createTextVNode as ke, pushScopeId as qn, popScopeId as Kn, createStaticVNode as xi, nextTick as So, withModifiers as Ve, normalizeStyle as xn, withDirectives as Ie, withKeys as fn, vModelText as mn, vModelDynamic as _r, vShow as Jt, createBlock as ht, normalizeClass as Ke, vModelCheckbox as Ui, watch as Bi, unref as Di } from "vue";
2
- import { createRouter as Hi, createWebHistory as ji, RouterView as Fi } from "vue-router";
1
+ import { reactive as Qr, readonly as zi, resolveComponent as Fn, createElementBlock as x, openBlock as N, createElementVNode as _, createCommentVNode as pe, createVNode as Ue, toDisplayString as Q, withCtx as Gt, createTextVNode as ke, createStaticVNode as xi, pushScopeId as qn, popScopeId as Kn, nextTick as So, normalizeStyle as xn, withModifiers as Ve, withDirectives as Ie, withKeys as fn, vModelText as mn, vModelDynamic as _r, vShow as Jt, createBlock as ht, normalizeClass as Ke, vModelCheckbox as Ui, watch as Bi, unref as Hi } from "vue";
2
+ import { createRouter as Di, createWebHistory as ji, RouterView as Fi } from "vue-router";
3
3
  import { createNamespacedHelpers as qi, createStore as Ki } from "vuex";
4
4
  import { Capacitor as Yn, registerPlugin as ar, WebPlugin as Gi } from "@capacitor/core";
5
5
  import fe from "await-to-js";
@@ -12,7 +12,7 @@ import { sanitizeUrl as Vi } from "@braintree/sanitize-url";
12
12
  function Qi(n) {
13
13
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
14
14
  }
15
- var Xo = { exports: {} }, Me = Xo.exports = {}, Ht, jt;
15
+ var Xo = { exports: {} }, Me = Xo.exports = {}, Dt, jt;
16
16
  function Yr() {
17
17
  throw new Error("setTimeout has not been defined");
18
18
  }
@@ -21,9 +21,9 @@ function Wr() {
21
21
  }
22
22
  (function() {
23
23
  try {
24
- typeof setTimeout == "function" ? Ht = setTimeout : Ht = Yr;
24
+ typeof setTimeout == "function" ? Dt = setTimeout : Dt = Yr;
25
25
  } catch {
26
- Ht = Yr;
26
+ Dt = Yr;
27
27
  }
28
28
  try {
29
29
  typeof clearTimeout == "function" ? jt = clearTimeout : jt = Wr;
@@ -32,17 +32,17 @@ function Wr() {
32
32
  }
33
33
  })();
34
34
  function Zo(n) {
35
- if (Ht === setTimeout)
35
+ if (Dt === setTimeout)
36
36
  return setTimeout(n, 0);
37
- if ((Ht === Yr || !Ht) && setTimeout)
38
- return Ht = setTimeout, setTimeout(n, 0);
37
+ if ((Dt === Yr || !Dt) && setTimeout)
38
+ return Dt = setTimeout, setTimeout(n, 0);
39
39
  try {
40
- return Ht(n, 0);
40
+ return Dt(n, 0);
41
41
  } catch {
42
42
  try {
43
- return Ht.call(null, n, 0);
43
+ return Dt.call(null, n, 0);
44
44
  } catch {
45
- return Ht.call(this, n, 0);
45
+ return Dt.call(this, n, 0);
46
46
  }
47
47
  }
48
48
  }
@@ -190,12 +190,12 @@ uo.read = function(n, e, t, r, o) {
190
190
  return (k ? -1 : 1) * a * Math.pow(2, i - r);
191
191
  };
192
192
  uo.write = function(n, e, t, r, o, i) {
193
- var a, s, u, p = i * 8 - o - 1, l = (1 << p) - 1, g = l >> 1, f = o === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, k = r ? 0 : i - 1, E = r ? 1 : -1, P = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
193
+ var a, s, u, p = i * 8 - o - 1, l = (1 << p) - 1, g = l >> 1, f = o === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, k = r ? 0 : i - 1, E = r ? 1 : -1, R = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
194
194
  for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (s = isNaN(e) ? 1 : 0, a = l) : (a = Math.floor(Math.log(e) / Math.LN2), e * (u = Math.pow(2, -a)) < 1 && (a--, u *= 2), a + g >= 1 ? e += f / u : e += f * Math.pow(2, 1 - g), e * u >= 2 && (a++, u /= 2), a + g >= l ? (s = 0, a = l) : a + g >= 1 ? (s = (e * u - 1) * Math.pow(2, o), a = a + g) : (s = e * Math.pow(2, g - 1) * Math.pow(2, o), a = 0)); o >= 8; n[t + k] = s & 255, k += E, s /= 256, o -= 8)
195
195
  ;
196
196
  for (a = a << o | s, p += o; p > 0; n[t + k] = a & 255, k += E, a /= 256, p -= 8)
197
197
  ;
198
- n[t + k - E] |= P * 128;
198
+ n[t + k - E] |= R * 128;
199
199
  };
200
200
  /*!
201
201
  * The buffer module from node.js, for the browser.
@@ -254,7 +254,7 @@ uo.write = function(n, e, t, r, o, i) {
254
254
  l.poolSize = 8192;
255
255
  function g(h, c, d) {
256
256
  if (typeof h == "string")
257
- return P(h, c);
257
+ return R(h, c);
258
258
  if (a.isView(h))
259
259
  return K(h);
260
260
  if (h == null)
@@ -271,8 +271,7 @@ uo.write = function(n, e, t, r, o, i) {
271
271
  if (m != null && m !== h)
272
272
  return l.from(m, c, d);
273
273
  const b = T(h);
274
- if (b)
275
- return b;
274
+ if (b) return b;
276
275
  if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof h[Symbol.toPrimitive] == "function")
277
276
  return l.from(h[Symbol.toPrimitive]("string"), c, d);
278
277
  throw new TypeError(
@@ -295,14 +294,14 @@ uo.write = function(n, e, t, r, o, i) {
295
294
  return k(h, c, d);
296
295
  };
297
296
  function E(h) {
298
- return f(h), p(h < 0 ? 0 : D(h) | 0);
297
+ return f(h), p(h < 0 ? 0 : H(h) | 0);
299
298
  }
300
299
  l.allocUnsafe = function(h) {
301
300
  return E(h);
302
301
  }, l.allocUnsafeSlow = function(h) {
303
302
  return E(h);
304
303
  };
305
- function P(h, c) {
304
+ function R(h, c) {
306
305
  if ((typeof c != "string" || c === "") && (c = "utf8"), !l.isEncoding(c))
307
306
  throw new TypeError("Unknown encoding: " + c);
308
307
  const d = J(h, c) | 0;
@@ -311,7 +310,7 @@ uo.write = function(n, e, t, r, o, i) {
311
310
  return b !== d && (m = m.slice(0, b)), m;
312
311
  }
313
312
  function j(h) {
314
- const c = h.length < 0 ? 0 : D(h.length) | 0, d = p(c);
313
+ const c = h.length < 0 ? 0 : H(h.length) | 0, d = p(c);
315
314
  for (let m = 0; m < c; m += 1)
316
315
  d[m] = h[m] & 255;
317
316
  return d;
@@ -333,7 +332,7 @@ uo.write = function(n, e, t, r, o, i) {
333
332
  }
334
333
  function T(h) {
335
334
  if (l.isBuffer(h)) {
336
- const c = D(h.length) | 0, d = p(c);
335
+ const c = H(h.length) | 0, d = p(c);
337
336
  return d.length === 0 || h.copy(d, 0, 0, c), d;
338
337
  }
339
338
  if (h.length !== void 0)
@@ -341,7 +340,7 @@ uo.write = function(n, e, t, r, o, i) {
341
340
  if (h.type === "Buffer" && Array.isArray(h.data))
342
341
  return j(h.data);
343
342
  }
344
- function D(h) {
343
+ function H(h) {
345
344
  if (h >= o)
346
345
  throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + o.toString(16) + " bytes");
347
346
  return h | 0;
@@ -356,10 +355,9 @@ uo.write = function(n, e, t, r, o, i) {
356
355
  throw new TypeError(
357
356
  'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
358
357
  );
359
- if (c === d)
360
- return 0;
358
+ if (c === d) return 0;
361
359
  let m = c.length, b = d.length;
362
- for (let S = 0, R = Math.min(m, b); S < R; ++S)
360
+ for (let S = 0, P = Math.min(m, b); S < P; ++S)
363
361
  if (c[S] !== d[S]) {
364
362
  m = c[S], b = d[S];
365
363
  break;
@@ -394,18 +392,18 @@ uo.write = function(n, e, t, r, o, i) {
394
392
  const b = l.allocUnsafe(d);
395
393
  let S = 0;
396
394
  for (m = 0; m < c.length; ++m) {
397
- let R = c[m];
398
- if (ze(R, i))
399
- S + R.length > b.length ? (l.isBuffer(R) || (R = l.from(R)), R.copy(b, S)) : i.prototype.set.call(
395
+ let P = c[m];
396
+ if (ze(P, i))
397
+ S + P.length > b.length ? (l.isBuffer(P) || (P = l.from(P)), P.copy(b, S)) : i.prototype.set.call(
400
398
  b,
401
- R,
399
+ P,
402
400
  S
403
401
  );
404
- else if (l.isBuffer(R))
405
- R.copy(b, S);
402
+ else if (l.isBuffer(P))
403
+ P.copy(b, S);
406
404
  else
407
405
  throw new TypeError('"list" argument must be an Array of Buffers');
408
- S += R.length;
406
+ S += P.length;
409
407
  }
410
408
  return b;
411
409
  };
@@ -419,8 +417,7 @@ uo.write = function(n, e, t, r, o, i) {
419
417
  'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof h
420
418
  );
421
419
  const d = h.length, m = arguments.length > 2 && arguments[2] === !0;
422
- if (!m && d === 0)
423
- return 0;
420
+ if (!m && d === 0) return 0;
424
421
  let b = !1;
425
422
  for (; ; )
426
423
  switch (c) {
@@ -471,8 +468,7 @@ uo.write = function(n, e, t, r, o, i) {
471
468
  case "utf-16le":
472
469
  return An(this, c, d);
473
470
  default:
474
- if (m)
475
- throw new TypeError("Unknown encoding: " + h);
471
+ if (m) throw new TypeError("Unknown encoding: " + h);
476
472
  h = (h + "").toLowerCase(), m = !0;
477
473
  }
478
474
  }
@@ -506,8 +502,7 @@ uo.write = function(n, e, t, r, o, i) {
506
502
  const c = this.length;
507
503
  return c === 0 ? "" : arguments.length === 0 ? Nt(this, 0, c) : te.apply(this, arguments);
508
504
  }, l.prototype.toLocaleString = l.prototype.toString, l.prototype.equals = function(c) {
509
- if (!l.isBuffer(c))
510
- throw new TypeError("Argument must be a Buffer");
505
+ if (!l.isBuffer(c)) throw new TypeError("Argument must be a Buffer");
511
506
  return this === c ? !0 : l.compare(this, c) === 0;
512
507
  }, l.prototype.inspect = function() {
513
508
  let c = "";
@@ -526,29 +521,24 @@ uo.write = function(n, e, t, r, o, i) {
526
521
  return -1;
527
522
  if (d >= m)
528
523
  return 1;
529
- if (d >>>= 0, m >>>= 0, b >>>= 0, S >>>= 0, this === c)
530
- return 0;
531
- let R = S - b, se = m - d;
532
- const we = Math.min(R, se), ge = this.slice(b, S), be = c.slice(d, m);
524
+ if (d >>>= 0, m >>>= 0, b >>>= 0, S >>>= 0, this === c) return 0;
525
+ let P = S - b, se = m - d;
526
+ const we = Math.min(P, se), ge = this.slice(b, S), be = c.slice(d, m);
533
527
  for (let he = 0; he < we; ++he)
534
528
  if (ge[he] !== be[he]) {
535
- R = ge[he], se = be[he];
529
+ P = ge[he], se = be[he];
536
530
  break;
537
531
  }
538
- return R < se ? -1 : se < R ? 1 : 0;
532
+ return P < se ? -1 : se < P ? 1 : 0;
539
533
  };
540
534
  function ve(h, c, d, m, b) {
541
- if (h.length === 0)
542
- return -1;
535
+ if (h.length === 0) return -1;
543
536
  if (typeof d == "string" ? (m = d, d = 0) : d > 2147483647 ? d = 2147483647 : d < -2147483648 && (d = -2147483648), d = +d, dt(d) && (d = b ? 0 : h.length - 1), d < 0 && (d = h.length + d), d >= h.length) {
544
- if (b)
545
- return -1;
537
+ if (b) return -1;
546
538
  d = h.length - 1;
547
539
  } else if (d < 0)
548
- if (b)
549
- d = 0;
550
- else
551
- return -1;
540
+ if (b) d = 0;
541
+ else return -1;
552
542
  if (typeof c == "string" && (c = l.from(c, m)), l.isBuffer(c))
553
543
  return c.length === 0 ? -1 : Se(h, c, d, m, b);
554
544
  if (typeof c == "number")
@@ -556,11 +546,11 @@ uo.write = function(n, e, t, r, o, i) {
556
546
  throw new TypeError("val must be string, number or Buffer");
557
547
  }
558
548
  function Se(h, c, d, m, b) {
559
- let S = 1, R = h.length, se = c.length;
549
+ let S = 1, P = h.length, se = c.length;
560
550
  if (m !== void 0 && (m = String(m).toLowerCase(), m === "ucs2" || m === "ucs-2" || m === "utf16le" || m === "utf-16le")) {
561
551
  if (h.length < 2 || c.length < 2)
562
552
  return -1;
563
- S = 2, R /= 2, se /= 2, d /= 2;
553
+ S = 2, P /= 2, se /= 2, d /= 2;
564
554
  }
565
555
  function we(be, he) {
566
556
  return S === 1 ? be[he] : be.readUInt16BE(he * S);
@@ -568,22 +558,20 @@ uo.write = function(n, e, t, r, o, i) {
568
558
  let ge;
569
559
  if (b) {
570
560
  let be = -1;
571
- for (ge = d; ge < R; ge++)
561
+ for (ge = d; ge < P; ge++)
572
562
  if (we(h, ge) === we(c, be === -1 ? 0 : ge - be)) {
573
- if (be === -1 && (be = ge), ge - be + 1 === se)
574
- return be * S;
563
+ if (be === -1 && (be = ge), ge - be + 1 === se) return be * S;
575
564
  } else
576
565
  be !== -1 && (ge -= ge - be), be = -1;
577
566
  } else
578
- for (d + se > R && (d = R - se), ge = d; ge >= 0; ge--) {
567
+ for (d + se > P && (d = P - se), ge = d; ge >= 0; ge--) {
579
568
  let be = !0;
580
569
  for (let he = 0; he < se; he++)
581
570
  if (we(h, ge + he) !== we(c, he)) {
582
571
  be = !1;
583
572
  break;
584
573
  }
585
- if (be)
586
- return ge;
574
+ if (be) return ge;
587
575
  }
588
576
  return -1;
589
577
  }
@@ -600,14 +588,13 @@ uo.write = function(n, e, t, r, o, i) {
600
588
  m ? (m = Number(m), m > b && (m = b)) : m = b;
601
589
  const S = c.length;
602
590
  m > S / 2 && (m = S / 2);
603
- let R;
604
- for (R = 0; R < m; ++R) {
605
- const se = parseInt(c.substr(R * 2, 2), 16);
606
- if (dt(se))
607
- return R;
608
- h[d + R] = se;
591
+ let P;
592
+ for (P = 0; P < m; ++P) {
593
+ const se = parseInt(c.substr(P * 2, 2), 16);
594
+ if (dt(se)) return P;
595
+ h[d + P] = se;
609
596
  }
610
- return R;
597
+ return P;
611
598
  }
612
599
  function Ne(h, c, d, m) {
613
600
  return vt(_t(c, h.length - d), h, d, m);
@@ -636,7 +623,7 @@ uo.write = function(n, e, t, r, o, i) {
636
623
  if ((m === void 0 || m > S) && (m = S), c.length > 0 && (m < 0 || d < 0) || d > this.length)
637
624
  throw new RangeError("Attempt to write outside buffer bounds");
638
625
  b || (b = "utf8");
639
- let R = !1;
626
+ let P = !1;
640
627
  for (; ; )
641
628
  switch (b) {
642
629
  case "hex":
@@ -656,9 +643,8 @@ uo.write = function(n, e, t, r, o, i) {
656
643
  case "utf-16le":
657
644
  return an(this, c, d, m);
658
645
  default:
659
- if (R)
660
- throw new TypeError("Unknown encoding: " + b);
661
- b = ("" + b).toLowerCase(), R = !0;
646
+ if (P) throw new TypeError("Unknown encoding: " + b);
647
+ b = ("" + b).toLowerCase(), P = !0;
662
648
  }
663
649
  }, l.prototype.toJSON = function() {
664
650
  return {
@@ -675,24 +661,24 @@ uo.write = function(n, e, t, r, o, i) {
675
661
  let b = c;
676
662
  for (; b < d; ) {
677
663
  const S = h[b];
678
- let R = null, se = S > 239 ? 4 : S > 223 ? 3 : S > 191 ? 2 : 1;
664
+ let P = null, se = S > 239 ? 4 : S > 223 ? 3 : S > 191 ? 2 : 1;
679
665
  if (b + se <= d) {
680
666
  let we, ge, be, he;
681
667
  switch (se) {
682
668
  case 1:
683
- S < 128 && (R = S);
669
+ S < 128 && (P = S);
684
670
  break;
685
671
  case 2:
686
- we = h[b + 1], (we & 192) === 128 && (he = (S & 31) << 6 | we & 63, he > 127 && (R = he));
672
+ we = h[b + 1], (we & 192) === 128 && (he = (S & 31) << 6 | we & 63, he > 127 && (P = he));
687
673
  break;
688
674
  case 3:
689
- we = h[b + 1], ge = h[b + 2], (we & 192) === 128 && (ge & 192) === 128 && (he = (S & 15) << 12 | (we & 63) << 6 | ge & 63, he > 2047 && (he < 55296 || he > 57343) && (R = he));
675
+ we = h[b + 1], ge = h[b + 2], (we & 192) === 128 && (ge & 192) === 128 && (he = (S & 15) << 12 | (we & 63) << 6 | ge & 63, he > 2047 && (he < 55296 || he > 57343) && (P = he));
690
676
  break;
691
677
  case 4:
692
- we = h[b + 1], ge = h[b + 2], be = h[b + 3], (we & 192) === 128 && (ge & 192) === 128 && (be & 192) === 128 && (he = (S & 15) << 18 | (we & 63) << 12 | (ge & 63) << 6 | be & 63, he > 65535 && he < 1114112 && (R = he));
678
+ we = h[b + 1], ge = h[b + 2], be = h[b + 3], (we & 192) === 128 && (ge & 192) === 128 && (be & 192) === 128 && (he = (S & 15) << 18 | (we & 63) << 12 | (ge & 63) << 6 | be & 63, he > 65535 && he < 1114112 && (P = he));
693
679
  }
694
680
  }
695
- R === null ? (R = 65533, se = 1) : R > 65535 && (R -= 65536, m.push(R >>> 10 & 1023 | 55296), R = 56320 | R & 1023), m.push(R), b += se;
681
+ P === null ? (P = 65533, se = 1) : P > 65535 && (P -= 65536, m.push(P >>> 10 & 1023 | 55296), P = 56320 | P & 1023), m.push(P), b += se;
696
682
  }
697
683
  return gn(m);
698
684
  }
@@ -745,16 +731,14 @@ uo.write = function(n, e, t, r, o, i) {
745
731
  return Object.setPrototypeOf(b, l.prototype), b;
746
732
  };
747
733
  function Te(h, c, d) {
748
- if (h % 1 !== 0 || h < 0)
749
- throw new RangeError("offset is not uint");
750
- if (h + c > d)
751
- throw new RangeError("Trying to access beyond buffer length");
734
+ if (h % 1 !== 0 || h < 0) throw new RangeError("offset is not uint");
735
+ if (h + c > d) throw new RangeError("Trying to access beyond buffer length");
752
736
  }
753
737
  l.prototype.readUintLE = l.prototype.readUIntLE = function(c, d, m) {
754
738
  c = c >>> 0, d = d >>> 0, m || Te(c, d, this.length);
755
- let b = this[c], S = 1, R = 0;
756
- for (; ++R < d && (S *= 256); )
757
- b += this[c + R] * S;
739
+ let b = this[c], S = 1, P = 0;
740
+ for (; ++P < d && (S *= 256); )
741
+ b += this[c + P] * S;
758
742
  return b;
759
743
  }, l.prototype.readUintBE = l.prototype.readUIntBE = function(c, d, m) {
760
744
  c = c >>> 0, d = d >>> 0, m || Te(c, d, this.length);
@@ -786,16 +770,16 @@ uo.write = function(n, e, t, r, o, i) {
786
770
  return (BigInt(b) << BigInt(32)) + BigInt(S);
787
771
  }), l.prototype.readIntLE = function(c, d, m) {
788
772
  c = c >>> 0, d = d >>> 0, m || Te(c, d, this.length);
789
- let b = this[c], S = 1, R = 0;
790
- for (; ++R < d && (S *= 256); )
791
- b += this[c + R] * S;
773
+ let b = this[c], S = 1, P = 0;
774
+ for (; ++P < d && (S *= 256); )
775
+ b += this[c + P] * S;
792
776
  return S *= 128, b >= S && (b -= Math.pow(2, 8 * d)), b;
793
777
  }, l.prototype.readIntBE = function(c, d, m) {
794
778
  c = c >>> 0, d = d >>> 0, m || Te(c, d, this.length);
795
- let b = d, S = 1, R = this[c + --b];
779
+ let b = d, S = 1, P = this[c + --b];
796
780
  for (; b > 0 && (S *= 256); )
797
- R += this[c + --b] * S;
798
- return S *= 128, R >= S && (R -= Math.pow(2, 8 * d)), R;
781
+ P += this[c + --b] * S;
782
+ return S *= 128, P >= S && (P -= Math.pow(2, 8 * d)), P;
799
783
  }, l.prototype.readInt8 = function(c, d) {
800
784
  return c = c >>> 0, d || Te(c, 1, this.length), this[c] & 128 ? (255 - this[c] + 1) * -1 : this[c];
801
785
  }, l.prototype.readInt16LE = function(c, d) {
@@ -833,30 +817,27 @@ uo.write = function(n, e, t, r, o, i) {
833
817
  return c = c >>> 0, d || Te(c, 8, this.length), t.read(this, c, !1, 52, 8);
834
818
  };
835
819
  function Re(h, c, d, m, b, S) {
836
- if (!l.isBuffer(h))
837
- throw new TypeError('"buffer" argument must be a Buffer instance');
838
- if (c > b || c < S)
839
- throw new RangeError('"value" argument is out of bounds');
840
- if (d + m > h.length)
841
- throw new RangeError("Index out of range");
820
+ if (!l.isBuffer(h)) throw new TypeError('"buffer" argument must be a Buffer instance');
821
+ if (c > b || c < S) throw new RangeError('"value" argument is out of bounds');
822
+ if (d + m > h.length) throw new RangeError("Index out of range");
842
823
  }
843
824
  l.prototype.writeUintLE = l.prototype.writeUIntLE = function(c, d, m, b) {
844
825
  if (c = +c, d = d >>> 0, m = m >>> 0, !b) {
845
826
  const se = Math.pow(2, 8 * m) - 1;
846
827
  Re(this, c, d, m, se, 0);
847
828
  }
848
- let S = 1, R = 0;
849
- for (this[d] = c & 255; ++R < m && (S *= 256); )
850
- this[d + R] = c / S & 255;
829
+ let S = 1, P = 0;
830
+ for (this[d] = c & 255; ++P < m && (S *= 256); )
831
+ this[d + P] = c / S & 255;
851
832
  return d + m;
852
833
  }, l.prototype.writeUintBE = l.prototype.writeUIntBE = function(c, d, m, b) {
853
834
  if (c = +c, d = d >>> 0, m = m >>> 0, !b) {
854
835
  const se = Math.pow(2, 8 * m) - 1;
855
836
  Re(this, c, d, m, se, 0);
856
837
  }
857
- let S = m - 1, R = 1;
858
- for (this[d + S] = c & 255; --S >= 0 && (R *= 256); )
859
- this[d + S] = c / R & 255;
838
+ let S = m - 1, P = 1;
839
+ for (this[d + S] = c & 255; --S >= 0 && (P *= 256); )
840
+ this[d + S] = c / P & 255;
860
841
  return d + m;
861
842
  }, l.prototype.writeUint8 = l.prototype.writeUInt8 = function(c, d, m) {
862
843
  return c = +c, d = d >>> 0, m || Re(this, c, d, 1, 255, 0), this[d] = c & 255, d + 1;
@@ -873,37 +854,37 @@ uo.write = function(n, e, t, r, o, i) {
873
854
  We(c, m, b, h, d, 7);
874
855
  let S = Number(c & BigInt(4294967295));
875
856
  h[d++] = S, S = S >> 8, h[d++] = S, S = S >> 8, h[d++] = S, S = S >> 8, h[d++] = S;
876
- let R = Number(c >> BigInt(32) & BigInt(4294967295));
877
- return h[d++] = R, R = R >> 8, h[d++] = R, R = R >> 8, h[d++] = R, R = R >> 8, h[d++] = R, d;
857
+ let P = Number(c >> BigInt(32) & BigInt(4294967295));
858
+ return h[d++] = P, P = P >> 8, h[d++] = P, P = P >> 8, h[d++] = P, P = P >> 8, h[d++] = P, d;
878
859
  }
879
- function He(h, c, d, m, b) {
860
+ function De(h, c, d, m, b) {
880
861
  We(c, m, b, h, d, 7);
881
862
  let S = Number(c & BigInt(4294967295));
882
863
  h[d + 7] = S, S = S >> 8, h[d + 6] = S, S = S >> 8, h[d + 5] = S, S = S >> 8, h[d + 4] = S;
883
- let R = Number(c >> BigInt(32) & BigInt(4294967295));
884
- return h[d + 3] = R, R = R >> 8, h[d + 2] = R, R = R >> 8, h[d + 1] = R, R = R >> 8, h[d] = R, d + 8;
864
+ let P = Number(c >> BigInt(32) & BigInt(4294967295));
865
+ return h[d + 3] = P, P = P >> 8, h[d + 2] = P, P = P >> 8, h[d + 1] = P, P = P >> 8, h[d] = P, d + 8;
885
866
  }
886
867
  l.prototype.writeBigUInt64LE = Fe(function(c, d = 0) {
887
868
  return Yt(this, c, d, BigInt(0), BigInt("0xffffffffffffffff"));
888
869
  }), l.prototype.writeBigUInt64BE = Fe(function(c, d = 0) {
889
- return He(this, c, d, BigInt(0), BigInt("0xffffffffffffffff"));
870
+ return De(this, c, d, BigInt(0), BigInt("0xffffffffffffffff"));
890
871
  }), l.prototype.writeIntLE = function(c, d, m, b) {
891
872
  if (c = +c, d = d >>> 0, !b) {
892
873
  const we = Math.pow(2, 8 * m - 1);
893
874
  Re(this, c, d, m, we - 1, -we);
894
875
  }
895
- let S = 0, R = 1, se = 0;
896
- for (this[d] = c & 255; ++S < m && (R *= 256); )
897
- c < 0 && se === 0 && this[d + S - 1] !== 0 && (se = 1), this[d + S] = (c / R >> 0) - se & 255;
876
+ let S = 0, P = 1, se = 0;
877
+ for (this[d] = c & 255; ++S < m && (P *= 256); )
878
+ c < 0 && se === 0 && this[d + S - 1] !== 0 && (se = 1), this[d + S] = (c / P >> 0) - se & 255;
898
879
  return d + m;
899
880
  }, l.prototype.writeIntBE = function(c, d, m, b) {
900
881
  if (c = +c, d = d >>> 0, !b) {
901
882
  const we = Math.pow(2, 8 * m - 1);
902
883
  Re(this, c, d, m, we - 1, -we);
903
884
  }
904
- let S = m - 1, R = 1, se = 0;
905
- for (this[d + S] = c & 255; --S >= 0 && (R *= 256); )
906
- c < 0 && se === 0 && this[d + S + 1] !== 0 && (se = 1), this[d + S] = (c / R >> 0) - se & 255;
885
+ let S = m - 1, P = 1, se = 0;
886
+ for (this[d + S] = c & 255; --S >= 0 && (P *= 256); )
887
+ c < 0 && se === 0 && this[d + S + 1] !== 0 && (se = 1), this[d + S] = (c / P >> 0) - se & 255;
907
888
  return d + m;
908
889
  }, l.prototype.writeInt8 = function(c, d, m) {
909
890
  return c = +c, d = d >>> 0, m || Re(this, c, d, 1, 127, -128), c < 0 && (c = 255 + c + 1), this[d] = c & 255, d + 1;
@@ -918,13 +899,11 @@ uo.write = function(n, e, t, r, o, i) {
918
899
  }, l.prototype.writeBigInt64LE = Fe(function(c, d = 0) {
919
900
  return Yt(this, c, d, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
920
901
  }), l.prototype.writeBigInt64BE = Fe(function(c, d = 0) {
921
- return He(this, c, d, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
902
+ return De(this, c, d, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
922
903
  });
923
904
  function Le(h, c, d, m, b, S) {
924
- if (d + m > h.length)
925
- throw new RangeError("Index out of range");
926
- if (d < 0)
927
- throw new RangeError("Index out of range");
905
+ if (d + m > h.length) throw new RangeError("Index out of range");
906
+ if (d < 0) throw new RangeError("Index out of range");
928
907
  }
929
908
  function Ot(h, c, d, m, b) {
930
909
  return c = +c, d = d >>> 0, b || Le(h, c, d, 4), t.write(h, c, d, m, 23, 4), d + 4;
@@ -942,16 +921,12 @@ uo.write = function(n, e, t, r, o, i) {
942
921
  }, l.prototype.writeDoubleBE = function(c, d, m) {
943
922
  return Et(this, c, d, !1, m);
944
923
  }, l.prototype.copy = function(c, d, m, b) {
945
- if (!l.isBuffer(c))
946
- throw new TypeError("argument should be a Buffer");
947
- if (m || (m = 0), !b && b !== 0 && (b = this.length), d >= c.length && (d = c.length), d || (d = 0), b > 0 && b < m && (b = m), b === m || c.length === 0 || this.length === 0)
948
- return 0;
924
+ if (!l.isBuffer(c)) throw new TypeError("argument should be a Buffer");
925
+ if (m || (m = 0), !b && b !== 0 && (b = this.length), d >= c.length && (d = c.length), d || (d = 0), b > 0 && b < m && (b = m), b === m || c.length === 0 || this.length === 0) return 0;
949
926
  if (d < 0)
950
927
  throw new RangeError("targetStart out of bounds");
951
- if (m < 0 || m >= this.length)
952
- throw new RangeError("Index out of range");
953
- if (b < 0)
954
- throw new RangeError("sourceEnd out of bounds");
928
+ if (m < 0 || m >= this.length) throw new RangeError("Index out of range");
929
+ if (b < 0) throw new RangeError("sourceEnd out of bounds");
955
930
  b > this.length && (b = this.length), c.length - d < b - m && (b = c.length - d + m);
956
931
  const S = b - m;
957
932
  return this === c && typeof i.prototype.copyWithin == "function" ? this.copyWithin(d, m, b) : i.prototype.set.call(
@@ -966,11 +941,10 @@ uo.write = function(n, e, t, r, o, i) {
966
941
  if (typeof b == "string" && !l.isEncoding(b))
967
942
  throw new TypeError("Unknown encoding: " + b);
968
943
  if (c.length === 1) {
969
- const R = c.charCodeAt(0);
970
- (b === "utf8" && R < 128 || b === "latin1") && (c = R);
944
+ const P = c.charCodeAt(0);
945
+ (b === "utf8" && P < 128 || b === "latin1") && (c = P);
971
946
  }
972
- } else
973
- typeof c == "number" ? c = c & 255 : typeof c == "boolean" && (c = Number(c));
947
+ } else typeof c == "number" ? c = c & 255 : typeof c == "boolean" && (c = Number(c));
974
948
  if (d < 0 || this.length < d || this.length < m)
975
949
  throw new RangeError("Out of range index");
976
950
  if (m <= d)
@@ -981,11 +955,11 @@ uo.write = function(n, e, t, r, o, i) {
981
955
  for (S = d; S < m; ++S)
982
956
  this[S] = c;
983
957
  else {
984
- const R = l.isBuffer(c) ? c : l.from(c, b), se = R.length;
958
+ const P = l.isBuffer(c) ? c : l.from(c, b), se = P.length;
985
959
  if (se === 0)
986
960
  throw new TypeError('The value "' + c + '" is invalid for argument "value"');
987
961
  for (S = 0; S < m - d; ++S)
988
- this[S + d] = R[S % se];
962
+ this[S + d] = P[S % se];
989
963
  }
990
964
  return this;
991
965
  };
@@ -1047,9 +1021,9 @@ uo.write = function(n, e, t, r, o, i) {
1047
1021
  }
1048
1022
  function We(h, c, d, m, b, S) {
1049
1023
  if (h > d || h < c) {
1050
- const R = typeof c == "bigint" ? "n" : "";
1024
+ const P = typeof c == "bigint" ? "n" : "";
1051
1025
  let se;
1052
- throw S > 3 ? c === 0 || c === BigInt(0) ? se = `>= 0${R} and < 2${R} ** ${(S + 1) * 8}${R}` : se = `>= -(2${R} ** ${(S + 1) * 8 - 1}${R}) and < 2 ** ${(S + 1) * 8 - 1}${R}` : se = `>= ${c}${R} and <= ${d}${R}`, new et.ERR_OUT_OF_RANGE("value", se, h);
1026
+ throw c === 0 || c === BigInt(0) ? se = `>= 0${P} and < 2${P} ** ${(S + 1) * 8}${P}` : se = `>= -(2${P} ** ${(S + 1) * 8 - 1}${P}) and < 2 ** ${(S + 1) * 8 - 1}${P}`, new et.ERR_OUT_OF_RANGE("value", se, h);
1053
1027
  }
1054
1028
  Lt(m, b, S);
1055
1029
  }
@@ -1058,16 +1032,15 @@ uo.write = function(n, e, t, r, o, i) {
1058
1032
  throw new et.ERR_INVALID_ARG_TYPE(c, "number", h);
1059
1033
  }
1060
1034
  function ut(h, c, d) {
1061
- throw Math.floor(h) !== h ? (Pe(h, d), new et.ERR_OUT_OF_RANGE(d || "offset", "an integer", h)) : c < 0 ? new et.ERR_BUFFER_OUT_OF_BOUNDS() : new et.ERR_OUT_OF_RANGE(
1062
- d || "offset",
1063
- `>= ${d ? 1 : 0} and <= ${c}`,
1035
+ throw Math.floor(h) !== h ? (Pe(h, d), new et.ERR_OUT_OF_RANGE("offset", "an integer", h)) : c < 0 ? new et.ERR_BUFFER_OUT_OF_BOUNDS() : new et.ERR_OUT_OF_RANGE(
1036
+ "offset",
1037
+ `>= 0 and <= ${c}`,
1064
1038
  h
1065
1039
  );
1066
1040
  }
1067
1041
  const zt = /[^+/0-9A-Za-z-_]/g;
1068
1042
  function xt(h) {
1069
- if (h = h.split("=")[0], h = h.trim().replace(zt, ""), h.length < 2)
1070
- return "";
1043
+ if (h = h.split("=")[0], h = h.trim().replace(zt, ""), h.length < 2) return "";
1071
1044
  for (; h.length % 4 !== 0; )
1072
1045
  h = h + "=";
1073
1046
  return h;
@@ -1078,13 +1051,13 @@ uo.write = function(n, e, t, r, o, i) {
1078
1051
  const m = h.length;
1079
1052
  let b = null;
1080
1053
  const S = [];
1081
- for (let R = 0; R < m; ++R) {
1082
- if (d = h.charCodeAt(R), d > 55295 && d < 57344) {
1054
+ for (let P = 0; P < m; ++P) {
1055
+ if (d = h.charCodeAt(P), d > 55295 && d < 57344) {
1083
1056
  if (!b) {
1084
1057
  if (d > 56319) {
1085
1058
  (c -= 3) > -1 && S.push(239, 191, 189);
1086
1059
  continue;
1087
- } else if (R + 1 === m) {
1060
+ } else if (P + 1 === m) {
1088
1061
  (c -= 3) > -1 && S.push(239, 191, 189);
1089
1062
  continue;
1090
1063
  }
@@ -1096,30 +1069,25 @@ uo.write = function(n, e, t, r, o, i) {
1096
1069
  continue;
1097
1070
  }
1098
1071
  d = (b - 55296 << 10 | d - 56320) + 65536;
1099
- } else
1100
- b && (c -= 3) > -1 && S.push(239, 191, 189);
1072
+ } else b && (c -= 3) > -1 && S.push(239, 191, 189);
1101
1073
  if (b = null, d < 128) {
1102
- if ((c -= 1) < 0)
1103
- break;
1074
+ if ((c -= 1) < 0) break;
1104
1075
  S.push(d);
1105
1076
  } else if (d < 2048) {
1106
- if ((c -= 2) < 0)
1107
- break;
1077
+ if ((c -= 2) < 0) break;
1108
1078
  S.push(
1109
1079
  d >> 6 | 192,
1110
1080
  d & 63 | 128
1111
1081
  );
1112
1082
  } else if (d < 65536) {
1113
- if ((c -= 3) < 0)
1114
- break;
1083
+ if ((c -= 3) < 0) break;
1115
1084
  S.push(
1116
1085
  d >> 12 | 224,
1117
1086
  d >> 6 & 63 | 128,
1118
1087
  d & 63 | 128
1119
1088
  );
1120
1089
  } else if (d < 1114112) {
1121
- if ((c -= 4) < 0)
1122
- break;
1090
+ if ((c -= 4) < 0) break;
1123
1091
  S.push(
1124
1092
  d >> 18 | 240,
1125
1093
  d >> 12 & 63 | 128,
@@ -1140,8 +1108,8 @@ uo.write = function(n, e, t, r, o, i) {
1140
1108
  function Tt(h, c) {
1141
1109
  let d, m, b;
1142
1110
  const S = [];
1143
- for (let R = 0; R < h.length && !((c -= 2) < 0); ++R)
1144
- d = h.charCodeAt(R), m = d >> 8, b = d % 256, S.push(b), S.push(m);
1111
+ for (let P = 0; P < h.length && !((c -= 2) < 0); ++P)
1112
+ d = h.charCodeAt(P), m = d >> 8, b = d % 256, S.push(b), S.push(m);
1145
1113
  return S;
1146
1114
  }
1147
1115
  function je(h) {
@@ -1201,14 +1169,8 @@ const sa = {
1201
1169
  return /Android/i.test(navigator.userAgent) || Yn.getPlatform() === "android";
1202
1170
  },
1203
1171
  isiOS() {
1204
- return [
1205
- "iPad Simulator",
1206
- "iPhone Simulator",
1207
- "iPod Simulator",
1208
- "iPad",
1209
- "iPhone",
1210
- "iPod"
1211
- ].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || Yn.getPlatform() === "ios";
1172
+ return ["iPad Simulator", "iPhone Simulator", "iPod Simulator", "iPad", "iPhone", "iPod"].includes(navigator.platform) || // iPad on iOisNativeS 13 detection
1173
+ navigator.userAgent.includes("Mac") && "ontouchend" in document || Yn.getPlatform() === "ios";
1212
1174
  },
1213
1175
  isNative() {
1214
1176
  return Yn.isNativePlatform();
@@ -1238,8 +1200,7 @@ const sa = {
1238
1200
  },
1239
1201
  /** Function which checks if provided object is empty */
1240
1202
  isEmpty(n) {
1241
- if (!n)
1242
- return !0;
1203
+ if (!n) return !0;
1243
1204
  for (let e in n)
1244
1205
  if (n.hasOwnProperty(e))
1245
1206
  return !1;
@@ -1261,69 +1222,16 @@ const sa = {
1261
1222
  }, { mapState: ca, mapActions: la, mapGetters: ua } = qi("auth"), at = {
1262
1223
  mixins: [sa],
1263
1224
  computed: {
1264
- ...ca([
1265
- "$storex",
1266
- "refreshing",
1267
- "loggedInUserId",
1268
- "account",
1269
- "device",
1270
- "loggedInAccounts",
1271
- "ssoLang",
1272
- "display",
1273
- "redirect_uri",
1274
- "response_type",
1275
- "state",
1276
- "allowedOriginsAuth"
1277
- ]),
1278
- ...ua([
1279
- "accessToken",
1280
- "refreshTokens",
1281
- "isLoggedIn",
1282
- "renderView",
1283
- "appLanguage"
1284
- ])
1225
+ ...ca(["$storex", "refreshing", "loggedInUserId", "account", "device", "loggedInAccounts", "ssoLang", "display", "redirect_uri", "response_type", "state", "allowedOriginsAuth"]),
1226
+ ...ua(["accessToken", "refreshTokens", "isLoggedIn", "renderView", "appLanguage"])
1285
1227
  },
1286
1228
  methods: {
1287
- ...la([
1288
- "setLoggedInAccounts",
1289
- "setLoggedInUserId",
1290
- "getRefreshTokens",
1291
- "setRefreshToken",
1292
- "unsetRefreshToken",
1293
- "setToken",
1294
- "setView",
1295
- "setStorage",
1296
- "updateLang",
1297
- "login",
1298
- "register",
1299
- "verify",
1300
- "reset",
1301
- "exchangeAuthCode",
1302
- "changePassword",
1303
- "newPassword",
1304
- "deleteAccount",
1305
- "registerDevice",
1306
- "addFcmToken",
1307
- "acceptCompanyInvitation",
1308
- "logout",
1309
- "getCompanyBySSOEmail",
1310
- "getLoggedInAccounts",
1311
- "loginUsingQR",
1312
- "getAccountSettings",
1313
- "setRedirectUri",
1314
- "setDisplay",
1315
- "setState",
1316
- "setResponseType",
1317
- "switchAccount",
1318
- "loginSetup",
1319
- "loginSuccess",
1320
- "refreshTokenAction"
1321
- ])
1229
+ ...la(["setLoggedInAccounts", "setLoggedInUserId", "getRefreshTokens", "setRefreshToken", "unsetRefreshToken", "setToken", "setView", "setStorage", "updateLang", "login", "register", "verify", "reset", "exchangeAuthCode", "changePassword", "newPassword", "deleteAccount", "registerDevice", "addFcmToken", "acceptCompanyInvitation", "logout", "getCompanyBySSOEmail", "getLoggedInAccounts", "loginUsingQR", "getAccountSettings", "setRedirectUri", "setDisplay", "setState", "setRealm", "setResponseType", "switchAccount", "loginSetup", "loginSuccess", "refreshTokenAction"])
1322
1230
  },
1323
1231
  watch: {
1324
1232
  "$route.query": {
1325
1233
  handler: function() {
1326
- this.$route.query.redirect_uri && this.setRedirectUri(this.$route.query.redirect_uri), this.$route.query.display && this.setDisplay(this.$route.query.display), this.$route.query.state && this.setState(this.$route.query.state), this.$route.query.response_type && this.setResponseType(this.$route.query.response_type), this.$route.query.realm && this.$storage && this.setRealm(this.$route.query.realm);
1234
+ this.$route.query.redirect_uri && this.setRedirectUri(this.$route.query.redirect_uri), this.$route.query.display && this.setDisplay(this.$route.query.display), this.$route.query.state && this.setState(this.$route.query.state), this.$route.query.response_type && this.setResponseType(this.$route.query.response_type), this.$route.query.realm && this.setRealm(this.$route.query.realm);
1327
1235
  },
1328
1236
  deep: !0
1329
1237
  }
@@ -1355,7 +1263,7 @@ const sa = {
1355
1263
  }, 500);
1356
1264
  },
1357
1265
  methods: {}
1358
- }, ri = (n) => (qn("data-v-615ed484"), n = n(), Kn(), n), pa = {
1266
+ }, ri = (n) => (qn("data-v-81a3adc2"), n = n(), Kn(), n), pa = {
1359
1267
  class: "page-login content-boxed content-boxed-padding center-text",
1360
1268
  style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
1361
1269
  }, ha = ["autoplay"], fa = /* @__PURE__ */ ri(() => /* @__PURE__ */ _("source", {
@@ -1366,7 +1274,7 @@ const sa = {
1366
1274
  ], ga = { class: "bold full-top no-bottom center-text" }, _a = { class: "full-bottom half-top center-text color-black font-16" }, va = { class: "page-login-links center-text" }, ya = /* @__PURE__ */ ri(() => /* @__PURE__ */ _("div", { class: "clear" }, null, -1)), wa = {
1367
1275
  key: 2,
1368
1276
  style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
1369
- }, ba = /* @__PURE__ */ xi('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-615ed484><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-615ed484></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-615ed484><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-615ed484></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-615ed484><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-615ed484></a>', 3), ka = [
1277
+ }, ba = /* @__PURE__ */ xi('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-81a3adc2><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-81a3adc2></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-81a3adc2><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-81a3adc2></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-81a3adc2><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-81a3adc2></a>', 3), ka = [
1370
1278
  ba
1371
1279
  ];
1372
1280
  function Ca(n, e, t, r, o, i) {
@@ -1408,10 +1316,10 @@ function Ca(n, e, t, r, o, i) {
1408
1316
  this.isNative ? pe("", !0) : (N(), x("div", wa, ka))
1409
1317
  ]);
1410
1318
  }
1411
- const po = /* @__PURE__ */ gt(da, [["render", Ca], ["__scopeId", "data-v-615ed484"]]), Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1319
+ const po = /* @__PURE__ */ gt(da, [["render", Ca], ["__scopeId", "data-v-81a3adc2"]]), Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1412
1320
  __proto__: null,
1413
1321
  default: po
1414
- }, Symbol.toStringTag, { value: "Module" })), Ta = "0.0.169", hr = {
1322
+ }, Symbol.toStringTag, { value: "Module" })), Ta = "0.0.171", hr = {
1415
1323
  getMe() {
1416
1324
  return ce().get("/users/me");
1417
1325
  },
@@ -5552,7 +5460,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5552
5460
  choose_other_login_methods: "다른 로그인 방법 선택하기",
5553
5461
  no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
5554
5462
  }
5555
- }, Ao = () => Promise.resolve().then(() => Ea), Ia = () => Promise.resolve().then(() => qc), Aa = () => Promise.resolve().then(() => Ul), Ra = () => Promise.resolve().then(() => wd), Pa = () => import("./Account-ja1hZJy5.js"), Ma = () => Promise.resolve().then(() => du), Na = () => Promise.resolve().then(() => Id), Oa = () => import("./QR-ybXT1KGe.js"), La = () => Promise.resolve().then(() => xu), za = [
5463
+ }, Ao = () => Promise.resolve().then(() => Ea), Ia = () => Promise.resolve().then(() => qc), Aa = () => Promise.resolve().then(() => Ul), Ra = () => Promise.resolve().then(() => wd), Pa = () => import("./Account-BB71UmF3.js"), Ma = () => Promise.resolve().then(() => du), Na = () => Promise.resolve().then(() => Id), Oa = () => import("./QR-BJnR_0ci.js"), La = () => Promise.resolve().then(() => xu), za = [
5556
5464
  {
5557
5465
  path: "/welcome",
5558
5466
  name: "AuthWelcome",
@@ -5566,7 +5474,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5566
5474
  {
5567
5475
  path: "/callback/saml",
5568
5476
  name: "Callback",
5569
- alias: ["/callback/okta", "/callback/auth"],
5477
+ alias: ["/callback/okta", "/callback/auth", "/callback/redirect"],
5570
5478
  component: Na
5571
5479
  },
5572
5480
  {
@@ -5604,7 +5512,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5604
5512
  name: "404",
5605
5513
  component: Ao
5606
5514
  }
5607
- ], Ro = Hi({
5515
+ ], Ro = Di({
5608
5516
  history: ji("/"),
5609
5517
  routes: za
5610
5518
  }), ho = {
@@ -5635,30 +5543,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5635
5543
  redirect_uri: "https://t.link/callback/auth",
5636
5544
  response_type: "token",
5637
5545
  state: "",
5638
- allowedOriginsAuth: [
5639
- "https://business.tapni.com",
5640
- "https://business-dev.tapni.com",
5641
- "https://tapni.com",
5642
- "https://tapni.co",
5643
- "https://t.link",
5644
- "https://my.tapni.com",
5645
- "https://my.tapni.co",
5646
- "https://dev.tapni.co",
5647
- "https://dev.tapni.com",
5648
- "https://auth.tapni.com",
5649
- "https://auth.tapni.co",
5650
- "https://mailsign.link",
5651
- "https://sign.tapni.com",
5652
- "https://qrcodetoolkit.com",
5653
- "https://qr.tapni.com",
5654
- "https://designer.tapni.com",
5655
- "https://designer-dev.tapni.com",
5656
- "http://localhost:8082",
5657
- "http://localhost:7777",
5658
- "http://localhost:8086",
5659
- "https://localhost:8085",
5660
- "http://localhost:8085"
5661
- ]
5546
+ allowedOriginsAuth: ["https://business.tapni.com", "https://business-dev.tapni.com", "https://tapni.com", "https://tapni.co", "https://t.link", "https://my.tapni.com", "https://my.tapni.co", "https://dev.tapni.co", "https://dev.tapni.com", "https://auth.tapni.com", "https://auth.tapni.co", "https://mailsign.link", "https://sign.tapni.com", "https://qrcodetoolkit.com", "https://qr.tapni.com", "https://designer.tapni.com", "https://designer-dev.tapni.com", "http://localhost:8082", "http://localhost:7777", "http://localhost:8086", "https://localhost:8085", "http://localhost:8085", "https://bigeye.tapni.com"]
5662
5547
  },
5663
5548
  mutations: {
5664
5549
  setAccountSettings(n, e) {
@@ -5682,8 +5567,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5682
5567
  n.$storex.refreshTokens = e;
5683
5568
  },
5684
5569
  setRefreshToken(n, e) {
5685
- if (!e)
5686
- return;
5570
+ if (!e) return;
5687
5571
  let t = n.$storex.refreshTokens ? n.$storex.refreshTokens.split(",") : [];
5688
5572
  t = [e, ...t.filter((r) => r !== e)], n.$storex.refreshTokens = t.join(",");
5689
5573
  },
@@ -5717,11 +5601,8 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5717
5601
  },
5718
5602
  actions: {
5719
5603
  async getAccountSettings({ state: n, commit: e, dispatch: t }) {
5720
- const [r, o] = await fe(
5721
- Je.getAccountSettings()
5722
- );
5723
- if (r)
5724
- return t("errorHandler", r);
5604
+ const [r, o] = await fe(Je.getAccountSettings());
5605
+ if (r) return t("errorHandler", r);
5725
5606
  o.data.success && e("setAccountSettings", o.data.data);
5726
5607
  },
5727
5608
  setStorage({ commit: n }, e) {
@@ -5753,17 +5634,12 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5753
5634
  document.getElementById("snackbar").classList.remove("show-snack"), document.getElementById("successSnack").classList.remove("active-snack"), document.getElementById("errorSnack").classList.remove("active-snack");
5754
5635
  },
5755
5636
  async eventLog({ commit: n, dispatch: e }, t) {
5756
- const [r, o] = await fe(
5757
- hr.eventLog(t)
5758
- );
5637
+ const [r, o] = await fe(hr.eventLog(t));
5759
5638
  return r ? e("errorHandler", r) : o;
5760
5639
  },
5761
5640
  async maintenance({ commit: n }) {
5762
- const [e, t] = await fe(
5763
- co.get("https://status.tapni.co/data/maintenance.json")
5764
- );
5765
- if (e)
5766
- return console.error(e);
5641
+ const [e, t] = await fe(co.get("https://status.tapni.co/data/maintenance.json"));
5642
+ if (e) return console.error(e);
5767
5643
  if (t) {
5768
5644
  let r = t.data;
5769
5645
  typeof t.data == "string" && (r = JSON.parse(t.data)), r.api && r.api.maintenanceActive && (location.href = "https://t.link/maintenance?msg=" + r.api.msg);
@@ -5808,22 +5684,16 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5808
5684
  },
5809
5685
  async login({ commit: n, state: e, dispatch: t }, r) {
5810
5686
  const [o, i] = await fe(Je.login(r));
5811
- if (o)
5812
- return t("errorHandler", o);
5687
+ if (o) return t("errorHandler", o);
5813
5688
  if (i.data.success)
5814
5689
  return e.display !== "popup" && (t("loginSetup", { ...i, isModal: r.isModal }), await t("getLoggedInAccounts")), t("loginSuccess", { ...i, isModal: r.isModal }), !0;
5815
5690
  },
5816
5691
  loginSuccess({ commit: n, state: e, dispatch: t, getters: r }, o) {
5817
5692
  if (e.display === "redirect")
5818
- return e.redirect_uri && !e.allowedOriginsAuth.some(
5819
- (i) => e.redirect_uri.startsWith(i)
5820
- ) ? console.error("Redirect URI not allowed") : Ro.push("/account");
5693
+ return e.redirect_uri && !e.allowedOriginsAuth.some((i) => e.redirect_uri.startsWith(i)) ? console.error("Redirect URI not allowed") : Ro.push("/account");
5821
5694
  e.display === "popup" ? e.allowedOriginsAuth.forEach((i) => {
5822
5695
  var a;
5823
- (a = window.parent) == null || a.postMessage(
5824
- { code: o.data.auth_code, state: e.state },
5825
- i
5826
- );
5696
+ (a = window.parent) == null || a.postMessage({ code: o.data.auth_code, state: e.state }, i);
5827
5697
  }) : e.display === "npm" && (F.$emit("ssoEvent", { name: "setLoading", data: !0 }), F.$emit("ssoEvent", { name: "setStorage", data: e.$storex }), F.$emit("ssoEvent", { name: "getUser", data: { username: o.data.data.username } }), t("setLoggedInAccounts", [
5828
5698
  {
5829
5699
  id: o.data.data.id,
@@ -5837,9 +5707,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5837
5707
  }, 1500)), F.$emit("ssoEvent", { name: "redirect", data: "/" + o.data.data.username + "#edit" }));
5838
5708
  },
5839
5709
  async register({ commit: n, dispatch: e }, t) {
5840
- const [r, o] = await fe(
5841
- Je.register(t)
5842
- );
5710
+ const [r, o] = await fe(Je.register(t));
5843
5711
  return r ? e("errorHandler", r) : o;
5844
5712
  },
5845
5713
  async verify({ commit: n, dispatch: e }, t) {
@@ -5847,35 +5715,25 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5847
5715
  return r ? e("errorHandler", r) : o;
5848
5716
  },
5849
5717
  async reset({ commit: n, state: e, getters: t, dispatch: r }, o) {
5850
- const [i, a] = await fe(
5851
- Je.sendResetEmail(o)
5852
- );
5853
- if (i)
5854
- return r("errorHandler", i);
5718
+ const [i, a] = await fe(Je.sendResetEmail(o));
5719
+ if (i) return r("errorHandler", i);
5855
5720
  a.data.success && r("successSnack", e.ssoLang[t.appLanguage].password_reset_success);
5856
5721
  },
5857
5722
  async exchangeAuthCode({ commit: n, dispatch: e }, t) {
5858
5723
  const [r, o] = await fe(Je.exchangeAuthCode(t));
5859
- if (r)
5860
- return e("errorHandler", r);
5724
+ if (r) return e("errorHandler", r);
5861
5725
  await e("loginSetup", o), await e("getLoggedInAccounts"), e("loginSuccess", o);
5862
5726
  },
5863
5727
  async changePassword({ commit: n, dispatch: e }, t) {
5864
- const [r, o] = await fe(
5865
- Je.changePassword(t)
5866
- );
5728
+ const [r, o] = await fe(Je.changePassword(t));
5867
5729
  return r ? e("errorHandler", r) : o.data.success;
5868
5730
  },
5869
5731
  async newPassword({ commit: n, dispatch: e }, t) {
5870
- const [r, o] = await fe(
5871
- hr.newPassword(t)
5872
- );
5732
+ const [r, o] = await fe(hr.newPassword(t));
5873
5733
  return r ? e("errorHandler", r) : o.data.success;
5874
5734
  },
5875
5735
  async deleteAccount({ commit: n, dispatch: e }, t) {
5876
- const [r, o] = await fe(
5877
- hr.deleteAccount(t)
5878
- );
5736
+ const [r, o] = await fe(hr.deleteAccount(t));
5879
5737
  return r ? e("errorHandler", r) : o.data.success;
5880
5738
  },
5881
5739
  async registerDevice({ commit: n, dispatch: e }) {
@@ -5892,21 +5750,15 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5892
5750
  webViewVersion: r.webViewVersion
5893
5751
  }
5894
5752
  };
5895
- const [i, a] = await fe(
5896
- Io.registerDevice(o)
5897
- );
5753
+ const [i, a] = await fe(Io.registerDevice(o));
5898
5754
  return i ? e("errorHandler", i) : a;
5899
5755
  },
5900
5756
  async addFcmToken({ commit: n, dispatch: e }, t) {
5901
- const [r, o] = await fe(
5902
- Io.addFcmToken(t)
5903
- );
5757
+ const [r, o] = await fe(Io.addFcmToken(t));
5904
5758
  return r ? e("errorHandler", r) : o;
5905
5759
  },
5906
5760
  async acceptCompanyInvitation({ commit: n, dispatch: e }, t) {
5907
- const [r, o] = await fe(
5908
- $r.acceptCompanyInvitation(t)
5909
- );
5761
+ const [r, o] = await fe($r.acceptCompanyInvitation(t));
5910
5762
  return r ? e("errorHandler", r) : o;
5911
5763
  },
5912
5764
  async logout({ commit: n, dispatch: e, state: t }, { refreshToken: r, sendRequest: o = !0 }) {
@@ -5929,28 +5781,20 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5929
5781
  }
5930
5782
  },
5931
5783
  async getCompanyBySSOEmail({ commit: n, dispatch: e }, t) {
5932
- const [r, o] = await fe(
5933
- $r.getBySSOEmail(t.email)
5934
- );
5935
- if (r)
5936
- return e("errorHandler", r);
5784
+ const [r, o] = await fe($r.getBySSOEmail(t.email));
5785
+ if (r) return e("errorHandler", r);
5937
5786
  if (o.data.success)
5938
5787
  return o.data;
5939
5788
  },
5940
5789
  async getLoggedInAccounts({ getters: n, dispatch: e }) {
5941
5790
  if (n.refreshTokens && n.refreshTokens.length >= 1) {
5942
- const [t, r] = await fe(
5943
- Je.getLoggedInAccounts({ refreshTokens: n.refreshTokens })
5944
- );
5945
- if (t)
5946
- return e("errorHandler", t);
5791
+ const [t, r] = await fe(Je.getLoggedInAccounts({ refreshTokens: n.refreshTokens }));
5792
+ if (t) return e("errorHandler", t);
5947
5793
  r && r.data && r.data.success && e("setLoggedInAccounts", r.data.accounts);
5948
5794
  }
5949
5795
  },
5950
5796
  async loginUsingQR({ commit: n, dispatch: e }, t) {
5951
- const [r, o] = await fe(
5952
- hr.loginUsingQR(t)
5953
- );
5797
+ const [r, o] = await fe(hr.loginUsingQR(t));
5954
5798
  return r ? e("errorHandler", r) : o.data.success;
5955
5799
  },
5956
5800
  setLoggedInAccounts({ commit: n }, e) {
@@ -6105,7 +5949,7 @@ const Je = {
6105
5949
  return ce().get("/users/settings");
6106
5950
  }
6107
5951
  }, Po = ar("GoogleAuth", {
6108
- web: () => import("./web-5VtGcKeU.js").then((n) => new n.GoogleAuthWeb())
5952
+ web: () => import("./web-IFGkBi0t.js").then((n) => new n.GoogleAuthWeb())
6109
5953
  }), pi = {
6110
5954
  data() {
6111
5955
  return {
@@ -6125,8 +5969,7 @@ const Je = {
6125
5969
  var t;
6126
5970
  this.googleLoad = !0;
6127
5971
  let [n, e] = await fe(Po.signIn());
6128
- if (n)
6129
- return this.googleLoad = !1;
5972
+ if (n) return this.googleLoad = !1;
6130
5973
  if (this.referral && (e.ref = this.referral), e.authentication && (e.authentication.accessToken || e.authentication.idToken)) {
6131
5974
  this.referral && (e.ref = this.referral), this.display === "popup" && (e.response_type = "code");
6132
5975
  const [r, o] = await fe(Je.googleSDK(e, this.$storex));
@@ -6138,14 +5981,13 @@ const Je = {
6138
5981
  await this.loginSetup(o), await this.getLoggedInAccounts(), this.loginSuccess({ ...o, isModal: this.isModal }), setTimeout(() => {
6139
5982
  this.googleLoad = !1;
6140
5983
  }, 1e3);
6141
- } else
6142
- this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
5984
+ } else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
6143
5985
  } else
6144
5986
  this.googleLoad = !1, F.$emit("ssoEvent", { name: "setLoading", data: !1 });
6145
5987
  }
6146
5988
  }
6147
5989
  }, xa = ar("FacebookLogin", {
6148
- web: () => import("./web-L3jORB19.js").then((n) => new n.FacebookLoginWeb())
5990
+ web: () => import("./web-AXRKjAOB.js").then((n) => new n.FacebookLoginWeb())
6149
5991
  });
6150
5992
  window.fbAsyncInit = function() {
6151
5993
  FB.init({
@@ -6181,8 +6023,7 @@ const hi = {
6181
6023
  var r;
6182
6024
  this.facebookLoad = !0;
6183
6025
  const n = ["email"], [e, t] = await fe(xa.login({ permissions: n }));
6184
- if (e)
6185
- return this.facebookLoad = !1;
6026
+ if (e) return this.facebookLoad = !1;
6186
6027
  if (this.referral && (t.ref = this.referral), this.display === "popup" && (t.response_type = "code"), t && t.accessToken) {
6187
6028
  const [o, i] = await fe(Je.facebookSDK(t, this.$storex));
6188
6029
  if (o)
@@ -6193,14 +6034,13 @@ const hi = {
6193
6034
  await this.loginSetup(i), await this.getLoggedInAccounts(), this.$router.push("/" + i.data.data.username + "#edit"), setTimeout(() => {
6194
6035
  this.facebookLoad = !1, F.$emit("ssoEvent", { name: "setLoading", data: !1 });
6195
6036
  }, 1e3);
6196
- } else
6197
- this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
6037
+ } else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
6198
6038
  } else
6199
6039
  this.facebookLoad = !1, F.$emit("ssoEvent", { name: "setLoading", data: !1 });
6200
6040
  }
6201
6041
  }
6202
6042
  }, Ua = ar("SignInWithApple", {
6203
- web: () => import("./web-NrPZl3qD.js").then((n) => new n.SignInWithAppleWeb())
6043
+ web: () => import("./web-XbruGdlD.js").then((n) => new n.SignInWithAppleWeb())
6204
6044
  }), fi = {
6205
6045
  data() {
6206
6046
  return {
@@ -6216,13 +6056,14 @@ const hi = {
6216
6056
  async appleLogin() {
6217
6057
  var t;
6218
6058
  this.appleLoad = !0;
6219
- const [n, e] = await fe(Ua.authorize({
6220
- clientId: "co.tapni.applelogin",
6221
- redirectURI: "https://" + window.location.host + "/login",
6222
- scopes: "email name"
6223
- }));
6224
- if (n)
6225
- return this.appleLoad = !1;
6059
+ const [n, e] = await fe(
6060
+ Ua.authorize({
6061
+ clientId: "co.tapni.applelogin",
6062
+ redirectURI: "https://" + window.location.host + "/login",
6063
+ scopes: "email name"
6064
+ })
6065
+ );
6066
+ if (n) return this.appleLoad = !1;
6226
6067
  if (e.response.tokenData = $o(e.response.identityToken), e && e.response && e.response.identityToken) {
6227
6068
  this.referral && (e.response.ref = this.referral), this.display === "popup" && (e.response_type = "code");
6228
6069
  const [r, o] = await fe(Je.appleSDK(e.response, this.$storex));
@@ -6234,8 +6075,7 @@ const hi = {
6234
6075
  await this.loginSetup(o), await this.getLoggedInAccounts(), this.loginSuccess({ ...o, isModal: this.isModal }), setTimeout(() => {
6235
6076
  this.appleLoad = !1;
6236
6077
  }, 1e3);
6237
- } else
6238
- this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
6078
+ } else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
6239
6079
  } else
6240
6080
  this.appleLoad = !1, F.$emit("ssoEvent", { name: "setLoading", data: !1 });
6241
6081
  }
@@ -6260,8 +6100,7 @@ var Jr = function(n, e) {
6260
6100
  return Jr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, r) {
6261
6101
  t.__proto__ = r;
6262
6102
  } || function(t, r) {
6263
- for (var o in r)
6264
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
6103
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
6265
6104
  }, Jr(n, e);
6266
6105
  };
6267
6106
  function Qe(n, e) {
@@ -6275,16 +6114,14 @@ var $ = function() {
6275
6114
  return $ = Object.assign || function(e) {
6276
6115
  for (var t, r = 1, o = arguments.length; r < o; r++) {
6277
6116
  t = arguments[r];
6278
- for (var i in t)
6279
- Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
6117
+ for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
6280
6118
  }
6281
6119
  return e;
6282
6120
  }, $.apply(this, arguments);
6283
6121
  };
6284
6122
  function Mo(n, e) {
6285
6123
  var t = {};
6286
- for (var r in n)
6287
- Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
6124
+ for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
6288
6125
  if (n != null && typeof Object.getOwnPropertySymbols == "function")
6289
6126
  for (var o = 0, r = Object.getOwnPropertySymbols(n); o < r.length; o++)
6290
6127
  e.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(n, r[o]) && (t[r[o]] = n[r[o]]);
@@ -6314,13 +6151,12 @@ function O(n, e, t, r) {
6314
6151
  function p(l) {
6315
6152
  l.done ? i(l.value) : o(l.value).then(s, u);
6316
6153
  }
6317
- p((r = r.apply(n, e || [])).next());
6154
+ p((r = r.apply(n, [])).next());
6318
6155
  });
6319
6156
  }
6320
6157
  function L(n, e) {
6321
6158
  var t = { label: 0, sent: function() {
6322
- if (i[0] & 1)
6323
- throw i[1];
6159
+ if (i[0] & 1) throw i[1];
6324
6160
  return i[1];
6325
6161
  }, trys: [], ops: [] }, r, o, i, a;
6326
6162
  return a = { next: s(0), throw: s(1), return: s(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
@@ -6332,72 +6168,65 @@ function L(n, e) {
6332
6168
  };
6333
6169
  }
6334
6170
  function u(p) {
6335
- if (r)
6336
- throw new TypeError("Generator is already executing.");
6337
- for (; t; )
6338
- try {
6339
- if (r = 1, o && (i = p[0] & 2 ? o.return : p[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, p[1])).done)
6340
- return i;
6341
- switch (o = 0, i && (p = [p[0] & 2, i.value]), p[0]) {
6342
- case 0:
6343
- case 1:
6344
- i = p;
6345
- break;
6346
- case 4:
6347
- return t.label++, { value: p[1], done: !1 };
6348
- case 5:
6349
- t.label++, o = p[1], p = [0];
6350
- continue;
6351
- case 7:
6352
- p = t.ops.pop(), t.trys.pop();
6353
- continue;
6354
- default:
6355
- if (i = t.trys, !(i = i.length > 0 && i[i.length - 1]) && (p[0] === 6 || p[0] === 2)) {
6356
- t = 0;
6357
- continue;
6358
- }
6359
- if (p[0] === 3 && (!i || p[1] > i[0] && p[1] < i[3])) {
6360
- t.label = p[1];
6361
- break;
6362
- }
6363
- if (p[0] === 6 && t.label < i[1]) {
6364
- t.label = i[1], i = p;
6365
- break;
6366
- }
6367
- if (i && t.label < i[2]) {
6368
- t.label = i[2], t.ops.push(p);
6369
- break;
6370
- }
6371
- i[2] && t.ops.pop(), t.trys.pop();
6171
+ if (r) throw new TypeError("Generator is already executing.");
6172
+ for (; t; ) try {
6173
+ if (r = 1, o && (i = p[0] & 2 ? o.return : p[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, p[1])).done) return i;
6174
+ switch (o = 0, i && (p = [p[0] & 2, i.value]), p[0]) {
6175
+ case 0:
6176
+ case 1:
6177
+ i = p;
6178
+ break;
6179
+ case 4:
6180
+ return t.label++, { value: p[1], done: !1 };
6181
+ case 5:
6182
+ t.label++, o = p[1], p = [0];
6183
+ continue;
6184
+ case 7:
6185
+ p = t.ops.pop(), t.trys.pop();
6186
+ continue;
6187
+ default:
6188
+ if (i = t.trys, !(i = i.length > 0 && i[i.length - 1]) && (p[0] === 6 || p[0] === 2)) {
6189
+ t = 0;
6372
6190
  continue;
6373
- }
6374
- p = e.call(n, t);
6375
- } catch (l) {
6376
- p = [6, l], o = 0;
6377
- } finally {
6378
- r = i = 0;
6191
+ }
6192
+ if (p[0] === 3 && (!i || p[1] > i[0] && p[1] < i[3])) {
6193
+ t.label = p[1];
6194
+ break;
6195
+ }
6196
+ if (p[0] === 6 && t.label < i[1]) {
6197
+ t.label = i[1], i = p;
6198
+ break;
6199
+ }
6200
+ if (i && t.label < i[2]) {
6201
+ t.label = i[2], t.ops.push(p);
6202
+ break;
6203
+ }
6204
+ i[2] && t.ops.pop(), t.trys.pop();
6205
+ continue;
6379
6206
  }
6380
- if (p[0] & 5)
6381
- throw p[1];
6207
+ p = e.call(n, t);
6208
+ } catch (l) {
6209
+ p = [6, l], o = 0;
6210
+ } finally {
6211
+ r = i = 0;
6212
+ }
6213
+ if (p[0] & 5) throw p[1];
6382
6214
  return { value: p[0] ? p[1] : void 0, done: !0 };
6383
6215
  }
6384
6216
  }
6385
6217
  function Ba(n, e) {
6386
6218
  var t = typeof Symbol == "function" && n[Symbol.iterator];
6387
- if (!t)
6388
- return n;
6219
+ if (!t) return n;
6389
6220
  var r = t.call(n), o, i = [], a;
6390
6221
  try {
6391
- for (; (e === void 0 || e-- > 0) && !(o = r.next()).done; )
6392
- i.push(o.value);
6222
+ for (; (e === void 0 || e-- > 0) && !(o = r.next()).done; ) i.push(o.value);
6393
6223
  } catch (s) {
6394
6224
  a = { error: s };
6395
6225
  } finally {
6396
6226
  try {
6397
6227
  o && !o.done && (t = r.return) && t.call(r);
6398
6228
  } finally {
6399
- if (a)
6400
- throw a.error;
6229
+ if (a) throw a.error;
6401
6230
  }
6402
6231
  }
6403
6232
  return i;
@@ -6426,8 +6255,7 @@ var Xr = function(n, e) {
6426
6255
  return Xr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, r) {
6427
6256
  t.__proto__ = r;
6428
6257
  } || function(t, r) {
6429
- for (var o in r)
6430
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
6258
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
6431
6259
  }, Xr(n, e);
6432
6260
  };
6433
6261
  function st(n, e) {
@@ -6441,8 +6269,7 @@ var me = function() {
6441
6269
  return me = Object.assign || function(e) {
6442
6270
  for (var t, r = 1, o = arguments.length; r < o; r++) {
6443
6271
  t = arguments[r];
6444
- for (var i in t)
6445
- Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
6272
+ for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
6446
6273
  }
6447
6274
  return e;
6448
6275
  }, me.apply(this, arguments);
@@ -6471,13 +6298,12 @@ function oe(n, e, t, r) {
6471
6298
  function p(l) {
6472
6299
  l.done ? i(l.value) : o(l.value).then(s, u);
6473
6300
  }
6474
- p((r = r.apply(n, e || [])).next());
6301
+ p((r = r.apply(n, [])).next());
6475
6302
  });
6476
6303
  }
6477
6304
  function ie(n, e) {
6478
6305
  var t = { label: 0, sent: function() {
6479
- if (i[0] & 1)
6480
- throw i[1];
6306
+ if (i[0] & 1) throw i[1];
6481
6307
  return i[1];
6482
6308
  }, trys: [], ops: [] }, r, o, i, a;
6483
6309
  return a = { next: s(0), throw: s(1), return: s(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
@@ -6489,59 +6315,54 @@ function ie(n, e) {
6489
6315
  };
6490
6316
  }
6491
6317
  function u(p) {
6492
- if (r)
6493
- throw new TypeError("Generator is already executing.");
6494
- for (; t; )
6495
- try {
6496
- if (r = 1, o && (i = p[0] & 2 ? o.return : p[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, p[1])).done)
6497
- return i;
6498
- switch (o = 0, i && (p = [p[0] & 2, i.value]), p[0]) {
6499
- case 0:
6500
- case 1:
6501
- i = p;
6502
- break;
6503
- case 4:
6504
- return t.label++, { value: p[1], done: !1 };
6505
- case 5:
6506
- t.label++, o = p[1], p = [0];
6507
- continue;
6508
- case 7:
6509
- p = t.ops.pop(), t.trys.pop();
6510
- continue;
6511
- default:
6512
- if (i = t.trys, !(i = i.length > 0 && i[i.length - 1]) && (p[0] === 6 || p[0] === 2)) {
6513
- t = 0;
6514
- continue;
6515
- }
6516
- if (p[0] === 3 && (!i || p[1] > i[0] && p[1] < i[3])) {
6517
- t.label = p[1];
6518
- break;
6519
- }
6520
- if (p[0] === 6 && t.label < i[1]) {
6521
- t.label = i[1], i = p;
6522
- break;
6523
- }
6524
- if (i && t.label < i[2]) {
6525
- t.label = i[2], t.ops.push(p);
6526
- break;
6527
- }
6528
- i[2] && t.ops.pop(), t.trys.pop();
6318
+ if (r) throw new TypeError("Generator is already executing.");
6319
+ for (; t; ) try {
6320
+ if (r = 1, o && (i = p[0] & 2 ? o.return : p[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, p[1])).done) return i;
6321
+ switch (o = 0, i && (p = [p[0] & 2, i.value]), p[0]) {
6322
+ case 0:
6323
+ case 1:
6324
+ i = p;
6325
+ break;
6326
+ case 4:
6327
+ return t.label++, { value: p[1], done: !1 };
6328
+ case 5:
6329
+ t.label++, o = p[1], p = [0];
6330
+ continue;
6331
+ case 7:
6332
+ p = t.ops.pop(), t.trys.pop();
6333
+ continue;
6334
+ default:
6335
+ if (i = t.trys, !(i = i.length > 0 && i[i.length - 1]) && (p[0] === 6 || p[0] === 2)) {
6336
+ t = 0;
6529
6337
  continue;
6530
- }
6531
- p = e.call(n, t);
6532
- } catch (l) {
6533
- p = [6, l], o = 0;
6534
- } finally {
6535
- r = i = 0;
6338
+ }
6339
+ if (p[0] === 3 && (!i || p[1] > i[0] && p[1] < i[3])) {
6340
+ t.label = p[1];
6341
+ break;
6342
+ }
6343
+ if (p[0] === 6 && t.label < i[1]) {
6344
+ t.label = i[1], i = p;
6345
+ break;
6346
+ }
6347
+ if (i && t.label < i[2]) {
6348
+ t.label = i[2], t.ops.push(p);
6349
+ break;
6350
+ }
6351
+ i[2] && t.ops.pop(), t.trys.pop();
6352
+ continue;
6536
6353
  }
6537
- if (p[0] & 5)
6538
- throw p[1];
6354
+ p = e.call(n, t);
6355
+ } catch (l) {
6356
+ p = [6, l], o = 0;
6357
+ } finally {
6358
+ r = i = 0;
6359
+ }
6360
+ if (p[0] & 5) throw p[1];
6539
6361
  return { value: p[0] ? p[1] : void 0, done: !0 };
6540
6362
  }
6541
6363
  }
6542
6364
  function Or() {
6543
- for (var n = 0, e = 0, t = arguments.length; e < t; e++)
6544
- n += arguments[e].length;
6365
+ for (var n = 0, e = 0, t = arguments.length; e < t; e++) n += arguments[e].length;
6545
6366
  for (var r = Array(n), o = 0, e = 0; e < t; e++)
6546
6367
  for (var i = arguments[e], a = 0, s = i.length; a < s; a++, o++)
6547
6368
  r[o] = i[a];
@@ -6665,7 +6486,7 @@ var Zt;
6665
6486
  (function(n) {
6666
6487
  n[n.ADFS = 1001] = "ADFS", n[n.MSA = 1002] = "MSA", n[n.MSSTS = 1003] = "MSSTS", n[n.GENERIC = 1004] = "GENERIC", n[n.ACCESS_TOKEN = 2001] = "ACCESS_TOKEN", n[n.REFRESH_TOKEN = 2002] = "REFRESH_TOKEN", n[n.ID_TOKEN = 2003] = "ID_TOKEN", n[n.APP_METADATA = 3001] = "APP_METADATA", n[n.UNDEFINED = 9999] = "UNDEFINED";
6667
6488
  })(Zt || (Zt = {}));
6668
- var Zr = "appmetadata", Da = "client_info", $n = "1", Jn = {
6489
+ var Zr = "appmetadata", Ha = "client_info", $n = "1", Jn = {
6669
6490
  CACHE_KEY: "authority-metadata",
6670
6491
  REFRESH_TIME_SECONDS: 3600 * 24
6671
6492
  // 24 Hours
@@ -6675,7 +6496,6 @@ var Zr = "appmetadata", Da = "client_info", $n = "1", Jn = {
6675
6496
  })(wt || (wt = {}));
6676
6497
  var qe = {
6677
6498
  SCHEMA_VERSION: 5,
6678
- MAX_CUR_HEADER_BYTES: 80,
6679
6499
  MAX_LAST_HEADER_BYTES: 330,
6680
6500
  MAX_CACHED_ERRORS: 50,
6681
6501
  CACHE_KEY: "server-telemetry",
@@ -6848,10 +6668,6 @@ var B = {
6848
6668
  code: "hash_not_deserialized",
6849
6669
  desc: "The hash parameters could not be deserialized. Please review the trace to determine the root cause."
6850
6670
  },
6851
- blankGuidGenerated: {
6852
- code: "blank_guid_generated",
6853
- desc: "The guid generated was blank. Please review the trace to determine the root cause."
6854
- },
6855
6671
  invalidStateError: {
6856
6672
  code: "invalid_state",
6857
6673
  desc: "State was not the expected format. Please check the logs to determine whether the request was sent using ProtocolUtils.setRequestState()."
@@ -6880,10 +6696,6 @@ var B = {
6880
6696
  code: "max_age_transpired",
6881
6697
  desc: "Max Age is set to 0, or too much time has elapsed since the last end-user authentication."
6882
6698
  },
6883
- noTokensFoundError: {
6884
- code: "no_tokens_found",
6885
- desc: "No tokens were found for the given scopes, and no authorization code was passed to acquireToken. You must retrieve an authorization code before making a call to acquireToken()."
6886
- },
6887
6699
  multipleMatchingTokens: {
6888
6700
  code: "multiple_matching_tokens",
6889
6701
  desc: "The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account."
@@ -6988,14 +6800,6 @@ var B = {
6988
6800
  code: "authorization_code_missing_from_server_response",
6989
6801
  desc: "Server response does not contain an authorization code to proceed"
6990
6802
  },
6991
- noAzureRegionDetected: {
6992
- code: "no_azure_region_detected",
6993
- desc: "No azure region was detected and no fallback was made available"
6994
- },
6995
- accessTokenEntityNullError: {
6996
- code: "access_token_entity_null",
6997
- desc: "Access token entity is null, please check logs and cache to ensure a valid access token is present."
6998
- },
6999
6803
  bindingKeyNotRemovedError: {
7000
6804
  code: "binding_key_not_removed",
7001
6805
  desc: "Could not remove the credential's binding key from storage."
@@ -7182,25 +6986,25 @@ var V = (
7182
6986
  }()
7183
6987
  );
7184
6988
  /*! @azure/msal-common v13.3.1 2023-10-27 */
7185
- var De;
6989
+ var He;
7186
6990
  (function(n) {
7187
6991
  n[n.Error = 0] = "Error", n[n.Warning = 1] = "Warning", n[n.Info = 2] = "Info", n[n.Verbose = 3] = "Verbose", n[n.Trace = 4] = "Trace";
7188
- })(De || (De = {}));
6992
+ })(He || (He = {}));
7189
6993
  var mo = (
7190
6994
  /** @class */
7191
6995
  function() {
7192
6996
  function n(e, t, r) {
7193
- this.level = De.Info;
6997
+ this.level = He.Info;
7194
6998
  var o = function() {
7195
6999
  }, i = e || n.createDefaultLoggerOptions();
7196
- this.localCallback = i.loggerCallback || o, this.piiLoggingEnabled = i.piiLoggingEnabled || !1, this.level = typeof i.logLevel == "number" ? i.logLevel : De.Info, this.correlationId = i.correlationId || w.EMPTY_STRING, this.packageName = t || w.EMPTY_STRING, this.packageVersion = r || w.EMPTY_STRING;
7000
+ this.localCallback = i.loggerCallback || o, this.piiLoggingEnabled = i.piiLoggingEnabled || !1, this.level = typeof i.logLevel == "number" ? i.logLevel : He.Info, this.correlationId = i.correlationId || w.EMPTY_STRING, this.packageName = t || w.EMPTY_STRING, this.packageVersion = r || w.EMPTY_STRING;
7197
7001
  }
7198
7002
  return n.createDefaultLoggerOptions = function() {
7199
7003
  return {
7200
7004
  loggerCallback: function() {
7201
7005
  },
7202
7006
  piiLoggingEnabled: !1,
7203
- logLevel: De.Info
7007
+ logLevel: He.Info
7204
7008
  };
7205
7009
  }, n.prototype.clone = function(e, t, r) {
7206
7010
  return new n({ loggerCallback: this.localCallback, piiLoggingEnabled: this.piiLoggingEnabled, logLevel: this.level, correlationId: r || this.correlationId }, e, t);
@@ -7208,68 +7012,68 @@ var mo = (
7208
7012
  if (!(t.logLevel > this.level || !this.piiLoggingEnabled && t.containsPii)) {
7209
7013
  var r = (/* @__PURE__ */ new Date()).toUTCString(), o;
7210
7014
  V.isEmpty(t.correlationId) ? V.isEmpty(this.correlationId) ? o = "[" + r + "]" : o = "[" + r + "] : [" + this.correlationId + "]" : o = "[" + r + "] : [" + t.correlationId + "]";
7211
- var i = o + " : " + this.packageName + "@" + this.packageVersion + " : " + De[t.logLevel] + " - " + e;
7015
+ var i = o + " : " + this.packageName + "@" + this.packageVersion + " : " + He[t.logLevel] + " - " + e;
7212
7016
  this.executeCallback(t.logLevel, i, t.containsPii || !1);
7213
7017
  }
7214
7018
  }, n.prototype.executeCallback = function(e, t, r) {
7215
7019
  this.localCallback && this.localCallback(e, t, r);
7216
7020
  }, n.prototype.error = function(e, t) {
7217
7021
  this.logMessage(e, {
7218
- logLevel: De.Error,
7022
+ logLevel: He.Error,
7219
7023
  containsPii: !1,
7220
7024
  correlationId: t || w.EMPTY_STRING
7221
7025
  });
7222
7026
  }, n.prototype.errorPii = function(e, t) {
7223
7027
  this.logMessage(e, {
7224
- logLevel: De.Error,
7028
+ logLevel: He.Error,
7225
7029
  containsPii: !0,
7226
7030
  correlationId: t || w.EMPTY_STRING
7227
7031
  });
7228
7032
  }, n.prototype.warning = function(e, t) {
7229
7033
  this.logMessage(e, {
7230
- logLevel: De.Warning,
7034
+ logLevel: He.Warning,
7231
7035
  containsPii: !1,
7232
7036
  correlationId: t || w.EMPTY_STRING
7233
7037
  });
7234
7038
  }, n.prototype.warningPii = function(e, t) {
7235
7039
  this.logMessage(e, {
7236
- logLevel: De.Warning,
7040
+ logLevel: He.Warning,
7237
7041
  containsPii: !0,
7238
7042
  correlationId: t || w.EMPTY_STRING
7239
7043
  });
7240
7044
  }, n.prototype.info = function(e, t) {
7241
7045
  this.logMessage(e, {
7242
- logLevel: De.Info,
7046
+ logLevel: He.Info,
7243
7047
  containsPii: !1,
7244
7048
  correlationId: t || w.EMPTY_STRING
7245
7049
  });
7246
7050
  }, n.prototype.infoPii = function(e, t) {
7247
7051
  this.logMessage(e, {
7248
- logLevel: De.Info,
7052
+ logLevel: He.Info,
7249
7053
  containsPii: !0,
7250
7054
  correlationId: t || w.EMPTY_STRING
7251
7055
  });
7252
7056
  }, n.prototype.verbose = function(e, t) {
7253
7057
  this.logMessage(e, {
7254
- logLevel: De.Verbose,
7058
+ logLevel: He.Verbose,
7255
7059
  containsPii: !1,
7256
7060
  correlationId: t || w.EMPTY_STRING
7257
7061
  });
7258
7062
  }, n.prototype.verbosePii = function(e, t) {
7259
7063
  this.logMessage(e, {
7260
- logLevel: De.Verbose,
7064
+ logLevel: He.Verbose,
7261
7065
  containsPii: !0,
7262
7066
  correlationId: t || w.EMPTY_STRING
7263
7067
  });
7264
7068
  }, n.prototype.trace = function(e, t) {
7265
7069
  this.logMessage(e, {
7266
- logLevel: De.Trace,
7070
+ logLevel: He.Trace,
7267
7071
  containsPii: !1,
7268
7072
  correlationId: t || w.EMPTY_STRING
7269
7073
  });
7270
7074
  }, n.prototype.tracePii = function(e, t) {
7271
7075
  this.logMessage(e, {
7272
- logLevel: De.Trace,
7076
+ logLevel: He.Trace,
7273
7077
  containsPii: !0,
7274
7078
  correlationId: t || w.EMPTY_STRING
7275
7079
  });
@@ -7315,10 +7119,6 @@ var re = {
7315
7119
  code: "empty_input_scopes_error",
7316
7120
  desc: "Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token."
7317
7121
  },
7318
- nonArrayScopesError: {
7319
- code: "nonarray_input_scopes_error",
7320
- desc: "Scopes cannot be passed as non-array."
7321
- },
7322
7122
  clientIdSingleScopeError: {
7323
7123
  code: "clientid_input_scopes_error",
7324
7124
  desc: "Client ID can only be provided as a single scope."
@@ -7599,17 +7399,17 @@ var Ge = (
7599
7399
  ];
7600
7400
  return t.join(Be.CACHE_KEY_SEPARATOR).toLowerCase();
7601
7401
  }, n.createAccount = function(e, t, r, o, i, a, s, u) {
7602
- var p, l, g, f, k, E, P = new n();
7603
- P.authorityType = $t.MSSTS_ACCOUNT_TYPE, P.clientInfo = e, P.homeAccountId = t, P.nativeAccountId = u;
7402
+ var p, l, g, f, k, E, R = new n();
7403
+ R.authorityType = $t.MSSTS_ACCOUNT_TYPE, R.clientInfo = e, R.homeAccountId = t, R.nativeAccountId = u;
7604
7404
  var j = s || o && o.getPreferredCache();
7605
7405
  if (!j)
7606
7406
  throw Y.createInvalidCacheEnvironmentError();
7607
- if (P.environment = j, P.realm = ((p = r == null ? void 0 : r.claims) === null || p === void 0 ? void 0 : p.tid) || w.EMPTY_STRING, r) {
7608
- P.idTokenClaims = r.claims, P.localAccountId = ((l = r == null ? void 0 : r.claims) === null || l === void 0 ? void 0 : l.oid) || ((g = r == null ? void 0 : r.claims) === null || g === void 0 ? void 0 : g.sub) || w.EMPTY_STRING;
7407
+ if (R.environment = j, R.realm = ((p = r == null ? void 0 : r.claims) === null || p === void 0 ? void 0 : p.tid) || w.EMPTY_STRING, r) {
7408
+ R.idTokenClaims = r.claims, R.localAccountId = ((l = r == null ? void 0 : r.claims) === null || l === void 0 ? void 0 : l.oid) || ((g = r == null ? void 0 : r.claims) === null || g === void 0 ? void 0 : g.sub) || w.EMPTY_STRING;
7609
7409
  var K = (f = r == null ? void 0 : r.claims) === null || f === void 0 ? void 0 : f.preferred_username, z = !((k = r == null ? void 0 : r.claims) === null || k === void 0) && k.emails ? r.claims.emails[0] : null;
7610
- P.username = K || z || w.EMPTY_STRING, P.name = (E = r == null ? void 0 : r.claims) === null || E === void 0 ? void 0 : E.name;
7410
+ R.username = K || z || w.EMPTY_STRING, R.name = (E = r == null ? void 0 : r.claims) === null || E === void 0 ? void 0 : E.name;
7611
7411
  }
7612
- return P.cloudGraphHostName = i, P.msGraphHost = a, P;
7412
+ return R.cloudGraphHostName = i, R.msGraphHost = a, R;
7613
7413
  }, n.createGenericAccount = function(e, t, r, o, i, a) {
7614
7414
  var s, u, p, l, g = new n();
7615
7415
  g.authorityType = r && r.authorityType === tt.Adfs ? $t.ADFS_ACCOUNT_TYPE : $t.GENERIC_ACCOUNT_TYPE, g.homeAccountId = e, g.realm = w.EMPTY_STRING;
@@ -7852,12 +7652,9 @@ var ot = (
7852
7652
  2
7853
7653
  /*return*/
7854
7654
  ];
7855
- if (t.credentialType.toLowerCase() !== ee.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())
7856
- return [3, 4];
7857
- if (t.tokenType !== _e.POP)
7858
- return [3, 4];
7859
- if (r = t, o = r.keyId, !o)
7860
- return [3, 4];
7655
+ if (t.credentialType.toLowerCase() !== ee.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()) return [3, 4];
7656
+ if (t.tokenType !== _e.POP) return [3, 4];
7657
+ if (r = t, o = r.keyId, !o) return [3, 4];
7861
7658
  i.label = 1;
7862
7659
  case 1:
7863
7660
  return i.trys.push([1, 3, , 4]), [4, this.cryptoImpl.removeTokenBindingKey(o)];
@@ -8038,7 +7835,7 @@ var ot = (
8038
7835
  return e;
8039
7836
  }, n;
8040
7837
  }()
8041
- ), Ha = (
7838
+ ), Da = (
8042
7839
  /** @class */
8043
7840
  function(n) {
8044
7841
  st(e, n);
@@ -8132,7 +7929,7 @@ var ja = 300, gi = {
8132
7929
  loggerCallback: function() {
8133
7930
  },
8134
7931
  piiLoggingEnabled: !1,
8135
- logLevel: De.Info,
7932
+ logLevel: He.Info,
8136
7933
  correlationId: w.EMPTY_STRING
8137
7934
  }, qa = {
8138
7935
  claimsBasedCachingEnabled: !0
@@ -8177,7 +7974,7 @@ function Wa(n) {
8177
7974
  systemOptions: me(me({}, gi), t),
8178
7975
  loggerOptions: E,
8179
7976
  cacheOptions: me(me({}, qa), o),
8180
- storageInterface: i || new Ha(e.clientId, Cr, new mo(E)),
7977
+ storageInterface: i || new Da(e.clientId, Cr, new mo(E)),
8181
7978
  networkInterface: a || Ka,
8182
7979
  cryptoInterface: s || Cr,
8183
7980
  clientCredentials: u || Va,
@@ -8407,7 +8204,7 @@ var er = (
8407
8204
  }, n.prototype.addGrantType = function(e) {
8408
8205
  this.parameters.set(ae.GRANT_TYPE, encodeURIComponent(e));
8409
8206
  }, n.prototype.addClientInfo = function() {
8410
- this.parameters.set(Da, "1");
8207
+ this.parameters.set(Ha, "1");
8411
8208
  }, n.prototype.addExtraQueryParameters = function(e) {
8412
8209
  var t = this, r = bn.sanitizeEQParams(e, this.parameters);
8413
8210
  Object.keys(r).forEach(function(o) {
@@ -8595,11 +8392,11 @@ var En = (
8595
8392
  function e() {
8596
8393
  return n !== null && n.apply(this, arguments) || this;
8597
8394
  }
8598
- return e.createAccessTokenEntity = function(t, r, o, i, a, s, u, p, l, g, f, k, E, P, j) {
8395
+ return e.createAccessTokenEntity = function(t, r, o, i, a, s, u, p, l, g, f, k, E, R, j) {
8599
8396
  var K, z, T = new e();
8600
8397
  T.homeAccountId = t, T.credentialType = ee.ACCESS_TOKEN, T.secret = o;
8601
- var D = kt.nowSeconds();
8602
- if (T.cachedAt = D.toString(), T.expiresOn = u.toString(), T.extendedExpiresOn = p.toString(), g && (T.refreshOn = g.toString()), T.environment = r, T.clientId = i, T.realm = a, T.target = s, T.userAssertionHash = k, T.tokenType = V.isEmpty(f) ? _e.BEARER : f, P && (T.requestedClaims = P, T.requestedClaimsHash = j), ((K = T.tokenType) === null || K === void 0 ? void 0 : K.toLowerCase()) !== _e.BEARER.toLowerCase())
8398
+ var H = kt.nowSeconds();
8399
+ if (T.cachedAt = H.toString(), T.expiresOn = u.toString(), T.extendedExpiresOn = p.toString(), g && (T.refreshOn = g.toString()), T.environment = r, T.clientId = i, T.realm = a, T.target = s, T.userAssertionHash = k, T.tokenType = V.isEmpty(f) ? _e.BEARER : f, R && (T.requestedClaims = R, T.requestedClaimsHash = j), ((K = T.tokenType) === null || K === void 0 ? void 0 : K.toLowerCase()) !== _e.BEARER.toLowerCase())
8603
8400
  switch (T.credentialType = ee.ACCESS_TOKEN_WITH_AUTH_SCHEME, T.tokenType) {
8604
8401
  case _e.POP:
8605
8402
  var G = Vt.extractTokenClaims(o, l);
@@ -8837,7 +8634,7 @@ var to;
8837
8634
  (function(n) {
8838
8635
  n.SW = "sw", n.UHW = "uhw";
8839
8636
  })(to || (to = {}));
8840
- var Hn = (
8637
+ var Dn = (
8841
8638
  /** @class */
8842
8639
  function() {
8843
8640
  function n(e, t) {
@@ -8974,7 +8771,7 @@ var Ir = (
8974
8771
  }, n.prototype.handleServerTokenResponse = function(e, t, r, o, i, a, s, u, p) {
8975
8772
  var l;
8976
8773
  return oe(this, void 0, void 0, function() {
8977
- var g, f, k, E, P, j, K;
8774
+ var g, f, k, E, R, j, K;
8978
8775
  return ie(this, function(z) {
8979
8776
  switch (z.label) {
8980
8777
  case 0:
@@ -8989,7 +8786,7 @@ var Ir = (
8989
8786
  }
8990
8787
  this.homeAccountIdentifier = Ge.generateHomeAccountId(e.client_info || w.EMPTY_STRING, t.authorityType, this.logger, this.cryptoObj, g), i && i.state && (k = tn.parseRequestState(this.cryptoObj, i.state)), e.key_id = e.key_id || o.sshKid || void 0, E = this.generateCacheRecord(e, t, r, o, g, a, i), z.label = 1;
8991
8788
  case 1:
8992
- return z.trys.push([1, , 5, 8]), this.persistencePlugin && this.serializableCache ? (this.logger.verbose("Persistence enabled, calling beforeCacheAccess"), P = new es(this.serializableCache, !0), [4, this.persistencePlugin.beforeCacheAccess(P)]) : [3, 3];
8789
+ return z.trys.push([1, , 5, 8]), this.persistencePlugin && this.serializableCache ? (this.logger.verbose("Persistence enabled, calling beforeCacheAccess"), R = new es(this.serializableCache, !0), [4, this.persistencePlugin.beforeCacheAccess(R)]) : [3, 3];
8993
8790
  case 2:
8994
8791
  z.sent(), z.label = 3;
8995
8792
  case 3:
@@ -8997,7 +8794,7 @@ var Ir = (
8997
8794
  case 4:
8998
8795
  return z.sent(), [3, 8];
8999
8796
  case 5:
9000
- return this.persistencePlugin && this.serializableCache && P ? (this.logger.verbose("Persistence enabled, calling afterCacheAccess"), [4, this.persistencePlugin.afterCacheAccess(P)]) : [3, 7];
8797
+ return this.persistencePlugin && this.serializableCache && R ? (this.logger.verbose("Persistence enabled, calling afterCacheAccess"), [4, this.persistencePlugin.afterCacheAccess(R)]) : [3, 7];
9001
8798
  case 6:
9002
8799
  z.sent(), z.label = 7;
9003
8800
  case 7:
@@ -9018,13 +8815,13 @@ var Ir = (
9018
8815
  !V.isEmpty(e.id_token) && i && (p = Cn.createIdTokenEntity(this.homeAccountIdentifier, u, e.id_token || w.EMPTY_STRING, this.clientId, i.claims.tid || w.EMPTY_STRING), l = this.generateAccountEntity(e, i, t, s));
9019
8816
  var g = null;
9020
8817
  if (!V.isEmpty(e.access_token)) {
9021
- var f = e.scope ? Xe.fromString(e.scope) : new Xe(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, P = (typeof e.refresh_in == "string" ? parseInt(e.refresh_in, 10) : e.refresh_in) || void 0, j = r + k, K = j + E, z = P && P > 0 ? r + P : void 0;
8818
+ var f = e.scope ? Xe.fromString(e.scope) : new Xe(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, R = (typeof e.refresh_in == "string" ? parseInt(e.refresh_in, 10) : e.refresh_in) || void 0, j = r + k, K = j + E, z = R && R > 0 ? r + R : void 0;
9022
8819
  g = En.createAccessTokenEntity(this.homeAccountIdentifier, u, e.access_token || w.EMPTY_STRING, this.clientId, i ? i.claims.tid || w.EMPTY_STRING : t.tenant, f.printScopes(), j, K, this.cryptoObj, z, e.token_type, a, e.key_id, o.claims, o.requestedClaimsHash);
9023
8820
  }
9024
8821
  var T = null;
9025
8822
  V.isEmpty(e.refresh_token) || (T = On.createRefreshTokenEntity(this.homeAccountIdentifier, u, e.refresh_token || w.EMPTY_STRING, this.clientId, e.foci, a));
9026
- var D = null;
9027
- return V.isEmpty(e.foci) || (D = no.createAppMetadataEntity(this.clientId, u, e.foci)), new tr(l, p, g, T, D);
8823
+ var H = null;
8824
+ return V.isEmpty(e.foci) || (H = no.createAppMetadataEntity(this.clientId, u, e.foci)), new tr(l, p, g, T, H);
9028
8825
  }, n.prototype.generateAccountEntity = function(e, t, r, o) {
9029
8826
  var i = r.authorityType, a = o ? o.cloud_graph_host_name : w.EMPTY_STRING, s = o ? o.msgraph_host : w.EMPTY_STRING;
9030
8827
  if (i === tt.Adfs)
@@ -9035,23 +8832,21 @@ var Ir = (
9035
8832
  }, n.generateAuthenticationResult = function(e, t, r, o, i, a, s, u, p) {
9036
8833
  var l, g, f;
9037
8834
  return oe(this, void 0, void 0, function() {
9038
- var k, E, P, j, K, z, T, D, G, J, te;
8835
+ var k, E, R, j, K, z, T, H, G, J, te;
9039
8836
  return ie(this, function(Z) {
9040
8837
  switch (Z.label) {
9041
8838
  case 0:
9042
- if (k = w.EMPTY_STRING, E = [], P = null, K = w.EMPTY_STRING, !r.accessToken)
9043
- return [3, 4];
9044
- if (r.accessToken.tokenType !== _e.POP)
9045
- return [3, 2];
9046
- if (z = new Hn(e), T = r.accessToken, D = T.secret, G = T.keyId, !G)
8839
+ if (k = w.EMPTY_STRING, E = [], R = null, K = w.EMPTY_STRING, !r.accessToken) return [3, 4];
8840
+ if (r.accessToken.tokenType !== _e.POP) return [3, 2];
8841
+ if (z = new Dn(e), T = r.accessToken, H = T.secret, G = T.keyId, !G)
9047
8842
  throw Y.createKeyIdMissingError();
9048
- return [4, z.signPopToken(D, G, i)];
8843
+ return [4, z.signPopToken(H, G, i)];
9049
8844
  case 1:
9050
8845
  return k = Z.sent(), [3, 3];
9051
8846
  case 2:
9052
8847
  k = r.accessToken.secret, Z.label = 3;
9053
8848
  case 3:
9054
- E = Xe.fromString(r.accessToken.target).asArray(), P = new Date(Number(r.accessToken.expiresOn) * 1e3), j = new Date(Number(r.accessToken.extendedExpiresOn) * 1e3), Z.label = 4;
8849
+ E = Xe.fromString(r.accessToken.target).asArray(), R = new Date(Number(r.accessToken.expiresOn) * 1e3), j = new Date(Number(r.accessToken.extendedExpiresOn) * 1e3), Z.label = 4;
9055
8850
  case 4:
9056
8851
  return r.appMetadata && (K = r.appMetadata.familyId === $n ? $n : w.EMPTY_STRING), J = (a == null ? void 0 : a.claims.oid) || (a == null ? void 0 : a.claims.sub) || w.EMPTY_STRING, te = (a == null ? void 0 : a.claims.tid) || w.EMPTY_STRING, u != null && u.spa_accountid && r.account && (r.account.nativeAccountId = u == null ? void 0 : u.spa_accountid), [2, {
9057
8852
  authority: t.canonicalAuthority,
@@ -9063,7 +8858,7 @@ var Ir = (
9063
8858
  idTokenClaims: a ? a.claims : {},
9064
8859
  accessToken: k,
9065
8860
  fromCache: o,
9066
- expiresOn: P,
8861
+ expiresOn: R,
9067
8862
  correlationId: i.correlationId,
9068
8863
  requestId: p || w.EMPTY_STRING,
9069
8864
  extExpiresOn: j,
@@ -9106,7 +8901,7 @@ var _i = (
9106
8901
  }, e.prototype.acquireToken = function(t, r) {
9107
8902
  var o, i, a, s, u, p;
9108
8903
  return oe(this, void 0, void 0, function() {
9109
- var l, g, f, k, E, P, j = this;
8904
+ var l, g, f, k, E, R, j = this;
9110
8905
  return ie(this, function(K) {
9111
8906
  switch (K.label) {
9112
8907
  case 0:
@@ -9116,7 +8911,7 @@ var _i = (
9116
8911
  case 1:
9117
8912
  return f = K.sent(), k = (s = f.headers) === null || s === void 0 ? void 0 : s[mt.X_MS_REQUEST_ID], E = (u = f.headers) === null || u === void 0 ? void 0 : u[mt.X_MS_HTTP_VERSION], E && (l == null || l.addStaticFields({
9118
8913
  httpVerAuthority: E
9119
- })), P = new Ir(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin, this.performanceClient), P.validateTokenResponse(f.body), (p = this.performanceClient) === null || p === void 0 || p.setPreQueueTime(A.HandleServerTokenResponse, t.correlationId), [2, P.handleServerTokenResponse(f.body, this.authority, g, t, r, void 0, void 0, void 0, k).then(function(z) {
8914
+ })), R = new Ir(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin, this.performanceClient), R.validateTokenResponse(f.body), (p = this.performanceClient) === null || p === void 0 || p.setPreQueueTime(A.HandleServerTokenResponse, t.correlationId), [2, R.handleServerTokenResponse(f.body, this.authority, g, t, r, void 0, void 0, void 0, k).then(function(z) {
9120
8915
  return l == null || l.endMeasurement({
9121
8916
  success: !0
9122
8917
  }), z;
@@ -9182,7 +8977,7 @@ var _i = (
9182
8977
  return ie(this, function(k) {
9183
8978
  switch (k.label) {
9184
8979
  case 0:
9185
- return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.AuthClientCreateTokenRequestBody, t.correlationId), i = new er(), i.addClientId(this.config.authOptions.clientId), this.includeRedirectUri ? i.addRedirectUri(t.redirectUri) : bn.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(br.AUTHORIZATION_CODE_GRANT), i.addClientInfo(), t.authenticationScheme !== _e.POP ? [3, 2] : (s = new Hn(this.cryptoUtils, this.performanceClient), (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(A.PopTokenGenerateCnf, t.correlationId), [4, s.generateCnf(t)]);
8980
+ return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.AuthClientCreateTokenRequestBody, t.correlationId), i = new er(), i.addClientId(this.config.authOptions.clientId), this.includeRedirectUri ? i.addRedirectUri(t.redirectUri) : bn.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(br.AUTHORIZATION_CODE_GRANT), i.addClientInfo(), t.authenticationScheme !== _e.POP ? [3, 2] : (s = new Dn(this.cryptoUtils, this.performanceClient), (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(A.PopTokenGenerateCnf, t.correlationId), [4, s.generateCnf(t)]);
9186
8981
  case 1:
9187
8982
  return u = k.sent(), i.addPopToken(u.reqCnfString), [3, 3];
9188
8983
  case 2:
@@ -9256,11 +9051,10 @@ var _i = (
9256
9051
  this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header");
9257
9052
  }
9258
9053
  }
9259
- } else
9260
- t.loginHint && (this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"), o.addLoginHint(t.loginHint), o.addCcsUpn(t.loginHint));
9054
+ } else t.loginHint && (this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"), o.addLoginHint(t.loginHint), o.addCcsUpn(t.loginHint));
9261
9055
  else
9262
9056
  this.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");
9263
- return t.nonce && o.addNonce(t.nonce), t.state && o.addState(t.state), (!V.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 !== _e.POP ? [3, 2] : (l = new Hn(this.cryptoUtils), [4, l.generateCnf(t)])) : [3, 2];
9057
+ return t.nonce && o.addNonce(t.nonce), t.state && o.addState(t.state), (!V.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 !== _e.POP ? [3, 2] : (l = new Dn(this.cryptoUtils), [4, l.generateCnf(t)])) : [3, 2];
9264
9058
  case 1:
9265
9059
  g = f.sent(), o.addPopToken(g.reqCnfString), f.label = 2;
9266
9060
  case 2:
@@ -9291,7 +9085,7 @@ var vi = (
9291
9085
  return e.prototype.acquireToken = function(t) {
9292
9086
  var r, o, i, a, s, u, p;
9293
9087
  return oe(this, void 0, void 0, function() {
9294
- var l, g, f, k, E, P, j = this;
9088
+ var l, g, f, k, E, R, j = this;
9295
9089
  return ie(this, function(K) {
9296
9090
  switch (K.label) {
9297
9091
  case 0:
@@ -9301,7 +9095,7 @@ var vi = (
9301
9095
  refreshTokenSize: ((s = f.body.refresh_token) === null || s === void 0 ? void 0 : s.length) || 0
9302
9096
  }), k && (l == null || l.addStaticFields({
9303
9097
  httpVerToken: k
9304
- })), E = (u = f.headers) === null || u === void 0 ? void 0 : u[mt.X_MS_REQUEST_ID], P = new Ir(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin), P.validateTokenResponse(f.body), (p = this.performanceClient) === null || p === void 0 || p.setPreQueueTime(A.HandleServerTokenResponse, t.correlationId), [2, P.handleServerTokenResponse(f.body, this.authority, g, t, void 0, void 0, !0, t.forceCache, E).then(function(z) {
9098
+ })), E = (u = f.headers) === null || u === void 0 ? void 0 : u[mt.X_MS_REQUEST_ID], R = new Ir(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin), R.validateTokenResponse(f.body), (p = this.performanceClient) === null || p === void 0 || p.setPreQueueTime(A.HandleServerTokenResponse, t.correlationId), [2, R.handleServerTokenResponse(f.body, this.authority, g, t, void 0, void 0, !0, t.forceCache, E).then(function(z) {
9305
9099
  return l == null || l.endMeasurement({
9306
9100
  success: !0
9307
9101
  }), z;
@@ -9388,7 +9182,7 @@ var vi = (
9388
9182
  return ie(this, function(k) {
9389
9183
  switch (k.label) {
9390
9184
  case 0:
9391
- return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.RefreshTokenClientCreateTokenRequestBody, t.correlationId), a = t.correlationId, s = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(A.BaseClientCreateTokenRequestHeaders, a), u = new er(), u.addClientId(this.config.authOptions.clientId), u.addScopes(t.scopes), u.addGrantType(br.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 !== _e.POP ? [3, 2] : (l = new Hn(this.cryptoUtils, this.performanceClient), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(A.PopTokenGenerateCnf, t.correlationId), [4, l.generateCnf(t)]);
9185
+ return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.RefreshTokenClientCreateTokenRequestBody, t.correlationId), a = t.correlationId, s = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(A.BaseClientCreateTokenRequestHeaders, a), u = new er(), u.addClientId(this.config.authOptions.clientId), u.addScopes(t.scopes), u.addGrantType(br.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 !== _e.POP ? [3, 2] : (l = new Dn(this.cryptoUtils, this.performanceClient), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(A.PopTokenGenerateCnf, t.correlationId), [4, l.generateCnf(t)]);
9392
9186
  case 1:
9393
9187
  return g = k.sent(), u.addPopToken(g.reqCnfString), [3, 3];
9394
9188
  case 2:
@@ -9472,8 +9266,7 @@ var ts = (
9472
9266
  throw (a = this.serverTelemetryManager) === null || a === void 0 || a.setCacheOutcome(hn.CACHED_ACCESS_TOKEN_EXPIRED), this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token is expired or will expire within " + this.config.systemOptions.tokenRenewalOffsetSeconds + " seconds."), Y.createRefreshRequiredError();
9473
9267
  if (p.accessToken.refreshOn && kt.isTokenExpired(p.accessToken.refreshOn, 0))
9474
9268
  throw (s = this.serverTelemetryManager) === null || s === void 0 || s.setCacheOutcome(hn.REFRESH_CACHED_ACCESS_TOKEN), this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'."), Y.createRefreshRequiredError();
9475
- } else
9476
- throw (i = this.serverTelemetryManager) === null || i === void 0 || i.setCacheOutcome(hn.NO_CACHED_ACCESS_TOKEN), this.logger.info("SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties."), Y.createRefreshRequiredError();
9269
+ } else throw (i = this.serverTelemetryManager) === null || i === void 0 || i.setCacheOutcome(hn.NO_CACHED_ACCESS_TOKEN), this.logger.info("SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties."), Y.createRefreshRequiredError();
9477
9270
  return this.config.serverTelemetryManager && this.config.serverTelemetryManager.incrementCacheHits(), [4, this.generateResultFromCacheRecord(p, t)];
9478
9271
  case 1:
9479
9272
  return [2, l.sent()];
@@ -9555,8 +9348,7 @@ var is = (
9555
9348
  return ie(this, function(f) {
9556
9349
  switch (f.label) {
9557
9350
  case 0:
9558
- if ((r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.RegionDiscoveryDetectRegion, this.correlationId), s = e, s)
9559
- return [3, 8];
9351
+ if ((r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.RegionDiscoveryDetectRegion, this.correlationId), s = e, s) return [3, 8];
9560
9352
  u = n.IMDS_OPTIONS, f.label = 1;
9561
9353
  case 1:
9562
9354
  return f.trys.push([1, 6, , 7]), (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(A.RegionDiscoveryGetRegionFromIMDS, this.correlationId), [4, this.getRegionFromIMDS(w.IMDS_VERSION, u)];
@@ -10093,7 +9885,7 @@ var mr = {
10093
9885
  code: "missing_alg_error",
10094
9886
  desc: "The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."
10095
9887
  }
10096
- }, Do = (
9888
+ }, Ho = (
10097
9889
  /** @class */
10098
9890
  function(n) {
10099
9891
  st(e, n);
@@ -10117,9 +9909,9 @@ var ss = (
10117
9909
  }
10118
9910
  return n.getShrHeaderString = function(e) {
10119
9911
  if (!e.kid)
10120
- throw Do.createMissingKidError();
9912
+ throw Ho.createMissingKidError();
10121
9913
  if (!e.alg)
10122
- throw Do.createMissingAlgError();
9914
+ throw Ho.createMissingAlgError();
10123
9915
  var t = new n({
10124
9916
  // Access Token PoP headers must have type pop, but the type header can be overriden for special cases
10125
9917
  typ: e.typ || eo.Pop,
@@ -10329,7 +10121,7 @@ var wi = (
10329
10121
  }()
10330
10122
  );
10331
10123
  /*! @azure/msal-common v13.3.1 2023-10-27 */
10332
- var Ho = (
10124
+ var Do = (
10333
10125
  /** @class */
10334
10126
  function() {
10335
10127
  function n() {
@@ -10350,9 +10142,9 @@ var Ho = (
10350
10142
  return e.prototype.generateId = function() {
10351
10143
  return "callback-id";
10352
10144
  }, e.prototype.startPerformanceMeasuremeant = function() {
10353
- return new Ho();
10145
+ return new Do();
10354
10146
  }, e.prototype.startPerformanceMeasurement = function() {
10355
- return new Ho();
10147
+ return new Do();
10356
10148
  }, e.prototype.calculateQueuedTime = function(t, r) {
10357
10149
  return 0;
10358
10150
  }, e.prototype.addQueueMeasurement = function(t, r, o) {
@@ -10646,10 +10438,6 @@ var U = {
10646
10438
  );
10647
10439
  /*! @azure/msal-browser v2.38.3 2023-10-27 */
10648
10440
  var Rt = {
10649
- /**
10650
- * Interaction in progress cache value
10651
- */
10652
- INTERACTION_IN_PROGRESS_VALUE: "interaction_in_progress",
10653
10441
  /**
10654
10442
  * Invalid grant error code
10655
10443
  */
@@ -10694,10 +10482,10 @@ var ue;
10694
10482
  (function(n) {
10695
10483
  n.AUTHORITY = "authority", n.ACQUIRE_TOKEN_ACCOUNT = "acquireToken.account", n.SESSION_STATE = "session.state", n.REQUEST_STATE = "request.state", n.NONCE_IDTOKEN = "nonce.id_token", n.ORIGIN_URI = "request.origin", n.RENEW_STATUS = "token.renew.status", n.URL_HASH = "urlHash", n.REQUEST_PARAMS = "request.params", n.SCOPES = "scopes", n.INTERACTION_STATUS_KEY = "interaction.status", n.CCS_CREDENTIAL = "ccs.credential", n.CORRELATION_ID = "request.correlationId", n.NATIVE_REQUEST = "request.native", n.REDIRECT_CONTEXT = "request.redirect.context";
10696
10484
  })(ue || (ue = {}));
10697
- var Dt;
10485
+ var Ht;
10698
10486
  (function(n) {
10699
10487
  n.ACCOUNT_KEYS = "msal.account.keys", n.TOKEN_KEYS = "msal.token.keys";
10700
- })(Dt || (Dt = {}));
10488
+ })(Ht || (Ht = {}));
10701
10489
  var zn;
10702
10490
  (function(n) {
10703
10491
  n.WRAPPER_SKU = "wrapper.sku", n.WRAPPER_VER = "wrapper.version";
@@ -10742,10 +10530,6 @@ var rt = {
10742
10530
  code: "no_redirect_callbacks",
10743
10531
  desc: "No redirect callbacks have been set. Please call setRedirectCallbacks() with the appropriate function arguments before continuing. More information is available here: https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-basics."
10744
10532
  },
10745
- invalidCallbackObject: {
10746
- code: "invalid_callback_object",
10747
- desc: "The object passed for the callback was invalid. More information is available here: https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-basics."
10748
- },
10749
10533
  stubPcaInstanceCalled: {
10750
10534
  code: "stubbed_public_client_application_called",
10751
10535
  desc: "Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors"
@@ -10901,7 +10685,7 @@ var ao = (
10901
10685
  }, e.prototype.createKeyMaps = function() {
10902
10686
  var t = this;
10903
10687
  this.logger.trace("BrowserCacheManager - createKeyMaps called.");
10904
- var r = this.getItem(Dt.ACCOUNT_KEYS), o = this.getItem(Dt.TOKEN_KEYS + "." + this.clientId);
10688
+ var r = this.getItem(Ht.ACCOUNT_KEYS), o = this.getItem(Ht.TOKEN_KEYS + "." + this.clientId);
10905
10689
  if (r && o) {
10906
10690
  this.logger.verbose("BrowserCacheManager:createKeyMaps - account and token key maps already exist, skipping migration.");
10907
10691
  return;
@@ -10977,16 +10761,16 @@ var ao = (
10977
10761
  this.setItem(r, JSON.stringify(t)), this.addAccountKeyToMap(r);
10978
10762
  }, e.prototype.getAccountKeys = function() {
10979
10763
  this.logger.trace("BrowserCacheManager.getAccountKeys called");
10980
- var t = this.getItem(Dt.ACCOUNT_KEYS);
10764
+ var t = this.getItem(Ht.ACCOUNT_KEYS);
10981
10765
  return t ? JSON.parse(t) : (this.logger.verbose("BrowserCacheManager.getAccountKeys - No account keys found"), []);
10982
10766
  }, e.prototype.addAccountKeyToMap = function(t) {
10983
10767
  this.logger.trace("BrowserCacheManager.addAccountKeyToMap called"), this.logger.tracePii("BrowserCacheManager.addAccountKeyToMap called with key: " + t);
10984
10768
  var r = this.getAccountKeys();
10985
- r.indexOf(t) === -1 ? (r.push(t), this.setItem(Dt.ACCOUNT_KEYS, JSON.stringify(r)), this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added")) : this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key already exists in map");
10769
+ r.indexOf(t) === -1 ? (r.push(t), this.setItem(Ht.ACCOUNT_KEYS, JSON.stringify(r)), this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added")) : this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key already exists in map");
10986
10770
  }, e.prototype.removeAccountKeyFromMap = function(t) {
10987
10771
  this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called"), this.logger.tracePii("BrowserCacheManager.removeAccountKeyFromMap called with key: " + t);
10988
10772
  var r = this.getAccountKeys(), o = r.indexOf(t);
10989
- o > -1 ? (r.splice(o, 1), this.setItem(Dt.ACCOUNT_KEYS, JSON.stringify(r)), this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed")) : this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map");
10773
+ o > -1 ? (r.splice(o, 1), this.setItem(Ht.ACCOUNT_KEYS, JSON.stringify(r)), this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed")) : this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map");
10990
10774
  }, e.prototype.removeAccount = function(t) {
10991
10775
  return O(this, void 0, void 0, function() {
10992
10776
  return L(this, function(r) {
@@ -11011,7 +10795,7 @@ var ao = (
11011
10795
  n.prototype.removeRefreshToken.call(this, t), this.removeTokenKey(t, ee.REFRESH_TOKEN);
11012
10796
  }, e.prototype.getTokenKeys = function() {
11013
10797
  this.logger.trace("BrowserCacheManager.getTokenKeys called");
11014
- var t = this.getItem(Dt.TOKEN_KEYS + "." + this.clientId);
10798
+ var t = this.getItem(Ht.TOKEN_KEYS + "." + this.clientId);
11015
10799
  if (t) {
11016
10800
  var r = this.validateAndParseJson(t);
11017
10801
  if (r && r.hasOwnProperty("idToken") && r.hasOwnProperty("accessToken") && r.hasOwnProperty("refreshToken"))
@@ -11040,7 +10824,7 @@ var ao = (
11040
10824
  default:
11041
10825
  this.logger.error("BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: " + r), Y.createUnexpectedCredentialTypeError();
11042
10826
  }
11043
- this.setItem(Dt.TOKEN_KEYS + "." + this.clientId, JSON.stringify(o));
10827
+ this.setItem(Ht.TOKEN_KEYS + "." + this.clientId, JSON.stringify(o));
11044
10828
  }, e.prototype.removeTokenKey = function(t, r) {
11045
10829
  this.logger.trace("BrowserCacheManager removeTokenKey called");
11046
10830
  var o = this.getTokenKeys();
@@ -11063,7 +10847,7 @@ var ao = (
11063
10847
  default:
11064
10848
  this.logger.error("BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: " + r), Y.createUnexpectedCredentialTypeError();
11065
10849
  }
11066
- this.setItem(Dt.TOKEN_KEYS + "." + this.clientId, JSON.stringify(o));
10850
+ this.setItem(Ht.TOKEN_KEYS + "." + this.clientId, JSON.stringify(o));
11067
10851
  }, e.prototype.getIdTokenCredential = function(t) {
11068
10852
  var r = this.getItem(t);
11069
10853
  if (!r)
@@ -11374,8 +11158,7 @@ var ao = (
11374
11158
  if (this.getInteractionInProgress())
11375
11159
  throw q.createInteractionInProgressError();
11376
11160
  this.setTemporaryCache(r, this.clientId, !1);
11377
- } else
11378
- !t && this.getInteractionInProgress() === this.clientId && this.removeItem(r);
11161
+ } else !t && this.getInteractionInProgress() === this.clientId && this.removeItem(r);
11379
11162
  }, e.prototype.getLegacyLoginHint = function() {
11380
11163
  var t = this.getTemporaryCache(xe.ADAL_ID_TOKEN);
11381
11164
  t && (this.browserStorage.removeItem(xe.ADAL_ID_TOKEN), this.logger.verbose("Cached ADAL id token retrieved."));
@@ -11625,8 +11408,7 @@ var ki = (
11625
11408
  return L(this, function(t) {
11626
11409
  switch (t.label) {
11627
11410
  case 0:
11628
- if (!e)
11629
- return [3, 5];
11411
+ if (!e) return [3, 5];
11630
11412
  Ge.accountInfoIsEqual(e, this.browserStorage.getActiveAccount(), !1) && (this.logger.verbose("Setting active account to null"), this.browserStorage.setActiveAccount(null)), t.label = 1;
11631
11413
  case 1:
11632
11414
  return t.trys.push([1, 3, , 4]), [4, this.browserStorage.removeAccount(Ge.generateAccountCacheKey(e))];
@@ -12345,11 +12127,10 @@ var Bn = (
12345
12127
  return L(this, function(a) {
12346
12128
  switch (a.label) {
12347
12129
  case 0:
12348
- if (r.tokenType !== _e.POP)
12349
- return [3, 2];
12130
+ if (r.tokenType !== _e.POP) return [3, 2];
12350
12131
  if (t.shr)
12351
12132
  return this.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"), [2, t.shr];
12352
- if (o = new Hn(this.browserCrypto), i = {
12133
+ if (o = new Dn(this.browserCrypto), i = {
12353
12134
  resourceRequestMethod: r.resourceRequestMethod,
12354
12135
  resourceRequestUri: r.resourceRequestUri,
12355
12136
  shrClaims: r.shrClaims,
@@ -12366,13 +12147,13 @@ var Bn = (
12366
12147
  });
12367
12148
  }, e.prototype.generateAuthenticationResult = function(t, r, o, i, a, s) {
12368
12149
  return O(this, void 0, void 0, function() {
12369
- var u, p, l, g, f, k, E, P;
12150
+ var u, p, l, g, f, k, E, R;
12370
12151
  return L(this, function(j) {
12371
12152
  switch (j.label) {
12372
12153
  case 0:
12373
12154
  return u = this.addTelemetryFromNativeResponse(t), p = t.scope ? Xe.fromString(t.scope) : Xe.fromString(r.scope), l = t.account.properties || {}, g = l.UID || o.claims.oid || o.claims.sub || w.EMPTY_STRING, f = l.TenantId || o.claims.tid || w.EMPTY_STRING, [4, this.generatePopAccessToken(t, r)];
12374
12155
  case 1:
12375
- return k = j.sent(), E = r.tokenType === _e.POP ? _e.POP : _e.BEARER, P = {
12156
+ return k = j.sent(), E = r.tokenType === _e.POP ? _e.POP : _e.BEARER, R = {
12376
12157
  authority: a,
12377
12158
  uniqueId: g,
12378
12159
  tenantId: f,
@@ -12387,7 +12168,7 @@ var Bn = (
12387
12168
  correlationId: this.correlationId,
12388
12169
  state: t.state,
12389
12170
  fromNativeBroker: !0
12390
- }, [2, P];
12171
+ }, [2, R];
12391
12172
  }
12392
12173
  });
12393
12174
  });
@@ -12397,8 +12178,8 @@ var Bn = (
12397
12178
  r.logger.error("Error occurred while removing account context from browser storage. " + o);
12398
12179
  });
12399
12180
  }, e.prototype.cacheNativeTokens = function(t, r, o, i, a, s, u, p) {
12400
- var l = Cn.createIdTokenEntity(o, r.authority, t.id_token || w.EMPTY_STRING, r.clientId, a.claims.tid || w.EMPTY_STRING), g = r.tokenType === _e.POP ? w.SHR_NONCE_VALIDITY : (typeof t.expires_in == "string" ? parseInt(t.expires_in, 10) : t.expires_in) || 0, f = p + g, k = this.generateScopes(t, r), E = En.createAccessTokenEntity(o, r.authority, s, r.clientId, a ? a.claims.tid || w.EMPTY_STRING : u, k.printScopes(), f, 0, this.browserCrypto), P = new tr(i, l, E);
12401
- this.nativeStorageManager.saveCacheRecord(P);
12181
+ var l = Cn.createIdTokenEntity(o, r.authority, t.id_token || w.EMPTY_STRING, r.clientId, a.claims.tid || w.EMPTY_STRING), g = r.tokenType === _e.POP ? w.SHR_NONCE_VALIDITY : (typeof t.expires_in == "string" ? parseInt(t.expires_in, 10) : t.expires_in) || 0, f = p + g, k = this.generateScopes(t, r), E = En.createAccessTokenEntity(o, r.authority, s, r.clientId, a ? a.claims.tid || w.EMPTY_STRING : u, k.printScopes(), f, 0, this.browserCrypto), R = new tr(i, l, E);
12182
+ this.nativeStorageManager.saveCacheRecord(R);
12402
12183
  }, e.prototype.addTelemetryFromNativeResponse = function(t) {
12403
12184
  var r = this.getMATSFromResponse(t);
12404
12185
  return r ? (this.performanceClient.addStaticFields({
@@ -12478,7 +12259,7 @@ var Bn = (
12478
12259
  resourceRequestMethod: t.resourceRequestMethod,
12479
12260
  shrClaims: t.shrClaims,
12480
12261
  shrNonce: t.shrNonce
12481
- }, g = new Hn(this.browserCrypto), [4, g.generateCnf(l)]);
12262
+ }, g = new Dn(this.browserCrypto), [4, g.generateCnf(l)]);
12482
12263
  case 3:
12483
12264
  f = E.sent(), p.reqCnf = f.reqCnfString, p.keyId = f.kid, E.label = 4;
12484
12265
  case 4:
@@ -12658,12 +12439,12 @@ var ms = (
12658
12439
  }, e.prototype.handleRedirectPromise = function(t) {
12659
12440
  return O(this, void 0, void 0, function() {
12660
12441
  var r, o, i, a, s, u, p, l, g, f, k, E;
12661
- return L(this, function(P) {
12662
- switch (P.label) {
12442
+ return L(this, function(R) {
12443
+ switch (R.label) {
12663
12444
  case 0:
12664
- r = this.initializeServerTelemetryManager(Ce.handleRedirectPromise), P.label = 1;
12445
+ r = this.initializeServerTelemetryManager(Ce.handleRedirectPromise), R.label = 1;
12665
12446
  case 1:
12666
- if (P.trys.push([1, 10, , 11]), !this.browserStorage.isInteractionInProgress(!0))
12447
+ if (R.trys.push([1, 10, , 11]), !this.browserStorage.isInteractionInProgress(!0))
12667
12448
  return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."), [2, null];
12668
12449
  if (o = this.getRedirectResponseHash(t || window.location.hash), !o)
12669
12450
  return this.logger.info("handleRedirectPromise did not detect a response hash as a result of a redirect. Cleaning temporary cache."), this.browserStorage.cleanRequestByInteractionType(W.Redirect), [2, null];
@@ -12675,7 +12456,7 @@ var ms = (
12675
12456
  }
12676
12457
  return s = this.browserStorage.getTemporaryCache(ue.ORIGIN_URI, !0) || w.EMPTY_STRING, u = le.removeHashFromUrl(s), p = le.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];
12677
12458
  case 2:
12678
- return l = P.sent(), s.indexOf("#") > -1 && Ae.replaceHash(s), [2, l];
12459
+ return l = R.sent(), s.indexOf("#") > -1 && Ae.replaceHash(s), [2, l];
12679
12460
  case 3:
12680
12461
  return this.config.auth.navigateToLoginRequestUrl ? [3, 4] : (this.logger.verbose("NavigateToLoginRequestUrl set to false, handling hash"), [2, this.handleHash(o, i, r)]);
12681
12462
  case 4:
@@ -12685,19 +12466,19 @@ var ms = (
12685
12466
  noHistory: !0
12686
12467
  }, f = !0, !s || s === "null" ? (k = Ae.getHomepage(), this.browserStorage.setTemporaryCache(ue.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, g)]) : [3, 6]) : [3, 9];
12687
12468
  case 5:
12688
- return f = P.sent(), [3, 8];
12469
+ return f = R.sent(), [3, 8];
12689
12470
  case 6:
12690
12471
  return this.logger.verbose("Navigating to loginRequestUrl: " + s), [4, this.navigationClient.navigateInternal(s, g)];
12691
12472
  case 7:
12692
- f = P.sent(), P.label = 8;
12473
+ f = R.sent(), R.label = 8;
12693
12474
  case 8:
12694
12475
  if (!f)
12695
12476
  return [2, this.handleHash(o, i, r)];
12696
- P.label = 9;
12477
+ R.label = 9;
12697
12478
  case 9:
12698
12479
  return [2, null];
12699
12480
  case 10:
12700
- throw E = P.sent(), E instanceof X && E.setCorrelationId(this.correlationId), r.cacheFailedRequest(E), this.browserStorage.cleanRequestByInteractionType(W.Redirect), E;
12481
+ throw E = R.sent(), E instanceof X && E.setCorrelationId(this.correlationId), r.cacheFailedRequest(E), this.browserStorage.cleanRequestByInteractionType(W.Redirect), E;
12701
12482
  case 11:
12702
12483
  return [
12703
12484
  2
@@ -12825,7 +12606,7 @@ var gs = (
12825
12606
  }
12826
12607
  }, e.prototype.acquireTokenPopupAsync = function(t, r, o, i) {
12827
12608
  return O(this, void 0, void 0, function() {
12828
- var a, s, u, p, l, g, f, k, E, P, j, K, z, T, D, G, J, te = this;
12609
+ var a, s, u, p, l, g, f, k, E, R, j, K, z, T, H, G, J, te = this;
12829
12610
  return L(this, function(Z) {
12830
12611
  switch (Z.label) {
12831
12612
  case 0:
@@ -12843,7 +12624,7 @@ var gs = (
12843
12624
  popup: i,
12844
12625
  popupName: r,
12845
12626
  popupWindowAttributes: o
12846
- }, P = this.initiateAuthRequest(f, E), this.eventHandler.emitEvent(ne.POPUP_OPENED, W.Popup, { popupWindow: P }, null), [4, this.monitorPopupForHash(P)];
12627
+ }, R = this.initiateAuthRequest(f, E), this.eventHandler.emitEvent(ne.POPUP_OPENED, W.Popup, { popupWindow: R }, null), [4, this.monitorPopupForHash(R)];
12847
12628
  case 6:
12848
12629
  if (j = Z.sent(), K = le.getDeserializedHash(j), z = this.validateAndExtractStateFromHash(K, W.Popup, s.correlationId), Tr.removeThrottle(this.browserStorage, this.config.auth.clientId, u), K.accountId) {
12849
12630
  if (this.logger.verbose("Account id found in hash, calling WAM for token"), g && g.endMeasurement({
@@ -12851,8 +12632,8 @@ var gs = (
12851
12632
  isNativeBroker: !0
12852
12633
  }), !this.nativeMessageHandler)
12853
12634
  throw q.createNativeConnectionNotEstablishedError();
12854
- return T = new Bn(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, K.accountId, this.nativeStorage, s.correlationId), D = tn.parseRequestState(this.browserCrypto, z).userRequestState, [2, T.acquireToken($($({}, s), {
12855
- state: D,
12635
+ return T = new Bn(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, K.accountId, this.nativeStorage, s.correlationId), H = tn.parseRequestState(this.browserCrypto, z).userRequestState, [2, T.acquireToken($($({}, s), {
12636
+ state: H,
12856
12637
  prompt: void 0
12857
12638
  // Server should handle the prompt, ideally native broker can do this part silently
12858
12639
  })).finally(function() {
@@ -12875,24 +12656,24 @@ var gs = (
12875
12656
  }, e.prototype.logoutPopupAsync = function(t, r, o, i, a, s) {
12876
12657
  return O(this, void 0, void 0, function() {
12877
12658
  var u, p, l, g, f, k, E;
12878
- return L(this, function(P) {
12879
- switch (P.label) {
12659
+ return L(this, function(R) {
12660
+ switch (R.label) {
12880
12661
  case 0:
12881
- this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(ne.LOGOUT_START, W.Popup, t), u = this.initializeServerTelemetryManager(Ce.logoutPopup), P.label = 1;
12662
+ this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(ne.LOGOUT_START, W.Popup, t), u = this.initializeServerTelemetryManager(Ce.logoutPopup), R.label = 1;
12882
12663
  case 1:
12883
- return P.trys.push([1, 5, , 6]), [4, this.clearCacheOnLogout(t.account)];
12664
+ return R.trys.push([1, 5, , 6]), [4, this.clearCacheOnLogout(t.account)];
12884
12665
  case 2:
12885
- return P.sent(), this.performanceClient.setPreQueueTime(A.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(u, i)];
12666
+ return R.sent(), this.performanceClient.setPreQueueTime(A.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(u, i)];
12886
12667
  case 3:
12887
- return p = P.sent(), this.logger.verbose("Auth code client created"), l = p.getLogoutUri(t), this.eventHandler.emitEvent(ne.LOGOUT_SUCCESS, W.Popup, t), g = this.openPopup(l, { popupName: r, popupWindowAttributes: o, popup: a }), this.eventHandler.emitEvent(ne.POPUP_OPENED, W.Popup, { popupWindow: g }, null), [4, this.waitForLogoutPopup(g)];
12668
+ return p = R.sent(), this.logger.verbose("Auth code client created"), l = p.getLogoutUri(t), this.eventHandler.emitEvent(ne.LOGOUT_SUCCESS, W.Popup, t), g = this.openPopup(l, { popupName: r, popupWindowAttributes: o, popup: a }), this.eventHandler.emitEvent(ne.POPUP_OPENED, W.Popup, { popupWindow: g }, null), [4, this.waitForLogoutPopup(g)];
12888
12669
  case 4:
12889
- return P.sent(), s ? (f = {
12670
+ return R.sent(), s ? (f = {
12890
12671
  apiId: Ce.logoutPopup,
12891
12672
  timeout: this.config.system.redirectNavigationTimeout,
12892
12673
  noHistory: !1
12893
12674
  }, k = le.getAbsoluteUrl(s, Ae.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, f)) : this.logger.verbose("No main window navigation requested"), [3, 6];
12894
12675
  case 5:
12895
- throw E = P.sent(), a && a.close(), E instanceof X && E.setCorrelationId(this.correlationId), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(ne.LOGOUT_FAILURE, W.Popup, null, E), this.eventHandler.emitEvent(ne.LOGOUT_END, W.Popup), u.cacheFailedRequest(E), E;
12676
+ throw E = R.sent(), a && a.close(), E instanceof X && E.setCorrelationId(this.correlationId), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(ne.LOGOUT_FAILURE, W.Popup, null, E), this.eventHandler.emitEvent(ne.LOGOUT_END, W.Popup), u.cacheFailedRequest(E), E;
12896
12677
  case 6:
12897
12678
  return this.eventHandler.emitEvent(ne.LOGOUT_END, W.Popup), [
12898
12679
  2
@@ -12947,8 +12728,8 @@ var gs = (
12947
12728
  throw this.logger.error("error opening popup " + i.message), this.browserStorage.setInteractionInProgress(!1), q.createPopupWindowError(i.toString());
12948
12729
  }
12949
12730
  }, e.prototype.openSizedPopup = function(t, r, o) {
12950
- var i, a, s, u, p = window.screenLeft ? window.screenLeft : window.screenX, l = window.screenTop ? window.screenTop : window.screenY, g = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, f = 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, P = (s = o.popupPosition) === null || s === void 0 ? void 0 : s.top, j = (u = o.popupPosition) === null || u === void 0 ? void 0 : u.left;
12951
- return (!k || k < 0 || k > g) && (this.logger.verbose("Default popup window width used. Window width not configured or invalid."), k = Rt.POPUP_WIDTH), (!E || E < 0 || E > f) && (this.logger.verbose("Default popup window height used. Window height not configured or invalid."), E = Rt.POPUP_HEIGHT), (!P || P < 0 || P > f) && (this.logger.verbose("Default popup window top position used. Window top not configured or invalid."), P = Math.max(0, f / 2 - Rt.POPUP_HEIGHT / 2 + l)), (!j || j < 0 || j > g) && (this.logger.verbose("Default popup window left position used. Window left not configured or invalid."), j = Math.max(0, g / 2 - Rt.POPUP_WIDTH / 2 + p)), window.open(t, r, "width=" + k + ", height=" + E + ", top=" + P + ", left=" + j + ", scrollbars=yes");
12731
+ var i, a, s, u, p = window.screenLeft ? window.screenLeft : window.screenX, l = window.screenTop ? window.screenTop : window.screenY, g = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, f = 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, R = (s = o.popupPosition) === null || s === void 0 ? void 0 : s.top, j = (u = o.popupPosition) === null || u === void 0 ? void 0 : u.left;
12732
+ return (!k || k < 0 || k > g) && (this.logger.verbose("Default popup window width used. Window width not configured or invalid."), k = Rt.POPUP_WIDTH), (!E || E < 0 || E > f) && (this.logger.verbose("Default popup window height used. Window height not configured or invalid."), E = Rt.POPUP_HEIGHT), (!R || R < 0 || R > f) && (this.logger.verbose("Default popup window top position used. Window top not configured or invalid."), R = Math.max(0, f / 2 - Rt.POPUP_HEIGHT / 2 + l)), (!j || j < 0 || j > g) && (this.logger.verbose("Default popup window left position used. Window left not configured or invalid."), j = Math.max(0, g / 2 - Rt.POPUP_WIDTH / 2 + p)), window.open(t, r, "width=" + k + ", height=" + E + ", top=" + R + ", left=" + j + ", scrollbars=yes");
12952
12733
  }, e.prototype.unloadWindow = function(t) {
12953
12734
  this.browserStorage.cleanRequestByInteractionType(W.Popup), this.currentWindow && this.currentWindow.close(), t.preventDefault();
12954
12735
  }, e.prototype.cleanPopup = function(t) {
@@ -13011,7 +12792,7 @@ function bs(n, e) {
13011
12792
  // eslint-disable-next-line @typescript-eslint/no-empty-function
13012
12793
  loggerCallback: function() {
13013
12794
  },
13014
- logLevel: De.Info,
12795
+ logLevel: He.Info,
13015
12796
  piiLoggingEnabled: !1
13016
12797
  }, p = $($({}, gi), {
13017
12798
  loggerOptions: u,
@@ -13905,8 +13686,7 @@ var Qo = (
13905
13686
  return L(this, function(o) {
13906
13687
  switch (o.label) {
13907
13688
  case 0:
13908
- if (t = this.inMemoryCache.getItem(e), t)
13909
- return [3, 4];
13689
+ if (t = this.inMemoryCache.getItem(e), t) return [3, 4];
13910
13690
  o.label = 1;
13911
13691
  case 1:
13912
13692
  return o.trys.push([1, 3, , 4]), this.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."), [4, this.indexedDBCache.getItem(e)];
@@ -13967,8 +13747,7 @@ var Qo = (
13967
13747
  return L(this, function(r) {
13968
13748
  switch (r.label) {
13969
13749
  case 0:
13970
- if (e = this.inMemoryCache.getKeys(), e.length !== 0)
13971
- return [3, 4];
13750
+ if (e = this.inMemoryCache.getKeys(), e.length !== 0) return [3, 4];
13972
13751
  r.label = 1;
13973
13752
  case 1:
13974
13753
  return r.trys.push([1, 3, , 4]), this.logger.verbose("In-memory cache is empty, now querying persistent storage."), [4, this.indexedDBCache.getKeys()];
@@ -13987,8 +13766,7 @@ var Qo = (
13987
13766
  return L(this, function(o) {
13988
13767
  switch (o.label) {
13989
13768
  case 0:
13990
- if (t = this.inMemoryCache.containsKey(e), t)
13991
- return [3, 4];
13769
+ if (t = this.inMemoryCache.containsKey(e), t) return [3, 4];
13992
13770
  o.label = 1;
13993
13771
  case 1:
13994
13772
  return o.trys.push([1, 3, , 4]), this.logger.verbose("Key not found in in-memory cache, now querying persistent storage."), [4, this.indexedDBCache.containsKey(e)];
@@ -14141,7 +13919,7 @@ var xs = (
14141
13919
  }, n.prototype.signJwt = function(e, t, r) {
14142
13920
  var o;
14143
13921
  return O(this, void 0, void 0, function() {
14144
- var i, a, s, u, p, l, g, f, k, E, P, j, K;
13922
+ var i, a, s, u, p, l, g, f, k, E, R, j, K;
14145
13923
  return L(this, function(z) {
14146
13924
  switch (z.label) {
14147
13925
  case 0:
@@ -14155,7 +13933,7 @@ var xs = (
14155
13933
  jwk: JSON.parse(u)
14156
13934
  }, f = this.b64Encode.urlEncode(JSON.stringify(e)), k = g + "." + f, E = nn.stringToArrayBuffer(k), [4, this.browserCrypto.sign(a.privateKey, E)];
14157
13935
  case 3:
14158
- return P = z.sent(), j = this.b64Encode.urlEncodeArr(new Uint8Array(P)), K = k + "." + j, i && i.endMeasurement({
13936
+ return R = z.sent(), j = this.b64Encode.urlEncodeArr(new Uint8Array(R)), K = k + "." + j, i && i.endMeasurement({
14159
13937
  success: !0
14160
13938
  }), [2, K];
14161
13939
  }
@@ -14381,7 +14159,7 @@ var Bs = (
14381
14159
  }()
14382
14160
  );
14383
14161
  /*! @azure/msal-browser v2.38.3 2023-10-27 */
14384
- var Ds = (
14162
+ var Hs = (
14385
14163
  /** @class */
14386
14164
  function(n) {
14387
14165
  Qe(e, n);
@@ -14393,7 +14171,7 @@ var Ds = (
14393
14171
  }(_i)
14394
14172
  );
14395
14173
  /*! @azure/msal-browser v2.38.3 2023-10-27 */
14396
- var Hs = (
14174
+ var Ds = (
14397
14175
  /** @class */
14398
14176
  function(n) {
14399
14177
  Qe(e, n);
@@ -14415,7 +14193,7 @@ var Hs = (
14415
14193
  case 2:
14416
14194
  return l.trys.push([2, 4, , 5]), i = $($({}, r), { code: t.code }), this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetClientConfiguration, t.correlationId), [4, this.getClientConfiguration(o, r.authority)];
14417
14195
  case 3:
14418
- return a = l.sent(), s = new Ds(a), this.logger.verbose("Auth code client created"), u = new Ei(s, this.browserStorage, i, this.logger, this.config.system, this.performanceClient), [2, u.handleCodeResponseFromServer({
14196
+ return a = l.sent(), s = new Hs(a), this.logger.verbose("Auth code client created"), u = new Ei(s, this.browserStorage, i, this.logger, this.config.system, this.performanceClient), [2, u.handleCodeResponseFromServer({
14419
14197
  code: t.code,
14420
14198
  msgraph_host: t.msGraphHost,
14421
14199
  cloud_graph_host_name: t.cloudGraphHostName,
@@ -14463,8 +14241,7 @@ var js = (
14463
14241
  2
14464
14242
  /*return*/
14465
14243
  ];
14466
- if (e = this.config.system.allowNativeBroker, t = this.performanceClient.startMeasurement(A.InitializeClientApplication), this.eventHandler.emitEvent(ne.INITIALIZE_START), !e)
14467
- return [3, 4];
14244
+ if (e = this.config.system.allowNativeBroker, t = this.performanceClient.startMeasurement(A.InitializeClientApplication), this.eventHandler.emitEvent(ne.INITIALIZE_START), !e) return [3, 4];
14468
14245
  a.label = 1;
14469
14246
  case 1:
14470
14247
  return a.trys.push([1, 3, , 4]), r = this, [4, Sn.createProvider(this.logger, this.config.system.nativeBrokerHandshakeTimeout, this.performanceClient)];
@@ -14821,7 +14598,7 @@ var js = (
14821
14598
  }, n.prototype.createSilentRefreshClient = function(e) {
14822
14599
  return new Cs(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeExtensionProvider, e);
14823
14600
  }, n.prototype.createSilentAuthCodeClient = function(e) {
14824
- return new Hs(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.acquireTokenByCode, this.performanceClient, this.nativeExtensionProvider, e);
14601
+ return new Ds(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.acquireTokenByCode, this.performanceClient, this.nativeExtensionProvider, e);
14825
14602
  }, n.prototype.addEventCallback = function(e) {
14826
14603
  return this.eventHandler.addEventCallback(e);
14827
14604
  }, n.prototype.removeEventCallback = function(e) {
@@ -14942,8 +14719,8 @@ var Fs = (
14942
14719
  if (p.cacheLookupPolicy === it.AccessToken)
14943
14720
  throw f;
14944
14721
  return Ae.blockReloadInHiddenIframes(), l.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_NETWORK_START, W.Silent, u), l.performanceClient.setPreQueueTime(A.AcquireTokenByRefreshToken, u.correlationId), l.acquireTokenByRefreshToken(u, p).catch(function(k) {
14945
- var E = k instanceof In, P = k instanceof Pt, j = k.errorCode === Ln.noTokensFoundError.code, K = k.errorCode === Rt.INVALID_GRANT_ERROR;
14946
- if ((!E || !K || P || p.cacheLookupPolicy === it.AccessTokenAndRefreshToken || p.cacheLookupPolicy === it.RefreshToken) && p.cacheLookupPolicy !== it.Skip && !j)
14722
+ var E = k instanceof In, R = k instanceof Pt, j = k.errorCode === Ln.noTokensFoundError.code, K = k.errorCode === Rt.INVALID_GRANT_ERROR;
14723
+ if ((!E || !K || R || p.cacheLookupPolicy === it.AccessTokenAndRefreshToken || p.cacheLookupPolicy === it.RefreshToken) && p.cacheLookupPolicy !== it.Skip && !j)
14947
14724
  throw k;
14948
14725
  return l.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.", t.correlationId), l.performanceClient.setPreQueueTime(A.AcquireTokenBySilentIframe, u.correlationId), l.acquireTokenBySilentIframe(u);
14949
14726
  });
@@ -15055,22 +14832,16 @@ const Ks = ar("MsAuthPlugin", {
15055
14832
  if (t)
15056
14833
  return console.log("Error: " + JSON.stringify(t)), this.microsoftLoad = !1;
15057
14834
  if (this.referral && (r.ref = this.referral), this.display === "popup" && (r.response_type = "code"), r && (r.accessToken || r.idToken)) {
15058
- const [i, a] = await fe(
15059
- Je.microsoftSDK(r, this.$storex)
15060
- );
14835
+ const [i, a] = await fe(Je.microsoftSDK(r, this.$storex));
15061
14836
  if (i)
15062
14837
  return this.microsoftLoad = !1, this.microsoftSSOLoad = !1, F.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(i);
15063
14838
  if (a.data.success) {
15064
14839
  if (this.display === "popup")
15065
- return (o = window.parent) == null ? void 0 : o.postMessage(
15066
- { code: a.data.auth_code, state: this.$route.query.state },
15067
- "*"
15068
- );
14840
+ return (o = window.parent) == null ? void 0 : o.postMessage({ code: a.data.auth_code, state: this.$route.query.state }, "*");
15069
14841
  await this.loginSetup(a), await this.getLoggedInAccounts(), this.loginSuccess({ ...a, isModal: this.isModal }), setTimeout(() => {
15070
14842
  this.microsoftLoad = !1, this.microsoftSSOLoad = !1;
15071
14843
  }, 1e3);
15072
- } else
15073
- this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
14844
+ } else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
15074
14845
  } else
15075
14846
  this.microsoftLoad = !1, this.microsoftSSOLoad = !1, F.$emit("ssoEvent", { name: "setLoading", data: !1 });
15076
14847
  },
@@ -15078,7 +14849,7 @@ const Ks = ar("MsAuthPlugin", {
15078
14849
  F.$emit("toggleSSOModal");
15079
14850
  }
15080
14851
  }
15081
- }, Dn = {
14852
+ }, Hn = {
15082
14853
  getFirstBrowserLanguage() {
15083
14854
  let n = window.navigator, e = ["language", "browserLanguage", "systemLanguage", "userLanguage"], t, r;
15084
14855
  if (Array.isArray(n.languages)) {
@@ -15093,7 +14864,49 @@ const Ks = ar("MsAuthPlugin", {
15093
14864
  },
15094
14865
  compareLangKeys() {
15095
14866
  const n = Object.keys(oi.default.state), e = Object.keys(ii.default.state), t = Object.keys(ai.default.state), r = Object.keys(di.default.state), o = Object.keys(ci.default.state), i = Object.keys(si.default.state), a = Object.keys(li.default.state), s = Object.keys(ui.default.state);
15096
- 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();
14867
+ console.log(
14868
+ "In en but not in de",
14869
+ n.filter((u) => !e.includes(u))
14870
+ ), console.log(
14871
+ "In de but not in en",
14872
+ e.filter((u) => !n.includes(u))
14873
+ ), console.log(), console.log(
14874
+ "In en but not in es",
14875
+ n.filter((u) => !t.includes(u))
14876
+ ), console.log(
14877
+ "In es but not in en",
14878
+ t.filter((u) => !n.includes(u))
14879
+ ), console.log(), console.log(
14880
+ "In en but not in kr",
14881
+ n.filter((u) => !r.includes(u))
14882
+ ), console.log(
14883
+ "In kr but not in en",
14884
+ r.filter((u) => !n.includes(u))
14885
+ ), console.log(), console.log(
14886
+ "In en but not in it",
14887
+ n.filter((u) => !o.includes(u))
14888
+ ), console.log(
14889
+ "In it but not in en",
14890
+ o.filter((u) => !n.includes(u))
14891
+ ), console.log(), console.log(
14892
+ "In en but not in fr",
14893
+ n.filter((u) => !i.includes(u))
14894
+ ), console.log(
14895
+ "In fr but not in en",
14896
+ i.filter((u) => !n.includes(u))
14897
+ ), console.log(), console.log(
14898
+ "In en but not in sr",
14899
+ n.filter((u) => !a.includes(u))
14900
+ ), console.log(
14901
+ "In sr but not in en",
14902
+ a.filter((u) => !n.includes(u))
14903
+ ), console.log(), console.log(
14904
+ "In en but not in tr",
14905
+ n.filter((u) => !s.includes(u))
14906
+ ), console.log(
14907
+ "In tr but not in en",
14908
+ s.filter((u) => !n.includes(u))
14909
+ ), console.log();
15097
14910
  },
15098
14911
  base64ImageToBlob(n) {
15099
14912
  const e = n.split(";base64,"), t = e[0].split(":")[1], r = window.atob(e[1]), o = new Uint8Array(r.length);
@@ -15183,8 +14996,7 @@ const Ks = ar("MsAuthPlugin", {
15183
14996
  async exchangeCode(n) {
15184
14997
  var o, i;
15185
14998
  let [e, t] = await fe(co.post(n.domain + "/v1/token", new URLSearchParams({ code: n.code, client_id: n.clientID, grant_type: "authorization_code", redirect_uri: this.isNative ? "tapni://t.link/callback/okta" : location.origin + "/callback/okta", code_verifier: localStorage.getItem("pkce_code_verifier") })));
15186
- if (e)
15187
- return this.errorHandler(e);
14999
+ if (e) return this.errorHandler(e);
15188
15000
  localStorage.removeItem("pkce_code_verifier");
15189
15001
  let r = { accessToken: (o = t.data) == null ? void 0 : o.access_token, domain: n.domain };
15190
15002
  if (this.display === "popup" && (r.response_type = "code"), [e, t] = await fe(Je.oktaSDK(r, this.$storex)), e)
@@ -15195,21 +15007,23 @@ const Ks = ar("MsAuthPlugin", {
15195
15007
  await this.loginSetup(t), await this.getLoggedInAccounts(), this.$router.push("/" + t.data.data.username + "#edit"), setTimeout(() => {
15196
15008
  this.appleLoad = !1, F.$emit("ssoEvent", { name: "setLoading", data: !1 });
15197
15009
  }, 1e3);
15198
- } else
15199
- this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
15010
+ } else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
15200
15011
  },
15201
15012
  async oktaLogin(n) {
15202
15013
  const e = Yn.getPlatform() || "web";
15203
- let t = btoa("domain=" + n.domain + "&client_id=" + n.clientID + "&platform=" + e + "&rand=" + Dn.generateRandomString(28)), r = Dn.generateRandomString(28);
15014
+ let t = btoa("domain=" + n.domain + "&client_id=" + n.clientID + "&platform=" + e + "&rand=" + Hn.generateRandomString(28)), r = Hn.generateRandomString(28);
15204
15015
  localStorage.setItem("pkce_code_verifier", r);
15205
- let o = await Dn.pkceChallengeFromVerifier(r), i = n.domain + "/v1/authorize", a;
15016
+ let o = await Hn.pkceChallengeFromVerifier(r), i = n.domain + "/v1/authorize", a;
15206
15017
  this.isNative ? a = "tapni://t.link/callback/okta" : a = location.origin + "/callback/okta";
15207
15018
  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;
15208
- window.addEventListener("message", async (l) => {
15209
- if (!this.allowedOriginsAuth.includes(l.origin))
15210
- return console.log("Origin is not allowed!");
15211
- l.data.type === "okta" && (p = l.data.code, await u.exchangeCode({ domain: n.domain, code: p, clientID: n.clientID }));
15212
- }, { once: !0 }), this.isNative ? await yr.open({ url: s, presentationStyle: "popover" }) : window.open(s, "popup", "width=600,height=600");
15019
+ window.addEventListener(
15020
+ "message",
15021
+ async (l) => {
15022
+ if (!this.allowedOriginsAuth.includes(l.origin)) return console.log("Origin is not allowed!");
15023
+ l.data.type === "okta" && (p = l.data.code, await u.exchangeCode({ domain: n.domain, code: p, clientID: n.clientID }));
15024
+ },
15025
+ { once: !0 }
15026
+ ), this.isNative ? await yr.open({ url: s, presentationStyle: "popover" }) : window.open(s, "popup", "width=600,height=600");
15213
15027
  },
15214
15028
  async handleOktaRedirect() {
15215
15029
  let n = this.$route.query.code, e, t, r, o, i = { type: "okta" };
@@ -15218,54 +15032,73 @@ const Ks = ar("MsAuthPlugin", {
15218
15032
  const a = new URLSearchParams(e);
15219
15033
  t = a.get("client_id"), r = a.get("domain"), o = a.get("platform");
15220
15034
  }
15221
- window.opener ? (window.opener.postMessage(i, location.origin), window.close()) : (this.isNative && this.isIOS && await yr.close(), F.$emit("ssoEvent", { name: "setLoading", data: !0 }), n && t && r && await this.exchangeCode({ code: n, clientID: t, domain: r, platform: o }), localStorage.removeItem("pkce_code_verifier"), F.$emit("ssoEvent", { name: "setLoading", data: !1 }));
15035
+ window.opener ? (window.opener.postMessage(i, location.origin), window.close()) : (this.isNative && this.isiOS && await yr.close(), F.$emit("ssoEvent", { name: "setLoading", data: !0 }), n && t && r && await this.exchangeCode({ code: n, clientID: t, domain: r, platform: o }), localStorage.removeItem("pkce_code_verifier"), F.$emit("ssoEvent", { name: "setLoading", data: !1 }));
15222
15036
  }
15223
15037
  }
15224
15038
  }, xr = {
15225
15039
  data() {
15226
15040
  return {
15227
15041
  code_verifier: "",
15228
- code_challenge: ""
15042
+ code_challenge: "",
15043
+ shouldCloseWindow: !1,
15044
+ popupWindow: null,
15045
+ checkInterval: null
15229
15046
  };
15230
15047
  },
15231
15048
  computed: {},
15232
15049
  watch: {
15233
- /*
15234
- '$route.path': async function(routePath) {
15235
- await this.handleSamlRedirect(routePath)
15050
+ "$route.path"(n) {
15051
+ n === "/callback/saml" && this.handleSamlRedirect(n);
15236
15052
  }
15237
- */
15238
15053
  },
15239
15054
  methods: {
15055
+ closeWindow() {
15056
+ try {
15057
+ window.close();
15058
+ } catch (n) {
15059
+ console.log("Window close error", n);
15060
+ }
15061
+ },
15240
15062
  async samlLogin(n) {
15241
- this.code_verifier = Dn.generateRandomString(28), localStorage.setItem("pkce_code_verifier", this.code_verifier), this.code_challenge = await Dn.pkceChallengeFromVerifier(this.code_verifier);
15063
+ this.code_verifier = Hn.generateRandomString(28), localStorage.setItem("pkce_code_verifier", this.code_verifier), this.code_challenge = await Hn.pkceChallengeFromVerifier(this.code_verifier);
15242
15064
  const e = Yn.getPlatform();
15243
- let t = `code_challenge=${this.code_challenge}&platform=${e}&redirect_uri=${location.origin + "/callback/saml"}&realm=${this.$storex.realm}`, r = btoa(t);
15065
+ let t = `code_challenge=${this.code_challenge}&platform=${e}&redirect_uri=${location.origin + "/callback/saml"}&realm=${this.realm}&display=${this.display}`, r = btoa(t);
15244
15066
  n = `${n}&RelayState=${r}`;
15245
15067
  let o = this;
15246
- window.addEventListener("message", async (i) => {
15247
- var a;
15248
- if (!this.allowedOriginsAuth.includes(i.origin))
15249
- return console.log("Origin is not allowed!");
15250
- if (i.data.type === "saml" && i.data.code) {
15251
- if (this.display === "popup")
15252
- return (a = window.parent) == null ? void 0 : a.postMessage({ code: i.data.code, state: this.$route.query.state, code_verifier: localStorage.getItem("pkce_code_verifier") }, "*");
15253
- await o.exchangeAuthCode({ code: i.data.code, code_verifier: localStorage.getItem("pkce_code_verifier") }), localStorage.removeItem("pkce_code_verifier");
15254
- }
15255
- }, { once: !0 }), this.isNative ? await yr.open({ url: n, presentationStyle: "popover" }) : window.open(n, "popup", "width=600,height=600");
15068
+ window.addEventListener(
15069
+ "message",
15070
+ async (i) => {
15071
+ var a;
15072
+ if (!this.allowedOriginsAuth.includes(i.origin)) return console.log("Origin is not allowed!");
15073
+ if (i.data.code) {
15074
+ if (console.log("post message from opener", i.data, o.display), o.display === "popup")
15075
+ return (a = window.parent) == null ? void 0 : a.postMessage({ code: i.data.code, state: i.data.state, code_verifier: localStorage.getItem("pkce_code_verifier") }, "*");
15076
+ await o.exchangeAuthCode({ code: i.data.code, code_verifier: localStorage.getItem("pkce_code_verifier") }), localStorage.removeItem("pkce_code_verifier");
15077
+ }
15078
+ },
15079
+ { once: !0 }
15080
+ ), this.isNative ? this.popupWindow = await yr.open({ url: n, presentationStyle: "popover" }) : (this.checkInterval = setInterval(() => {
15081
+ var s;
15082
+ const i = localStorage.getItem("auth_code"), a = localStorage.getItem("pkce_code_verifier");
15083
+ console.log("interval", i, a), i && (clearInterval(this.checkInterval), localStorage.removeItem("auth_code"), localStorage.removeItem("pkce_code_verifier"), (s = window.parent) == null || s.postMessage({ code: i, state: this.$route.query.state, code_verifier: a }, "*"));
15084
+ }, 500), this.popupWindow = window.open("https://auth.tapni.com/callback/redirect?uri=" + btoa(n), "popup", "width=600,height=600")), this.popupWindow && this.popupWindow.addEventListener("beforeunload", () => {
15085
+ console.log("popup window closed");
15086
+ });
15256
15087
  },
15257
15088
  async handleSamlRedirect() {
15258
- var t;
15259
- let n, e = { type: "saml" };
15260
- if (this.$route.query.code && (e.code = this.$route.query.code), window.opener)
15261
- window.opener.postMessage(e, location.origin), window.close();
15089
+ var e;
15090
+ let n;
15091
+ if (this.$route.query.code && (n = this.$route.query.code), console.log("window1", window.opener), console.log("window2", window.parent), window.opener)
15092
+ window.opener.postMessage({ type: "saml", code: n }, "*"), this.closeWindow();
15262
15093
  else {
15263
- if (this.isNative && this.isIOS && await yr.close(), F.$emit("ssoEvent", { name: "setLoading", data: !0 }), this.$route.query.code && (n = this.$route.query.code), console.log(this.display, { code: n }), n) {
15264
- if (this.display === "popup")
15265
- return (t = window.parent) == null ? void 0 : t.postMessage({ code: n, state: this.$route.query.state }, "*");
15094
+ if (this.isNative && this.isiOS && await yr.close(), F.$emit("ssoEvent", { name: "setLoading", data: !0 }), console.log(this.display, { code: n }, window.parent, window.opener), n) {
15095
+ if (this.display === "popup" && (localStorage.setItem("auth_code", n), this.shouldCloseWindow = !0, (e = window.parent) == null || e.postMessage({ code: n, state: this.$route.query.state }, "*"), this.closeWindow()), this.display === "redirect" || location.host === "auth.tapni.com") {
15096
+ let t = "https://auth.tapni.com/callback/auth";
15097
+ return this.realm === "dashboard" && (t = "https://business.tapni.com/login"), location.href = t + "?code=" + n + "&code_verifier=" + localStorage.getItem("pkce_code_verifier");
15098
+ }
15266
15099
  await this.exchangeAuthCode({ code: n, code_verifier: localStorage.getItem("pkce_code_verifier") });
15267
15100
  }
15268
- localStorage.removeItem("pkce_code_verifier"), F.$emit("ssoEvent", { name: "setLoading", data: !1 });
15101
+ F.$emit("ssoEvent", { name: "setLoading", data: !1 });
15269
15102
  }
15270
15103
  }
15271
15104
  }
@@ -15278,8 +15111,7 @@ var Ai = { exports: {} };
15278
15111
  return function(t) {
15279
15112
  var r = {};
15280
15113
  function o(i) {
15281
- if (r[i])
15282
- return r[i].exports;
15114
+ if (r[i]) return r[i].exports;
15283
15115
  var a = r[i] = { i, l: !1, exports: {} };
15284
15116
  return t[i].call(a.exports, a, a.exports, o), a.l = !0, a.exports;
15285
15117
  }
@@ -15288,14 +15120,11 @@ var Ai = { exports: {} };
15288
15120
  }, o.r = function(i) {
15289
15121
  typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
15290
15122
  }, o.t = function(i, a) {
15291
- if (1 & a && (i = o(i)), 8 & a || 4 & a && typeof i == "object" && i && i.__esModule)
15292
- return i;
15123
+ if (1 & a && (i = o(i)), 8 & a || 4 & a && typeof i == "object" && i && i.__esModule) return i;
15293
15124
  var s = /* @__PURE__ */ Object.create(null);
15294
- if (o.r(s), Object.defineProperty(s, "default", { enumerable: !0, value: i }), 2 & a && typeof i != "string")
15295
- for (var u in i)
15296
- o.d(s, u, (function(p) {
15297
- return i[p];
15298
- }).bind(null, u));
15125
+ if (o.r(s), Object.defineProperty(s, "default", { enumerable: !0, value: i }), 2 & a && typeof i != "string") for (var u in i) o.d(s, u, (function(p) {
15126
+ return i[p];
15127
+ }).bind(null, u));
15299
15128
  return s;
15300
15129
  }, o.n = function(i) {
15301
15130
  var a = i && i.__esModule ? function() {
@@ -15313,48 +15142,44 @@ var Ai = { exports: {} };
15313
15142
  var u = Object.create || /* @__PURE__ */ function() {
15314
15143
  function T() {
15315
15144
  }
15316
- return function(D) {
15145
+ return function(H) {
15317
15146
  var G;
15318
- return T.prototype = D, G = new T(), T.prototype = null, G;
15147
+ return T.prototype = H, G = new T(), T.prototype = null, G;
15319
15148
  };
15320
15149
  }(), p = {}, l = p.lib = {}, g = l.Base = { extend: function(T) {
15321
- var D = u(this);
15322
- return T && D.mixIn(T), D.hasOwnProperty("init") && this.init !== D.init || (D.init = function() {
15323
- D.$super.init.apply(this, arguments);
15324
- }), D.init.prototype = D, D.$super = this, D;
15150
+ var H = u(this);
15151
+ return T && H.mixIn(T), H.hasOwnProperty("init") && this.init !== H.init || (H.init = function() {
15152
+ H.$super.init.apply(this, arguments);
15153
+ }), H.init.prototype = H, H.$super = this, H;
15325
15154
  }, create: function() {
15326
15155
  var T = this.extend();
15327
15156
  return T.init.apply(T, arguments), T;
15328
15157
  }, init: function() {
15329
15158
  }, mixIn: function(T) {
15330
- for (var D in T)
15331
- T.hasOwnProperty(D) && (this[D] = T[D]);
15159
+ for (var H in T) T.hasOwnProperty(H) && (this[H] = T[H]);
15332
15160
  T.hasOwnProperty("toString") && (this.toString = T.toString);
15333
15161
  }, clone: function() {
15334
15162
  return this.init.prototype.extend(this);
15335
- } }, f = l.WordArray = g.extend({ init: function(T, D) {
15336
- T = this.words = T || [], this.sigBytes = D ?? 4 * T.length;
15163
+ } }, f = l.WordArray = g.extend({ init: function(T, H) {
15164
+ T = this.words = T || [], this.sigBytes = H ?? 4 * T.length;
15337
15165
  }, toString: function(T) {
15338
15166
  return (T || E).stringify(this);
15339
15167
  }, concat: function(T) {
15340
- var D = this.words, G = T.words, J = this.sigBytes, te = T.sigBytes;
15341
- if (this.clamp(), J % 4)
15342
- for (var Z = 0; Z < te; Z++) {
15343
- var ve = G[Z >>> 2] >>> 24 - Z % 4 * 8 & 255;
15344
- D[J + Z >>> 2] |= ve << 24 - (J + Z) % 4 * 8;
15345
- }
15346
- else
15347
- for (Z = 0; Z < te; Z += 4)
15348
- D[J + Z >>> 2] = G[Z >>> 2];
15168
+ var H = this.words, G = T.words, J = this.sigBytes, te = T.sigBytes;
15169
+ if (this.clamp(), J % 4) for (var Z = 0; Z < te; Z++) {
15170
+ var ve = G[Z >>> 2] >>> 24 - Z % 4 * 8 & 255;
15171
+ H[J + Z >>> 2] |= ve << 24 - (J + Z) % 4 * 8;
15172
+ }
15173
+ else for (Z = 0; Z < te; Z += 4) H[J + Z >>> 2] = G[Z >>> 2];
15349
15174
  return this.sigBytes += te, this;
15350
15175
  }, clamp: function() {
15351
- var T = this.words, D = this.sigBytes;
15352
- T[D >>> 2] &= 4294967295 << 32 - D % 4 * 8, T.length = a.ceil(D / 4);
15176
+ var T = this.words, H = this.sigBytes;
15177
+ T[H >>> 2] &= 4294967295 << 32 - H % 4 * 8, T.length = a.ceil(H / 4);
15353
15178
  }, clone: function() {
15354
15179
  var T = g.clone.call(this);
15355
15180
  return T.words = this.words.slice(0), T;
15356
15181
  }, random: function(T) {
15357
- for (var D, G = [], J = function(ve) {
15182
+ for (var H, G = [], J = function(ve) {
15358
15183
  ve = ve;
15359
15184
  var Se = 987654321, ye = 4294967295;
15360
15185
  return function() {
@@ -15362,49 +15187,46 @@ var Ai = { exports: {} };
15362
15187
  return Ne /= 4294967296, (Ne += 0.5) * (a.random() > 0.5 ? 1 : -1);
15363
15188
  };
15364
15189
  }, te = 0; te < T; te += 4) {
15365
- var Z = J(4294967296 * (D || a.random()));
15366
- D = 987654071 * Z(), G.push(4294967296 * Z() | 0);
15190
+ var Z = J(4294967296 * (H || a.random()));
15191
+ H = 987654071 * Z(), G.push(4294967296 * Z() | 0);
15367
15192
  }
15368
15193
  return new f.init(G, T);
15369
15194
  } }), k = p.enc = {}, E = k.Hex = { stringify: function(T) {
15370
- for (var D = T.words, G = T.sigBytes, J = [], te = 0; te < G; te++) {
15371
- var Z = D[te >>> 2] >>> 24 - te % 4 * 8 & 255;
15195
+ for (var H = T.words, G = T.sigBytes, J = [], te = 0; te < G; te++) {
15196
+ var Z = H[te >>> 2] >>> 24 - te % 4 * 8 & 255;
15372
15197
  J.push((Z >>> 4).toString(16)), J.push((15 & Z).toString(16));
15373
15198
  }
15374
15199
  return J.join("");
15375
15200
  }, parse: function(T) {
15376
- for (var D = T.length, G = [], J = 0; J < D; J += 2)
15377
- G[J >>> 3] |= parseInt(T.substr(J, 2), 16) << 24 - J % 8 * 4;
15378
- return new f.init(G, D / 2);
15379
- } }, P = k.Latin1 = { stringify: function(T) {
15380
- for (var D = T.words, G = T.sigBytes, J = [], te = 0; te < G; te++) {
15381
- var Z = D[te >>> 2] >>> 24 - te % 4 * 8 & 255;
15201
+ for (var H = T.length, G = [], J = 0; J < H; J += 2) G[J >>> 3] |= parseInt(T.substr(J, 2), 16) << 24 - J % 8 * 4;
15202
+ return new f.init(G, H / 2);
15203
+ } }, R = k.Latin1 = { stringify: function(T) {
15204
+ for (var H = T.words, G = T.sigBytes, J = [], te = 0; te < G; te++) {
15205
+ var Z = H[te >>> 2] >>> 24 - te % 4 * 8 & 255;
15382
15206
  J.push(String.fromCharCode(Z));
15383
15207
  }
15384
15208
  return J.join("");
15385
15209
  }, parse: function(T) {
15386
- for (var D = T.length, G = [], J = 0; J < D; J++)
15387
- G[J >>> 2] |= (255 & T.charCodeAt(J)) << 24 - J % 4 * 8;
15388
- return new f.init(G, D);
15210
+ for (var H = T.length, G = [], J = 0; J < H; J++) G[J >>> 2] |= (255 & T.charCodeAt(J)) << 24 - J % 4 * 8;
15211
+ return new f.init(G, H);
15389
15212
  } }, j = k.Utf8 = { stringify: function(T) {
15390
15213
  try {
15391
- return decodeURIComponent(escape(P.stringify(T)));
15214
+ return decodeURIComponent(escape(R.stringify(T)));
15392
15215
  } catch {
15393
15216
  throw new Error("Malformed UTF-8 data");
15394
15217
  }
15395
15218
  }, parse: function(T) {
15396
- return P.parse(unescape(encodeURIComponent(T)));
15219
+ return R.parse(unescape(encodeURIComponent(T)));
15397
15220
  } }, K = l.BufferedBlockAlgorithm = g.extend({ reset: function() {
15398
15221
  this._data = new f.init(), this._nDataBytes = 0;
15399
15222
  }, _append: function(T) {
15400
15223
  typeof T == "string" && (T = j.parse(T)), this._data.concat(T), this._nDataBytes += T.sigBytes;
15401
15224
  }, _process: function(T) {
15402
- var D = this._data, G = D.words, J = D.sigBytes, te = this.blockSize, Z = J / (4 * te), ve = (Z = T ? a.ceil(Z) : a.max((0 | Z) - this._minBufferSize, 0)) * te, Se = a.min(4 * ve, J);
15225
+ var H = this._data, G = H.words, J = H.sigBytes, te = this.blockSize, Z = J / (4 * te), ve = (Z = T ? a.ceil(Z) : a.max((0 | Z) - this._minBufferSize, 0)) * te, Se = a.min(4 * ve, J);
15403
15226
  if (ve) {
15404
- for (var ye = 0; ye < ve; ye += te)
15405
- this._doProcessBlock(G, ye);
15227
+ for (var ye = 0; ye < ve; ye += te) this._doProcessBlock(G, ye);
15406
15228
  var Ne = G.splice(0, ve);
15407
- D.sigBytes -= Se;
15229
+ H.sigBytes -= Se;
15408
15230
  }
15409
15231
  return new f.init(Ne, Se);
15410
15232
  }, clone: function() {
@@ -15419,12 +15241,12 @@ var Ai = { exports: {} };
15419
15241
  }, finalize: function(T) {
15420
15242
  return T && this._append(T), this._doFinalize();
15421
15243
  }, blockSize: 16, _createHelper: function(T) {
15422
- return function(D, G) {
15423
- return new T.init(G).finalize(D);
15244
+ return function(H, G) {
15245
+ return new T.init(G).finalize(H);
15424
15246
  };
15425
15247
  }, _createHmacHelper: function(T) {
15426
- return function(D, G) {
15427
- return new z.HMAC.init(T, G).finalize(D);
15248
+ return function(H, G) {
15249
+ return new z.HMAC.init(T, G).finalize(H);
15428
15250
  };
15429
15251
  } }), p.algo = {});
15430
15252
  return p;
@@ -15435,8 +15257,7 @@ var Ai = { exports: {} };
15435
15257
  p = this._hasher = new p.init(), typeof l == "string" && (l = u.parse(l));
15436
15258
  var g = p.blockSize, f = 4 * g;
15437
15259
  l.sigBytes > f && (l = p.finalize(l)), l.clamp();
15438
- for (var k = this._oKey = l.clone(), E = this._iKey = l.clone(), P = k.words, j = E.words, K = 0; K < g; K++)
15439
- P[K] ^= 1549556828, j[K] ^= 909522486;
15260
+ for (var k = this._oKey = l.clone(), E = this._iKey = l.clone(), R = k.words, j = E.words, K = 0; K < g; K++) R[K] ^= 1549556828, j[K] ^= 909522486;
15440
15261
  k.sigBytes = E.sigBytes = f, this.reset();
15441
15262
  }, reset: function() {
15442
15263
  var p = this._hasher;
@@ -15458,13 +15279,12 @@ var Ai = { exports: {} };
15458
15279
  g = this.words = g || [], this.sigBytes = f ?? 8 * g.length;
15459
15280
  }, toX32: function() {
15460
15281
  for (var g = this.words, f = g.length, k = [], E = 0; E < f; E++) {
15461
- var P = g[E];
15462
- k.push(P.high), k.push(P.low);
15282
+ var R = g[E];
15283
+ k.push(R.high), k.push(R.low);
15463
15284
  }
15464
15285
  return u.create(k, this.sigBytes);
15465
15286
  }, clone: function() {
15466
- for (var g = s.clone.call(this), f = g.words = this.words.slice(0), k = f.length, E = 0; E < k; E++)
15467
- f[E] = f[E].clone();
15287
+ for (var g = s.clone.call(this), f = g.words = this.words.slice(0), k = f.length, E = 0; E < k; E++) f[E] = f[E].clone();
15468
15288
  return g;
15469
15289
  } }), l);
15470
15290
  }, function(t, r, o) {
@@ -15479,8 +15299,7 @@ var Ai = { exports: {} };
15479
15299
  }, function(t, r) {
15480
15300
  function o(i, a) {
15481
15301
  var s = i.indexOf(a);
15482
- if (s === -1)
15483
- throw new Error("Invalid character found: " + a);
15302
+ if (s === -1) throw new Error("Invalid character found: " + a);
15484
15303
  return s;
15485
15304
  }
15486
15305
  t.exports = function(i, a) {
@@ -15499,8 +15318,7 @@ var Ai = { exports: {} };
15499
15318
  default:
15500
15319
  throw new Error("Unknown base32 variant: " + a);
15501
15320
  }
15502
- for (var u = i.length, p = 0, l = 0, g = 0, f = new Uint8Array(5 * u / 8 | 0), k = 0; k < u; k++)
15503
- l = l << 5 | o(s, i[k]), (p += 5) >= 8 && (f[g++] = l >>> p - 8 & 255, p -= 8);
15321
+ for (var u = i.length, p = 0, l = 0, g = 0, f = new Uint8Array(5 * u / 8 | 0), k = 0; k < u; k++) l = l << 5 | o(s, i[k]), (p += 5) >= 8 && (f[g++] = l >>> p - 8 & 255, p -= 8);
15504
15322
  return f.buffer;
15505
15323
  };
15506
15324
  }, function(t, r) {
@@ -15520,12 +15338,8 @@ var Ai = { exports: {} };
15520
15338
  default:
15521
15339
  throw new Error("Unknown base32 variant: " + i);
15522
15340
  }
15523
- for (var p = a.padding !== void 0 ? a.padding : u, l = o.byteLength, g = new Uint8Array(o), f = 0, k = 0, E = "", P = 0; P < l; P++)
15524
- for (k = k << 8 | g[P], f += 8; f >= 5; )
15525
- E += s[k >>> f - 5 & 31], f -= 5;
15526
- if (f > 0 && (E += s[k << 5 - f & 31]), p)
15527
- for (; E.length % 8 != 0; )
15528
- E += "=";
15341
+ for (var p = a.padding !== void 0 ? a.padding : u, l = o.byteLength, g = new Uint8Array(o), f = 0, k = 0, E = "", R = 0; R < l; R++) for (k = k << 8 | g[R], f += 8; f >= 5; ) E += s[k >>> f - 5 & 31], f -= 5;
15342
+ if (f > 0 && (E += s[k << 5 - f & 31]), p) for (; E.length % 8 != 0; ) E += "=";
15529
15343
  return E;
15530
15344
  };
15531
15345
  }, function(t, r, o) {
@@ -15533,20 +15347,19 @@ var Ai = { exports: {} };
15533
15347
  t.exports = (f = o(0), a = (i = f).lib, s = a.WordArray, u = a.Hasher, p = i.algo, l = [], g = p.SHA1 = u.extend({ _doReset: function() {
15534
15348
  this._hash = new s.init([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
15535
15349
  }, _doProcessBlock: function(k, E) {
15536
- for (var P = this._hash.words, j = P[0], K = P[1], z = P[2], T = P[3], D = P[4], G = 0; G < 80; G++) {
15537
- if (G < 16)
15538
- l[G] = 0 | k[E + G];
15350
+ for (var R = this._hash.words, j = R[0], K = R[1], z = R[2], T = R[3], H = R[4], G = 0; G < 80; G++) {
15351
+ if (G < 16) l[G] = 0 | k[E + G];
15539
15352
  else {
15540
15353
  var J = l[G - 3] ^ l[G - 8] ^ l[G - 14] ^ l[G - 16];
15541
15354
  l[G] = J << 1 | J >>> 31;
15542
15355
  }
15543
- var te = (j << 5 | j >>> 27) + D + l[G];
15544
- te += G < 20 ? 1518500249 + (K & z | ~K & T) : G < 40 ? 1859775393 + (K ^ z ^ T) : G < 60 ? (K & z | K & T | z & T) - 1894007588 : (K ^ z ^ T) - 899497514, D = T, T = z, z = K << 30 | K >>> 2, K = j, j = te;
15356
+ var te = (j << 5 | j >>> 27) + H + l[G];
15357
+ te += G < 20 ? 1518500249 + (K & z | ~K & T) : G < 40 ? 1859775393 + (K ^ z ^ T) : G < 60 ? (K & z | K & T | z & T) - 1894007588 : (K ^ z ^ T) - 899497514, H = T, T = z, z = K << 30 | K >>> 2, K = j, j = te;
15545
15358
  }
15546
- P[0] = P[0] + j | 0, P[1] = P[1] + K | 0, P[2] = P[2] + z | 0, P[3] = P[3] + T | 0, P[4] = P[4] + D | 0;
15359
+ R[0] = R[0] + j | 0, R[1] = R[1] + K | 0, R[2] = R[2] + z | 0, R[3] = R[3] + T | 0, R[4] = R[4] + H | 0;
15547
15360
  }, _doFinalize: function() {
15548
- var k = this._data, E = k.words, P = 8 * this._nDataBytes, j = 8 * k.sigBytes;
15549
- return E[j >>> 5] |= 128 << 24 - j % 32, E[14 + (j + 64 >>> 9 << 4)] = Math.floor(P / 4294967296), E[15 + (j + 64 >>> 9 << 4)] = P, k.sigBytes = 4 * E.length, this._process(), this._hash;
15361
+ var k = this._data, E = k.words, R = 8 * this._nDataBytes, j = 8 * k.sigBytes;
15362
+ return E[j >>> 5] |= 128 << 24 - j % 32, E[14 + (j + 64 >>> 9 << 4)] = Math.floor(R / 4294967296), E[15 + (j + 64 >>> 9 << 4)] = R, k.sigBytes = 4 * E.length, this._process(), this._hash;
15550
15363
  }, clone: function() {
15551
15364
  var k = u.clone.call(this);
15552
15365
  return k._hash = this._hash.clone(), k;
@@ -15556,32 +15369,28 @@ var Ai = { exports: {} };
15556
15369
  t.exports = (i = o(0), function(a) {
15557
15370
  var s = i, u = s.lib, p = u.WordArray, l = u.Hasher, g = s.algo, f = [], k = [];
15558
15371
  (function() {
15559
- function j(D) {
15560
- for (var G = a.sqrt(D), J = 2; J <= G; J++)
15561
- if (!(D % J))
15562
- return !1;
15372
+ function j(H) {
15373
+ for (var G = a.sqrt(H), J = 2; J <= G; J++) if (!(H % J)) return !1;
15563
15374
  return !0;
15564
15375
  }
15565
- function K(D) {
15566
- return 4294967296 * (D - (0 | D)) | 0;
15376
+ function K(H) {
15377
+ return 4294967296 * (H - (0 | H)) | 0;
15567
15378
  }
15568
- for (var z = 2, T = 0; T < 64; )
15569
- j(z) && (T < 8 && (f[T] = K(a.pow(z, 0.5))), k[T] = K(a.pow(z, 1 / 3)), T++), z++;
15379
+ for (var z = 2, T = 0; T < 64; ) j(z) && (T < 8 && (f[T] = K(a.pow(z, 0.5))), k[T] = K(a.pow(z, 1 / 3)), T++), z++;
15570
15380
  })();
15571
- var E = [], P = g.SHA256 = l.extend({ _doReset: function() {
15381
+ var E = [], R = g.SHA256 = l.extend({ _doReset: function() {
15572
15382
  this._hash = new p.init(f.slice(0));
15573
15383
  }, _doProcessBlock: function(j, K) {
15574
- for (var z = this._hash.words, T = z[0], D = z[1], G = z[2], J = z[3], te = z[4], Z = z[5], ve = z[6], Se = z[7], ye = 0; ye < 64; ye++) {
15575
- if (ye < 16)
15576
- E[ye] = 0 | j[K + ye];
15384
+ for (var z = this._hash.words, T = z[0], H = z[1], G = z[2], J = z[3], te = z[4], Z = z[5], ve = z[6], Se = z[7], ye = 0; ye < 64; ye++) {
15385
+ if (ye < 16) E[ye] = 0 | j[K + ye];
15577
15386
  else {
15578
15387
  var Ne = E[ye - 15], Qt = (Ne << 25 | Ne >>> 7) ^ (Ne << 14 | Ne >>> 18) ^ Ne >>> 3, Ye = E[ye - 2], an = (Ye << 15 | Ye >>> 17) ^ (Ye << 13 | Ye >>> 19) ^ Ye >>> 10;
15579
15388
  E[ye] = Qt + E[ye - 7] + an + E[ye - 16];
15580
15389
  }
15581
- var Mt = T & D ^ T & G ^ D & G, Nt = (T << 30 | T >>> 2) ^ (T << 19 | T >>> 13) ^ (T << 10 | T >>> 22), ct = Se + ((te << 26 | te >>> 6) ^ (te << 21 | te >>> 11) ^ (te << 7 | te >>> 25)) + (te & Z ^ ~te & ve) + k[ye] + E[ye];
15582
- Se = ve, ve = Z, Z = te, te = J + ct | 0, J = G, G = D, D = T, T = ct + (Nt + Mt) | 0;
15390
+ var Mt = T & H ^ T & G ^ H & G, Nt = (T << 30 | T >>> 2) ^ (T << 19 | T >>> 13) ^ (T << 10 | T >>> 22), ct = Se + ((te << 26 | te >>> 6) ^ (te << 21 | te >>> 11) ^ (te << 7 | te >>> 25)) + (te & Z ^ ~te & ve) + k[ye] + E[ye];
15391
+ Se = ve, ve = Z, Z = te, te = J + ct | 0, J = G, G = H, H = T, T = ct + (Nt + Mt) | 0;
15583
15392
  }
15584
- z[0] = z[0] + T | 0, z[1] = z[1] + D | 0, z[2] = z[2] + G | 0, z[3] = z[3] + J | 0, z[4] = z[4] + te | 0, z[5] = z[5] + Z | 0, z[6] = z[6] + ve | 0, z[7] = z[7] + Se | 0;
15393
+ z[0] = z[0] + T | 0, z[1] = z[1] + H | 0, z[2] = z[2] + G | 0, z[3] = z[3] + J | 0, z[4] = z[4] + te | 0, z[5] = z[5] + Z | 0, z[6] = z[6] + ve | 0, z[7] = z[7] + Se | 0;
15585
15394
  }, _doFinalize: function() {
15586
15395
  var j = this._data, K = j.words, z = 8 * this._nDataBytes, T = 8 * j.sigBytes;
15587
15396
  return K[T >>> 5] |= 128 << 24 - T % 32, K[14 + (T + 64 >>> 9 << 4)] = a.floor(z / 4294967296), K[15 + (T + 64 >>> 9 << 4)] = z, j.sigBytes = 4 * K.length, this._process(), this._hash;
@@ -15589,7 +15398,7 @@ var Ai = { exports: {} };
15589
15398
  var j = l.clone.call(this);
15590
15399
  return j._hash = this._hash.clone(), j;
15591
15400
  } });
15592
- s.SHA256 = l._createHelper(P), s.HmacSHA256 = l._createHmacHelper(P);
15401
+ s.SHA256 = l._createHelper(R), s.HmacSHA256 = l._createHmacHelper(R);
15593
15402
  }(Math), i.SHA256);
15594
15403
  }, function(t, r, o) {
15595
15404
  var i;
@@ -15600,24 +15409,22 @@ var Ai = { exports: {} };
15600
15409
  }
15601
15410
  var k = [f(1116352408, 3609767458), f(1899447441, 602891725), f(3049323471, 3964484399), f(3921009573, 2173295548), f(961987163, 4081628472), f(1508970993, 3053834265), f(2453635748, 2937671579), f(2870763221, 3664609560), f(3624381080, 2734883394), f(310598401, 1164996542), f(607225278, 1323610764), f(1426881987, 3590304994), f(1925078388, 4068182383), f(2162078206, 991336113), f(2614888103, 633803317), f(3248222580, 3479774868), f(3835390401, 2666613458), f(4022224774, 944711139), f(264347078, 2341262773), f(604807628, 2007800933), f(770255983, 1495990901), f(1249150122, 1856431235), f(1555081692, 3175218132), f(1996064986, 2198950837), f(2554220882, 3999719339), f(2821834349, 766784016), f(2952996808, 2566594879), f(3210313671, 3203337956), f(3336571891, 1034457026), f(3584528711, 2466948901), f(113926993, 3758326383), f(338241895, 168717936), f(666307205, 1188179964), f(773529912, 1546045734), f(1294757372, 1522805485), f(1396182291, 2643833823), f(1695183700, 2343527390), f(1986661051, 1014477480), f(2177026350, 1206759142), f(2456956037, 344077627), f(2730485921, 1290863460), f(2820302411, 3158454273), f(3259730800, 3505952657), f(3345764771, 106217008), f(3516065817, 3606008344), f(3600352804, 1432725776), f(4094571909, 1467031594), f(275423344, 851169720), f(430227734, 3100823752), f(506948616, 1363258195), f(659060556, 3750685593), f(883997877, 3785050280), f(958139571, 3318307427), f(1322822218, 3812723403), f(1537002063, 2003034995), f(1747873779, 3602036899), f(1955562222, 1575990012), f(2024104815, 1125592928), f(2227730452, 2716904306), f(2361852424, 442776044), f(2428436474, 593698344), f(2756734187, 3733110249), f(3204031479, 2999351573), f(3329325298, 3815920427), f(3391569614, 3928383900), f(3515267271, 566280711), f(3940187606, 3454069534), f(4118630271, 4000239992), f(116418474, 1914138554), f(174292421, 2731055270), f(289380356, 3203993006), f(460393269, 320620315), f(685471733, 587496836), f(852142971, 1086792851), f(1017036298, 365543100), f(1126000580, 2618297676), f(1288033470, 3409855158), f(1501505948, 4234509866), f(1607167915, 987167468), f(1816402316, 1246189591)], E = [];
15602
15411
  (function() {
15603
- for (var j = 0; j < 80; j++)
15604
- E[j] = f();
15412
+ for (var j = 0; j < 80; j++) E[j] = f();
15605
15413
  })();
15606
- var P = g.SHA512 = s.extend({ _doReset: function() {
15414
+ var R = g.SHA512 = s.extend({ _doReset: function() {
15607
15415
  this._hash = new l.init([new p.init(1779033703, 4089235720), new p.init(3144134277, 2227873595), new p.init(1013904242, 4271175723), new p.init(2773480762, 1595750129), new p.init(1359893119, 2917565137), new p.init(2600822924, 725511199), new p.init(528734635, 4215389547), new p.init(1541459225, 327033209)]);
15608
15416
  }, _doProcessBlock: function(j, K) {
15609
- for (var z = this._hash.words, T = z[0], D = z[1], G = z[2], J = z[3], te = z[4], Z = z[5], ve = z[6], Se = z[7], ye = T.high, Ne = T.low, Qt = D.high, Ye = D.low, an = G.high, Mt = G.low, Nt = J.high, ct = J.low, gn = te.high, sn = te.low, _n = Z.high, cn = Z.low, An = ve.high, Te = ve.low, Re = Se.high, Yt = Se.low, He = ye, Le = Ne, Ot = Qt, Et = Ye, et = an, lt = Mt, Wt = Nt, Lt = ct, We = gn, Pe = sn, ut = _n, zt = cn, xt = An, _t = Te, vn = Re, Tt = Yt, je = 0; je < 80; je++) {
15417
+ for (var z = this._hash.words, T = z[0], H = z[1], G = z[2], J = z[3], te = z[4], Z = z[5], ve = z[6], Se = z[7], ye = T.high, Ne = T.low, Qt = H.high, Ye = H.low, an = G.high, Mt = G.low, Nt = J.high, ct = J.low, gn = te.high, sn = te.low, _n = Z.high, cn = Z.low, An = ve.high, Te = ve.low, Re = Se.high, Yt = Se.low, De = ye, Le = Ne, Ot = Qt, Et = Ye, et = an, lt = Mt, Wt = Nt, Lt = ct, We = gn, Pe = sn, ut = _n, zt = cn, xt = An, _t = Te, vn = Re, Tt = Yt, je = 0; je < 80; je++) {
15610
15418
  var vt = E[je];
15611
- if (je < 16)
15612
- var ze = vt.high = 0 | j[K + 2 * je], dt = vt.low = 0 | j[K + 2 * je + 1];
15419
+ if (je < 16) var ze = vt.high = 0 | j[K + 2 * je], dt = vt.low = 0 | j[K + 2 * je + 1];
15613
15420
  else {
15614
- var yn = E[je - 15], Fe = yn.high, Ut = yn.low, h = (Fe >>> 1 | Ut << 31) ^ (Fe >>> 8 | Ut << 24) ^ Fe >>> 7, c = (Ut >>> 1 | Fe << 31) ^ (Ut >>> 8 | Fe << 24) ^ (Ut >>> 7 | Fe << 25), d = E[je - 2], m = d.high, b = d.low, S = (m >>> 19 | b << 13) ^ (m << 3 | b >>> 29) ^ m >>> 6, R = (b >>> 19 | m << 13) ^ (b << 3 | m >>> 29) ^ (b >>> 6 | m << 26), se = E[je - 7], we = se.high, ge = se.low, be = E[je - 16], he = be.high, cr = be.low;
15615
- ze = (ze = (ze = h + we + ((dt = c + ge) >>> 0 < c >>> 0 ? 1 : 0)) + S + ((dt += R) >>> 0 < R >>> 0 ? 1 : 0)) + he + ((dt += cr) >>> 0 < cr >>> 0 ? 1 : 0), vt.high = ze, vt.low = dt;
15421
+ var yn = E[je - 15], Fe = yn.high, Ut = yn.low, h = (Fe >>> 1 | Ut << 31) ^ (Fe >>> 8 | Ut << 24) ^ Fe >>> 7, c = (Ut >>> 1 | Fe << 31) ^ (Ut >>> 8 | Fe << 24) ^ (Ut >>> 7 | Fe << 25), d = E[je - 2], m = d.high, b = d.low, S = (m >>> 19 | b << 13) ^ (m << 3 | b >>> 29) ^ m >>> 6, P = (b >>> 19 | m << 13) ^ (b << 3 | m >>> 29) ^ (b >>> 6 | m << 26), se = E[je - 7], we = se.high, ge = se.low, be = E[je - 16], he = be.high, cr = be.low;
15422
+ ze = (ze = (ze = h + we + ((dt = c + ge) >>> 0 < c >>> 0 ? 1 : 0)) + S + ((dt += P) >>> 0 < P >>> 0 ? 1 : 0)) + he + ((dt += cr) >>> 0 < cr >>> 0 ? 1 : 0), vt.high = ze, vt.low = dt;
15616
15423
  }
15617
- var St, Br = We & ut ^ ~We & xt, lr = Pe & zt ^ ~Pe & _t, Dr = He & Ot ^ He & et ^ Ot & et, Hr = Le & Et ^ Le & lt ^ Et & lt, ur = (He >>> 28 | Le << 4) ^ (He << 30 | Le >>> 2) ^ (He << 25 | Le >>> 7), dr = (Le >>> 28 | He << 4) ^ (Le << 30 | He >>> 2) ^ (Le << 25 | He >>> 7), jr = (We >>> 14 | Pe << 18) ^ (We >>> 18 | Pe << 14) ^ (We << 23 | Pe >>> 9), Fr = (Pe >>> 14 | We << 18) ^ (Pe >>> 18 | We << 14) ^ (Pe << 23 | We >>> 9), v = k[je], y = v.high, C = v.low, I = vn + jr + ((St = Tt + Fr) >>> 0 < Tt >>> 0 ? 1 : 0), M = dr + Hr;
15618
- vn = xt, Tt = _t, xt = ut, _t = zt, ut = We, zt = Pe, We = Wt + (I = (I = (I = I + Br + ((St += lr) >>> 0 < lr >>> 0 ? 1 : 0)) + y + ((St += C) >>> 0 < C >>> 0 ? 1 : 0)) + ze + ((St += dt) >>> 0 < dt >>> 0 ? 1 : 0)) + ((Pe = Lt + St | 0) >>> 0 < Lt >>> 0 ? 1 : 0) | 0, Wt = et, Lt = lt, et = Ot, lt = Et, Ot = He, Et = Le, He = I + (ur + Dr + (M >>> 0 < dr >>> 0 ? 1 : 0)) + ((Le = St + M | 0) >>> 0 < St >>> 0 ? 1 : 0) | 0;
15424
+ var St, Br = We & ut ^ ~We & xt, lr = Pe & zt ^ ~Pe & _t, Hr = De & Ot ^ De & et ^ Ot & et, Dr = Le & Et ^ Le & lt ^ Et & lt, ur = (De >>> 28 | Le << 4) ^ (De << 30 | Le >>> 2) ^ (De << 25 | Le >>> 7), dr = (Le >>> 28 | De << 4) ^ (Le << 30 | De >>> 2) ^ (Le << 25 | De >>> 7), jr = (We >>> 14 | Pe << 18) ^ (We >>> 18 | Pe << 14) ^ (We << 23 | Pe >>> 9), Fr = (Pe >>> 14 | We << 18) ^ (Pe >>> 18 | We << 14) ^ (Pe << 23 | We >>> 9), v = k[je], y = v.high, C = v.low, I = vn + jr + ((St = Tt + Fr) >>> 0 < Tt >>> 0 ? 1 : 0), M = dr + Dr;
15425
+ vn = xt, Tt = _t, xt = ut, _t = zt, ut = We, zt = Pe, We = Wt + (I = (I = (I = I + Br + ((St += lr) >>> 0 < lr >>> 0 ? 1 : 0)) + y + ((St += C) >>> 0 < C >>> 0 ? 1 : 0)) + ze + ((St += dt) >>> 0 < dt >>> 0 ? 1 : 0)) + ((Pe = Lt + St | 0) >>> 0 < Lt >>> 0 ? 1 : 0) | 0, Wt = et, Lt = lt, et = Ot, lt = Et, Ot = De, Et = Le, De = I + (ur + Hr + (M >>> 0 < dr >>> 0 ? 1 : 0)) + ((Le = St + M | 0) >>> 0 < St >>> 0 ? 1 : 0) | 0;
15619
15426
  }
15620
- Ne = T.low = Ne + Le, T.high = ye + He + (Ne >>> 0 < Le >>> 0 ? 1 : 0), Ye = D.low = Ye + Et, D.high = Qt + Ot + (Ye >>> 0 < Et >>> 0 ? 1 : 0), Mt = G.low = Mt + lt, G.high = an + et + (Mt >>> 0 < lt >>> 0 ? 1 : 0), ct = J.low = ct + Lt, J.high = Nt + Wt + (ct >>> 0 < Lt >>> 0 ? 1 : 0), sn = te.low = sn + Pe, te.high = gn + We + (sn >>> 0 < Pe >>> 0 ? 1 : 0), cn = Z.low = cn + zt, Z.high = _n + ut + (cn >>> 0 < zt >>> 0 ? 1 : 0), Te = ve.low = Te + _t, ve.high = An + xt + (Te >>> 0 < _t >>> 0 ? 1 : 0), Yt = Se.low = Yt + Tt, Se.high = Re + vn + (Yt >>> 0 < Tt >>> 0 ? 1 : 0);
15427
+ Ne = T.low = Ne + Le, T.high = ye + De + (Ne >>> 0 < Le >>> 0 ? 1 : 0), Ye = H.low = Ye + Et, H.high = Qt + Ot + (Ye >>> 0 < Et >>> 0 ? 1 : 0), Mt = G.low = Mt + lt, G.high = an + et + (Mt >>> 0 < lt >>> 0 ? 1 : 0), ct = J.low = ct + Lt, J.high = Nt + Wt + (ct >>> 0 < Lt >>> 0 ? 1 : 0), sn = te.low = sn + Pe, te.high = gn + We + (sn >>> 0 < Pe >>> 0 ? 1 : 0), cn = Z.low = cn + zt, Z.high = _n + ut + (cn >>> 0 < zt >>> 0 ? 1 : 0), Te = ve.low = Te + _t, ve.high = An + xt + (Te >>> 0 < _t >>> 0 ? 1 : 0), Yt = Se.low = Yt + Tt, Se.high = Re + vn + (Yt >>> 0 < Tt >>> 0 ? 1 : 0);
15621
15428
  }, _doFinalize: function() {
15622
15429
  var j = this._data, K = j.words, z = 8 * this._nDataBytes, T = 8 * j.sigBytes;
15623
15430
  return K[T >>> 5] |= 128 << 24 - T % 32, K[30 + (T + 128 >>> 10 << 5)] = Math.floor(z / 4294967296), K[31 + (T + 128 >>> 10 << 5)] = z, j.sigBytes = 4 * K.length, this._process(), this._hash.toX32();
@@ -15625,11 +15432,11 @@ var Ai = { exports: {} };
15625
15432
  var j = s.clone.call(this);
15626
15433
  return j._hash = this._hash.clone(), j;
15627
15434
  }, blockSize: 32 });
15628
- a.SHA512 = s._createHelper(P), a.HmacSHA512 = s._createHmacHelper(P);
15435
+ a.SHA512 = s._createHelper(R), a.HmacSHA512 = s._createHmacHelper(R);
15629
15436
  }(), i.SHA512);
15630
15437
  }, function(t, r, o) {
15631
15438
  o.r(r);
15632
- var i, a = o(0), s = o.n(a), u = o(4), p = o.n(u), l = o(5), g = o.n(l), f = o(6), k = o.n(f), E = o(2), P = o.n(E);
15439
+ var i, a = o(0), s = o.n(a), u = o(4), p = o.n(u), l = o(5), g = o.n(l), f = o(6), k = o.n(f), E = o(2), R = o.n(E);
15633
15440
  function j(v, y) {
15634
15441
  var C = Object.keys(v);
15635
15442
  if (Object.getOwnPropertySymbols) {
@@ -15660,7 +15467,7 @@ var Ai = { exports: {} };
15660
15467
  I.enumerable = I.enumerable || !1, I.configurable = !0, "value" in I && (I.writable = !0), Object.defineProperty(v, I.key, I);
15661
15468
  }
15662
15469
  }
15663
- function D(v) {
15470
+ function H(v) {
15664
15471
  return Object.keys(v).map(function(y) {
15665
15472
  return v[y];
15666
15473
  });
@@ -15668,33 +15475,30 @@ var Ai = { exports: {} };
15668
15475
  (function(v) {
15669
15476
  v.SHA1 = "sha1", v.SHA256 = "sha256", v.SHA512 = "sha512";
15670
15477
  })(i || (i = {}));
15671
- var G, J = D(i);
15478
+ var G, J = H(i);
15672
15479
  (function(v) {
15673
15480
  v.ASCII = "ascii", v.BASE64 = "base64", v.HEX = "hex", v.LATIN1 = "latin1", v.UTF8 = "utf8";
15674
15481
  })(G || (G = {}));
15675
- var te, Z = D(G);
15482
+ var te, Z = H(G);
15676
15483
  (function(v) {
15677
15484
  v.HOTP = "hotp", v.TOTP = "totp";
15678
15485
  })(te || (te = {}));
15679
- var ve = D(te), Se = function() {
15486
+ var ve = H(te), Se = function() {
15680
15487
  throw new Error("Please provide an options.createDigest implementation.");
15681
15488
  };
15682
15489
  function ye(v) {
15683
15490
  return /^(\d+)$/.test(v);
15684
15491
  }
15685
15492
  function Ne(v, y, C) {
15686
- if (v.length >= y)
15687
- return v;
15493
+ if (v.length >= y) return v;
15688
15494
  var I = Array(y + 1).join(C);
15689
15495
  return "".concat(I).concat(v).slice(-1 * y);
15690
15496
  }
15691
15497
  function Qt(v) {
15692
15498
  var y = "otpauth://".concat(v.type, "/{labelPrefix}:{accountName}?secret={secret}{query}"), C = [];
15693
- if (ve.indexOf(v.type) < 0)
15694
- throw new Error("Expecting options.type to be one of ".concat(ve.join(", "), ". Received ").concat(v.type, "."));
15499
+ if (ve.indexOf(v.type) < 0) throw new Error("Expecting options.type to be one of ".concat(ve.join(", "), ". Received ").concat(v.type, "."));
15695
15500
  if (v.type === "hotp") {
15696
- if (v.counter == null || typeof v.counter != "number")
15697
- throw new Error('Expecting options.counter to be a number when options.type is "hotp".');
15501
+ if (v.counter == null || typeof v.counter != "number") throw new Error('Expecting options.counter to be a number when options.type is "hotp".');
15698
15502
  C.push("&counter=".concat(v.counter));
15699
15503
  }
15700
15504
  return v.type === "totp" && v.step && C.push("&period=".concat(v.step)), v.digits && C.push("&digits=".concat(v.digits)), v.algorithm && C.push("&algorithm=".concat(v.algorithm.toUpperCase())), v.issuer && C.push("&issuer=".concat(encodeURIComponent(v.issuer))), y.replace("{labelPrefix}", encodeURIComponent(v.issuer || v.accountName)).replace("{accountName}", encodeURIComponent(v.accountName)).replace("{secret}", v.secret).replace("{query}", C.join(""));
@@ -15714,8 +15518,7 @@ var Ai = { exports: {} };
15714
15518
  }
15715
15519
  function Mt(v, y) {
15716
15520
  return !y || Ye(y) !== "object" && typeof y != "function" ? function(C) {
15717
- if (C === void 0)
15718
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15521
+ if (C === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15719
15522
  return C;
15720
15523
  }(v) : y;
15721
15524
  }
@@ -15743,16 +15546,11 @@ var Ai = { exports: {} };
15743
15546
  return y in v ? Object.defineProperty(v, y, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : v[y] = C, v;
15744
15547
  }
15745
15548
  function _n(v) {
15746
- if (typeof v.createDigest != "function")
15747
- throw new Error("Expecting options.createDigest to be a function.");
15748
- if (typeof v.createHmacKey != "function")
15749
- throw new Error("Expecting options.createHmacKey to be a function.");
15750
- if (typeof v.digits != "number")
15751
- throw new Error("Expecting options.digits to be a number.");
15752
- if (!v.algorithm || J.indexOf(v.algorithm) < 0)
15753
- throw new Error("Expecting options.algorithm to be one of ".concat(J.join(", "), ". Received ").concat(v.algorithm, "."));
15754
- if (!v.encoding || Z.indexOf(v.encoding) < 0)
15755
- throw new Error("Expecting options.encoding to be one of ".concat(Z.join(", "), ". Received ").concat(v.encoding, "."));
15549
+ if (typeof v.createDigest != "function") throw new Error("Expecting options.createDigest to be a function.");
15550
+ if (typeof v.createHmacKey != "function") throw new Error("Expecting options.createHmacKey to be a function.");
15551
+ if (typeof v.digits != "number") throw new Error("Expecting options.digits to be a number.");
15552
+ if (!v.algorithm || J.indexOf(v.algorithm) < 0) throw new Error("Expecting options.algorithm to be one of ".concat(J.join(", "), ". Received ").concat(v.algorithm, "."));
15553
+ if (!v.encoding || Z.indexOf(v.encoding) < 0) throw new Error("Expecting options.encoding to be one of ".concat(Z.join(", "), ". Received ").concat(v.encoding, "."));
15756
15554
  }
15757
15555
  var cn = function(v, y, C) {
15758
15556
  return wn.from(y, C).toString("hex");
@@ -15761,10 +15559,10 @@ var Ai = { exports: {} };
15761
15559
  var y = function(C) {
15762
15560
  for (var I = 1; I < arguments.length; I++) {
15763
15561
  var M = arguments[I] != null ? arguments[I] : {};
15764
- I % 2 ? gn(Object(M), !0).forEach(function(H) {
15765
- sn(C, H, M[H]);
15766
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(C, Object.getOwnPropertyDescriptors(M)) : gn(Object(M)).forEach(function(H) {
15767
- Object.defineProperty(C, H, Object.getOwnPropertyDescriptor(M, H));
15562
+ I % 2 ? gn(Object(M), !0).forEach(function(D) {
15563
+ sn(C, D, M[D]);
15564
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(C, Object.getOwnPropertyDescriptors(M)) : gn(Object(M)).forEach(function(D) {
15565
+ Object.defineProperty(C, D, Object.getOwnPropertyDescriptor(M, D));
15768
15566
  });
15769
15567
  }
15770
15568
  return C;
@@ -15772,56 +15570,52 @@ var Ai = { exports: {} };
15772
15570
  return _n(y), Object.freeze(y);
15773
15571
  }
15774
15572
  function Te(v, y, C) {
15775
- var I = function(H) {
15776
- return Ne(H.toString(16), 16, "0");
15573
+ var I = function(D) {
15574
+ return Ne(D.toString(16), 16, "0");
15777
15575
  }(y), M = C.createHmacKey(C.algorithm, v, C.encoding);
15778
15576
  return C.createDigest(C.algorithm, M, I);
15779
15577
  }
15780
15578
  function Re(v, y, C) {
15781
15579
  return function(I, M) {
15782
- var H = wn.from(I, "hex"), de = 15 & H[H.length - 1], nt = ((127 & H[de]) << 24 | (255 & H[de + 1]) << 16 | (255 & H[de + 2]) << 8 | 255 & H[de + 3]) % Math.pow(10, M);
15580
+ var D = wn.from(I, "hex"), de = 15 & D[D.length - 1], nt = ((127 & D[de]) << 24 | (255 & D[de + 1]) << 16 | (255 & D[de + 2]) << 8 | 255 & D[de + 3]) % Math.pow(10, M);
15783
15581
  return Ne(String(nt), M, "0");
15784
15582
  }(C.digest || Te(v, y, C), C.digits);
15785
15583
  }
15786
15584
  function Yt(v, y, C, I, M) {
15787
15585
  return Qt({ algorithm: M.algorithm, digits: M.digits, type: te.HOTP, accountName: v, counter: I, issuer: y, secret: C });
15788
15586
  }
15789
- var He = function(v) {
15587
+ var De = function(v) {
15790
15588
  function y() {
15791
- return function(M, H) {
15792
- if (!(M instanceof H))
15793
- throw new TypeError("Cannot call a class as a function");
15589
+ return function(M, D) {
15590
+ if (!(M instanceof D)) throw new TypeError("Cannot call a class as a function");
15794
15591
  }(this, y), Mt(this, Nt(y).apply(this, arguments));
15795
15592
  }
15796
15593
  var C, I;
15797
- return function(M, H) {
15798
- if (typeof H != "function" && H !== null)
15799
- throw new TypeError("Super expression must either be null or a function");
15800
- M.prototype = Object.create(H && H.prototype, { constructor: { value: M, writable: !0, configurable: !0 } }), H && ct(M, H);
15594
+ return function(M, D) {
15595
+ if (typeof D != "function" && D !== null) throw new TypeError("Super expression must either be null or a function");
15596
+ M.prototype = Object.create(D && D.prototype, { constructor: { value: M, writable: !0, configurable: !0 } }), D && ct(M, D);
15801
15597
  }(y, v), C = y, (I = [{ key: "create", value: function() {
15802
15598
  var M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
15803
15599
  return new y(M);
15804
15600
  } }, { key: "allOptions", value: function() {
15805
15601
  return An(this.options);
15806
- } }, { key: "generate", value: function(M, H) {
15807
- return Re(M, H, this.allOptions());
15808
- } }, { key: "check", value: function(M, H, de) {
15602
+ } }, { key: "generate", value: function(M, D) {
15603
+ return Re(M, D, this.allOptions());
15604
+ } }, { key: "check", value: function(M, D, de) {
15809
15605
  return function(nt, Bt, ln, qr) {
15810
15606
  return !!ye(nt) && nt === Re(Bt, ln, qr);
15811
- }(M, H, de, this.allOptions());
15607
+ }(M, D, de, this.allOptions());
15812
15608
  } }, { key: "verify", value: function(M) {
15813
- if (Ye(M) !== "object")
15814
- throw new Error("Expecting argument 0 of verify to be an object");
15609
+ if (Ye(M) !== "object") throw new Error("Expecting argument 0 of verify to be an object");
15815
15610
  return this.check(M.token, M.secret, M.counter);
15816
- } }, { key: "keyuri", value: function(M, H, de, nt) {
15817
- return Yt(M, H, de, nt, this.allOptions());
15611
+ } }, { key: "keyuri", value: function(M, D, de, nt) {
15612
+ return Yt(M, D, de, nt, this.allOptions());
15818
15613
  } }]) && an(C.prototype, I), y;
15819
15614
  }(function() {
15820
15615
  function v() {
15821
15616
  var I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
15822
- (function(M, H) {
15823
- if (!(M instanceof H))
15824
- throw new TypeError("Cannot call a class as a function");
15617
+ (function(M, D) {
15618
+ if (!(M instanceof D)) throw new TypeError("Cannot call a class as a function");
15825
15619
  })(this, v), this._defaultOptions = Object.freeze(K({}, I)), this._options = Object.freeze({});
15826
15620
  }
15827
15621
  var y, C;
@@ -15856,8 +15650,7 @@ var Ai = { exports: {} };
15856
15650
  }
15857
15651
  function Et(v, y) {
15858
15652
  return !y || Le(y) !== "object" && typeof y != "function" ? function(C) {
15859
- if (C === void 0)
15860
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15653
+ if (C === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15861
15654
  return C;
15862
15655
  }(v) : y;
15863
15656
  }
@@ -15897,22 +15690,19 @@ var Ai = { exports: {} };
15897
15690
  }
15898
15691
  function Pe(v, y) {
15899
15692
  return function(C) {
15900
- if (Array.isArray(C))
15901
- return C;
15693
+ if (Array.isArray(C)) return C;
15902
15694
  }(v) || function(C, I) {
15903
15695
  if (Symbol.iterator in Object(C) || Object.prototype.toString.call(C) === "[object Arguments]") {
15904
- var M = [], H = !0, de = !1, nt = void 0;
15696
+ var M = [], D = !0, de = !1, nt = void 0;
15905
15697
  try {
15906
- for (var Bt, ln = C[Symbol.iterator](); !(H = (Bt = ln.next()).done) && (M.push(Bt.value), !I || M.length !== I); H = !0)
15907
- ;
15698
+ for (var Bt, ln = C[Symbol.iterator](); !(D = (Bt = ln.next()).done) && (M.push(Bt.value), !I || M.length !== I); D = !0) ;
15908
15699
  } catch (qr) {
15909
15700
  de = !0, nt = qr;
15910
15701
  } finally {
15911
15702
  try {
15912
- H || ln.return == null || ln.return();
15703
+ D || ln.return == null || ln.return();
15913
15704
  } finally {
15914
- if (de)
15915
- throw nt;
15705
+ if (de) throw nt;
15916
15706
  }
15917
15707
  }
15918
15708
  return M;
@@ -15922,26 +15712,22 @@ var Ai = { exports: {} };
15922
15712
  }();
15923
15713
  }
15924
15714
  function ut(v) {
15925
- if (typeof v == "number")
15926
- return [Math.abs(v), Math.abs(v)];
15715
+ if (typeof v == "number") return [Math.abs(v), Math.abs(v)];
15927
15716
  if (Array.isArray(v)) {
15928
15717
  var y = Pe(v, 2), C = y[0], I = y[1];
15929
- if (typeof C == "number" && typeof I == "number")
15930
- return [Math.abs(C), Math.abs(I)];
15718
+ if (typeof C == "number" && typeof I == "number") return [Math.abs(C), Math.abs(I)];
15931
15719
  }
15932
15720
  throw new Error("Expecting options.window to be an number or [number, number].");
15933
15721
  }
15934
15722
  function zt(v) {
15935
- if (_n(v), ut(v.window), typeof v.epoch != "number")
15936
- throw new Error("Expecting options.epoch to be a number.");
15937
- if (typeof v.step != "number")
15938
- throw new Error("Expecting options.step to be a number.");
15723
+ if (_n(v), ut(v.window), typeof v.epoch != "number") throw new Error("Expecting options.epoch to be a number.");
15724
+ if (typeof v.step != "number") throw new Error("Expecting options.step to be a number.");
15939
15725
  }
15940
15726
  var xt = function(v, y, C) {
15941
15727
  var I = v.length, M = wn.from(v, y).toString("hex");
15942
15728
  if (I < C) {
15943
- var H = new Array(C - I + 1).join(M);
15944
- return wn.from(H, "hex").slice(0, C).toString("hex");
15729
+ var D = new Array(C - I + 1).join(M);
15730
+ return wn.from(D, "hex").slice(0, C).toString("hex");
15945
15731
  }
15946
15732
  return M;
15947
15733
  }, _t = function(v, y, C) {
@@ -15966,10 +15752,9 @@ var Ai = { exports: {} };
15966
15752
  }
15967
15753
  function je(v, y, C, I) {
15968
15754
  var M = [];
15969
- if (I === 0)
15970
- return M;
15971
- for (var H = 1; H <= I; H++) {
15972
- var de = y * H * C;
15755
+ if (I === 0) return M;
15756
+ for (var D = 1; D <= I; D++) {
15757
+ var de = y * D * C;
15973
15758
  M.push(v + de);
15974
15759
  }
15975
15760
  return M;
@@ -15979,14 +15764,13 @@ var Ai = { exports: {} };
15979
15764
  }
15980
15765
  function ze(v, y, C, I) {
15981
15766
  var M = null;
15982
- return v.some(function(H, de) {
15983
- return !!vt(y, C, Lt({}, I, { epoch: H })) && (M = de + 1, !0);
15767
+ return v.some(function(D, de) {
15768
+ return !!vt(y, C, Lt({}, I, { epoch: D })) && (M = de + 1, !0);
15984
15769
  }), M;
15985
15770
  }
15986
15771
  function dt(v, y, C) {
15987
- if (vt(v, y, C))
15988
- return 0;
15989
- var I, M, H, de, nt, Bt = (I = C.epoch, M = C.step, H = C.window, de = ut(H), { current: I, past: je(I, -1, nt = 1e3 * M, de[0]), future: je(I, 1, nt, de[1]) }), ln = ze(Bt.past, v, y, C);
15772
+ if (vt(v, y, C)) return 0;
15773
+ var I, M, D, de, nt, Bt = (I = C.epoch, M = C.step, D = C.window, de = ut(D), { past: je(I, -1, nt = 1e3 * M, de[0]), future: je(I, 1, nt, de[1]) }), ln = ze(Bt.past, v, y, C);
15990
15774
  return ln !== null ? -1 * ln : ze(Bt.future, v, y, C);
15991
15775
  }
15992
15776
  function yn(v, y) {
@@ -15997,16 +15781,14 @@ var Ai = { exports: {} };
15997
15781
  }
15998
15782
  var Ut = function(v) {
15999
15783
  function y() {
16000
- return function(M, H) {
16001
- if (!(M instanceof H))
16002
- throw new TypeError("Cannot call a class as a function");
15784
+ return function(M, D) {
15785
+ if (!(M instanceof D)) throw new TypeError("Cannot call a class as a function");
16003
15786
  }(this, y), Et(this, et(y).apply(this, arguments));
16004
15787
  }
16005
15788
  var C, I;
16006
- return function(M, H) {
16007
- if (typeof H != "function" && H !== null)
16008
- throw new TypeError("Super expression must either be null or a function");
16009
- M.prototype = Object.create(H && H.prototype, { constructor: { value: M, writable: !0, configurable: !0 } }), H && lt(M, H);
15789
+ return function(M, D) {
15790
+ if (typeof D != "function" && D !== null) throw new TypeError("Super expression must either be null or a function");
15791
+ M.prototype = Object.create(D && D.prototype, { constructor: { value: M, writable: !0, configurable: !0 } }), D && lt(M, D);
16010
15792
  }(y, v), C = y, (I = [{ key: "create", value: function() {
16011
15793
  var M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
16012
15794
  return new y(M);
@@ -16014,24 +15796,23 @@ var Ai = { exports: {} };
16014
15796
  return vn(this.options);
16015
15797
  } }, { key: "generate", value: function(M) {
16016
15798
  return Tt(M, this.allOptions());
16017
- } }, { key: "checkDelta", value: function(M, H) {
16018
- return dt(M, H, this.allOptions());
16019
- } }, { key: "check", value: function(M, H) {
16020
- return typeof this.checkDelta(M, H) == "number";
15799
+ } }, { key: "checkDelta", value: function(M, D) {
15800
+ return dt(M, D, this.allOptions());
15801
+ } }, { key: "check", value: function(M, D) {
15802
+ return typeof this.checkDelta(M, D) == "number";
16021
15803
  } }, { key: "verify", value: function(M) {
16022
- if (Le(M) !== "object")
16023
- throw new Error("Expecting argument 0 of verify to be an object");
15804
+ if (Le(M) !== "object") throw new Error("Expecting argument 0 of verify to be an object");
16024
15805
  return this.check(M.token, M.secret);
16025
15806
  } }, { key: "timeRemaining", value: function() {
16026
- var M, H, de = this.allOptions();
16027
- return M = de.epoch, (H = de.step) - yn(M, H);
15807
+ var M, D, de = this.allOptions();
15808
+ return M = de.epoch, (D = de.step) - yn(M, D);
16028
15809
  } }, { key: "timeUsed", value: function() {
16029
15810
  var M = this.allOptions();
16030
15811
  return yn(M.epoch, M.step);
16031
- } }, { key: "keyuri", value: function(M, H, de) {
16032
- return Fe(M, H, de, this.allOptions());
15812
+ } }, { key: "keyuri", value: function(M, D, de) {
15813
+ return Fe(M, D, de, this.allOptions());
16033
15814
  } }]) && Ot(C.prototype, I), y;
16034
- }(He);
15815
+ }(De);
16035
15816
  function h(v) {
16036
15817
  return (h = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
16037
15818
  return typeof y;
@@ -16047,8 +15828,7 @@ var Ai = { exports: {} };
16047
15828
  }
16048
15829
  function d(v, y) {
16049
15830
  return !y || h(y) !== "object" && typeof y != "function" ? function(C) {
16050
- if (C === void 0)
16051
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15831
+ if (C === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
16052
15832
  return C;
16053
15833
  }(v) : y;
16054
15834
  }
@@ -16072,26 +15852,24 @@ var Ai = { exports: {} };
16072
15852
  }
16073
15853
  return C;
16074
15854
  }
16075
- function R(v, y, C) {
15855
+ function P(v, y, C) {
16076
15856
  return y in v ? Object.defineProperty(v, y, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : v[y] = C, v;
16077
15857
  }
16078
15858
  function se(v) {
16079
15859
  var y = function(C) {
16080
15860
  for (var I = 1; I < arguments.length; I++) {
16081
15861
  var M = arguments[I] != null ? arguments[I] : {};
16082
- I % 2 ? S(Object(M), !0).forEach(function(H) {
16083
- R(C, H, M[H]);
16084
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(C, Object.getOwnPropertyDescriptors(M)) : S(Object(M)).forEach(function(H) {
16085
- Object.defineProperty(C, H, Object.getOwnPropertyDescriptor(M, H));
15862
+ I % 2 ? S(Object(M), !0).forEach(function(D) {
15863
+ P(C, D, M[D]);
15864
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(C, Object.getOwnPropertyDescriptors(M)) : S(Object(M)).forEach(function(D) {
15865
+ Object.defineProperty(C, D, Object.getOwnPropertyDescriptor(M, D));
16086
15866
  });
16087
15867
  }
16088
15868
  return C;
16089
15869
  }({}, { algorithm: i.SHA1, createDigest: Se, createHmacKey: _t, digits: 6, encoding: G.HEX, epoch: Date.now(), step: 30, window: 0 }, {}, v);
16090
15870
  return function(C) {
16091
- if (zt(C), typeof C.keyDecoder != "function")
16092
- throw new Error("Expecting options.keyDecoder to be a function.");
16093
- if (C.keyEncoder && typeof C.keyEncoder != "function")
16094
- throw new Error("Expecting options.keyEncoder to be a function.");
15871
+ if (zt(C), typeof C.keyDecoder != "function") throw new Error("Expecting options.keyDecoder to be a function.");
15872
+ if (C.keyEncoder && typeof C.keyEncoder != "function") throw new Error("Expecting options.keyEncoder to be a function.");
16095
15873
  }(y), Object.freeze(y);
16096
15874
  }
16097
15875
  function we(v, y) {
@@ -16105,29 +15883,27 @@ var Ai = { exports: {} };
16105
15883
  }
16106
15884
  var he = function(v) {
16107
15885
  function y() {
16108
- return function(M, H) {
16109
- if (!(M instanceof H))
16110
- throw new TypeError("Cannot call a class as a function");
15886
+ return function(M, D) {
15887
+ if (!(M instanceof D)) throw new TypeError("Cannot call a class as a function");
16111
15888
  }(this, y), d(this, m(y).apply(this, arguments));
16112
15889
  }
16113
15890
  var C, I;
16114
- return function(M, H) {
16115
- if (typeof H != "function" && H !== null)
16116
- throw new TypeError("Super expression must either be null or a function");
16117
- M.prototype = Object.create(H && H.prototype, { constructor: { value: M, writable: !0, configurable: !0 } }), H && b(M, H);
15891
+ return function(M, D) {
15892
+ if (typeof D != "function" && D !== null) throw new TypeError("Super expression must either be null or a function");
15893
+ M.prototype = Object.create(D && D.prototype, { constructor: { value: M, writable: !0, configurable: !0 } }), D && b(M, D);
16118
15894
  }(y, v), C = y, (I = [{ key: "create", value: function() {
16119
15895
  var M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
16120
15896
  return new y(M);
16121
15897
  } }, { key: "allOptions", value: function() {
16122
15898
  return se(this.options);
16123
15899
  } }, { key: "generate", value: function(M) {
16124
- return function(H, de) {
16125
- return Tt(ge(H, de), de);
15900
+ return function(D, de) {
15901
+ return Tt(ge(D, de), de);
16126
15902
  }(M, this.allOptions());
16127
- } }, { key: "checkDelta", value: function(M, H) {
15903
+ } }, { key: "checkDelta", value: function(M, D) {
16128
15904
  return function(de, nt, Bt) {
16129
15905
  return dt(de, ge(nt, Bt), Bt);
16130
- }(M, H, this.allOptions());
15906
+ }(M, D, this.allOptions());
16131
15907
  } }, { key: "encode", value: function(M) {
16132
15908
  return we(M, this.allOptions());
16133
15909
  } }, { key: "decode", value: function(M) {
@@ -16148,9 +15924,9 @@ var Ai = { exports: {} };
16148
15924
  default:
16149
15925
  throw new Error("Expecting argument 0 to be one of ".concat(J.join(", "), ". Received ").concat(de, "."));
16150
15926
  }
16151
- }(v), M = P.a.parse(C), H = P.a.parse(y);
16152
- return String(I(M, H));
16153
- }, Br = o(7), lr = o.n(Br), Dr = o(8), Hr = o.n(Dr);
15927
+ }(v), M = R.a.parse(C), D = R.a.parse(y);
15928
+ return String(I(M, D));
15929
+ }, Br = o(7), lr = o.n(Br), Hr = o(8), Dr = o.n(Hr);
16154
15930
  function ur(v) {
16155
15931
  return (ur = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
16156
15932
  return typeof y;
@@ -16165,14 +15941,14 @@ var Ai = { exports: {} };
16165
15941
  }), o.d(r, "authenticator", function() {
16166
15942
  return Fr;
16167
15943
  }), (typeof window > "u" ? "undefined" : ur(window)) === "object" && window.Buffer === void 0 && (window.Buffer = buffer.Buffer);
16168
- var dr = new He({ createDigest: St }), jr = new Ut({ createDigest: St }), Fr = new he({ createDigest: St, createRandomBytes: function(v, y) {
15944
+ var dr = new De({ createDigest: St }), jr = new Ut({ createDigest: St }), Fr = new he({ createDigest: St, createRandomBytes: function(v, y) {
16169
15945
  var C = cr.random(v);
16170
15946
  return wn.from(C.toString(), "hex").toString(y);
16171
15947
  }, keyDecoder: function(v, y) {
16172
15948
  var C = lr()(v.toUpperCase(), "RFC4648");
16173
15949
  return wn.from(C).toString(y);
16174
15950
  }, keyEncoder: function(v, y) {
16175
- return Hr()(wn.from(v, y), "RFC4648", { padding: !1 });
15951
+ return Dr()(wn.from(v, y), "RFC4648", { padding: !1 });
16176
15952
  } });
16177
15953
  }]);
16178
15954
  });
@@ -16298,11 +16074,15 @@ const Ri = {
16298
16074
  },
16299
16075
  async startQrCodePooling() {
16300
16076
  this.poolingInterval = setInterval(async () => {
16301
- const [n, e] = await fe($r.qrCodePooling({
16302
- qrToken: this.qrCodeHash
16303
- }, this.$storex));
16304
- if (n)
16305
- return this.errorHandler(n);
16077
+ const [n, e] = await fe(
16078
+ $r.qrCodePooling(
16079
+ {
16080
+ qrToken: this.qrCodeHash
16081
+ },
16082
+ this.$storex
16083
+ )
16084
+ );
16085
+ if (n) return this.errorHandler(n);
16306
16086
  e.data.auth_code && (this.display !== "popup" && (this.loginSetup({ ...e, isModal: this.isModal }), await this.getLoggedInAccounts()), this.loginSuccess({ ...e, isModal: this.isModal }), clearInterval(this.poolingInterval), clearInterval(this.qrCodeRefreshInterval));
16307
16087
  }, 2e3);
16308
16088
  },
@@ -16346,10 +16126,8 @@ const Ri = {
16346
16126
  },
16347
16127
  async mounted() {
16348
16128
  if (!this.isModal) {
16349
- if (this.$route.path === "/login/callback/okta")
16350
- return await this.handleOktaRedirect();
16351
- if (this.$route.path === "/login/callback/saml")
16352
- return await this.handleSamlRedirect();
16129
+ if (this.$route.path === "/login/callback/okta") return await this.handleOktaRedirect();
16130
+ if (this.$route.path === "/login/callback/saml") return await this.handleSamlRedirect();
16353
16131
  this.$route.query.qrLogin && this.changeLoginToQr(), setTimeout(() => {
16354
16132
  this.$storex && this.$storex.token ? this.$router.push(this.home) : F.$emit("ssoEvent", { name: "setLoading", data: !1 });
16355
16133
  }, 2500);
@@ -16357,8 +16135,7 @@ const Ri = {
16357
16135
  },
16358
16136
  methods: {
16359
16137
  async submit() {
16360
- if (this.submitted)
16361
- return;
16138
+ if (this.submitted) return;
16362
16139
  this.submitted = !0, this.emailOrUsername = this.emailOrUsername.trim();
16363
16140
  let e = {
16364
16141
  response_type: this.$route.query.response_type || "token",
@@ -16384,10 +16161,8 @@ const Ri = {
16384
16161
  n.includes("@") && (this.$storex.verifyEmail = n);
16385
16162
  },
16386
16163
  "$route.path": async function(n) {
16387
- if (n === "/login/callback/okta")
16388
- return await this.handleOktaRedirect();
16389
- if (n === "/login/callback/saml")
16390
- return await this.handleSamlRedirect();
16164
+ if (n === "/login/callback/okta") return await this.handleOktaRedirect();
16165
+ if (n === "/login/callback/saml") return await this.handleSamlRedirect();
16391
16166
  }
16392
16167
  }
16393
16168
  }, Qs = /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
@@ -16473,7 +16248,7 @@ const Ri = {
16473
16248
  }, zc = { href: "https://tapni.com/policies/privacy-policy" }, xc = /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Uc = {
16474
16249
  key: 10,
16475
16250
  class: "page-login-links"
16476
- }, Bc = /* @__PURE__ */ _("div", { class: "clear" }, null, -1), Dc = { class: "forgot center-text pointer small-top" }, Hc = /* @__PURE__ */ _("br", null, null, -1), jc = /* @__PURE__ */ _("div", { class: "clear" }, null, -1);
16251
+ }, Bc = /* @__PURE__ */ _("div", { class: "clear" }, null, -1), Hc = { class: "forgot center-text pointer small-top" }, Dc = /* @__PURE__ */ _("br", null, null, -1), jc = /* @__PURE__ */ _("div", { class: "clear" }, null, -1);
16477
16252
  function Fc(n, e, t, r, o, i) {
16478
16253
  const a = Fn("router-link");
16479
16254
  return N(), x("form", {
@@ -16616,9 +16391,9 @@ function Fc(n, e, t, r, o, i) {
16616
16391
  class: "page-login-links",
16617
16392
  onClick: e[13] || (e[13] = (...s) => i.createAccountModal && i.createAccountModal(...s))
16618
16393
  }, [
16619
- _("a", Dc, [
16394
+ _("a", Hc, [
16620
16395
  ke(Q(n.ssoLang[n.appLanguage].or) + " ", 1),
16621
- Hc,
16396
+ Dc,
16622
16397
  ke(" " + Q(n.ssoLang[n.appLanguage].create_new_account), 1)
16623
16398
  ]),
16624
16399
  jc
@@ -16680,16 +16455,11 @@ const wo = /* @__PURE__ */ gt(Vs, [["render", Fc]]), qc = /* @__PURE__ */ Object
16680
16455
  },
16681
16456
  methods: {
16682
16457
  async submit() {
16683
- if (this.password.length < 8)
16684
- return this.errorSnack(this.ssoLang[this.appLanguage].password_8_chars);
16685
- if (this.password.search(/[a-z]/) < 0)
16686
- return this.errorSnack(this.ssoLang[this.appLanguage].password_least_one_lowercase);
16687
- if (this.password.search(/[A-Z]/) < 0)
16688
- return this.errorSnack(this.ssoLang[this.appLanguage].password_least_one_uppercase);
16689
- if (this.password.search(/[0-9]/) < 0)
16690
- return this.errorSnack(this.ssoLang[this.appLanguage].password_least_one_number);
16691
- if (this.submitted)
16692
- return;
16458
+ if (this.password.length < 8) return this.errorSnack(this.ssoLang[this.appLanguage].password_8_chars);
16459
+ if (this.password.search(/[a-z]/) < 0) return this.errorSnack(this.ssoLang[this.appLanguage].password_least_one_lowercase);
16460
+ if (this.password.search(/[A-Z]/) < 0) return this.errorSnack(this.ssoLang[this.appLanguage].password_least_one_uppercase);
16461
+ if (this.password.search(/[0-9]/) < 0) return this.errorSnack(this.ssoLang[this.appLanguage].password_least_one_number);
16462
+ if (this.submitted) return;
16693
16463
  this.submitted = !0, this.email = this.email.trim(), this.username = this.username.trim();
16694
16464
  let n = {
16695
16465
  response_type: this.response_type,
@@ -16985,8 +16755,7 @@ const bo = /* @__PURE__ */ gt(Kc, [["render", xl]]), Ul = /* @__PURE__ */ Object
16985
16755
  email: this.email,
16986
16756
  captchaToken: await this.getCaptchaToken("account_verify")
16987
16757
  };
16988
- if (this.submitted)
16989
- return !1;
16758
+ if (this.submitted) return !1;
16990
16759
  this.submitted = !0;
16991
16760
  let e = await this.verify(n);
16992
16761
  this.submitted = !1, e && e.data && e.data.success === !0 ? (this.action === "reset" && (this.$router.push("/reset?c=" + this.code + "&e=" + this.email), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success)), this.action === "verify" && (this.isModal && (this.email = "", this.code = "", F.$emit("closeModal")), await this.loginSetup(e), await this.getLoggedInAccounts(), this.$storex.verifyEmail = "", this.$router.push("/" + e.data.data.username + "#edit"), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success2))) : this.submitted = !1;
@@ -17012,14 +16781,14 @@ const bo = /* @__PURE__ */ gt(Kc, [["render", xl]]), Ul = /* @__PURE__ */ Object
17012
16781
  deep: !0
17013
16782
  }
17014
16783
  }
17015
- }, Ct = (n) => (qn("data-v-89d98ef3"), n = n(), Kn(), n), Dl = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
16784
+ }, Ct = (n) => (qn("data-v-dea3e9ef"), n = n(), Kn(), n), Hl = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
17016
16785
  /* @__PURE__ */ _("img", {
17017
16786
  src: "https://cdn.tapni.co/icons/down-arrow.png",
17018
16787
  class: "responsive-image",
17019
16788
  style: { width: "35%" }
17020
16789
  })
17021
- ], -1)), Hl = [
17022
- Dl
16790
+ ], -1)), Dl = [
16791
+ Hl
17023
16792
  ], jl = {
17024
16793
  class: "bold no-bottom center-text",
17025
16794
  style: { "margin-top": "63px" }
@@ -17060,7 +16829,7 @@ function uu(n, e, t, r, o, i) {
17060
16829
  onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
17061
16830
  class: "color-black pull-right pointer",
17062
16831
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
17063
- }, Hl)) : pe("", !0),
16832
+ }, Dl)) : pe("", !0),
17064
16833
  _("h1", jl, Q(n.ssoLang[this.appLanguage].verify_account), 1),
17065
16834
  Fl,
17066
16835
  _("div", ql, [
@@ -17138,7 +16907,7 @@ function uu(n, e, t, r, o, i) {
17138
16907
  ]))
17139
16908
  ], 36);
17140
16909
  }
17141
- const ko = /* @__PURE__ */ gt(Bl, [["render", uu], ["__scopeId", "data-v-89d98ef3"]]), du = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16910
+ const ko = /* @__PURE__ */ gt(Bl, [["render", uu], ["__scopeId", "data-v-dea3e9ef"]]), du = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17142
16911
  __proto__: null,
17143
16912
  default: ko
17144
16913
  }, Symbol.toStringTag, { value: "Module" })), pu = {
@@ -17178,7 +16947,7 @@ const ko = /* @__PURE__ */ gt(Bl, [["render", uu], ["__scopeId", "data-v-89d98ef
17178
16947
  })
17179
16948
  ], -1), mu = [
17180
16949
  fu
17181
- ], gu = /* @__PURE__ */ _("h4", { style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "50px" } }, " 2-Step Verification ", -1), _u = /* @__PURE__ */ _("br", null, null, -1), vu = { class: "qrCodeLoginContainer center-text" }, yu = {
16950
+ ], gu = /* @__PURE__ */ _("h4", { style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "50px" } }, "2-Step Verification", -1), _u = /* @__PURE__ */ _("br", null, null, -1), vu = { class: "qrCodeLoginContainer center-text" }, yu = {
17182
16951
  class: "ios-switch",
17183
16952
  style: { display: "inline-block", float: "right" }
17184
16953
  }, wu = /* @__PURE__ */ _("label", {
@@ -17300,8 +17069,7 @@ const Co = /* @__PURE__ */ gt(pu, [["render", zu]]), xu = /* @__PURE__ */ Object
17300
17069
  },
17301
17070
  methods: {
17302
17071
  async resetEmail() {
17303
- if (this.submitted)
17304
- return;
17072
+ if (this.submitted) return;
17305
17073
  this.submitted = !0, this.email = this.email.trim();
17306
17074
  let n = {
17307
17075
  email: this.email,
@@ -17310,12 +17078,9 @@ const Co = /* @__PURE__ */ gt(pu, [["render", zu]]), xu = /* @__PURE__ */ Object
17310
17078
  await this.reset(n), this.submitted = !1, await this.$router.push("/verify?e=" + this.email + "#reset");
17311
17079
  },
17312
17080
  async changePw() {
17313
- if (this.code.length !== 6)
17314
- return this.errorSnack(this.ssoLang[this.appLanguage].invalid_code);
17315
- if (this.password !== this.passwordRepeat)
17316
- return this.errorSnack(this.ssoLang[this.appLanguage].password_not_match);
17317
- if (this.submitted)
17318
- return;
17081
+ if (this.code.length !== 6) return this.errorSnack(this.ssoLang[this.appLanguage].invalid_code);
17082
+ if (this.password !== this.passwordRepeat) return this.errorSnack(this.ssoLang[this.appLanguage].password_not_match);
17083
+ if (this.submitted) return;
17319
17084
  this.submitted = !0, this.email = this.email.trim(), this.code = this.code.trim();
17320
17085
  let n = {
17321
17086
  email: this.email,
@@ -17332,10 +17097,10 @@ const Co = /* @__PURE__ */ gt(pu, [["render", zu]]), xu = /* @__PURE__ */ Object
17332
17097
  this.$storex.verifyEmail = n;
17333
17098
  }
17334
17099
  }
17335
- }, on = (n) => (qn("data-v-69a9cfa3"), n = n(), Kn(), n), Bu = {
17100
+ }, on = (n) => (qn("data-v-b19fad43"), n = n(), Kn(), n), Bu = {
17336
17101
  class: "bold no-bottom center-text",
17337
17102
  style: { "margin-top": "63px" }
17338
- }, Du = /* @__PURE__ */ on(() => /* @__PURE__ */ _("p", { class: "half-bottom small-top center-text color-black" }, null, -1)), Hu = { class: "page-login-field half-top color-black" }, ju = /* @__PURE__ */ on(() => /* @__PURE__ */ _("i", { style: { "padding-top": "10px", "margin-left": "10px" } }, [
17103
+ }, Hu = /* @__PURE__ */ on(() => /* @__PURE__ */ _("p", { class: "half-bottom small-top center-text color-black" }, null, -1)), Du = { class: "page-login-field half-top color-black" }, ju = /* @__PURE__ */ on(() => /* @__PURE__ */ _("i", { style: { "padding-top": "10px", "margin-left": "10px" } }, [
17339
17104
  /* @__PURE__ */ _("img", {
17340
17105
  src: "https://cdn.tapni.co/icons/mail.png",
17341
17106
  class: "responsive-image",
@@ -17458,8 +17223,8 @@ function yd(n, e, t, r, o, i) {
17458
17223
  autocomplete: "on"
17459
17224
  }, [
17460
17225
  _("h3", Bu, Q(n.ssoLang[this.appLanguage].reset_password), 1),
17461
- Du,
17462
- _("div", Hu, [
17226
+ Hu,
17227
+ _("div", Du, [
17463
17228
  ju,
17464
17229
  Ie(_("input", {
17465
17230
  id: "emailInput",
@@ -17510,7 +17275,7 @@ function yd(n, e, t, r, o, i) {
17510
17275
  ])
17511
17276
  ], 32));
17512
17277
  }
17513
- const Eo = /* @__PURE__ */ gt(Uu, [["render", yd], ["__scopeId", "data-v-69a9cfa3"]]), wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17278
+ const Eo = /* @__PURE__ */ gt(Uu, [["render", yd], ["__scopeId", "data-v-b19fad43"]]), wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17514
17279
  __proto__: null,
17515
17280
  default: Eo
17516
17281
  }, Symbol.toStringTag, { value: "Module" })), bd = {
@@ -17520,12 +17285,13 @@ const Eo = /* @__PURE__ */ gt(Uu, [["render", yd], ["__scopeId", "data-v-69a9cfa
17520
17285
  return {};
17521
17286
  },
17522
17287
  async mounted() {
17288
+ if (this.$route.path === "/callback/redirect")
17289
+ return location.href = atob(this.$route.query.uri);
17523
17290
  if (this.$route.path === "/callback/auth" && this.exchangeAuthCode({
17524
- code: this.$route.query.code
17525
- }), this.$route.path === "/callback/okta")
17526
- return await this.handleOktaRedirect();
17527
- if (this.$route.path === "/callback/saml")
17528
- return await this.handleSamlRedirect();
17291
+ code: this.$route.query.code,
17292
+ code_verifier: this.$route.query.code_verifier
17293
+ }), this.$route.path === "/callback/okta") return await this.handleOktaRedirect();
17294
+ if (this.$route.path === "/callback/saml") return await this.handleSamlRedirect();
17529
17295
  },
17530
17296
  methods: {
17531
17297
  inAppRedirect() {
@@ -17550,7 +17316,7 @@ function Sd(n, e, t, r, o, i) {
17550
17316
  onClick: e[0] || (e[0] = (...a) => i.inAppRedirect && i.inAppRedirect(...a)),
17551
17317
  style: { color: "blue", cursor: "pointer" }
17552
17318
  }, Q(n.ssoLang[this.appLanguage].click_here), 1),
17553
- ke(".")
17319
+ ke(". ")
17554
17320
  ])) : (N(), x("h4", Td, Q(n.ssoLang[this.appLanguage].please_wait), 1))
17555
17321
  ]);
17556
17322
  }
@@ -17588,7 +17354,7 @@ function Rd(n, e, t, r, o, i) {
17588
17354
  onClick: e[0] || (e[0] = (...a) => i.toggleEmit && i.toggleEmit(...a))
17589
17355
  }, null, 2);
17590
17356
  }
17591
- const Pi = /* @__PURE__ */ gt(Ad, [["render", Rd], ["__scopeId", "data-v-17c95816"]]), Pd = {
17357
+ const Pi = /* @__PURE__ */ gt(Ad, [["render", Rd], ["__scopeId", "data-v-7ca209db"]]), Pd = {
17592
17358
  name: "SSO",
17593
17359
  mixins: [Lr, zr, xr, at],
17594
17360
  data() {
@@ -17624,14 +17390,13 @@ const Pi = /* @__PURE__ */ gt(Ad, [["render", Rd], ["__scopeId", "data-v-17c9581
17624
17390
  sso: n.sso,
17625
17391
  email: this.email
17626
17392
  }));
17627
- else
17628
- return this.forceClose(), this.errorSnack(this.ssoLang[this.appLanguage].no_sso_logins);
17393
+ else return this.forceClose(), this.errorSnack(this.ssoLang[this.appLanguage].no_sso_logins);
17629
17394
  },
17630
17395
  toggleModal() {
17631
17396
  this.toggle = !this.toggle;
17632
17397
  }
17633
17398
  }
17634
- }, Md = (n) => (qn("data-v-11f19a09"), n = n(), Kn(), n), Nd = /* @__PURE__ */ Md(() => /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
17399
+ }, Md = (n) => (qn("data-v-79f3563d"), n = n(), Kn(), n), Nd = /* @__PURE__ */ Md(() => /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
17635
17400
  /* @__PURE__ */ _("img", {
17636
17401
  src: "https://cdn.tapni.co/icons/down-arrow.png",
17637
17402
  class: "responsive-image",
@@ -17647,7 +17412,7 @@ const Pi = /* @__PURE__ */ gt(Ad, [["render", Rd], ["__scopeId", "data-v-17c9581
17647
17412
  key: 1,
17648
17413
  class: "button--loading button__loader"
17649
17414
  };
17650
- function Dd(n, e, t, r, o, i) {
17415
+ function Hd(n, e, t, r, o, i) {
17651
17416
  return N(), x("form", {
17652
17417
  onSubmit: e[3] || (e[3] = Ve((...a) => i.submit && i.submit(...a), ["prevent"])),
17653
17418
  class: Ke(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": o.toggle }]),
@@ -17682,7 +17447,7 @@ function Dd(n, e, t, r, o, i) {
17682
17447
  ])
17683
17448
  ], 34);
17684
17449
  }
17685
- const Mi = /* @__PURE__ */ gt(Pd, [["render", Dd], ["__scopeId", "data-v-11f19a09"]]), Hd = {
17450
+ const Mi = /* @__PURE__ */ gt(Pd, [["render", Hd], ["__scopeId", "data-v-79f3563d"]]), Dd = {
17686
17451
  name: "OTP",
17687
17452
  mixins: [at],
17688
17453
  data() {
@@ -17778,7 +17543,7 @@ function Zd(n, e, t, r, o, i) {
17778
17543
  ])
17779
17544
  ], 34);
17780
17545
  }
17781
- const Ni = /* @__PURE__ */ gt(Hd, [["render", Zd]]), ep = {
17546
+ const Ni = /* @__PURE__ */ gt(Dd, [["render", Zd]]), ep = {
17782
17547
  name: "SSOPick",
17783
17548
  mixins: [Lr, zr, xr, at],
17784
17549
  data() {
@@ -17813,7 +17578,7 @@ const Ni = /* @__PURE__ */ gt(Hd, [["render", Zd]]), ep = {
17813
17578
  this.azureLoad = !1, this.oktaLoad = !1, this.samlLoad = !1, this.sso = null, this.email = null, n && (this.sso = n.sso, this.email = n.email), this.toggle = !this.toggle;
17814
17579
  }
17815
17580
  }
17816
- }, Ur = (n) => (qn("data-v-4f821f65"), n = n(), Kn(), n), tp = /* @__PURE__ */ Ur(() => /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
17581
+ }, Ur = (n) => (qn("data-v-7c88f510"), n = n(), Kn(), n), tp = /* @__PURE__ */ Ur(() => /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
17817
17582
  /* @__PURE__ */ _("img", {
17818
17583
  src: "https://cdn.tapni.co/icons/down-arrow.png",
17819
17584
  class: "responsive-image",
@@ -17880,7 +17645,7 @@ function hp(n, e, t, r, o, i) {
17880
17645
  ])) : pe("", !0)
17881
17646
  ], 34);
17882
17647
  }
17883
- const Oi = /* @__PURE__ */ gt(ep, [["render", hp], ["__scopeId", "data-v-4f821f65"]]), fp = {
17648
+ const Oi = /* @__PURE__ */ gt(ep, [["render", hp], ["__scopeId", "data-v-7c88f510"]]), fp = {
17884
17649
  name: "LinkIcon",
17885
17650
  mixins: [at],
17886
17651
  props: {
@@ -17957,9 +17722,7 @@ function yp(n, e, t, r, o, i) {
17957
17722
  var a, s;
17958
17723
  return N(), x("a", {
17959
17724
  class: Ke(["disable-select", t.linkStyle + (t.disabled ? " opacity-50" : "")]),
17960
- style: xn(
17961
- (t.editing ? "cursor: move" : "cursor: pointer") + "!important; overflow: visible; margin-top: 5px;"
17962
- )
17725
+ style: xn((t.editing ? "cursor: move" : "cursor: pointer") + "!important; overflow: visible; margin-top: 5px;")
17963
17726
  }, [
17964
17727
  _("span", {
17965
17728
  class: Ke({
@@ -18007,12 +17770,7 @@ function yp(n, e, t, r, o, i) {
18007
17770
  ], 6);
18008
17771
  }
18009
17772
  const wp = /* @__PURE__ */ gt(fp, [["render", yp]]), bp = {
18010
- ANDROID_VERSION: "5.6",
18011
- IOS_VERSION: "5.6",
18012
- WEB_VERSION: "5.6.0",
18013
- SUPPORTED_LANGUAGES: ["en", "de", "es", "kr", "it", "fr"],
18014
- METAPIXEL_ID: "1203678696914368",
18015
- GOOGLE_ANALYTICS_ID: ""
17773
+ SUPPORTED_LANGUAGES: ["en", "de", "es", "kr", "it", "fr"]
18016
17774
  }, kp = {
18017
17775
  name: "Language",
18018
17776
  mixins: [at],
@@ -18026,7 +17784,7 @@ const wp = /* @__PURE__ */ gt(fp, [["render", yp]]), bp = {
18026
17784
  F.$on("toggleSSOLanguageModal", this.toggleModal), F.$on("closeModal", () => {
18027
17785
  this.toggle = !1;
18028
17786
  });
18029
- let n = this.isNative ? await vr.getLanguageCode() : Dn.getFirstBrowserLanguage();
17787
+ let n = this.isNative ? await vr.getLanguageCode() : Hn.getFirstBrowserLanguage();
18030
17788
  n && bp.SUPPORTED_LANGUAGES.includes(n) && this.updateLanguage(n);
18031
17789
  },
18032
17790
  beforeDestroy() {
@@ -18046,7 +17804,7 @@ const wp = /* @__PURE__ */ gt(fp, [["render", yp]]), bp = {
18046
17804
  this.toggle = !this.toggle;
18047
17805
  }
18048
17806
  }
18049
- }, Cp = (n) => (qn("data-v-7477a961"), n = n(), Kn(), n), Ep = /* @__PURE__ */ Cp(() => /* @__PURE__ */ _("i", { class: "font-17 fa color-black" }, [
17807
+ }, Cp = (n) => (qn("data-v-b2acc339"), n = n(), Kn(), n), Ep = /* @__PURE__ */ Cp(() => /* @__PURE__ */ _("i", { class: "font-17 fa color-black" }, [
18050
17808
  /* @__PURE__ */ _("img", {
18051
17809
  src: "https://cdn.tapni.co/icons/down-arrow.png",
18052
17810
  class: "fa responsive-image",
@@ -18141,8 +17899,8 @@ function Ip(n, e, t, r, o, i) {
18141
17899
  }, null, 8, ["data"])
18142
17900
  ], 2);
18143
17901
  }
18144
- const Li = /* @__PURE__ */ gt(kp, [["render", Ip], ["__scopeId", "data-v-7477a961"]]), un = ar("Preferences", {
18145
- web: () => import("./web-AImUTDQQ.js").then((n) => new n.PreferencesWeb())
17902
+ const Li = /* @__PURE__ */ gt(kp, [["render", Ip], ["__scopeId", "data-v-b2acc339"]]), un = ar("Preferences", {
17903
+ web: () => import("./web-LIfHmYL2.js").then((n) => new n.PreferencesWeb())
18146
17904
  }), At = {
18147
17905
  async setObject(n, e) {
18148
17906
  await un.set({
@@ -18263,38 +18021,36 @@ const Li = /* @__PURE__ */ gt(kp, [["render", Ip], ["__scopeId", "data-v-7477a96
18263
18021
  await Vr.setRaw(e);
18264
18022
  }, { deep: !0 });
18265
18023
  }
18266
- };
18267
- var Rp = { 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 };
18268
- const Pp = { id: "ssoapp" }, Mp = {
18024
+ }, Rp = { id: "ssoapp" }, Pp = {
18269
18025
  key: 0,
18270
18026
  href: "/",
18271
18027
  class: "header-logo"
18272
- }, Np = /* @__PURE__ */ _("img", {
18028
+ }, Mp = /* @__PURE__ */ _("img", {
18273
18029
  src: "data:image/png;base64,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",
18274
18030
  onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
18275
18031
  class: "header-logo-img"
18276
- }, null, -1), Op = [
18277
- Np
18278
- ], Lp = { class: "lang-icon" }, zp = {
18032
+ }, null, -1), Np = [
18033
+ Mp
18034
+ ], Op = { class: "lang-icon" }, Lp = {
18279
18035
  class: "snackbar snackbar-boxed",
18280
18036
  id: "snackbar"
18281
- }, xp = {
18037
+ }, zp = {
18282
18038
  class: "snack-body",
18283
18039
  id: "errorSnack"
18284
- }, Up = { id: "errorMessage" }, Bp = /* @__PURE__ */ _("img", {
18040
+ }, xp = { id: "errorMessage" }, Up = /* @__PURE__ */ _("img", {
18285
18041
  src: "https://cdn.tapni.co/icons/notification-close.png",
18286
18042
  style: { width: "100%" }
18287
- }, null, -1), Dp = [
18288
- Bp
18043
+ }, null, -1), Bp = [
18044
+ Up
18289
18045
  ], Hp = {
18290
18046
  class: "snack-body",
18291
18047
  id: "successSnack"
18292
- }, jp = { id: "successMessage" }, Fp = /* @__PURE__ */ _("img", {
18048
+ }, Dp = { id: "successMessage" }, jp = /* @__PURE__ */ _("img", {
18293
18049
  src: "https://cdn.tapni.co/icons/notification-close.png",
18294
18050
  style: { width: "100%" }
18295
- }, null, -1), qp = [
18296
- Fp
18297
- ], Kp = {
18051
+ }, null, -1), Fp = [
18052
+ jp
18053
+ ], qp = {
18298
18054
  store: ho,
18299
18055
  name: "TapniAuth",
18300
18056
  mixins: [Ap, at],
@@ -18392,20 +18148,20 @@ const Pp = { id: "ssoapp" }, Mp = {
18392
18148
  deep: !0
18393
18149
  }
18394
18150
  }
18395
- }, Gp = /* @__PURE__ */ Object.assign(Kp, {
18151
+ }, Kp = /* @__PURE__ */ Object.assign(qp, {
18396
18152
  setup(n) {
18397
18153
  return window.Buffer = aa, document.addEventListener("DOMContentLoaded", function() {
18398
18154
  const e = document.createElement("script");
18399
- e.src = `https://www.google.com/recaptcha/api.js?render=${Rp.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(e);
18400
- }), (e, t) => (N(), x("div", Pp, [
18401
- e.display === "redirect" || e.renderView.includes("Auth") ? (N(), x("a", Mp, Op)) : pe("", !0),
18155
+ e.src = "https://www.google.com/recaptcha/api.js?render=undefined", document.head.appendChild(e);
18156
+ }), (e, t) => (N(), x("div", Rp, [
18157
+ e.display === "redirect" || e.renderView.includes("Auth") ? (N(), x("a", Pp, Np)) : pe("", !0),
18402
18158
  e.display === "redirect" ? (N(), x("a", {
18403
18159
  key: 1,
18404
18160
  onClick: t[0] || (t[0] = (...r) => e.toggleSSOLanguageModal && e.toggleSSOLanguageModal(...r)),
18405
18161
  class: "font-18 no-border pointer color-black",
18406
18162
  style: { position: "absolute", right: "20px", top: "-10px", "z-index": "1" }
18407
18163
  }, [
18408
- _("span", Lp, Q(e.appLanguage.toUpperCase()), 1)
18164
+ _("span", Op, Q(e.appLanguage.toUpperCase()), 1)
18409
18165
  ])) : pe("", !0),
18410
18166
  Ue(Pi),
18411
18167
  n.isModal ? pe("", !0) : (N(), ht(Li, { key: 2 })),
@@ -18425,28 +18181,28 @@ const Pp = { id: "ssoapp" }, Mp = {
18425
18181
  key: 9,
18426
18182
  isModal: n.isModal,
18427
18183
  payload: n.payload
18428
- }, null, 8, ["isModal", "payload"])) : e.initialized && e.renderView === "AuthReset" ? (N(), ht(Eo, { key: 10 })) : e.initialized && e.renderView === "AuthCallback" ? (N(), ht(To, { key: 11 })) : e.display !== "npm" ? (N(), ht(Di(Fi), { key: 12 })) : pe("", !0),
18429
- _("div", zp, [
18430
- _("p", xp, [
18431
- _("span", Up, Q(e.ssoLang[e.appLanguage].error), 1),
18184
+ }, null, 8, ["isModal", "payload"])) : e.initialized && e.renderView === "AuthReset" ? (N(), ht(Eo, { key: 10 })) : e.initialized && e.renderView === "AuthCallback" ? (N(), ht(To, { key: 11 })) : e.display !== "npm" ? (N(), ht(Hi(Fi), { key: 12 })) : pe("", !0),
18185
+ _("div", Lp, [
18186
+ _("p", zp, [
18187
+ _("span", xp, Q(e.ssoLang[e.appLanguage].error), 1),
18432
18188
  _("a", {
18433
18189
  onClick: t[1] || (t[1] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
18434
18190
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
18435
- }, Dp)
18191
+ }, Bp)
18436
18192
  ]),
18437
18193
  _("p", Hp, [
18438
- _("span", jp, Q(e.ssoLang[e.appLanguage].success), 1),
18194
+ _("span", Dp, Q(e.ssoLang[e.appLanguage].success), 1),
18439
18195
  _("a", {
18440
18196
  onClick: t[2] || (t[2] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
18441
18197
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
18442
- }, qp)
18198
+ }, Fp)
18443
18199
  ])
18444
18200
  ])
18445
18201
  ]));
18446
18202
  }
18447
- }), oh = {
18203
+ }), rh = {
18448
18204
  install: (n, { store: e, apiRoot: t }) => {
18449
- n.component("TapniAuth", Gp), e.hasModule("auth") || e.registerModule("auth", ho), n.config.globalProperties.$apiRoot = t;
18205
+ n.component("TapniAuth", Kp), e.hasModule("auth") || e.registerModule("auth", ho), n.config.globalProperties.$apiRoot = t;
18450
18206
  }
18451
18207
  };
18452
18208
  export {
@@ -18454,5 +18210,5 @@ export {
18454
18210
  F as E,
18455
18211
  Gs as Q,
18456
18212
  gt as _,
18457
- oh as i
18213
+ rh as i
18458
18214
  };