@tapni/auth 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +12 -12
- package/dist/{Apps-BUaqZ_q2.js → Apps-C48_LPv-.js} +1 -1
- package/dist/{Billing-iyghOirx.js → Billing-B8J3f2pG.js} +1 -1
- package/dist/{CustomApp-2ftGKgha.js → CustomApp-DNJYi2ms.js} +1 -1
- package/dist/{General-BSTSFoFs.js → General-Dp-0s35x.js} +1 -1
- package/dist/{QR-DQIffW0F.js → QR-DbgxZeXg.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +9 -9
- package/dist/{install-B76JyFun.js → install-DPaC-bE5.js} +613 -614
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/App.vue +3 -4
- package/src/install.js +1 -0
- package/src/main.js +1 -0
- package/src/store/auth.js +0 -2
- /package/{dist → src/assets}/index.css +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reactive as qr, readonly as Ri, resolveComponent as fn, openBlock as N, createElementBlock as x, createElementVNode as _, toDisplayString as D, createCommentVNode as ce, createVNode as Me, withCtx as st, createTextVNode as Se, createStaticVNode as Pi, nextTick as ko, withModifiers as je, normalizeStyle as zn, withDirectives as me, withKeys as hn, vModelText as kt, vModelDynamic as pr, vShow as Ct, createBlock as et, normalizeClass as He, vModelCheckbox as Co, watch as Mi, unref as Ni } from "vue";
|
|
2
|
-
import { createRouter as
|
|
2
|
+
import { createRouter as Li, createWebHistory as Oi, RouterView as zi } from "vue-router";
|
|
3
3
|
import { createNamespacedHelpers as xi, createStore as Ui } from "vuex";
|
|
4
4
|
import { Capacitor as Kn, registerPlugin as Ir, WebPlugin as Bi } from "@capacitor/core";
|
|
5
5
|
import ve from "await-to-js";
|
|
@@ -7,12 +7,12 @@ import ro from "axios";
|
|
|
7
7
|
import { jwtDecode as Qo } from "jwt-decode";
|
|
8
8
|
import { Device as hr } from "@capacitor/device";
|
|
9
9
|
import { Browser as fr } from "@capacitor/browser";
|
|
10
|
-
import
|
|
10
|
+
import $o from "qr-code-styling";
|
|
11
11
|
import { sanitizeUrl as Di } from "@braintree/sanitize-url";
|
|
12
12
|
function Hi(n) {
|
|
13
13
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
14
14
|
}
|
|
15
|
-
var
|
|
15
|
+
var Yo = { exports: {} }, Ne = Yo.exports = {}, qt, Ft;
|
|
16
16
|
function Fr() {
|
|
17
17
|
throw new Error("setTimeout has not been defined");
|
|
18
18
|
}
|
|
@@ -31,7 +31,7 @@ function Kr() {
|
|
|
31
31
|
Ft = Kr;
|
|
32
32
|
}
|
|
33
33
|
})();
|
|
34
|
-
function
|
|
34
|
+
function Wo(n) {
|
|
35
35
|
if (qt === setTimeout)
|
|
36
36
|
return setTimeout(n, 0);
|
|
37
37
|
if ((qt === Fr || !qt) && setTimeout)
|
|
@@ -63,11 +63,11 @@ function ji(n) {
|
|
|
63
63
|
}
|
|
64
64
|
var Xt = [], xn = !1, bn, dr = -1;
|
|
65
65
|
function qi() {
|
|
66
|
-
!xn || !bn || (xn = !1, bn.length ? Xt = bn.concat(Xt) : dr = -1, Xt.length &&
|
|
66
|
+
!xn || !bn || (xn = !1, bn.length ? Xt = bn.concat(Xt) : dr = -1, Xt.length && Jo());
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Jo() {
|
|
69
69
|
if (!xn) {
|
|
70
|
-
var n =
|
|
70
|
+
var n = Wo(qi);
|
|
71
71
|
xn = !0;
|
|
72
72
|
for (var e = Xt.length; e; ) {
|
|
73
73
|
for (bn = Xt, Xt = []; ++dr < e; )
|
|
@@ -82,7 +82,7 @@ Ne.nextTick = function(n) {
|
|
|
82
82
|
if (arguments.length > 1)
|
|
83
83
|
for (var t = 1; t < arguments.length; t++)
|
|
84
84
|
e[t - 1] = arguments[t];
|
|
85
|
-
Xt.push(new Xo(n, e)), Xt.length === 1 && !xn && Jo
|
|
85
|
+
Xt.push(new Xo(n, e)), Xt.length === 1 && !xn && Wo(Jo);
|
|
86
86
|
};
|
|
87
87
|
function Xo(n, e) {
|
|
88
88
|
this.fun = n, this.array = e;
|
|
@@ -122,11 +122,11 @@ Ne.chdir = function(n) {
|
|
|
122
122
|
Ne.umask = function() {
|
|
123
123
|
return 0;
|
|
124
124
|
};
|
|
125
|
-
var Fi =
|
|
125
|
+
var Fi = Yo.exports;
|
|
126
126
|
const Ki = /* @__PURE__ */ Hi(Fi);
|
|
127
127
|
var oo = {}, Ar = {};
|
|
128
128
|
Ar.byteLength = Qi;
|
|
129
|
-
Ar.toByteArray =
|
|
129
|
+
Ar.toByteArray = Yi;
|
|
130
130
|
Ar.fromByteArray = Xi;
|
|
131
131
|
var Gt = [], bt = [], Gi = typeof Uint8Array < "u" ? Uint8Array : Array, Dr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
132
132
|
for (var An = 0, Vi = Dr.length; An < Vi; ++An)
|
|
@@ -146,26 +146,26 @@ function Qi(n) {
|
|
|
146
146
|
var e = Zo(n), t = e[0], r = e[1];
|
|
147
147
|
return (t + r) * 3 / 4 - r;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function $i(n, e, t) {
|
|
150
150
|
return (e + t) * 3 / 4 - t;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
var e, t = Zo(n), r = t[0], o = t[1], i = new Gi(
|
|
152
|
+
function Yi(n) {
|
|
153
|
+
var e, t = Zo(n), r = t[0], o = t[1], i = new Gi($i(n, r, o)), a = 0, s = o > 0 ? r - 4 : r, l;
|
|
154
154
|
for (l = 0; l < s; l += 4)
|
|
155
155
|
e = bt[n.charCodeAt(l)] << 18 | bt[n.charCodeAt(l + 1)] << 12 | bt[n.charCodeAt(l + 2)] << 6 | bt[n.charCodeAt(l + 3)], i[a++] = e >> 16 & 255, i[a++] = e >> 8 & 255, i[a++] = e & 255;
|
|
156
156
|
return o === 2 && (e = bt[n.charCodeAt(l)] << 2 | bt[n.charCodeAt(l + 1)] >> 4, i[a++] = e & 255), o === 1 && (e = bt[n.charCodeAt(l)] << 10 | bt[n.charCodeAt(l + 1)] << 4 | bt[n.charCodeAt(l + 2)] >> 2, i[a++] = e >> 8 & 255, i[a++] = e & 255), i;
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Wi(n) {
|
|
159
159
|
return Gt[n >> 18 & 63] + Gt[n >> 12 & 63] + Gt[n >> 6 & 63] + Gt[n & 63];
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Ji(n, e, t) {
|
|
162
162
|
for (var r, o = [], i = e; i < t; i += 3)
|
|
163
|
-
r = (n[i] << 16 & 16711680) + (n[i + 1] << 8 & 65280) + (n[i + 2] & 255), o.push(
|
|
163
|
+
r = (n[i] << 16 & 16711680) + (n[i + 1] << 8 & 65280) + (n[i + 2] & 255), o.push(Wi(r));
|
|
164
164
|
return o.join("");
|
|
165
165
|
}
|
|
166
166
|
function Xi(n) {
|
|
167
167
|
for (var e, t = n.length, r = t % 3, o = [], i = 16383, a = 0, s = t - r; a < s; a += i)
|
|
168
|
-
o.push(
|
|
168
|
+
o.push(Ji(n, a, a + i > s ? s : a + i));
|
|
169
169
|
return r === 1 ? (e = n[t - 1], o.push(
|
|
170
170
|
Gt[e >> 2] + Gt[e << 4 & 63] + "=="
|
|
171
171
|
)) : r === 2 && (e = (n[t - 2] << 8) + n[t - 1], o.push(
|
|
@@ -304,7 +304,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
304
304
|
function R(h, c) {
|
|
305
305
|
if ((typeof c != "string" || c === "") && (c = "utf8"), !u.isEncoding(c))
|
|
306
306
|
throw new TypeError("Unknown encoding: " + c);
|
|
307
|
-
const d =
|
|
307
|
+
const d = J(h, c) | 0;
|
|
308
308
|
let g = p(d);
|
|
309
309
|
const b = g.write(h, c);
|
|
310
310
|
return b !== d && (g = g.slice(0, b)), g;
|
|
@@ -407,7 +407,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
407
407
|
}
|
|
408
408
|
return b;
|
|
409
409
|
};
|
|
410
|
-
function
|
|
410
|
+
function J(h, c) {
|
|
411
411
|
if (u.isBuffer(h))
|
|
412
412
|
return h.length;
|
|
413
413
|
if (a.isView(h) || xe(h, a))
|
|
@@ -443,7 +443,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
443
443
|
c = ("" + c).toLowerCase(), b = !0;
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
|
-
u.byteLength =
|
|
446
|
+
u.byteLength = J;
|
|
447
447
|
function te(h, c, d) {
|
|
448
448
|
let g = !1;
|
|
449
449
|
if ((c === void 0 || c < 0) && (c = 0), c > this.length || ((d === void 0 || d > this.length) && (d = this.length), d <= 0) || (d >>>= 0, c >>>= 0, d <= c))
|
|
@@ -454,7 +454,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
454
454
|
return sn(this, c, d);
|
|
455
455
|
case "utf8":
|
|
456
456
|
case "utf-8":
|
|
457
|
-
return
|
|
457
|
+
return Lt(this, c, d);
|
|
458
458
|
case "ascii":
|
|
459
459
|
return an(this, c, d);
|
|
460
460
|
case "latin1":
|
|
@@ -500,7 +500,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
500
500
|
return this;
|
|
501
501
|
}, u.prototype.toString = function() {
|
|
502
502
|
const c = this.length;
|
|
503
|
-
return c === 0 ? "" : arguments.length === 0 ?
|
|
503
|
+
return c === 0 ? "" : arguments.length === 0 ? Lt(this, 0, c) : te.apply(this, arguments);
|
|
504
504
|
}, u.prototype.toLocaleString = u.prototype.toString, u.prototype.equals = function(c) {
|
|
505
505
|
if (!u.isBuffer(c)) throw new TypeError("Argument must be a Buffer");
|
|
506
506
|
return this === c ? !0 : u.compare(this, c) === 0;
|
|
@@ -596,13 +596,13 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
596
596
|
}
|
|
597
597
|
return P;
|
|
598
598
|
}
|
|
599
|
-
function
|
|
599
|
+
function Le(h, c, d, g) {
|
|
600
600
|
return yt(vt(c, h.length - d), h, d, g);
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function $t(h, c, d, g) {
|
|
603
603
|
return yt(_n(c), h, d, g);
|
|
604
604
|
}
|
|
605
|
-
function
|
|
605
|
+
function $e(h, c, d, g) {
|
|
606
606
|
return yt(Fe(c), h, d, g);
|
|
607
607
|
}
|
|
608
608
|
function on(h, c, d, g) {
|
|
@@ -630,13 +630,13 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
630
630
|
return we(this, c, d, g);
|
|
631
631
|
case "utf8":
|
|
632
632
|
case "utf-8":
|
|
633
|
-
return
|
|
633
|
+
return Le(this, c, d, g);
|
|
634
634
|
case "ascii":
|
|
635
635
|
case "latin1":
|
|
636
636
|
case "binary":
|
|
637
|
-
return
|
|
637
|
+
return $t(this, c, d, g);
|
|
638
638
|
case "base64":
|
|
639
|
-
return
|
|
639
|
+
return $e(this, c, d, g);
|
|
640
640
|
case "ucs2":
|
|
641
641
|
case "ucs-2":
|
|
642
642
|
case "utf16le":
|
|
@@ -655,7 +655,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
655
655
|
function Nt(h, c, d) {
|
|
656
656
|
return c === 0 && d === h.length ? e.fromByteArray(h) : e.fromByteArray(h.slice(c, d));
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function Lt(h, c, d) {
|
|
659
659
|
d = Math.min(h.length, d);
|
|
660
660
|
const g = [];
|
|
661
661
|
let b = c;
|
|
@@ -850,22 +850,22 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
850
850
|
}, u.prototype.writeUint32BE = u.prototype.writeUInt32BE = function(c, d, g) {
|
|
851
851
|
return c = +c, d = d >>> 0, g || Re(this, c, d, 4, 4294967295, 0), this[d] = c >>> 24, this[d + 1] = c >>> 16, this[d + 2] = c >>> 8, this[d + 3] = c & 255, d + 4;
|
|
852
852
|
};
|
|
853
|
-
function
|
|
854
|
-
|
|
853
|
+
function Yt(h, c, d, g, b) {
|
|
854
|
+
Ye(c, g, b, h, d, 7);
|
|
855
855
|
let S = Number(c & BigInt(4294967295));
|
|
856
856
|
h[d++] = S, S = S >> 8, h[d++] = S, S = S >> 8, h[d++] = S, S = S >> 8, h[d++] = S;
|
|
857
857
|
let P = Number(c >> BigInt(32) & BigInt(4294967295));
|
|
858
858
|
return h[d++] = P, P = P >> 8, h[d++] = P, P = P >> 8, h[d++] = P, P = P >> 8, h[d++] = P, d;
|
|
859
859
|
}
|
|
860
860
|
function qe(h, c, d, g, b) {
|
|
861
|
-
|
|
861
|
+
Ye(c, g, b, h, d, 7);
|
|
862
862
|
let S = Number(c & BigInt(4294967295));
|
|
863
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;
|
|
864
864
|
let P = Number(c >> BigInt(32) & BigInt(4294967295));
|
|
865
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;
|
|
866
866
|
}
|
|
867
867
|
u.prototype.writeBigUInt64LE = Ke(function(c, d = 0) {
|
|
868
|
-
return
|
|
868
|
+
return Yt(this, c, d, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
869
869
|
}), u.prototype.writeBigUInt64BE = Ke(function(c, d = 0) {
|
|
870
870
|
return qe(this, c, d, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
871
871
|
}), u.prototype.writeIntLE = function(c, d, g, b) {
|
|
@@ -897,7 +897,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
897
897
|
}, u.prototype.writeInt32BE = function(c, d, g) {
|
|
898
898
|
return c = +c, d = d >>> 0, g || Re(this, c, d, 4, 2147483647, -2147483648), c < 0 && (c = 4294967295 + c + 1), this[d] = c >>> 24, this[d + 1] = c >>> 16, this[d + 2] = c >>> 8, this[d + 3] = c & 255, d + 4;
|
|
899
899
|
}, u.prototype.writeBigInt64LE = Ke(function(c, d = 0) {
|
|
900
|
-
return
|
|
900
|
+
return Yt(this, c, d, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
901
901
|
}), u.prototype.writeBigInt64BE = Ke(function(c, d = 0) {
|
|
902
902
|
return qe(this, c, d, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
903
903
|
});
|
|
@@ -905,13 +905,13 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
905
905
|
if (d + g > h.length) throw new RangeError("Index out of range");
|
|
906
906
|
if (d < 0) throw new RangeError("Index out of range");
|
|
907
907
|
}
|
|
908
|
-
function
|
|
908
|
+
function Ot(h, c, d, g, b) {
|
|
909
909
|
return c = +c, d = d >>> 0, b || ze(h, c, d, 4), t.write(h, c, d, g, 23, 4), d + 4;
|
|
910
910
|
}
|
|
911
911
|
u.prototype.writeFloatLE = function(c, d, g) {
|
|
912
|
-
return
|
|
912
|
+
return Ot(this, c, d, !0, g);
|
|
913
913
|
}, u.prototype.writeFloatBE = function(c, d, g) {
|
|
914
|
-
return
|
|
914
|
+
return Ot(this, c, d, !1, g);
|
|
915
915
|
};
|
|
916
916
|
function Tt(h, c, d, g, b) {
|
|
917
917
|
return c = +c, d = d >>> 0, b || ze(h, c, d, 8), t.write(h, c, d, g, 52, 8), d + 8;
|
|
@@ -1005,11 +1005,11 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
1005
1005
|
"ERR_OUT_OF_RANGE",
|
|
1006
1006
|
function(h, c, d) {
|
|
1007
1007
|
let g = `The value of "${h}" is out of range.`, b = d;
|
|
1008
|
-
return Number.isInteger(d) && Math.abs(d) > 2 ** 32 ? b =
|
|
1008
|
+
return Number.isInteger(d) && Math.abs(d) > 2 ** 32 ? b = Wt(String(d)) : typeof d == "bigint" && (b = String(d), (d > BigInt(2) ** BigInt(32) || d < -(BigInt(2) ** BigInt(32))) && (b = Wt(b)), b += "n"), g += ` It must be ${c}. Received ${b}`, g;
|
|
1009
1009
|
},
|
|
1010
1010
|
RangeError
|
|
1011
1011
|
);
|
|
1012
|
-
function
|
|
1012
|
+
function Wt(h) {
|
|
1013
1013
|
let c = "", d = h.length;
|
|
1014
1014
|
const g = h[0] === "-" ? 1 : 0;
|
|
1015
1015
|
for (; d >= g + 4; d -= 3)
|
|
@@ -1019,7 +1019,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
1019
1019
|
function zt(h, c, d) {
|
|
1020
1020
|
Pe(c, "offset"), (h[c] === void 0 || h[c + d] === void 0) && pt(c, h.length - (d + 1));
|
|
1021
1021
|
}
|
|
1022
|
-
function
|
|
1022
|
+
function Ye(h, c, d, g, b, S) {
|
|
1023
1023
|
if (h > d || h < c) {
|
|
1024
1024
|
const P = typeof c == "bigint" ? "n" : "";
|
|
1025
1025
|
let se;
|
|
@@ -1143,7 +1143,7 @@ io.write = function(n, e, t, r, o, i) {
|
|
|
1143
1143
|
throw new Error("BigInt not supported");
|
|
1144
1144
|
}
|
|
1145
1145
|
})(oo);
|
|
1146
|
-
const yn = oo.Buffer, Zi = oo.Buffer, sr = qr(/* @__PURE__ */ new Map()),
|
|
1146
|
+
const yn = oo.Buffer, Zi = oo.Buffer, sr = qr(/* @__PURE__ */ new Map()), $ = {
|
|
1147
1147
|
$on(n, e) {
|
|
1148
1148
|
let t = sr.get(n);
|
|
1149
1149
|
t || (t = /* @__PURE__ */ new Set(), sr.set(n, t)), t.add(e);
|
|
@@ -1159,7 +1159,7 @@ const yn = oo.Buffer, Zi = oo.Buffer, sr = qr(/* @__PURE__ */ new Map()), Y = {
|
|
|
1159
1159
|
t && t.delete(e);
|
|
1160
1160
|
}
|
|
1161
1161
|
};
|
|
1162
|
-
Ri(
|
|
1162
|
+
Ri($);
|
|
1163
1163
|
const ea = {
|
|
1164
1164
|
computed: {
|
|
1165
1165
|
home() {
|
|
@@ -1329,7 +1329,7 @@ const ea = {
|
|
|
1329
1329
|
console.log("Play was interrupted:", e);
|
|
1330
1330
|
}
|
|
1331
1331
|
}), setTimeout(() => {
|
|
1332
|
-
this.$storex && this.$storex.token ? this.$router.push(this.home) :
|
|
1332
|
+
this.$storex && this.$storex.token ? this.$router.push(this.home) : $.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
1333
1333
|
}, 500);
|
|
1334
1334
|
},
|
|
1335
1335
|
methods: {}
|
|
@@ -1397,7 +1397,7 @@ function pa(n, e, t, r, o, i) {
|
|
|
1397
1397
|
const ao = /* @__PURE__ */ _t(oa, [["render", pa], ["__scopeId", "data-v-7aad6400"]]), ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1398
1398
|
__proto__: null,
|
|
1399
1399
|
default: ao
|
|
1400
|
-
}, Symbol.toStringTag, { value: "Module" })), fa = "1.0.
|
|
1400
|
+
}, Symbol.toStringTag, { value: "Module" })), fa = "1.0.21", cr = {
|
|
1401
1401
|
getMe() {
|
|
1402
1402
|
return le().get("/users/me");
|
|
1403
1403
|
},
|
|
@@ -5563,7 +5563,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5563
5563
|
choose_other_login_methods: "다른 로그인 방법 선택하기",
|
|
5564
5564
|
no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
|
|
5565
5565
|
}
|
|
5566
|
-
}, To = () => Promise.resolve().then(() => ha), ma = () => Promise.resolve().then(() => mc), _a = () => Promise.resolve().then(() => cl), va = () => Promise.resolve().then(() => Xu), ya = () => Promise.resolve().then(() => zc), wa = () => Promise.resolve().then(() => Cl), ba = () => Promise.resolve().then(() => od), ka = () => import("./QR-
|
|
5566
|
+
}, To = () => Promise.resolve().then(() => ha), ma = () => Promise.resolve().then(() => mc), _a = () => Promise.resolve().then(() => cl), va = () => Promise.resolve().then(() => Xu), ya = () => Promise.resolve().then(() => zc), wa = () => Promise.resolve().then(() => Cl), ba = () => Promise.resolve().then(() => od), ka = () => import("./QR-DbgxZeXg.js"), Ca = () => Promise.resolve().then(() => Cu), Ea = () => import("./Apps-C48_LPv-.js"), Ta = () => import("./Billing-B8J3f2pG.js"), Sa = () => import("./CustomApp-DNJYi2ms.js"), Ia = () => import("./General-Dp-0s35x.js"), Aa = [
|
|
5567
5567
|
{
|
|
5568
5568
|
path: "/welcome",
|
|
5569
5569
|
name: "AuthWelcome",
|
|
@@ -5635,8 +5635,8 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5635
5635
|
name: "404",
|
|
5636
5636
|
component: To
|
|
5637
5637
|
}
|
|
5638
|
-
], So =
|
|
5639
|
-
history:
|
|
5638
|
+
], So = Li({
|
|
5639
|
+
history: Oi("/"),
|
|
5640
5640
|
routes: Aa
|
|
5641
5641
|
}), so = {
|
|
5642
5642
|
namespaced: !0,
|
|
@@ -5768,7 +5768,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5768
5768
|
if (e.response.data.error === "ACCESS_DENIED")
|
|
5769
5769
|
return n("logout");
|
|
5770
5770
|
if (e.response.data.error === "OTP_REQUIRED")
|
|
5771
|
-
return
|
|
5771
|
+
return $.$emit("toggleOTPField", !0);
|
|
5772
5772
|
!e.response.data.error.includes("Network Error") && !e.response.data.error.includes("TOKEN_EXPIRED") && !e.response.data.error.includes("Cannot read properties") && n("errorSnack", e.response.data.error);
|
|
5773
5773
|
}
|
|
5774
5774
|
return e;
|
|
@@ -5824,7 +5824,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5824
5824
|
username: r,
|
|
5825
5825
|
UserId: t.loggedInAccounts[r].id,
|
|
5826
5826
|
localUser: t.loggedInAccounts[r]
|
|
5827
|
-
}), n("setLoggedInUserId", t.loggedInAccounts[r].id), n("setRefreshToken", t.loggedInAccounts[r].refreshToken), await e("refreshTokenAction", t.loggedInAccounts[r])),
|
|
5827
|
+
}), n("setLoggedInUserId", t.loggedInAccounts[r].id), n("setRefreshToken", t.loggedInAccounts[r].refreshToken), await e("refreshTokenAction", t.loggedInAccounts[r])), $.$emit("ssoEvent", { name: "switchAccount", data: { username: r } });
|
|
5828
5828
|
},
|
|
5829
5829
|
async refreshTokenAction({ dispatch: n, commit: e, state: t, getters: r }, o) {
|
|
5830
5830
|
if (t.refreshing)
|
|
@@ -5837,7 +5837,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5837
5837
|
refreshTokenAction: !0
|
|
5838
5838
|
})
|
|
5839
5839
|
);
|
|
5840
|
-
i && i.response && i.response.data.error === "ACCESS_DENIED" && (
|
|
5840
|
+
i && i.response && i.response.data.error === "ACCESS_DENIED" && (n("logout", { refreshToken: r.refreshTokens[0] }), setTimeout(() => location.reload(), 1500)), a && a.data && (e("setToken", a.data.token), $.$emit("ssoEvent", { name: "setStorage", data: t.$storex })), t.refreshing = !1;
|
|
5841
5841
|
},
|
|
5842
5842
|
async login({ commit: n, state: e, dispatch: t }, r) {
|
|
5843
5843
|
const [o, i] = await ve(tt.login(r));
|
|
@@ -5856,7 +5856,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5856
5856
|
{ code: o.data.auth_code, state: e.state },
|
|
5857
5857
|
i
|
|
5858
5858
|
);
|
|
5859
|
-
}) : e.display === "npm" && (
|
|
5859
|
+
}) : e.display === "npm" && ($.$emit("ssoEvent", { name: "setLoading", data: !0 }), $.$emit("ssoEvent", { name: "setStorage", data: e.$storex }), $.$emit("ssoEvent", { name: "getUser", data: { username: o.data.data.username } }), t("setLoggedInAccounts", [
|
|
5860
5860
|
{
|
|
5861
5861
|
id: o.data.data.id,
|
|
5862
5862
|
username: o.data.data.username,
|
|
@@ -5866,7 +5866,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5866
5866
|
}
|
|
5867
5867
|
]), o.isModal && (t("successSnack", e.ssoLang[r.appLanguage].success_login), setTimeout(() => {
|
|
5868
5868
|
location.reload();
|
|
5869
|
-
}, 1500)),
|
|
5869
|
+
}, 1500)), $.$emit("ssoEvent", { name: "redirect", data: "/" + o.data.data.username + "#edit" }));
|
|
5870
5870
|
},
|
|
5871
5871
|
async register({ commit: n, dispatch: e }, t) {
|
|
5872
5872
|
const [r, o] = await ve(
|
|
@@ -5949,13 +5949,13 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5949
5949
|
UserId: t.loggedInAccounts[a].id,
|
|
5950
5950
|
localUser: t.loggedInAccounts[a]
|
|
5951
5951
|
}), n("setRefreshToken", i[0]), n("setLoggedInUserId", t.loggedInAccounts[a].id), e("refreshTokenAction", t.loggedInAccounts[a]).then(() => {
|
|
5952
|
-
|
|
5952
|
+
$.$emit("ssoEvent", { name: "switchAccount", data: { username: a } });
|
|
5953
5953
|
}));
|
|
5954
5954
|
});
|
|
5955
5955
|
else {
|
|
5956
5956
|
if (t.display === "redirect")
|
|
5957
5957
|
return So.push("/welcome");
|
|
5958
|
-
t.display === "npm" &&
|
|
5958
|
+
t.display === "npm" && $.$emit("ssoEvent", { name: "redirect", data: "/welcome" });
|
|
5959
5959
|
}
|
|
5960
5960
|
},
|
|
5961
5961
|
async getCompanyBySSOEmail({ commit: n, dispatch: e }, t) {
|
|
@@ -5982,7 +5982,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5982
5982
|
return r ? e("errorHandler", r) : o.data.success;
|
|
5983
5983
|
},
|
|
5984
5984
|
setLoggedInAccounts({ commit: n }, e) {
|
|
5985
|
-
n("setLoggedInAccounts", e),
|
|
5985
|
+
n("setLoggedInAccounts", e), $.$emit("ssoEvent", { name: "setLoggedInAccounts", data: e });
|
|
5986
5986
|
},
|
|
5987
5987
|
setLoggedInUserId({ commit: n }, e) {
|
|
5988
5988
|
n("setLoggedInUserId", e);
|
|
@@ -6158,7 +6158,7 @@ const tt = {
|
|
|
6158
6158
|
this.referral && (e.ref = this.referral), this.display === "popup" && (e.response_type = "code");
|
|
6159
6159
|
const [r, o] = await ve(tt.googleSDK(e, this.$storex));
|
|
6160
6160
|
if (r)
|
|
6161
|
-
return this.googleLoad = !1,
|
|
6161
|
+
return this.googleLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(r);
|
|
6162
6162
|
if (o.data.success) {
|
|
6163
6163
|
if (this.display === "popup")
|
|
6164
6164
|
return (t = window.parent) == null ? void 0 : t.postMessage({ code: o.data.auth_code, state: this.$route.query.state }, "*");
|
|
@@ -6167,7 +6167,7 @@ const tt = {
|
|
|
6167
6167
|
}, 1e3);
|
|
6168
6168
|
} else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
|
|
6169
6169
|
} else
|
|
6170
|
-
this.googleLoad = !1,
|
|
6170
|
+
this.googleLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
6171
6171
|
}
|
|
6172
6172
|
}
|
|
6173
6173
|
}, Ra = Ir("SignInWithApple", {
|
|
@@ -6199,7 +6199,7 @@ const tt = {
|
|
|
6199
6199
|
this.referral && (e.response.ref = this.referral), this.display === "popup" && (e.response_type = "code");
|
|
6200
6200
|
const [r, o] = await ve(tt.appleSDK(e.response, this.$storex));
|
|
6201
6201
|
if (r)
|
|
6202
|
-
return this.appleLoad = !1,
|
|
6202
|
+
return this.appleLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(r);
|
|
6203
6203
|
if (o.data.success) {
|
|
6204
6204
|
if (this.display === "popup")
|
|
6205
6205
|
return (t = window.parent) == null ? void 0 : t.postMessage({ code: o.data.auth_code, state: this.$route.query.state }, "*");
|
|
@@ -6208,7 +6208,7 @@ const tt = {
|
|
|
6208
6208
|
}, 1e3);
|
|
6209
6209
|
} else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
|
|
6210
6210
|
} else
|
|
6211
|
-
this.appleLoad = !1,
|
|
6211
|
+
this.appleLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
6212
6212
|
}
|
|
6213
6213
|
}
|
|
6214
6214
|
};
|
|
@@ -6241,14 +6241,14 @@ function Qe(n, e) {
|
|
|
6241
6241
|
}
|
|
6242
6242
|
n.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
|
|
6243
6243
|
}
|
|
6244
|
-
var
|
|
6245
|
-
return
|
|
6244
|
+
var W = function() {
|
|
6245
|
+
return W = Object.assign || function(e) {
|
|
6246
6246
|
for (var t, r = 1, o = arguments.length; r < o; r++) {
|
|
6247
6247
|
t = arguments[r];
|
|
6248
6248
|
for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
6249
6249
|
}
|
|
6250
6250
|
return e;
|
|
6251
|
-
},
|
|
6251
|
+
}, W.apply(this, arguments);
|
|
6252
6252
|
};
|
|
6253
6253
|
function Ao(n, e) {
|
|
6254
6254
|
var t = {};
|
|
@@ -6258,7 +6258,7 @@ function Ao(n, e) {
|
|
|
6258
6258
|
e.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(n, r[o]) && (t[r[o]] = n[r[o]]);
|
|
6259
6259
|
return t;
|
|
6260
6260
|
}
|
|
6261
|
-
function
|
|
6261
|
+
function L(n, e, t, r) {
|
|
6262
6262
|
function o(i) {
|
|
6263
6263
|
return i instanceof t ? i : new t(function(a) {
|
|
6264
6264
|
a(i);
|
|
@@ -6285,7 +6285,7 @@ function O(n, e, t, r) {
|
|
|
6285
6285
|
p((r = r.apply(n, [])).next());
|
|
6286
6286
|
});
|
|
6287
6287
|
}
|
|
6288
|
-
function
|
|
6288
|
+
function O(n, e) {
|
|
6289
6289
|
var t = { label: 0, sent: function() {
|
|
6290
6290
|
if (i[0] & 1) throw i[1];
|
|
6291
6291
|
return i[1];
|
|
@@ -6601,10 +6601,10 @@ var mr;
|
|
|
6601
6601
|
(function(n) {
|
|
6602
6602
|
n.IMPLICIT_GRANT = "implicit", n.AUTHORIZATION_CODE_GRANT = "authorization_code", n.CLIENT_CREDENTIALS_GRANT = "client_credentials", n.RESOURCE_OWNER_PASSWORD_GRANT = "password", n.REFRESH_TOKEN_GRANT = "refresh_token", n.DEVICE_CODE_GRANT = "device_code", n.JWT_BEARER = "urn:ietf:params:oauth:grant-type:jwt-bearer";
|
|
6603
6603
|
})(mr || (mr = {}));
|
|
6604
|
-
var
|
|
6604
|
+
var Jt;
|
|
6605
6605
|
(function(n) {
|
|
6606
6606
|
n.MSSTS_ACCOUNT_TYPE = "MSSTS", n.ADFS_ACCOUNT_TYPE = "ADFS", n.MSAV1_ACCOUNT_TYPE = "MSA", n.GENERIC_ACCOUNT_TYPE = "Generic";
|
|
6607
|
-
})(
|
|
6607
|
+
})(Jt || (Jt = {}));
|
|
6608
6608
|
var Be;
|
|
6609
6609
|
(function(n) {
|
|
6610
6610
|
n.CACHE_KEY_SEPARATOR = "-", n.CLIENT_INFO_SEPARATOR = ".";
|
|
@@ -6617,7 +6617,7 @@ var Zt;
|
|
|
6617
6617
|
(function(n) {
|
|
6618
6618
|
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";
|
|
6619
6619
|
})(Zt || (Zt = {}));
|
|
6620
|
-
var
|
|
6620
|
+
var $r = "appmetadata", Ma = "client_info", Vn = "1", Qn = {
|
|
6621
6621
|
CACHE_KEY: "authority-metadata",
|
|
6622
6622
|
REFRESH_TIME_SECONDS: 3600 * 24
|
|
6623
6623
|
// 24 Hours
|
|
@@ -6640,7 +6640,7 @@ var Ge = {
|
|
|
6640
6640
|
(function(n) {
|
|
6641
6641
|
n.BEARER = "Bearer", n.POP = "pop", n.SSH = "ssh-cert";
|
|
6642
6642
|
})(_e || (_e = {}));
|
|
6643
|
-
var
|
|
6643
|
+
var $n = {
|
|
6644
6644
|
// Default time to throttle RequestThumbprint in seconds
|
|
6645
6645
|
DEFAULT_THROTTLE_TIME_SECONDS: 60,
|
|
6646
6646
|
// Default maximum time to throttle in seconds, overrides what the server sends back
|
|
@@ -6664,18 +6664,18 @@ var un;
|
|
|
6664
6664
|
(function(n) {
|
|
6665
6665
|
n.FAILED_AUTO_DETECTION = "1", n.INTERNAL_CACHE = "2", n.ENVIRONMENT_VARIABLE = "3", n.IMDS = "4";
|
|
6666
6666
|
})(un || (un = {}));
|
|
6667
|
-
var
|
|
6667
|
+
var Yn;
|
|
6668
6668
|
(function(n) {
|
|
6669
6669
|
n.CONFIGURED_MATCHES_DETECTED = "1", n.CONFIGURED_NO_AUTO_DETECTION = "2", n.CONFIGURED_NOT_DETECTED = "3", n.AUTO_DETECTION_REQUESTED_SUCCESSFUL = "4", n.AUTO_DETECTION_REQUESTED_FAILED = "5";
|
|
6670
|
-
})(
|
|
6670
|
+
})(Yn || (Yn = {}));
|
|
6671
6671
|
var pn;
|
|
6672
6672
|
(function(n) {
|
|
6673
6673
|
n.NO_CACHE_HIT = "0", n.FORCE_REFRESH = "1", n.NO_CACHED_ACCESS_TOKEN = "2", n.CACHED_ACCESS_TOKEN_EXPIRED = "3", n.REFRESH_CACHED_ACCESS_TOKEN = "4", n.CLAIMS_REQUESTED_CACHE_SKIPPED = "5";
|
|
6674
6674
|
})(pn || (pn = {}));
|
|
6675
|
-
var
|
|
6675
|
+
var Yr;
|
|
6676
6676
|
(function(n) {
|
|
6677
6677
|
n.Jwt = "JWT", n.Jwk = "JWK", n.Pop = "pop";
|
|
6678
|
-
})(
|
|
6678
|
+
})(Yr || (Yr = {}));
|
|
6679
6679
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
6680
6680
|
var lr = {
|
|
6681
6681
|
unexpectedError: {
|
|
@@ -7393,7 +7393,7 @@ var re = {
|
|
|
7393
7393
|
}(Q)
|
|
7394
7394
|
);
|
|
7395
7395
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
7396
|
-
var
|
|
7396
|
+
var Je = (
|
|
7397
7397
|
/** @class */
|
|
7398
7398
|
function() {
|
|
7399
7399
|
function n(e) {
|
|
@@ -7521,13 +7521,13 @@ var Ve = (
|
|
|
7521
7521
|
});
|
|
7522
7522
|
}, n.prototype.generateType = function() {
|
|
7523
7523
|
switch (this.authorityType) {
|
|
7524
|
-
case
|
|
7524
|
+
case Jt.ADFS_ACCOUNT_TYPE:
|
|
7525
7525
|
return Zt.ADFS;
|
|
7526
|
-
case
|
|
7526
|
+
case Jt.MSAV1_ACCOUNT_TYPE:
|
|
7527
7527
|
return Zt.MSA;
|
|
7528
|
-
case
|
|
7528
|
+
case Jt.MSSTS_ACCOUNT_TYPE:
|
|
7529
7529
|
return Zt.MSSTS;
|
|
7530
|
-
case
|
|
7530
|
+
case Jt.GENERIC_ACCOUNT_TYPE:
|
|
7531
7531
|
return Zt.GENERIC;
|
|
7532
7532
|
default:
|
|
7533
7533
|
throw Q.createUnexpectedAccountTypeError();
|
|
@@ -7552,7 +7552,7 @@ var Ve = (
|
|
|
7552
7552
|
return t.join(Be.CACHE_KEY_SEPARATOR).toLowerCase();
|
|
7553
7553
|
}, n.createAccount = function(e, t, r, o, i, a, s, l) {
|
|
7554
7554
|
var p, u, m, f, k, E, R = new n();
|
|
7555
|
-
R.authorityType =
|
|
7555
|
+
R.authorityType = Jt.MSSTS_ACCOUNT_TYPE, R.clientInfo = e, R.homeAccountId = t, R.nativeAccountId = l;
|
|
7556
7556
|
var q = s || o && o.getPreferredCache();
|
|
7557
7557
|
if (!q)
|
|
7558
7558
|
throw Q.createInvalidCacheEnvironmentError();
|
|
@@ -7564,7 +7564,7 @@ var Ve = (
|
|
|
7564
7564
|
return R.cloudGraphHostName = i, R.msGraphHost = a, R;
|
|
7565
7565
|
}, n.createGenericAccount = function(e, t, r, o, i, a) {
|
|
7566
7566
|
var s, l, p, u, m = new n();
|
|
7567
|
-
m.authorityType = r && r.authorityType === nt.Adfs ?
|
|
7567
|
+
m.authorityType = r && r.authorityType === nt.Adfs ? Jt.ADFS_ACCOUNT_TYPE : Jt.GENERIC_ACCOUNT_TYPE, m.homeAccountId = e, m.realm = w.EMPTY_STRING;
|
|
7568
7568
|
var f = a || r && r.getPreferredCache();
|
|
7569
7569
|
if (!f)
|
|
7570
7570
|
throw Q.createInvalidCacheEnvironmentError();
|
|
@@ -7678,11 +7678,11 @@ var it = (
|
|
|
7678
7678
|
realm: e.realm,
|
|
7679
7679
|
tokenType: e.tokenType,
|
|
7680
7680
|
requestedClaimsHash: e.requestedClaimsHash
|
|
7681
|
-
}, r = this.getTokenKeys(), o =
|
|
7681
|
+
}, r = this.getTokenKeys(), o = Je.fromString(e.target), i = [], r.accessToken.forEach(function(l) {
|
|
7682
7682
|
if (a.accessTokenKeyMatchesFilter(l, t, !1)) {
|
|
7683
7683
|
var p = a.getAccessTokenCredential(l);
|
|
7684
7684
|
if (p && a.credentialMatchesFilter(p, t)) {
|
|
7685
|
-
var u =
|
|
7685
|
+
var u = Je.fromString(p.target);
|
|
7686
7686
|
u.intersectingScopeSets(o) && i.push(a.removeAccessToken(l));
|
|
7687
7687
|
}
|
|
7688
7688
|
}
|
|
@@ -7867,7 +7867,7 @@ var it = (
|
|
|
7867
7867
|
}, n.prototype.getAccessToken = function(e, t, r) {
|
|
7868
7868
|
var o = this;
|
|
7869
7869
|
this.commonLogger.trace("CacheManager - getAccessToken called");
|
|
7870
|
-
var i =
|
|
7870
|
+
var i = Je.createSearchScopes(t.scopes), a = t.authenticationScheme || _e.BEARER, s = a && a.toLowerCase() !== _e.BEARER.toLowerCase() ? ee.ACCESS_TOKEN_WITH_AUTH_SCHEME : ee.ACCESS_TOKEN, l = {
|
|
7871
7871
|
homeAccountId: e.homeAccountId,
|
|
7872
7872
|
environment: e.environment,
|
|
7873
7873
|
credentialType: s,
|
|
@@ -7969,14 +7969,14 @@ var it = (
|
|
|
7969
7969
|
var r = e.credentialType !== ee.ACCESS_TOKEN && e.credentialType !== ee.ACCESS_TOKEN_WITH_AUTH_SCHEME;
|
|
7970
7970
|
if (r || !e.target)
|
|
7971
7971
|
return !1;
|
|
7972
|
-
var o =
|
|
7972
|
+
var o = Je.fromString(e.target);
|
|
7973
7973
|
return o.containsScopeSet(t);
|
|
7974
7974
|
}, n.prototype.matchTokenType = function(e, t) {
|
|
7975
7975
|
return !!(e.tokenType && e.tokenType === t);
|
|
7976
7976
|
}, n.prototype.matchKeyId = function(e, t) {
|
|
7977
7977
|
return !!(e.keyId && e.keyId === t);
|
|
7978
7978
|
}, n.prototype.isAppMetadata = function(e) {
|
|
7979
|
-
return e.indexOf(
|
|
7979
|
+
return e.indexOf($r) !== -1;
|
|
7980
7980
|
}, n.prototype.isAuthorityMetadata = function(e) {
|
|
7981
7981
|
return e.indexOf(Qn.CACHE_KEY) !== -1;
|
|
7982
7982
|
}, n.prototype.generateAuthorityMetadataCacheKey = function(e) {
|
|
@@ -8074,10 +8074,10 @@ var it = (
|
|
|
8074
8074
|
}(it)
|
|
8075
8075
|
);
|
|
8076
8076
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8077
|
-
var
|
|
8078
|
-
tokenRenewalOffsetSeconds:
|
|
8077
|
+
var La = 300, di = {
|
|
8078
|
+
tokenRenewalOffsetSeconds: La,
|
|
8079
8079
|
preventCorsPreflight: !1
|
|
8080
|
-
},
|
|
8080
|
+
}, Oa = {
|
|
8081
8081
|
loggerCallback: function() {
|
|
8082
8082
|
},
|
|
8083
8083
|
piiLoggingEnabled: !1,
|
|
@@ -8120,7 +8120,7 @@ var Oa = 300, di = {
|
|
|
8120
8120
|
}
|
|
8121
8121
|
};
|
|
8122
8122
|
function ja(n) {
|
|
8123
|
-
var e = n.authOptions, t = n.systemOptions, r = n.loggerOptions, o = n.cacheOptions, i = n.storageInterface, a = n.networkInterface, s = n.cryptoInterface, l = n.clientCredentials, p = n.libraryInfo, u = n.telemetry, m = n.serverTelemetryManager, f = n.persistencePlugin, k = n.serializableCache, E = fe(fe({},
|
|
8123
|
+
var e = n.authOptions, t = n.systemOptions, r = n.loggerOptions, o = n.cacheOptions, i = n.storageInterface, a = n.networkInterface, s = n.cryptoInterface, l = n.clientCredentials, p = n.libraryInfo, u = n.telemetry, m = n.serverTelemetryManager, f = n.persistencePlugin, k = n.serializableCache, E = fe(fe({}, Oa), r);
|
|
8124
8124
|
return {
|
|
8125
8125
|
authOptions: qa(e),
|
|
8126
8126
|
systemOptions: fe(fe({}, di), t),
|
|
@@ -8159,7 +8159,7 @@ var wr = (
|
|
|
8159
8159
|
function n() {
|
|
8160
8160
|
}
|
|
8161
8161
|
return n.generateThrottlingStorageKey = function(e) {
|
|
8162
|
-
return
|
|
8162
|
+
return $n.THROTTLING_PREFIX + "." + JSON.stringify(e);
|
|
8163
8163
|
}, n.preProcess = function(e, t) {
|
|
8164
8164
|
var r, o = n.generateThrottlingStorageKey(t), i = e.getThrottlingCache(o);
|
|
8165
8165
|
if (i) {
|
|
@@ -8186,7 +8186,7 @@ var wr = (
|
|
|
8186
8186
|
return e.headers ? e.headers.hasOwnProperty(mt.RETRY_AFTER) && (e.status < 200 || e.status >= 300) : !1;
|
|
8187
8187
|
}, n.calculateThrottleTime = function(e) {
|
|
8188
8188
|
var t = e <= 0 ? 0 : e, r = Date.now() / 1e3;
|
|
8189
|
-
return Math.floor(Math.min(r + (t ||
|
|
8189
|
+
return Math.floor(Math.min(r + (t || $n.DEFAULT_THROTTLE_TIME_SECONDS), r + $n.DEFAULT_MAX_THROTTLE_TIME_SECONDS) * 1e3);
|
|
8190
8190
|
}, n.removeThrottle = function(e, t, r, o) {
|
|
8191
8191
|
var i = {
|
|
8192
8192
|
clientId: t,
|
|
@@ -8279,7 +8279,7 @@ var wn = (
|
|
|
8279
8279
|
}()
|
|
8280
8280
|
);
|
|
8281
8281
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8282
|
-
var
|
|
8282
|
+
var Wn = (
|
|
8283
8283
|
/** @class */
|
|
8284
8284
|
function() {
|
|
8285
8285
|
function n() {
|
|
@@ -8295,7 +8295,7 @@ var Jn = (
|
|
|
8295
8295
|
this.parameters.set(ae.NATIVE_BROKER, encodeURIComponent("1"));
|
|
8296
8296
|
}, n.prototype.addScopes = function(e, t) {
|
|
8297
8297
|
t === void 0 && (t = !0);
|
|
8298
|
-
var r = t ? Rr(e || [], nr) : e || [], o = new
|
|
8298
|
+
var r = t ? Rr(e || [], nr) : e || [], o = new Je(r);
|
|
8299
8299
|
this.parameters.set(ae.SCOPE, encodeURIComponent(o.printScopes()));
|
|
8300
8300
|
}, n.prototype.addClientId = function(e) {
|
|
8301
8301
|
this.parameters.set(ae.CLIENT_ID, encodeURIComponent(e));
|
|
@@ -8386,7 +8386,7 @@ var Jn = (
|
|
|
8386
8386
|
}, n.prototype.addServerTelemetry = function(e) {
|
|
8387
8387
|
this.parameters.set(ae.X_CLIENT_CURR_TELEM, e.generateCurrentRequestHeaderValue()), this.parameters.set(ae.X_CLIENT_LAST_TELEM, e.generateLastRequestHeaderValue());
|
|
8388
8388
|
}, n.prototype.addThrottling = function() {
|
|
8389
|
-
this.parameters.set(ae.X_MS_LIB_CAPABILITY,
|
|
8389
|
+
this.parameters.set(ae.X_MS_LIB_CAPABILITY, $n.X_MS_LIB_CAPABILITY_VALUE);
|
|
8390
8390
|
}, n.prototype.addLogoutHint = function(e) {
|
|
8391
8391
|
this.parameters.set(ae.LOGOUT_HINT, encodeURIComponent(e));
|
|
8392
8392
|
}, n.prototype.createQueryString = function() {
|
|
@@ -8438,7 +8438,7 @@ var po = (
|
|
|
8438
8438
|
throw Q.createEndpointDiscoveryIncompleteError("Updated authority has not completed endpoint discovery.");
|
|
8439
8439
|
this.authority = e;
|
|
8440
8440
|
}, n.prototype.createTokenQueryParameters = function(e) {
|
|
8441
|
-
var t = new
|
|
8441
|
+
var t = new Wn();
|
|
8442
8442
|
return e.tokenQueryParameters && t.addExtraQueryParameters(e.tokenQueryParameters), t.createQueryString();
|
|
8443
8443
|
}, n;
|
|
8444
8444
|
}()
|
|
@@ -8592,7 +8592,7 @@ var No = [
|
|
|
8592
8592
|
"basic_action",
|
|
8593
8593
|
"user_password_expired",
|
|
8594
8594
|
"consent_required"
|
|
8595
|
-
],
|
|
8595
|
+
], Ln = {
|
|
8596
8596
|
noTokensFoundError: {
|
|
8597
8597
|
code: "no_tokens_found",
|
|
8598
8598
|
desc: "No refresh token found in the cache. Please sign-in."
|
|
@@ -8615,14 +8615,14 @@ var No = [
|
|
|
8615
8615
|
});
|
|
8616
8616
|
return i || s || a;
|
|
8617
8617
|
}, e.createNoTokensFoundError = function() {
|
|
8618
|
-
return new e(
|
|
8618
|
+
return new e(Ln.noTokensFoundError.code, Ln.noTokensFoundError.desc);
|
|
8619
8619
|
}, e.createNativeAccountUnavailableError = function() {
|
|
8620
|
-
return new e(
|
|
8620
|
+
return new e(Ln.native_account_unavailable.code, Ln.native_account_unavailable.desc);
|
|
8621
8621
|
}, e;
|
|
8622
8622
|
}(X)
|
|
8623
8623
|
);
|
|
8624
8624
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8625
|
-
var
|
|
8625
|
+
var Jn = (
|
|
8626
8626
|
/** @class */
|
|
8627
8627
|
/* @__PURE__ */ function() {
|
|
8628
8628
|
function n(e, t, r, o, i) {
|
|
@@ -8782,10 +8782,10 @@ var Ga = /* @__PURE__ */ new Set([
|
|
|
8782
8782
|
"status"
|
|
8783
8783
|
]);
|
|
8784
8784
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8785
|
-
var
|
|
8785
|
+
var Wr;
|
|
8786
8786
|
(function(n) {
|
|
8787
8787
|
n.SW = "sw", n.UHW = "uhw";
|
|
8788
|
-
})(
|
|
8788
|
+
})(Wr || (Wr = {}));
|
|
8789
8789
|
var Dn = (
|
|
8790
8790
|
/** @class */
|
|
8791
8791
|
function() {
|
|
@@ -8821,7 +8821,7 @@ var Dn = (
|
|
|
8821
8821
|
case 1:
|
|
8822
8822
|
return r = o.sent(), [2, {
|
|
8823
8823
|
kid: r,
|
|
8824
|
-
xms_ksl:
|
|
8824
|
+
xms_ksl: Wr.SW
|
|
8825
8825
|
}];
|
|
8826
8826
|
}
|
|
8827
8827
|
});
|
|
@@ -8848,7 +8848,7 @@ var Dn = (
|
|
|
8848
8848
|
}()
|
|
8849
8849
|
);
|
|
8850
8850
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8851
|
-
var
|
|
8851
|
+
var Jr = (
|
|
8852
8852
|
/** @class */
|
|
8853
8853
|
function() {
|
|
8854
8854
|
function n() {
|
|
@@ -8857,7 +8857,7 @@ var $r = (
|
|
|
8857
8857
|
return n.generateAppMetadataCacheKey(this.environment, this.clientId);
|
|
8858
8858
|
}, n.generateAppMetadataCacheKey = function(e, t) {
|
|
8859
8859
|
var r = [
|
|
8860
|
-
|
|
8860
|
+
$r,
|
|
8861
8861
|
e,
|
|
8862
8862
|
t
|
|
8863
8863
|
];
|
|
@@ -8866,7 +8866,7 @@ var $r = (
|
|
|
8866
8866
|
var o = new n();
|
|
8867
8867
|
return o.clientId = e, o.environment = t, r && (o.familyId = r), o;
|
|
8868
8868
|
}, n.isAppMetadataEntity = function(e, t) {
|
|
8869
|
-
return t ? e.indexOf(
|
|
8869
|
+
return t ? e.indexOf($r) === 0 && t.hasOwnProperty("clientId") && t.hasOwnProperty("environment") : !1;
|
|
8870
8870
|
}, n;
|
|
8871
8871
|
}()
|
|
8872
8872
|
);
|
|
@@ -8967,13 +8967,13 @@ var kr = (
|
|
|
8967
8967
|
!V.isEmpty(e.id_token) && i && (p = kn.createIdTokenEntity(this.homeAccountIdentifier, l, e.id_token || w.EMPTY_STRING, this.clientId, i.claims.tid || w.EMPTY_STRING), u = this.generateAccountEntity(e, i, t, s));
|
|
8968
8968
|
var m = null;
|
|
8969
8969
|
if (!V.isEmpty(e.access_token)) {
|
|
8970
|
-
var f = e.scope ?
|
|
8970
|
+
var f = e.scope ? Je.fromString(e.scope) : new Je(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, q = r + k, K = q + E, z = R && R > 0 ? r + R : void 0;
|
|
8971
8971
|
m = Cn.createAccessTokenEntity(this.homeAccountIdentifier, l, e.access_token || w.EMPTY_STRING, this.clientId, i ? i.claims.tid || w.EMPTY_STRING : t.tenant, f.printScopes(), q, K, this.cryptoObj, z, e.token_type, a, e.key_id, o.claims, o.requestedClaimsHash);
|
|
8972
8972
|
}
|
|
8973
8973
|
var T = null;
|
|
8974
8974
|
V.isEmpty(e.refresh_token) || (T = Nn.createRefreshTokenEntity(this.homeAccountIdentifier, l, e.refresh_token || w.EMPTY_STRING, this.clientId, e.foci, a));
|
|
8975
8975
|
var H = null;
|
|
8976
|
-
return V.isEmpty(e.foci) || (H =
|
|
8976
|
+
return V.isEmpty(e.foci) || (H = Jr.createAppMetadataEntity(this.clientId, l, e.foci)), new Jn(u, p, m, T, H);
|
|
8977
8977
|
}, n.prototype.generateAccountEntity = function(e, t, r, o) {
|
|
8978
8978
|
var i = r.authorityType, a = o ? o.cloud_graph_host_name : w.EMPTY_STRING, s = o ? o.msgraph_host : w.EMPTY_STRING;
|
|
8979
8979
|
if (i === nt.Adfs)
|
|
@@ -8984,7 +8984,7 @@ var kr = (
|
|
|
8984
8984
|
}, n.generateAuthenticationResult = function(e, t, r, o, i, a, s, l, p) {
|
|
8985
8985
|
var u, m, f;
|
|
8986
8986
|
return oe(this, void 0, void 0, function() {
|
|
8987
|
-
var k, E, R, q, K, z, T, H, G,
|
|
8987
|
+
var k, E, R, q, K, z, T, H, G, J, te;
|
|
8988
8988
|
return ie(this, function(Z) {
|
|
8989
8989
|
switch (Z.label) {
|
|
8990
8990
|
case 0:
|
|
@@ -8998,11 +8998,11 @@ var kr = (
|
|
|
8998
8998
|
case 2:
|
|
8999
8999
|
k = r.accessToken.secret, Z.label = 3;
|
|
9000
9000
|
case 3:
|
|
9001
|
-
E =
|
|
9001
|
+
E = Je.fromString(r.accessToken.target).asArray(), R = new Date(Number(r.accessToken.expiresOn) * 1e3), q = new Date(Number(r.accessToken.extendedExpiresOn) * 1e3), Z.label = 4;
|
|
9002
9002
|
case 4:
|
|
9003
|
-
return r.appMetadata && (K = r.appMetadata.familyId === Vn ? Vn : w.EMPTY_STRING),
|
|
9003
|
+
return r.appMetadata && (K = r.appMetadata.familyId === Vn ? Vn : 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, l != null && l.spa_accountid && r.account && (r.account.nativeAccountId = l == null ? void 0 : l.spa_accountid), [2, {
|
|
9004
9004
|
authority: t.canonicalAuthority,
|
|
9005
|
-
uniqueId:
|
|
9005
|
+
uniqueId: J,
|
|
9006
9006
|
tenantId: te,
|
|
9007
9007
|
scopes: E,
|
|
9008
9008
|
account: r.account ? r.account.getAccountInfo() : null,
|
|
@@ -9129,7 +9129,7 @@ var pi = (
|
|
|
9129
9129
|
return ie(this, function(k) {
|
|
9130
9130
|
switch (k.label) {
|
|
9131
9131
|
case 0:
|
|
9132
|
-
return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.AuthClientCreateTokenRequestBody, t.correlationId), i = new
|
|
9132
|
+
return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.AuthClientCreateTokenRequestBody, t.correlationId), i = new Wn(), i.addClientId(this.config.authOptions.clientId), this.includeRedirectUri ? i.addRedirectUri(t.redirectUri) : wn.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(mr.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)]);
|
|
9133
9133
|
case 1:
|
|
9134
9134
|
return l = k.sent(), i.addPopToken(l.reqCnfString), [3, 3];
|
|
9135
9135
|
case 2:
|
|
@@ -9175,7 +9175,7 @@ var pi = (
|
|
|
9175
9175
|
return ie(this, function(f) {
|
|
9176
9176
|
switch (f.label) {
|
|
9177
9177
|
case 0:
|
|
9178
|
-
if ((r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.AuthClientCreateQueryString, t.correlationId), o = new
|
|
9178
|
+
if ((r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.AuthClientCreateQueryString, t.correlationId), o = new Wn(), o.addClientId(this.config.authOptions.clientId), i = Rr(t.scopes || [], t.extraScopesToConsent || []), o.addScopes(i), o.addRedirectUri(t.redirectUri), a = t.correlationId || this.config.cryptoInterface.createNewGuid(), o.addCorrelationId(a), o.addResponseMode(t.responseMode), o.addResponseTypeCode(), o.addLibraryInfo(this.config.libraryInfo), o.addApplicationTelemetry(this.config.telemetry.application), o.addClientInfo(), t.codeChallenge && t.codeChallengeMethod && o.addCodeChallengeParams(t.codeChallenge, t.codeChallengeMethod), t.prompt && o.addPrompt(t.prompt), t.domainHint && o.addDomainHint(t.domainHint), t.prompt !== Xe.SELECT_ACCOUNT)
|
|
9179
9179
|
if (t.sid && t.prompt === Xe.NONE)
|
|
9180
9180
|
this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"), o.addSid(t.sid);
|
|
9181
9181
|
else if (t.account) {
|
|
@@ -9215,7 +9215,7 @@ var pi = (
|
|
|
9215
9215
|
});
|
|
9216
9216
|
});
|
|
9217
9217
|
}, e.prototype.createLogoutUrlQueryString = function(t) {
|
|
9218
|
-
var r = new
|
|
9218
|
+
var r = new Wn();
|
|
9219
9219
|
return t.postLogoutRedirectUri && r.addPostLogoutRedirectUri(t.postLogoutRedirectUri), t.correlationId && r.addCorrelationId(t.correlationId), t.idTokenHint && r.addIdTokenHint(t.idTokenHint), t.state && r.addState(t.state), t.logoutHint && r.addLogoutHint(t.logoutHint), t.extraQueryParameters && r.addExtraQueryParameters(t.extraQueryParameters), r.createQueryString();
|
|
9220
9220
|
}, e.prototype.extractAccountSid = function(t) {
|
|
9221
9221
|
var r;
|
|
@@ -9274,7 +9274,7 @@ var hi = (
|
|
|
9274
9274
|
try {
|
|
9275
9275
|
return (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(A.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !0)];
|
|
9276
9276
|
} catch (m) {
|
|
9277
|
-
if (l = m instanceof Mt && m.errorCode ===
|
|
9277
|
+
if (l = m instanceof Mt && m.errorCode === Ln.noTokensFoundError.code, p = m instanceof Sn && m.errorCode === Mo.INVALID_GRANT_ERROR && m.subError === Mo.CLIENT_MISMATCH_ERROR, l || p)
|
|
9278
9278
|
return (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(A.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !1)];
|
|
9279
9279
|
throw m;
|
|
9280
9280
|
}
|
|
@@ -9334,7 +9334,7 @@ var hi = (
|
|
|
9334
9334
|
return ie(this, function(k) {
|
|
9335
9335
|
switch (k.label) {
|
|
9336
9336
|
case 0:
|
|
9337
|
-
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), l = new
|
|
9337
|
+
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), l = new Wn(), l.addClientId(this.config.authOptions.clientId), l.addScopes(t.scopes), l.addGrantType(mr.REFRESH_TOKEN_GRANT), l.addClientInfo(), l.addLibraryInfo(this.config.libraryInfo), l.addApplicationTelemetry(this.config.telemetry.application), l.addThrottling(), this.serverTelemetryManager && l.addServerTelemetry(this.serverTelemetryManager), l.addCorrelationId(a), l.addRefreshToken(t.refreshToken), this.config.clientCredentials.clientSecret && l.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (p = this.config.clientCredentials.clientAssertion, l.addClientAssertion(p.assertion), l.addClientAssertionType(p.assertionType)), t.authenticationScheme !== _e.POP ? [3, 2] : (u = new Dn(this.cryptoUtils, this.performanceClient), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(A.PopTokenGenerateCnf, t.correlationId), [4, u.generateCnf(t)]);
|
|
9338
9338
|
case 1:
|
|
9339
9339
|
return m = k.sent(), l.addPopToken(m.reqCnfString), [3, 3];
|
|
9340
9340
|
case 2:
|
|
@@ -9446,11 +9446,11 @@ var Qa = (
|
|
|
9446
9446
|
}(po)
|
|
9447
9447
|
);
|
|
9448
9448
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9449
|
-
function
|
|
9449
|
+
function $a(n) {
|
|
9450
9450
|
return n.hasOwnProperty("authorization_endpoint") && n.hasOwnProperty("token_endpoint") && n.hasOwnProperty("issuer") && n.hasOwnProperty("jwks_uri");
|
|
9451
9451
|
}
|
|
9452
9452
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9453
|
-
var fi = { endpointMetadata: { "https://login.microsoftonline.com/common/": { token_endpoint: "https://login.microsoftonline.com/common/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.microsoftonline.com/common/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.microsoftonline.com/{tenantid}/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo", authorization_endpoint: "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.microsoftonline.com/common/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.microsoftonline.com/common/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.microsoftonline.com/common/kerberos", tenant_region_scope: null, cloud_instance_name: "microsoftonline.com", cloud_graph_host_name: "graph.windows.net", msgraph_host: "graph.microsoft.com", rbac_url: "https://pas.windows.net" }, "https://login.chinacloudapi.cn/common/": { token_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.chinacloudapi.cn/common/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.partner.microsoftonline.cn/{tenantid}/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://microsoftgraph.chinacloudapi.cn/oidc/userinfo", authorization_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.chinacloudapi.cn/common/kerberos", tenant_region_scope: null, cloud_instance_name: "partner.microsoftonline.cn", cloud_graph_host_name: "graph.chinacloudapi.cn", msgraph_host: "microsoftgraph.chinacloudapi.cn", rbac_url: "https://pas.chinacloudapi.cn" }, "https://login.microsoftonline.us/common/": { token_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.microsoftonline.us/common/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.microsoftonline.us/{tenantid}/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo", authorization_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.microsoftonline.us/common/kerberos", tenant_region_scope: null, cloud_instance_name: "microsoftonline.us", cloud_graph_host_name: "graph.windows.net", msgraph_host: "graph.microsoft.com", rbac_url: "https://pasff.usgovcloudapi.net" }, "https://login.microsoftonline.com/consumers/": { token_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.microsoftonline.com/consumers/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.microsoftonline.com/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo", authorization_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.microsoftonline.com/consumers/kerberos", tenant_region_scope: null, cloud_instance_name: "microsoftonline.com", cloud_graph_host_name: "graph.windows.net", msgraph_host: "graph.microsoft.com", rbac_url: "https://pas.windows.net" }, "https://login.chinacloudapi.cn/consumers/": { token_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.chinacloudapi.cn/consumers/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.partner.microsoftonline.cn/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://microsoftgraph.chinacloudapi.cn/oidc/userinfo", authorization_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.chinacloudapi.cn/consumers/kerberos", tenant_region_scope: null, cloud_instance_name: "partner.microsoftonline.cn", cloud_graph_host_name: "graph.chinacloudapi.cn", msgraph_host: "microsoftgraph.chinacloudapi.cn", rbac_url: "https://pas.chinacloudapi.cn" }, "https://login.microsoftonline.us/consumers/": { token_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.microsoftonline.us/consumers/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.microsoftonline.us/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo", authorization_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.microsoftonline.us/consumers/kerberos", tenant_region_scope: null, cloud_instance_name: "microsoftonline.us", cloud_graph_host_name: "graph.windows.net", msgraph_host: "graph.microsoft.com", rbac_url: "https://pasff.usgovcloudapi.net" }, "https://login.microsoftonline.com/organizations/": { token_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.microsoftonline.com/organizations/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.microsoftonline.com/{tenantid}/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo", authorization_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.microsoftonline.com/organizations/kerberos", tenant_region_scope: null, cloud_instance_name: "microsoftonline.com", cloud_graph_host_name: "graph.windows.net", msgraph_host: "graph.microsoft.com", rbac_url: "https://pas.windows.net" }, "https://login.chinacloudapi.cn/organizations/": { token_endpoint: "https://login.chinacloudapi.cn/organizations/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.chinacloudapi.cn/organizations/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.partner.microsoftonline.cn/{tenantid}/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://microsoftgraph.chinacloudapi.cn/oidc/userinfo", authorization_endpoint: "https://login.chinacloudapi.cn/organizations/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.chinacloudapi.cn/organizations/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.chinacloudapi.cn/organizations/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.chinacloudapi.cn/organizations/kerberos", tenant_region_scope: null, cloud_instance_name: "partner.microsoftonline.cn", cloud_graph_host_name: "graph.chinacloudapi.cn", msgraph_host: "microsoftgraph.chinacloudapi.cn", rbac_url: "https://pas.chinacloudapi.cn" }, "https://login.microsoftonline.us/organizations/": { token_endpoint: "https://login.microsoftonline.us/organizations/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.microsoftonline.us/organizations/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.microsoftonline.us/{tenantid}/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo", authorization_endpoint: "https://login.microsoftonline.us/organizations/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.microsoftonline.us/organizations/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.microsoftonline.us/organizations/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.microsoftonline.us/organizations/kerberos", tenant_region_scope: null, cloud_instance_name: "microsoftonline.us", cloud_graph_host_name: "graph.windows.net", msgraph_host: "graph.microsoft.com", rbac_url: "https://pasff.usgovcloudapi.net" } }, instanceDiscoveryMetadata: { "https://login.microsoftonline.com/common/": { tenant_discovery_endpoint: "https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.chinacloudapi.cn/common/": { tenant_discovery_endpoint: "https://login.chinacloudapi.cn/common/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.microsoftonline.us/common/": { tenant_discovery_endpoint: "https://login.microsoftonline.us/common/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.microsoftonline.com/consumers/": { tenant_discovery_endpoint: "https://login.microsoftonline.com/consumers/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.chinacloudapi.cn/consumers/": { tenant_discovery_endpoint: "https://login.chinacloudapi.cn/consumers/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.microsoftonline.us/consumers/": { tenant_discovery_endpoint: "https://login.microsoftonline.us/consumers/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.microsoftonline.com/organizations/": { tenant_discovery_endpoint: "https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.chinacloudapi.cn/organizations/": { tenant_discovery_endpoint: "https://login.chinacloudapi.cn/organizations/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.microsoftonline.us/organizations/": { tenant_discovery_endpoint: "https://login.microsoftonline.us/organizations/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] } } }, Oo = fi.endpointMetadata, Lo = fi.instanceDiscoveryMetadata;
|
|
9453
|
+
var fi = { endpointMetadata: { "https://login.microsoftonline.com/common/": { token_endpoint: "https://login.microsoftonline.com/common/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.microsoftonline.com/common/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.microsoftonline.com/{tenantid}/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo", authorization_endpoint: "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.microsoftonline.com/common/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.microsoftonline.com/common/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.microsoftonline.com/common/kerberos", tenant_region_scope: null, cloud_instance_name: "microsoftonline.com", cloud_graph_host_name: "graph.windows.net", msgraph_host: "graph.microsoft.com", rbac_url: "https://pas.windows.net" }, "https://login.chinacloudapi.cn/common/": { token_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.chinacloudapi.cn/common/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.partner.microsoftonline.cn/{tenantid}/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://microsoftgraph.chinacloudapi.cn/oidc/userinfo", authorization_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.chinacloudapi.cn/common/kerberos", tenant_region_scope: null, cloud_instance_name: "partner.microsoftonline.cn", cloud_graph_host_name: "graph.chinacloudapi.cn", msgraph_host: "microsoftgraph.chinacloudapi.cn", rbac_url: "https://pas.chinacloudapi.cn" }, "https://login.microsoftonline.us/common/": { token_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.microsoftonline.us/common/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.microsoftonline.us/{tenantid}/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo", authorization_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.microsoftonline.us/common/kerberos", tenant_region_scope: null, cloud_instance_name: "microsoftonline.us", cloud_graph_host_name: "graph.windows.net", msgraph_host: "graph.microsoft.com", rbac_url: "https://pasff.usgovcloudapi.net" }, "https://login.microsoftonline.com/consumers/": { token_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.microsoftonline.com/consumers/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.microsoftonline.com/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo", authorization_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.microsoftonline.com/consumers/kerberos", tenant_region_scope: null, cloud_instance_name: "microsoftonline.com", cloud_graph_host_name: "graph.windows.net", msgraph_host: "graph.microsoft.com", rbac_url: "https://pas.windows.net" }, "https://login.chinacloudapi.cn/consumers/": { token_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.chinacloudapi.cn/consumers/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.partner.microsoftonline.cn/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://microsoftgraph.chinacloudapi.cn/oidc/userinfo", authorization_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.chinacloudapi.cn/consumers/kerberos", tenant_region_scope: null, cloud_instance_name: "partner.microsoftonline.cn", cloud_graph_host_name: "graph.chinacloudapi.cn", msgraph_host: "microsoftgraph.chinacloudapi.cn", rbac_url: "https://pas.chinacloudapi.cn" }, "https://login.microsoftonline.us/consumers/": { token_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.microsoftonline.us/consumers/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.microsoftonline.us/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo", authorization_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.microsoftonline.us/consumers/kerberos", tenant_region_scope: null, cloud_instance_name: "microsoftonline.us", cloud_graph_host_name: "graph.windows.net", msgraph_host: "graph.microsoft.com", rbac_url: "https://pasff.usgovcloudapi.net" }, "https://login.microsoftonline.com/organizations/": { token_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.microsoftonline.com/organizations/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.microsoftonline.com/{tenantid}/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo", authorization_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.microsoftonline.com/organizations/kerberos", tenant_region_scope: null, cloud_instance_name: "microsoftonline.com", cloud_graph_host_name: "graph.windows.net", msgraph_host: "graph.microsoft.com", rbac_url: "https://pas.windows.net" }, "https://login.chinacloudapi.cn/organizations/": { token_endpoint: "https://login.chinacloudapi.cn/organizations/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.chinacloudapi.cn/organizations/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.partner.microsoftonline.cn/{tenantid}/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://microsoftgraph.chinacloudapi.cn/oidc/userinfo", authorization_endpoint: "https://login.chinacloudapi.cn/organizations/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.chinacloudapi.cn/organizations/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.chinacloudapi.cn/organizations/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.chinacloudapi.cn/organizations/kerberos", tenant_region_scope: null, cloud_instance_name: "partner.microsoftonline.cn", cloud_graph_host_name: "graph.chinacloudapi.cn", msgraph_host: "microsoftgraph.chinacloudapi.cn", rbac_url: "https://pas.chinacloudapi.cn" }, "https://login.microsoftonline.us/organizations/": { token_endpoint: "https://login.microsoftonline.us/organizations/oauth2/v2.0/token", token_endpoint_auth_methods_supported: ["client_secret_post", "private_key_jwt", "client_secret_basic"], jwks_uri: "https://login.microsoftonline.us/organizations/discovery/v2.0/keys", response_modes_supported: ["query", "fragment", "form_post"], subject_types_supported: ["pairwise"], id_token_signing_alg_values_supported: ["RS256"], response_types_supported: ["code", "id_token", "code id_token", "id_token token"], scopes_supported: ["openid", "profile", "email", "offline_access"], issuer: "https://login.microsoftonline.us/{tenantid}/v2.0", request_uri_parameter_supported: !1, userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo", authorization_endpoint: "https://login.microsoftonline.us/organizations/oauth2/v2.0/authorize", device_authorization_endpoint: "https://login.microsoftonline.us/organizations/oauth2/v2.0/devicecode", http_logout_supported: !0, frontchannel_logout_supported: !0, end_session_endpoint: "https://login.microsoftonline.us/organizations/oauth2/v2.0/logout", claims_supported: ["sub", "iss", "cloud_instance_name", "cloud_instance_host_name", "cloud_graph_host_name", "msgraph_host", "aud", "exp", "iat", "auth_time", "acr", "nonce", "preferred_username", "name", "tid", "ver", "at_hash", "c_hash", "email"], kerberos_endpoint: "https://login.microsoftonline.us/organizations/kerberos", tenant_region_scope: null, cloud_instance_name: "microsoftonline.us", cloud_graph_host_name: "graph.windows.net", msgraph_host: "graph.microsoft.com", rbac_url: "https://pasff.usgovcloudapi.net" } }, instanceDiscoveryMetadata: { "https://login.microsoftonline.com/common/": { tenant_discovery_endpoint: "https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.chinacloudapi.cn/common/": { tenant_discovery_endpoint: "https://login.chinacloudapi.cn/common/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.microsoftonline.us/common/": { tenant_discovery_endpoint: "https://login.microsoftonline.us/common/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.microsoftonline.com/consumers/": { tenant_discovery_endpoint: "https://login.microsoftonline.com/consumers/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.chinacloudapi.cn/consumers/": { tenant_discovery_endpoint: "https://login.chinacloudapi.cn/consumers/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.microsoftonline.us/consumers/": { tenant_discovery_endpoint: "https://login.microsoftonline.us/consumers/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.microsoftonline.com/organizations/": { tenant_discovery_endpoint: "https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.chinacloudapi.cn/organizations/": { tenant_discovery_endpoint: "https://login.chinacloudapi.cn/organizations/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] }, "https://login.microsoftonline.us/organizations/": { tenant_discovery_endpoint: "https://login.microsoftonline.us/organizations/v2.0/.well-known/openid-configuration", "api-version": "1.1", metadata: [{ preferred_network: "login.microsoftonline.com", preferred_cache: "login.windows.net", aliases: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"] }, { preferred_network: "login.partner.microsoftonline.cn", preferred_cache: "login.partner.microsoftonline.cn", aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] }, { preferred_network: "login.microsoftonline.de", preferred_cache: "login.microsoftonline.de", aliases: ["login.microsoftonline.de"] }, { preferred_network: "login.microsoftonline.us", preferred_cache: "login.microsoftonline.us", aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] }, { preferred_network: "login-us.microsoftonline.com", preferred_cache: "login-us.microsoftonline.com", aliases: ["login-us.microsoftonline.com"] }] } } }, Lo = fi.endpointMetadata, Oo = fi.instanceDiscoveryMetadata;
|
|
9454
9454
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9455
9455
|
var er;
|
|
9456
9456
|
(function(n) {
|
|
@@ -9479,15 +9479,15 @@ var Xr = (
|
|
|
9479
9479
|
}()
|
|
9480
9480
|
);
|
|
9481
9481
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9482
|
-
function
|
|
9482
|
+
function Ya(n) {
|
|
9483
9483
|
return n.hasOwnProperty("tenant_discovery_endpoint") && n.hasOwnProperty("metadata");
|
|
9484
9484
|
}
|
|
9485
9485
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9486
|
-
function
|
|
9486
|
+
function Wa(n) {
|
|
9487
9487
|
return n.hasOwnProperty("error") && n.hasOwnProperty("error_description");
|
|
9488
9488
|
}
|
|
9489
9489
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9490
|
-
var
|
|
9490
|
+
var Ja = (
|
|
9491
9491
|
/** @class */
|
|
9492
9492
|
function() {
|
|
9493
9493
|
function n(e, t, r) {
|
|
@@ -9564,7 +9564,7 @@ var tr = (
|
|
|
9564
9564
|
/** @class */
|
|
9565
9565
|
function() {
|
|
9566
9566
|
function n(e, t, r, o, i, a, s) {
|
|
9567
|
-
this.canonicalAuthority = e, this._canonicalAuthority.validateAsUri(), this.networkInterface = t, this.cacheManager = r, this.authorityOptions = o, this.regionDiscoveryMetadata = { region_used: void 0, region_source: void 0, region_outcome: void 0 }, this.logger = i, this.performanceClient = a, this.correlationId = s, this.regionDiscovery = new
|
|
9567
|
+
this.canonicalAuthority = e, this._canonicalAuthority.validateAsUri(), this.networkInterface = t, this.cacheManager = r, this.authorityOptions = o, this.regionDiscoveryMetadata = { region_used: void 0, region_source: void 0, region_outcome: void 0 }, this.logger = i, this.performanceClient = a, this.correlationId = s, this.regionDiscovery = new Ja(t, this.performanceClient, this.correlationId);
|
|
9568
9568
|
}
|
|
9569
9569
|
return n.prototype.getAuthorityType = function(e) {
|
|
9570
9570
|
if (e.HostNameAndPort.endsWith(w.CIAM_AUTH_URL))
|
|
@@ -9801,7 +9801,7 @@ var tr = (
|
|
|
9801
9801
|
case 1:
|
|
9802
9802
|
return o.trys.push([1, 3, , 4]), [4, this.networkInterface.sendGetRequestAsync(this.defaultOpenIdConfigurationEndpoint, t)];
|
|
9803
9803
|
case 2:
|
|
9804
|
-
return r = o.sent(), [2,
|
|
9804
|
+
return r = o.sent(), [2, $a(r.body) ? r.body : null];
|
|
9805
9805
|
case 3:
|
|
9806
9806
|
return o.sent(), [2, null];
|
|
9807
9807
|
case 4:
|
|
@@ -9813,7 +9813,7 @@ var tr = (
|
|
|
9813
9813
|
});
|
|
9814
9814
|
});
|
|
9815
9815
|
}, n.prototype.getEndpointMetadataFromHardcodedValues = function() {
|
|
9816
|
-
return this.canonicalAuthority in
|
|
9816
|
+
return this.canonicalAuthority in Lo ? Lo[this.canonicalAuthority] : null;
|
|
9817
9817
|
}, n.prototype.updateMetadataWithRegionalInformation = function(e) {
|
|
9818
9818
|
var t, r, o, i;
|
|
9819
9819
|
return oe(this, void 0, void 0, function() {
|
|
@@ -9821,11 +9821,11 @@ var tr = (
|
|
|
9821
9821
|
return ie(this, function(l) {
|
|
9822
9822
|
switch (l.label) {
|
|
9823
9823
|
case 0:
|
|
9824
|
-
return (t = this.performanceClient) === null || t === void 0 || t.addQueueMeasurement(A.AuthorityUpdateMetadataWithRegionalInformation, this.correlationId), a = (r = this.authorityOptions.azureRegionConfiguration) === null || r === void 0 ? void 0 : r.azureRegion, a ? a !== w.AZURE_REGION_AUTO_DISCOVER_FLAG ? (this.regionDiscoveryMetadata.region_outcome =
|
|
9824
|
+
return (t = this.performanceClient) === null || t === void 0 || t.addQueueMeasurement(A.AuthorityUpdateMetadataWithRegionalInformation, this.correlationId), a = (r = this.authorityOptions.azureRegionConfiguration) === null || r === void 0 ? void 0 : r.azureRegion, a ? a !== w.AZURE_REGION_AUTO_DISCOVER_FLAG ? (this.regionDiscoveryMetadata.region_outcome = Yn.CONFIGURED_NO_AUTO_DETECTION, this.regionDiscoveryMetadata.region_used = a, [2, n.replaceWithRegionalInformation(e, a)]) : ((o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(A.RegionDiscoveryDetectRegion, this.correlationId), [4, this.regionDiscovery.detectRegion((i = this.authorityOptions.azureRegionConfiguration) === null || i === void 0 ? void 0 : i.environmentRegion, this.regionDiscoveryMetadata)]) : [3, 2];
|
|
9825
9825
|
case 1:
|
|
9826
9826
|
if (s = l.sent(), s)
|
|
9827
|
-
return this.regionDiscoveryMetadata.region_outcome =
|
|
9828
|
-
this.regionDiscoveryMetadata.region_outcome =
|
|
9827
|
+
return this.regionDiscoveryMetadata.region_outcome = Yn.AUTO_DETECTION_REQUESTED_SUCCESSFUL, this.regionDiscoveryMetadata.region_used = s, [2, n.replaceWithRegionalInformation(e, s)];
|
|
9828
|
+
this.regionDiscoveryMetadata.region_outcome = Yn.AUTO_DETECTION_REQUESTED_FAILED, l.label = 2;
|
|
9829
9829
|
case 2:
|
|
9830
9830
|
return [2, e];
|
|
9831
9831
|
}
|
|
@@ -9875,9 +9875,9 @@ var tr = (
|
|
|
9875
9875
|
case 1:
|
|
9876
9876
|
return u.trys.push([1, 3, , 4]), [4, this.networkInterface.sendGetRequestAsync(t, r)];
|
|
9877
9877
|
case 2:
|
|
9878
|
-
if (i = u.sent(), a = void 0, s = void 0,
|
|
9878
|
+
if (i = u.sent(), a = void 0, s = void 0, Ya(i.body))
|
|
9879
9879
|
a = i.body, s = a.metadata, this.logger.verbosePii("tenant_discovery_endpoint is: " + a.tenant_discovery_endpoint);
|
|
9880
|
-
else if (
|
|
9880
|
+
else if (Wa(i.body)) {
|
|
9881
9881
|
if (this.logger.warning("A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: " + i.status), a = i.body, a.error === w.INVALID_INSTANCE)
|
|
9882
9882
|
return this.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."), [2, null];
|
|
9883
9883
|
this.logger.warning("The CloudInstanceDiscoveryErrorResponse error is " + a.error), this.logger.warning("The CloudInstanceDiscoveryErrorResponse error description is " + a.error_description), this.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"), s = [];
|
|
@@ -9896,7 +9896,7 @@ Error Description: ` + p.message)), [2, null];
|
|
|
9896
9896
|
});
|
|
9897
9897
|
});
|
|
9898
9898
|
}, n.prototype.getCloudDiscoveryMetadataFromHarcodedValues = function() {
|
|
9899
|
-
return this.canonicalAuthority in
|
|
9899
|
+
return this.canonicalAuthority in Oo ? Oo[this.canonicalAuthority] : null;
|
|
9900
9900
|
}, n.prototype.isInKnownAuthorities = function() {
|
|
9901
9901
|
var e = this, t = this.authorityOptions.knownAuthorities.filter(function(r) {
|
|
9902
9902
|
return ue.getDomainFromUrl(r).toLowerCase() === e.hostnameAndPort;
|
|
@@ -10010,7 +10010,7 @@ var zo = (
|
|
|
10010
10010
|
}
|
|
10011
10011
|
return n.isThrottlingEntity = function(e, t) {
|
|
10012
10012
|
var r = !1;
|
|
10013
|
-
e && (r = e.indexOf(
|
|
10013
|
+
e && (r = e.indexOf($n.THROTTLING_PREFIX) === 0);
|
|
10014
10014
|
var o = !0;
|
|
10015
10015
|
return t && (o = t.hasOwnProperty("throttleTime")), r && o;
|
|
10016
10016
|
}, n;
|
|
@@ -10066,7 +10066,7 @@ var Za = (
|
|
|
10066
10066
|
throw xo.createMissingAlgError();
|
|
10067
10067
|
var t = new n({
|
|
10068
10068
|
// Access Token PoP headers must have type pop, but the type header can be overriden for special cases
|
|
10069
|
-
typ: e.typ ||
|
|
10069
|
+
typ: e.typ || Yr.Pop,
|
|
10070
10070
|
kid: e.kid,
|
|
10071
10071
|
alg: e.alg
|
|
10072
10072
|
});
|
|
@@ -10626,10 +10626,10 @@ var Pt = {
|
|
|
10626
10626
|
(function(n) {
|
|
10627
10627
|
n.HandshakeRequest = "Handshake", n.HandshakeResponse = "HandshakeResponse", n.GetToken = "GetToken", n.Response = "Response";
|
|
10628
10628
|
})(en || (en = {}));
|
|
10629
|
-
var
|
|
10629
|
+
var Oe;
|
|
10630
10630
|
(function(n) {
|
|
10631
10631
|
n.LocalStorage = "localStorage", n.SessionStorage = "sessionStorage", n.MemoryStorage = "memoryStorage";
|
|
10632
|
-
})(
|
|
10632
|
+
})(Oe || (Oe = {}));
|
|
10633
10633
|
var Kt;
|
|
10634
10634
|
(function(n) {
|
|
10635
10635
|
n.GET = "GET", n.POST = "POST";
|
|
@@ -10642,18 +10642,18 @@ var jt;
|
|
|
10642
10642
|
(function(n) {
|
|
10643
10643
|
n.ACCOUNT_KEYS = "msal.account.keys", n.TOKEN_KEYS = "msal.token.keys";
|
|
10644
10644
|
})(jt || (jt = {}));
|
|
10645
|
-
var
|
|
10645
|
+
var On;
|
|
10646
10646
|
(function(n) {
|
|
10647
10647
|
n.WRAPPER_SKU = "wrapper.sku", n.WRAPPER_VER = "wrapper.version";
|
|
10648
|
-
})(
|
|
10648
|
+
})(On || (On = {}));
|
|
10649
10649
|
var Ce;
|
|
10650
10650
|
(function(n) {
|
|
10651
10651
|
n[n.acquireTokenRedirect = 861] = "acquireTokenRedirect", n[n.acquireTokenPopup = 862] = "acquireTokenPopup", n[n.ssoSilent = 863] = "ssoSilent", n[n.acquireTokenSilent_authCode = 864] = "acquireTokenSilent_authCode", n[n.handleRedirectPromise = 865] = "handleRedirectPromise", n[n.acquireTokenByCode = 866] = "acquireTokenByCode", n[n.acquireTokenSilent_silentFlow = 61] = "acquireTokenSilent_silentFlow", n[n.logout = 961] = "logout", n[n.logoutPopup = 962] = "logoutPopup";
|
|
10652
10652
|
})(Ce || (Ce = {}));
|
|
10653
|
-
var
|
|
10653
|
+
var Y;
|
|
10654
10654
|
(function(n) {
|
|
10655
10655
|
n.Redirect = "redirect", n.Popup = "popup", n.Silent = "silent", n.None = "none";
|
|
10656
|
-
})(
|
|
10656
|
+
})(Y || (Y = {}));
|
|
10657
10657
|
var Bo;
|
|
10658
10658
|
(function(n) {
|
|
10659
10659
|
n.Startup = "startup", n.Login = "login", n.Logout = "logout", n.AcquireToken = "acquireToken", n.SsoSilent = "ssoSilent", n.HandleRedirect = "handleRedirect", n.None = "none";
|
|
@@ -10735,7 +10735,7 @@ var jo = (
|
|
|
10735
10735
|
this.validateWindowStorage(e), this.windowStorage = window[e];
|
|
10736
10736
|
}
|
|
10737
10737
|
return n.prototype.validateWindowStorage = function(e) {
|
|
10738
|
-
if (e !==
|
|
10738
|
+
if (e !== Oe.LocalStorage && e !== Oe.SessionStorage)
|
|
10739
10739
|
throw Tr.createStorageNotSupportedError(e);
|
|
10740
10740
|
var t = !!window[e];
|
|
10741
10741
|
if (!t)
|
|
@@ -10812,8 +10812,8 @@ var to = (
|
|
|
10812
10812
|
}
|
|
10813
10813
|
return e.prototype.setupBrowserStorage = function(t) {
|
|
10814
10814
|
switch (t) {
|
|
10815
|
-
case
|
|
10816
|
-
case
|
|
10815
|
+
case Oe.LocalStorage:
|
|
10816
|
+
case Oe.SessionStorage:
|
|
10817
10817
|
try {
|
|
10818
10818
|
return new jo(t);
|
|
10819
10819
|
} catch (r) {
|
|
@@ -10821,17 +10821,17 @@ var to = (
|
|
|
10821
10821
|
break;
|
|
10822
10822
|
}
|
|
10823
10823
|
}
|
|
10824
|
-
return this.cacheConfig.cacheLocation =
|
|
10824
|
+
return this.cacheConfig.cacheLocation = Oe.MemoryStorage, new eo();
|
|
10825
10825
|
}, e.prototype.setupTemporaryCacheStorage = function(t, r) {
|
|
10826
10826
|
switch (r) {
|
|
10827
|
-
case
|
|
10828
|
-
case
|
|
10827
|
+
case Oe.LocalStorage:
|
|
10828
|
+
case Oe.SessionStorage:
|
|
10829
10829
|
try {
|
|
10830
|
-
return new jo(t ||
|
|
10830
|
+
return new jo(t || Oe.SessionStorage);
|
|
10831
10831
|
} catch (o) {
|
|
10832
10832
|
return this.logger.verbose(o), this.internalStorage;
|
|
10833
10833
|
}
|
|
10834
|
-
case
|
|
10834
|
+
case Oe.MemoryStorage:
|
|
10835
10835
|
default:
|
|
10836
10836
|
return this.internalStorage;
|
|
10837
10837
|
}
|
|
@@ -10932,8 +10932,8 @@ var to = (
|
|
|
10932
10932
|
var r = this.getAccountKeys(), o = r.indexOf(t);
|
|
10933
10933
|
o > -1 ? (r.splice(o, 1), this.setItem(jt.ACCOUNT_KEYS, JSON.stringify(r)), this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed")) : this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map");
|
|
10934
10934
|
}, e.prototype.removeAccount = function(t) {
|
|
10935
|
-
return
|
|
10936
|
-
return
|
|
10935
|
+
return L(this, void 0, void 0, function() {
|
|
10936
|
+
return O(this, function(r) {
|
|
10937
10937
|
return n.prototype.removeAccount.call(this, t), this.removeAccountKeyFromMap(t), [
|
|
10938
10938
|
2
|
|
10939
10939
|
/*return*/
|
|
@@ -10943,8 +10943,8 @@ var to = (
|
|
|
10943
10943
|
}, e.prototype.removeIdToken = function(t) {
|
|
10944
10944
|
n.prototype.removeIdToken.call(this, t), this.removeTokenKey(t, ee.ID_TOKEN);
|
|
10945
10945
|
}, e.prototype.removeAccessToken = function(t) {
|
|
10946
|
-
return
|
|
10947
|
-
return
|
|
10946
|
+
return L(this, void 0, void 0, function() {
|
|
10947
|
+
return O(this, function(r) {
|
|
10948
10948
|
return n.prototype.removeAccessToken.call(this, t), this.removeTokenKey(t, ee.ACCESS_TOKEN), [
|
|
10949
10949
|
2
|
|
10950
10950
|
/*return*/
|
|
@@ -11043,7 +11043,7 @@ var to = (
|
|
|
11043
11043
|
if (!r)
|
|
11044
11044
|
return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"), null;
|
|
11045
11045
|
var o = this.validateAndParseJson(r);
|
|
11046
|
-
return !o ||
|
|
11046
|
+
return !o || !Jr.isAppMetadataEntity(t, o) ? (this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"), null) : (this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"), it.toObject(new Jr(), o));
|
|
11047
11047
|
}, e.prototype.setAppMetadata = function(t) {
|
|
11048
11048
|
this.logger.trace("BrowserCacheManager.setAppMetadata called");
|
|
11049
11049
|
var r = t.generateAppMetadataKey();
|
|
@@ -11068,9 +11068,9 @@ var to = (
|
|
|
11068
11068
|
return t.isAuthorityMetadata(o);
|
|
11069
11069
|
});
|
|
11070
11070
|
}, e.prototype.setWrapperMetadata = function(t, r) {
|
|
11071
|
-
this.internalStorage.setItem(
|
|
11071
|
+
this.internalStorage.setItem(On.WRAPPER_SKU, t), this.internalStorage.setItem(On.WRAPPER_VER, r);
|
|
11072
11072
|
}, e.prototype.getWrapperMetadata = function() {
|
|
11073
|
-
var t = this.internalStorage.getItem(
|
|
11073
|
+
var t = this.internalStorage.getItem(On.WRAPPER_SKU) || w.EMPTY_STRING, r = this.internalStorage.getItem(On.WRAPPER_VER) || w.EMPTY_STRING;
|
|
11074
11074
|
return [t, r];
|
|
11075
11075
|
}, e.prototype.setAuthorityMetadata = function(t, r) {
|
|
11076
11076
|
this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"), this.internalStorage.setItem(t, JSON.stringify(r));
|
|
@@ -11135,7 +11135,7 @@ var to = (
|
|
|
11135
11135
|
}
|
|
11136
11136
|
var a = this.temporaryCacheStorage.getItem(o);
|
|
11137
11137
|
if (!a) {
|
|
11138
|
-
if (this.cacheConfig.cacheLocation ===
|
|
11138
|
+
if (this.cacheConfig.cacheLocation === Oe.LocalStorage) {
|
|
11139
11139
|
var s = this.browserStorage.getItem(o);
|
|
11140
11140
|
if (s)
|
|
11141
11141
|
return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"), s;
|
|
@@ -11153,9 +11153,9 @@ var to = (
|
|
|
11153
11153
|
}, e.prototype.getKeys = function() {
|
|
11154
11154
|
return co(this.browserStorage.getKeys(), this.temporaryCacheStorage.getKeys());
|
|
11155
11155
|
}, e.prototype.clear = function() {
|
|
11156
|
-
return
|
|
11156
|
+
return L(this, void 0, void 0, function() {
|
|
11157
11157
|
var t = this;
|
|
11158
|
-
return
|
|
11158
|
+
return O(this, function(r) {
|
|
11159
11159
|
switch (r.label) {
|
|
11160
11160
|
case 0:
|
|
11161
11161
|
return [4, this.removeAllAccounts()];
|
|
@@ -11170,9 +11170,9 @@ var to = (
|
|
|
11170
11170
|
});
|
|
11171
11171
|
});
|
|
11172
11172
|
}, e.prototype.clearTokensAndKeysWithClaims = function() {
|
|
11173
|
-
return
|
|
11173
|
+
return L(this, void 0, void 0, function() {
|
|
11174
11174
|
var t, r, o = this;
|
|
11175
|
-
return
|
|
11175
|
+
return O(this, function(i) {
|
|
11176
11176
|
switch (i.label) {
|
|
11177
11177
|
case 0:
|
|
11178
11178
|
return this.logger.trace("BrowserCacheManager.clearTokensAndKeysWithClaims called"), t = this.getTokenKeys(), r = [], t.accessToken.forEach(function(a) {
|
|
@@ -11351,8 +11351,8 @@ var to = (
|
|
|
11351
11351
|
}(it)
|
|
11352
11352
|
), os = function(n, e) {
|
|
11353
11353
|
var t = {
|
|
11354
|
-
cacheLocation:
|
|
11355
|
-
temporaryCacheLocation:
|
|
11354
|
+
cacheLocation: Oe.MemoryStorage,
|
|
11355
|
+
temporaryCacheLocation: Oe.MemoryStorage,
|
|
11356
11356
|
storeAuthStateInCookie: !1,
|
|
11357
11357
|
secureCookies: !1,
|
|
11358
11358
|
cacheMigrationEnabled: !1,
|
|
@@ -11369,9 +11369,9 @@ var is = (
|
|
|
11369
11369
|
function n() {
|
|
11370
11370
|
}
|
|
11371
11371
|
return n.prototype.sendGetRequestAsync = function(e, t) {
|
|
11372
|
-
return
|
|
11372
|
+
return L(this, void 0, void 0, function() {
|
|
11373
11373
|
var r, o, i;
|
|
11374
|
-
return
|
|
11374
|
+
return O(this, function(a) {
|
|
11375
11375
|
switch (a.label) {
|
|
11376
11376
|
case 0:
|
|
11377
11377
|
return a.trys.push([0, 2, , 3]), [4, fetch(e, {
|
|
@@ -11399,9 +11399,9 @@ var is = (
|
|
|
11399
11399
|
});
|
|
11400
11400
|
});
|
|
11401
11401
|
}, n.prototype.sendPostRequestAsync = function(e, t) {
|
|
11402
|
-
return
|
|
11402
|
+
return L(this, void 0, void 0, function() {
|
|
11403
11403
|
var r, o, i, a;
|
|
11404
|
-
return
|
|
11404
|
+
return O(this, function(s) {
|
|
11405
11405
|
switch (s.label) {
|
|
11406
11406
|
case 0:
|
|
11407
11407
|
r = t && t.body || w.EMPTY_STRING, s.label = 1;
|
|
@@ -11454,14 +11454,14 @@ var as = (
|
|
|
11454
11454
|
function n() {
|
|
11455
11455
|
}
|
|
11456
11456
|
return n.prototype.sendGetRequestAsync = function(e, t) {
|
|
11457
|
-
return
|
|
11458
|
-
return
|
|
11457
|
+
return L(this, void 0, void 0, function() {
|
|
11458
|
+
return O(this, function(r) {
|
|
11459
11459
|
return [2, this.sendRequestAsync(e, Kt.GET, t)];
|
|
11460
11460
|
});
|
|
11461
11461
|
});
|
|
11462
11462
|
}, n.prototype.sendPostRequestAsync = function(e, t) {
|
|
11463
|
-
return
|
|
11464
|
-
return
|
|
11463
|
+
return L(this, void 0, void 0, function() {
|
|
11464
|
+
return O(this, function(r) {
|
|
11465
11465
|
return [2, this.sendRequestAsync(e, Kt.POST, t)];
|
|
11466
11466
|
});
|
|
11467
11467
|
});
|
|
@@ -11539,7 +11539,7 @@ var Ae = (
|
|
|
11539
11539
|
throw F.createBlockReloadInHiddenIframeError();
|
|
11540
11540
|
}, n.blockRedirectInIframe = function(e, t) {
|
|
11541
11541
|
var r = n.isInIframe();
|
|
11542
|
-
if (e ===
|
|
11542
|
+
if (e === Y.Redirect && r && !t)
|
|
11543
11543
|
throw F.createRedirectInIframeError(r);
|
|
11544
11544
|
}, n.blockAcquireTokenInPopups = function() {
|
|
11545
11545
|
if (n.isInPopup())
|
|
@@ -11564,8 +11564,8 @@ var _i = (
|
|
|
11564
11564
|
this.config = e, this.browserStorage = t, this.browserCrypto = r, this.networkClient = this.config.system.networkClient, this.eventHandler = i, this.navigationClient = a, this.nativeMessageHandler = l, this.correlationId = p || this.browserCrypto.createNewGuid(), this.logger = o.clone(Pt.MSAL_SKU, Xn, this.correlationId), this.performanceClient = s;
|
|
11565
11565
|
}
|
|
11566
11566
|
return n.prototype.clearCacheOnLogout = function(e) {
|
|
11567
|
-
return
|
|
11568
|
-
return
|
|
11567
|
+
return L(this, void 0, void 0, function() {
|
|
11568
|
+
return O(this, function(t) {
|
|
11569
11569
|
switch (t.label) {
|
|
11570
11570
|
case 0:
|
|
11571
11571
|
if (!e) return [3, 5];
|
|
@@ -11595,16 +11595,16 @@ var _i = (
|
|
|
11595
11595
|
});
|
|
11596
11596
|
});
|
|
11597
11597
|
}, n.prototype.initializeBaseRequest = function(e, t) {
|
|
11598
|
-
return
|
|
11598
|
+
return L(this, void 0, void 0, function() {
|
|
11599
11599
|
var r, o, i, a;
|
|
11600
|
-
return
|
|
11600
|
+
return O(this, function(s) {
|
|
11601
11601
|
switch (s.label) {
|
|
11602
11602
|
case 0:
|
|
11603
11603
|
return this.performanceClient.addQueueMeasurement(A.InitializeBaseRequest, e.correlationId), this.logger.verbose("Initializing BaseAuthRequest"), r = e.authority || this.config.auth.authority, t ? [4, this.validateRequestAuthority(r, t)] : [3, 2];
|
|
11604
11604
|
case 1:
|
|
11605
11605
|
s.sent(), s.label = 2;
|
|
11606
11606
|
case 2:
|
|
11607
|
-
if (o = co(e && e.scopes || []), i =
|
|
11607
|
+
if (o = co(e && e.scopes || []), i = W(W({}, e), {
|
|
11608
11608
|
correlationId: this.correlationId,
|
|
11609
11609
|
authority: r,
|
|
11610
11610
|
scopes: o
|
|
@@ -11632,9 +11632,9 @@ var _i = (
|
|
|
11632
11632
|
var t = e || this.config.auth.redirectUri || Ae.getCurrentUri();
|
|
11633
11633
|
return ue.getAbsoluteUrl(t, Ae.getCurrentUri());
|
|
11634
11634
|
}, n.prototype.validateRequestAuthority = function(e, t) {
|
|
11635
|
-
return
|
|
11635
|
+
return L(this, void 0, void 0, function() {
|
|
11636
11636
|
var r;
|
|
11637
|
-
return
|
|
11637
|
+
return O(this, function(o) {
|
|
11638
11638
|
switch (o.label) {
|
|
11639
11639
|
case 0:
|
|
11640
11640
|
return [4, this.getDiscoveredAuthority(e)];
|
|
@@ -11660,9 +11660,9 @@ var _i = (
|
|
|
11660
11660
|
};
|
|
11661
11661
|
return new es(r, this.browserStorage);
|
|
11662
11662
|
}, n.prototype.getDiscoveredAuthority = function(e) {
|
|
11663
|
-
return
|
|
11663
|
+
return L(this, void 0, void 0, function() {
|
|
11664
11664
|
var t;
|
|
11665
|
-
return
|
|
11665
|
+
return O(this, function(r) {
|
|
11666
11666
|
switch (r.label) {
|
|
11667
11667
|
case 0:
|
|
11668
11668
|
return this.logger.verbose("getDiscoveredAuthority called"), t = {
|
|
@@ -11692,20 +11692,20 @@ var jn = (
|
|
|
11692
11692
|
return n !== null && n.apply(this, arguments) || this;
|
|
11693
11693
|
}
|
|
11694
11694
|
return e.prototype.initializeAuthorizationCodeRequest = function(t) {
|
|
11695
|
-
return
|
|
11695
|
+
return L(this, void 0, void 0, function() {
|
|
11696
11696
|
var r, o;
|
|
11697
|
-
return
|
|
11697
|
+
return O(this, function(i) {
|
|
11698
11698
|
switch (i.label) {
|
|
11699
11699
|
case 0:
|
|
11700
11700
|
return this.performanceClient.addQueueMeasurement(A.StandardInteractionClientInitializeAuthorizationCodeRequest, t.correlationId), this.logger.verbose("initializeAuthorizationRequest called", t.correlationId), [4, this.browserCrypto.generatePkceCodes()];
|
|
11701
11701
|
case 1:
|
|
11702
|
-
return r = i.sent(), o =
|
|
11702
|
+
return r = i.sent(), o = W(W({}, t), { redirectUri: t.redirectUri, code: w.EMPTY_STRING, codeVerifier: r.verifier }), t.codeChallenge = r.challenge, t.codeChallengeMethod = w.S256_CODE_CHALLENGE_METHOD, [2, o];
|
|
11703
11703
|
}
|
|
11704
11704
|
});
|
|
11705
11705
|
});
|
|
11706
11706
|
}, e.prototype.initializeLogoutRequest = function(t) {
|
|
11707
11707
|
this.logger.verbose("initializeLogoutRequest called", t == null ? void 0 : t.correlationId);
|
|
11708
|
-
var r =
|
|
11708
|
+
var r = W({ correlationId: this.correlationId || this.browserCrypto.createNewGuid() }, t);
|
|
11709
11709
|
if (t)
|
|
11710
11710
|
if (t.logoutHint)
|
|
11711
11711
|
this.logger.verbose("logoutHint has already been set in logoutRequest");
|
|
@@ -11727,9 +11727,9 @@ var jn = (
|
|
|
11727
11727
|
this.logger.verbose("The provided account does not contain ID Token Claims, logoutHint will not be added to logout request");
|
|
11728
11728
|
return null;
|
|
11729
11729
|
}, e.prototype.createAuthCodeClient = function(t, r, o) {
|
|
11730
|
-
return
|
|
11730
|
+
return L(this, void 0, void 0, function() {
|
|
11731
11731
|
var i;
|
|
11732
|
-
return
|
|
11732
|
+
return O(this, function(a) {
|
|
11733
11733
|
switch (a.label) {
|
|
11734
11734
|
case 0:
|
|
11735
11735
|
return this.performanceClient.addQueueMeasurement(A.StandardInteractionClientCreateAuthCodeClient, this.correlationId), this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetClientConfiguration, this.correlationId), [4, this.getClientConfiguration(t, r, o)];
|
|
@@ -11739,9 +11739,9 @@ var jn = (
|
|
|
11739
11739
|
});
|
|
11740
11740
|
});
|
|
11741
11741
|
}, e.prototype.getClientConfiguration = function(t, r, o) {
|
|
11742
|
-
return
|
|
11742
|
+
return L(this, void 0, void 0, function() {
|
|
11743
11743
|
var i, a;
|
|
11744
|
-
return
|
|
11744
|
+
return O(this, function(s) {
|
|
11745
11745
|
switch (s.label) {
|
|
11746
11746
|
case 0:
|
|
11747
11747
|
return this.performanceClient.addQueueMeasurement(A.StandardInteractionClientGetClientConfiguration, this.correlationId), this.logger.verbose("getClientConfiguration called", this.correlationId), this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetDiscoveredAuthority, this.correlationId), [4, this.getDiscoveredAuthority(r, o)];
|
|
@@ -11791,9 +11791,9 @@ var jn = (
|
|
|
11791
11791
|
return this.logger.verbose("Returning state from hash", o), t.state;
|
|
11792
11792
|
}, e.prototype.getDiscoveredAuthority = function(t, r) {
|
|
11793
11793
|
var o;
|
|
11794
|
-
return
|
|
11794
|
+
return L(this, void 0, void 0, function() {
|
|
11795
11795
|
var i, a, s, l;
|
|
11796
|
-
return
|
|
11796
|
+
return O(this, function(p) {
|
|
11797
11797
|
switch (p.label) {
|
|
11798
11798
|
case 0:
|
|
11799
11799
|
return this.performanceClient.addQueueMeasurement(A.StandardInteractionClientGetDiscoveredAuthority, this.correlationId), this.logger.verbose("getDiscoveredAuthority called", this.correlationId), i = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(A.StandardInteractionClientGetDiscoveredAuthority, this.correlationId), a = {
|
|
@@ -11819,16 +11819,16 @@ var jn = (
|
|
|
11819
11819
|
});
|
|
11820
11820
|
});
|
|
11821
11821
|
}, e.prototype.initializeAuthorizationRequest = function(t, r) {
|
|
11822
|
-
return
|
|
11822
|
+
return L(this, void 0, void 0, function() {
|
|
11823
11823
|
var o, i, a, s, l, p, u;
|
|
11824
|
-
return
|
|
11824
|
+
return O(this, function(m) {
|
|
11825
11825
|
switch (m.label) {
|
|
11826
11826
|
case 0:
|
|
11827
11827
|
return this.performanceClient.addQueueMeasurement(A.StandardInteractionClientInitializeAuthorizationRequest, this.correlationId), this.logger.verbose("initializeAuthorizationRequest called", this.correlationId), o = this.getRedirectUri(t.redirectUri), i = {
|
|
11828
11828
|
interactionType: r
|
|
11829
11829
|
}, a = tn.setRequestState(this.browserCrypto, t && t.state || w.EMPTY_STRING, i), this.performanceClient.setPreQueueTime(A.InitializeBaseRequest, this.correlationId), l = [{}], [4, this.initializeBaseRequest(t)];
|
|
11830
11830
|
case 1:
|
|
11831
|
-
return s =
|
|
11831
|
+
return s = W.apply(void 0, [W.apply(void 0, l.concat([m.sent()])), { redirectUri: o, state: a, nonce: t.nonce || this.browserCrypto.createNewGuid(), responseMode: gr.FRAGMENT }]), p = t.account || this.browserStorage.getActiveAccount(), p && (this.logger.verbose("Setting validated request account", this.correlationId), this.logger.verbosePii("Setting validated request account: " + p.homeAccountId, this.correlationId), s.account = p), V.isEmpty(s.loginHint) && !p && (u = this.browserStorage.getLegacyLoginHint(), u && (s.loginHint = u)), [2, s];
|
|
11832
11832
|
}
|
|
11833
11833
|
});
|
|
11834
11834
|
});
|
|
@@ -11843,9 +11843,9 @@ var fo = (
|
|
|
11843
11843
|
this.authModule = e, this.browserStorage = t, this.authCodeRequest = r, this.logger = o, this.performanceClient = i;
|
|
11844
11844
|
}
|
|
11845
11845
|
return n.prototype.handleCodeResponseFromHash = function(e, t, r, o) {
|
|
11846
|
-
return
|
|
11846
|
+
return L(this, void 0, void 0, function() {
|
|
11847
11847
|
var i, a, s;
|
|
11848
|
-
return
|
|
11848
|
+
return O(this, function(l) {
|
|
11849
11849
|
if (this.performanceClient.addQueueMeasurement(A.HandleCodeResponseFromHash, this.authCodeRequest.correlationId), this.logger.verbose("InteractionHandler.handleCodeResponse called"), V.isEmpty(e))
|
|
11850
11850
|
throw F.createEmptyHashError(e);
|
|
11851
11851
|
if (i = this.browserStorage.generateStateKey(t), a = this.browserStorage.getTemporaryCache(i), !a)
|
|
@@ -11859,9 +11859,9 @@ var fo = (
|
|
|
11859
11859
|
});
|
|
11860
11860
|
});
|
|
11861
11861
|
}, n.prototype.handleCodeResponseFromServer = function(e, t, r, o, i) {
|
|
11862
|
-
return i === void 0 && (i = !0),
|
|
11862
|
+
return i === void 0 && (i = !0), L(this, void 0, void 0, function() {
|
|
11863
11863
|
var a, s, l, p, u, m;
|
|
11864
|
-
return
|
|
11864
|
+
return O(this, function(f) {
|
|
11865
11865
|
switch (f.label) {
|
|
11866
11866
|
case 0:
|
|
11867
11867
|
if (this.performanceClient.addQueueMeasurement(A.HandleCodeResponseFromServer, this.authCodeRequest.correlationId), this.logger.trace("InteractionHandler.handleCodeResponseFromServer called"), a = this.browserStorage.generateStateKey(t), s = this.browserStorage.getTemporaryCache(a), !s)
|
|
@@ -11877,9 +11877,9 @@ var fo = (
|
|
|
11877
11877
|
});
|
|
11878
11878
|
});
|
|
11879
11879
|
}, n.prototype.updateTokenEndpointAuthority = function(e, t, r) {
|
|
11880
|
-
return
|
|
11880
|
+
return L(this, void 0, void 0, function() {
|
|
11881
11881
|
var o, i;
|
|
11882
|
-
return
|
|
11882
|
+
return O(this, function(a) {
|
|
11883
11883
|
switch (a.label) {
|
|
11884
11884
|
case 0:
|
|
11885
11885
|
return this.performanceClient.addQueueMeasurement(A.UpdateTokenEndpointAuthority, this.authCodeRequest.correlationId), o = "https://" + e + "/" + t.tenant + "/", [4, Cr.createDiscoveredInstance(o, r, this.browserStorage, t.options, this.logger, this.performanceClient, this.authCodeRequest.correlationId)];
|
|
@@ -11913,9 +11913,9 @@ var qo = (
|
|
|
11913
11913
|
return l.browserCrypto = a, l;
|
|
11914
11914
|
}
|
|
11915
11915
|
return e.prototype.initiateAuthRequest = function(t, r) {
|
|
11916
|
-
return
|
|
11916
|
+
return L(this, void 0, void 0, function() {
|
|
11917
11917
|
var o, i;
|
|
11918
|
-
return
|
|
11918
|
+
return O(this, function(a) {
|
|
11919
11919
|
switch (a.label) {
|
|
11920
11920
|
case 0:
|
|
11921
11921
|
return this.logger.verbose("RedirectHandler.initiateAuthRequest called"), V.isEmpty(t) ? [3, 7] : (r.redirectStartPage && (this.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"), this.browserStorage.setTemporaryCache(de.ORIGIN_URI, r.redirectStartPage, !0)), this.browserStorage.setTemporaryCache(de.CORRELATION_ID, this.authCodeRequest.correlationId, !0), this.browserStorage.cacheCodeRequest(this.authCodeRequest, this.browserCrypto), this.logger.infoPii("RedirectHandler.initiateAuthRequest: Navigate to: " + t), o = {
|
|
@@ -11955,9 +11955,9 @@ var qo = (
|
|
|
11955
11955
|
});
|
|
11956
11956
|
});
|
|
11957
11957
|
}, e.prototype.handleCodeResponseFromHash = function(t, r, o, i) {
|
|
11958
|
-
return
|
|
11958
|
+
return L(this, void 0, void 0, function() {
|
|
11959
11959
|
var a, s, l, p, u, m, f;
|
|
11960
|
-
return
|
|
11960
|
+
return O(this, function(k) {
|
|
11961
11961
|
switch (k.label) {
|
|
11962
11962
|
case 0:
|
|
11963
11963
|
if (this.logger.verbose("RedirectHandler.handleCodeResponse called"), V.isEmpty(t))
|
|
@@ -12050,9 +12050,9 @@ var vi = (
|
|
|
12050
12050
|
return n !== null && n.apply(this, arguments) || this;
|
|
12051
12051
|
}
|
|
12052
12052
|
return e.prototype.acquireToken = function(t) {
|
|
12053
|
-
return
|
|
12053
|
+
return L(this, void 0, void 0, function() {
|
|
12054
12054
|
var r, o, i, a, s;
|
|
12055
|
-
return
|
|
12055
|
+
return O(this, function(l) {
|
|
12056
12056
|
switch (l.label) {
|
|
12057
12057
|
case 0:
|
|
12058
12058
|
return r = this.performanceClient.startMeasurement(A.SilentCacheClientAcquireToken, t.correlationId), o = this.initializeServerTelemetryManager(Ce.acquireTokenSilent_silentFlow), [4, this.createSilentFlowClient(o, t.authority, t.azureCloudOptions)];
|
|
@@ -12082,9 +12082,9 @@ var vi = (
|
|
|
12082
12082
|
}, e.prototype.logout = function() {
|
|
12083
12083
|
return Promise.reject(F.createSilentLogoutUnsupportedError());
|
|
12084
12084
|
}, e.prototype.createSilentFlowClient = function(t, r, o) {
|
|
12085
|
-
return
|
|
12085
|
+
return L(this, void 0, void 0, function() {
|
|
12086
12086
|
var i;
|
|
12087
|
-
return
|
|
12087
|
+
return O(this, function(a) {
|
|
12088
12088
|
switch (a.label) {
|
|
12089
12089
|
case 0:
|
|
12090
12090
|
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetClientConfiguration, this.correlationId), [4, this.getClientConfiguration(t, r, o)];
|
|
@@ -12094,14 +12094,14 @@ var vi = (
|
|
|
12094
12094
|
});
|
|
12095
12095
|
});
|
|
12096
12096
|
}, e.prototype.initializeSilentRequest = function(t, r) {
|
|
12097
|
-
return
|
|
12097
|
+
return L(this, void 0, void 0, function() {
|
|
12098
12098
|
var o;
|
|
12099
|
-
return
|
|
12099
|
+
return O(this, function(i) {
|
|
12100
12100
|
switch (i.label) {
|
|
12101
12101
|
case 0:
|
|
12102
|
-
return this.performanceClient.addQueueMeasurement(A.InitializeSilentRequest, this.correlationId), this.performanceClient.setPreQueueTime(A.InitializeBaseRequest, this.correlationId), o = [
|
|
12102
|
+
return this.performanceClient.addQueueMeasurement(A.InitializeSilentRequest, this.correlationId), this.performanceClient.setPreQueueTime(A.InitializeBaseRequest, this.correlationId), o = [W({}, t)], [4, this.initializeBaseRequest(t, r)];
|
|
12103
12103
|
case 1:
|
|
12104
|
-
return [2,
|
|
12104
|
+
return [2, W.apply(void 0, [W.apply(void 0, o.concat([i.sent()])), { account: r, forceRefresh: t.forceRefresh || !1 }])];
|
|
12105
12105
|
}
|
|
12106
12106
|
});
|
|
12107
12107
|
});
|
|
@@ -12118,9 +12118,9 @@ var Un = (
|
|
|
12118
12118
|
return E.apiId = l, E.accountId = m, E.nativeMessageHandler = u, E.nativeStorageManager = f, E.silentCacheClient = new vi(t, E.nativeStorageManager, o, i, a, s, p, u, k), E;
|
|
12119
12119
|
}
|
|
12120
12120
|
return e.prototype.acquireToken = function(t) {
|
|
12121
|
-
return
|
|
12121
|
+
return L(this, void 0, void 0, function() {
|
|
12122
12122
|
var r, o, i, a, s, l, p;
|
|
12123
|
-
return
|
|
12123
|
+
return O(this, function(u) {
|
|
12124
12124
|
switch (u.label) {
|
|
12125
12125
|
case 0:
|
|
12126
12126
|
return this.logger.trace("NativeInteractionClient - acquireToken called."), r = this.performanceClient.startMeasurement(A.NativeInteractionClientAcquireToken, t.correlationId), o = Et.nowSeconds(), [4, this.initializeNativeRequest(t)];
|
|
@@ -12163,14 +12163,14 @@ var Un = (
|
|
|
12163
12163
|
return {
|
|
12164
12164
|
authority: t.authority,
|
|
12165
12165
|
correlationId: this.correlationId,
|
|
12166
|
-
scopes:
|
|
12166
|
+
scopes: Je.fromString(t.scope).asArray(),
|
|
12167
12167
|
account: r,
|
|
12168
12168
|
forceRefresh: !1
|
|
12169
12169
|
};
|
|
12170
12170
|
}, e.prototype.acquireTokensFromCache = function(t, r) {
|
|
12171
|
-
return
|
|
12171
|
+
return L(this, void 0, void 0, function() {
|
|
12172
12172
|
var o, i, a, s;
|
|
12173
|
-
return
|
|
12173
|
+
return O(this, function(l) {
|
|
12174
12174
|
switch (l.label) {
|
|
12175
12175
|
case 0:
|
|
12176
12176
|
if (!t)
|
|
@@ -12193,9 +12193,9 @@ var Un = (
|
|
|
12193
12193
|
});
|
|
12194
12194
|
});
|
|
12195
12195
|
}, e.prototype.acquireTokenRedirect = function(t) {
|
|
12196
|
-
return
|
|
12196
|
+
return L(this, void 0, void 0, function() {
|
|
12197
12197
|
var r, o, i, a, s, l;
|
|
12198
|
-
return
|
|
12198
|
+
return O(this, function(p) {
|
|
12199
12199
|
switch (p.label) {
|
|
12200
12200
|
case 0:
|
|
12201
12201
|
return this.logger.trace("NativeInteractionClient - acquireTokenRedirect called."), [4, this.initializeNativeRequest(t)];
|
|
@@ -12227,9 +12227,9 @@ var Un = (
|
|
|
12227
12227
|
});
|
|
12228
12228
|
});
|
|
12229
12229
|
}, e.prototype.handleRedirectPromise = function() {
|
|
12230
|
-
return
|
|
12230
|
+
return L(this, void 0, void 0, function() {
|
|
12231
12231
|
var t, r, o, i, a, s, l, p;
|
|
12232
|
-
return
|
|
12232
|
+
return O(this, function(u) {
|
|
12233
12233
|
switch (u.label) {
|
|
12234
12234
|
case 0:
|
|
12235
12235
|
if (this.logger.trace("NativeInteractionClient - handleRedirectPromise called."), !this.browserStorage.isInteractionInProgress(!0))
|
|
@@ -12257,9 +12257,9 @@ var Un = (
|
|
|
12257
12257
|
}, e.prototype.logout = function() {
|
|
12258
12258
|
return this.logger.trace("NativeInteractionClient - logout called."), Promise.reject("Logout not implemented yet");
|
|
12259
12259
|
}, e.prototype.handleNativeResponse = function(t, r, o) {
|
|
12260
|
-
return
|
|
12260
|
+
return L(this, void 0, void 0, function() {
|
|
12261
12261
|
var i, a, s, l, p, u;
|
|
12262
|
-
return
|
|
12262
|
+
return O(this, function(m) {
|
|
12263
12263
|
switch (m.label) {
|
|
12264
12264
|
case 0:
|
|
12265
12265
|
if (this.logger.trace("NativeInteractionClient - handleNativeResponse called."), t.account.id !== r.accountId)
|
|
@@ -12280,11 +12280,11 @@ var Un = (
|
|
|
12280
12280
|
}, e.prototype.createAccountEntity = function(t, r, o, i) {
|
|
12281
12281
|
return Ve.createAccount(t.client_info, r, o, void 0, void 0, void 0, i, t.account.id);
|
|
12282
12282
|
}, e.prototype.generateScopes = function(t, r) {
|
|
12283
|
-
return t.scope ?
|
|
12283
|
+
return t.scope ? Je.fromString(t.scope) : Je.fromString(r.scope);
|
|
12284
12284
|
}, e.prototype.generatePopAccessToken = function(t, r) {
|
|
12285
|
-
return
|
|
12285
|
+
return L(this, void 0, void 0, function() {
|
|
12286
12286
|
var o, i;
|
|
12287
|
-
return
|
|
12287
|
+
return O(this, function(a) {
|
|
12288
12288
|
switch (a.label) {
|
|
12289
12289
|
case 0:
|
|
12290
12290
|
if (r.tokenType !== _e.POP) return [3, 2];
|
|
@@ -12306,12 +12306,12 @@ var Un = (
|
|
|
12306
12306
|
});
|
|
12307
12307
|
});
|
|
12308
12308
|
}, e.prototype.generateAuthenticationResult = function(t, r, o, i, a, s) {
|
|
12309
|
-
return
|
|
12309
|
+
return L(this, void 0, void 0, function() {
|
|
12310
12310
|
var l, p, u, m, f, k, E, R;
|
|
12311
|
-
return
|
|
12311
|
+
return O(this, function(q) {
|
|
12312
12312
|
switch (q.label) {
|
|
12313
12313
|
case 0:
|
|
12314
|
-
return l = this.addTelemetryFromNativeResponse(t), p = t.scope ?
|
|
12314
|
+
return l = this.addTelemetryFromNativeResponse(t), p = t.scope ? Je.fromString(t.scope) : Je.fromString(r.scope), u = t.account.properties || {}, m = u.UID || o.claims.oid || o.claims.sub || w.EMPTY_STRING, f = u.TenantId || o.claims.tid || w.EMPTY_STRING, [4, this.generatePopAccessToken(t, r)];
|
|
12315
12315
|
case 1:
|
|
12316
12316
|
return k = q.sent(), E = r.tokenType === _e.POP ? _e.POP : _e.BEARER, R = {
|
|
12317
12317
|
authority: a,
|
|
@@ -12338,7 +12338,7 @@ var Un = (
|
|
|
12338
12338
|
r.logger.error("Error occurred while removing account context from browser storage. " + o);
|
|
12339
12339
|
});
|
|
12340
12340
|
}, e.prototype.cacheNativeTokens = function(t, r, o, i, a, s, l, p) {
|
|
12341
|
-
var u = kn.createIdTokenEntity(o, r.authority, t.id_token || w.EMPTY_STRING, r.clientId, a.claims.tid || w.EMPTY_STRING), m = r.tokenType === _e.POP ? w.SHR_NONCE_VALIDITY : (typeof t.expires_in == "string" ? parseInt(t.expires_in, 10) : t.expires_in) || 0, f = p + m, k = this.generateScopes(t, r), E = Cn.createAccessTokenEntity(o, r.authority, s, r.clientId, a ? a.claims.tid || w.EMPTY_STRING : l, k.printScopes(), f, 0, this.browserCrypto), R = new
|
|
12341
|
+
var u = kn.createIdTokenEntity(o, r.authority, t.id_token || w.EMPTY_STRING, r.clientId, a.claims.tid || w.EMPTY_STRING), m = r.tokenType === _e.POP ? w.SHR_NONCE_VALIDITY : (typeof t.expires_in == "string" ? parseInt(t.expires_in, 10) : t.expires_in) || 0, f = p + m, k = this.generateScopes(t, r), E = Cn.createAccessTokenEntity(o, r.authority, s, r.clientId, a ? a.claims.tid || w.EMPTY_STRING : l, k.printScopes(), f, 0, this.browserCrypto), R = new Jn(i, u, E);
|
|
12342
12342
|
this.nativeStorageManager.saveCacheRecord(R);
|
|
12343
12343
|
}, e.prototype.addTelemetryFromNativeResponse = function(t) {
|
|
12344
12344
|
var r = this.getMATSFromResponse(t);
|
|
@@ -12374,16 +12374,16 @@ var Un = (
|
|
|
12374
12374
|
}, e.prototype.isResponseFromCache = function(t) {
|
|
12375
12375
|
return typeof t.is_cached > "u" ? (this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."), !1) : !!t.is_cached;
|
|
12376
12376
|
}, e.prototype.initializeNativeRequest = function(t) {
|
|
12377
|
-
return
|
|
12377
|
+
return L(this, void 0, void 0, function() {
|
|
12378
12378
|
var r, o, i, a, s, l, p, u, m, f, k = this;
|
|
12379
|
-
return
|
|
12379
|
+
return O(this, function(E) {
|
|
12380
12380
|
switch (E.label) {
|
|
12381
12381
|
case 0:
|
|
12382
12382
|
return this.logger.trace("NativeInteractionClient - initializeNativeRequest called"), r = t.authority || this.config.auth.authority, t.account ? [4, this.validateRequestAuthority(r, t.account)] : [3, 2];
|
|
12383
12383
|
case 1:
|
|
12384
12384
|
E.sent(), E.label = 2;
|
|
12385
12385
|
case 2:
|
|
12386
|
-
return o = new ue(r), o.validateAsUri(), i = t.scopes, a = Ao(t, ["scopes"]), s = new
|
|
12386
|
+
return o = new ue(r), o.validateAsUri(), i = t.scopes, a = Ao(t, ["scopes"]), s = new Je(i || []), s.appendScopes(nr), l = function() {
|
|
12387
12387
|
switch (k.apiId) {
|
|
12388
12388
|
case Ce.ssoSilent:
|
|
12389
12389
|
case Ce.acquireTokenSilent_silentFlow:
|
|
@@ -12401,7 +12401,7 @@ var Un = (
|
|
|
12401
12401
|
default:
|
|
12402
12402
|
throw k.logger.trace("initializeNativeRequest: prompt = " + t.prompt + " is not compatible with native flow"), F.createNativePromptParameterNotSupportedError();
|
|
12403
12403
|
}
|
|
12404
|
-
}, p =
|
|
12404
|
+
}, p = W(W({}, a), {
|
|
12405
12405
|
accountId: this.accountId,
|
|
12406
12406
|
clientId: this.config.auth.clientId,
|
|
12407
12407
|
authority: o.urlString,
|
|
@@ -12411,7 +12411,7 @@ var Un = (
|
|
|
12411
12411
|
correlationId: this.correlationId,
|
|
12412
12412
|
tokenType: t.authenticationScheme,
|
|
12413
12413
|
windowTitleSubstring: document.title,
|
|
12414
|
-
extraParameters:
|
|
12414
|
+
extraParameters: W(W(W({}, t.extraQueryParameters), t.tokenQueryParameters), { telemetry: Fn.MATS_TELEMETRY }),
|
|
12415
12415
|
extendedExpiryToken: !1
|
|
12416
12416
|
// Make this configurable?
|
|
12417
12417
|
}), t.authenticationScheme !== _e.POP ? [3, 4] : (u = {
|
|
@@ -12438,9 +12438,9 @@ var Tn = (
|
|
|
12438
12438
|
this.logger = e, this.handshakeTimeoutMs = t, this.extensionId = o, this.resolvers = /* @__PURE__ */ new Map(), this.handshakeResolvers = /* @__PURE__ */ new Map(), this.responseId = 0, this.messageChannel = new MessageChannel(), this.windowListener = this.onWindowMessage.bind(this), this.performanceClient = r, this.handshakeEvent = r.startMeasurement(A.NativeMessageHandlerHandshake);
|
|
12439
12439
|
}
|
|
12440
12440
|
return n.prototype.sendMessage = function(e) {
|
|
12441
|
-
return
|
|
12441
|
+
return L(this, void 0, void 0, function() {
|
|
12442
12442
|
var t, r = this;
|
|
12443
|
-
return
|
|
12443
|
+
return O(this, function(o) {
|
|
12444
12444
|
return this.logger.trace("NativeMessageHandler - sendMessage called."), t = {
|
|
12445
12445
|
channel: Fn.CHANNEL_ID,
|
|
12446
12446
|
extensionId: this.extensionId,
|
|
@@ -12452,9 +12452,9 @@ var Tn = (
|
|
|
12452
12452
|
});
|
|
12453
12453
|
});
|
|
12454
12454
|
}, n.createProvider = function(e, t, r) {
|
|
12455
|
-
return
|
|
12455
|
+
return L(this, void 0, void 0, function() {
|
|
12456
12456
|
var o, i;
|
|
12457
|
-
return
|
|
12457
|
+
return O(this, function(a) {
|
|
12458
12458
|
switch (a.label) {
|
|
12459
12459
|
case 0:
|
|
12460
12460
|
e.trace("NativeMessageHandler - createProvider called."), a.label = 1;
|
|
@@ -12475,9 +12475,9 @@ var Tn = (
|
|
|
12475
12475
|
});
|
|
12476
12476
|
});
|
|
12477
12477
|
}, n.prototype.sendHandshakeRequest = function() {
|
|
12478
|
-
return
|
|
12478
|
+
return L(this, void 0, void 0, function() {
|
|
12479
12479
|
var e, t = this;
|
|
12480
|
-
return
|
|
12480
|
+
return O(this, function(r) {
|
|
12481
12481
|
return this.logger.trace("NativeMessageHandler - sendHandshakeRequest called."), window.addEventListener("message", this.windowListener, !1), e = {
|
|
12482
12482
|
channel: Fn.CHANNEL_ID,
|
|
12483
12483
|
extensionId: this.extensionId,
|
|
@@ -12561,22 +12561,22 @@ var ss = (
|
|
|
12561
12561
|
return f.nativeStorage = p, f;
|
|
12562
12562
|
}
|
|
12563
12563
|
return e.prototype.acquireToken = function(t) {
|
|
12564
|
-
return
|
|
12564
|
+
return L(this, void 0, void 0, function() {
|
|
12565
12565
|
var r, o, i, a, s, l, p, u, m, f = this;
|
|
12566
|
-
return
|
|
12566
|
+
return O(this, function(k) {
|
|
12567
12567
|
switch (k.label) {
|
|
12568
12568
|
case 0:
|
|
12569
|
-
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(t,
|
|
12569
|
+
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(t, Y.Redirect)];
|
|
12570
12570
|
case 1:
|
|
12571
12571
|
r = k.sent(), this.browserStorage.updateCacheEntries(r.state, r.nonce, r.authority, r.loginHint || w.EMPTY_STRING, r.account || null), o = this.initializeServerTelemetryManager(Ce.acquireTokenRedirect), i = function(E) {
|
|
12572
|
-
E.persisted && (f.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."), f.browserStorage.cleanRequestByState(r.state), f.eventHandler.emitEvent(ne.RESTORE_FROM_BFCACHE,
|
|
12572
|
+
E.persisted && (f.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."), f.browserStorage.cleanRequestByState(r.state), f.eventHandler.emitEvent(ne.RESTORE_FROM_BFCACHE, Y.Redirect));
|
|
12573
12573
|
}, k.label = 2;
|
|
12574
12574
|
case 2:
|
|
12575
12575
|
return k.trys.push([2, 7, , 8]), this.performanceClient.setPreQueueTime(A.StandardInteractionClientInitializeAuthorizationCodeRequest, t.correlationId), [4, this.initializeAuthorizationCodeRequest(r)];
|
|
12576
12576
|
case 3:
|
|
12577
12577
|
return a = k.sent(), this.performanceClient.setPreQueueTime(A.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(o, r.authority, r.azureCloudOptions)];
|
|
12578
12578
|
case 4:
|
|
12579
|
-
return s = k.sent(), this.logger.verbose("Auth code client created"), l = new qo(s, this.browserStorage, a, this.logger, this.browserCrypto, this.performanceClient), [4, s.getAuthCodeUrl(
|
|
12579
|
+
return s = k.sent(), this.logger.verbose("Auth code client created"), l = new qo(s, this.browserStorage, a, this.logger, this.browserCrypto, this.performanceClient), [4, s.getAuthCodeUrl(W(W({}, r), { nativeBroker: Tn.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, t.authenticationScheme) }))];
|
|
12580
12580
|
case 5:
|
|
12581
12581
|
return p = k.sent(), u = this.getRedirectStartPage(t.redirectStartPage), this.logger.verbosePii("Redirect start page: " + u), window.addEventListener("pageshow", i), [4, l.initiateAuthRequest(p, {
|
|
12582
12582
|
navigationClient: this.navigationClient,
|
|
@@ -12597,9 +12597,9 @@ var ss = (
|
|
|
12597
12597
|
});
|
|
12598
12598
|
});
|
|
12599
12599
|
}, e.prototype.handleRedirectPromise = function(t) {
|
|
12600
|
-
return
|
|
12600
|
+
return L(this, void 0, void 0, function() {
|
|
12601
12601
|
var r, o, i, a, s, l, p, u, m, f, k, E;
|
|
12602
|
-
return
|
|
12602
|
+
return O(this, function(R) {
|
|
12603
12603
|
switch (R.label) {
|
|
12604
12604
|
case 0:
|
|
12605
12605
|
r = this.initializeServerTelemetryManager(Ce.handleRedirectPromise), R.label = 1;
|
|
@@ -12607,12 +12607,12 @@ var ss = (
|
|
|
12607
12607
|
if (R.trys.push([1, 10, , 11]), !this.browserStorage.isInteractionInProgress(!0))
|
|
12608
12608
|
return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."), [2, null];
|
|
12609
12609
|
if (o = this.getRedirectResponseHash(t || window.location.hash), !o)
|
|
12610
|
-
return this.logger.info("handleRedirectPromise did not detect a response hash as a result of a redirect. Cleaning temporary cache."), this.browserStorage.cleanRequestByInteractionType(
|
|
12610
|
+
return this.logger.info("handleRedirectPromise did not detect a response hash as a result of a redirect. Cleaning temporary cache."), this.browserStorage.cleanRequestByInteractionType(Y.Redirect), [2, null];
|
|
12611
12611
|
i = void 0;
|
|
12612
12612
|
try {
|
|
12613
|
-
a = ue.getDeserializedHash(o), i = this.validateAndExtractStateFromHash(a,
|
|
12613
|
+
a = ue.getDeserializedHash(o), i = this.validateAndExtractStateFromHash(a, Y.Redirect), this.logger.verbose("State extracted from hash");
|
|
12614
12614
|
} catch (q) {
|
|
12615
|
-
return this.logger.info("handleRedirectPromise was unable to extract state due to: " + q), this.browserStorage.cleanRequestByInteractionType(
|
|
12615
|
+
return this.logger.info("handleRedirectPromise was unable to extract state due to: " + q), this.browserStorage.cleanRequestByInteractionType(Y.Redirect), [2, null];
|
|
12616
12616
|
}
|
|
12617
12617
|
return s = this.browserStorage.getTemporaryCache(de.ORIGIN_URI, !0) || w.EMPTY_STRING, l = ue.removeHashFromUrl(s), p = ue.removeHashFromUrl(window.location.href), l === p && this.config.auth.navigateToLoginRequestUrl ? (this.logger.verbose("Current page is loginRequestUrl, handling hash"), [4, this.handleHash(o, i, r)]) : [3, 3];
|
|
12618
12618
|
case 2:
|
|
@@ -12638,7 +12638,7 @@ var ss = (
|
|
|
12638
12638
|
case 9:
|
|
12639
12639
|
return [2, null];
|
|
12640
12640
|
case 10:
|
|
12641
|
-
throw E = R.sent(), E instanceof X && E.setCorrelationId(this.correlationId), r.cacheFailedRequest(E), this.browserStorage.cleanRequestByInteractionType(
|
|
12641
|
+
throw E = R.sent(), E instanceof X && E.setCorrelationId(this.correlationId), r.cacheFailedRequest(E), this.browserStorage.cleanRequestByInteractionType(Y.Redirect), E;
|
|
12642
12642
|
case 11:
|
|
12643
12643
|
return [
|
|
12644
12644
|
2
|
|
@@ -12655,15 +12655,15 @@ var ss = (
|
|
|
12655
12655
|
var o = this.browserStorage.getTemporaryCache(de.URL_HASH, !0);
|
|
12656
12656
|
return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(de.URL_HASH)), this.logger.verbose("Hash does not contain known properties, returning cached hash"), o;
|
|
12657
12657
|
}, e.prototype.handleHash = function(t, r, o) {
|
|
12658
|
-
return
|
|
12658
|
+
return L(this, void 0, void 0, function() {
|
|
12659
12659
|
var i, a, s, l, p, u, m, f = this;
|
|
12660
|
-
return
|
|
12660
|
+
return O(this, function(k) {
|
|
12661
12661
|
switch (k.label) {
|
|
12662
12662
|
case 0:
|
|
12663
12663
|
if (i = this.browserStorage.getCachedRequest(r, this.browserCrypto), this.logger.verbose("handleHash called, retrieved cached request"), a = ue.getDeserializedHash(t), a.accountId) {
|
|
12664
12664
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
|
|
12665
12665
|
throw F.createNativeConnectionNotEstablishedError();
|
|
12666
|
-
return s = new Un(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, a.accountId, this.nativeStorage, i.correlationId), l = tn.parseRequestState(this.browserCrypto, r).userRequestState, [2, s.acquireToken(
|
|
12666
|
+
return s = new Un(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, a.accountId, this.nativeStorage, i.correlationId), l = tn.parseRequestState(this.browserCrypto, r).userRequestState, [2, s.acquireToken(W(W({}, i), {
|
|
12667
12667
|
state: l,
|
|
12668
12668
|
prompt: void 0
|
|
12669
12669
|
// Server should handle the prompt, ideally native broker can do this part silently
|
|
@@ -12682,14 +12682,14 @@ var ss = (
|
|
|
12682
12682
|
});
|
|
12683
12683
|
});
|
|
12684
12684
|
}, e.prototype.logout = function(t) {
|
|
12685
|
-
return
|
|
12685
|
+
return L(this, void 0, void 0, function() {
|
|
12686
12686
|
var r, o, i, a, s, l, p;
|
|
12687
|
-
return
|
|
12687
|
+
return O(this, function(u) {
|
|
12688
12688
|
switch (u.label) {
|
|
12689
12689
|
case 0:
|
|
12690
12690
|
this.logger.verbose("logoutRedirect called"), r = this.initializeLogoutRequest(t), o = this.initializeServerTelemetryManager(Ce.logout), u.label = 1;
|
|
12691
12691
|
case 1:
|
|
12692
|
-
return u.trys.push([1, 10, , 11]), this.eventHandler.emitEvent(ne.LOGOUT_START,
|
|
12692
|
+
return u.trys.push([1, 10, , 11]), this.eventHandler.emitEvent(ne.LOGOUT_START, Y.Redirect, t), [4, this.clearCacheOnLogout(r.account)];
|
|
12693
12693
|
case 2:
|
|
12694
12694
|
return u.sent(), i = {
|
|
12695
12695
|
apiId: Ce.logout,
|
|
@@ -12697,7 +12697,7 @@ var ss = (
|
|
|
12697
12697
|
noHistory: !1
|
|
12698
12698
|
}, this.performanceClient.setPreQueueTime(A.StandardInteractionClientCreateAuthCodeClient, r.correlationId), [4, this.createAuthCodeClient(o, t && t.authority)];
|
|
12699
12699
|
case 3:
|
|
12700
|
-
return a = u.sent(), this.logger.verbose("Auth code client created"), s = a.getLogoutUri(r), this.eventHandler.emitEvent(ne.LOGOUT_SUCCESS,
|
|
12700
|
+
return a = u.sent(), this.logger.verbose("Auth code client created"), s = a.getLogoutUri(r), this.eventHandler.emitEvent(ne.LOGOUT_SUCCESS, Y.Redirect, r), t && typeof t.onRedirectNavigate == "function" ? (l = t.onRedirectNavigate(s), l === !1 ? [3, 5] : (this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"), this.browserStorage.getInteractionInProgress() || this.browserStorage.setInteractionInProgress(!0), [4, this.navigationClient.navigateExternal(s, i)])) : [3, 7];
|
|
12701
12701
|
case 4:
|
|
12702
12702
|
return u.sent(), [
|
|
12703
12703
|
2
|
|
@@ -12717,9 +12717,9 @@ var ss = (
|
|
|
12717
12717
|
case 9:
|
|
12718
12718
|
return [3, 11];
|
|
12719
12719
|
case 10:
|
|
12720
|
-
throw p = u.sent(), p instanceof X && p.setCorrelationId(this.correlationId), o.cacheFailedRequest(p), this.eventHandler.emitEvent(ne.LOGOUT_FAILURE,
|
|
12720
|
+
throw p = u.sent(), p instanceof X && p.setCorrelationId(this.correlationId), o.cacheFailedRequest(p), this.eventHandler.emitEvent(ne.LOGOUT_FAILURE, Y.Redirect, null, p), this.eventHandler.emitEvent(ne.LOGOUT_END, Y.Redirect), p;
|
|
12721
12721
|
case 11:
|
|
12722
|
-
return this.eventHandler.emitEvent(ne.LOGOUT_END,
|
|
12722
|
+
return this.eventHandler.emitEvent(ne.LOGOUT_END, Y.Redirect), [
|
|
12723
12723
|
2
|
|
12724
12724
|
/*return*/
|
|
12725
12725
|
];
|
|
@@ -12765,12 +12765,12 @@ var cs = (
|
|
|
12765
12765
|
return Promise.reject(p);
|
|
12766
12766
|
}
|
|
12767
12767
|
}, e.prototype.acquireTokenPopupAsync = function(t, r, o, i) {
|
|
12768
|
-
return
|
|
12769
|
-
var a, s, l, p, u, m, f, k, E, R, q, K, z, T, H, G,
|
|
12770
|
-
return
|
|
12768
|
+
return L(this, void 0, void 0, function() {
|
|
12769
|
+
var a, s, l, p, u, m, f, k, E, R, q, K, z, T, H, G, J, te = this;
|
|
12770
|
+
return O(this, function(Z) {
|
|
12771
12771
|
switch (Z.label) {
|
|
12772
12772
|
case 0:
|
|
12773
|
-
return this.logger.verbose("acquireTokenPopupAsync called"), a = this.initializeServerTelemetryManager(Ce.acquireTokenPopup), this.performanceClient.setPreQueueTime(A.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(t,
|
|
12773
|
+
return this.logger.verbose("acquireTokenPopupAsync called"), a = this.initializeServerTelemetryManager(Ce.acquireTokenPopup), this.performanceClient.setPreQueueTime(A.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(t, Y.Popup)];
|
|
12774
12774
|
case 1:
|
|
12775
12775
|
s = Z.sent(), this.browserStorage.updateCacheEntries(s.state, s.nonce, s.authority, s.loginHint || w.EMPTY_STRING, s.account || null), Z.label = 2;
|
|
12776
12776
|
case 2:
|
|
@@ -12778,21 +12778,21 @@ var cs = (
|
|
|
12778
12778
|
case 3:
|
|
12779
12779
|
return l = Z.sent(), this.performanceClient.setPreQueueTime(A.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(a, s.authority, s.azureCloudOptions)];
|
|
12780
12780
|
case 4:
|
|
12781
|
-
return p = Z.sent(), this.logger.verbose("Auth code client created"), u = Tn.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, t.authenticationScheme), m = void 0, u && (m = this.performanceClient.startMeasurement(A.FetchAccountIdWithNativeBroker, t.correlationId)), [4, p.getAuthCodeUrl(
|
|
12781
|
+
return p = Z.sent(), this.logger.verbose("Auth code client created"), u = Tn.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, t.authenticationScheme), m = void 0, u && (m = this.performanceClient.startMeasurement(A.FetchAccountIdWithNativeBroker, t.correlationId)), [4, p.getAuthCodeUrl(W(W({}, s), { nativeBroker: u }))];
|
|
12782
12782
|
case 5:
|
|
12783
12783
|
return f = Z.sent(), k = new fo(p, this.browserStorage, l, this.logger, this.performanceClient), E = {
|
|
12784
12784
|
popup: i,
|
|
12785
12785
|
popupName: r,
|
|
12786
12786
|
popupWindowAttributes: o
|
|
12787
|
-
}, R = this.initiateAuthRequest(f, E), this.eventHandler.emitEvent(ne.POPUP_OPENED,
|
|
12787
|
+
}, R = this.initiateAuthRequest(f, E), this.eventHandler.emitEvent(ne.POPUP_OPENED, Y.Popup, { popupWindow: R }, null), [4, this.monitorPopupForHash(R)];
|
|
12788
12788
|
case 6:
|
|
12789
|
-
if (q = Z.sent(), K = ue.getDeserializedHash(q), z = this.validateAndExtractStateFromHash(K,
|
|
12789
|
+
if (q = Z.sent(), K = ue.getDeserializedHash(q), z = this.validateAndExtractStateFromHash(K, Y.Popup, s.correlationId), wr.removeThrottle(this.browserStorage, this.config.auth.clientId, l), K.accountId) {
|
|
12790
12790
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), m && m.endMeasurement({
|
|
12791
12791
|
success: !0,
|
|
12792
12792
|
isNativeBroker: !0
|
|
12793
12793
|
}), !this.nativeMessageHandler)
|
|
12794
12794
|
throw F.createNativeConnectionNotEstablishedError();
|
|
12795
|
-
return T = new Un(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(
|
|
12795
|
+
return T = new Un(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(W(W({}, s), {
|
|
12796
12796
|
state: H,
|
|
12797
12797
|
prompt: void 0
|
|
12798
12798
|
// Server should handle the prompt, ideally native broker can do this part silently
|
|
@@ -12804,7 +12804,7 @@ var cs = (
|
|
|
12804
12804
|
case 7:
|
|
12805
12805
|
return G = Z.sent(), [2, G];
|
|
12806
12806
|
case 8:
|
|
12807
|
-
throw
|
|
12807
|
+
throw J = Z.sent(), i && i.close(), J instanceof X && J.setCorrelationId(this.correlationId), a.cacheFailedRequest(J), this.browserStorage.cleanRequestByState(s.state), J;
|
|
12808
12808
|
case 9:
|
|
12809
12809
|
return [
|
|
12810
12810
|
2
|
|
@@ -12814,18 +12814,18 @@ var cs = (
|
|
|
12814
12814
|
});
|
|
12815
12815
|
});
|
|
12816
12816
|
}, e.prototype.logoutPopupAsync = function(t, r, o, i, a, s) {
|
|
12817
|
-
return
|
|
12817
|
+
return L(this, void 0, void 0, function() {
|
|
12818
12818
|
var l, p, u, m, f, k, E;
|
|
12819
|
-
return
|
|
12819
|
+
return O(this, function(R) {
|
|
12820
12820
|
switch (R.label) {
|
|
12821
12821
|
case 0:
|
|
12822
|
-
this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(ne.LOGOUT_START,
|
|
12822
|
+
this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(ne.LOGOUT_START, Y.Popup, t), l = this.initializeServerTelemetryManager(Ce.logoutPopup), R.label = 1;
|
|
12823
12823
|
case 1:
|
|
12824
12824
|
return R.trys.push([1, 5, , 6]), [4, this.clearCacheOnLogout(t.account)];
|
|
12825
12825
|
case 2:
|
|
12826
12826
|
return R.sent(), this.performanceClient.setPreQueueTime(A.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(l, i)];
|
|
12827
12827
|
case 3:
|
|
12828
|
-
return p = R.sent(), this.logger.verbose("Auth code client created"), u = p.getLogoutUri(t), this.eventHandler.emitEvent(ne.LOGOUT_SUCCESS,
|
|
12828
|
+
return p = R.sent(), this.logger.verbose("Auth code client created"), u = p.getLogoutUri(t), this.eventHandler.emitEvent(ne.LOGOUT_SUCCESS, Y.Popup, t), m = this.openPopup(u, { popupName: r, popupWindowAttributes: o, popup: a }), this.eventHandler.emitEvent(ne.POPUP_OPENED, Y.Popup, { popupWindow: m }, null), [4, this.waitForLogoutPopup(m)];
|
|
12829
12829
|
case 4:
|
|
12830
12830
|
return R.sent(), s ? (f = {
|
|
12831
12831
|
apiId: Ce.logoutPopup,
|
|
@@ -12833,9 +12833,9 @@ var cs = (
|
|
|
12833
12833
|
noHistory: !1
|
|
12834
12834
|
}, k = ue.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];
|
|
12835
12835
|
case 5:
|
|
12836
|
-
throw E = R.sent(), a && a.close(), E instanceof X && E.setCorrelationId(this.correlationId), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(ne.LOGOUT_FAILURE,
|
|
12836
|
+
throw E = R.sent(), a && a.close(), E instanceof X && E.setCorrelationId(this.correlationId), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(ne.LOGOUT_FAILURE, Y.Popup, null, E), this.eventHandler.emitEvent(ne.LOGOUT_END, Y.Popup), l.cacheFailedRequest(E), E;
|
|
12837
12837
|
case 6:
|
|
12838
|
-
return this.eventHandler.emitEvent(ne.LOGOUT_END,
|
|
12838
|
+
return this.eventHandler.emitEvent(ne.LOGOUT_END, Y.Popup), [
|
|
12839
12839
|
2
|
|
12840
12840
|
/*return*/
|
|
12841
12841
|
];
|
|
@@ -12891,7 +12891,7 @@ var cs = (
|
|
|
12891
12891
|
var i, a, s, l, p = window.screenLeft ? window.screenLeft : window.screenX, u = window.screenTop ? window.screenTop : window.screenY, m = 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, q = (l = o.popupPosition) === null || l === void 0 ? void 0 : l.left;
|
|
12892
12892
|
return (!k || k < 0 || k > m) && (this.logger.verbose("Default popup window width used. Window width not configured or invalid."), k = Pt.POPUP_WIDTH), (!E || E < 0 || E > f) && (this.logger.verbose("Default popup window height used. Window height not configured or invalid."), E = Pt.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 - Pt.POPUP_HEIGHT / 2 + u)), (!q || q < 0 || q > m) && (this.logger.verbose("Default popup window left position used. Window left not configured or invalid."), q = Math.max(0, m / 2 - Pt.POPUP_WIDTH / 2 + p)), window.open(t, r, "width=" + k + ", height=" + E + ", top=" + R + ", left=" + q + ", scrollbars=yes");
|
|
12893
12893
|
}, e.prototype.unloadWindow = function(t) {
|
|
12894
|
-
this.browserStorage.cleanRequestByInteractionType(
|
|
12894
|
+
this.browserStorage.cleanRequestByInteractionType(Y.Popup), this.currentWindow && this.currentWindow.close(), t.preventDefault();
|
|
12895
12895
|
}, e.prototype.cleanPopup = function(t) {
|
|
12896
12896
|
t && t.close(), window.removeEventListener("beforeunload", this.unloadWindow), this.browserStorage.setInteractionInProgress(!1);
|
|
12897
12897
|
}, e.prototype.generatePopupName = function(t, r) {
|
|
@@ -12941,12 +12941,12 @@ function hs(n, e) {
|
|
|
12941
12941
|
},
|
|
12942
12942
|
skipAuthorityMetadataCache: !1
|
|
12943
12943
|
}, s = {
|
|
12944
|
-
cacheLocation:
|
|
12945
|
-
temporaryCacheLocation:
|
|
12944
|
+
cacheLocation: Oe.SessionStorage,
|
|
12945
|
+
temporaryCacheLocation: Oe.SessionStorage,
|
|
12946
12946
|
storeAuthStateInCookie: !1,
|
|
12947
12947
|
secureCookies: !1,
|
|
12948
12948
|
// Default cache migration to true if cache location is localStorage since entries are preserved across tabs/windows. Migration has little to no benefit in sessionStorage and memoryStorage
|
|
12949
|
-
cacheMigrationEnabled: !!(r && r.cacheLocation ===
|
|
12949
|
+
cacheMigrationEnabled: !!(r && r.cacheLocation === Oe.LocalStorage),
|
|
12950
12950
|
claimsBasedCachingEnabled: !0
|
|
12951
12951
|
}, l = {
|
|
12952
12952
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
@@ -12954,7 +12954,7 @@ function hs(n, e) {
|
|
|
12954
12954
|
},
|
|
12955
12955
|
logLevel: De.Info,
|
|
12956
12956
|
piiLoggingEnabled: !1
|
|
12957
|
-
}, p =
|
|
12957
|
+
}, p = W(W({}, di), {
|
|
12958
12958
|
loggerOptions: l,
|
|
12959
12959
|
networkClient: e ? Ae.getBrowserNetworkClient() : Xa,
|
|
12960
12960
|
navigationClient: new ls(),
|
|
@@ -12973,16 +12973,16 @@ function hs(n, e) {
|
|
|
12973
12973
|
useMsrCrypto: !1,
|
|
12974
12974
|
entropy: void 0
|
|
12975
12975
|
}
|
|
12976
|
-
}), u =
|
|
12976
|
+
}), u = W(W({}, o), { loggerOptions: (o == null ? void 0 : o.loggerOptions) || l }), m = {
|
|
12977
12977
|
application: {
|
|
12978
12978
|
appName: w.EMPTY_STRING,
|
|
12979
12979
|
appVersion: w.EMPTY_STRING
|
|
12980
12980
|
}
|
|
12981
12981
|
}, f = {
|
|
12982
|
-
auth:
|
|
12983
|
-
cache:
|
|
12984
|
-
system:
|
|
12985
|
-
telemetry:
|
|
12982
|
+
auth: W(W({}, a), t),
|
|
12983
|
+
cache: W(W({}, s), r),
|
|
12984
|
+
system: W(W({}, p), u),
|
|
12985
|
+
telemetry: W(W({}, m), i)
|
|
12986
12986
|
};
|
|
12987
12987
|
return f;
|
|
12988
12988
|
}
|
|
@@ -12996,8 +12996,8 @@ var yi = (
|
|
|
12996
12996
|
return l.navigateFrameWait = a.navigateFrameWait, l.pollIntervalMilliseconds = a.pollIntervalMilliseconds, l;
|
|
12997
12997
|
}
|
|
12998
12998
|
return e.prototype.initiateAuthRequest = function(t) {
|
|
12999
|
-
return
|
|
13000
|
-
return
|
|
12999
|
+
return L(this, void 0, void 0, function() {
|
|
13000
|
+
return O(this, function(r) {
|
|
13001
13001
|
switch (r.label) {
|
|
13002
13002
|
case 0:
|
|
13003
13003
|
if (this.performanceClient.addQueueMeasurement(A.SilentHandlerInitiateAuthRequest, this.authCodeRequest.correlationId), V.isEmpty(t))
|
|
@@ -13066,16 +13066,16 @@ var fs = (
|
|
|
13066
13066
|
return k.apiId = l, k.nativeStorage = u, k;
|
|
13067
13067
|
}
|
|
13068
13068
|
return e.prototype.acquireToken = function(t) {
|
|
13069
|
-
return
|
|
13069
|
+
return L(this, void 0, void 0, function() {
|
|
13070
13070
|
var r, o, i, a, s;
|
|
13071
|
-
return
|
|
13071
|
+
return O(this, function(l) {
|
|
13072
13072
|
switch (l.label) {
|
|
13073
13073
|
case 0:
|
|
13074
13074
|
if (this.performanceClient.addQueueMeasurement(A.SilentIframeClientAcquireToken, t.correlationId), this.logger.verbose("acquireTokenByIframe called"), r = this.performanceClient.startMeasurement(A.SilentIframeClientAcquireToken, t.correlationId), V.isEmpty(t.loginHint) && V.isEmpty(t.sid) && (!t.account || V.isEmpty(t.account.username)) && this.logger.warning("No user hint provided. The authorization server may need more information to complete this request."), t.prompt && t.prompt !== Xe.NONE && t.prompt !== Xe.NO_SESSION)
|
|
13075
13075
|
throw r.endMeasurement({
|
|
13076
13076
|
success: !1
|
|
13077
13077
|
}), F.createSilentPromptValueError(t.prompt);
|
|
13078
|
-
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(
|
|
13078
|
+
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(W(W({}, t), { prompt: t.prompt || Xe.NONE }), Y.Silent)];
|
|
13079
13079
|
case 1:
|
|
13080
13080
|
o = l.sent(), this.browserStorage.updateCacheEntries(o.state, o.nonce, o.authority, o.loginHint || w.EMPTY_STRING, o.account || null), i = this.initializeServerTelemetryManager(this.apiId), l.label = 2;
|
|
13081
13081
|
case 2:
|
|
@@ -13107,23 +13107,23 @@ var fs = (
|
|
|
13107
13107
|
}, e.prototype.logout = function() {
|
|
13108
13108
|
return Promise.reject(F.createSilentLogoutUnsupportedError());
|
|
13109
13109
|
}, e.prototype.silentTokenHelper = function(t, r) {
|
|
13110
|
-
return
|
|
13110
|
+
return L(this, void 0, void 0, function() {
|
|
13111
13111
|
var o, i, a, s, l, p, u, m, f, k = this;
|
|
13112
|
-
return
|
|
13112
|
+
return O(this, function(E) {
|
|
13113
13113
|
switch (E.label) {
|
|
13114
13114
|
case 0:
|
|
13115
13115
|
return this.performanceClient.addQueueMeasurement(A.SilentIframeClientTokenHelper, r.correlationId), this.performanceClient.setPreQueueTime(A.StandardInteractionClientInitializeAuthorizationCodeRequest, r.correlationId), [4, this.initializeAuthorizationCodeRequest(r)];
|
|
13116
13116
|
case 1:
|
|
13117
|
-
return o = E.sent(), this.performanceClient.setPreQueueTime(A.GetAuthCodeUrl, r.correlationId), [4, t.getAuthCodeUrl(
|
|
13117
|
+
return o = E.sent(), this.performanceClient.setPreQueueTime(A.GetAuthCodeUrl, r.correlationId), [4, t.getAuthCodeUrl(W(W({}, r), { nativeBroker: Tn.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, r.authenticationScheme) }))];
|
|
13118
13118
|
case 2:
|
|
13119
13119
|
return i = E.sent(), a = new yi(t, this.browserStorage, o, this.logger, this.config.system, this.performanceClient), this.performanceClient.setPreQueueTime(A.SilentHandlerInitiateAuthRequest, r.correlationId), [4, a.initiateAuthRequest(i)];
|
|
13120
13120
|
case 3:
|
|
13121
13121
|
return s = E.sent(), this.performanceClient.setPreQueueTime(A.SilentHandlerMonitorIframeForHash, r.correlationId), [4, a.monitorIframeForHash(s, this.config.system.iframeHashTimeout)];
|
|
13122
13122
|
case 4:
|
|
13123
|
-
if (l = E.sent(), p = ue.getDeserializedHash(l), u = this.validateAndExtractStateFromHash(p,
|
|
13123
|
+
if (l = E.sent(), p = ue.getDeserializedHash(l), u = this.validateAndExtractStateFromHash(p, Y.Silent, o.correlationId), p.accountId) {
|
|
13124
13124
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
|
|
13125
13125
|
throw F.createNativeConnectionNotEstablishedError();
|
|
13126
|
-
return m = new Un(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.apiId, this.performanceClient, this.nativeMessageHandler, p.accountId, this.browserStorage, this.correlationId), f = tn.parseRequestState(this.browserCrypto, u).userRequestState, [2, m.acquireToken(
|
|
13126
|
+
return m = new Un(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.apiId, this.performanceClient, this.nativeMessageHandler, p.accountId, this.browserStorage, this.correlationId), f = tn.parseRequestState(this.browserCrypto, u).userRequestState, [2, m.acquireToken(W(W({}, r), { state: f, prompt: r.prompt || Xe.NONE })).finally(function() {
|
|
13127
13127
|
k.browserStorage.cleanRequestByState(u);
|
|
13128
13128
|
})];
|
|
13129
13129
|
}
|
|
@@ -13143,14 +13143,14 @@ var gs = (
|
|
|
13143
13143
|
return n !== null && n.apply(this, arguments) || this;
|
|
13144
13144
|
}
|
|
13145
13145
|
return e.prototype.acquireToken = function(t) {
|
|
13146
|
-
return
|
|
13146
|
+
return L(this, void 0, void 0, function() {
|
|
13147
13147
|
var r, o, i, a, s, l = this;
|
|
13148
|
-
return
|
|
13148
|
+
return O(this, function(p) {
|
|
13149
13149
|
switch (p.label) {
|
|
13150
13150
|
case 0:
|
|
13151
|
-
return this.performanceClient.addQueueMeasurement(A.SilentRefreshClientAcquireToken, t.correlationId), this.performanceClient.setPreQueueTime(A.InitializeBaseRequest, t.correlationId), o = [
|
|
13151
|
+
return this.performanceClient.addQueueMeasurement(A.SilentRefreshClientAcquireToken, t.correlationId), this.performanceClient.setPreQueueTime(A.InitializeBaseRequest, t.correlationId), o = [W({}, t)], [4, this.initializeBaseRequest(t, t.account)];
|
|
13152
13152
|
case 1:
|
|
13153
|
-
return r =
|
|
13153
|
+
return r = W.apply(void 0, o.concat([p.sent()])), i = this.performanceClient.startMeasurement(A.SilentRefreshClientAcquireToken, r.correlationId), a = this.initializeServerTelemetryManager(Ce.acquireTokenSilent_silentFlow), [4, this.createRefreshTokenClient(a, r.authority, r.azureCloudOptions)];
|
|
13154
13154
|
case 2:
|
|
13155
13155
|
return s = p.sent(), this.logger.verbose("Refresh token client created"), this.performanceClient.setPreQueueTime(A.RefreshTokenClientAcquireTokenByRefreshToken, t.correlationId), [2, s.acquireTokenByRefreshToken(r).then(function(u) {
|
|
13156
13156
|
return i.endMeasurement({
|
|
@@ -13171,9 +13171,9 @@ var gs = (
|
|
|
13171
13171
|
}, e.prototype.logout = function() {
|
|
13172
13172
|
return Promise.reject(F.createSilentLogoutUnsupportedError());
|
|
13173
13173
|
}, e.prototype.createRefreshTokenClient = function(t, r, o) {
|
|
13174
|
-
return
|
|
13174
|
+
return L(this, void 0, void 0, function() {
|
|
13175
13175
|
var i;
|
|
13176
|
-
return
|
|
13176
|
+
return O(this, function(a) {
|
|
13177
13177
|
switch (a.label) {
|
|
13178
13178
|
case 0:
|
|
13179
13179
|
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetClientConfiguration, this.correlationId), [4, this.getClientConfiguration(t, r, o)];
|
|
@@ -13235,7 +13235,7 @@ var ms = (
|
|
|
13235
13235
|
}()
|
|
13236
13236
|
);
|
|
13237
13237
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13238
|
-
var
|
|
13238
|
+
var We = (
|
|
13239
13239
|
/** @class */
|
|
13240
13240
|
function() {
|
|
13241
13241
|
function n() {
|
|
@@ -13257,7 +13257,7 @@ var wi = (
|
|
|
13257
13257
|
return n.prototype.generateGuid = function() {
|
|
13258
13258
|
try {
|
|
13259
13259
|
var e = new Uint8Array(16);
|
|
13260
|
-
return this.cryptoObj.getRandomValues(e), e[6] |= 64, e[6] &= 79, e[8] |= 128, e[8] &= 191,
|
|
13260
|
+
return this.cryptoObj.getRandomValues(e), e[6] |= 64, e[6] &= 79, e[8] |= 128, e[8] &= 191, We.decimalToHex(e[0]) + We.decimalToHex(e[1]) + We.decimalToHex(e[2]) + We.decimalToHex(e[3]) + "-" + We.decimalToHex(e[4]) + We.decimalToHex(e[5]) + "-" + We.decimalToHex(e[6]) + We.decimalToHex(e[7]) + "-" + We.decimalToHex(e[8]) + We.decimalToHex(e[9]) + "-" + We.decimalToHex(e[10]) + We.decimalToHex(e[11]) + We.decimalToHex(e[12]) + We.decimalToHex(e[13]) + We.decimalToHex(e[14]) + We.decimalToHex(e[15]);
|
|
13261
13261
|
} catch {
|
|
13262
13262
|
for (var t = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx", r = "0123456789abcdef", o = 0, i = w.EMPTY_STRING, a = 0; a < 36; a++)
|
|
13263
13263
|
t[a] !== "-" && t[a] !== "4" && (o = Math.random() * 16 | 0), t[a] === "x" ? i += r[o] : t[a] === "y" ? (o &= 3, o |= 8, i += r[o]) : i += t[a];
|
|
@@ -13379,9 +13379,9 @@ var vs = 32, ys = (
|
|
|
13379
13379
|
this.base64Encode = new bi(), this.cryptoObj = e;
|
|
13380
13380
|
}
|
|
13381
13381
|
return n.prototype.generateCodes = function() {
|
|
13382
|
-
return
|
|
13382
|
+
return L(this, void 0, void 0, function() {
|
|
13383
13383
|
var e, t;
|
|
13384
|
-
return
|
|
13384
|
+
return O(this, function(r) {
|
|
13385
13385
|
switch (r.label) {
|
|
13386
13386
|
case 0:
|
|
13387
13387
|
return e = this.generateCodeVerifier(), [4, this.generateCodeChallengeFromVerifier(e)];
|
|
@@ -13403,9 +13403,9 @@ var vs = 32, ys = (
|
|
|
13403
13403
|
throw F.createPkceNotGeneratedError(r);
|
|
13404
13404
|
}
|
|
13405
13405
|
}, n.prototype.generateCodeChallengeFromVerifier = function(e) {
|
|
13406
|
-
return
|
|
13406
|
+
return L(this, void 0, void 0, function() {
|
|
13407
13407
|
var t, r;
|
|
13408
|
-
return
|
|
13408
|
+
return O(this, function(o) {
|
|
13409
13409
|
switch (o.label) {
|
|
13410
13410
|
case 0:
|
|
13411
13411
|
return o.trys.push([0, 2, , 3]), [4, this.cryptoObj.sha256Digest(e)];
|
|
@@ -13433,32 +13433,32 @@ var ws = (
|
|
|
13433
13433
|
return n.prototype.getRandomValues = function(e) {
|
|
13434
13434
|
return window.crypto.getRandomValues(e);
|
|
13435
13435
|
}, n.prototype.generateKey = function(e, t, r) {
|
|
13436
|
-
return
|
|
13437
|
-
return
|
|
13436
|
+
return L(this, void 0, void 0, function() {
|
|
13437
|
+
return O(this, function(o) {
|
|
13438
13438
|
return [2, window.crypto.subtle.generateKey(e, t, r)];
|
|
13439
13439
|
});
|
|
13440
13440
|
});
|
|
13441
13441
|
}, n.prototype.exportKey = function(e) {
|
|
13442
|
-
return
|
|
13443
|
-
return
|
|
13442
|
+
return L(this, void 0, void 0, function() {
|
|
13443
|
+
return O(this, function(t) {
|
|
13444
13444
|
return [2, window.crypto.subtle.exportKey(Hn, e)];
|
|
13445
13445
|
});
|
|
13446
13446
|
});
|
|
13447
13447
|
}, n.prototype.importKey = function(e, t, r, o) {
|
|
13448
|
-
return
|
|
13449
|
-
return
|
|
13448
|
+
return L(this, void 0, void 0, function() {
|
|
13449
|
+
return O(this, function(i) {
|
|
13450
13450
|
return [2, window.crypto.subtle.importKey(Hn, e, t, r, o)];
|
|
13451
13451
|
});
|
|
13452
13452
|
});
|
|
13453
13453
|
}, n.prototype.sign = function(e, t, r) {
|
|
13454
|
-
return
|
|
13455
|
-
return
|
|
13454
|
+
return L(this, void 0, void 0, function() {
|
|
13455
|
+
return O(this, function(o) {
|
|
13456
13456
|
return [2, window.crypto.subtle.sign(e, t, r)];
|
|
13457
13457
|
});
|
|
13458
13458
|
});
|
|
13459
13459
|
}, n.prototype.digest = function(e, t) {
|
|
13460
|
-
return
|
|
13461
|
-
return
|
|
13460
|
+
return L(this, void 0, void 0, function() {
|
|
13461
|
+
return O(this, function(r) {
|
|
13462
13462
|
return [2, window.crypto.subtle.digest(e, t)];
|
|
13463
13463
|
});
|
|
13464
13464
|
});
|
|
@@ -13476,32 +13476,32 @@ var bs = (
|
|
|
13476
13476
|
}, n.prototype.getRandomValues = function(e) {
|
|
13477
13477
|
return window.msrCrypto.getRandomValues(e);
|
|
13478
13478
|
}, n.prototype.generateKey = function(e, t, r) {
|
|
13479
|
-
return
|
|
13480
|
-
return
|
|
13479
|
+
return L(this, void 0, void 0, function() {
|
|
13480
|
+
return O(this, function(o) {
|
|
13481
13481
|
return [2, window.msrCrypto.subtle.generateKey(e, t, r)];
|
|
13482
13482
|
});
|
|
13483
13483
|
});
|
|
13484
13484
|
}, n.prototype.exportKey = function(e) {
|
|
13485
|
-
return
|
|
13486
|
-
return
|
|
13485
|
+
return L(this, void 0, void 0, function() {
|
|
13486
|
+
return O(this, function(t) {
|
|
13487
13487
|
return [2, window.msrCrypto.subtle.exportKey(Hn, e)];
|
|
13488
13488
|
});
|
|
13489
13489
|
});
|
|
13490
13490
|
}, n.prototype.importKey = function(e, t, r, o) {
|
|
13491
|
-
return
|
|
13492
|
-
return
|
|
13491
|
+
return L(this, void 0, void 0, function() {
|
|
13492
|
+
return O(this, function(i) {
|
|
13493
13493
|
return [2, window.msrCrypto.subtle.importKey(Hn, e, t, r, o)];
|
|
13494
13494
|
});
|
|
13495
13495
|
});
|
|
13496
13496
|
}, n.prototype.sign = function(e, t, r) {
|
|
13497
|
-
return
|
|
13498
|
-
return
|
|
13497
|
+
return L(this, void 0, void 0, function() {
|
|
13498
|
+
return O(this, function(o) {
|
|
13499
13499
|
return [2, window.msrCrypto.subtle.sign(e, t, r)];
|
|
13500
13500
|
});
|
|
13501
13501
|
});
|
|
13502
13502
|
}, n.prototype.digest = function(e, t) {
|
|
13503
|
-
return
|
|
13504
|
-
return
|
|
13503
|
+
return L(this, void 0, void 0, function() {
|
|
13504
|
+
return O(this, function(r) {
|
|
13505
13505
|
return [2, window.msrCrypto.subtle.digest(e, t)];
|
|
13506
13506
|
});
|
|
13507
13507
|
});
|
|
@@ -13517,8 +13517,8 @@ var ks = (
|
|
|
13517
13517
|
return n.prototype.getRandomValues = function(e) {
|
|
13518
13518
|
return window.msCrypto.getRandomValues(e);
|
|
13519
13519
|
}, n.prototype.generateKey = function(e, t, r) {
|
|
13520
|
-
return
|
|
13521
|
-
return
|
|
13520
|
+
return L(this, void 0, void 0, function() {
|
|
13521
|
+
return O(this, function(o) {
|
|
13522
13522
|
return [2, new Promise(function(i, a) {
|
|
13523
13523
|
var s = window.msCrypto.subtle.generateKey(e, t, r);
|
|
13524
13524
|
s.addEventListener("complete", function(l) {
|
|
@@ -13530,8 +13530,8 @@ var ks = (
|
|
|
13530
13530
|
});
|
|
13531
13531
|
});
|
|
13532
13532
|
}, n.prototype.exportKey = function(e) {
|
|
13533
|
-
return
|
|
13534
|
-
return
|
|
13533
|
+
return L(this, void 0, void 0, function() {
|
|
13534
|
+
return O(this, function(t) {
|
|
13535
13535
|
return [2, new Promise(function(r, o) {
|
|
13536
13536
|
var i = window.msCrypto.subtle.exportKey(Hn, e);
|
|
13537
13537
|
i.addEventListener("complete", function(a) {
|
|
@@ -13548,9 +13548,9 @@ var ks = (
|
|
|
13548
13548
|
});
|
|
13549
13549
|
});
|
|
13550
13550
|
}, n.prototype.importKey = function(e, t, r, o) {
|
|
13551
|
-
return
|
|
13551
|
+
return L(this, void 0, void 0, function() {
|
|
13552
13552
|
var i, a;
|
|
13553
|
-
return
|
|
13553
|
+
return O(this, function(s) {
|
|
13554
13554
|
return i = nn.getSortedObjectString(e), a = nn.stringToArrayBuffer(i), [2, new Promise(function(l, p) {
|
|
13555
13555
|
var u = window.msCrypto.subtle.importKey(Hn, a, t, r, o);
|
|
13556
13556
|
u.addEventListener("complete", function(m) {
|
|
@@ -13562,8 +13562,8 @@ var ks = (
|
|
|
13562
13562
|
});
|
|
13563
13563
|
});
|
|
13564
13564
|
}, n.prototype.sign = function(e, t, r) {
|
|
13565
|
-
return
|
|
13566
|
-
return
|
|
13565
|
+
return L(this, void 0, void 0, function() {
|
|
13566
|
+
return O(this, function(o) {
|
|
13567
13567
|
return [2, new Promise(function(i, a) {
|
|
13568
13568
|
var s = window.msCrypto.subtle.sign(e, t, r);
|
|
13569
13569
|
s.addEventListener("complete", function(l) {
|
|
@@ -13575,8 +13575,8 @@ var ks = (
|
|
|
13575
13575
|
});
|
|
13576
13576
|
});
|
|
13577
13577
|
}, n.prototype.digest = function(e, t) {
|
|
13578
|
-
return
|
|
13579
|
-
return
|
|
13578
|
+
return L(this, void 0, void 0, function() {
|
|
13579
|
+
return O(this, function(r) {
|
|
13580
13580
|
return [2, new Promise(function(o, i) {
|
|
13581
13581
|
var a = window.msCrypto.subtle.digest(e, t.buffer);
|
|
13582
13582
|
a.addEventListener("complete", function(s) {
|
|
@@ -13623,35 +13623,35 @@ var Cs = "RSASSA-PKCS1-v1_5", Fo = "SHA-256", Es = 2048, Ts = new Uint8Array([1,
|
|
|
13623
13623
|
}, n.prototype.hasMsrCrypto = function() {
|
|
13624
13624
|
return "msrCrypto" in window;
|
|
13625
13625
|
}, n.prototype.sha256Digest = function(e) {
|
|
13626
|
-
return
|
|
13626
|
+
return L(this, void 0, void 0, function() {
|
|
13627
13627
|
var t;
|
|
13628
|
-
return
|
|
13628
|
+
return O(this, function(r) {
|
|
13629
13629
|
return t = nn.stringToUtf8Arr(e), [2, this.subtleCrypto.digest({ name: Fo }, t)];
|
|
13630
13630
|
});
|
|
13631
13631
|
});
|
|
13632
13632
|
}, n.prototype.getRandomValues = function(e) {
|
|
13633
13633
|
return this.subtleCrypto.getRandomValues(e);
|
|
13634
13634
|
}, n.prototype.generateKeyPair = function(e, t) {
|
|
13635
|
-
return
|
|
13636
|
-
return
|
|
13635
|
+
return L(this, void 0, void 0, function() {
|
|
13636
|
+
return O(this, function(r) {
|
|
13637
13637
|
return [2, this.subtleCrypto.generateKey(this.keygenAlgorithmOptions, e, t)];
|
|
13638
13638
|
});
|
|
13639
13639
|
});
|
|
13640
13640
|
}, n.prototype.exportJwk = function(e) {
|
|
13641
|
-
return
|
|
13642
|
-
return
|
|
13641
|
+
return L(this, void 0, void 0, function() {
|
|
13642
|
+
return O(this, function(t) {
|
|
13643
13643
|
return [2, this.subtleCrypto.exportKey(e)];
|
|
13644
13644
|
});
|
|
13645
13645
|
});
|
|
13646
13646
|
}, n.prototype.importJwk = function(e, t, r) {
|
|
13647
|
-
return
|
|
13648
|
-
return
|
|
13647
|
+
return L(this, void 0, void 0, function() {
|
|
13648
|
+
return O(this, function(o) {
|
|
13649
13649
|
return [2, this.subtleCrypto.importKey(e, this.keygenAlgorithmOptions, t, r)];
|
|
13650
13650
|
});
|
|
13651
13651
|
});
|
|
13652
13652
|
}, n.prototype.sign = function(e, t) {
|
|
13653
|
-
return
|
|
13654
|
-
return
|
|
13653
|
+
return L(this, void 0, void 0, function() {
|
|
13654
|
+
return O(this, function(r) {
|
|
13655
13655
|
return [2, this.subtleCrypto.sign(this.keygenAlgorithmOptions, e, t)];
|
|
13656
13656
|
});
|
|
13657
13657
|
});
|
|
@@ -13666,9 +13666,9 @@ var Ss = (
|
|
|
13666
13666
|
this.dbName = Zr, this.version = ns, this.tableName = rs, this.dbOpen = !1;
|
|
13667
13667
|
}
|
|
13668
13668
|
return n.prototype.open = function() {
|
|
13669
|
-
return
|
|
13669
|
+
return L(this, void 0, void 0, function() {
|
|
13670
13670
|
var e = this;
|
|
13671
|
-
return
|
|
13671
|
+
return O(this, function(t) {
|
|
13672
13672
|
return [2, new Promise(function(r, o) {
|
|
13673
13673
|
var i = window.indexedDB.open(e.dbName, e.version);
|
|
13674
13674
|
i.addEventListener("upgradeneeded", function(a) {
|
|
@@ -13687,8 +13687,8 @@ var Ss = (
|
|
|
13687
13687
|
var e = this.db;
|
|
13688
13688
|
e && this.dbOpen && (e.close(), this.dbOpen = !1);
|
|
13689
13689
|
}, n.prototype.validateDbIsOpen = function() {
|
|
13690
|
-
return
|
|
13691
|
-
return
|
|
13690
|
+
return L(this, void 0, void 0, function() {
|
|
13691
|
+
return O(this, function(e) {
|
|
13692
13692
|
switch (e.label) {
|
|
13693
13693
|
case 0:
|
|
13694
13694
|
return this.dbOpen ? [3, 2] : [4, this.open()];
|
|
@@ -13703,9 +13703,9 @@ var Ss = (
|
|
|
13703
13703
|
});
|
|
13704
13704
|
});
|
|
13705
13705
|
}, n.prototype.getItem = function(e) {
|
|
13706
|
-
return
|
|
13706
|
+
return L(this, void 0, void 0, function() {
|
|
13707
13707
|
var t = this;
|
|
13708
|
-
return
|
|
13708
|
+
return O(this, function(r) {
|
|
13709
13709
|
switch (r.label) {
|
|
13710
13710
|
case 0:
|
|
13711
13711
|
return [4, this.validateDbIsOpen()];
|
|
@@ -13725,9 +13725,9 @@ var Ss = (
|
|
|
13725
13725
|
});
|
|
13726
13726
|
});
|
|
13727
13727
|
}, n.prototype.setItem = function(e, t) {
|
|
13728
|
-
return
|
|
13728
|
+
return L(this, void 0, void 0, function() {
|
|
13729
13729
|
var r = this;
|
|
13730
|
-
return
|
|
13730
|
+
return O(this, function(o) {
|
|
13731
13731
|
switch (o.label) {
|
|
13732
13732
|
case 0:
|
|
13733
13733
|
return [4, this.validateDbIsOpen()];
|
|
@@ -13746,9 +13746,9 @@ var Ss = (
|
|
|
13746
13746
|
});
|
|
13747
13747
|
});
|
|
13748
13748
|
}, n.prototype.removeItem = function(e) {
|
|
13749
|
-
return
|
|
13749
|
+
return L(this, void 0, void 0, function() {
|
|
13750
13750
|
var t = this;
|
|
13751
|
-
return
|
|
13751
|
+
return O(this, function(r) {
|
|
13752
13752
|
switch (r.label) {
|
|
13753
13753
|
case 0:
|
|
13754
13754
|
return [4, this.validateDbIsOpen()];
|
|
@@ -13767,9 +13767,9 @@ var Ss = (
|
|
|
13767
13767
|
});
|
|
13768
13768
|
});
|
|
13769
13769
|
}, n.prototype.getKeys = function() {
|
|
13770
|
-
return
|
|
13770
|
+
return L(this, void 0, void 0, function() {
|
|
13771
13771
|
var e = this;
|
|
13772
|
-
return
|
|
13772
|
+
return O(this, function(t) {
|
|
13773
13773
|
switch (t.label) {
|
|
13774
13774
|
case 0:
|
|
13775
13775
|
return [4, this.validateDbIsOpen()];
|
|
@@ -13789,9 +13789,9 @@ var Ss = (
|
|
|
13789
13789
|
});
|
|
13790
13790
|
});
|
|
13791
13791
|
}, n.prototype.containsKey = function(e) {
|
|
13792
|
-
return
|
|
13792
|
+
return L(this, void 0, void 0, function() {
|
|
13793
13793
|
var t = this;
|
|
13794
|
-
return
|
|
13794
|
+
return O(this, function(r) {
|
|
13795
13795
|
switch (r.label) {
|
|
13796
13796
|
case 0:
|
|
13797
13797
|
return [4, this.validateDbIsOpen()];
|
|
@@ -13811,8 +13811,8 @@ var Ss = (
|
|
|
13811
13811
|
});
|
|
13812
13812
|
});
|
|
13813
13813
|
}, n.prototype.deleteDatabase = function() {
|
|
13814
|
-
return
|
|
13815
|
-
return
|
|
13814
|
+
return L(this, void 0, void 0, function() {
|
|
13815
|
+
return O(this, function(e) {
|
|
13816
13816
|
return this.db && this.dbOpen && this.closeConnection(), [2, new Promise(function(t, r) {
|
|
13817
13817
|
var o = window.indexedDB.deleteDatabase(Zr);
|
|
13818
13818
|
o.addEventListener("success", function() {
|
|
@@ -13841,9 +13841,9 @@ var Ko = (
|
|
|
13841
13841
|
else
|
|
13842
13842
|
throw e;
|
|
13843
13843
|
}, n.prototype.getItem = function(e) {
|
|
13844
|
-
return
|
|
13844
|
+
return L(this, void 0, void 0, function() {
|
|
13845
13845
|
var t, r;
|
|
13846
|
-
return
|
|
13846
|
+
return O(this, function(o) {
|
|
13847
13847
|
switch (o.label) {
|
|
13848
13848
|
case 0:
|
|
13849
13849
|
if (t = this.inMemoryCache.getItem(e), t) return [3, 4];
|
|
@@ -13860,9 +13860,9 @@ var Ko = (
|
|
|
13860
13860
|
});
|
|
13861
13861
|
});
|
|
13862
13862
|
}, n.prototype.setItem = function(e, t) {
|
|
13863
|
-
return
|
|
13863
|
+
return L(this, void 0, void 0, function() {
|
|
13864
13864
|
var r;
|
|
13865
|
-
return
|
|
13865
|
+
return O(this, function(o) {
|
|
13866
13866
|
switch (o.label) {
|
|
13867
13867
|
case 0:
|
|
13868
13868
|
this.inMemoryCache.setItem(e, t), o.label = 1;
|
|
@@ -13881,9 +13881,9 @@ var Ko = (
|
|
|
13881
13881
|
});
|
|
13882
13882
|
});
|
|
13883
13883
|
}, n.prototype.removeItem = function(e) {
|
|
13884
|
-
return
|
|
13884
|
+
return L(this, void 0, void 0, function() {
|
|
13885
13885
|
var t;
|
|
13886
|
-
return
|
|
13886
|
+
return O(this, function(r) {
|
|
13887
13887
|
switch (r.label) {
|
|
13888
13888
|
case 0:
|
|
13889
13889
|
this.inMemoryCache.removeItem(e), r.label = 1;
|
|
@@ -13902,9 +13902,9 @@ var Ko = (
|
|
|
13902
13902
|
});
|
|
13903
13903
|
});
|
|
13904
13904
|
}, n.prototype.getKeys = function() {
|
|
13905
|
-
return
|
|
13905
|
+
return L(this, void 0, void 0, function() {
|
|
13906
13906
|
var e, t;
|
|
13907
|
-
return
|
|
13907
|
+
return O(this, function(r) {
|
|
13908
13908
|
switch (r.label) {
|
|
13909
13909
|
case 0:
|
|
13910
13910
|
if (e = this.inMemoryCache.getKeys(), e.length !== 0) return [3, 4];
|
|
@@ -13921,9 +13921,9 @@ var Ko = (
|
|
|
13921
13921
|
});
|
|
13922
13922
|
});
|
|
13923
13923
|
}, n.prototype.containsKey = function(e) {
|
|
13924
|
-
return
|
|
13924
|
+
return L(this, void 0, void 0, function() {
|
|
13925
13925
|
var t, r;
|
|
13926
|
-
return
|
|
13926
|
+
return O(this, function(o) {
|
|
13927
13927
|
switch (o.label) {
|
|
13928
13928
|
case 0:
|
|
13929
13929
|
if (t = this.inMemoryCache.containsKey(e), t) return [3, 4];
|
|
@@ -13942,9 +13942,9 @@ var Ko = (
|
|
|
13942
13942
|
}, n.prototype.clearInMemory = function() {
|
|
13943
13943
|
this.logger.verbose("Deleting in-memory keystore " + this.storeName), this.inMemoryCache.clear(), this.logger.verbose("In-memory keystore " + this.storeName + " deleted");
|
|
13944
13944
|
}, n.prototype.clearPersistent = function() {
|
|
13945
|
-
return
|
|
13945
|
+
return L(this, void 0, void 0, function() {
|
|
13946
13946
|
var e, t;
|
|
13947
|
-
return
|
|
13947
|
+
return O(this, function(r) {
|
|
13948
13948
|
switch (r.label) {
|
|
13949
13949
|
case 0:
|
|
13950
13950
|
return r.trys.push([0, 2, , 3]), this.logger.verbose("Deleting persistent keystore"), [4, this.indexedDBCache.deleteDatabase()];
|
|
@@ -13975,9 +13975,9 @@ var Is = (
|
|
|
13975
13975
|
this.logger = e, this.asymmetricKeys = new Ko(this.logger, Sr.asymmetricKeys), this.symmetricKeys = new Ko(this.logger, Sr.symmetricKeys);
|
|
13976
13976
|
}
|
|
13977
13977
|
return n.prototype.clear = function() {
|
|
13978
|
-
return
|
|
13978
|
+
return L(this, void 0, void 0, function() {
|
|
13979
13979
|
var e;
|
|
13980
|
-
return
|
|
13980
|
+
return O(this, function(t) {
|
|
13981
13981
|
switch (t.label) {
|
|
13982
13982
|
case 0:
|
|
13983
13983
|
this.asymmetricKeys.clearInMemory(), this.symmetricKeys.clearInMemory(), t.label = 1;
|
|
@@ -14012,16 +14012,16 @@ var As = (
|
|
|
14012
14012
|
}, n.prototype.base64Decode = function(e) {
|
|
14013
14013
|
return this.b64Decode.decode(e);
|
|
14014
14014
|
}, n.prototype.generatePkceCodes = function() {
|
|
14015
|
-
return
|
|
14016
|
-
return
|
|
14015
|
+
return L(this, void 0, void 0, function() {
|
|
14016
|
+
return O(this, function(e) {
|
|
14017
14017
|
return [2, this.pkceGenerator.generateCodes()];
|
|
14018
14018
|
});
|
|
14019
14019
|
});
|
|
14020
14020
|
}, n.prototype.getPublicKeyThumbprint = function(e) {
|
|
14021
14021
|
var t;
|
|
14022
|
-
return
|
|
14022
|
+
return L(this, void 0, void 0, function() {
|
|
14023
14023
|
var r, o, i, a, s, l, p, u;
|
|
14024
|
-
return
|
|
14024
|
+
return O(this, function(m) {
|
|
14025
14025
|
switch (m.label) {
|
|
14026
14026
|
case 0:
|
|
14027
14027
|
return r = (t = this.performanceClient) === null || t === void 0 ? void 0 : t.startMeasurement(A.CryptoOptsGetPublicKeyThumbprint, e.correlationId), [4, this.browserCrypto.generateKeyPair(n.EXTRACTABLE, n.POP_KEY_USAGES)];
|
|
@@ -14052,9 +14052,9 @@ var As = (
|
|
|
14052
14052
|
});
|
|
14053
14053
|
});
|
|
14054
14054
|
}, n.prototype.removeTokenBindingKey = function(e) {
|
|
14055
|
-
return
|
|
14055
|
+
return L(this, void 0, void 0, function() {
|
|
14056
14056
|
var t;
|
|
14057
|
-
return
|
|
14057
|
+
return O(this, function(r) {
|
|
14058
14058
|
switch (r.label) {
|
|
14059
14059
|
case 0:
|
|
14060
14060
|
return [4, this.cache.asymmetricKeys.removeItem(e)];
|
|
@@ -14066,8 +14066,8 @@ var As = (
|
|
|
14066
14066
|
});
|
|
14067
14067
|
});
|
|
14068
14068
|
}, n.prototype.clearKeystore = function() {
|
|
14069
|
-
return
|
|
14070
|
-
return
|
|
14069
|
+
return L(this, void 0, void 0, function() {
|
|
14070
|
+
return O(this, function(e) {
|
|
14071
14071
|
switch (e.label) {
|
|
14072
14072
|
case 0:
|
|
14073
14073
|
return [4, this.cache.clear()];
|
|
@@ -14078,9 +14078,9 @@ var As = (
|
|
|
14078
14078
|
});
|
|
14079
14079
|
}, n.prototype.signJwt = function(e, t, r) {
|
|
14080
14080
|
var o;
|
|
14081
|
-
return
|
|
14081
|
+
return L(this, void 0, void 0, function() {
|
|
14082
14082
|
var i, a, s, l, p, u, m, f, k, E, R, q, K;
|
|
14083
|
-
return
|
|
14083
|
+
return O(this, function(z) {
|
|
14084
14084
|
switch (z.label) {
|
|
14085
14085
|
case 0:
|
|
14086
14086
|
return i = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(A.CryptoOptsSignJwt, r), [4, this.cache.asymmetricKeys.getItem(t)];
|
|
@@ -14100,9 +14100,9 @@ var As = (
|
|
|
14100
14100
|
});
|
|
14101
14101
|
});
|
|
14102
14102
|
}, n.prototype.hashString = function(e) {
|
|
14103
|
-
return
|
|
14103
|
+
return L(this, void 0, void 0, function() {
|
|
14104
14104
|
var t, r;
|
|
14105
|
-
return
|
|
14105
|
+
return O(this, function(o) {
|
|
14106
14106
|
switch (o.label) {
|
|
14107
14107
|
case 0:
|
|
14108
14108
|
return [4, this.browserCrypto.sha256Digest(e)];
|
|
@@ -14183,14 +14183,14 @@ var Rs = (
|
|
|
14183
14183
|
}, e.prototype.deleteIncompleteSubMeasurements = function(t) {
|
|
14184
14184
|
var r = this.eventsByCorrelationId.get(t.event.correlationId), o = r && r.eventId === t.event.eventId, i = [];
|
|
14185
14185
|
o && (r != null && r.incompleteSubMeasurements) && r.incompleteSubMeasurements.forEach(function(a) {
|
|
14186
|
-
i.push(
|
|
14186
|
+
i.push(W({}, a));
|
|
14187
14187
|
}), i.length > 0 && Go.flushMeasurements(t.event.correlationId, i);
|
|
14188
14188
|
}, e.prototype.supportsBrowserPerformanceNow = function() {
|
|
14189
14189
|
return typeof window < "u" && typeof window.performance < "u" && typeof window.performance.now == "function";
|
|
14190
14190
|
}, e.prototype.startMeasurement = function(t, r) {
|
|
14191
14191
|
var o = this, i = this.getPageVisibility(), a = n.prototype.startMeasurement.call(this, t, r);
|
|
14192
|
-
return
|
|
14193
|
-
var l = a.endMeasurement(
|
|
14192
|
+
return W(W({}, a), { endMeasurement: function(s) {
|
|
14193
|
+
var l = a.endMeasurement(W({ startPageVisibility: i, endPageVisibility: o.getPageVisibility() }, s));
|
|
14194
14194
|
return o.deleteIncompleteSubMeasurements(a), l;
|
|
14195
14195
|
}, discardMeasurement: function() {
|
|
14196
14196
|
a.discardMeasurement(), o.deleteIncompleteSubMeasurements(a), a.measurement.flushMeasurement();
|
|
@@ -14236,7 +14236,7 @@ var Ps = (
|
|
|
14236
14236
|
var o = new Qt(t.id_token, this.cryptoObj), i, a;
|
|
14237
14237
|
if (e.account) {
|
|
14238
14238
|
var s = this.loadAccount(o, e.account.environment, void 0, void 0, e.account.homeAccountId);
|
|
14239
|
-
i = new
|
|
14239
|
+
i = new Jn(s, this.loadIdToken(o, s.homeAccountId, e.account.environment, e.account.tenantId), this.loadAccessToken(e, t, s.homeAccountId, e.account.environment, e.account.tenantId, r), this.loadRefreshToken(e, t, s.homeAccountId, e.account.environment));
|
|
14240
14240
|
} else if (e.authority) {
|
|
14241
14241
|
var l = tr.generateAuthority(e.authority, e.azureCloudOptions), p = {
|
|
14242
14242
|
protocolMode: this.config.auth.protocolMode,
|
|
@@ -14248,11 +14248,11 @@ var Ps = (
|
|
|
14248
14248
|
if (a = new tr(l, this.config.system.networkClient, this.storage, p, this.logger), r.clientInfo) {
|
|
14249
14249
|
this.logger.trace("TokenCache - homeAccountId from options");
|
|
14250
14250
|
var s = this.loadAccount(o, a.hostnameAndPort, r.clientInfo, a.authorityType);
|
|
14251
|
-
i = new
|
|
14251
|
+
i = new Jn(s, this.loadIdToken(o, s.homeAccountId, a.hostnameAndPort, a.tenant), this.loadAccessToken(e, t, s.homeAccountId, a.hostnameAndPort, a.tenant, r), this.loadRefreshToken(e, t, s.homeAccountId, a.hostnameAndPort));
|
|
14252
14252
|
} else if (t.client_info) {
|
|
14253
14253
|
this.logger.trace("TokenCache - homeAccountId from response");
|
|
14254
14254
|
var s = this.loadAccount(o, a.hostnameAndPort, t.client_info, a.authorityType);
|
|
14255
|
-
i = new
|
|
14255
|
+
i = new Jn(s, this.loadIdToken(o, s.homeAccountId, a.hostnameAndPort, a.tenant), this.loadAccessToken(e, t, s.homeAccountId, a.hostnameAndPort, a.tenant, r), this.loadRefreshToken(e, t, s.homeAccountId, a.hostnameAndPort));
|
|
14256
14256
|
} else
|
|
14257
14257
|
throw F.createUnableToLoadTokenError("Please provide clientInfo in the response or options.");
|
|
14258
14258
|
} else
|
|
@@ -14278,7 +14278,7 @@ var Ps = (
|
|
|
14278
14278
|
throw F.createUnableToLoadTokenError("Please ensure server response includes expires_in value.");
|
|
14279
14279
|
if (!a.extendedExpiresOn)
|
|
14280
14280
|
throw F.createUnableToLoadTokenError("Please provide an extendedExpiresOn value in the options.");
|
|
14281
|
-
var s = new
|
|
14281
|
+
var s = new Je(e.scopes).printScopes(), l = a.expiresOn || t.expires_in + (/* @__PURE__ */ new Date()).getTime() / 1e3, p = a.extendedExpiresOn, u = Cn.createAccessTokenEntity(r, o, t.access_token, this.config.auth.clientId, i, s, l, p, this.cryptoObj);
|
|
14282
14282
|
if (this.isBrowserEnvironment)
|
|
14283
14283
|
return this.logger.verbose("TokenCache - loading access token"), this.storage.setAccessTokenCredential(u), u;
|
|
14284
14284
|
throw F.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.");
|
|
@@ -14291,7 +14291,7 @@ var Ps = (
|
|
|
14291
14291
|
throw F.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.");
|
|
14292
14292
|
}, n.prototype.generateAuthenticationResult = function(e, t, r, o) {
|
|
14293
14293
|
var i, a, s, l = w.EMPTY_STRING, p = [], u = null, m;
|
|
14294
|
-
r != null && r.accessToken && (l = r.accessToken.secret, p =
|
|
14294
|
+
r != null && r.accessToken && (l = r.accessToken.secret, p = Je.fromString(r.accessToken.target).asArray(), u = new Date(Number(r.accessToken.expiresOn) * 1e3), m = new Date(Number(r.accessToken.extendedExpiresOn) * 1e3));
|
|
14295
14295
|
var f = (t == null ? void 0 : t.claims.oid) || (t == null ? void 0 : t.claims.sub) || w.EMPTY_STRING, k = (t == null ? void 0 : t.claims.tid) || w.EMPTY_STRING;
|
|
14296
14296
|
return {
|
|
14297
14297
|
authority: o ? o.canonicalAuthority : w.EMPTY_STRING,
|
|
@@ -14340,18 +14340,18 @@ var Ns = (
|
|
|
14340
14340
|
return f.apiId = l, f;
|
|
14341
14341
|
}
|
|
14342
14342
|
return e.prototype.acquireToken = function(t) {
|
|
14343
|
-
return
|
|
14343
|
+
return L(this, void 0, void 0, function() {
|
|
14344
14344
|
var r, o, i, a, s, l, p;
|
|
14345
|
-
return
|
|
14345
|
+
return O(this, function(u) {
|
|
14346
14346
|
switch (u.label) {
|
|
14347
14347
|
case 0:
|
|
14348
14348
|
if (this.logger.trace("SilentAuthCodeClient.acquireToken called"), !t.code)
|
|
14349
14349
|
throw F.createAuthCodeRequiredError();
|
|
14350
|
-
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(t,
|
|
14350
|
+
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(t, Y.Silent)];
|
|
14351
14351
|
case 1:
|
|
14352
14352
|
r = u.sent(), this.browserStorage.updateCacheEntries(r.state, r.nonce, r.authority, r.loginHint || w.EMPTY_STRING, r.account || null), o = this.initializeServerTelemetryManager(this.apiId), u.label = 2;
|
|
14353
14353
|
case 2:
|
|
14354
|
-
return u.trys.push([2, 4, , 5]), i =
|
|
14354
|
+
return u.trys.push([2, 4, , 5]), i = W(W({}, r), { code: t.code }), this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetClientConfiguration, t.correlationId), [4, this.getClientConfiguration(o, r.authority)];
|
|
14355
14355
|
case 3:
|
|
14356
14356
|
return a = u.sent(), s = new Ms(a), this.logger.verbose("Auth code client created"), l = new yi(s, this.browserStorage, i, this.logger, this.config.system, this.performanceClient), [2, l.handleCodeResponseFromServer({
|
|
14357
14357
|
code: t.code,
|
|
@@ -14375,14 +14375,14 @@ var Ns = (
|
|
|
14375
14375
|
}(jn)
|
|
14376
14376
|
);
|
|
14377
14377
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14378
|
-
var
|
|
14378
|
+
var Ls = (
|
|
14379
14379
|
/** @class */
|
|
14380
14380
|
function() {
|
|
14381
14381
|
function n(e) {
|
|
14382
14382
|
this.isBrowserEnvironment = typeof window < "u", this.config = hs(e, this.isBrowserEnvironment), this.initialized = !1, this.logger = new lo(this.config.system.loggerOptions, Hr, Xn), this.networkClient = this.config.system.networkClient, this.navigationClient = this.config.system.navigationClient, this.redirectResponse = /* @__PURE__ */ new Map(), this.hybridAuthCodeResponses = /* @__PURE__ */ new Map(), this.performanceClient = this.isBrowserEnvironment ? new Rs(this.config.auth.clientId, this.config.auth.authority, this.logger, Hr, Xn, this.config.telemetry.application, this.config.system.cryptoOptions) : new ts(this.config.auth.clientId, this.config.auth.authority, this.logger, Hr, Xn, this.config.telemetry.application), this.browserCrypto = this.isBrowserEnvironment ? new As(this.logger, this.performanceClient, this.config.system.cryptoOptions) : vr, this.eventHandler = new ms(this.logger, this.browserCrypto), this.browserStorage = this.isBrowserEnvironment ? new to(this.config.auth.clientId, this.config.cache, this.browserCrypto, this.logger) : os(this.config.auth.clientId, this.logger);
|
|
14383
14383
|
var t = {
|
|
14384
|
-
cacheLocation:
|
|
14385
|
-
temporaryCacheLocation:
|
|
14384
|
+
cacheLocation: Oe.MemoryStorage,
|
|
14385
|
+
temporaryCacheLocation: Oe.MemoryStorage,
|
|
14386
14386
|
storeAuthStateInCookie: !1,
|
|
14387
14387
|
secureCookies: !1,
|
|
14388
14388
|
cacheMigrationEnabled: !1,
|
|
@@ -14391,9 +14391,9 @@ var Os = (
|
|
|
14391
14391
|
this.nativeInternalStorage = new to(this.config.auth.clientId, t, this.browserCrypto, this.logger), this.tokenCache = new Ps(this.config, this.browserStorage, this.logger, this.browserCrypto), this.trackPageVisibilityWithMeasurement = this.trackPageVisibilityWithMeasurement.bind(this);
|
|
14392
14392
|
}
|
|
14393
14393
|
return n.prototype.initialize = function() {
|
|
14394
|
-
return
|
|
14394
|
+
return L(this, void 0, void 0, function() {
|
|
14395
14395
|
var e, t, r, o, i;
|
|
14396
|
-
return
|
|
14396
|
+
return O(this, function(a) {
|
|
14397
14397
|
switch (a.label) {
|
|
14398
14398
|
case 0:
|
|
14399
14399
|
if (this.logger.trace("initialize called"), this.initialized)
|
|
@@ -14422,25 +14422,25 @@ var Os = (
|
|
|
14422
14422
|
});
|
|
14423
14423
|
});
|
|
14424
14424
|
}, n.prototype.handleRedirectPromise = function(e) {
|
|
14425
|
-
return
|
|
14425
|
+
return L(this, void 0, void 0, function() {
|
|
14426
14426
|
var t, r, o, i, a, s, l, p, u = this;
|
|
14427
|
-
return
|
|
14428
|
-
return this.logger.verbose("handleRedirectPromise called"), Ae.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), t = this.getAllAccounts(), this.isBrowserEnvironment ? (r = e || w.EMPTY_STRING, o = this.redirectResponse.get(r), typeof o > "u" ? (this.eventHandler.emitEvent(ne.HANDLE_REDIRECT_START,
|
|
14427
|
+
return O(this, function(m) {
|
|
14428
|
+
return this.logger.verbose("handleRedirectPromise called"), Ae.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), t = this.getAllAccounts(), this.isBrowserEnvironment ? (r = e || w.EMPTY_STRING, o = this.redirectResponse.get(r), typeof o > "u" ? (this.eventHandler.emitEvent(ne.HANDLE_REDIRECT_START, Y.Redirect), this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"), i = this.browserStorage.getCachedNativeRequest(), a = void 0, i && Tn.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider) && this.nativeExtensionProvider && !e ? (this.logger.trace("handleRedirectPromise - acquiring token from native platform"), s = new Un(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.handleRedirectPromise, this.performanceClient, this.nativeExtensionProvider, i.accountId, this.nativeInternalStorage, i.correlationId), a = s.handleRedirectPromise()) : (this.logger.trace("handleRedirectPromise - acquiring token from web flow"), l = this.browserStorage.getTemporaryCache(de.CORRELATION_ID, !0) || w.EMPTY_STRING, p = this.createRedirectClient(l), a = p.handleRedirectPromise(e)), o = a.then(function(f) {
|
|
14429
14429
|
if (f) {
|
|
14430
14430
|
var k = t.length < u.getAllAccounts().length;
|
|
14431
|
-
k ? (u.eventHandler.emitEvent(ne.LOGIN_SUCCESS,
|
|
14431
|
+
k ? (u.eventHandler.emitEvent(ne.LOGIN_SUCCESS, Y.Redirect, f), u.logger.verbose("handleRedirectResponse returned result, login success")) : (u.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_SUCCESS, Y.Redirect, f), u.logger.verbose("handleRedirectResponse returned result, acquire token success"));
|
|
14432
14432
|
}
|
|
14433
|
-
return u.eventHandler.emitEvent(ne.HANDLE_REDIRECT_END,
|
|
14433
|
+
return u.eventHandler.emitEvent(ne.HANDLE_REDIRECT_END, Y.Redirect), f;
|
|
14434
14434
|
}).catch(function(f) {
|
|
14435
|
-
throw t.length > 0 ? u.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_FAILURE,
|
|
14435
|
+
throw t.length > 0 ? u.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_FAILURE, Y.Redirect, null, f) : u.eventHandler.emitEvent(ne.LOGIN_FAILURE, Y.Redirect, null, f), u.eventHandler.emitEvent(ne.HANDLE_REDIRECT_END, Y.Redirect), f;
|
|
14436
14436
|
}), this.redirectResponse.set(r, o)) : this.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call"), [2, o]) : (this.logger.verbose("handleRedirectPromise returns null, not browser environment"), [2, null]);
|
|
14437
14437
|
});
|
|
14438
14438
|
});
|
|
14439
14439
|
}, n.prototype.acquireTokenRedirect = function(e) {
|
|
14440
|
-
return
|
|
14440
|
+
return L(this, void 0, void 0, function() {
|
|
14441
14441
|
var t, r, o, i, a, s = this;
|
|
14442
|
-
return
|
|
14443
|
-
return t = this.getRequestCorrelationId(e), this.logger.verbose("acquireTokenRedirect called", t), this.preflightBrowserEnvironmentCheck(
|
|
14442
|
+
return O(this, function(l) {
|
|
14443
|
+
return t = this.getRequestCorrelationId(e), this.logger.verbose("acquireTokenRedirect called", t), this.preflightBrowserEnvironmentCheck(Y.Redirect), r = this.getAllAccounts().length > 0, r ? this.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_START, Y.Redirect, e) : this.eventHandler.emitEvent(ne.LOGIN_START, Y.Redirect, e), this.nativeExtensionProvider && this.canUseNative(e) ? (i = new Un(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.acquireTokenRedirect, this.performanceClient, this.nativeExtensionProvider, this.getNativeAccountId(e), this.nativeInternalStorage, e.correlationId), o = i.acquireTokenRedirect(e).catch(function(p) {
|
|
14444
14444
|
if (p instanceof Vt && p.isFatal()) {
|
|
14445
14445
|
s.nativeExtensionProvider = void 0;
|
|
14446
14446
|
var u = s.createRedirectClient(e.correlationId);
|
|
@@ -14452,19 +14452,19 @@ var Os = (
|
|
|
14452
14452
|
}
|
|
14453
14453
|
throw s.browserStorage.setInteractionInProgress(!1), p;
|
|
14454
14454
|
})) : (a = this.createRedirectClient(e.correlationId), o = a.acquireToken(e)), [2, o.catch(function(p) {
|
|
14455
|
-
throw r ? s.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_FAILURE,
|
|
14455
|
+
throw r ? s.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_FAILURE, Y.Redirect, null, p) : s.eventHandler.emitEvent(ne.LOGIN_FAILURE, Y.Redirect, null, p), p;
|
|
14456
14456
|
})];
|
|
14457
14457
|
});
|
|
14458
14458
|
});
|
|
14459
14459
|
}, n.prototype.acquireTokenPopup = function(e) {
|
|
14460
14460
|
var t = this, r = this.getRequestCorrelationId(e), o = this.performanceClient.startMeasurement(A.AcquireTokenPopup, r);
|
|
14461
14461
|
try {
|
|
14462
|
-
this.logger.verbose("acquireTokenPopup called", r), this.preflightBrowserEnvironmentCheck(
|
|
14462
|
+
this.logger.verbose("acquireTokenPopup called", r), this.preflightBrowserEnvironmentCheck(Y.Popup);
|
|
14463
14463
|
} catch (l) {
|
|
14464
14464
|
return Promise.reject(l);
|
|
14465
14465
|
}
|
|
14466
14466
|
var i = this.getAllAccounts();
|
|
14467
|
-
i.length > 0 ? this.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_START,
|
|
14467
|
+
i.length > 0 ? this.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_START, Y.Popup, e) : this.eventHandler.emitEvent(ne.LOGIN_START, Y.Popup, e);
|
|
14468
14468
|
var a;
|
|
14469
14469
|
if (this.canUseNative(e))
|
|
14470
14470
|
a = this.acquireTokenNative(e, Ce.acquireTokenPopup).then(function(l) {
|
|
@@ -14491,7 +14491,7 @@ var Os = (
|
|
|
14491
14491
|
}
|
|
14492
14492
|
return a.then(function(l) {
|
|
14493
14493
|
var p = i.length < t.getAllAccounts().length;
|
|
14494
|
-
return p ? t.eventHandler.emitEvent(ne.LOGIN_SUCCESS,
|
|
14494
|
+
return p ? t.eventHandler.emitEvent(ne.LOGIN_SUCCESS, Y.Popup, l) : t.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_SUCCESS, Y.Popup, l), o.addStaticFields({
|
|
14495
14495
|
accessTokenSize: l.accessToken.length,
|
|
14496
14496
|
idTokenSize: l.idToken.length
|
|
14497
14497
|
}), o.endMeasurement({
|
|
@@ -14499,7 +14499,7 @@ var Os = (
|
|
|
14499
14499
|
requestId: l.requestId
|
|
14500
14500
|
}), l;
|
|
14501
14501
|
}).catch(function(l) {
|
|
14502
|
-
return i.length > 0 ? t.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_FAILURE,
|
|
14502
|
+
return i.length > 0 ? t.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_FAILURE, Y.Popup, null, l) : t.eventHandler.emitEvent(ne.LOGIN_FAILURE, Y.Popup, null, l), o.endMeasurement({
|
|
14503
14503
|
errorCode: l.errorCode,
|
|
14504
14504
|
subErrorCode: l.subError,
|
|
14505
14505
|
success: !1
|
|
@@ -14512,16 +14512,16 @@ var Os = (
|
|
|
14512
14512
|
}));
|
|
14513
14513
|
}, n.prototype.ssoSilent = function(e) {
|
|
14514
14514
|
var t;
|
|
14515
|
-
return
|
|
14515
|
+
return L(this, void 0, void 0, function() {
|
|
14516
14516
|
var r, o, i, a, s = this;
|
|
14517
|
-
return
|
|
14518
|
-
return r = this.getRequestCorrelationId(e), o =
|
|
14517
|
+
return O(this, function(l) {
|
|
14518
|
+
return r = this.getRequestCorrelationId(e), o = W(W({}, e), {
|
|
14519
14519
|
// will be PromptValue.NONE or PromptValue.NO_SESSION
|
|
14520
14520
|
prompt: e.prompt,
|
|
14521
14521
|
correlationId: r
|
|
14522
|
-
}), this.preflightBrowserEnvironmentCheck(
|
|
14522
|
+
}), this.preflightBrowserEnvironmentCheck(Y.Silent), this.ssoSilentMeasurement = this.performanceClient.startMeasurement(A.SsoSilent, r), (t = this.ssoSilentMeasurement) === null || t === void 0 || t.increment({
|
|
14523
14523
|
visibilityChangeCount: 0
|
|
14524
|
-
}), document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement), this.logger.verbose("ssoSilent called", r), this.eventHandler.emitEvent(ne.SSO_SILENT_START,
|
|
14524
|
+
}), document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement), this.logger.verbose("ssoSilent called", r), this.eventHandler.emitEvent(ne.SSO_SILENT_START, Y.Silent, o), this.canUseNative(o) ? i = this.acquireTokenNative(o, Ce.ssoSilent).catch(function(p) {
|
|
14525
14525
|
if (p instanceof Vt && p.isFatal()) {
|
|
14526
14526
|
s.nativeExtensionProvider = void 0;
|
|
14527
14527
|
var u = s.createSilentIframeClient(o.correlationId);
|
|
@@ -14530,7 +14530,7 @@ var Os = (
|
|
|
14530
14530
|
throw p;
|
|
14531
14531
|
}) : (a = this.createSilentIframeClient(o.correlationId), i = a.acquireToken(o)), [2, i.then(function(p) {
|
|
14532
14532
|
var u, m;
|
|
14533
|
-
return s.eventHandler.emitEvent(ne.SSO_SILENT_SUCCESS,
|
|
14533
|
+
return s.eventHandler.emitEvent(ne.SSO_SILENT_SUCCESS, Y.Silent, p), (u = s.ssoSilentMeasurement) === null || u === void 0 || u.addStaticFields({
|
|
14534
14534
|
accessTokenSize: p.accessToken.length,
|
|
14535
14535
|
idTokenSize: p.idToken.length
|
|
14536
14536
|
}), (m = s.ssoSilentMeasurement) === null || m === void 0 || m.endMeasurement({
|
|
@@ -14540,7 +14540,7 @@ var Os = (
|
|
|
14540
14540
|
}), p;
|
|
14541
14541
|
}).catch(function(p) {
|
|
14542
14542
|
var u;
|
|
14543
|
-
throw s.eventHandler.emitEvent(ne.SSO_SILENT_FAILURE,
|
|
14543
|
+
throw s.eventHandler.emitEvent(ne.SSO_SILENT_FAILURE, Y.Silent, null, p), (u = s.ssoSilentMeasurement) === null || u === void 0 || u.endMeasurement({
|
|
14544
14544
|
errorCode: p.errorCode,
|
|
14545
14545
|
subErrorCode: p.subError,
|
|
14546
14546
|
success: !1
|
|
@@ -14551,16 +14551,16 @@ var Os = (
|
|
|
14551
14551
|
});
|
|
14552
14552
|
});
|
|
14553
14553
|
}, n.prototype.acquireTokenByCode = function(e) {
|
|
14554
|
-
return
|
|
14554
|
+
return L(this, void 0, void 0, function() {
|
|
14555
14555
|
var t, r, o, i, a = this;
|
|
14556
|
-
return
|
|
14557
|
-
t = this.getRequestCorrelationId(e), this.preflightBrowserEnvironmentCheck(
|
|
14556
|
+
return O(this, function(s) {
|
|
14557
|
+
t = this.getRequestCorrelationId(e), this.preflightBrowserEnvironmentCheck(Y.Silent), this.logger.trace("acquireTokenByCode called", t), this.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_BY_CODE_START, Y.Silent, e), r = this.performanceClient.startMeasurement(A.AcquireTokenByCode, e.correlationId);
|
|
14558
14558
|
try {
|
|
14559
14559
|
if (e.code && e.nativeAccountId)
|
|
14560
14560
|
throw F.createSpaCodeAndNativeAccountIdPresentError();
|
|
14561
14561
|
if (e.code)
|
|
14562
|
-
return o = e.code, i = this.hybridAuthCodeResponses.get(o), i ? (this.logger.verbose("Existing acquireTokenByCode request found", e.correlationId), r.discardMeasurement()) : (this.logger.verbose("Initiating new acquireTokenByCode request", t), i = this.acquireTokenByCodeAsync(
|
|
14563
|
-
return a.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_BY_CODE_SUCCESS,
|
|
14562
|
+
return o = e.code, i = this.hybridAuthCodeResponses.get(o), i ? (this.logger.verbose("Existing acquireTokenByCode request found", e.correlationId), r.discardMeasurement()) : (this.logger.verbose("Initiating new acquireTokenByCode request", t), i = this.acquireTokenByCodeAsync(W(W({}, e), { correlationId: t })).then(function(l) {
|
|
14563
|
+
return a.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_BY_CODE_SUCCESS, Y.Silent, l), a.hybridAuthCodeResponses.delete(o), r.addStaticFields({
|
|
14564
14564
|
accessTokenSize: l.accessToken.length,
|
|
14565
14565
|
idTokenSize: l.idToken.length
|
|
14566
14566
|
}), r.endMeasurement({
|
|
@@ -14569,7 +14569,7 @@ var Os = (
|
|
|
14569
14569
|
requestId: l.requestId
|
|
14570
14570
|
}), l;
|
|
14571
14571
|
}).catch(function(l) {
|
|
14572
|
-
throw a.hybridAuthCodeResponses.delete(o), a.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_BY_CODE_FAILURE,
|
|
14572
|
+
throw a.hybridAuthCodeResponses.delete(o), a.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_BY_CODE_FAILURE, Y.Silent, null, l), r.endMeasurement({
|
|
14573
14573
|
errorCode: l.errorCode,
|
|
14574
14574
|
subErrorCode: l.subError,
|
|
14575
14575
|
success: !1
|
|
@@ -14584,7 +14584,7 @@ var Os = (
|
|
|
14584
14584
|
} else
|
|
14585
14585
|
throw F.createAuthCodeOrNativeAccountIdRequiredError();
|
|
14586
14586
|
} catch (l) {
|
|
14587
|
-
throw this.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_BY_CODE_FAILURE,
|
|
14587
|
+
throw this.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_BY_CODE_FAILURE, Y.Silent, null, l), r.endMeasurement({
|
|
14588
14588
|
errorCode: l instanceof X && l.errorCode || void 0,
|
|
14589
14589
|
subErrorCode: l instanceof X && l.subError || void 0,
|
|
14590
14590
|
success: !1
|
|
@@ -14598,9 +14598,9 @@ var Os = (
|
|
|
14598
14598
|
});
|
|
14599
14599
|
}, n.prototype.acquireTokenByCodeAsync = function(e) {
|
|
14600
14600
|
var t;
|
|
14601
|
-
return
|
|
14601
|
+
return L(this, void 0, void 0, function() {
|
|
14602
14602
|
var r, o, i = this;
|
|
14603
|
-
return
|
|
14603
|
+
return O(this, function(a) {
|
|
14604
14604
|
switch (a.label) {
|
|
14605
14605
|
case 0:
|
|
14606
14606
|
return this.logger.trace("acquireTokenByCodeAsync called", e.correlationId), this.acquireTokenByCodeAsyncMeasurement = this.performanceClient.startMeasurement(A.AcquireTokenByCodeAsync, e.correlationId), (t = this.acquireTokenByCodeAsyncMeasurement) === null || t === void 0 || t.increment({
|
|
@@ -14629,8 +14629,8 @@ var Os = (
|
|
|
14629
14629
|
});
|
|
14630
14630
|
});
|
|
14631
14631
|
}, n.prototype.acquireTokenFromCache = function(e, t, r) {
|
|
14632
|
-
return
|
|
14633
|
-
return
|
|
14632
|
+
return L(this, void 0, void 0, function() {
|
|
14633
|
+
return O(this, function(o) {
|
|
14634
14634
|
switch (this.performanceClient.addQueueMeasurement(A.AcquireTokenFromCache, t.correlationId), r.cacheLookupPolicy) {
|
|
14635
14635
|
case at.Default:
|
|
14636
14636
|
case at.AccessToken:
|
|
@@ -14646,9 +14646,9 @@ var Os = (
|
|
|
14646
14646
|
});
|
|
14647
14647
|
});
|
|
14648
14648
|
}, n.prototype.acquireTokenByRefreshToken = function(e, t) {
|
|
14649
|
-
return
|
|
14649
|
+
return L(this, void 0, void 0, function() {
|
|
14650
14650
|
var r;
|
|
14651
|
-
return
|
|
14651
|
+
return O(this, function(o) {
|
|
14652
14652
|
switch (this.performanceClient.addQueueMeasurement(A.AcquireTokenByRefreshToken, e.correlationId), t.cacheLookupPolicy) {
|
|
14653
14653
|
case at.Default:
|
|
14654
14654
|
case at.AccessTokenAndRefreshToken:
|
|
@@ -14665,30 +14665,30 @@ var Os = (
|
|
|
14665
14665
|
});
|
|
14666
14666
|
});
|
|
14667
14667
|
}, n.prototype.acquireTokenBySilentIframe = function(e) {
|
|
14668
|
-
return
|
|
14668
|
+
return L(this, void 0, void 0, function() {
|
|
14669
14669
|
var t;
|
|
14670
|
-
return
|
|
14670
|
+
return O(this, function(r) {
|
|
14671
14671
|
return this.performanceClient.addQueueMeasurement(A.AcquireTokenBySilentIframe, e.correlationId), t = this.createSilentIframeClient(e.correlationId), this.performanceClient.setPreQueueTime(A.SilentIframeClientAcquireToken, e.correlationId), [2, t.acquireToken(e)];
|
|
14672
14672
|
});
|
|
14673
14673
|
});
|
|
14674
14674
|
}, n.prototype.logout = function(e) {
|
|
14675
|
-
return
|
|
14675
|
+
return L(this, void 0, void 0, function() {
|
|
14676
14676
|
var t;
|
|
14677
|
-
return
|
|
14678
|
-
return t = this.getRequestCorrelationId(e), this.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.", t), [2, this.logoutRedirect(
|
|
14677
|
+
return O(this, function(r) {
|
|
14678
|
+
return t = this.getRequestCorrelationId(e), this.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.", t), [2, this.logoutRedirect(W({ correlationId: t }, e))];
|
|
14679
14679
|
});
|
|
14680
14680
|
});
|
|
14681
14681
|
}, n.prototype.logoutRedirect = function(e) {
|
|
14682
|
-
return
|
|
14682
|
+
return L(this, void 0, void 0, function() {
|
|
14683
14683
|
var t, r;
|
|
14684
|
-
return
|
|
14685
|
-
return t = this.getRequestCorrelationId(e), this.preflightBrowserEnvironmentCheck(
|
|
14684
|
+
return O(this, function(o) {
|
|
14685
|
+
return t = this.getRequestCorrelationId(e), this.preflightBrowserEnvironmentCheck(Y.Redirect), r = this.createRedirectClient(t), [2, r.logout(e)];
|
|
14686
14686
|
});
|
|
14687
14687
|
});
|
|
14688
14688
|
}, n.prototype.logoutPopup = function(e) {
|
|
14689
14689
|
try {
|
|
14690
14690
|
var t = this.getRequestCorrelationId(e);
|
|
14691
|
-
this.preflightBrowserEnvironmentCheck(
|
|
14691
|
+
this.preflightBrowserEnvironmentCheck(Y.Popup);
|
|
14692
14692
|
var r = this.createPopupClient(t);
|
|
14693
14693
|
return r.logout(e);
|
|
14694
14694
|
} catch (o) {
|
|
@@ -14716,15 +14716,15 @@ var Os = (
|
|
|
14716
14716
|
}, n.prototype.getActiveAccount = function() {
|
|
14717
14717
|
return this.browserStorage.getActiveAccount();
|
|
14718
14718
|
}, n.prototype.preflightBrowserEnvironmentCheck = function(e, t) {
|
|
14719
|
-
if (t === void 0 && (t = !0), this.logger.verbose("preflightBrowserEnvironmentCheck started"), Ae.blockNonBrowserEnvironment(this.isBrowserEnvironment), Ae.blockRedirectInIframe(e, this.config.system.allowRedirectInIframe), Ae.blockReloadInHiddenIframes(), Ae.blockAcquireTokenInPopups(), Ae.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), e ===
|
|
14719
|
+
if (t === void 0 && (t = !0), this.logger.verbose("preflightBrowserEnvironmentCheck started"), Ae.blockNonBrowserEnvironment(this.isBrowserEnvironment), Ae.blockRedirectInIframe(e, this.config.system.allowRedirectInIframe), Ae.blockReloadInHiddenIframes(), Ae.blockAcquireTokenInPopups(), Ae.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), e === Y.Redirect && this.config.cache.cacheLocation === Oe.MemoryStorage && !this.config.cache.storeAuthStateInCookie)
|
|
14720
14720
|
throw Tr.createInMemoryRedirectUnavailableError();
|
|
14721
|
-
(e ===
|
|
14721
|
+
(e === Y.Redirect || e === Y.Popup) && this.preflightInteractiveRequest(t);
|
|
14722
14722
|
}, n.prototype.preflightInteractiveRequest = function(e) {
|
|
14723
14723
|
this.logger.verbose("preflightInteractiveRequest called, validating app environment"), Ae.blockReloadInHiddenIframes(), e && this.browserStorage.setInteractionInProgress(!0);
|
|
14724
14724
|
}, n.prototype.acquireTokenNative = function(e, t, r) {
|
|
14725
|
-
return
|
|
14725
|
+
return L(this, void 0, void 0, function() {
|
|
14726
14726
|
var o;
|
|
14727
|
-
return
|
|
14727
|
+
return O(this, function(i) {
|
|
14728
14728
|
if (this.logger.trace("acquireTokenNative called"), !this.nativeExtensionProvider)
|
|
14729
14729
|
throw F.createNativeConnectionNotEstablishedError();
|
|
14730
14730
|
return o = new Un(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, t, this.performanceClient, this.nativeExtensionProvider, r || this.getNativeAccountId(e), this.nativeInternalStorage, e.correlationId), [2, o.acquireToken(e)];
|
|
@@ -14789,7 +14789,7 @@ var Os = (
|
|
|
14789
14789
|
}()
|
|
14790
14790
|
);
|
|
14791
14791
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14792
|
-
var
|
|
14792
|
+
var Os = (
|
|
14793
14793
|
/** @class */
|
|
14794
14794
|
function(n) {
|
|
14795
14795
|
Qe(e, n);
|
|
@@ -14798,22 +14798,22 @@ var Ls = (
|
|
|
14798
14798
|
return r.astsAsyncMeasurement = void 0, r.activeSilentTokenRequests = /* @__PURE__ */ new Map(), r.trackPageVisibility = r.trackPageVisibility.bind(r), r;
|
|
14799
14799
|
}
|
|
14800
14800
|
return e.prototype.loginRedirect = function(t) {
|
|
14801
|
-
return
|
|
14801
|
+
return L(this, void 0, void 0, function() {
|
|
14802
14802
|
var r;
|
|
14803
|
-
return
|
|
14804
|
-
return r = this.getRequestCorrelationId(t), this.logger.verbose("loginRedirect called", r), [2, this.acquireTokenRedirect(
|
|
14803
|
+
return O(this, function(o) {
|
|
14804
|
+
return r = this.getRequestCorrelationId(t), this.logger.verbose("loginRedirect called", r), [2, this.acquireTokenRedirect(W({ correlationId: r }, t || Do))];
|
|
14805
14805
|
});
|
|
14806
14806
|
});
|
|
14807
14807
|
}, e.prototype.loginPopup = function(t) {
|
|
14808
14808
|
var r = this.getRequestCorrelationId(t);
|
|
14809
|
-
return this.logger.verbose("loginPopup called", r), this.acquireTokenPopup(
|
|
14809
|
+
return this.logger.verbose("loginPopup called", r), this.acquireTokenPopup(W({ correlationId: r }, t || Do));
|
|
14810
14810
|
}, e.prototype.acquireTokenSilent = function(t) {
|
|
14811
|
-
return
|
|
14811
|
+
return L(this, void 0, void 0, function() {
|
|
14812
14812
|
var r, o, i, a, s, l, p, u = this;
|
|
14813
|
-
return
|
|
14813
|
+
return O(this, function(m) {
|
|
14814
14814
|
if (r = this.getRequestCorrelationId(t), o = this.performanceClient.startMeasurement(A.AcquireTokenSilent, r), o.addStaticFields({
|
|
14815
14815
|
cacheLookupPolicy: t.cacheLookupPolicy
|
|
14816
|
-
}), this.preflightBrowserEnvironmentCheck(
|
|
14816
|
+
}), this.preflightBrowserEnvironmentCheck(Y.Silent), this.logger.verbose("acquireTokenSilent called", r), i = t.account || this.getActiveAccount(), !i)
|
|
14817
14817
|
throw F.createNoAccountError();
|
|
14818
14818
|
return a = {
|
|
14819
14819
|
clientId: this.config.auth.clientId,
|
|
@@ -14826,7 +14826,7 @@ var Ls = (
|
|
|
14826
14826
|
resourceRequestUri: t.resourceRequestUri,
|
|
14827
14827
|
shrClaims: t.shrClaims,
|
|
14828
14828
|
sshKid: t.sshKid
|
|
14829
|
-
}, s = JSON.stringify(a), l = this.activeSilentTokenRequests.get(s), typeof l > "u" ? (this.logger.verbose("acquireTokenSilent called for the first time, storing active request", r), this.performanceClient.setPreQueueTime(A.AcquireTokenSilentAsync, r), p = this.acquireTokenSilentAsync(
|
|
14829
|
+
}, s = JSON.stringify(a), l = this.activeSilentTokenRequests.get(s), typeof l > "u" ? (this.logger.verbose("acquireTokenSilent called for the first time, storing active request", r), this.performanceClient.setPreQueueTime(A.AcquireTokenSilentAsync, r), p = this.acquireTokenSilentAsync(W(W({}, t), { correlationId: r }), i).then(function(f) {
|
|
14830
14830
|
return u.activeSilentTokenRequests.delete(s), o.addStaticFields({
|
|
14831
14831
|
accessTokenSize: f.accessToken.length,
|
|
14832
14832
|
idTokenSize: f.idToken.length
|
|
@@ -14852,17 +14852,17 @@ var Ls = (
|
|
|
14852
14852
|
}));
|
|
14853
14853
|
}, e.prototype.acquireTokenSilentAsync = function(t, r) {
|
|
14854
14854
|
var o;
|
|
14855
|
-
return
|
|
14855
|
+
return L(this, void 0, void 0, function() {
|
|
14856
14856
|
var i, a, s, l, p, u = this;
|
|
14857
|
-
return
|
|
14857
|
+
return O(this, function(m) {
|
|
14858
14858
|
switch (m.label) {
|
|
14859
14859
|
case 0:
|
|
14860
|
-
return this.performanceClient.addQueueMeasurement(A.AcquireTokenSilentAsync, t.correlationId), this.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_START,
|
|
14860
|
+
return this.performanceClient.addQueueMeasurement(A.AcquireTokenSilentAsync, t.correlationId), this.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_START, Y.Silent, t), this.astsAsyncMeasurement = this.performanceClient.startMeasurement(A.AcquireTokenSilentAsync, t.correlationId), (o = this.astsAsyncMeasurement) === null || o === void 0 || o.increment({
|
|
14861
14861
|
visibilityChangeCount: 0
|
|
14862
|
-
}), document.addEventListener("visibilitychange", this.trackPageVisibility), Tn.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider, t.authenticationScheme) && r.nativeAccountId ? (this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform"), a =
|
|
14863
|
-
return
|
|
14862
|
+
}), document.addEventListener("visibilitychange", this.trackPageVisibility), Tn.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider, t.authenticationScheme) && r.nativeAccountId ? (this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform"), a = W(W({}, t), { account: r }), i = this.acquireTokenNative(a, Ce.acquireTokenSilent_silentFlow).catch(function(f) {
|
|
14863
|
+
return L(u, void 0, void 0, function() {
|
|
14864
14864
|
var k;
|
|
14865
|
-
return
|
|
14865
|
+
return O(this, function(E) {
|
|
14866
14866
|
if (f instanceof Vt && f.isFatal())
|
|
14867
14867
|
return this.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"), this.nativeExtensionProvider = void 0, k = this.createSilentIframeClient(t.correlationId), [2, k.acquireToken(t)];
|
|
14868
14868
|
throw f;
|
|
@@ -14872,14 +14872,14 @@ var Ls = (
|
|
|
14872
14872
|
case 1:
|
|
14873
14873
|
return this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow"), s = this.createSilentCacheClient(t.correlationId), this.performanceClient.setPreQueueTime(A.InitializeSilentRequest, t.correlationId), [4, s.initializeSilentRequest(t, r)];
|
|
14874
14874
|
case 2:
|
|
14875
|
-
l = m.sent(), p =
|
|
14875
|
+
l = m.sent(), p = W(W({}, t), {
|
|
14876
14876
|
// set the request's CacheLookupPolicy to Default if it was not optionally passed in
|
|
14877
14877
|
cacheLookupPolicy: t.cacheLookupPolicy || at.Default
|
|
14878
14878
|
}), this.performanceClient.setPreQueueTime(A.AcquireTokenFromCache, l.correlationId), i = this.acquireTokenFromCache(s, l, p).catch(function(f) {
|
|
14879
14879
|
if (p.cacheLookupPolicy === at.AccessToken)
|
|
14880
14880
|
throw f;
|
|
14881
|
-
return Ae.blockReloadInHiddenIframes(), u.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_NETWORK_START,
|
|
14882
|
-
var E = k instanceof Sn, R = k instanceof Mt, q = k.errorCode ===
|
|
14881
|
+
return Ae.blockReloadInHiddenIframes(), u.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_NETWORK_START, Y.Silent, l), u.performanceClient.setPreQueueTime(A.AcquireTokenByRefreshToken, l.correlationId), u.acquireTokenByRefreshToken(l, p).catch(function(k) {
|
|
14882
|
+
var E = k instanceof Sn, R = k instanceof Mt, q = k.errorCode === Ln.noTokensFoundError.code, K = k.errorCode === Pt.INVALID_GRANT_ERROR;
|
|
14883
14883
|
if ((!E || !K || R || p.cacheLookupPolicy === at.AccessTokenAndRefreshToken || p.cacheLookupPolicy === at.RefreshToken) && p.cacheLookupPolicy !== at.Skip && !q)
|
|
14884
14884
|
throw k;
|
|
14885
14885
|
return u.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.", t.correlationId), u.performanceClient.setPreQueueTime(A.AcquireTokenBySilentIframe, l.correlationId), u.acquireTokenBySilentIframe(l);
|
|
@@ -14888,7 +14888,7 @@ var Ls = (
|
|
|
14888
14888
|
case 3:
|
|
14889
14889
|
return [2, i.then(function(f) {
|
|
14890
14890
|
var k;
|
|
14891
|
-
return u.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_SUCCESS,
|
|
14891
|
+
return u.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_SUCCESS, Y.Silent, f), (k = u.astsAsyncMeasurement) === null || k === void 0 || k.endMeasurement({
|
|
14892
14892
|
success: !0,
|
|
14893
14893
|
fromCache: f.fromCache,
|
|
14894
14894
|
isNativeBroker: f.fromNativeBroker,
|
|
@@ -14896,7 +14896,7 @@ var Ls = (
|
|
|
14896
14896
|
}), f;
|
|
14897
14897
|
}).catch(function(f) {
|
|
14898
14898
|
var k;
|
|
14899
|
-
throw u.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_FAILURE,
|
|
14899
|
+
throw u.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_FAILURE, Y.Silent, null, f), (k = u.astsAsyncMeasurement) === null || k === void 0 || k.endMeasurement({
|
|
14900
14900
|
errorCode: f.errorCode,
|
|
14901
14901
|
subErrorCode: f.subError,
|
|
14902
14902
|
success: !1
|
|
@@ -14908,7 +14908,7 @@ var Ls = (
|
|
|
14908
14908
|
});
|
|
14909
14909
|
});
|
|
14910
14910
|
}, e;
|
|
14911
|
-
}(
|
|
14911
|
+
}(Ls)
|
|
14912
14912
|
);
|
|
14913
14913
|
class zs extends Bi {
|
|
14914
14914
|
async login(e) {
|
|
@@ -14940,7 +14940,7 @@ class zs extends Bi {
|
|
|
14940
14940
|
cacheLocation: "localStorage"
|
|
14941
14941
|
}
|
|
14942
14942
|
};
|
|
14943
|
-
return new
|
|
14943
|
+
return new Os(i);
|
|
14944
14944
|
}
|
|
14945
14945
|
getCurrentUrl() {
|
|
14946
14946
|
return window.location.href.split(/[?#]/)[0];
|
|
@@ -14996,7 +14996,7 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
14996
14996
|
tt.microsoftSDK(r, this.$storex)
|
|
14997
14997
|
);
|
|
14998
14998
|
if (i)
|
|
14999
|
-
return this.microsoftLoad = !1, this.microsoftSSOLoad = !1,
|
|
14999
|
+
return this.microsoftLoad = !1, this.microsoftSSOLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(i);
|
|
15000
15000
|
if (a.data.success) {
|
|
15001
15001
|
if (this.display === "popup")
|
|
15002
15002
|
return (o = window.parent) == null ? void 0 : o.postMessage(
|
|
@@ -15008,7 +15008,7 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15008
15008
|
}, 1e3);
|
|
15009
15009
|
} else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
|
|
15010
15010
|
} else
|
|
15011
|
-
this.microsoftLoad = !1, this.microsoftSSOLoad = !1,
|
|
15011
|
+
this.microsoftLoad = !1, this.microsoftSSOLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
15012
15012
|
}
|
|
15013
15013
|
}
|
|
15014
15014
|
}, Bn = {
|
|
@@ -15162,12 +15162,12 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15162
15162
|
localStorage.removeItem("pkce_code_verifier");
|
|
15163
15163
|
let r = { accessToken: (o = t.data) == null ? void 0 : o.access_token, domain: n.domain };
|
|
15164
15164
|
if (this.display === "popup" && (r.response_type = "code"), [e, t] = await ve(tt.oktaSDK(r, this.$storex)), e)
|
|
15165
|
-
return this.oktaLoad = !1,
|
|
15165
|
+
return this.oktaLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(e);
|
|
15166
15166
|
if (t.data.success) {
|
|
15167
15167
|
if (this.display === "popup")
|
|
15168
15168
|
return (i = window.parent) == null ? void 0 : i.postMessage({ code: t.data.auth_code, state: this.$route.query.state }, "*");
|
|
15169
15169
|
await this.loginSetup(t), await this.getLoggedInAccounts(), this.$router.push("/" + t.data.data.username + "#edit"), setTimeout(() => {
|
|
15170
|
-
this.appleLoad = !1,
|
|
15170
|
+
this.appleLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
15171
15171
|
}, 1e3);
|
|
15172
15172
|
} else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
|
|
15173
15173
|
},
|
|
@@ -15190,7 +15190,7 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15190
15190
|
const a = new URLSearchParams(e);
|
|
15191
15191
|
t = a.get("client_id"), r = a.get("domain"), o = a.get("platform");
|
|
15192
15192
|
}
|
|
15193
|
-
window.opener ? (window.opener.postMessage(i, location.origin), window.close()) : (this.isNative && this.isiOS && await fr.close(),
|
|
15193
|
+
window.opener ? (window.opener.postMessage(i, location.origin), window.close()) : (this.isNative && this.isiOS && await fr.close(), $.$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"), $.$emit("ssoEvent", { name: "setLoading", data: !1 }));
|
|
15194
15194
|
}
|
|
15195
15195
|
}
|
|
15196
15196
|
}, Nr = {
|
|
@@ -15250,11 +15250,11 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15250
15250
|
if (this.$route.query.code && (n = this.$route.query.code), window.opener)
|
|
15251
15251
|
window.opener.postMessage({ type: "saml", code: n }, "*"), this.closeWindow();
|
|
15252
15252
|
else {
|
|
15253
|
-
if (this.isNative && this.isiOS && await fr.close(),
|
|
15253
|
+
if (this.isNative && this.isiOS && await fr.close(), $.$emit("ssoEvent", { name: "setLoading", data: !0 }), n && ((this.display === "popup" || this.display === "npm") && (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")) {
|
|
15254
15254
|
let t = "https://auth.tapni.com/callback/auth";
|
|
15255
15255
|
return this.realm === "dashboard" && (t = "https://business.tapni.com/login"), location.href = t + "?code=" + n + "&code_verifier=" + localStorage.getItem("pkce_code_verifier");
|
|
15256
15256
|
}
|
|
15257
|
-
|
|
15257
|
+
$.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
15258
15258
|
}
|
|
15259
15259
|
}
|
|
15260
15260
|
}
|
|
@@ -15297,7 +15297,7 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15297
15297
|
},
|
|
15298
15298
|
refreshQrCode() {
|
|
15299
15299
|
var n, e;
|
|
15300
|
-
this.qrCode && ((e = (n = document.getElementById("qrCodeContainer")) == null ? void 0 : n.childNodes[0]) == null || e.remove()), this.qrCodeHash = this.generateRandomHash(), this.qrCode = new
|
|
15300
|
+
this.qrCode && ((e = (n = document.getElementById("qrCodeContainer")) == null ? void 0 : n.childNodes[0]) == null || e.remove()), this.qrCodeHash = this.generateRandomHash(), this.qrCode = new $o({
|
|
15301
15301
|
width: 300,
|
|
15302
15302
|
height: 300,
|
|
15303
15303
|
type: "png",
|
|
@@ -15376,10 +15376,10 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15376
15376
|
if (this.$route.path === "/login/callback/okta") return await this.handleOktaRedirect();
|
|
15377
15377
|
if (this.$route.path === "/login/callback/saml") return await this.handleSamlRedirect();
|
|
15378
15378
|
this.$route.query.qrLogin && this.changeLoginToQr(), setTimeout(() => {
|
|
15379
|
-
this.$storex && this.$storex.token ? this.$router.push(this.home) :
|
|
15379
|
+
this.$storex && this.$storex.token ? this.$router.push(this.home) : $.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
15380
15380
|
}, 2500);
|
|
15381
15381
|
}
|
|
15382
|
-
|
|
15382
|
+
$.$on("toggleOTPField", () => {
|
|
15383
15383
|
this.showOTP = !this.showOTP;
|
|
15384
15384
|
});
|
|
15385
15385
|
},
|
|
@@ -15412,10 +15412,10 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15412
15412
|
t && console.error(t), this.submitted = !1, r === !0 && (this.emailOrUsername = "", this.password = "");
|
|
15413
15413
|
},
|
|
15414
15414
|
close() {
|
|
15415
|
-
|
|
15415
|
+
$.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
|
|
15416
15416
|
},
|
|
15417
15417
|
createAccountModal() {
|
|
15418
|
-
|
|
15418
|
+
$.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: {} });
|
|
15419
15419
|
}
|
|
15420
15420
|
},
|
|
15421
15421
|
watch: {
|
|
@@ -15436,13 +15436,13 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15436
15436
|
}, Vs = ["type", "placeholder"], Qs = {
|
|
15437
15437
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
15438
15438
|
class: "responsive-image password-reveal-icon"
|
|
15439
|
-
},
|
|
15439
|
+
}, $s = {
|
|
15440
15440
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
15441
15441
|
class: "responsive-image password-reveal-icon"
|
|
15442
|
-
},
|
|
15442
|
+
}, Ys = {
|
|
15443
15443
|
key: 1,
|
|
15444
15444
|
class: "page-login-field half-bottom"
|
|
15445
|
-
},
|
|
15445
|
+
}, Ws = ["placeholder"], Js = {
|
|
15446
15446
|
type: "submit",
|
|
15447
15447
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
15448
15448
|
}, Xs = { key: 0 }, Zs = {
|
|
@@ -15546,12 +15546,12 @@ function gc(n, e, t, r, o, i) {
|
|
|
15546
15546
|
me(_("img", Qs, null, 512), [
|
|
15547
15547
|
[Ct, !o.revealPassword]
|
|
15548
15548
|
]),
|
|
15549
|
-
me(_("img",
|
|
15549
|
+
me(_("img", $s, null, 512), [
|
|
15550
15550
|
[Ct, o.revealPassword]
|
|
15551
15551
|
])
|
|
15552
15552
|
])
|
|
15553
15553
|
])),
|
|
15554
|
-
o.showOTP ? (N(), x("div",
|
|
15554
|
+
o.showOTP ? (N(), x("div", Ys, [
|
|
15555
15555
|
e[20] || (e[20] = _("i", { style: { "padding-top": "15px" } }, [
|
|
15556
15556
|
_("img", {
|
|
15557
15557
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
@@ -15566,12 +15566,12 @@ function gc(n, e, t, r, o, i) {
|
|
|
15566
15566
|
name: "otpToken",
|
|
15567
15567
|
required: "",
|
|
15568
15568
|
minlength: "6"
|
|
15569
|
-
}, null, 8,
|
|
15569
|
+
}, null, 8, Ws), [
|
|
15570
15570
|
[kt, o.otpToken]
|
|
15571
15571
|
]),
|
|
15572
15572
|
e[21] || (e[21] = _("em", null, null, -1))
|
|
15573
15573
|
])) : ce("", !0),
|
|
15574
|
-
_("button",
|
|
15574
|
+
_("button", Js, [
|
|
15575
15575
|
o.submitted ? (N(), x("span", Zs)) : (N(), x("span", Xs, D(n.ssoLang[n.appLanguage].login), 1))
|
|
15576
15576
|
])
|
|
15577
15577
|
])) : ce("", !0),
|
|
@@ -15742,7 +15742,7 @@ const go = /* @__PURE__ */ _t(Bs, [["render", gc]]), mc = /* @__PURE__ */ Object
|
|
|
15742
15742
|
console.log("switch", n);
|
|
15743
15743
|
},
|
|
15744
15744
|
toggleLanguageModal() {
|
|
15745
|
-
|
|
15745
|
+
$.$emit("toggleSSOLanguageModal");
|
|
15746
15746
|
},
|
|
15747
15747
|
logoutAccount() {
|
|
15748
15748
|
this.logout({ refreshToken: this.refreshTokens[0], sendRequest: !0 });
|
|
@@ -15752,11 +15752,11 @@ const go = /* @__PURE__ */ _t(Bs, [["render", gc]]), mc = /* @__PURE__ */ Object
|
|
|
15752
15752
|
class: "page-login content-boxed content-boxed-padding center-text",
|
|
15753
15753
|
style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
|
|
15754
15754
|
}, yc = { class: "bold full-top no-bottom center-text" }, wc = { class: "full-bottom half-top center-text font-16" };
|
|
15755
|
-
const bc = { class: "container left-text" }, kc = { class: "firstRow" }, Cc = ["src"], Ec = ["src"], Tc = { class: "firstRow" }, Sc = ["src"], Ic = ["src"], Ac = { class: "firstRow" }, Rc = ["src"], Pc = { class: "red-text" }, Mc = ["src"], Nc = { class: "moreFooter" },
|
|
15755
|
+
const bc = { class: "container left-text" }, kc = { class: "firstRow" }, Cc = ["src"], Ec = ["src"], Tc = { class: "firstRow" }, Sc = ["src"], Ic = ["src"], Ac = { class: "firstRow" }, Rc = ["src"], Pc = { class: "red-text" }, Mc = ["src"], Nc = { class: "moreFooter" }, Lc = {
|
|
15756
15756
|
class: "app-version",
|
|
15757
15757
|
style: { "margin-top": "10px" }
|
|
15758
15758
|
};
|
|
15759
|
-
function
|
|
15759
|
+
function Oc(n, e, t, r, o, i) {
|
|
15760
15760
|
const a = fn("router-link");
|
|
15761
15761
|
return N(), x("div", vc, [
|
|
15762
15762
|
e[9] || (e[9] = _("br", null, null, -1)),
|
|
@@ -15820,13 +15820,13 @@ function Lc(n, e, t, r, o, i) {
|
|
|
15820
15820
|
])
|
|
15821
15821
|
]),
|
|
15822
15822
|
_("div", Nc, [
|
|
15823
|
-
_("p",
|
|
15823
|
+
_("p", Lc, D(n.ssoLang[n.appLanguage].version) + ": " + D(i.appVersion), 1),
|
|
15824
15824
|
ce("", !0)
|
|
15825
15825
|
])
|
|
15826
15826
|
])
|
|
15827
15827
|
]);
|
|
15828
15828
|
}
|
|
15829
|
-
const mo = /* @__PURE__ */ _t(_c, [["render",
|
|
15829
|
+
const mo = /* @__PURE__ */ _t(_c, [["render", Oc]]), zc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15830
15830
|
__proto__: null,
|
|
15831
15831
|
default: mo
|
|
15832
15832
|
}, Symbol.toStringTag, { value: "Module" })), xc = {
|
|
@@ -15855,7 +15855,7 @@ const mo = /* @__PURE__ */ _t(_c, [["render", Lc]]), zc = /* @__PURE__ */ Object
|
|
|
15855
15855
|
};
|
|
15856
15856
|
},
|
|
15857
15857
|
mounted() {
|
|
15858
|
-
this.isModal || (this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth &&
|
|
15858
|
+
this.isModal || (this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && $.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.invitationCode = this.$route.query.ic || "", this.$route.query.username && (this.usernameRegister = !0, this.emailLogin = !0, this.username = this.$route.query.username), this.$route.query.ref ? this.referral = this.$route.query.ref : this.$storex.referral && (this.referral = this.$storex.referral));
|
|
15859
15859
|
},
|
|
15860
15860
|
methods: {
|
|
15861
15861
|
async submit() {
|
|
@@ -15874,13 +15874,13 @@ const mo = /* @__PURE__ */ _t(_c, [["render", Lc]]), zc = /* @__PURE__ */ Object
|
|
|
15874
15874
|
captchaToken: await this.getCaptchaToken("account_verify"),
|
|
15875
15875
|
ref: this.referral
|
|
15876
15876
|
}, e = await this.register(n);
|
|
15877
|
-
this.submitted = !1, e.data && e.data.success && (e.data.message === "SUCCESS_REGISTER" ? (this.isModal ?
|
|
15877
|
+
this.submitted = !1, e.data && e.data.success && (e.data.message === "SUCCESS_REGISTER" ? (this.isModal ? $.$emit("ssoEvent", { name: "toggleAddAccountModalVerify", data: !1 }) : this.$router.push("/verify"), this.successSnack(this.ssoLang[this.appLanguage].register_success), this.formButtonText = this.ssoLang[this.appLanguage].check_your_inbox) : e.data.message === "SUCCESS_LOGIN" && (this.display !== "popup" && (await this.loginSetup({ ...e, isModal: n.isModal }), await this.getLoggedInAccounts()), await this.loginSuccess({ ...e, isModal: n.isModal })));
|
|
15878
15878
|
},
|
|
15879
15879
|
close() {
|
|
15880
|
-
|
|
15880
|
+
$.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
|
|
15881
15881
|
},
|
|
15882
15882
|
loginAccountModal() {
|
|
15883
|
-
|
|
15883
|
+
$.$emit("ssoEvent", { name: "toggleAddAccountModalLogin", data: !1 });
|
|
15884
15884
|
}
|
|
15885
15885
|
},
|
|
15886
15886
|
watch: {
|
|
@@ -15897,13 +15897,13 @@ const mo = /* @__PURE__ */ _t(_c, [["render", Lc]]), zc = /* @__PURE__ */ Object
|
|
|
15897
15897
|
}, Bc = { class: "half-bottom small-top center-text color-black" }, Dc = { key: 0 }, Hc = { key: 1 }, jc = { class: "page-login-field half-top" }, qc = ["placeholder"], Fc = { class: "page-login-field half-top" }, Kc = ["placeholder", "disabled"], Gc = { class: "page-login-field half-top half-bottom" }, Vc = ["type", "placeholder"], Qc = {
|
|
15898
15898
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
15899
15899
|
class: "responsive-image password-reveal-icon"
|
|
15900
|
-
},
|
|
15900
|
+
}, $c = {
|
|
15901
15901
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
15902
15902
|
class: "responsive-image password-reveal-icon"
|
|
15903
|
-
},
|
|
15903
|
+
}, Yc = {
|
|
15904
15904
|
type: "submit",
|
|
15905
15905
|
class: "button black-button google-button bg-tapni-grey pointer button-90 button-center uppercase button-rounded bold full-top"
|
|
15906
|
-
},
|
|
15906
|
+
}, Wc = { key: 0 }, Jc = {
|
|
15907
15907
|
key: 1,
|
|
15908
15908
|
class: "button--loading button__loader"
|
|
15909
15909
|
}, Xc = { key: 0 }, Zc = {
|
|
@@ -16021,13 +16021,13 @@ function sl(n, e, t, r, o, i) {
|
|
|
16021
16021
|
me(_("img", Qc, null, 512), [
|
|
16022
16022
|
[Ct, !o.revealPassword]
|
|
16023
16023
|
]),
|
|
16024
|
-
me(_("img",
|
|
16024
|
+
me(_("img", $c, null, 512), [
|
|
16025
16025
|
[Ct, o.revealPassword]
|
|
16026
16026
|
])
|
|
16027
16027
|
])
|
|
16028
16028
|
]),
|
|
16029
|
-
_("button",
|
|
16030
|
-
o.submitted ? (N(), x("span",
|
|
16029
|
+
_("button", Yc, [
|
|
16030
|
+
o.submitted ? (N(), x("span", Jc)) : (N(), x("span", Wc, D(o.formButtonText), 1))
|
|
16031
16031
|
])
|
|
16032
16032
|
])) : ce("", !0),
|
|
16033
16033
|
e[26] || (e[26] = _("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1)),
|
|
@@ -16134,7 +16134,7 @@ const _o = /* @__PURE__ */ _t(xc, [["render", sl]]), cl = /* @__PURE__ */ Object
|
|
|
16134
16134
|
},
|
|
16135
16135
|
methods: {
|
|
16136
16136
|
init() {
|
|
16137
|
-
this.isLoggedIn ? this.$router.push(this.home) : (this.$storex.verifyEmail && (this.email = this.$storex.verifyEmail), this.$route.hash === "#reset" && (this.action = "reset"), this.$route.query.e && (this.email = this.$route.query.e), this.$route.query.c && (this.code = this.$route.query.c),
|
|
16137
|
+
this.isLoggedIn ? this.$router.push(this.home) : (this.$storex.verifyEmail && (this.email = this.$storex.verifyEmail), this.$route.hash === "#reset" && (this.action = "reset"), this.$route.query.e && (this.email = this.$route.query.e), this.$route.query.c && (this.code = this.$route.query.c), $.$emit("ssoEvent", { name: "setLoading", data: !1 }));
|
|
16138
16138
|
},
|
|
16139
16139
|
async submit() {
|
|
16140
16140
|
if (this.code.length !== 6)
|
|
@@ -16148,13 +16148,13 @@ const _o = /* @__PURE__ */ _t(xc, [["render", sl]]), cl = /* @__PURE__ */ Object
|
|
|
16148
16148
|
if (this.submitted) return !1;
|
|
16149
16149
|
this.submitted = !0;
|
|
16150
16150
|
let e = await this.verify(n);
|
|
16151
|
-
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 = "",
|
|
16151
|
+
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 = "", $.$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;
|
|
16152
16152
|
},
|
|
16153
16153
|
registerAccountModal() {
|
|
16154
|
-
|
|
16154
|
+
$.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: !1 });
|
|
16155
16155
|
},
|
|
16156
16156
|
close() {
|
|
16157
|
-
|
|
16157
|
+
$.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
|
|
16158
16158
|
}
|
|
16159
16159
|
},
|
|
16160
16160
|
watch: {
|
|
@@ -16363,12 +16363,12 @@ var Ei = { exports: {} };
|
|
|
16363
16363
|
}, toString: function(T) {
|
|
16364
16364
|
return (T || E).stringify(this);
|
|
16365
16365
|
}, concat: function(T) {
|
|
16366
|
-
var H = this.words, G = T.words,
|
|
16367
|
-
if (this.clamp(),
|
|
16366
|
+
var H = this.words, G = T.words, J = this.sigBytes, te = T.sigBytes;
|
|
16367
|
+
if (this.clamp(), J % 4) for (var Z = 0; Z < te; Z++) {
|
|
16368
16368
|
var ye = G[Z >>> 2] >>> 24 - Z % 4 * 8 & 255;
|
|
16369
|
-
H[
|
|
16369
|
+
H[J + Z >>> 2] |= ye << 24 - (J + Z) % 4 * 8;
|
|
16370
16370
|
}
|
|
16371
|
-
else for (Z = 0; Z < te; Z += 4) H[
|
|
16371
|
+
else for (Z = 0; Z < te; Z += 4) H[J + Z >>> 2] = G[Z >>> 2];
|
|
16372
16372
|
return this.sigBytes += te, this;
|
|
16373
16373
|
}, clamp: function() {
|
|
16374
16374
|
var T = this.words, H = this.sigBytes;
|
|
@@ -16377,35 +16377,35 @@ var Ei = { exports: {} };
|
|
|
16377
16377
|
var T = m.clone.call(this);
|
|
16378
16378
|
return T.words = this.words.slice(0), T;
|
|
16379
16379
|
}, random: function(T) {
|
|
16380
|
-
for (var H, G = [],
|
|
16380
|
+
for (var H, G = [], J = function(ye) {
|
|
16381
16381
|
ye = ye;
|
|
16382
16382
|
var Ie = 987654321, we = 4294967295;
|
|
16383
16383
|
return function() {
|
|
16384
|
-
var
|
|
16385
|
-
return
|
|
16384
|
+
var Le = ((Ie = 36969 * (65535 & Ie) + (Ie >> 16) & we) << 16) + (ye = 18e3 * (65535 & ye) + (ye >> 16) & we) & we;
|
|
16385
|
+
return Le /= 4294967296, (Le += 0.5) * (a.random() > 0.5 ? 1 : -1);
|
|
16386
16386
|
};
|
|
16387
16387
|
}, te = 0; te < T; te += 4) {
|
|
16388
|
-
var Z =
|
|
16388
|
+
var Z = J(4294967296 * (H || a.random()));
|
|
16389
16389
|
H = 987654071 * Z(), G.push(4294967296 * Z() | 0);
|
|
16390
16390
|
}
|
|
16391
16391
|
return new f.init(G, T);
|
|
16392
16392
|
} }), k = p.enc = {}, E = k.Hex = { stringify: function(T) {
|
|
16393
|
-
for (var H = T.words, G = T.sigBytes,
|
|
16393
|
+
for (var H = T.words, G = T.sigBytes, J = [], te = 0; te < G; te++) {
|
|
16394
16394
|
var Z = H[te >>> 2] >>> 24 - te % 4 * 8 & 255;
|
|
16395
|
-
|
|
16395
|
+
J.push((Z >>> 4).toString(16)), J.push((15 & Z).toString(16));
|
|
16396
16396
|
}
|
|
16397
|
-
return
|
|
16397
|
+
return J.join("");
|
|
16398
16398
|
}, parse: function(T) {
|
|
16399
|
-
for (var H = T.length, G = [],
|
|
16399
|
+
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;
|
|
16400
16400
|
return new f.init(G, H / 2);
|
|
16401
16401
|
} }, R = k.Latin1 = { stringify: function(T) {
|
|
16402
|
-
for (var H = T.words, G = T.sigBytes,
|
|
16402
|
+
for (var H = T.words, G = T.sigBytes, J = [], te = 0; te < G; te++) {
|
|
16403
16403
|
var Z = H[te >>> 2] >>> 24 - te % 4 * 8 & 255;
|
|
16404
|
-
|
|
16404
|
+
J.push(String.fromCharCode(Z));
|
|
16405
16405
|
}
|
|
16406
|
-
return
|
|
16406
|
+
return J.join("");
|
|
16407
16407
|
}, parse: function(T) {
|
|
16408
|
-
for (var H = T.length, G = [],
|
|
16408
|
+
for (var H = T.length, G = [], J = 0; J < H; J++) G[J >>> 2] |= (255 & T.charCodeAt(J)) << 24 - J % 4 * 8;
|
|
16409
16409
|
return new f.init(G, H);
|
|
16410
16410
|
} }, q = k.Utf8 = { stringify: function(T) {
|
|
16411
16411
|
try {
|
|
@@ -16420,13 +16420,13 @@ var Ei = { exports: {} };
|
|
|
16420
16420
|
}, _append: function(T) {
|
|
16421
16421
|
typeof T == "string" && (T = q.parse(T)), this._data.concat(T), this._nDataBytes += T.sigBytes;
|
|
16422
16422
|
}, _process: function(T) {
|
|
16423
|
-
var H = this._data, G = H.words,
|
|
16423
|
+
var H = this._data, G = H.words, J = H.sigBytes, te = this.blockSize, Z = J / (4 * te), ye = (Z = T ? a.ceil(Z) : a.max((0 | Z) - this._minBufferSize, 0)) * te, Ie = a.min(4 * ye, J);
|
|
16424
16424
|
if (ye) {
|
|
16425
16425
|
for (var we = 0; we < ye; we += te) this._doProcessBlock(G, we);
|
|
16426
|
-
var
|
|
16426
|
+
var Le = G.splice(0, ye);
|
|
16427
16427
|
H.sigBytes -= Ie;
|
|
16428
16428
|
}
|
|
16429
|
-
return new f.init(
|
|
16429
|
+
return new f.init(Le, Ie);
|
|
16430
16430
|
}, clone: function() {
|
|
16431
16431
|
var T = m.clone.call(this);
|
|
16432
16432
|
return T._data = this._data.clone(), T;
|
|
@@ -16548,8 +16548,8 @@ var Ei = { exports: {} };
|
|
|
16548
16548
|
for (var R = this._hash.words, q = R[0], K = R[1], z = R[2], T = R[3], H = R[4], G = 0; G < 80; G++) {
|
|
16549
16549
|
if (G < 16) u[G] = 0 | k[E + G];
|
|
16550
16550
|
else {
|
|
16551
|
-
var
|
|
16552
|
-
u[G] =
|
|
16551
|
+
var J = u[G - 3] ^ u[G - 8] ^ u[G - 14] ^ u[G - 16];
|
|
16552
|
+
u[G] = J << 1 | J >>> 31;
|
|
16553
16553
|
}
|
|
16554
16554
|
var te = (q << 5 | q >>> 27) + H + u[G];
|
|
16555
16555
|
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 = q, q = te;
|
|
@@ -16568,7 +16568,7 @@ var Ei = { exports: {} };
|
|
|
16568
16568
|
var s = i, l = s.lib, p = l.WordArray, u = l.Hasher, m = s.algo, f = [], k = [];
|
|
16569
16569
|
(function() {
|
|
16570
16570
|
function q(H) {
|
|
16571
|
-
for (var G = a.sqrt(H),
|
|
16571
|
+
for (var G = a.sqrt(H), J = 2; J <= G; J++) if (!(H % J)) return !1;
|
|
16572
16572
|
return !0;
|
|
16573
16573
|
}
|
|
16574
16574
|
function K(H) {
|
|
@@ -16579,16 +16579,16 @@ var Ei = { exports: {} };
|
|
|
16579
16579
|
var E = [], R = m.SHA256 = u.extend({ _doReset: function() {
|
|
16580
16580
|
this._hash = new p.init(f.slice(0));
|
|
16581
16581
|
}, _doProcessBlock: function(q, K) {
|
|
16582
|
-
for (var z = this._hash.words, T = z[0], H = z[1], G = z[2],
|
|
16582
|
+
for (var z = this._hash.words, T = z[0], H = z[1], G = z[2], J = z[3], te = z[4], Z = z[5], ye = z[6], Ie = z[7], we = 0; we < 64; we++) {
|
|
16583
16583
|
if (we < 16) E[we] = 0 | q[K + we];
|
|
16584
16584
|
else {
|
|
16585
|
-
var
|
|
16586
|
-
E[we] =
|
|
16585
|
+
var Le = E[we - 15], $t = (Le << 25 | Le >>> 7) ^ (Le << 14 | Le >>> 18) ^ Le >>> 3, $e = E[we - 2], on = ($e << 15 | $e >>> 17) ^ ($e << 13 | $e >>> 19) ^ $e >>> 10;
|
|
16586
|
+
E[we] = $t + E[we - 7] + on + E[we - 16];
|
|
16587
16587
|
}
|
|
16588
|
-
var Nt = T & H ^ T & G ^ H & G,
|
|
16589
|
-
Ie = ye, ye = Z, Z = te, te =
|
|
16588
|
+
var Nt = T & H ^ T & G ^ H & G, Lt = (T << 30 | T >>> 2) ^ (T << 19 | T >>> 13) ^ (T << 10 | T >>> 22), ut = Ie + ((te << 26 | te >>> 6) ^ (te << 21 | te >>> 11) ^ (te << 7 | te >>> 25)) + (te & Z ^ ~te & ye) + k[we] + E[we];
|
|
16589
|
+
Ie = ye, ye = Z, Z = te, te = J + ut | 0, J = G, G = H, H = T, T = ut + (Lt + Nt) | 0;
|
|
16590
16590
|
}
|
|
16591
|
-
z[0] = z[0] + T | 0, z[1] = z[1] + H | 0, z[2] = z[2] + G | 0, z[3] = z[3] +
|
|
16591
|
+
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] + ye | 0, z[7] = z[7] + Ie | 0;
|
|
16592
16592
|
}, _doFinalize: function() {
|
|
16593
16593
|
var q = this._data, K = q.words, z = 8 * this._nDataBytes, T = 8 * q.sigBytes;
|
|
16594
16594
|
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, q.sigBytes = 4 * K.length, this._process(), this._hash;
|
|
@@ -16612,17 +16612,17 @@ var Ei = { exports: {} };
|
|
|
16612
16612
|
var R = m.SHA512 = s.extend({ _doReset: function() {
|
|
16613
16613
|
this._hash = new u.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)]);
|
|
16614
16614
|
}, _doProcessBlock: function(q, K) {
|
|
16615
|
-
for (var z = this._hash.words, T = z[0], H = z[1], G = z[2],
|
|
16615
|
+
for (var z = this._hash.words, T = z[0], H = z[1], G = z[2], J = z[3], te = z[4], Z = z[5], ye = z[6], Ie = z[7], we = T.high, Le = T.low, $t = H.high, $e = H.low, on = G.high, Nt = G.low, Lt = J.high, ut = J.low, gn = te.high, an = te.low, mn = Z.high, sn = Z.low, In = ye.high, Te = ye.low, Re = Ie.high, Yt = Ie.low, qe = we, ze = Le, Ot = $t, Tt = $e, Ze = on, dt = Nt, Wt = Lt, zt = ut, Ye = gn, Pe = an, pt = mn, xt = sn, Ut = In, vt = Te, _n = Re, St = Yt, Fe = 0; Fe < 80; Fe++) {
|
|
16616
16616
|
var yt = E[Fe];
|
|
16617
16617
|
if (Fe < 16) var xe = yt.high = 0 | q[K + 2 * Fe], ht = yt.low = 0 | q[K + 2 * Fe + 1];
|
|
16618
16618
|
else {
|
|
16619
16619
|
var vn = E[Fe - 15], Ke = vn.high, Bt = vn.low, h = (Ke >>> 1 | Bt << 31) ^ (Ke >>> 8 | Bt << 24) ^ Ke >>> 7, c = (Bt >>> 1 | Ke << 31) ^ (Bt >>> 8 | Ke << 24) ^ (Bt >>> 7 | Ke << 25), d = E[Fe - 2], g = d.high, b = d.low, S = (g >>> 19 | b << 13) ^ (g << 3 | b >>> 29) ^ g >>> 6, P = (b >>> 19 | g << 13) ^ (b << 3 | g >>> 29) ^ (b >>> 6 | g << 26), se = E[Fe - 7], be = se.high, ge = se.low, ke = E[Fe - 16], he = ke.high, rr = ke.low;
|
|
16620
16620
|
xe = (xe = (xe = h + be + ((ht = c + ge) >>> 0 < c >>> 0 ? 1 : 0)) + S + ((ht += P) >>> 0 < P >>> 0 ? 1 : 0)) + he + ((ht += rr) >>> 0 < rr >>> 0 ? 1 : 0), yt.high = xe, yt.low = ht;
|
|
16621
16621
|
}
|
|
16622
|
-
var It,
|
|
16623
|
-
_n = Ut, St = vt, Ut = pt, vt = xt, pt =
|
|
16622
|
+
var It, Lr = Ye & pt ^ ~Ye & Ut, or = Pe & xt ^ ~Pe & vt, Or = qe & Ot ^ qe & Ze ^ Ot & Ze, zr = ze & Tt ^ ze & dt ^ Tt & dt, ir = (qe >>> 28 | ze << 4) ^ (qe << 30 | ze >>> 2) ^ (qe << 25 | ze >>> 7), ar = (ze >>> 28 | qe << 4) ^ (ze << 30 | qe >>> 2) ^ (ze << 25 | qe >>> 7), xr = (Ye >>> 14 | Pe << 18) ^ (Ye >>> 18 | Pe << 14) ^ (Ye << 23 | Pe >>> 9), Ur = (Pe >>> 14 | Ye << 18) ^ (Pe >>> 18 | Ye << 14) ^ (Pe << 23 | Ye >>> 9), v = k[Fe], y = v.high, C = v.low, I = _n + xr + ((It = St + Ur) >>> 0 < St >>> 0 ? 1 : 0), M = ar + zr;
|
|
16623
|
+
_n = Ut, St = vt, Ut = pt, vt = xt, pt = Ye, xt = Pe, Ye = Wt + (I = (I = (I = I + Lr + ((It += or) >>> 0 < or >>> 0 ? 1 : 0)) + y + ((It += C) >>> 0 < C >>> 0 ? 1 : 0)) + xe + ((It += ht) >>> 0 < ht >>> 0 ? 1 : 0)) + ((Pe = zt + It | 0) >>> 0 < zt >>> 0 ? 1 : 0) | 0, Wt = Ze, zt = dt, Ze = Ot, dt = Tt, Ot = qe, Tt = ze, qe = I + (ir + Or + (M >>> 0 < ar >>> 0 ? 1 : 0)) + ((ze = It + M | 0) >>> 0 < It >>> 0 ? 1 : 0) | 0;
|
|
16624
16624
|
}
|
|
16625
|
-
|
|
16625
|
+
Le = T.low = Le + ze, T.high = we + qe + (Le >>> 0 < ze >>> 0 ? 1 : 0), $e = H.low = $e + Tt, H.high = $t + Ot + ($e >>> 0 < Tt >>> 0 ? 1 : 0), Nt = G.low = Nt + dt, G.high = on + Ze + (Nt >>> 0 < dt >>> 0 ? 1 : 0), ut = J.low = ut + zt, J.high = Lt + Wt + (ut >>> 0 < zt >>> 0 ? 1 : 0), an = te.low = an + Pe, te.high = gn + Ye + (an >>> 0 < Pe >>> 0 ? 1 : 0), sn = Z.low = sn + xt, Z.high = mn + pt + (sn >>> 0 < xt >>> 0 ? 1 : 0), Te = ye.low = Te + vt, ye.high = In + Ut + (Te >>> 0 < vt >>> 0 ? 1 : 0), Yt = Ie.low = Yt + St, Ie.high = Re + _n + (Yt >>> 0 < St >>> 0 ? 1 : 0);
|
|
16626
16626
|
}, _doFinalize: function() {
|
|
16627
16627
|
var q = this._data, K = q.words, z = 8 * this._nDataBytes, T = 8 * q.sigBytes;
|
|
16628
16628
|
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, q.sigBytes = 4 * K.length, this._process(), this._hash.toX32();
|
|
@@ -16673,7 +16673,7 @@ var Ei = { exports: {} };
|
|
|
16673
16673
|
(function(v) {
|
|
16674
16674
|
v.SHA1 = "sha1", v.SHA256 = "sha256", v.SHA512 = "sha512";
|
|
16675
16675
|
})(i || (i = {}));
|
|
16676
|
-
var G,
|
|
16676
|
+
var G, J = H(i);
|
|
16677
16677
|
(function(v) {
|
|
16678
16678
|
v.ASCII = "ascii", v.BASE64 = "base64", v.HEX = "hex", v.LATIN1 = "latin1", v.UTF8 = "utf8";
|
|
16679
16679
|
})(G || (G = {}));
|
|
@@ -16687,12 +16687,12 @@ var Ei = { exports: {} };
|
|
|
16687
16687
|
function we(v) {
|
|
16688
16688
|
return /^(\d+)$/.test(v);
|
|
16689
16689
|
}
|
|
16690
|
-
function
|
|
16690
|
+
function Le(v, y, C) {
|
|
16691
16691
|
if (v.length >= y) return v;
|
|
16692
16692
|
var I = Array(y + 1).join(C);
|
|
16693
16693
|
return "".concat(I).concat(v).slice(-1 * y);
|
|
16694
16694
|
}
|
|
16695
|
-
function
|
|
16695
|
+
function $t(v) {
|
|
16696
16696
|
var y = "otpauth://".concat(v.type, "/{labelPrefix}:{accountName}?secret={secret}{query}"), C = [];
|
|
16697
16697
|
if (ye.indexOf(v.type) < 0) throw new Error("Expecting options.type to be one of ".concat(ye.join(", "), ". Received ").concat(v.type, "."));
|
|
16698
16698
|
if (v.type === "hotp") {
|
|
@@ -16701,8 +16701,8 @@ var Ei = { exports: {} };
|
|
|
16701
16701
|
}
|
|
16702
16702
|
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(""));
|
|
16703
16703
|
}
|
|
16704
|
-
function
|
|
16705
|
-
return (
|
|
16704
|
+
function $e(v) {
|
|
16705
|
+
return ($e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
16706
16706
|
return typeof y;
|
|
16707
16707
|
} : function(y) {
|
|
16708
16708
|
return y && typeof Symbol == "function" && y.constructor === Symbol && y !== Symbol.prototype ? "symbol" : typeof y;
|
|
@@ -16715,13 +16715,13 @@ var Ei = { exports: {} };
|
|
|
16715
16715
|
}
|
|
16716
16716
|
}
|
|
16717
16717
|
function Nt(v, y) {
|
|
16718
|
-
return !y ||
|
|
16718
|
+
return !y || $e(y) !== "object" && typeof y != "function" ? function(C) {
|
|
16719
16719
|
if (C === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
16720
16720
|
return C;
|
|
16721
16721
|
}(v) : y;
|
|
16722
16722
|
}
|
|
16723
|
-
function
|
|
16724
|
-
return (
|
|
16723
|
+
function Lt(v) {
|
|
16724
|
+
return (Lt = Object.setPrototypeOf ? Object.getPrototypeOf : function(y) {
|
|
16725
16725
|
return y.__proto__ || Object.getPrototypeOf(y);
|
|
16726
16726
|
})(v);
|
|
16727
16727
|
}
|
|
@@ -16747,7 +16747,7 @@ var Ei = { exports: {} };
|
|
|
16747
16747
|
if (typeof v.createDigest != "function") throw new Error("Expecting options.createDigest to be a function.");
|
|
16748
16748
|
if (typeof v.createHmacKey != "function") throw new Error("Expecting options.createHmacKey to be a function.");
|
|
16749
16749
|
if (typeof v.digits != "number") throw new Error("Expecting options.digits to be a number.");
|
|
16750
|
-
if (!v.algorithm ||
|
|
16750
|
+
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, "."));
|
|
16751
16751
|
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, "."));
|
|
16752
16752
|
}
|
|
16753
16753
|
var sn = function(v, y, C) {
|
|
@@ -16769,24 +16769,24 @@ var Ei = { exports: {} };
|
|
|
16769
16769
|
}
|
|
16770
16770
|
function Te(v, y, C) {
|
|
16771
16771
|
var I = function(j) {
|
|
16772
|
-
return
|
|
16772
|
+
return Le(j.toString(16), 16, "0");
|
|
16773
16773
|
}(y), M = C.createHmacKey(C.algorithm, v, C.encoding);
|
|
16774
16774
|
return C.createDigest(C.algorithm, M, I);
|
|
16775
16775
|
}
|
|
16776
16776
|
function Re(v, y, C) {
|
|
16777
16777
|
return function(I, M) {
|
|
16778
16778
|
var j = yn.from(I, "hex"), pe = 15 & j[j.length - 1], rt = ((127 & j[pe]) << 24 | (255 & j[pe + 1]) << 16 | (255 & j[pe + 2]) << 8 | 255 & j[pe + 3]) % Math.pow(10, M);
|
|
16779
|
-
return
|
|
16779
|
+
return Le(String(rt), M, "0");
|
|
16780
16780
|
}(C.digest || Te(v, y, C), C.digits);
|
|
16781
16781
|
}
|
|
16782
|
-
function
|
|
16783
|
-
return
|
|
16782
|
+
function Yt(v, y, C, I, M) {
|
|
16783
|
+
return $t({ algorithm: M.algorithm, digits: M.digits, type: te.HOTP, accountName: v, counter: I, issuer: y, secret: C });
|
|
16784
16784
|
}
|
|
16785
16785
|
var qe = function(v) {
|
|
16786
16786
|
function y() {
|
|
16787
16787
|
return function(M, j) {
|
|
16788
16788
|
if (!(M instanceof j)) throw new TypeError("Cannot call a class as a function");
|
|
16789
|
-
}(this, y), Nt(this,
|
|
16789
|
+
}(this, y), Nt(this, Lt(y).apply(this, arguments));
|
|
16790
16790
|
}
|
|
16791
16791
|
var C, I;
|
|
16792
16792
|
return function(M, j) {
|
|
@@ -16804,10 +16804,10 @@ var Ei = { exports: {} };
|
|
|
16804
16804
|
return !!we(rt) && rt === Re(Dt, cn, Br);
|
|
16805
16805
|
}(M, j, pe, this.allOptions());
|
|
16806
16806
|
} }, { key: "verify", value: function(M) {
|
|
16807
|
-
if (
|
|
16807
|
+
if ($e(M) !== "object") throw new Error("Expecting argument 0 of verify to be an object");
|
|
16808
16808
|
return this.check(M.token, M.secret, M.counter);
|
|
16809
16809
|
} }, { key: "keyuri", value: function(M, j, pe, rt) {
|
|
16810
|
-
return
|
|
16810
|
+
return Yt(M, j, pe, rt, this.allOptions());
|
|
16811
16811
|
} }]) && on(C.prototype, I), y;
|
|
16812
16812
|
}(function() {
|
|
16813
16813
|
function v() {
|
|
@@ -16840,7 +16840,7 @@ var Ei = { exports: {} };
|
|
|
16840
16840
|
return y && typeof Symbol == "function" && y.constructor === Symbol && y !== Symbol.prototype ? "symbol" : typeof y;
|
|
16841
16841
|
})(v);
|
|
16842
16842
|
}
|
|
16843
|
-
function
|
|
16843
|
+
function Ot(v, y) {
|
|
16844
16844
|
for (var C = 0; C < y.length; C++) {
|
|
16845
16845
|
var I = y[C];
|
|
16846
16846
|
I.enumerable = I.enumerable || !1, I.configurable = !0, "value" in I && (I.writable = !0), Object.defineProperty(v, I.key, I);
|
|
@@ -16862,7 +16862,7 @@ var Ei = { exports: {} };
|
|
|
16862
16862
|
return C.__proto__ = I, C;
|
|
16863
16863
|
})(v, y);
|
|
16864
16864
|
}
|
|
16865
|
-
function
|
|
16865
|
+
function Wt(v, y) {
|
|
16866
16866
|
var C = Object.keys(v);
|
|
16867
16867
|
if (Object.getOwnPropertySymbols) {
|
|
16868
16868
|
var I = Object.getOwnPropertySymbols(v);
|
|
@@ -16875,15 +16875,15 @@ var Ei = { exports: {} };
|
|
|
16875
16875
|
function zt(v) {
|
|
16876
16876
|
for (var y = 1; y < arguments.length; y++) {
|
|
16877
16877
|
var C = arguments[y] != null ? arguments[y] : {};
|
|
16878
|
-
y % 2 ?
|
|
16879
|
-
|
|
16880
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(C)) :
|
|
16878
|
+
y % 2 ? Wt(Object(C), !0).forEach(function(I) {
|
|
16879
|
+
Ye(v, I, C[I]);
|
|
16880
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(C)) : Wt(Object(C)).forEach(function(I) {
|
|
16881
16881
|
Object.defineProperty(v, I, Object.getOwnPropertyDescriptor(C, I));
|
|
16882
16882
|
});
|
|
16883
16883
|
}
|
|
16884
16884
|
return v;
|
|
16885
16885
|
}
|
|
16886
|
-
function
|
|
16886
|
+
function Ye(v, y, C) {
|
|
16887
16887
|
return y in v ? Object.defineProperty(v, y, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : v[y] = C, v;
|
|
16888
16888
|
}
|
|
16889
16889
|
function Pe(v, y) {
|
|
@@ -16937,7 +16937,7 @@ var Ei = { exports: {} };
|
|
|
16937
16937
|
case i.SHA512:
|
|
16938
16938
|
return Ut(y, C, 64);
|
|
16939
16939
|
default:
|
|
16940
|
-
throw new Error("Expecting algorithm to be one of ".concat(
|
|
16940
|
+
throw new Error("Expecting algorithm to be one of ".concat(J.join(", "), ". Received ").concat(v, "."));
|
|
16941
16941
|
}
|
|
16942
16942
|
};
|
|
16943
16943
|
function _n(v) {
|
|
@@ -16975,7 +16975,7 @@ var Ei = { exports: {} };
|
|
|
16975
16975
|
return Math.floor(v / 1e3) % y;
|
|
16976
16976
|
}
|
|
16977
16977
|
function Ke(v, y, C, I) {
|
|
16978
|
-
return
|
|
16978
|
+
return $t({ algorithm: I.algorithm, digits: I.digits, step: I.step, type: te.TOTP, accountName: v, issuer: y, secret: C });
|
|
16979
16979
|
}
|
|
16980
16980
|
var Bt = function(v) {
|
|
16981
16981
|
function y() {
|
|
@@ -17009,7 +17009,7 @@ var Ei = { exports: {} };
|
|
|
17009
17009
|
return vn(M.epoch, M.step);
|
|
17010
17010
|
} }, { key: "keyuri", value: function(M, j, pe) {
|
|
17011
17011
|
return Ke(M, j, pe, this.allOptions());
|
|
17012
|
-
} }]) &&
|
|
17012
|
+
} }]) && Ot(C.prototype, I), y;
|
|
17013
17013
|
}(qe);
|
|
17014
17014
|
function h(v) {
|
|
17015
17015
|
return (h = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
@@ -17120,11 +17120,11 @@ var Ei = { exports: {} };
|
|
|
17120
17120
|
case i.SHA512:
|
|
17121
17121
|
return k.a;
|
|
17122
17122
|
default:
|
|
17123
|
-
throw new Error("Expecting argument 0 to be one of ".concat(
|
|
17123
|
+
throw new Error("Expecting argument 0 to be one of ".concat(J.join(", "), ". Received ").concat(pe, "."));
|
|
17124
17124
|
}
|
|
17125
17125
|
}(v), M = R.a.parse(C), j = R.a.parse(y);
|
|
17126
17126
|
return String(I(M, j));
|
|
17127
|
-
},
|
|
17127
|
+
}, Lr = o(7), or = o.n(Lr), Or = o(8), zr = o.n(Or);
|
|
17128
17128
|
function ir(v) {
|
|
17129
17129
|
return (ir = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
17130
17130
|
return typeof y;
|
|
@@ -17181,7 +17181,7 @@ const El = {
|
|
|
17181
17181
|
},
|
|
17182
17182
|
methods: {
|
|
17183
17183
|
close() {
|
|
17184
|
-
|
|
17184
|
+
$.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
|
|
17185
17185
|
},
|
|
17186
17186
|
async deleteAccountSubmit() {
|
|
17187
17187
|
await this.deleteAccount() === !0 && (this.successSnack(this.ssoLang[this.appLanguage].profile_delete_account_success), setTimeout(this.$store.dispatch("logout"), 1e3));
|
|
@@ -17195,7 +17195,7 @@ const El = {
|
|
|
17195
17195
|
const e = "Tapni", t = Vo.authenticator.generateSecret();
|
|
17196
17196
|
this.otpSecret = t;
|
|
17197
17197
|
const r = Vo.authenticator.keyuri(n, e, t);
|
|
17198
|
-
new
|
|
17198
|
+
new $o({
|
|
17199
17199
|
width: 200,
|
|
17200
17200
|
height: 200,
|
|
17201
17201
|
data: r
|
|
@@ -17203,7 +17203,7 @@ const El = {
|
|
|
17203
17203
|
}
|
|
17204
17204
|
},
|
|
17205
17205
|
async cancelMFA() {
|
|
17206
|
-
|
|
17206
|
+
$.$emit("ssoEvent", { name: "mfaCancel", data: !0 });
|
|
17207
17207
|
},
|
|
17208
17208
|
async validateMFA() {
|
|
17209
17209
|
if (!this.otp || this.otp.length !== 6)
|
|
@@ -17217,7 +17217,7 @@ const El = {
|
|
|
17217
17217
|
this.mfaEnable || delete n.otpSecret;
|
|
17218
17218
|
const [e, t] = await ve(tt.setMfa(n, this.$storex));
|
|
17219
17219
|
if (e)
|
|
17220
|
-
return
|
|
17220
|
+
return $.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(e);
|
|
17221
17221
|
t.data.success && (this.getAccountSettings(), this.successSnack(t.data.message)), this.loading = !1;
|
|
17222
17222
|
},
|
|
17223
17223
|
async submitChangePassword() {
|
|
@@ -17233,10 +17233,10 @@ const El = {
|
|
|
17233
17233
|
}, Tl = { class: "page-login content-boxed content-boxed-padding" }, Sl = { class: "subheaderContainer full-top" }, Il = ["src"], Al = {
|
|
17234
17234
|
class: "center-text",
|
|
17235
17235
|
style: { "flex-grow": "1", "text-align": "center", margin: "0", "font-weight": "600" }
|
|
17236
|
-
}, Rl = { class: "container center-text" }, Pl = { class: "full-top" }, Ml = { class: "settingRow" }, Nl = { class: "firstRow" },
|
|
17236
|
+
}, Rl = { class: "container center-text" }, Pl = { class: "full-top" }, Ml = { class: "settingRow" }, Nl = { class: "firstRow" }, Ll = {
|
|
17237
17237
|
class: "ios-switch",
|
|
17238
17238
|
style: { display: "inline-block" }
|
|
17239
|
-
},
|
|
17239
|
+
}, Ol = { class: "center-text half-top" }, zl = { class: "firstRow" }, xl = { class: "center-text no-margin" }, Ul = { class: "margin-center left-text padding-left small-top" }, Bl = { class: "" }, Dl = ["placeholder"], Hl = ["innerHTML"], jl = {
|
|
17240
17240
|
type: "submit",
|
|
17241
17241
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
17242
17242
|
}, ql = { key: 0 }, Fl = {
|
|
@@ -17246,7 +17246,7 @@ const El = {
|
|
|
17246
17246
|
key: 1,
|
|
17247
17247
|
class: "margin-center small-top",
|
|
17248
17248
|
style: { width: "100%" }
|
|
17249
|
-
}, Ql = { class: "left-text" },
|
|
17249
|
+
}, Ql = { class: "left-text" }, $l = { key: 0 }, Yl = { key: 1 }, Wl = { class: "firstRow" }, Jl = ["src"], Xl = { class: "center-text half-top" }, Zl = ["placeholder"], eu = { class: "small-text small-top-padding small-bottom" }, tu = ["placeholder"], nu = { class: "small-text small-top-padding small-bottom" }, ru = ["placeholder"], ou = { class: "small-text small-top-padding small-bottom" }, iu = {
|
|
17250
17250
|
type: "submit",
|
|
17251
17251
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
17252
17252
|
}, au = { key: 0 }, su = {
|
|
@@ -17304,7 +17304,7 @@ function ku(n, e, t, r, o, i) {
|
|
|
17304
17304
|
_("div", Ml, [
|
|
17305
17305
|
_("div", Nl, [
|
|
17306
17306
|
_("h4", null, D(n.ssoLang[n.appLanguage].mfa_auth), 1),
|
|
17307
|
-
_("div",
|
|
17307
|
+
_("div", Ll, [
|
|
17308
17308
|
me(_("input", {
|
|
17309
17309
|
type: "checkbox",
|
|
17310
17310
|
name: "ios-switch",
|
|
@@ -17321,7 +17321,7 @@ function ku(n, e, t, r, o, i) {
|
|
|
17321
17321
|
])
|
|
17322
17322
|
])
|
|
17323
17323
|
]),
|
|
17324
|
-
me(_("div",
|
|
17324
|
+
me(_("div", Ol, [
|
|
17325
17325
|
e[16] || (e[16] = _("div", {
|
|
17326
17326
|
id: "qrCodeContainer",
|
|
17327
17327
|
class: "qrCodeRounded",
|
|
@@ -17376,19 +17376,19 @@ function ku(n, e, t, r, o, i) {
|
|
|
17376
17376
|
])
|
|
17377
17377
|
], 32)) : (N(), x("div", Vl, [
|
|
17378
17378
|
_("div", Ql, [
|
|
17379
|
-
o.mfaEnable ? (N(), x("p",
|
|
17379
|
+
o.mfaEnable ? (N(), x("p", $l, D(n.ssoLang[n.appLanguage].mfa_auth_enabled), 1)) : (N(), x("p", Yl, D(n.ssoLang[n.appLanguage].mfa_auth_p), 1))
|
|
17380
17380
|
])
|
|
17381
17381
|
])),
|
|
17382
17382
|
_("div", {
|
|
17383
17383
|
class: "settingRow full-top",
|
|
17384
17384
|
onClick: e[6] || (e[6] = (s) => o.changePassword = !o.changePassword)
|
|
17385
17385
|
}, [
|
|
17386
|
-
_("div",
|
|
17386
|
+
_("div", Wl, [
|
|
17387
17387
|
_("h4", null, D(n.ssoLang[n.appLanguage].change_password), 1),
|
|
17388
17388
|
_("img", {
|
|
17389
17389
|
class: He(["transition-icon", { "rotate-icon": !!o.changePassword }]),
|
|
17390
17390
|
src: n.getIcon("arrow-gray-down.svg")
|
|
17391
|
-
}, null, 10,
|
|
17391
|
+
}, null, 10, Jl)
|
|
17392
17392
|
])
|
|
17393
17393
|
]),
|
|
17394
17394
|
me(_("form", Xl, [
|
|
@@ -17523,7 +17523,7 @@ const yo = /* @__PURE__ */ _t(El, [["render", ku], ["__scopeId", "data-v-5caa323
|
|
|
17523
17523
|
};
|
|
17524
17524
|
},
|
|
17525
17525
|
mounted() {
|
|
17526
|
-
this.$storex.verifyEmail && (this.email = this.$storex.verifyEmail), this.$route.query.c && (this.code = this.$route.query.c, this.passwordChange = !0), this.$route.query.e && (this.email = this.$route.query.e),
|
|
17526
|
+
this.$storex.verifyEmail && (this.email = this.$storex.verifyEmail), this.$route.query.c && (this.code = this.$route.query.c, this.passwordChange = !0), this.$route.query.e && (this.email = this.$route.query.e), $.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
17527
17527
|
},
|
|
17528
17528
|
methods: {
|
|
17529
17529
|
async resetEmail() {
|
|
@@ -17567,7 +17567,7 @@ const yo = /* @__PURE__ */ _t(El, [["render", ku], ["__scopeId", "data-v-5caa323
|
|
|
17567
17567
|
}, Pu = {
|
|
17568
17568
|
key: 1,
|
|
17569
17569
|
class: "button--loading button__loader"
|
|
17570
|
-
}, Mu = { class: "close-text center-text half-top color-black" }, Nu = ["innerHTML"],
|
|
17570
|
+
}, Mu = { class: "close-text center-text half-top color-black" }, Nu = ["innerHTML"], Lu = ["href"], Ou = { class: "page-login-links" }, zu = {
|
|
17571
17571
|
class: "bold no-bottom center-text",
|
|
17572
17572
|
style: { "margin-top": "63px" }
|
|
17573
17573
|
}, xu = { class: "half-bottom small-top center-text color-black" }, Uu = { class: "page-login-field half-top" }, Bu = ["type", "placeholder"], Du = {
|
|
@@ -17591,8 +17591,8 @@ const yo = /* @__PURE__ */ _t(El, [["render", ku], ["__scopeId", "data-v-5caa323
|
|
|
17591
17591
|
}, Qu = {
|
|
17592
17592
|
key: 1,
|
|
17593
17593
|
class: "button--loading button__loader"
|
|
17594
|
-
},
|
|
17595
|
-
function
|
|
17594
|
+
}, $u = { class: "close-text center-text half-top color-black" }, Yu = ["innerHTML"], Wu = ["href"];
|
|
17595
|
+
function Ju(n, e, t, r, o, i) {
|
|
17596
17596
|
const a = fn("router-link");
|
|
17597
17597
|
return o.passwordChange ? (N(), x("form", {
|
|
17598
17598
|
key: 1,
|
|
@@ -17659,14 +17659,14 @@ function $u(n, e, t, r, o, i) {
|
|
|
17659
17659
|
o.submitted ? (N(), x("span", Qu)) : (N(), x("span", Vu, D(n.ssoLang[this.appLanguage].password_change), 1))
|
|
17660
17660
|
]),
|
|
17661
17661
|
e[17] || (e[17] = _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)),
|
|
17662
|
-
_("p",
|
|
17662
|
+
_("p", $u, [
|
|
17663
17663
|
_("span", {
|
|
17664
17664
|
innerHTML: n.ssoLang[this.appLanguage].reset_password_p2
|
|
17665
|
-
}, null, 8,
|
|
17665
|
+
}, null, 8, Yu),
|
|
17666
17666
|
e[16] || (e[16] = Se()),
|
|
17667
17667
|
_("a", {
|
|
17668
17668
|
href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
|
|
17669
|
-
}, " support@tapni.com", 8,
|
|
17669
|
+
}, " support@tapni.com", 8, Wu)
|
|
17670
17670
|
])
|
|
17671
17671
|
], 32)) : (N(), x("form", {
|
|
17672
17672
|
key: 0,
|
|
@@ -17707,10 +17707,10 @@ function $u(n, e, t, r, o, i) {
|
|
|
17707
17707
|
}, null, 8, Nu),
|
|
17708
17708
|
_("a", {
|
|
17709
17709
|
href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
|
|
17710
|
-
}, " support@tapni.com", 8,
|
|
17710
|
+
}, " support@tapni.com", 8, Lu)
|
|
17711
17711
|
]),
|
|
17712
17712
|
e[13] || (e[13] = _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)),
|
|
17713
|
-
_("div",
|
|
17713
|
+
_("div", Ou, [
|
|
17714
17714
|
Me(a, {
|
|
17715
17715
|
class: "create float-right",
|
|
17716
17716
|
to: "/verify"
|
|
@@ -17733,7 +17733,7 @@ function $u(n, e, t, r, o, i) {
|
|
|
17733
17733
|
])
|
|
17734
17734
|
], 32));
|
|
17735
17735
|
}
|
|
17736
|
-
const wo = /* @__PURE__ */ _t(Eu, [["render",
|
|
17736
|
+
const wo = /* @__PURE__ */ _t(Eu, [["render", Ju], ["__scopeId", "data-v-b19fad43"]]), Xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17737
17737
|
__proto__: null,
|
|
17738
17738
|
default: wo
|
|
17739
17739
|
}, Symbol.toStringTag, { value: "Module" })), Zu = {
|
|
@@ -17790,11 +17790,11 @@ const bo = /* @__PURE__ */ _t(Zu, [["render", rd]]), od = /* @__PURE__ */ Object
|
|
|
17790
17790
|
};
|
|
17791
17791
|
},
|
|
17792
17792
|
mounted() {
|
|
17793
|
-
|
|
17793
|
+
$.$on("closeModal", () => {
|
|
17794
17794
|
this.toggle = !1, window.document.body.style.overflow = "auto", window.document.body.style.height = "auto";
|
|
17795
|
-
}),
|
|
17795
|
+
}), $.$on("openModalOverlay", () => {
|
|
17796
17796
|
this.toggle = !0;
|
|
17797
|
-
}),
|
|
17797
|
+
}), $.$on("toggleSSOModal", this.toggleModal), $.$on("toggleSSOPickModal", this.toggleModal);
|
|
17798
17798
|
},
|
|
17799
17799
|
methods: {
|
|
17800
17800
|
toggleModal(n = !0) {
|
|
@@ -17802,7 +17802,7 @@ const bo = /* @__PURE__ */ _t(Zu, [["render", rd]]), od = /* @__PURE__ */ Object
|
|
|
17802
17802
|
},
|
|
17803
17803
|
toggleEmit() {
|
|
17804
17804
|
var n, e;
|
|
17805
|
-
!this.isLoggedIn && ((e = (n = this.user) == null ? void 0 : n.lead_form) != null && e.forceFilling) ||
|
|
17805
|
+
!this.isLoggedIn && ((e = (n = this.user) == null ? void 0 : n.lead_form) != null && e.forceFilling) || $.$emit("closeModal");
|
|
17806
17806
|
}
|
|
17807
17807
|
}
|
|
17808
17808
|
};
|
|
@@ -17823,16 +17823,16 @@ const Ti = /* @__PURE__ */ _t(id, [["render", ad], ["__scopeId", "data-v-e5fbde1
|
|
|
17823
17823
|
};
|
|
17824
17824
|
},
|
|
17825
17825
|
mounted() {
|
|
17826
|
-
|
|
17826
|
+
$.$on("toggleSSOModal", this.toggleModal), $.$on("closeModal", () => {
|
|
17827
17827
|
this.toggle = !1;
|
|
17828
17828
|
});
|
|
17829
17829
|
},
|
|
17830
17830
|
beforeDestroy() {
|
|
17831
|
-
|
|
17831
|
+
$._events.toggleSSOModal.pop();
|
|
17832
17832
|
},
|
|
17833
17833
|
methods: {
|
|
17834
17834
|
forceClose() {
|
|
17835
|
-
|
|
17835
|
+
$.$emit("closeModal");
|
|
17836
17836
|
},
|
|
17837
17837
|
close() {
|
|
17838
17838
|
this.toggleModal();
|
|
@@ -17917,16 +17917,16 @@ const Si = /* @__PURE__ */ _t(sd, [["render", hd], ["__scopeId", "data-v-6ebe2dc
|
|
|
17917
17917
|
};
|
|
17918
17918
|
},
|
|
17919
17919
|
mounted() {
|
|
17920
|
-
|
|
17920
|
+
$.$on("toggleSSOPickModal", this.toggleModal), $.$on("closeModal", () => {
|
|
17921
17921
|
this.toggle = !1;
|
|
17922
17922
|
});
|
|
17923
17923
|
},
|
|
17924
17924
|
beforeDestroy() {
|
|
17925
|
-
|
|
17925
|
+
$._events.toggleSSOPickModal.pop();
|
|
17926
17926
|
},
|
|
17927
17927
|
methods: {
|
|
17928
17928
|
forceClose() {
|
|
17929
|
-
|
|
17929
|
+
$.$emit("closeModal");
|
|
17930
17930
|
},
|
|
17931
17931
|
close() {
|
|
17932
17932
|
this.toggleModal();
|
|
@@ -18139,24 +18139,24 @@ const Rd = /* @__PURE__ */ _t(Cd, [["render", Ad]]), Pd = {
|
|
|
18139
18139
|
};
|
|
18140
18140
|
},
|
|
18141
18141
|
async mounted() {
|
|
18142
|
-
|
|
18142
|
+
$.$on("toggleSSOLanguageModal", this.toggleModal), $.$on("closeModal", () => {
|
|
18143
18143
|
this.toggle = !1;
|
|
18144
18144
|
});
|
|
18145
18145
|
let n = this.isNative ? await hr.getLanguageCode() : Bn.getFirstBrowserLanguage();
|
|
18146
18146
|
n && Ci.SUPPORTED_LANGUAGES.includes(n) && this.updateLanguage(n);
|
|
18147
18147
|
},
|
|
18148
18148
|
beforeDestroy() {
|
|
18149
|
-
|
|
18149
|
+
$._events.toggleSSOLanguageModal.pop();
|
|
18150
18150
|
},
|
|
18151
18151
|
methods: {
|
|
18152
18152
|
forceClose() {
|
|
18153
|
-
|
|
18153
|
+
$.$emit("closeModal");
|
|
18154
18154
|
},
|
|
18155
18155
|
close() {
|
|
18156
18156
|
this.forceClose();
|
|
18157
18157
|
},
|
|
18158
18158
|
async updateLanguage(n) {
|
|
18159
|
-
this.updateLang(n),
|
|
18159
|
+
this.updateLang(n), $.$emit("closeModal");
|
|
18160
18160
|
},
|
|
18161
18161
|
toggleModal() {
|
|
18162
18162
|
this.toggle = !this.toggle;
|
|
@@ -18363,7 +18363,7 @@ const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce67778
|
|
|
18363
18363
|
let t = JSON.parse(n);
|
|
18364
18364
|
return t !== void 0 ? t : e;
|
|
18365
18365
|
}
|
|
18366
|
-
},
|
|
18366
|
+
}, Ld = {
|
|
18367
18367
|
name: "ReactiveStorage",
|
|
18368
18368
|
data() {
|
|
18369
18369
|
return {
|
|
@@ -18379,7 +18379,7 @@ const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce67778
|
|
|
18379
18379
|
await jr.setRaw(e);
|
|
18380
18380
|
}, { deep: !0 });
|
|
18381
18381
|
}
|
|
18382
|
-
},
|
|
18382
|
+
}, Od = { id: "ssoapp" }, zd = {
|
|
18383
18383
|
key: 0,
|
|
18384
18384
|
href: "/",
|
|
18385
18385
|
class: "header-logo"
|
|
@@ -18395,7 +18395,7 @@ const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce67778
|
|
|
18395
18395
|
}, Hd = { id: "successMessage" }, jd = {
|
|
18396
18396
|
store: so,
|
|
18397
18397
|
name: "TapniAuth",
|
|
18398
|
-
mixins: [
|
|
18398
|
+
mixins: [Ld, ct],
|
|
18399
18399
|
data() {
|
|
18400
18400
|
return {
|
|
18401
18401
|
storeInterval: null,
|
|
@@ -18448,7 +18448,7 @@ const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce67778
|
|
|
18448
18448
|
}
|
|
18449
18449
|
},
|
|
18450
18450
|
async mounted() {
|
|
18451
|
-
this.applyBgStyle(), this.setView(this.viewProp),
|
|
18451
|
+
this.applyBgStyle(), this.setView(this.viewProp), $.$on("ssoEvent", this.ssoOutgoingEvent), $.$on("ssoLogout", (n) => this.logout(n)), $.$on("getLoggedInAccounts", () => this.getLoggedInAccounts()), $.$on("refreshTokenAction", (n) => this.refreshTokenAction({ ...n, storage: this.$storex })), $.$on("switchAccount", (n) => this.switchAccount(n)), $.$on("setToken", (n) => this.setToken(n)), $.$on("setStorageItem", (n) => this.setStorageItem(n));
|
|
18452
18452
|
},
|
|
18453
18453
|
methods: {
|
|
18454
18454
|
async init() {
|
|
@@ -18458,7 +18458,7 @@ const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce67778
|
|
|
18458
18458
|
this.$emit("ssoEvent", n);
|
|
18459
18459
|
},
|
|
18460
18460
|
ssoIncomingEvent(n) {
|
|
18461
|
-
|
|
18461
|
+
$.$emit(n.name, n.data);
|
|
18462
18462
|
},
|
|
18463
18463
|
applyBgStyle() {
|
|
18464
18464
|
this.display === "redirect" ? document.getElementsByTagName("html")[0].style = "background: #dfeefe;" : document.getElementsByTagName("html")[0].style = "";
|
|
@@ -18492,11 +18492,10 @@ const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce67778
|
|
|
18492
18492
|
return window.Buffer = Zi, document.addEventListener("DOMContentLoaded", function() {
|
|
18493
18493
|
const e = document.createElement("script");
|
|
18494
18494
|
e.src = "https://www.google.com/recaptcha/api.js?render=undefined", document.head.appendChild(e);
|
|
18495
|
-
}), (e, t) => (N(), x("div",
|
|
18495
|
+
}), (e, t) => (N(), x("div", Od, [
|
|
18496
18496
|
e.display === "redirect" || e.renderView.includes("Auth") ? (N(), x("a", zd, t[2] || (t[2] = [
|
|
18497
18497
|
_("img", {
|
|
18498
|
-
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAC1CAYAAACppQ33AAAhq0lEQVR42uydCZxWVfnHnxlAdkVQXAABIZHcE1ERcClcSS3/Y5oZppZammVm/jV3XNJscdck11ywNMncF0pUBNM0EVBEXBBUVGQTEJien+d5c4CZYd557z33nHt/38/n+QzM8t6z3fOc5VlESFJsrHKAyuUqM1UuYJMQQkhqbKjyHZVbVF5RWayyXOUzlYUqM1TGq5yp0r+pH1pTUyO1tbVRSkuOiWZRpbKRynYqg1R2VtlSZf1VfocQQkiyYN49xjZQG9bz82oV6LaeJjuqnKLyqMplKo/ntWGo0JuuwLurbK8ypI4C78imIYQQL2DDdIntyluU+bftbQEAuU/lpyrTqNCLQQtb2UGBD7ZdeH8bFIQQQvyCjdSfVHok8FnDbV4/TuUOKvT8gXborbKDDZwdTYG3YdMQQkimHKpyo8paCX5mJ5Xbxdk+/YYKPW4wMPrWUeA72f9b890hhJBgOEyc0VtaNkmXijOiu5wKPT5gyHahKfA+whMKQggJlQGmaNM2MP6tymyVu2JvsOqCDZDNVEao9KMyJ4SQYGljynxdD8+CzdQV4q5dqdAjYgXfE0IICZ4fiztJ9UVXcae3VOgNsIvKgRyXhBBCyqCzyo8yeO7BKgOp0Fdna5U/q9wmzvWLEEIIaQr7q2ySwXNxV38EFfrKwOXrQXERfNqq/FWcBTkhhBCyJg7PeDHRiQrdgWP2+8VZk5dAhLUbxY9xAyGEkHhBNLitMnx+N3EnzIVX6FDm94q7/6jvZ7dL8YzwCCGENJ0tZOWcGFmVodAKvaTMuzTyO3upXMnxSgghpAE2D6AMW8XaeEko9EFNUOYljlU5iWOWEEJIPfQMoAxdYm28ShU6lPmYMhsAofa+y3FLCCFkFUII+FVbRIVezs58Va5S2Z1jlxBCSB1CCP5VFWvjNVeh72zKfL1m/j3SkN6ksinHLyGEEGNWAGWYWSSFDmU+pgJlXqKHfU53jmFCCCHK1ADK8HpRFHpSyrwE3AP+IC4ADSGEkGLzssq8jMvwXBEU+rZS2TF7Q+wtOclFSwghpCLezlihTlF5Me8KHcfjiACXlsP/USrnciwTQkjhyTIv+X0qi/Ou0D9UeTTlspwh2cbwJYQQEoZCfzuD5y4SF6Y8WqrLqOgRKr9QWZZief6osg/HMyGEFBZsIK/I4Lk3qEwqgkIH8A+8WOUga/A0QFCBUSrbcUwTQkhhgUJ/wePzZqiMjL3RmuO2Biv3/VTeSKlMyNT2J8k+QD8hhJBswKnwCSpLPDxrubiw5LOLqNDBs+IixT2dUrn6q9wtLgBNklTxPSGEkCh4SuXElJ/xmTjbrYfy0GCVhH7FamY3lVtSKttglcuohAkhpLBcq3JaSp+9VOVQcam9c0GlyVmwukGildNTKt+RKr/mmCaEkMJyoemCJG23PlD5lspf8tRQSeVDv0Dlh5KO/x7SrZ7AMU0IIYUFFujIU36nVJ4NDTFVcGX817w1UnWCn3W1ytdU3kqhnL8RF1GOEEJIMUHilkNUdhFnOF1OiFgcrz9semS4yrQ8NlDSuWdhxIC779ut0ZMs52hbMEyo4HN4H08IIXHzjEk3lYNVhqr0VdlApZ1Ka3HXwa+qvKbyT5UH7d+5Jo1k8ojwM0zlOpXvJPi5HVVuVtlXZTrHNCGEFBqkOf2tSSvTEWuL847C9e+bkm4gtOCoTulzPxXnCnB2wp/bz5R6O45lQgghBnbkH4kLEINob68XTZmnqdBLnGOK/dMEPxNH+TjSb80xTAghhPhR6OBWlT3FHY8kxf4qF7H7CCGEEH8KHYxTGSKVGbStyk8k/ShChBBCCBX6KiD2+1dVbkvwMy9R2baM36eVOyGEECr0BFigcpgkZywHV7ZX2I2EZAoXyoQEQMuMngtjOVgkXirO3aA5XK9yjLi0riR84FKCDHobq3Q3aaGymThXk1X7cbl9D+4n82284N9TVeaKyyXwnrjgErVs3tRY1/poW+vDLiqbqKyjsp7KWnX662OTd8QFAUG//btOn5H0N2jwxe4jLsHVFuJ8tfEetbW+amHz/jJ7d9AvM+zf8Nt+w/pvAZuTCr0cLleZLM5ifb0y/xZR6X4YeNsWeaHRSWV7lU1VvmITS2+VzpKcyyE8Jz4RF5kQASNetgnpFfvKhV7zFTj6DkGcdlDZUqVrhZ+JhddL4tyJkKnxMXGxtEnlYO5EOushtujqa4ut5rLU+utFcbZPY8XlJV/KpqZCXxOPioupe6+tKJsCEt/HENv9Gyo9m3EC0cJWyz+z3U4sYNcGG4l9bHLZMOXntTXBcwauMiFBcTwhLiXis6b4SeNjbjdxySoOtJOUJMGucZiJ2GkL+geJMR5RmcMuKAu47O6hcoQtvDon+NnYxfcwGW7fm6IyRly41ZcyqnPpdGGFnS4s5zBYnVDuvrCju9VWmo2BdKqVWLbvZhNJDAyzBU/IYMGyry1esDBrH2AZZ1uf/03l71Je/OckQbaoH0k6R5lo9+tMyqHa+u5UlQEZtQsyaI0yeTWQMYN5ZidJNn5Gab7FAv+nKuObeXpSo/JjcadevllmO3bk1njA0zPPN73Q2tpumS3acf22RCo/icNC4U1bHH2eXKympkZGjx7N1UGFoLOQKrW2AbksgWfs3sjnhybnBNxXOIr9gymn2ogE0aPOEnev6JvzUq7b5WWWBycpEwPqG0ym8IDZMoDxPS7luh5WZnla2oLw9YD66/E6Jy5p8oSHukChdyg9EAq9trY2SqkOSEkgdN/J4tKlrnpfc6WtSovErgGWaZCtzHGMfXSgO/LGwJ3+2eJsN7B43Njjs9O+02/qu4xd3jV2WjEgoL7BDuxQlX+p3CLuLjgr0u6rcq46dzDlOcrGbyhgc4QrLZys9oi4L0rPyIVhbXWAZUKg/REqC+3/WLUXMR/6NhntJOsDx4/32c5lb4nfTQnW2rBRgAHdSHFW9rHTlIkPu3IYOB0TcB/iCBRJnZ4TFw2yUw7f7abc/6J/TlF5UpxNSohU2WkDAobtJ4QKvQHuUNlLXOCY70sx3ZJKluJZsontDMbZC5s3f2NYA58uzqL3/3Ks0PGen2q78p4R9c0vxKXJ/GrOxt2aFl8w9LxH5VcSR84KlHeMvUuECr1enrIV6qIC98/uGa68kVQHx5+4u2uR83bupXKXOLuAdXJWN/Qd3DwvjHRBtrk4S/iL5Quf9zyDBReMYQ+IUJfgtAvXJS2FUKF7UlQxsUsGz1zPlNvNUn58gNiBXQCMcLbKSX1wtQCbhx/k4L39uTj/9b45Hn872vjbIuI64LrkpoIsvoJU6AjQcojKUHFHvIgyhGhQHQqwMwsdvNg+DWEwBuBOc1CB23w7lQclTKPEct9t7JaG5ahvBotzmxqaw3GHoDBwreydg7p82zYExDM4Grlyle/B93KBfYWPKIKbIIQjwgF+Yt8rhXXEzz6QL6J24e8YoSs5EFUNBmnTPTwLR+vXCo/LAKzfcewJq+s/R1oHWLIfkMO+6WY7dewE78xJnWCrAuPf9XPUTwhShLgCZ3I68avQV8jKR++lCFylgbYm4G62xJT7PFPqs03B43vvrrIQKC0U5tnf4f+Mxd0wu0qyGerqA8Y3p7CpV3s3brHxfW9kZYdXyPcL0DeIQHdZ5HWB6yci5vXPYT+dIS6W/92cTvy9GJXSyqRDGX8DpQ+3NBi8zTHlDqU/077OtUHwBrvo83v0VqZY0phMcEIzgs1cL21McSC85oTAy1paFCMM7kUF6Bu8E78Xd4oVc32RoGpAjvsJbsjjbWNHIlDozaFDnQVAQ3dGUOqjEn5ujFa+/cRlu5qUQt/DeOUgvgaNAsMyHLvj/vatgMsJ1yFYhP9OkkuAEwMX2qbg+ojKXLqWxF3zMTnvn01swfVdTiXpE7KVe1Ukn+lj0bVzwp+JK5XbqMybTA9bXIZsX4A7y8kpjJUYuEqcvUMswEYDBq8jC9I/cIHdm9NIsRV6GmWL9a4+aX90JFeo4fAvCxy7n8pmCJJWtuDaKZLyImAWghn1LlAfnSt0ZaNCJ58D/9SkjlFhAHcsm7RZ/L9kH72P1A9OnZAiq0cEZcXcVjSXYMSkP4zDtLhKkz7wX4DYAEkEm4BrGq3Zmw8WVSPZDMECZX4tNwPBciz7hgqdOAZX+PedqMwTAXeBX2czBAsS0DCmeJgMFN6lU6EnSMzJRSqNXAavgT0kbJ9QWP8ujaAvTpb8JarJE1Dou7AZgt2lk5QI2WqXCn1lBtgue24FnwFfUBjDIbb3OSpdM6gH/OmnirPIRgQ8pMn80BT5fPt5T6trF/vaz1b3XwpkEYrQo8PFheok4YEMZb+2fvqMzREUMC6Fe+UUNgUVepFByEvkSP9HArtghAVFvHLcN+7poexLrdyIiDXWFHljE+3ker4HC9kvi0urCzeYrBNYHE2FHjSweD/RFDsJh7b2DlOhp0DIR+6MKb46QxL8rBni7hsRJnReSuXF595su+s9bQExtZm7JiwKEEYSVvqwmIXf9VMZ9gXuArcuyLhDCGcE1XlbXDTHOZHsfGEz0rMgfYT+wAncG7ZgRl99GmhZDxBSOKW5EbtnNXaTZK2ssVu/QuUh27XvkeDkcofKaeKS+iQNJiq4KN0jLgLVeRmMl7VsQfRSzsYYwjE/o/JP20Uh/8I0W5xVmSAk7rri0utiUYN0s5vZrrhDQHVBspOfqPw0Z32E9/YFlcfFhSRG/yy2vlpifYTN2sa2oMG7gSu70nF31hs5BD/C9dlrnNKTZ7m4gCuhSRqhHIcFWtemCnZGG6Q0DnDFcbp8kSynuTLBdtA+6S4uO5rv/ijnhOCcgMcVFMQj4jKY9aqwH5COeWJAdcPJTrmxA/4ZaD9hsXWrLZyqmvmOw1jwFlP8WdalqaFgH/NQFpxqtC89sKamRmpra6OUUI7csaNDspb3VV6xY9lJKTwndstkGIl9JcWF3fn2wj/bzM9AIoYhNqH7BKcA+9lpg0+wcNky8jF1jymIYaYsZlTYDwjDikBIuGIZG0D9EEXupBxsvGCvMdAWXeOleVEvl9si9HDro8cyrM+uQhInrSP3ZSofmaKGVfa7Nphwr/OBrQ5xJ1eybsb359vucK79PWn4lOGBFD//eXHWwWeJC3XalEUfMuTBcn50hu2CMXWCjTlfR6xQFrupvBzhOJpo7ZSGHUJpxw/5psrF4oIjZcWB4jwlpkbYT4tsQXJtwp/7b5tLzrB33ffmDguKtSQON9WoFHpju9Zamyjxgn5syhYT5izbTeNn0+37C01Jf2r/fs86a7EU03UE90OP2qRfLV/cP1Y38v8Wdb7fos7X9e0r7i7X9lB29BuO3x9WuVoaz9WMRdmhNnmHwEnW5sd7et7gDE4GKgHvIuwwfmXvb9rcbTvBi23RlwWI8HesxHeXPltcEKPnUvp8zO/n2jvsewxvKs5zhymyE1boj9iLvcB21XNsJTvPds3v2I659P/lbLYm8aS4+8Sk8bmShqvZQHvpf1LP4g+LOfhjTw6s7XGyACMgH8k6to5opwELddxdPu75uTjBQZrQZ2yB2CaDumPReaFtRGIAV441nt6tK8UZOZ7nsX5wX+tNhU4qYU/xZ/Txx5y13V42GZbqh1X9tgGXd5DtRtPuZyyGN2tCebI2ipslYbjZ7WEbhyzaoKlRyrI2ipuZ0bv1N8/1PLEJZaJRXIRGcb7waRS3ImdtB9c2WAvfbrvREeLu4ULlaXE+8GmD3Xn/wPsOR7ffkDBc7HA6cJC4E0HfjJDwDWPRLgdk9G4hpPE8j8/rIyRRqNCp0MsBxotH2I70vgjKe5WnfugXcBvMstOV8QGV6QlxR/C+wfXRdoGPWdzzP5fRs3HVeoPH521OFUyFHgsrclov7M7fjKSs/1IZ5+E5vQIeg9+XMIPf3Cbp2Jisab7bN+DxCi+R6zMuwyjxZ8S8thAqdCp0UgY+fG03DrTuF6j8PeC+gYHcTZ6feWCg8x6O2s8LoBz/EXdd5QPkr1+HUxQVegzUsgmCwMdRc/cA6w0/8/Mj6B/EW/dp6YwEPyHe3V4m4cQzeMjTc5AVby1OUVTo3KHHCfzD4ROMeN+d68h6tlLHEVxHcRanrRJ6pg83JcTK7hRYWyOOwOIIxgT65yKPz4O71M6BtQE8Rq4JqDy+duitpY51OamcomU0o1GcnwkTCSH6ijOe6ylf5Dfvaj9vUWdlXgqkU3IxA4h1gAhZcN+BId4McYGNcHeP0MAIYNTUoCiw8P7IFg5p1rl1QH0A96NHIhozcPFEONLBnp6HsKM3B1T/v9g4DwUExZrrYZGKhf36Ulm4YVJghc4devIgSMg2NkliQkbmrW4J7bDrs4JdbIoed30weEPoUgThmN/AZyy0xUGaCr1KwnKHuiSyMYTAVQj64uu+f3ub+0IIMY1F7KjA+uM9e8d8nDq1o6qgQo+BPN+hQ1nj2PJgcS5RfT0vIPqYHGjfw+QDlxu4Q40Rdxe5ok4/pN0XLQJ6l2AE+GSEY+pBcUe9gzw8C6k7uweyM4QnxsTA+gInZMi/sYWnuYRQoXOHngE4HjtM5UjbiYdCNxNEIUOiCQTlQAzxu2xiSrsv6l4hZM2oiN+XUZ4UOnaFGwei0O8PdPE/m/MkFTrJ50DF5IdMZkeLM2ALfUwPMDnTdqs+XGNCmJQxCT8c8TiDcpvjaYz1EX/GX40xNtC+mO/xNIBQoQdPHo7cce/8M3EBQDpFWH4czw8r0JiDPcGHEZcfCxIkBDrIw7NCiGsPC/9JgfbFB9z4xEc160uF3gDIY427vdMiVeZFZGwO6uAr7On6AdR1soSb/W0+XycqOBK/QsfxNHIjw5VmU3ZjVExgHZpMCPH3pwXcD0v5OsUHj9xJXRBF61YJP4EFWR0ctechtzR2rT58oFsEUNeXAu4H3m1zh04iBj7kT1KZR8sM8XfvmSY4gn7Hw3MQlTDrYEAvc9gSKnSSNIeIiy7WmU0RLYtzUg/sDH0Y9pXCDWcFIiPO5LAlScLQr+RrKjdKWKFLSfm8laO6+DAUQ7jeLOOIfyxxeyQQ7tBJYOCY/U4q81wwO0d1WeThGQgE1CHDOs4TWpITKnSSEAh9eYPwmD0v5MmI6TMPz4BRXKuM+4s+2IQKPRJCP96/VvzGYCekqdR6ekaWrqWLhZbkhAo9GkI2UvqFyr7sIr7LBWaFp5OAxnbotewGwkkgDj4KtFzwNT+V3ZM78mQH4UPRQZl/ymFDqNDjxecxeKg7dIZyzSeb5KgubT08A5HQFmVYR3rckMSh21p6hGjwsr24HOYhsFDlNXFRwWaICyYyy75fZe3XRZzxHthMZUOVXirrShiRvkJiwxzVZTNPC+4lGW+mMM557E6o0CMgRIOXn0u2lr0IpDFG5TFxSTjeKbOdqk2ZYze6o7jc2QPFGfcVXcH3FpdwJPZocR08LU6wePw4AIVOCBV6BIS2Q8eu5+sZPXuKyqUqo8X531bSph+avKByjTh/4i1VhqvUiLMRKKJtCCKf9cmBQu+p0s3Dc97PeHfcggqdpLFKJMXYoX9HpZ3nZ+JI8wxx8eGvr1CZNwTuQp9XOdees4s4l7wiRuHqlYM6DPC00cg6sh536IQKnTv0ZvfzcM/PhJX/PiojxZ+B4DKV8SrH2q79FJVJBRpzQ3JQh109PSfryHrcoRMq9AopqlHc5qbgfDHNdspPZFhnTNiXiItVP6cg4xt1bRtx+Tuq7O7pWa8GMBdRoRMq9EgI6ch9J/FnDAerdRzvTwmk7rhjL0qsethJ7Bxx+YeKv2uDEBQ6IVTokRCSO8ogj886UeXZgOoOn/sOBRp334247CM8PQeGg9M5RREq9LjxGRlqWUD13srTcx5WuTmwPu9VsN3QN8S5sMVGP/Fn5/GmxO8NQEjhFbrP6G3tAqkz7iU39vSs8wPs8+0KNsbXVjkhwnLjZMfX/f+rQggVevS863GXPjiQOiMIi49AHfALHxdgn+9awPf6eJVtIyovggQd4/F5j3HqJ1To8YPIUPM9PWsvCePuFjs2H369T0l4wXS+ZMqiaMAA8qyIynumx7kI8dv/wamfUKHHD4KNvOPpWZtKdpHZ6uIrEcsrAfY37mTbFfTdPlDl2xGU88fiN5Xvv1Re59RPqNDzwZsen4VdUpeM6+vrlGBGYP0MQ7iagr/fvxM/iU6aC05PRnp+5gOc9gkVen7w6R8Ny93fZlxfXz7YoYW6xZXHzgV/v5GsBV4HHQMsG+w6rvdcNlwJPchpn1Ch54f/eH7e4Sp/kuyOfn3lfO4SUB9jd34KX+//7YIR275VQGXqoXK/+I1eCHDc/gKHBKFCzw9TxX/QF9xlPqOyv7jIZT7xlYTiywH1MYKr7M7X+38cqnJHIEodXheIV5CFO+HfOBRInili+lTs0GHAtYXn526tcq89/z6VCeL84hfZ1yUmnzVjUYbPmNnAz5faAibt4CqhuIf1UrmAr/ZqfNPG3/dU3suoDPA6uEtcbgHfIFnQzRwGhAo9X0BhPp6BQi+xldQfuQ1KF9HlynX9wh35ayrbS/0ueQvE+d6nfeQPv2dY9k/PeDxfJ/4C6cQGst+NVTlC/IfnPVjlapXOGdUdi5k3OQRInilqLPcQLV2xg25lCrocKe18tmngc5F17H0P5Ydx0/EZt+EolWF8rRtlc1Pqp4kfg8mNVG5SuTNDZb7MFhOEUKHnkKfF392yL4Y28P1FHncmR4l/Q6fSzvzXEndiEp+0ERemF7niD5F0TuoQ0Ogke0bW/YI7+4nsdkKFnk8+sZc8TzRmBObLVW9t241t6LHeMDKEF8HP+DqXTR+V21X+LS6Weo8EPrO/ynmmyC9VWTeAev6OXU2o0PPN3Tmrz1fEHW/Wx9Oey4HFUncPz4IdxJPi7mdJZe0IpTdZ5SHbWSMXwQbSuGV8tS3e9lA5Q+UJcW5hv/TU/00BRniPsItJEWhZ4LrjHn2chJNEpVJwPwnDtFn1/AwW9UvFn8vcVqbUj05pMYF6/EjlHAkzaEqstFfZ0wTMFXc1VbKKn2a/002c8WYX2+WvE2h94DVyEbuVUKEXg8tzpNDFFHp9Bn/TbTL26Sve33Zs14g7gp2TwGdCccCnGsfDm/P1TZ1OsnIugNgMDq9SeZ7dSIpCdcHr/2dxAV/ywg4NfB+78zszKA920ki+8aLKxeJC4TZnjMKH/1fi4gdcTWVOmsB0GzOEcIdeEHBsCOvov+SkPgNtRzW3np/B+AnhUNtnUC74hf/clDusjceKy3j1qji3uo+sL7ADx9VBX/sbHN3vZAq8FV9XUgYnS3YBdAihQs8IGMfhmHqfHNQFd5sIqflEPT9D8BmEvjwkw/LB73mwrHzNgaA3n5hCR2Y43IlXcViSCviDyj1sBlI0qtkEn4Od67yc1GVIIz+7LsDythVnKY0d+dpU5qRCcC1zKpuBUKEXl5fFGW7lgaGN/Aw797vZ3SSnIMzxCHFXOIRQoRcYBMH4aw7qgSP3jRr5+VniksEQkjcQqfA5NgOhQidIjgLf5pcirweMygY18nOcRlzI7iY5AwvV0WwGQoVOSrwrLhNV7Ed2u63h57Dsf5bdTXLC71XOZTMQKnSyKghduZ/KBxHXYZs1/BwJW34o7s4xz7zOhUvuuUWcUSshVOhsgnoZb0r9/UjLD7/t9dfwO4ighdCsK3LahwiBi4Q1R3I455Y/isvktpRNQQgVemNMNKU+JcKyQ5lv14TfQ/S4M3PYdwis8y2Vt8VPzu9QwIkLwhkjQtobOa8rjtiP4jRFCBV6U4HF7NfERTaLjV2b+HvIi31GjvoMMeOHi8vCVjQ+VjldnB/2UZLPKxUkXEGq3LM4PRFChV4uM8UlpThb5bOIyr1LGb87UvLhhw+7h6+rPFXg97n0TiPmQI3ky0XxQ3Gpcn/DaYkQKvTmskxcqk64g8WSvQkJTTYq4/dx9H5kxAoAyhxXJOM5XP/HgyoHmSKMHeQ0R/KhMexWQqjQk+A52/keJy6pSMisKy6dajncIO6o/pXI+gX2DkPtK1mZ+61PX4u0/PDIOE1lb8m/XQAhVOiewQ72GtsBny3uSD5UhjTjbybYouWGSPrjJpWvSpzGi76YJC5r3Z2RlRvXBkjkg0BIK9iNhFChpwWOeHEM/2WV76k8LS7aXOwKHcBKHMfvOMKeHGj7I0MbDL+OUJnP4bhGECwJmfYOl/DdMaeKuyvfU1xcCEIIFboXkKXtRlOeO9puAkfWywIoG/KJd6/g73FcixzrJ0hYuaVxj7q9OD/kNeEre1ssWeJuFXcXjbZbEljZZqicqDJA5a4M36EqT88IecyE8t6wL8qA+dCTA0eCE03OVukn7u5ykE1Q8A3v5LlM64iz0K/k+ByuT1eIO6492XZ4G2XUxtPF+ViXkwYWngmz7IVdkdI7ND+QBVxTectON9COv1TZN8PFPU61cM1zlbjkSCGkMcbpG06pFqX0+a1tgVwb8BhZaOM6rdOvKnt31rSohBvqJ1aeNFjL+iIXVzrMPe0HDJouKj3ERXHr4GkAYeJ4UZL1o8ciAQZKh9qCxcci5XlbVIxuxovdQqW9hzIuWEOf4nom7SA+sOfYwibAcoA9yA9U9rcx6mtxdp/K7abQQ5pQ25uySVPhrpCw4wRgzmrrYdGB93l5AH2xsPSMmpoaGT06zjw/3KH7YantEmfZ5BUzn9huHbKBKfU97SSij00ElfKpLURgl/CQymNreOkbY3kgu76QQYbB48UFpIG3wD72tZ8kF2kPfYBMf+NUHhAXY//TgHennLPCCKnLvqBCJ554z3bNkFYqvVS2FHd3/yWV3uLSuXa2lXaLOn9baxMGfKRxvAmXpCm2G4e8LbRs9g12jPebYG7oaTv+baw/N1FZz3ZuPev0JxZNuNrA8ekc+4qxMU3cvTiuoSbZgraWzUwIFToJG0zor5ncU+f7mPRxLN+uAYU+N+CdWpGBTcDrJqVgLiXjoTbiTmM62u8tMoFL58em0GupvAmhQif5Yrntwj9kU0RPSUlDef+HzUFIWNBtjRBCCKFCJ4QQQggVOiGEEEKo0AkhhBBChU4IIYRQoRNCCCGECp0QQgghCdKyU6dObAWSGgsWLJBly5axIUgqtGvXTlq3bi21tYxhQypn/vz50r59+2jL33Lq1KnsRZI4VVVV0rJlS9l7771lwoQJbBCSCiNHjpTjjjtO5s1juH5SOVgYtm3bNl6F3rVrV/YiSY1WrVqxEUhqdOzYUdq0afO5EFJ0eIdOCCGEUKETQgghhAqdEEIIIVTohBBCCKFCJ4QQQqjQCSGEEEKFTgghhBAqdEIIIYRQoRNCCCFU6IQQQgihQieEEEIIFTohhBBCqNAJIYQQKnRCCCGEUKETQgghhAqdEEIIIVTohBBCCBU6IYQQQqjQCSGEEEKFTgghhBAqdEIIIYQKnRBCCCFU6IQQQgihQieEEEIIFTohhBBChU4IIYSQWGjJJiDEK7UpfW5Vip9NCImA/wowALqv7GXv+J+kAAAAAElFTkSuQmCC",
|
|
18499
|
-
onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
|
|
18498
|
+
src: "https://cdn.tapni.co/images/logo-dark.png",
|
|
18500
18499
|
class: "header-logo-img"
|
|
18501
18500
|
}, null, -1)
|
|
18502
18501
|
]))) : ce("", !0),
|
|
@@ -18556,7 +18555,7 @@ const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce67778
|
|
|
18556
18555
|
};
|
|
18557
18556
|
export {
|
|
18558
18557
|
ct as A,
|
|
18559
|
-
|
|
18558
|
+
$ as E,
|
|
18560
18559
|
Us as Q,
|
|
18561
18560
|
_t as _,
|
|
18562
18561
|
le as a,
|