@tapni/auth 1.0.18 → 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-rf8bGLGW.js → Apps-C48_LPv-.js} +1 -1
- package/dist/{Billing-DeDNiiDa.js → Billing-B8J3f2pG.js} +1 -1
- package/dist/{CustomApp-NtrCIk_F.js → CustomApp-DNJYi2ms.js} +1 -1
- package/dist/{General-G-9IcU4l.js → General-Dp-0s35x.js} +1 -1
- package/dist/{QR-CTWsBUj7.js → QR-DbgxZeXg.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +9 -9
- package/dist/{install-CcWeBFFw.js → install-DPaC-bE5.js} +613 -616
- 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 +5 -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,9 +5837,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5837
5837
|
refreshTokenAction: !0
|
|
5838
5838
|
})
|
|
5839
5839
|
);
|
|
5840
|
-
|
|
5841
|
-
return n("logout", { refreshToken: r.refreshTokens[0], sendRequest: !1 }), location.reload();
|
|
5842
|
-
a && a.data && (e("setToken", a.data.token), Y.$emit("ssoEvent", { name: "setStorage", data: t.$storex })), t.refreshing = !1;
|
|
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;
|
|
5843
5841
|
},
|
|
5844
5842
|
async login({ commit: n, state: e, dispatch: t }, r) {
|
|
5845
5843
|
const [o, i] = await ve(tt.login(r));
|
|
@@ -5858,7 +5856,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5858
5856
|
{ code: o.data.auth_code, state: e.state },
|
|
5859
5857
|
i
|
|
5860
5858
|
);
|
|
5861
|
-
}) : 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", [
|
|
5862
5860
|
{
|
|
5863
5861
|
id: o.data.data.id,
|
|
5864
5862
|
username: o.data.data.username,
|
|
@@ -5868,7 +5866,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5868
5866
|
}
|
|
5869
5867
|
]), o.isModal && (t("successSnack", e.ssoLang[r.appLanguage].success_login), setTimeout(() => {
|
|
5870
5868
|
location.reload();
|
|
5871
|
-
}, 1500)),
|
|
5869
|
+
}, 1500)), $.$emit("ssoEvent", { name: "redirect", data: "/" + o.data.data.username + "#edit" }));
|
|
5872
5870
|
},
|
|
5873
5871
|
async register({ commit: n, dispatch: e }, t) {
|
|
5874
5872
|
const [r, o] = await ve(
|
|
@@ -5951,13 +5949,13 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5951
5949
|
UserId: t.loggedInAccounts[a].id,
|
|
5952
5950
|
localUser: t.loggedInAccounts[a]
|
|
5953
5951
|
}), n("setRefreshToken", i[0]), n("setLoggedInUserId", t.loggedInAccounts[a].id), e("refreshTokenAction", t.loggedInAccounts[a]).then(() => {
|
|
5954
|
-
|
|
5952
|
+
$.$emit("ssoEvent", { name: "switchAccount", data: { username: a } });
|
|
5955
5953
|
}));
|
|
5956
5954
|
});
|
|
5957
5955
|
else {
|
|
5958
5956
|
if (t.display === "redirect")
|
|
5959
5957
|
return So.push("/welcome");
|
|
5960
|
-
t.display === "npm" &&
|
|
5958
|
+
t.display === "npm" && $.$emit("ssoEvent", { name: "redirect", data: "/welcome" });
|
|
5961
5959
|
}
|
|
5962
5960
|
},
|
|
5963
5961
|
async getCompanyBySSOEmail({ commit: n, dispatch: e }, t) {
|
|
@@ -5984,7 +5982,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5984
5982
|
return r ? e("errorHandler", r) : o.data.success;
|
|
5985
5983
|
},
|
|
5986
5984
|
setLoggedInAccounts({ commit: n }, e) {
|
|
5987
|
-
n("setLoggedInAccounts", e),
|
|
5985
|
+
n("setLoggedInAccounts", e), $.$emit("ssoEvent", { name: "setLoggedInAccounts", data: e });
|
|
5988
5986
|
},
|
|
5989
5987
|
setLoggedInUserId({ commit: n }, e) {
|
|
5990
5988
|
n("setLoggedInUserId", e);
|
|
@@ -6160,7 +6158,7 @@ const tt = {
|
|
|
6160
6158
|
this.referral && (e.ref = this.referral), this.display === "popup" && (e.response_type = "code");
|
|
6161
6159
|
const [r, o] = await ve(tt.googleSDK(e, this.$storex));
|
|
6162
6160
|
if (r)
|
|
6163
|
-
return this.googleLoad = !1,
|
|
6161
|
+
return this.googleLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(r);
|
|
6164
6162
|
if (o.data.success) {
|
|
6165
6163
|
if (this.display === "popup")
|
|
6166
6164
|
return (t = window.parent) == null ? void 0 : t.postMessage({ code: o.data.auth_code, state: this.$route.query.state }, "*");
|
|
@@ -6169,7 +6167,7 @@ const tt = {
|
|
|
6169
6167
|
}, 1e3);
|
|
6170
6168
|
} else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
|
|
6171
6169
|
} else
|
|
6172
|
-
this.googleLoad = !1,
|
|
6170
|
+
this.googleLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
6173
6171
|
}
|
|
6174
6172
|
}
|
|
6175
6173
|
}, Ra = Ir("SignInWithApple", {
|
|
@@ -6201,7 +6199,7 @@ const tt = {
|
|
|
6201
6199
|
this.referral && (e.response.ref = this.referral), this.display === "popup" && (e.response_type = "code");
|
|
6202
6200
|
const [r, o] = await ve(tt.appleSDK(e.response, this.$storex));
|
|
6203
6201
|
if (r)
|
|
6204
|
-
return this.appleLoad = !1,
|
|
6202
|
+
return this.appleLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(r);
|
|
6205
6203
|
if (o.data.success) {
|
|
6206
6204
|
if (this.display === "popup")
|
|
6207
6205
|
return (t = window.parent) == null ? void 0 : t.postMessage({ code: o.data.auth_code, state: this.$route.query.state }, "*");
|
|
@@ -6210,7 +6208,7 @@ const tt = {
|
|
|
6210
6208
|
}, 1e3);
|
|
6211
6209
|
} else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
|
|
6212
6210
|
} else
|
|
6213
|
-
this.appleLoad = !1,
|
|
6211
|
+
this.appleLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
6214
6212
|
}
|
|
6215
6213
|
}
|
|
6216
6214
|
};
|
|
@@ -6243,14 +6241,14 @@ function Qe(n, e) {
|
|
|
6243
6241
|
}
|
|
6244
6242
|
n.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
|
|
6245
6243
|
}
|
|
6246
|
-
var
|
|
6247
|
-
return
|
|
6244
|
+
var W = function() {
|
|
6245
|
+
return W = Object.assign || function(e) {
|
|
6248
6246
|
for (var t, r = 1, o = arguments.length; r < o; r++) {
|
|
6249
6247
|
t = arguments[r];
|
|
6250
6248
|
for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
6251
6249
|
}
|
|
6252
6250
|
return e;
|
|
6253
|
-
},
|
|
6251
|
+
}, W.apply(this, arguments);
|
|
6254
6252
|
};
|
|
6255
6253
|
function Ao(n, e) {
|
|
6256
6254
|
var t = {};
|
|
@@ -6260,7 +6258,7 @@ function Ao(n, e) {
|
|
|
6260
6258
|
e.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(n, r[o]) && (t[r[o]] = n[r[o]]);
|
|
6261
6259
|
return t;
|
|
6262
6260
|
}
|
|
6263
|
-
function
|
|
6261
|
+
function L(n, e, t, r) {
|
|
6264
6262
|
function o(i) {
|
|
6265
6263
|
return i instanceof t ? i : new t(function(a) {
|
|
6266
6264
|
a(i);
|
|
@@ -6287,7 +6285,7 @@ function O(n, e, t, r) {
|
|
|
6287
6285
|
p((r = r.apply(n, [])).next());
|
|
6288
6286
|
});
|
|
6289
6287
|
}
|
|
6290
|
-
function
|
|
6288
|
+
function O(n, e) {
|
|
6291
6289
|
var t = { label: 0, sent: function() {
|
|
6292
6290
|
if (i[0] & 1) throw i[1];
|
|
6293
6291
|
return i[1];
|
|
@@ -6603,10 +6601,10 @@ var mr;
|
|
|
6603
6601
|
(function(n) {
|
|
6604
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";
|
|
6605
6603
|
})(mr || (mr = {}));
|
|
6606
|
-
var
|
|
6604
|
+
var Jt;
|
|
6607
6605
|
(function(n) {
|
|
6608
6606
|
n.MSSTS_ACCOUNT_TYPE = "MSSTS", n.ADFS_ACCOUNT_TYPE = "ADFS", n.MSAV1_ACCOUNT_TYPE = "MSA", n.GENERIC_ACCOUNT_TYPE = "Generic";
|
|
6609
|
-
})(
|
|
6607
|
+
})(Jt || (Jt = {}));
|
|
6610
6608
|
var Be;
|
|
6611
6609
|
(function(n) {
|
|
6612
6610
|
n.CACHE_KEY_SEPARATOR = "-", n.CLIENT_INFO_SEPARATOR = ".";
|
|
@@ -6619,7 +6617,7 @@ var Zt;
|
|
|
6619
6617
|
(function(n) {
|
|
6620
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";
|
|
6621
6619
|
})(Zt || (Zt = {}));
|
|
6622
|
-
var
|
|
6620
|
+
var $r = "appmetadata", Ma = "client_info", Vn = "1", Qn = {
|
|
6623
6621
|
CACHE_KEY: "authority-metadata",
|
|
6624
6622
|
REFRESH_TIME_SECONDS: 3600 * 24
|
|
6625
6623
|
// 24 Hours
|
|
@@ -6642,7 +6640,7 @@ var Ge = {
|
|
|
6642
6640
|
(function(n) {
|
|
6643
6641
|
n.BEARER = "Bearer", n.POP = "pop", n.SSH = "ssh-cert";
|
|
6644
6642
|
})(_e || (_e = {}));
|
|
6645
|
-
var
|
|
6643
|
+
var $n = {
|
|
6646
6644
|
// Default time to throttle RequestThumbprint in seconds
|
|
6647
6645
|
DEFAULT_THROTTLE_TIME_SECONDS: 60,
|
|
6648
6646
|
// Default maximum time to throttle in seconds, overrides what the server sends back
|
|
@@ -6666,18 +6664,18 @@ var un;
|
|
|
6666
6664
|
(function(n) {
|
|
6667
6665
|
n.FAILED_AUTO_DETECTION = "1", n.INTERNAL_CACHE = "2", n.ENVIRONMENT_VARIABLE = "3", n.IMDS = "4";
|
|
6668
6666
|
})(un || (un = {}));
|
|
6669
|
-
var
|
|
6667
|
+
var Yn;
|
|
6670
6668
|
(function(n) {
|
|
6671
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";
|
|
6672
|
-
})(
|
|
6670
|
+
})(Yn || (Yn = {}));
|
|
6673
6671
|
var pn;
|
|
6674
6672
|
(function(n) {
|
|
6675
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";
|
|
6676
6674
|
})(pn || (pn = {}));
|
|
6677
|
-
var
|
|
6675
|
+
var Yr;
|
|
6678
6676
|
(function(n) {
|
|
6679
6677
|
n.Jwt = "JWT", n.Jwk = "JWK", n.Pop = "pop";
|
|
6680
|
-
})(
|
|
6678
|
+
})(Yr || (Yr = {}));
|
|
6681
6679
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
6682
6680
|
var lr = {
|
|
6683
6681
|
unexpectedError: {
|
|
@@ -7395,7 +7393,7 @@ var re = {
|
|
|
7395
7393
|
}(Q)
|
|
7396
7394
|
);
|
|
7397
7395
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
7398
|
-
var
|
|
7396
|
+
var Je = (
|
|
7399
7397
|
/** @class */
|
|
7400
7398
|
function() {
|
|
7401
7399
|
function n(e) {
|
|
@@ -7523,13 +7521,13 @@ var Ve = (
|
|
|
7523
7521
|
});
|
|
7524
7522
|
}, n.prototype.generateType = function() {
|
|
7525
7523
|
switch (this.authorityType) {
|
|
7526
|
-
case
|
|
7524
|
+
case Jt.ADFS_ACCOUNT_TYPE:
|
|
7527
7525
|
return Zt.ADFS;
|
|
7528
|
-
case
|
|
7526
|
+
case Jt.MSAV1_ACCOUNT_TYPE:
|
|
7529
7527
|
return Zt.MSA;
|
|
7530
|
-
case
|
|
7528
|
+
case Jt.MSSTS_ACCOUNT_TYPE:
|
|
7531
7529
|
return Zt.MSSTS;
|
|
7532
|
-
case
|
|
7530
|
+
case Jt.GENERIC_ACCOUNT_TYPE:
|
|
7533
7531
|
return Zt.GENERIC;
|
|
7534
7532
|
default:
|
|
7535
7533
|
throw Q.createUnexpectedAccountTypeError();
|
|
@@ -7554,7 +7552,7 @@ var Ve = (
|
|
|
7554
7552
|
return t.join(Be.CACHE_KEY_SEPARATOR).toLowerCase();
|
|
7555
7553
|
}, n.createAccount = function(e, t, r, o, i, a, s, l) {
|
|
7556
7554
|
var p, u, m, f, k, E, R = new n();
|
|
7557
|
-
R.authorityType =
|
|
7555
|
+
R.authorityType = Jt.MSSTS_ACCOUNT_TYPE, R.clientInfo = e, R.homeAccountId = t, R.nativeAccountId = l;
|
|
7558
7556
|
var q = s || o && o.getPreferredCache();
|
|
7559
7557
|
if (!q)
|
|
7560
7558
|
throw Q.createInvalidCacheEnvironmentError();
|
|
@@ -7566,7 +7564,7 @@ var Ve = (
|
|
|
7566
7564
|
return R.cloudGraphHostName = i, R.msGraphHost = a, R;
|
|
7567
7565
|
}, n.createGenericAccount = function(e, t, r, o, i, a) {
|
|
7568
7566
|
var s, l, p, u, m = new n();
|
|
7569
|
-
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;
|
|
7570
7568
|
var f = a || r && r.getPreferredCache();
|
|
7571
7569
|
if (!f)
|
|
7572
7570
|
throw Q.createInvalidCacheEnvironmentError();
|
|
@@ -7680,11 +7678,11 @@ var it = (
|
|
|
7680
7678
|
realm: e.realm,
|
|
7681
7679
|
tokenType: e.tokenType,
|
|
7682
7680
|
requestedClaimsHash: e.requestedClaimsHash
|
|
7683
|
-
}, r = this.getTokenKeys(), o =
|
|
7681
|
+
}, r = this.getTokenKeys(), o = Je.fromString(e.target), i = [], r.accessToken.forEach(function(l) {
|
|
7684
7682
|
if (a.accessTokenKeyMatchesFilter(l, t, !1)) {
|
|
7685
7683
|
var p = a.getAccessTokenCredential(l);
|
|
7686
7684
|
if (p && a.credentialMatchesFilter(p, t)) {
|
|
7687
|
-
var u =
|
|
7685
|
+
var u = Je.fromString(p.target);
|
|
7688
7686
|
u.intersectingScopeSets(o) && i.push(a.removeAccessToken(l));
|
|
7689
7687
|
}
|
|
7690
7688
|
}
|
|
@@ -7869,7 +7867,7 @@ var it = (
|
|
|
7869
7867
|
}, n.prototype.getAccessToken = function(e, t, r) {
|
|
7870
7868
|
var o = this;
|
|
7871
7869
|
this.commonLogger.trace("CacheManager - getAccessToken called");
|
|
7872
|
-
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 = {
|
|
7873
7871
|
homeAccountId: e.homeAccountId,
|
|
7874
7872
|
environment: e.environment,
|
|
7875
7873
|
credentialType: s,
|
|
@@ -7971,14 +7969,14 @@ var it = (
|
|
|
7971
7969
|
var r = e.credentialType !== ee.ACCESS_TOKEN && e.credentialType !== ee.ACCESS_TOKEN_WITH_AUTH_SCHEME;
|
|
7972
7970
|
if (r || !e.target)
|
|
7973
7971
|
return !1;
|
|
7974
|
-
var o =
|
|
7972
|
+
var o = Je.fromString(e.target);
|
|
7975
7973
|
return o.containsScopeSet(t);
|
|
7976
7974
|
}, n.prototype.matchTokenType = function(e, t) {
|
|
7977
7975
|
return !!(e.tokenType && e.tokenType === t);
|
|
7978
7976
|
}, n.prototype.matchKeyId = function(e, t) {
|
|
7979
7977
|
return !!(e.keyId && e.keyId === t);
|
|
7980
7978
|
}, n.prototype.isAppMetadata = function(e) {
|
|
7981
|
-
return e.indexOf(
|
|
7979
|
+
return e.indexOf($r) !== -1;
|
|
7982
7980
|
}, n.prototype.isAuthorityMetadata = function(e) {
|
|
7983
7981
|
return e.indexOf(Qn.CACHE_KEY) !== -1;
|
|
7984
7982
|
}, n.prototype.generateAuthorityMetadataCacheKey = function(e) {
|
|
@@ -8076,10 +8074,10 @@ var it = (
|
|
|
8076
8074
|
}(it)
|
|
8077
8075
|
);
|
|
8078
8076
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8079
|
-
var
|
|
8080
|
-
tokenRenewalOffsetSeconds:
|
|
8077
|
+
var La = 300, di = {
|
|
8078
|
+
tokenRenewalOffsetSeconds: La,
|
|
8081
8079
|
preventCorsPreflight: !1
|
|
8082
|
-
},
|
|
8080
|
+
}, Oa = {
|
|
8083
8081
|
loggerCallback: function() {
|
|
8084
8082
|
},
|
|
8085
8083
|
piiLoggingEnabled: !1,
|
|
@@ -8122,7 +8120,7 @@ var Oa = 300, di = {
|
|
|
8122
8120
|
}
|
|
8123
8121
|
};
|
|
8124
8122
|
function ja(n) {
|
|
8125
|
-
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);
|
|
8126
8124
|
return {
|
|
8127
8125
|
authOptions: qa(e),
|
|
8128
8126
|
systemOptions: fe(fe({}, di), t),
|
|
@@ -8161,7 +8159,7 @@ var wr = (
|
|
|
8161
8159
|
function n() {
|
|
8162
8160
|
}
|
|
8163
8161
|
return n.generateThrottlingStorageKey = function(e) {
|
|
8164
|
-
return
|
|
8162
|
+
return $n.THROTTLING_PREFIX + "." + JSON.stringify(e);
|
|
8165
8163
|
}, n.preProcess = function(e, t) {
|
|
8166
8164
|
var r, o = n.generateThrottlingStorageKey(t), i = e.getThrottlingCache(o);
|
|
8167
8165
|
if (i) {
|
|
@@ -8188,7 +8186,7 @@ var wr = (
|
|
|
8188
8186
|
return e.headers ? e.headers.hasOwnProperty(mt.RETRY_AFTER) && (e.status < 200 || e.status >= 300) : !1;
|
|
8189
8187
|
}, n.calculateThrottleTime = function(e) {
|
|
8190
8188
|
var t = e <= 0 ? 0 : e, r = Date.now() / 1e3;
|
|
8191
|
-
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);
|
|
8192
8190
|
}, n.removeThrottle = function(e, t, r, o) {
|
|
8193
8191
|
var i = {
|
|
8194
8192
|
clientId: t,
|
|
@@ -8281,7 +8279,7 @@ var wn = (
|
|
|
8281
8279
|
}()
|
|
8282
8280
|
);
|
|
8283
8281
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8284
|
-
var
|
|
8282
|
+
var Wn = (
|
|
8285
8283
|
/** @class */
|
|
8286
8284
|
function() {
|
|
8287
8285
|
function n() {
|
|
@@ -8297,7 +8295,7 @@ var Jn = (
|
|
|
8297
8295
|
this.parameters.set(ae.NATIVE_BROKER, encodeURIComponent("1"));
|
|
8298
8296
|
}, n.prototype.addScopes = function(e, t) {
|
|
8299
8297
|
t === void 0 && (t = !0);
|
|
8300
|
-
var r = t ? Rr(e || [], nr) : e || [], o = new
|
|
8298
|
+
var r = t ? Rr(e || [], nr) : e || [], o = new Je(r);
|
|
8301
8299
|
this.parameters.set(ae.SCOPE, encodeURIComponent(o.printScopes()));
|
|
8302
8300
|
}, n.prototype.addClientId = function(e) {
|
|
8303
8301
|
this.parameters.set(ae.CLIENT_ID, encodeURIComponent(e));
|
|
@@ -8388,7 +8386,7 @@ var Jn = (
|
|
|
8388
8386
|
}, n.prototype.addServerTelemetry = function(e) {
|
|
8389
8387
|
this.parameters.set(ae.X_CLIENT_CURR_TELEM, e.generateCurrentRequestHeaderValue()), this.parameters.set(ae.X_CLIENT_LAST_TELEM, e.generateLastRequestHeaderValue());
|
|
8390
8388
|
}, n.prototype.addThrottling = function() {
|
|
8391
|
-
this.parameters.set(ae.X_MS_LIB_CAPABILITY,
|
|
8389
|
+
this.parameters.set(ae.X_MS_LIB_CAPABILITY, $n.X_MS_LIB_CAPABILITY_VALUE);
|
|
8392
8390
|
}, n.prototype.addLogoutHint = function(e) {
|
|
8393
8391
|
this.parameters.set(ae.LOGOUT_HINT, encodeURIComponent(e));
|
|
8394
8392
|
}, n.prototype.createQueryString = function() {
|
|
@@ -8440,7 +8438,7 @@ var po = (
|
|
|
8440
8438
|
throw Q.createEndpointDiscoveryIncompleteError("Updated authority has not completed endpoint discovery.");
|
|
8441
8439
|
this.authority = e;
|
|
8442
8440
|
}, n.prototype.createTokenQueryParameters = function(e) {
|
|
8443
|
-
var t = new
|
|
8441
|
+
var t = new Wn();
|
|
8444
8442
|
return e.tokenQueryParameters && t.addExtraQueryParameters(e.tokenQueryParameters), t.createQueryString();
|
|
8445
8443
|
}, n;
|
|
8446
8444
|
}()
|
|
@@ -8594,7 +8592,7 @@ var No = [
|
|
|
8594
8592
|
"basic_action",
|
|
8595
8593
|
"user_password_expired",
|
|
8596
8594
|
"consent_required"
|
|
8597
|
-
],
|
|
8595
|
+
], Ln = {
|
|
8598
8596
|
noTokensFoundError: {
|
|
8599
8597
|
code: "no_tokens_found",
|
|
8600
8598
|
desc: "No refresh token found in the cache. Please sign-in."
|
|
@@ -8617,14 +8615,14 @@ var No = [
|
|
|
8617
8615
|
});
|
|
8618
8616
|
return i || s || a;
|
|
8619
8617
|
}, e.createNoTokensFoundError = function() {
|
|
8620
|
-
return new e(
|
|
8618
|
+
return new e(Ln.noTokensFoundError.code, Ln.noTokensFoundError.desc);
|
|
8621
8619
|
}, e.createNativeAccountUnavailableError = function() {
|
|
8622
|
-
return new e(
|
|
8620
|
+
return new e(Ln.native_account_unavailable.code, Ln.native_account_unavailable.desc);
|
|
8623
8621
|
}, e;
|
|
8624
8622
|
}(X)
|
|
8625
8623
|
);
|
|
8626
8624
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8627
|
-
var
|
|
8625
|
+
var Jn = (
|
|
8628
8626
|
/** @class */
|
|
8629
8627
|
/* @__PURE__ */ function() {
|
|
8630
8628
|
function n(e, t, r, o, i) {
|
|
@@ -8784,10 +8782,10 @@ var Ga = /* @__PURE__ */ new Set([
|
|
|
8784
8782
|
"status"
|
|
8785
8783
|
]);
|
|
8786
8784
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8787
|
-
var
|
|
8785
|
+
var Wr;
|
|
8788
8786
|
(function(n) {
|
|
8789
8787
|
n.SW = "sw", n.UHW = "uhw";
|
|
8790
|
-
})(
|
|
8788
|
+
})(Wr || (Wr = {}));
|
|
8791
8789
|
var Dn = (
|
|
8792
8790
|
/** @class */
|
|
8793
8791
|
function() {
|
|
@@ -8823,7 +8821,7 @@ var Dn = (
|
|
|
8823
8821
|
case 1:
|
|
8824
8822
|
return r = o.sent(), [2, {
|
|
8825
8823
|
kid: r,
|
|
8826
|
-
xms_ksl:
|
|
8824
|
+
xms_ksl: Wr.SW
|
|
8827
8825
|
}];
|
|
8828
8826
|
}
|
|
8829
8827
|
});
|
|
@@ -8850,7 +8848,7 @@ var Dn = (
|
|
|
8850
8848
|
}()
|
|
8851
8849
|
);
|
|
8852
8850
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8853
|
-
var
|
|
8851
|
+
var Jr = (
|
|
8854
8852
|
/** @class */
|
|
8855
8853
|
function() {
|
|
8856
8854
|
function n() {
|
|
@@ -8859,7 +8857,7 @@ var $r = (
|
|
|
8859
8857
|
return n.generateAppMetadataCacheKey(this.environment, this.clientId);
|
|
8860
8858
|
}, n.generateAppMetadataCacheKey = function(e, t) {
|
|
8861
8859
|
var r = [
|
|
8862
|
-
|
|
8860
|
+
$r,
|
|
8863
8861
|
e,
|
|
8864
8862
|
t
|
|
8865
8863
|
];
|
|
@@ -8868,7 +8866,7 @@ var $r = (
|
|
|
8868
8866
|
var o = new n();
|
|
8869
8867
|
return o.clientId = e, o.environment = t, r && (o.familyId = r), o;
|
|
8870
8868
|
}, n.isAppMetadataEntity = function(e, t) {
|
|
8871
|
-
return t ? e.indexOf(
|
|
8869
|
+
return t ? e.indexOf($r) === 0 && t.hasOwnProperty("clientId") && t.hasOwnProperty("environment") : !1;
|
|
8872
8870
|
}, n;
|
|
8873
8871
|
}()
|
|
8874
8872
|
);
|
|
@@ -8969,13 +8967,13 @@ var kr = (
|
|
|
8969
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));
|
|
8970
8968
|
var m = null;
|
|
8971
8969
|
if (!V.isEmpty(e.access_token)) {
|
|
8972
|
-
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;
|
|
8973
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);
|
|
8974
8972
|
}
|
|
8975
8973
|
var T = null;
|
|
8976
8974
|
V.isEmpty(e.refresh_token) || (T = Nn.createRefreshTokenEntity(this.homeAccountIdentifier, l, e.refresh_token || w.EMPTY_STRING, this.clientId, e.foci, a));
|
|
8977
8975
|
var H = null;
|
|
8978
|
-
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);
|
|
8979
8977
|
}, n.prototype.generateAccountEntity = function(e, t, r, o) {
|
|
8980
8978
|
var i = r.authorityType, a = o ? o.cloud_graph_host_name : w.EMPTY_STRING, s = o ? o.msgraph_host : w.EMPTY_STRING;
|
|
8981
8979
|
if (i === nt.Adfs)
|
|
@@ -8986,7 +8984,7 @@ var kr = (
|
|
|
8986
8984
|
}, n.generateAuthenticationResult = function(e, t, r, o, i, a, s, l, p) {
|
|
8987
8985
|
var u, m, f;
|
|
8988
8986
|
return oe(this, void 0, void 0, function() {
|
|
8989
|
-
var k, E, R, q, K, z, T, H, G,
|
|
8987
|
+
var k, E, R, q, K, z, T, H, G, J, te;
|
|
8990
8988
|
return ie(this, function(Z) {
|
|
8991
8989
|
switch (Z.label) {
|
|
8992
8990
|
case 0:
|
|
@@ -9000,11 +8998,11 @@ var kr = (
|
|
|
9000
8998
|
case 2:
|
|
9001
8999
|
k = r.accessToken.secret, Z.label = 3;
|
|
9002
9000
|
case 3:
|
|
9003
|
-
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;
|
|
9004
9002
|
case 4:
|
|
9005
|
-
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, {
|
|
9006
9004
|
authority: t.canonicalAuthority,
|
|
9007
|
-
uniqueId:
|
|
9005
|
+
uniqueId: J,
|
|
9008
9006
|
tenantId: te,
|
|
9009
9007
|
scopes: E,
|
|
9010
9008
|
account: r.account ? r.account.getAccountInfo() : null,
|
|
@@ -9131,7 +9129,7 @@ var pi = (
|
|
|
9131
9129
|
return ie(this, function(k) {
|
|
9132
9130
|
switch (k.label) {
|
|
9133
9131
|
case 0:
|
|
9134
|
-
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)]);
|
|
9135
9133
|
case 1:
|
|
9136
9134
|
return l = k.sent(), i.addPopToken(l.reqCnfString), [3, 3];
|
|
9137
9135
|
case 2:
|
|
@@ -9177,7 +9175,7 @@ var pi = (
|
|
|
9177
9175
|
return ie(this, function(f) {
|
|
9178
9176
|
switch (f.label) {
|
|
9179
9177
|
case 0:
|
|
9180
|
-
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)
|
|
9181
9179
|
if (t.sid && t.prompt === Xe.NONE)
|
|
9182
9180
|
this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"), o.addSid(t.sid);
|
|
9183
9181
|
else if (t.account) {
|
|
@@ -9217,7 +9215,7 @@ var pi = (
|
|
|
9217
9215
|
});
|
|
9218
9216
|
});
|
|
9219
9217
|
}, e.prototype.createLogoutUrlQueryString = function(t) {
|
|
9220
|
-
var r = new
|
|
9218
|
+
var r = new Wn();
|
|
9221
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();
|
|
9222
9220
|
}, e.prototype.extractAccountSid = function(t) {
|
|
9223
9221
|
var r;
|
|
@@ -9276,7 +9274,7 @@ var hi = (
|
|
|
9276
9274
|
try {
|
|
9277
9275
|
return (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(A.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !0)];
|
|
9278
9276
|
} catch (m) {
|
|
9279
|
-
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)
|
|
9280
9278
|
return (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(A.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !1)];
|
|
9281
9279
|
throw m;
|
|
9282
9280
|
}
|
|
@@ -9336,7 +9334,7 @@ var hi = (
|
|
|
9336
9334
|
return ie(this, function(k) {
|
|
9337
9335
|
switch (k.label) {
|
|
9338
9336
|
case 0:
|
|
9339
|
-
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)]);
|
|
9340
9338
|
case 1:
|
|
9341
9339
|
return m = k.sent(), l.addPopToken(m.reqCnfString), [3, 3];
|
|
9342
9340
|
case 2:
|
|
@@ -9448,11 +9446,11 @@ var Qa = (
|
|
|
9448
9446
|
}(po)
|
|
9449
9447
|
);
|
|
9450
9448
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9451
|
-
function
|
|
9449
|
+
function $a(n) {
|
|
9452
9450
|
return n.hasOwnProperty("authorization_endpoint") && n.hasOwnProperty("token_endpoint") && n.hasOwnProperty("issuer") && n.hasOwnProperty("jwks_uri");
|
|
9453
9451
|
}
|
|
9454
9452
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9455
|
-
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;
|
|
9456
9454
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9457
9455
|
var er;
|
|
9458
9456
|
(function(n) {
|
|
@@ -9481,15 +9479,15 @@ var Xr = (
|
|
|
9481
9479
|
}()
|
|
9482
9480
|
);
|
|
9483
9481
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9484
|
-
function
|
|
9482
|
+
function Ya(n) {
|
|
9485
9483
|
return n.hasOwnProperty("tenant_discovery_endpoint") && n.hasOwnProperty("metadata");
|
|
9486
9484
|
}
|
|
9487
9485
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9488
|
-
function
|
|
9486
|
+
function Wa(n) {
|
|
9489
9487
|
return n.hasOwnProperty("error") && n.hasOwnProperty("error_description");
|
|
9490
9488
|
}
|
|
9491
9489
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9492
|
-
var
|
|
9490
|
+
var Ja = (
|
|
9493
9491
|
/** @class */
|
|
9494
9492
|
function() {
|
|
9495
9493
|
function n(e, t, r) {
|
|
@@ -9566,7 +9564,7 @@ var tr = (
|
|
|
9566
9564
|
/** @class */
|
|
9567
9565
|
function() {
|
|
9568
9566
|
function n(e, t, r, o, i, a, s) {
|
|
9569
|
-
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);
|
|
9570
9568
|
}
|
|
9571
9569
|
return n.prototype.getAuthorityType = function(e) {
|
|
9572
9570
|
if (e.HostNameAndPort.endsWith(w.CIAM_AUTH_URL))
|
|
@@ -9803,7 +9801,7 @@ var tr = (
|
|
|
9803
9801
|
case 1:
|
|
9804
9802
|
return o.trys.push([1, 3, , 4]), [4, this.networkInterface.sendGetRequestAsync(this.defaultOpenIdConfigurationEndpoint, t)];
|
|
9805
9803
|
case 2:
|
|
9806
|
-
return r = o.sent(), [2,
|
|
9804
|
+
return r = o.sent(), [2, $a(r.body) ? r.body : null];
|
|
9807
9805
|
case 3:
|
|
9808
9806
|
return o.sent(), [2, null];
|
|
9809
9807
|
case 4:
|
|
@@ -9815,7 +9813,7 @@ var tr = (
|
|
|
9815
9813
|
});
|
|
9816
9814
|
});
|
|
9817
9815
|
}, n.prototype.getEndpointMetadataFromHardcodedValues = function() {
|
|
9818
|
-
return this.canonicalAuthority in
|
|
9816
|
+
return this.canonicalAuthority in Lo ? Lo[this.canonicalAuthority] : null;
|
|
9819
9817
|
}, n.prototype.updateMetadataWithRegionalInformation = function(e) {
|
|
9820
9818
|
var t, r, o, i;
|
|
9821
9819
|
return oe(this, void 0, void 0, function() {
|
|
@@ -9823,11 +9821,11 @@ var tr = (
|
|
|
9823
9821
|
return ie(this, function(l) {
|
|
9824
9822
|
switch (l.label) {
|
|
9825
9823
|
case 0:
|
|
9826
|
-
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];
|
|
9827
9825
|
case 1:
|
|
9828
9826
|
if (s = l.sent(), s)
|
|
9829
|
-
return this.regionDiscoveryMetadata.region_outcome =
|
|
9830
|
-
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;
|
|
9831
9829
|
case 2:
|
|
9832
9830
|
return [2, e];
|
|
9833
9831
|
}
|
|
@@ -9877,9 +9875,9 @@ var tr = (
|
|
|
9877
9875
|
case 1:
|
|
9878
9876
|
return u.trys.push([1, 3, , 4]), [4, this.networkInterface.sendGetRequestAsync(t, r)];
|
|
9879
9877
|
case 2:
|
|
9880
|
-
if (i = u.sent(), a = void 0, s = void 0,
|
|
9878
|
+
if (i = u.sent(), a = void 0, s = void 0, Ya(i.body))
|
|
9881
9879
|
a = i.body, s = a.metadata, this.logger.verbosePii("tenant_discovery_endpoint is: " + a.tenant_discovery_endpoint);
|
|
9882
|
-
else if (
|
|
9880
|
+
else if (Wa(i.body)) {
|
|
9883
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)
|
|
9884
9882
|
return this.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."), [2, null];
|
|
9885
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 = [];
|
|
@@ -9898,7 +9896,7 @@ Error Description: ` + p.message)), [2, null];
|
|
|
9898
9896
|
});
|
|
9899
9897
|
});
|
|
9900
9898
|
}, n.prototype.getCloudDiscoveryMetadataFromHarcodedValues = function() {
|
|
9901
|
-
return this.canonicalAuthority in
|
|
9899
|
+
return this.canonicalAuthority in Oo ? Oo[this.canonicalAuthority] : null;
|
|
9902
9900
|
}, n.prototype.isInKnownAuthorities = function() {
|
|
9903
9901
|
var e = this, t = this.authorityOptions.knownAuthorities.filter(function(r) {
|
|
9904
9902
|
return ue.getDomainFromUrl(r).toLowerCase() === e.hostnameAndPort;
|
|
@@ -10012,7 +10010,7 @@ var zo = (
|
|
|
10012
10010
|
}
|
|
10013
10011
|
return n.isThrottlingEntity = function(e, t) {
|
|
10014
10012
|
var r = !1;
|
|
10015
|
-
e && (r = e.indexOf(
|
|
10013
|
+
e && (r = e.indexOf($n.THROTTLING_PREFIX) === 0);
|
|
10016
10014
|
var o = !0;
|
|
10017
10015
|
return t && (o = t.hasOwnProperty("throttleTime")), r && o;
|
|
10018
10016
|
}, n;
|
|
@@ -10068,7 +10066,7 @@ var Za = (
|
|
|
10068
10066
|
throw xo.createMissingAlgError();
|
|
10069
10067
|
var t = new n({
|
|
10070
10068
|
// Access Token PoP headers must have type pop, but the type header can be overriden for special cases
|
|
10071
|
-
typ: e.typ ||
|
|
10069
|
+
typ: e.typ || Yr.Pop,
|
|
10072
10070
|
kid: e.kid,
|
|
10073
10071
|
alg: e.alg
|
|
10074
10072
|
});
|
|
@@ -10628,10 +10626,10 @@ var Pt = {
|
|
|
10628
10626
|
(function(n) {
|
|
10629
10627
|
n.HandshakeRequest = "Handshake", n.HandshakeResponse = "HandshakeResponse", n.GetToken = "GetToken", n.Response = "Response";
|
|
10630
10628
|
})(en || (en = {}));
|
|
10631
|
-
var
|
|
10629
|
+
var Oe;
|
|
10632
10630
|
(function(n) {
|
|
10633
10631
|
n.LocalStorage = "localStorage", n.SessionStorage = "sessionStorage", n.MemoryStorage = "memoryStorage";
|
|
10634
|
-
})(
|
|
10632
|
+
})(Oe || (Oe = {}));
|
|
10635
10633
|
var Kt;
|
|
10636
10634
|
(function(n) {
|
|
10637
10635
|
n.GET = "GET", n.POST = "POST";
|
|
@@ -10644,18 +10642,18 @@ var jt;
|
|
|
10644
10642
|
(function(n) {
|
|
10645
10643
|
n.ACCOUNT_KEYS = "msal.account.keys", n.TOKEN_KEYS = "msal.token.keys";
|
|
10646
10644
|
})(jt || (jt = {}));
|
|
10647
|
-
var
|
|
10645
|
+
var On;
|
|
10648
10646
|
(function(n) {
|
|
10649
10647
|
n.WRAPPER_SKU = "wrapper.sku", n.WRAPPER_VER = "wrapper.version";
|
|
10650
|
-
})(
|
|
10648
|
+
})(On || (On = {}));
|
|
10651
10649
|
var Ce;
|
|
10652
10650
|
(function(n) {
|
|
10653
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";
|
|
10654
10652
|
})(Ce || (Ce = {}));
|
|
10655
|
-
var
|
|
10653
|
+
var Y;
|
|
10656
10654
|
(function(n) {
|
|
10657
10655
|
n.Redirect = "redirect", n.Popup = "popup", n.Silent = "silent", n.None = "none";
|
|
10658
|
-
})(
|
|
10656
|
+
})(Y || (Y = {}));
|
|
10659
10657
|
var Bo;
|
|
10660
10658
|
(function(n) {
|
|
10661
10659
|
n.Startup = "startup", n.Login = "login", n.Logout = "logout", n.AcquireToken = "acquireToken", n.SsoSilent = "ssoSilent", n.HandleRedirect = "handleRedirect", n.None = "none";
|
|
@@ -10737,7 +10735,7 @@ var jo = (
|
|
|
10737
10735
|
this.validateWindowStorage(e), this.windowStorage = window[e];
|
|
10738
10736
|
}
|
|
10739
10737
|
return n.prototype.validateWindowStorage = function(e) {
|
|
10740
|
-
if (e !==
|
|
10738
|
+
if (e !== Oe.LocalStorage && e !== Oe.SessionStorage)
|
|
10741
10739
|
throw Tr.createStorageNotSupportedError(e);
|
|
10742
10740
|
var t = !!window[e];
|
|
10743
10741
|
if (!t)
|
|
@@ -10814,8 +10812,8 @@ var to = (
|
|
|
10814
10812
|
}
|
|
10815
10813
|
return e.prototype.setupBrowserStorage = function(t) {
|
|
10816
10814
|
switch (t) {
|
|
10817
|
-
case
|
|
10818
|
-
case
|
|
10815
|
+
case Oe.LocalStorage:
|
|
10816
|
+
case Oe.SessionStorage:
|
|
10819
10817
|
try {
|
|
10820
10818
|
return new jo(t);
|
|
10821
10819
|
} catch (r) {
|
|
@@ -10823,17 +10821,17 @@ var to = (
|
|
|
10823
10821
|
break;
|
|
10824
10822
|
}
|
|
10825
10823
|
}
|
|
10826
|
-
return this.cacheConfig.cacheLocation =
|
|
10824
|
+
return this.cacheConfig.cacheLocation = Oe.MemoryStorage, new eo();
|
|
10827
10825
|
}, e.prototype.setupTemporaryCacheStorage = function(t, r) {
|
|
10828
10826
|
switch (r) {
|
|
10829
|
-
case
|
|
10830
|
-
case
|
|
10827
|
+
case Oe.LocalStorage:
|
|
10828
|
+
case Oe.SessionStorage:
|
|
10831
10829
|
try {
|
|
10832
|
-
return new jo(t ||
|
|
10830
|
+
return new jo(t || Oe.SessionStorage);
|
|
10833
10831
|
} catch (o) {
|
|
10834
10832
|
return this.logger.verbose(o), this.internalStorage;
|
|
10835
10833
|
}
|
|
10836
|
-
case
|
|
10834
|
+
case Oe.MemoryStorage:
|
|
10837
10835
|
default:
|
|
10838
10836
|
return this.internalStorage;
|
|
10839
10837
|
}
|
|
@@ -10934,8 +10932,8 @@ var to = (
|
|
|
10934
10932
|
var r = this.getAccountKeys(), o = r.indexOf(t);
|
|
10935
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");
|
|
10936
10934
|
}, e.prototype.removeAccount = function(t) {
|
|
10937
|
-
return
|
|
10938
|
-
return
|
|
10935
|
+
return L(this, void 0, void 0, function() {
|
|
10936
|
+
return O(this, function(r) {
|
|
10939
10937
|
return n.prototype.removeAccount.call(this, t), this.removeAccountKeyFromMap(t), [
|
|
10940
10938
|
2
|
|
10941
10939
|
/*return*/
|
|
@@ -10945,8 +10943,8 @@ var to = (
|
|
|
10945
10943
|
}, e.prototype.removeIdToken = function(t) {
|
|
10946
10944
|
n.prototype.removeIdToken.call(this, t), this.removeTokenKey(t, ee.ID_TOKEN);
|
|
10947
10945
|
}, e.prototype.removeAccessToken = function(t) {
|
|
10948
|
-
return
|
|
10949
|
-
return
|
|
10946
|
+
return L(this, void 0, void 0, function() {
|
|
10947
|
+
return O(this, function(r) {
|
|
10950
10948
|
return n.prototype.removeAccessToken.call(this, t), this.removeTokenKey(t, ee.ACCESS_TOKEN), [
|
|
10951
10949
|
2
|
|
10952
10950
|
/*return*/
|
|
@@ -11045,7 +11043,7 @@ var to = (
|
|
|
11045
11043
|
if (!r)
|
|
11046
11044
|
return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"), null;
|
|
11047
11045
|
var o = this.validateAndParseJson(r);
|
|
11048
|
-
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));
|
|
11049
11047
|
}, e.prototype.setAppMetadata = function(t) {
|
|
11050
11048
|
this.logger.trace("BrowserCacheManager.setAppMetadata called");
|
|
11051
11049
|
var r = t.generateAppMetadataKey();
|
|
@@ -11070,9 +11068,9 @@ var to = (
|
|
|
11070
11068
|
return t.isAuthorityMetadata(o);
|
|
11071
11069
|
});
|
|
11072
11070
|
}, e.prototype.setWrapperMetadata = function(t, r) {
|
|
11073
|
-
this.internalStorage.setItem(
|
|
11071
|
+
this.internalStorage.setItem(On.WRAPPER_SKU, t), this.internalStorage.setItem(On.WRAPPER_VER, r);
|
|
11074
11072
|
}, e.prototype.getWrapperMetadata = function() {
|
|
11075
|
-
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;
|
|
11076
11074
|
return [t, r];
|
|
11077
11075
|
}, e.prototype.setAuthorityMetadata = function(t, r) {
|
|
11078
11076
|
this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"), this.internalStorage.setItem(t, JSON.stringify(r));
|
|
@@ -11137,7 +11135,7 @@ var to = (
|
|
|
11137
11135
|
}
|
|
11138
11136
|
var a = this.temporaryCacheStorage.getItem(o);
|
|
11139
11137
|
if (!a) {
|
|
11140
|
-
if (this.cacheConfig.cacheLocation ===
|
|
11138
|
+
if (this.cacheConfig.cacheLocation === Oe.LocalStorage) {
|
|
11141
11139
|
var s = this.browserStorage.getItem(o);
|
|
11142
11140
|
if (s)
|
|
11143
11141
|
return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"), s;
|
|
@@ -11155,9 +11153,9 @@ var to = (
|
|
|
11155
11153
|
}, e.prototype.getKeys = function() {
|
|
11156
11154
|
return co(this.browserStorage.getKeys(), this.temporaryCacheStorage.getKeys());
|
|
11157
11155
|
}, e.prototype.clear = function() {
|
|
11158
|
-
return
|
|
11156
|
+
return L(this, void 0, void 0, function() {
|
|
11159
11157
|
var t = this;
|
|
11160
|
-
return
|
|
11158
|
+
return O(this, function(r) {
|
|
11161
11159
|
switch (r.label) {
|
|
11162
11160
|
case 0:
|
|
11163
11161
|
return [4, this.removeAllAccounts()];
|
|
@@ -11172,9 +11170,9 @@ var to = (
|
|
|
11172
11170
|
});
|
|
11173
11171
|
});
|
|
11174
11172
|
}, e.prototype.clearTokensAndKeysWithClaims = function() {
|
|
11175
|
-
return
|
|
11173
|
+
return L(this, void 0, void 0, function() {
|
|
11176
11174
|
var t, r, o = this;
|
|
11177
|
-
return
|
|
11175
|
+
return O(this, function(i) {
|
|
11178
11176
|
switch (i.label) {
|
|
11179
11177
|
case 0:
|
|
11180
11178
|
return this.logger.trace("BrowserCacheManager.clearTokensAndKeysWithClaims called"), t = this.getTokenKeys(), r = [], t.accessToken.forEach(function(a) {
|
|
@@ -11353,8 +11351,8 @@ var to = (
|
|
|
11353
11351
|
}(it)
|
|
11354
11352
|
), os = function(n, e) {
|
|
11355
11353
|
var t = {
|
|
11356
|
-
cacheLocation:
|
|
11357
|
-
temporaryCacheLocation:
|
|
11354
|
+
cacheLocation: Oe.MemoryStorage,
|
|
11355
|
+
temporaryCacheLocation: Oe.MemoryStorage,
|
|
11358
11356
|
storeAuthStateInCookie: !1,
|
|
11359
11357
|
secureCookies: !1,
|
|
11360
11358
|
cacheMigrationEnabled: !1,
|
|
@@ -11371,9 +11369,9 @@ var is = (
|
|
|
11371
11369
|
function n() {
|
|
11372
11370
|
}
|
|
11373
11371
|
return n.prototype.sendGetRequestAsync = function(e, t) {
|
|
11374
|
-
return
|
|
11372
|
+
return L(this, void 0, void 0, function() {
|
|
11375
11373
|
var r, o, i;
|
|
11376
|
-
return
|
|
11374
|
+
return O(this, function(a) {
|
|
11377
11375
|
switch (a.label) {
|
|
11378
11376
|
case 0:
|
|
11379
11377
|
return a.trys.push([0, 2, , 3]), [4, fetch(e, {
|
|
@@ -11401,9 +11399,9 @@ var is = (
|
|
|
11401
11399
|
});
|
|
11402
11400
|
});
|
|
11403
11401
|
}, n.prototype.sendPostRequestAsync = function(e, t) {
|
|
11404
|
-
return
|
|
11402
|
+
return L(this, void 0, void 0, function() {
|
|
11405
11403
|
var r, o, i, a;
|
|
11406
|
-
return
|
|
11404
|
+
return O(this, function(s) {
|
|
11407
11405
|
switch (s.label) {
|
|
11408
11406
|
case 0:
|
|
11409
11407
|
r = t && t.body || w.EMPTY_STRING, s.label = 1;
|
|
@@ -11456,14 +11454,14 @@ var as = (
|
|
|
11456
11454
|
function n() {
|
|
11457
11455
|
}
|
|
11458
11456
|
return n.prototype.sendGetRequestAsync = function(e, t) {
|
|
11459
|
-
return
|
|
11460
|
-
return
|
|
11457
|
+
return L(this, void 0, void 0, function() {
|
|
11458
|
+
return O(this, function(r) {
|
|
11461
11459
|
return [2, this.sendRequestAsync(e, Kt.GET, t)];
|
|
11462
11460
|
});
|
|
11463
11461
|
});
|
|
11464
11462
|
}, n.prototype.sendPostRequestAsync = function(e, t) {
|
|
11465
|
-
return
|
|
11466
|
-
return
|
|
11463
|
+
return L(this, void 0, void 0, function() {
|
|
11464
|
+
return O(this, function(r) {
|
|
11467
11465
|
return [2, this.sendRequestAsync(e, Kt.POST, t)];
|
|
11468
11466
|
});
|
|
11469
11467
|
});
|
|
@@ -11541,7 +11539,7 @@ var Ae = (
|
|
|
11541
11539
|
throw F.createBlockReloadInHiddenIframeError();
|
|
11542
11540
|
}, n.blockRedirectInIframe = function(e, t) {
|
|
11543
11541
|
var r = n.isInIframe();
|
|
11544
|
-
if (e ===
|
|
11542
|
+
if (e === Y.Redirect && r && !t)
|
|
11545
11543
|
throw F.createRedirectInIframeError(r);
|
|
11546
11544
|
}, n.blockAcquireTokenInPopups = function() {
|
|
11547
11545
|
if (n.isInPopup())
|
|
@@ -11566,8 +11564,8 @@ var _i = (
|
|
|
11566
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;
|
|
11567
11565
|
}
|
|
11568
11566
|
return n.prototype.clearCacheOnLogout = function(e) {
|
|
11569
|
-
return
|
|
11570
|
-
return
|
|
11567
|
+
return L(this, void 0, void 0, function() {
|
|
11568
|
+
return O(this, function(t) {
|
|
11571
11569
|
switch (t.label) {
|
|
11572
11570
|
case 0:
|
|
11573
11571
|
if (!e) return [3, 5];
|
|
@@ -11597,16 +11595,16 @@ var _i = (
|
|
|
11597
11595
|
});
|
|
11598
11596
|
});
|
|
11599
11597
|
}, n.prototype.initializeBaseRequest = function(e, t) {
|
|
11600
|
-
return
|
|
11598
|
+
return L(this, void 0, void 0, function() {
|
|
11601
11599
|
var r, o, i, a;
|
|
11602
|
-
return
|
|
11600
|
+
return O(this, function(s) {
|
|
11603
11601
|
switch (s.label) {
|
|
11604
11602
|
case 0:
|
|
11605
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];
|
|
11606
11604
|
case 1:
|
|
11607
11605
|
s.sent(), s.label = 2;
|
|
11608
11606
|
case 2:
|
|
11609
|
-
if (o = co(e && e.scopes || []), i =
|
|
11607
|
+
if (o = co(e && e.scopes || []), i = W(W({}, e), {
|
|
11610
11608
|
correlationId: this.correlationId,
|
|
11611
11609
|
authority: r,
|
|
11612
11610
|
scopes: o
|
|
@@ -11634,9 +11632,9 @@ var _i = (
|
|
|
11634
11632
|
var t = e || this.config.auth.redirectUri || Ae.getCurrentUri();
|
|
11635
11633
|
return ue.getAbsoluteUrl(t, Ae.getCurrentUri());
|
|
11636
11634
|
}, n.prototype.validateRequestAuthority = function(e, t) {
|
|
11637
|
-
return
|
|
11635
|
+
return L(this, void 0, void 0, function() {
|
|
11638
11636
|
var r;
|
|
11639
|
-
return
|
|
11637
|
+
return O(this, function(o) {
|
|
11640
11638
|
switch (o.label) {
|
|
11641
11639
|
case 0:
|
|
11642
11640
|
return [4, this.getDiscoveredAuthority(e)];
|
|
@@ -11662,9 +11660,9 @@ var _i = (
|
|
|
11662
11660
|
};
|
|
11663
11661
|
return new es(r, this.browserStorage);
|
|
11664
11662
|
}, n.prototype.getDiscoveredAuthority = function(e) {
|
|
11665
|
-
return
|
|
11663
|
+
return L(this, void 0, void 0, function() {
|
|
11666
11664
|
var t;
|
|
11667
|
-
return
|
|
11665
|
+
return O(this, function(r) {
|
|
11668
11666
|
switch (r.label) {
|
|
11669
11667
|
case 0:
|
|
11670
11668
|
return this.logger.verbose("getDiscoveredAuthority called"), t = {
|
|
@@ -11694,20 +11692,20 @@ var jn = (
|
|
|
11694
11692
|
return n !== null && n.apply(this, arguments) || this;
|
|
11695
11693
|
}
|
|
11696
11694
|
return e.prototype.initializeAuthorizationCodeRequest = function(t) {
|
|
11697
|
-
return
|
|
11695
|
+
return L(this, void 0, void 0, function() {
|
|
11698
11696
|
var r, o;
|
|
11699
|
-
return
|
|
11697
|
+
return O(this, function(i) {
|
|
11700
11698
|
switch (i.label) {
|
|
11701
11699
|
case 0:
|
|
11702
11700
|
return this.performanceClient.addQueueMeasurement(A.StandardInteractionClientInitializeAuthorizationCodeRequest, t.correlationId), this.logger.verbose("initializeAuthorizationRequest called", t.correlationId), [4, this.browserCrypto.generatePkceCodes()];
|
|
11703
11701
|
case 1:
|
|
11704
|
-
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];
|
|
11705
11703
|
}
|
|
11706
11704
|
});
|
|
11707
11705
|
});
|
|
11708
11706
|
}, e.prototype.initializeLogoutRequest = function(t) {
|
|
11709
11707
|
this.logger.verbose("initializeLogoutRequest called", t == null ? void 0 : t.correlationId);
|
|
11710
|
-
var r =
|
|
11708
|
+
var r = W({ correlationId: this.correlationId || this.browserCrypto.createNewGuid() }, t);
|
|
11711
11709
|
if (t)
|
|
11712
11710
|
if (t.logoutHint)
|
|
11713
11711
|
this.logger.verbose("logoutHint has already been set in logoutRequest");
|
|
@@ -11729,9 +11727,9 @@ var jn = (
|
|
|
11729
11727
|
this.logger.verbose("The provided account does not contain ID Token Claims, logoutHint will not be added to logout request");
|
|
11730
11728
|
return null;
|
|
11731
11729
|
}, e.prototype.createAuthCodeClient = function(t, r, o) {
|
|
11732
|
-
return
|
|
11730
|
+
return L(this, void 0, void 0, function() {
|
|
11733
11731
|
var i;
|
|
11734
|
-
return
|
|
11732
|
+
return O(this, function(a) {
|
|
11735
11733
|
switch (a.label) {
|
|
11736
11734
|
case 0:
|
|
11737
11735
|
return this.performanceClient.addQueueMeasurement(A.StandardInteractionClientCreateAuthCodeClient, this.correlationId), this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetClientConfiguration, this.correlationId), [4, this.getClientConfiguration(t, r, o)];
|
|
@@ -11741,9 +11739,9 @@ var jn = (
|
|
|
11741
11739
|
});
|
|
11742
11740
|
});
|
|
11743
11741
|
}, e.prototype.getClientConfiguration = function(t, r, o) {
|
|
11744
|
-
return
|
|
11742
|
+
return L(this, void 0, void 0, function() {
|
|
11745
11743
|
var i, a;
|
|
11746
|
-
return
|
|
11744
|
+
return O(this, function(s) {
|
|
11747
11745
|
switch (s.label) {
|
|
11748
11746
|
case 0:
|
|
11749
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)];
|
|
@@ -11793,9 +11791,9 @@ var jn = (
|
|
|
11793
11791
|
return this.logger.verbose("Returning state from hash", o), t.state;
|
|
11794
11792
|
}, e.prototype.getDiscoveredAuthority = function(t, r) {
|
|
11795
11793
|
var o;
|
|
11796
|
-
return
|
|
11794
|
+
return L(this, void 0, void 0, function() {
|
|
11797
11795
|
var i, a, s, l;
|
|
11798
|
-
return
|
|
11796
|
+
return O(this, function(p) {
|
|
11799
11797
|
switch (p.label) {
|
|
11800
11798
|
case 0:
|
|
11801
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 = {
|
|
@@ -11821,16 +11819,16 @@ var jn = (
|
|
|
11821
11819
|
});
|
|
11822
11820
|
});
|
|
11823
11821
|
}, e.prototype.initializeAuthorizationRequest = function(t, r) {
|
|
11824
|
-
return
|
|
11822
|
+
return L(this, void 0, void 0, function() {
|
|
11825
11823
|
var o, i, a, s, l, p, u;
|
|
11826
|
-
return
|
|
11824
|
+
return O(this, function(m) {
|
|
11827
11825
|
switch (m.label) {
|
|
11828
11826
|
case 0:
|
|
11829
11827
|
return this.performanceClient.addQueueMeasurement(A.StandardInteractionClientInitializeAuthorizationRequest, this.correlationId), this.logger.verbose("initializeAuthorizationRequest called", this.correlationId), o = this.getRedirectUri(t.redirectUri), i = {
|
|
11830
11828
|
interactionType: r
|
|
11831
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)];
|
|
11832
11830
|
case 1:
|
|
11833
|
-
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];
|
|
11834
11832
|
}
|
|
11835
11833
|
});
|
|
11836
11834
|
});
|
|
@@ -11845,9 +11843,9 @@ var fo = (
|
|
|
11845
11843
|
this.authModule = e, this.browserStorage = t, this.authCodeRequest = r, this.logger = o, this.performanceClient = i;
|
|
11846
11844
|
}
|
|
11847
11845
|
return n.prototype.handleCodeResponseFromHash = function(e, t, r, o) {
|
|
11848
|
-
return
|
|
11846
|
+
return L(this, void 0, void 0, function() {
|
|
11849
11847
|
var i, a, s;
|
|
11850
|
-
return
|
|
11848
|
+
return O(this, function(l) {
|
|
11851
11849
|
if (this.performanceClient.addQueueMeasurement(A.HandleCodeResponseFromHash, this.authCodeRequest.correlationId), this.logger.verbose("InteractionHandler.handleCodeResponse called"), V.isEmpty(e))
|
|
11852
11850
|
throw F.createEmptyHashError(e);
|
|
11853
11851
|
if (i = this.browserStorage.generateStateKey(t), a = this.browserStorage.getTemporaryCache(i), !a)
|
|
@@ -11861,9 +11859,9 @@ var fo = (
|
|
|
11861
11859
|
});
|
|
11862
11860
|
});
|
|
11863
11861
|
}, n.prototype.handleCodeResponseFromServer = function(e, t, r, o, i) {
|
|
11864
|
-
return i === void 0 && (i = !0),
|
|
11862
|
+
return i === void 0 && (i = !0), L(this, void 0, void 0, function() {
|
|
11865
11863
|
var a, s, l, p, u, m;
|
|
11866
|
-
return
|
|
11864
|
+
return O(this, function(f) {
|
|
11867
11865
|
switch (f.label) {
|
|
11868
11866
|
case 0:
|
|
11869
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)
|
|
@@ -11879,9 +11877,9 @@ var fo = (
|
|
|
11879
11877
|
});
|
|
11880
11878
|
});
|
|
11881
11879
|
}, n.prototype.updateTokenEndpointAuthority = function(e, t, r) {
|
|
11882
|
-
return
|
|
11880
|
+
return L(this, void 0, void 0, function() {
|
|
11883
11881
|
var o, i;
|
|
11884
|
-
return
|
|
11882
|
+
return O(this, function(a) {
|
|
11885
11883
|
switch (a.label) {
|
|
11886
11884
|
case 0:
|
|
11887
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)];
|
|
@@ -11915,9 +11913,9 @@ var qo = (
|
|
|
11915
11913
|
return l.browserCrypto = a, l;
|
|
11916
11914
|
}
|
|
11917
11915
|
return e.prototype.initiateAuthRequest = function(t, r) {
|
|
11918
|
-
return
|
|
11916
|
+
return L(this, void 0, void 0, function() {
|
|
11919
11917
|
var o, i;
|
|
11920
|
-
return
|
|
11918
|
+
return O(this, function(a) {
|
|
11921
11919
|
switch (a.label) {
|
|
11922
11920
|
case 0:
|
|
11923
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 = {
|
|
@@ -11957,9 +11955,9 @@ var qo = (
|
|
|
11957
11955
|
});
|
|
11958
11956
|
});
|
|
11959
11957
|
}, e.prototype.handleCodeResponseFromHash = function(t, r, o, i) {
|
|
11960
|
-
return
|
|
11958
|
+
return L(this, void 0, void 0, function() {
|
|
11961
11959
|
var a, s, l, p, u, m, f;
|
|
11962
|
-
return
|
|
11960
|
+
return O(this, function(k) {
|
|
11963
11961
|
switch (k.label) {
|
|
11964
11962
|
case 0:
|
|
11965
11963
|
if (this.logger.verbose("RedirectHandler.handleCodeResponse called"), V.isEmpty(t))
|
|
@@ -12052,9 +12050,9 @@ var vi = (
|
|
|
12052
12050
|
return n !== null && n.apply(this, arguments) || this;
|
|
12053
12051
|
}
|
|
12054
12052
|
return e.prototype.acquireToken = function(t) {
|
|
12055
|
-
return
|
|
12053
|
+
return L(this, void 0, void 0, function() {
|
|
12056
12054
|
var r, o, i, a, s;
|
|
12057
|
-
return
|
|
12055
|
+
return O(this, function(l) {
|
|
12058
12056
|
switch (l.label) {
|
|
12059
12057
|
case 0:
|
|
12060
12058
|
return r = this.performanceClient.startMeasurement(A.SilentCacheClientAcquireToken, t.correlationId), o = this.initializeServerTelemetryManager(Ce.acquireTokenSilent_silentFlow), [4, this.createSilentFlowClient(o, t.authority, t.azureCloudOptions)];
|
|
@@ -12084,9 +12082,9 @@ var vi = (
|
|
|
12084
12082
|
}, e.prototype.logout = function() {
|
|
12085
12083
|
return Promise.reject(F.createSilentLogoutUnsupportedError());
|
|
12086
12084
|
}, e.prototype.createSilentFlowClient = function(t, r, o) {
|
|
12087
|
-
return
|
|
12085
|
+
return L(this, void 0, void 0, function() {
|
|
12088
12086
|
var i;
|
|
12089
|
-
return
|
|
12087
|
+
return O(this, function(a) {
|
|
12090
12088
|
switch (a.label) {
|
|
12091
12089
|
case 0:
|
|
12092
12090
|
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetClientConfiguration, this.correlationId), [4, this.getClientConfiguration(t, r, o)];
|
|
@@ -12096,14 +12094,14 @@ var vi = (
|
|
|
12096
12094
|
});
|
|
12097
12095
|
});
|
|
12098
12096
|
}, e.prototype.initializeSilentRequest = function(t, r) {
|
|
12099
|
-
return
|
|
12097
|
+
return L(this, void 0, void 0, function() {
|
|
12100
12098
|
var o;
|
|
12101
|
-
return
|
|
12099
|
+
return O(this, function(i) {
|
|
12102
12100
|
switch (i.label) {
|
|
12103
12101
|
case 0:
|
|
12104
|
-
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)];
|
|
12105
12103
|
case 1:
|
|
12106
|
-
return [2,
|
|
12104
|
+
return [2, W.apply(void 0, [W.apply(void 0, o.concat([i.sent()])), { account: r, forceRefresh: t.forceRefresh || !1 }])];
|
|
12107
12105
|
}
|
|
12108
12106
|
});
|
|
12109
12107
|
});
|
|
@@ -12120,9 +12118,9 @@ var Un = (
|
|
|
12120
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;
|
|
12121
12119
|
}
|
|
12122
12120
|
return e.prototype.acquireToken = function(t) {
|
|
12123
|
-
return
|
|
12121
|
+
return L(this, void 0, void 0, function() {
|
|
12124
12122
|
var r, o, i, a, s, l, p;
|
|
12125
|
-
return
|
|
12123
|
+
return O(this, function(u) {
|
|
12126
12124
|
switch (u.label) {
|
|
12127
12125
|
case 0:
|
|
12128
12126
|
return this.logger.trace("NativeInteractionClient - acquireToken called."), r = this.performanceClient.startMeasurement(A.NativeInteractionClientAcquireToken, t.correlationId), o = Et.nowSeconds(), [4, this.initializeNativeRequest(t)];
|
|
@@ -12165,14 +12163,14 @@ var Un = (
|
|
|
12165
12163
|
return {
|
|
12166
12164
|
authority: t.authority,
|
|
12167
12165
|
correlationId: this.correlationId,
|
|
12168
|
-
scopes:
|
|
12166
|
+
scopes: Je.fromString(t.scope).asArray(),
|
|
12169
12167
|
account: r,
|
|
12170
12168
|
forceRefresh: !1
|
|
12171
12169
|
};
|
|
12172
12170
|
}, e.prototype.acquireTokensFromCache = function(t, r) {
|
|
12173
|
-
return
|
|
12171
|
+
return L(this, void 0, void 0, function() {
|
|
12174
12172
|
var o, i, a, s;
|
|
12175
|
-
return
|
|
12173
|
+
return O(this, function(l) {
|
|
12176
12174
|
switch (l.label) {
|
|
12177
12175
|
case 0:
|
|
12178
12176
|
if (!t)
|
|
@@ -12195,9 +12193,9 @@ var Un = (
|
|
|
12195
12193
|
});
|
|
12196
12194
|
});
|
|
12197
12195
|
}, e.prototype.acquireTokenRedirect = function(t) {
|
|
12198
|
-
return
|
|
12196
|
+
return L(this, void 0, void 0, function() {
|
|
12199
12197
|
var r, o, i, a, s, l;
|
|
12200
|
-
return
|
|
12198
|
+
return O(this, function(p) {
|
|
12201
12199
|
switch (p.label) {
|
|
12202
12200
|
case 0:
|
|
12203
12201
|
return this.logger.trace("NativeInteractionClient - acquireTokenRedirect called."), [4, this.initializeNativeRequest(t)];
|
|
@@ -12229,9 +12227,9 @@ var Un = (
|
|
|
12229
12227
|
});
|
|
12230
12228
|
});
|
|
12231
12229
|
}, e.prototype.handleRedirectPromise = function() {
|
|
12232
|
-
return
|
|
12230
|
+
return L(this, void 0, void 0, function() {
|
|
12233
12231
|
var t, r, o, i, a, s, l, p;
|
|
12234
|
-
return
|
|
12232
|
+
return O(this, function(u) {
|
|
12235
12233
|
switch (u.label) {
|
|
12236
12234
|
case 0:
|
|
12237
12235
|
if (this.logger.trace("NativeInteractionClient - handleRedirectPromise called."), !this.browserStorage.isInteractionInProgress(!0))
|
|
@@ -12259,9 +12257,9 @@ var Un = (
|
|
|
12259
12257
|
}, e.prototype.logout = function() {
|
|
12260
12258
|
return this.logger.trace("NativeInteractionClient - logout called."), Promise.reject("Logout not implemented yet");
|
|
12261
12259
|
}, e.prototype.handleNativeResponse = function(t, r, o) {
|
|
12262
|
-
return
|
|
12260
|
+
return L(this, void 0, void 0, function() {
|
|
12263
12261
|
var i, a, s, l, p, u;
|
|
12264
|
-
return
|
|
12262
|
+
return O(this, function(m) {
|
|
12265
12263
|
switch (m.label) {
|
|
12266
12264
|
case 0:
|
|
12267
12265
|
if (this.logger.trace("NativeInteractionClient - handleNativeResponse called."), t.account.id !== r.accountId)
|
|
@@ -12282,11 +12280,11 @@ var Un = (
|
|
|
12282
12280
|
}, e.prototype.createAccountEntity = function(t, r, o, i) {
|
|
12283
12281
|
return Ve.createAccount(t.client_info, r, o, void 0, void 0, void 0, i, t.account.id);
|
|
12284
12282
|
}, e.prototype.generateScopes = function(t, r) {
|
|
12285
|
-
return t.scope ?
|
|
12283
|
+
return t.scope ? Je.fromString(t.scope) : Je.fromString(r.scope);
|
|
12286
12284
|
}, e.prototype.generatePopAccessToken = function(t, r) {
|
|
12287
|
-
return
|
|
12285
|
+
return L(this, void 0, void 0, function() {
|
|
12288
12286
|
var o, i;
|
|
12289
|
-
return
|
|
12287
|
+
return O(this, function(a) {
|
|
12290
12288
|
switch (a.label) {
|
|
12291
12289
|
case 0:
|
|
12292
12290
|
if (r.tokenType !== _e.POP) return [3, 2];
|
|
@@ -12308,12 +12306,12 @@ var Un = (
|
|
|
12308
12306
|
});
|
|
12309
12307
|
});
|
|
12310
12308
|
}, e.prototype.generateAuthenticationResult = function(t, r, o, i, a, s) {
|
|
12311
|
-
return
|
|
12309
|
+
return L(this, void 0, void 0, function() {
|
|
12312
12310
|
var l, p, u, m, f, k, E, R;
|
|
12313
|
-
return
|
|
12311
|
+
return O(this, function(q) {
|
|
12314
12312
|
switch (q.label) {
|
|
12315
12313
|
case 0:
|
|
12316
|
-
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)];
|
|
12317
12315
|
case 1:
|
|
12318
12316
|
return k = q.sent(), E = r.tokenType === _e.POP ? _e.POP : _e.BEARER, R = {
|
|
12319
12317
|
authority: a,
|
|
@@ -12340,7 +12338,7 @@ var Un = (
|
|
|
12340
12338
|
r.logger.error("Error occurred while removing account context from browser storage. " + o);
|
|
12341
12339
|
});
|
|
12342
12340
|
}, e.prototype.cacheNativeTokens = function(t, r, o, i, a, s, l, p) {
|
|
12343
|
-
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);
|
|
12344
12342
|
this.nativeStorageManager.saveCacheRecord(R);
|
|
12345
12343
|
}, e.prototype.addTelemetryFromNativeResponse = function(t) {
|
|
12346
12344
|
var r = this.getMATSFromResponse(t);
|
|
@@ -12376,16 +12374,16 @@ var Un = (
|
|
|
12376
12374
|
}, e.prototype.isResponseFromCache = function(t) {
|
|
12377
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;
|
|
12378
12376
|
}, e.prototype.initializeNativeRequest = function(t) {
|
|
12379
|
-
return
|
|
12377
|
+
return L(this, void 0, void 0, function() {
|
|
12380
12378
|
var r, o, i, a, s, l, p, u, m, f, k = this;
|
|
12381
|
-
return
|
|
12379
|
+
return O(this, function(E) {
|
|
12382
12380
|
switch (E.label) {
|
|
12383
12381
|
case 0:
|
|
12384
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];
|
|
12385
12383
|
case 1:
|
|
12386
12384
|
E.sent(), E.label = 2;
|
|
12387
12385
|
case 2:
|
|
12388
|
-
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() {
|
|
12389
12387
|
switch (k.apiId) {
|
|
12390
12388
|
case Ce.ssoSilent:
|
|
12391
12389
|
case Ce.acquireTokenSilent_silentFlow:
|
|
@@ -12403,7 +12401,7 @@ var Un = (
|
|
|
12403
12401
|
default:
|
|
12404
12402
|
throw k.logger.trace("initializeNativeRequest: prompt = " + t.prompt + " is not compatible with native flow"), F.createNativePromptParameterNotSupportedError();
|
|
12405
12403
|
}
|
|
12406
|
-
}, p =
|
|
12404
|
+
}, p = W(W({}, a), {
|
|
12407
12405
|
accountId: this.accountId,
|
|
12408
12406
|
clientId: this.config.auth.clientId,
|
|
12409
12407
|
authority: o.urlString,
|
|
@@ -12413,7 +12411,7 @@ var Un = (
|
|
|
12413
12411
|
correlationId: this.correlationId,
|
|
12414
12412
|
tokenType: t.authenticationScheme,
|
|
12415
12413
|
windowTitleSubstring: document.title,
|
|
12416
|
-
extraParameters:
|
|
12414
|
+
extraParameters: W(W(W({}, t.extraQueryParameters), t.tokenQueryParameters), { telemetry: Fn.MATS_TELEMETRY }),
|
|
12417
12415
|
extendedExpiryToken: !1
|
|
12418
12416
|
// Make this configurable?
|
|
12419
12417
|
}), t.authenticationScheme !== _e.POP ? [3, 4] : (u = {
|
|
@@ -12440,9 +12438,9 @@ var Tn = (
|
|
|
12440
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);
|
|
12441
12439
|
}
|
|
12442
12440
|
return n.prototype.sendMessage = function(e) {
|
|
12443
|
-
return
|
|
12441
|
+
return L(this, void 0, void 0, function() {
|
|
12444
12442
|
var t, r = this;
|
|
12445
|
-
return
|
|
12443
|
+
return O(this, function(o) {
|
|
12446
12444
|
return this.logger.trace("NativeMessageHandler - sendMessage called."), t = {
|
|
12447
12445
|
channel: Fn.CHANNEL_ID,
|
|
12448
12446
|
extensionId: this.extensionId,
|
|
@@ -12454,9 +12452,9 @@ var Tn = (
|
|
|
12454
12452
|
});
|
|
12455
12453
|
});
|
|
12456
12454
|
}, n.createProvider = function(e, t, r) {
|
|
12457
|
-
return
|
|
12455
|
+
return L(this, void 0, void 0, function() {
|
|
12458
12456
|
var o, i;
|
|
12459
|
-
return
|
|
12457
|
+
return O(this, function(a) {
|
|
12460
12458
|
switch (a.label) {
|
|
12461
12459
|
case 0:
|
|
12462
12460
|
e.trace("NativeMessageHandler - createProvider called."), a.label = 1;
|
|
@@ -12477,9 +12475,9 @@ var Tn = (
|
|
|
12477
12475
|
});
|
|
12478
12476
|
});
|
|
12479
12477
|
}, n.prototype.sendHandshakeRequest = function() {
|
|
12480
|
-
return
|
|
12478
|
+
return L(this, void 0, void 0, function() {
|
|
12481
12479
|
var e, t = this;
|
|
12482
|
-
return
|
|
12480
|
+
return O(this, function(r) {
|
|
12483
12481
|
return this.logger.trace("NativeMessageHandler - sendHandshakeRequest called."), window.addEventListener("message", this.windowListener, !1), e = {
|
|
12484
12482
|
channel: Fn.CHANNEL_ID,
|
|
12485
12483
|
extensionId: this.extensionId,
|
|
@@ -12563,22 +12561,22 @@ var ss = (
|
|
|
12563
12561
|
return f.nativeStorage = p, f;
|
|
12564
12562
|
}
|
|
12565
12563
|
return e.prototype.acquireToken = function(t) {
|
|
12566
|
-
return
|
|
12564
|
+
return L(this, void 0, void 0, function() {
|
|
12567
12565
|
var r, o, i, a, s, l, p, u, m, f = this;
|
|
12568
|
-
return
|
|
12566
|
+
return O(this, function(k) {
|
|
12569
12567
|
switch (k.label) {
|
|
12570
12568
|
case 0:
|
|
12571
|
-
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)];
|
|
12572
12570
|
case 1:
|
|
12573
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) {
|
|
12574
|
-
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));
|
|
12575
12573
|
}, k.label = 2;
|
|
12576
12574
|
case 2:
|
|
12577
12575
|
return k.trys.push([2, 7, , 8]), this.performanceClient.setPreQueueTime(A.StandardInteractionClientInitializeAuthorizationCodeRequest, t.correlationId), [4, this.initializeAuthorizationCodeRequest(r)];
|
|
12578
12576
|
case 3:
|
|
12579
12577
|
return a = k.sent(), this.performanceClient.setPreQueueTime(A.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(o, r.authority, r.azureCloudOptions)];
|
|
12580
12578
|
case 4:
|
|
12581
|
-
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) }))];
|
|
12582
12580
|
case 5:
|
|
12583
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, {
|
|
12584
12582
|
navigationClient: this.navigationClient,
|
|
@@ -12599,9 +12597,9 @@ var ss = (
|
|
|
12599
12597
|
});
|
|
12600
12598
|
});
|
|
12601
12599
|
}, e.prototype.handleRedirectPromise = function(t) {
|
|
12602
|
-
return
|
|
12600
|
+
return L(this, void 0, void 0, function() {
|
|
12603
12601
|
var r, o, i, a, s, l, p, u, m, f, k, E;
|
|
12604
|
-
return
|
|
12602
|
+
return O(this, function(R) {
|
|
12605
12603
|
switch (R.label) {
|
|
12606
12604
|
case 0:
|
|
12607
12605
|
r = this.initializeServerTelemetryManager(Ce.handleRedirectPromise), R.label = 1;
|
|
@@ -12609,12 +12607,12 @@ var ss = (
|
|
|
12609
12607
|
if (R.trys.push([1, 10, , 11]), !this.browserStorage.isInteractionInProgress(!0))
|
|
12610
12608
|
return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."), [2, null];
|
|
12611
12609
|
if (o = this.getRedirectResponseHash(t || window.location.hash), !o)
|
|
12612
|
-
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];
|
|
12613
12611
|
i = void 0;
|
|
12614
12612
|
try {
|
|
12615
|
-
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");
|
|
12616
12614
|
} catch (q) {
|
|
12617
|
-
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];
|
|
12618
12616
|
}
|
|
12619
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];
|
|
12620
12618
|
case 2:
|
|
@@ -12640,7 +12638,7 @@ var ss = (
|
|
|
12640
12638
|
case 9:
|
|
12641
12639
|
return [2, null];
|
|
12642
12640
|
case 10:
|
|
12643
|
-
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;
|
|
12644
12642
|
case 11:
|
|
12645
12643
|
return [
|
|
12646
12644
|
2
|
|
@@ -12657,15 +12655,15 @@ var ss = (
|
|
|
12657
12655
|
var o = this.browserStorage.getTemporaryCache(de.URL_HASH, !0);
|
|
12658
12656
|
return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(de.URL_HASH)), this.logger.verbose("Hash does not contain known properties, returning cached hash"), o;
|
|
12659
12657
|
}, e.prototype.handleHash = function(t, r, o) {
|
|
12660
|
-
return
|
|
12658
|
+
return L(this, void 0, void 0, function() {
|
|
12661
12659
|
var i, a, s, l, p, u, m, f = this;
|
|
12662
|
-
return
|
|
12660
|
+
return O(this, function(k) {
|
|
12663
12661
|
switch (k.label) {
|
|
12664
12662
|
case 0:
|
|
12665
12663
|
if (i = this.browserStorage.getCachedRequest(r, this.browserCrypto), this.logger.verbose("handleHash called, retrieved cached request"), a = ue.getDeserializedHash(t), a.accountId) {
|
|
12666
12664
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
|
|
12667
12665
|
throw F.createNativeConnectionNotEstablishedError();
|
|
12668
|
-
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), {
|
|
12669
12667
|
state: l,
|
|
12670
12668
|
prompt: void 0
|
|
12671
12669
|
// Server should handle the prompt, ideally native broker can do this part silently
|
|
@@ -12684,14 +12682,14 @@ var ss = (
|
|
|
12684
12682
|
});
|
|
12685
12683
|
});
|
|
12686
12684
|
}, e.prototype.logout = function(t) {
|
|
12687
|
-
return
|
|
12685
|
+
return L(this, void 0, void 0, function() {
|
|
12688
12686
|
var r, o, i, a, s, l, p;
|
|
12689
|
-
return
|
|
12687
|
+
return O(this, function(u) {
|
|
12690
12688
|
switch (u.label) {
|
|
12691
12689
|
case 0:
|
|
12692
12690
|
this.logger.verbose("logoutRedirect called"), r = this.initializeLogoutRequest(t), o = this.initializeServerTelemetryManager(Ce.logout), u.label = 1;
|
|
12693
12691
|
case 1:
|
|
12694
|
-
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)];
|
|
12695
12693
|
case 2:
|
|
12696
12694
|
return u.sent(), i = {
|
|
12697
12695
|
apiId: Ce.logout,
|
|
@@ -12699,7 +12697,7 @@ var ss = (
|
|
|
12699
12697
|
noHistory: !1
|
|
12700
12698
|
}, this.performanceClient.setPreQueueTime(A.StandardInteractionClientCreateAuthCodeClient, r.correlationId), [4, this.createAuthCodeClient(o, t && t.authority)];
|
|
12701
12699
|
case 3:
|
|
12702
|
-
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];
|
|
12703
12701
|
case 4:
|
|
12704
12702
|
return u.sent(), [
|
|
12705
12703
|
2
|
|
@@ -12719,9 +12717,9 @@ var ss = (
|
|
|
12719
12717
|
case 9:
|
|
12720
12718
|
return [3, 11];
|
|
12721
12719
|
case 10:
|
|
12722
|
-
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;
|
|
12723
12721
|
case 11:
|
|
12724
|
-
return this.eventHandler.emitEvent(ne.LOGOUT_END,
|
|
12722
|
+
return this.eventHandler.emitEvent(ne.LOGOUT_END, Y.Redirect), [
|
|
12725
12723
|
2
|
|
12726
12724
|
/*return*/
|
|
12727
12725
|
];
|
|
@@ -12767,12 +12765,12 @@ var cs = (
|
|
|
12767
12765
|
return Promise.reject(p);
|
|
12768
12766
|
}
|
|
12769
12767
|
}, e.prototype.acquireTokenPopupAsync = function(t, r, o, i) {
|
|
12770
|
-
return
|
|
12771
|
-
var a, s, l, p, u, m, f, k, E, R, q, K, z, T, H, G,
|
|
12772
|
-
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) {
|
|
12773
12771
|
switch (Z.label) {
|
|
12774
12772
|
case 0:
|
|
12775
|
-
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)];
|
|
12776
12774
|
case 1:
|
|
12777
12775
|
s = Z.sent(), this.browserStorage.updateCacheEntries(s.state, s.nonce, s.authority, s.loginHint || w.EMPTY_STRING, s.account || null), Z.label = 2;
|
|
12778
12776
|
case 2:
|
|
@@ -12780,21 +12778,21 @@ var cs = (
|
|
|
12780
12778
|
case 3:
|
|
12781
12779
|
return l = Z.sent(), this.performanceClient.setPreQueueTime(A.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(a, s.authority, s.azureCloudOptions)];
|
|
12782
12780
|
case 4:
|
|
12783
|
-
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 }))];
|
|
12784
12782
|
case 5:
|
|
12785
12783
|
return f = Z.sent(), k = new fo(p, this.browserStorage, l, this.logger, this.performanceClient), E = {
|
|
12786
12784
|
popup: i,
|
|
12787
12785
|
popupName: r,
|
|
12788
12786
|
popupWindowAttributes: o
|
|
12789
|
-
}, 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)];
|
|
12790
12788
|
case 6:
|
|
12791
|
-
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) {
|
|
12792
12790
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), m && m.endMeasurement({
|
|
12793
12791
|
success: !0,
|
|
12794
12792
|
isNativeBroker: !0
|
|
12795
12793
|
}), !this.nativeMessageHandler)
|
|
12796
12794
|
throw F.createNativeConnectionNotEstablishedError();
|
|
12797
|
-
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), {
|
|
12798
12796
|
state: H,
|
|
12799
12797
|
prompt: void 0
|
|
12800
12798
|
// Server should handle the prompt, ideally native broker can do this part silently
|
|
@@ -12806,7 +12804,7 @@ var cs = (
|
|
|
12806
12804
|
case 7:
|
|
12807
12805
|
return G = Z.sent(), [2, G];
|
|
12808
12806
|
case 8:
|
|
12809
|
-
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;
|
|
12810
12808
|
case 9:
|
|
12811
12809
|
return [
|
|
12812
12810
|
2
|
|
@@ -12816,18 +12814,18 @@ var cs = (
|
|
|
12816
12814
|
});
|
|
12817
12815
|
});
|
|
12818
12816
|
}, e.prototype.logoutPopupAsync = function(t, r, o, i, a, s) {
|
|
12819
|
-
return
|
|
12817
|
+
return L(this, void 0, void 0, function() {
|
|
12820
12818
|
var l, p, u, m, f, k, E;
|
|
12821
|
-
return
|
|
12819
|
+
return O(this, function(R) {
|
|
12822
12820
|
switch (R.label) {
|
|
12823
12821
|
case 0:
|
|
12824
|
-
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;
|
|
12825
12823
|
case 1:
|
|
12826
12824
|
return R.trys.push([1, 5, , 6]), [4, this.clearCacheOnLogout(t.account)];
|
|
12827
12825
|
case 2:
|
|
12828
12826
|
return R.sent(), this.performanceClient.setPreQueueTime(A.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(l, i)];
|
|
12829
12827
|
case 3:
|
|
12830
|
-
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)];
|
|
12831
12829
|
case 4:
|
|
12832
12830
|
return R.sent(), s ? (f = {
|
|
12833
12831
|
apiId: Ce.logoutPopup,
|
|
@@ -12835,9 +12833,9 @@ var cs = (
|
|
|
12835
12833
|
noHistory: !1
|
|
12836
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];
|
|
12837
12835
|
case 5:
|
|
12838
|
-
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;
|
|
12839
12837
|
case 6:
|
|
12840
|
-
return this.eventHandler.emitEvent(ne.LOGOUT_END,
|
|
12838
|
+
return this.eventHandler.emitEvent(ne.LOGOUT_END, Y.Popup), [
|
|
12841
12839
|
2
|
|
12842
12840
|
/*return*/
|
|
12843
12841
|
];
|
|
@@ -12893,7 +12891,7 @@ var cs = (
|
|
|
12893
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;
|
|
12894
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");
|
|
12895
12893
|
}, e.prototype.unloadWindow = function(t) {
|
|
12896
|
-
this.browserStorage.cleanRequestByInteractionType(
|
|
12894
|
+
this.browserStorage.cleanRequestByInteractionType(Y.Popup), this.currentWindow && this.currentWindow.close(), t.preventDefault();
|
|
12897
12895
|
}, e.prototype.cleanPopup = function(t) {
|
|
12898
12896
|
t && t.close(), window.removeEventListener("beforeunload", this.unloadWindow), this.browserStorage.setInteractionInProgress(!1);
|
|
12899
12897
|
}, e.prototype.generatePopupName = function(t, r) {
|
|
@@ -12943,12 +12941,12 @@ function hs(n, e) {
|
|
|
12943
12941
|
},
|
|
12944
12942
|
skipAuthorityMetadataCache: !1
|
|
12945
12943
|
}, s = {
|
|
12946
|
-
cacheLocation:
|
|
12947
|
-
temporaryCacheLocation:
|
|
12944
|
+
cacheLocation: Oe.SessionStorage,
|
|
12945
|
+
temporaryCacheLocation: Oe.SessionStorage,
|
|
12948
12946
|
storeAuthStateInCookie: !1,
|
|
12949
12947
|
secureCookies: !1,
|
|
12950
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
|
|
12951
|
-
cacheMigrationEnabled: !!(r && r.cacheLocation ===
|
|
12949
|
+
cacheMigrationEnabled: !!(r && r.cacheLocation === Oe.LocalStorage),
|
|
12952
12950
|
claimsBasedCachingEnabled: !0
|
|
12953
12951
|
}, l = {
|
|
12954
12952
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
@@ -12956,7 +12954,7 @@ function hs(n, e) {
|
|
|
12956
12954
|
},
|
|
12957
12955
|
logLevel: De.Info,
|
|
12958
12956
|
piiLoggingEnabled: !1
|
|
12959
|
-
}, p =
|
|
12957
|
+
}, p = W(W({}, di), {
|
|
12960
12958
|
loggerOptions: l,
|
|
12961
12959
|
networkClient: e ? Ae.getBrowserNetworkClient() : Xa,
|
|
12962
12960
|
navigationClient: new ls(),
|
|
@@ -12975,16 +12973,16 @@ function hs(n, e) {
|
|
|
12975
12973
|
useMsrCrypto: !1,
|
|
12976
12974
|
entropy: void 0
|
|
12977
12975
|
}
|
|
12978
|
-
}), u =
|
|
12976
|
+
}), u = W(W({}, o), { loggerOptions: (o == null ? void 0 : o.loggerOptions) || l }), m = {
|
|
12979
12977
|
application: {
|
|
12980
12978
|
appName: w.EMPTY_STRING,
|
|
12981
12979
|
appVersion: w.EMPTY_STRING
|
|
12982
12980
|
}
|
|
12983
12981
|
}, f = {
|
|
12984
|
-
auth:
|
|
12985
|
-
cache:
|
|
12986
|
-
system:
|
|
12987
|
-
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)
|
|
12988
12986
|
};
|
|
12989
12987
|
return f;
|
|
12990
12988
|
}
|
|
@@ -12998,8 +12996,8 @@ var yi = (
|
|
|
12998
12996
|
return l.navigateFrameWait = a.navigateFrameWait, l.pollIntervalMilliseconds = a.pollIntervalMilliseconds, l;
|
|
12999
12997
|
}
|
|
13000
12998
|
return e.prototype.initiateAuthRequest = function(t) {
|
|
13001
|
-
return
|
|
13002
|
-
return
|
|
12999
|
+
return L(this, void 0, void 0, function() {
|
|
13000
|
+
return O(this, function(r) {
|
|
13003
13001
|
switch (r.label) {
|
|
13004
13002
|
case 0:
|
|
13005
13003
|
if (this.performanceClient.addQueueMeasurement(A.SilentHandlerInitiateAuthRequest, this.authCodeRequest.correlationId), V.isEmpty(t))
|
|
@@ -13068,16 +13066,16 @@ var fs = (
|
|
|
13068
13066
|
return k.apiId = l, k.nativeStorage = u, k;
|
|
13069
13067
|
}
|
|
13070
13068
|
return e.prototype.acquireToken = function(t) {
|
|
13071
|
-
return
|
|
13069
|
+
return L(this, void 0, void 0, function() {
|
|
13072
13070
|
var r, o, i, a, s;
|
|
13073
|
-
return
|
|
13071
|
+
return O(this, function(l) {
|
|
13074
13072
|
switch (l.label) {
|
|
13075
13073
|
case 0:
|
|
13076
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)
|
|
13077
13075
|
throw r.endMeasurement({
|
|
13078
13076
|
success: !1
|
|
13079
13077
|
}), F.createSilentPromptValueError(t.prompt);
|
|
13080
|
-
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)];
|
|
13081
13079
|
case 1:
|
|
13082
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;
|
|
13083
13081
|
case 2:
|
|
@@ -13109,23 +13107,23 @@ var fs = (
|
|
|
13109
13107
|
}, e.prototype.logout = function() {
|
|
13110
13108
|
return Promise.reject(F.createSilentLogoutUnsupportedError());
|
|
13111
13109
|
}, e.prototype.silentTokenHelper = function(t, r) {
|
|
13112
|
-
return
|
|
13110
|
+
return L(this, void 0, void 0, function() {
|
|
13113
13111
|
var o, i, a, s, l, p, u, m, f, k = this;
|
|
13114
|
-
return
|
|
13112
|
+
return O(this, function(E) {
|
|
13115
13113
|
switch (E.label) {
|
|
13116
13114
|
case 0:
|
|
13117
13115
|
return this.performanceClient.addQueueMeasurement(A.SilentIframeClientTokenHelper, r.correlationId), this.performanceClient.setPreQueueTime(A.StandardInteractionClientInitializeAuthorizationCodeRequest, r.correlationId), [4, this.initializeAuthorizationCodeRequest(r)];
|
|
13118
13116
|
case 1:
|
|
13119
|
-
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) }))];
|
|
13120
13118
|
case 2:
|
|
13121
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)];
|
|
13122
13120
|
case 3:
|
|
13123
13121
|
return s = E.sent(), this.performanceClient.setPreQueueTime(A.SilentHandlerMonitorIframeForHash, r.correlationId), [4, a.monitorIframeForHash(s, this.config.system.iframeHashTimeout)];
|
|
13124
13122
|
case 4:
|
|
13125
|
-
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) {
|
|
13126
13124
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
|
|
13127
13125
|
throw F.createNativeConnectionNotEstablishedError();
|
|
13128
|
-
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() {
|
|
13129
13127
|
k.browserStorage.cleanRequestByState(u);
|
|
13130
13128
|
})];
|
|
13131
13129
|
}
|
|
@@ -13145,14 +13143,14 @@ var gs = (
|
|
|
13145
13143
|
return n !== null && n.apply(this, arguments) || this;
|
|
13146
13144
|
}
|
|
13147
13145
|
return e.prototype.acquireToken = function(t) {
|
|
13148
|
-
return
|
|
13146
|
+
return L(this, void 0, void 0, function() {
|
|
13149
13147
|
var r, o, i, a, s, l = this;
|
|
13150
|
-
return
|
|
13148
|
+
return O(this, function(p) {
|
|
13151
13149
|
switch (p.label) {
|
|
13152
13150
|
case 0:
|
|
13153
|
-
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)];
|
|
13154
13152
|
case 1:
|
|
13155
|
-
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)];
|
|
13156
13154
|
case 2:
|
|
13157
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) {
|
|
13158
13156
|
return i.endMeasurement({
|
|
@@ -13173,9 +13171,9 @@ var gs = (
|
|
|
13173
13171
|
}, e.prototype.logout = function() {
|
|
13174
13172
|
return Promise.reject(F.createSilentLogoutUnsupportedError());
|
|
13175
13173
|
}, e.prototype.createRefreshTokenClient = function(t, r, o) {
|
|
13176
|
-
return
|
|
13174
|
+
return L(this, void 0, void 0, function() {
|
|
13177
13175
|
var i;
|
|
13178
|
-
return
|
|
13176
|
+
return O(this, function(a) {
|
|
13179
13177
|
switch (a.label) {
|
|
13180
13178
|
case 0:
|
|
13181
13179
|
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetClientConfiguration, this.correlationId), [4, this.getClientConfiguration(t, r, o)];
|
|
@@ -13237,7 +13235,7 @@ var ms = (
|
|
|
13237
13235
|
}()
|
|
13238
13236
|
);
|
|
13239
13237
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13240
|
-
var
|
|
13238
|
+
var We = (
|
|
13241
13239
|
/** @class */
|
|
13242
13240
|
function() {
|
|
13243
13241
|
function n() {
|
|
@@ -13259,7 +13257,7 @@ var wi = (
|
|
|
13259
13257
|
return n.prototype.generateGuid = function() {
|
|
13260
13258
|
try {
|
|
13261
13259
|
var e = new Uint8Array(16);
|
|
13262
|
-
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]);
|
|
13263
13261
|
} catch {
|
|
13264
13262
|
for (var t = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx", r = "0123456789abcdef", o = 0, i = w.EMPTY_STRING, a = 0; a < 36; a++)
|
|
13265
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];
|
|
@@ -13381,9 +13379,9 @@ var vs = 32, ys = (
|
|
|
13381
13379
|
this.base64Encode = new bi(), this.cryptoObj = e;
|
|
13382
13380
|
}
|
|
13383
13381
|
return n.prototype.generateCodes = function() {
|
|
13384
|
-
return
|
|
13382
|
+
return L(this, void 0, void 0, function() {
|
|
13385
13383
|
var e, t;
|
|
13386
|
-
return
|
|
13384
|
+
return O(this, function(r) {
|
|
13387
13385
|
switch (r.label) {
|
|
13388
13386
|
case 0:
|
|
13389
13387
|
return e = this.generateCodeVerifier(), [4, this.generateCodeChallengeFromVerifier(e)];
|
|
@@ -13405,9 +13403,9 @@ var vs = 32, ys = (
|
|
|
13405
13403
|
throw F.createPkceNotGeneratedError(r);
|
|
13406
13404
|
}
|
|
13407
13405
|
}, n.prototype.generateCodeChallengeFromVerifier = function(e) {
|
|
13408
|
-
return
|
|
13406
|
+
return L(this, void 0, void 0, function() {
|
|
13409
13407
|
var t, r;
|
|
13410
|
-
return
|
|
13408
|
+
return O(this, function(o) {
|
|
13411
13409
|
switch (o.label) {
|
|
13412
13410
|
case 0:
|
|
13413
13411
|
return o.trys.push([0, 2, , 3]), [4, this.cryptoObj.sha256Digest(e)];
|
|
@@ -13435,32 +13433,32 @@ var ws = (
|
|
|
13435
13433
|
return n.prototype.getRandomValues = function(e) {
|
|
13436
13434
|
return window.crypto.getRandomValues(e);
|
|
13437
13435
|
}, n.prototype.generateKey = function(e, t, r) {
|
|
13438
|
-
return
|
|
13439
|
-
return
|
|
13436
|
+
return L(this, void 0, void 0, function() {
|
|
13437
|
+
return O(this, function(o) {
|
|
13440
13438
|
return [2, window.crypto.subtle.generateKey(e, t, r)];
|
|
13441
13439
|
});
|
|
13442
13440
|
});
|
|
13443
13441
|
}, n.prototype.exportKey = function(e) {
|
|
13444
|
-
return
|
|
13445
|
-
return
|
|
13442
|
+
return L(this, void 0, void 0, function() {
|
|
13443
|
+
return O(this, function(t) {
|
|
13446
13444
|
return [2, window.crypto.subtle.exportKey(Hn, e)];
|
|
13447
13445
|
});
|
|
13448
13446
|
});
|
|
13449
13447
|
}, n.prototype.importKey = function(e, t, r, o) {
|
|
13450
|
-
return
|
|
13451
|
-
return
|
|
13448
|
+
return L(this, void 0, void 0, function() {
|
|
13449
|
+
return O(this, function(i) {
|
|
13452
13450
|
return [2, window.crypto.subtle.importKey(Hn, e, t, r, o)];
|
|
13453
13451
|
});
|
|
13454
13452
|
});
|
|
13455
13453
|
}, n.prototype.sign = function(e, t, r) {
|
|
13456
|
-
return
|
|
13457
|
-
return
|
|
13454
|
+
return L(this, void 0, void 0, function() {
|
|
13455
|
+
return O(this, function(o) {
|
|
13458
13456
|
return [2, window.crypto.subtle.sign(e, t, r)];
|
|
13459
13457
|
});
|
|
13460
13458
|
});
|
|
13461
13459
|
}, n.prototype.digest = function(e, t) {
|
|
13462
|
-
return
|
|
13463
|
-
return
|
|
13460
|
+
return L(this, void 0, void 0, function() {
|
|
13461
|
+
return O(this, function(r) {
|
|
13464
13462
|
return [2, window.crypto.subtle.digest(e, t)];
|
|
13465
13463
|
});
|
|
13466
13464
|
});
|
|
@@ -13478,32 +13476,32 @@ var bs = (
|
|
|
13478
13476
|
}, n.prototype.getRandomValues = function(e) {
|
|
13479
13477
|
return window.msrCrypto.getRandomValues(e);
|
|
13480
13478
|
}, n.prototype.generateKey = function(e, t, r) {
|
|
13481
|
-
return
|
|
13482
|
-
return
|
|
13479
|
+
return L(this, void 0, void 0, function() {
|
|
13480
|
+
return O(this, function(o) {
|
|
13483
13481
|
return [2, window.msrCrypto.subtle.generateKey(e, t, r)];
|
|
13484
13482
|
});
|
|
13485
13483
|
});
|
|
13486
13484
|
}, n.prototype.exportKey = function(e) {
|
|
13487
|
-
return
|
|
13488
|
-
return
|
|
13485
|
+
return L(this, void 0, void 0, function() {
|
|
13486
|
+
return O(this, function(t) {
|
|
13489
13487
|
return [2, window.msrCrypto.subtle.exportKey(Hn, e)];
|
|
13490
13488
|
});
|
|
13491
13489
|
});
|
|
13492
13490
|
}, n.prototype.importKey = function(e, t, r, o) {
|
|
13493
|
-
return
|
|
13494
|
-
return
|
|
13491
|
+
return L(this, void 0, void 0, function() {
|
|
13492
|
+
return O(this, function(i) {
|
|
13495
13493
|
return [2, window.msrCrypto.subtle.importKey(Hn, e, t, r, o)];
|
|
13496
13494
|
});
|
|
13497
13495
|
});
|
|
13498
13496
|
}, n.prototype.sign = function(e, t, r) {
|
|
13499
|
-
return
|
|
13500
|
-
return
|
|
13497
|
+
return L(this, void 0, void 0, function() {
|
|
13498
|
+
return O(this, function(o) {
|
|
13501
13499
|
return [2, window.msrCrypto.subtle.sign(e, t, r)];
|
|
13502
13500
|
});
|
|
13503
13501
|
});
|
|
13504
13502
|
}, n.prototype.digest = function(e, t) {
|
|
13505
|
-
return
|
|
13506
|
-
return
|
|
13503
|
+
return L(this, void 0, void 0, function() {
|
|
13504
|
+
return O(this, function(r) {
|
|
13507
13505
|
return [2, window.msrCrypto.subtle.digest(e, t)];
|
|
13508
13506
|
});
|
|
13509
13507
|
});
|
|
@@ -13519,8 +13517,8 @@ var ks = (
|
|
|
13519
13517
|
return n.prototype.getRandomValues = function(e) {
|
|
13520
13518
|
return window.msCrypto.getRandomValues(e);
|
|
13521
13519
|
}, n.prototype.generateKey = function(e, t, r) {
|
|
13522
|
-
return
|
|
13523
|
-
return
|
|
13520
|
+
return L(this, void 0, void 0, function() {
|
|
13521
|
+
return O(this, function(o) {
|
|
13524
13522
|
return [2, new Promise(function(i, a) {
|
|
13525
13523
|
var s = window.msCrypto.subtle.generateKey(e, t, r);
|
|
13526
13524
|
s.addEventListener("complete", function(l) {
|
|
@@ -13532,8 +13530,8 @@ var ks = (
|
|
|
13532
13530
|
});
|
|
13533
13531
|
});
|
|
13534
13532
|
}, n.prototype.exportKey = function(e) {
|
|
13535
|
-
return
|
|
13536
|
-
return
|
|
13533
|
+
return L(this, void 0, void 0, function() {
|
|
13534
|
+
return O(this, function(t) {
|
|
13537
13535
|
return [2, new Promise(function(r, o) {
|
|
13538
13536
|
var i = window.msCrypto.subtle.exportKey(Hn, e);
|
|
13539
13537
|
i.addEventListener("complete", function(a) {
|
|
@@ -13550,9 +13548,9 @@ var ks = (
|
|
|
13550
13548
|
});
|
|
13551
13549
|
});
|
|
13552
13550
|
}, n.prototype.importKey = function(e, t, r, o) {
|
|
13553
|
-
return
|
|
13551
|
+
return L(this, void 0, void 0, function() {
|
|
13554
13552
|
var i, a;
|
|
13555
|
-
return
|
|
13553
|
+
return O(this, function(s) {
|
|
13556
13554
|
return i = nn.getSortedObjectString(e), a = nn.stringToArrayBuffer(i), [2, new Promise(function(l, p) {
|
|
13557
13555
|
var u = window.msCrypto.subtle.importKey(Hn, a, t, r, o);
|
|
13558
13556
|
u.addEventListener("complete", function(m) {
|
|
@@ -13564,8 +13562,8 @@ var ks = (
|
|
|
13564
13562
|
});
|
|
13565
13563
|
});
|
|
13566
13564
|
}, n.prototype.sign = function(e, t, r) {
|
|
13567
|
-
return
|
|
13568
|
-
return
|
|
13565
|
+
return L(this, void 0, void 0, function() {
|
|
13566
|
+
return O(this, function(o) {
|
|
13569
13567
|
return [2, new Promise(function(i, a) {
|
|
13570
13568
|
var s = window.msCrypto.subtle.sign(e, t, r);
|
|
13571
13569
|
s.addEventListener("complete", function(l) {
|
|
@@ -13577,8 +13575,8 @@ var ks = (
|
|
|
13577
13575
|
});
|
|
13578
13576
|
});
|
|
13579
13577
|
}, n.prototype.digest = function(e, t) {
|
|
13580
|
-
return
|
|
13581
|
-
return
|
|
13578
|
+
return L(this, void 0, void 0, function() {
|
|
13579
|
+
return O(this, function(r) {
|
|
13582
13580
|
return [2, new Promise(function(o, i) {
|
|
13583
13581
|
var a = window.msCrypto.subtle.digest(e, t.buffer);
|
|
13584
13582
|
a.addEventListener("complete", function(s) {
|
|
@@ -13625,35 +13623,35 @@ var Cs = "RSASSA-PKCS1-v1_5", Fo = "SHA-256", Es = 2048, Ts = new Uint8Array([1,
|
|
|
13625
13623
|
}, n.prototype.hasMsrCrypto = function() {
|
|
13626
13624
|
return "msrCrypto" in window;
|
|
13627
13625
|
}, n.prototype.sha256Digest = function(e) {
|
|
13628
|
-
return
|
|
13626
|
+
return L(this, void 0, void 0, function() {
|
|
13629
13627
|
var t;
|
|
13630
|
-
return
|
|
13628
|
+
return O(this, function(r) {
|
|
13631
13629
|
return t = nn.stringToUtf8Arr(e), [2, this.subtleCrypto.digest({ name: Fo }, t)];
|
|
13632
13630
|
});
|
|
13633
13631
|
});
|
|
13634
13632
|
}, n.prototype.getRandomValues = function(e) {
|
|
13635
13633
|
return this.subtleCrypto.getRandomValues(e);
|
|
13636
13634
|
}, n.prototype.generateKeyPair = function(e, t) {
|
|
13637
|
-
return
|
|
13638
|
-
return
|
|
13635
|
+
return L(this, void 0, void 0, function() {
|
|
13636
|
+
return O(this, function(r) {
|
|
13639
13637
|
return [2, this.subtleCrypto.generateKey(this.keygenAlgorithmOptions, e, t)];
|
|
13640
13638
|
});
|
|
13641
13639
|
});
|
|
13642
13640
|
}, n.prototype.exportJwk = function(e) {
|
|
13643
|
-
return
|
|
13644
|
-
return
|
|
13641
|
+
return L(this, void 0, void 0, function() {
|
|
13642
|
+
return O(this, function(t) {
|
|
13645
13643
|
return [2, this.subtleCrypto.exportKey(e)];
|
|
13646
13644
|
});
|
|
13647
13645
|
});
|
|
13648
13646
|
}, n.prototype.importJwk = function(e, t, r) {
|
|
13649
|
-
return
|
|
13650
|
-
return
|
|
13647
|
+
return L(this, void 0, void 0, function() {
|
|
13648
|
+
return O(this, function(o) {
|
|
13651
13649
|
return [2, this.subtleCrypto.importKey(e, this.keygenAlgorithmOptions, t, r)];
|
|
13652
13650
|
});
|
|
13653
13651
|
});
|
|
13654
13652
|
}, n.prototype.sign = function(e, t) {
|
|
13655
|
-
return
|
|
13656
|
-
return
|
|
13653
|
+
return L(this, void 0, void 0, function() {
|
|
13654
|
+
return O(this, function(r) {
|
|
13657
13655
|
return [2, this.subtleCrypto.sign(this.keygenAlgorithmOptions, e, t)];
|
|
13658
13656
|
});
|
|
13659
13657
|
});
|
|
@@ -13668,9 +13666,9 @@ var Ss = (
|
|
|
13668
13666
|
this.dbName = Zr, this.version = ns, this.tableName = rs, this.dbOpen = !1;
|
|
13669
13667
|
}
|
|
13670
13668
|
return n.prototype.open = function() {
|
|
13671
|
-
return
|
|
13669
|
+
return L(this, void 0, void 0, function() {
|
|
13672
13670
|
var e = this;
|
|
13673
|
-
return
|
|
13671
|
+
return O(this, function(t) {
|
|
13674
13672
|
return [2, new Promise(function(r, o) {
|
|
13675
13673
|
var i = window.indexedDB.open(e.dbName, e.version);
|
|
13676
13674
|
i.addEventListener("upgradeneeded", function(a) {
|
|
@@ -13689,8 +13687,8 @@ var Ss = (
|
|
|
13689
13687
|
var e = this.db;
|
|
13690
13688
|
e && this.dbOpen && (e.close(), this.dbOpen = !1);
|
|
13691
13689
|
}, n.prototype.validateDbIsOpen = function() {
|
|
13692
|
-
return
|
|
13693
|
-
return
|
|
13690
|
+
return L(this, void 0, void 0, function() {
|
|
13691
|
+
return O(this, function(e) {
|
|
13694
13692
|
switch (e.label) {
|
|
13695
13693
|
case 0:
|
|
13696
13694
|
return this.dbOpen ? [3, 2] : [4, this.open()];
|
|
@@ -13705,9 +13703,9 @@ var Ss = (
|
|
|
13705
13703
|
});
|
|
13706
13704
|
});
|
|
13707
13705
|
}, n.prototype.getItem = function(e) {
|
|
13708
|
-
return
|
|
13706
|
+
return L(this, void 0, void 0, function() {
|
|
13709
13707
|
var t = this;
|
|
13710
|
-
return
|
|
13708
|
+
return O(this, function(r) {
|
|
13711
13709
|
switch (r.label) {
|
|
13712
13710
|
case 0:
|
|
13713
13711
|
return [4, this.validateDbIsOpen()];
|
|
@@ -13727,9 +13725,9 @@ var Ss = (
|
|
|
13727
13725
|
});
|
|
13728
13726
|
});
|
|
13729
13727
|
}, n.prototype.setItem = function(e, t) {
|
|
13730
|
-
return
|
|
13728
|
+
return L(this, void 0, void 0, function() {
|
|
13731
13729
|
var r = this;
|
|
13732
|
-
return
|
|
13730
|
+
return O(this, function(o) {
|
|
13733
13731
|
switch (o.label) {
|
|
13734
13732
|
case 0:
|
|
13735
13733
|
return [4, this.validateDbIsOpen()];
|
|
@@ -13748,9 +13746,9 @@ var Ss = (
|
|
|
13748
13746
|
});
|
|
13749
13747
|
});
|
|
13750
13748
|
}, n.prototype.removeItem = function(e) {
|
|
13751
|
-
return
|
|
13749
|
+
return L(this, void 0, void 0, function() {
|
|
13752
13750
|
var t = this;
|
|
13753
|
-
return
|
|
13751
|
+
return O(this, function(r) {
|
|
13754
13752
|
switch (r.label) {
|
|
13755
13753
|
case 0:
|
|
13756
13754
|
return [4, this.validateDbIsOpen()];
|
|
@@ -13769,9 +13767,9 @@ var Ss = (
|
|
|
13769
13767
|
});
|
|
13770
13768
|
});
|
|
13771
13769
|
}, n.prototype.getKeys = function() {
|
|
13772
|
-
return
|
|
13770
|
+
return L(this, void 0, void 0, function() {
|
|
13773
13771
|
var e = this;
|
|
13774
|
-
return
|
|
13772
|
+
return O(this, function(t) {
|
|
13775
13773
|
switch (t.label) {
|
|
13776
13774
|
case 0:
|
|
13777
13775
|
return [4, this.validateDbIsOpen()];
|
|
@@ -13791,9 +13789,9 @@ var Ss = (
|
|
|
13791
13789
|
});
|
|
13792
13790
|
});
|
|
13793
13791
|
}, n.prototype.containsKey = function(e) {
|
|
13794
|
-
return
|
|
13792
|
+
return L(this, void 0, void 0, function() {
|
|
13795
13793
|
var t = this;
|
|
13796
|
-
return
|
|
13794
|
+
return O(this, function(r) {
|
|
13797
13795
|
switch (r.label) {
|
|
13798
13796
|
case 0:
|
|
13799
13797
|
return [4, this.validateDbIsOpen()];
|
|
@@ -13813,8 +13811,8 @@ var Ss = (
|
|
|
13813
13811
|
});
|
|
13814
13812
|
});
|
|
13815
13813
|
}, n.prototype.deleteDatabase = function() {
|
|
13816
|
-
return
|
|
13817
|
-
return
|
|
13814
|
+
return L(this, void 0, void 0, function() {
|
|
13815
|
+
return O(this, function(e) {
|
|
13818
13816
|
return this.db && this.dbOpen && this.closeConnection(), [2, new Promise(function(t, r) {
|
|
13819
13817
|
var o = window.indexedDB.deleteDatabase(Zr);
|
|
13820
13818
|
o.addEventListener("success", function() {
|
|
@@ -13843,9 +13841,9 @@ var Ko = (
|
|
|
13843
13841
|
else
|
|
13844
13842
|
throw e;
|
|
13845
13843
|
}, n.prototype.getItem = function(e) {
|
|
13846
|
-
return
|
|
13844
|
+
return L(this, void 0, void 0, function() {
|
|
13847
13845
|
var t, r;
|
|
13848
|
-
return
|
|
13846
|
+
return O(this, function(o) {
|
|
13849
13847
|
switch (o.label) {
|
|
13850
13848
|
case 0:
|
|
13851
13849
|
if (t = this.inMemoryCache.getItem(e), t) return [3, 4];
|
|
@@ -13862,9 +13860,9 @@ var Ko = (
|
|
|
13862
13860
|
});
|
|
13863
13861
|
});
|
|
13864
13862
|
}, n.prototype.setItem = function(e, t) {
|
|
13865
|
-
return
|
|
13863
|
+
return L(this, void 0, void 0, function() {
|
|
13866
13864
|
var r;
|
|
13867
|
-
return
|
|
13865
|
+
return O(this, function(o) {
|
|
13868
13866
|
switch (o.label) {
|
|
13869
13867
|
case 0:
|
|
13870
13868
|
this.inMemoryCache.setItem(e, t), o.label = 1;
|
|
@@ -13883,9 +13881,9 @@ var Ko = (
|
|
|
13883
13881
|
});
|
|
13884
13882
|
});
|
|
13885
13883
|
}, n.prototype.removeItem = function(e) {
|
|
13886
|
-
return
|
|
13884
|
+
return L(this, void 0, void 0, function() {
|
|
13887
13885
|
var t;
|
|
13888
|
-
return
|
|
13886
|
+
return O(this, function(r) {
|
|
13889
13887
|
switch (r.label) {
|
|
13890
13888
|
case 0:
|
|
13891
13889
|
this.inMemoryCache.removeItem(e), r.label = 1;
|
|
@@ -13904,9 +13902,9 @@ var Ko = (
|
|
|
13904
13902
|
});
|
|
13905
13903
|
});
|
|
13906
13904
|
}, n.prototype.getKeys = function() {
|
|
13907
|
-
return
|
|
13905
|
+
return L(this, void 0, void 0, function() {
|
|
13908
13906
|
var e, t;
|
|
13909
|
-
return
|
|
13907
|
+
return O(this, function(r) {
|
|
13910
13908
|
switch (r.label) {
|
|
13911
13909
|
case 0:
|
|
13912
13910
|
if (e = this.inMemoryCache.getKeys(), e.length !== 0) return [3, 4];
|
|
@@ -13923,9 +13921,9 @@ var Ko = (
|
|
|
13923
13921
|
});
|
|
13924
13922
|
});
|
|
13925
13923
|
}, n.prototype.containsKey = function(e) {
|
|
13926
|
-
return
|
|
13924
|
+
return L(this, void 0, void 0, function() {
|
|
13927
13925
|
var t, r;
|
|
13928
|
-
return
|
|
13926
|
+
return O(this, function(o) {
|
|
13929
13927
|
switch (o.label) {
|
|
13930
13928
|
case 0:
|
|
13931
13929
|
if (t = this.inMemoryCache.containsKey(e), t) return [3, 4];
|
|
@@ -13944,9 +13942,9 @@ var Ko = (
|
|
|
13944
13942
|
}, n.prototype.clearInMemory = function() {
|
|
13945
13943
|
this.logger.verbose("Deleting in-memory keystore " + this.storeName), this.inMemoryCache.clear(), this.logger.verbose("In-memory keystore " + this.storeName + " deleted");
|
|
13946
13944
|
}, n.prototype.clearPersistent = function() {
|
|
13947
|
-
return
|
|
13945
|
+
return L(this, void 0, void 0, function() {
|
|
13948
13946
|
var e, t;
|
|
13949
|
-
return
|
|
13947
|
+
return O(this, function(r) {
|
|
13950
13948
|
switch (r.label) {
|
|
13951
13949
|
case 0:
|
|
13952
13950
|
return r.trys.push([0, 2, , 3]), this.logger.verbose("Deleting persistent keystore"), [4, this.indexedDBCache.deleteDatabase()];
|
|
@@ -13977,9 +13975,9 @@ var Is = (
|
|
|
13977
13975
|
this.logger = e, this.asymmetricKeys = new Ko(this.logger, Sr.asymmetricKeys), this.symmetricKeys = new Ko(this.logger, Sr.symmetricKeys);
|
|
13978
13976
|
}
|
|
13979
13977
|
return n.prototype.clear = function() {
|
|
13980
|
-
return
|
|
13978
|
+
return L(this, void 0, void 0, function() {
|
|
13981
13979
|
var e;
|
|
13982
|
-
return
|
|
13980
|
+
return O(this, function(t) {
|
|
13983
13981
|
switch (t.label) {
|
|
13984
13982
|
case 0:
|
|
13985
13983
|
this.asymmetricKeys.clearInMemory(), this.symmetricKeys.clearInMemory(), t.label = 1;
|
|
@@ -14014,16 +14012,16 @@ var As = (
|
|
|
14014
14012
|
}, n.prototype.base64Decode = function(e) {
|
|
14015
14013
|
return this.b64Decode.decode(e);
|
|
14016
14014
|
}, n.prototype.generatePkceCodes = function() {
|
|
14017
|
-
return
|
|
14018
|
-
return
|
|
14015
|
+
return L(this, void 0, void 0, function() {
|
|
14016
|
+
return O(this, function(e) {
|
|
14019
14017
|
return [2, this.pkceGenerator.generateCodes()];
|
|
14020
14018
|
});
|
|
14021
14019
|
});
|
|
14022
14020
|
}, n.prototype.getPublicKeyThumbprint = function(e) {
|
|
14023
14021
|
var t;
|
|
14024
|
-
return
|
|
14022
|
+
return L(this, void 0, void 0, function() {
|
|
14025
14023
|
var r, o, i, a, s, l, p, u;
|
|
14026
|
-
return
|
|
14024
|
+
return O(this, function(m) {
|
|
14027
14025
|
switch (m.label) {
|
|
14028
14026
|
case 0:
|
|
14029
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)];
|
|
@@ -14054,9 +14052,9 @@ var As = (
|
|
|
14054
14052
|
});
|
|
14055
14053
|
});
|
|
14056
14054
|
}, n.prototype.removeTokenBindingKey = function(e) {
|
|
14057
|
-
return
|
|
14055
|
+
return L(this, void 0, void 0, function() {
|
|
14058
14056
|
var t;
|
|
14059
|
-
return
|
|
14057
|
+
return O(this, function(r) {
|
|
14060
14058
|
switch (r.label) {
|
|
14061
14059
|
case 0:
|
|
14062
14060
|
return [4, this.cache.asymmetricKeys.removeItem(e)];
|
|
@@ -14068,8 +14066,8 @@ var As = (
|
|
|
14068
14066
|
});
|
|
14069
14067
|
});
|
|
14070
14068
|
}, n.prototype.clearKeystore = function() {
|
|
14071
|
-
return
|
|
14072
|
-
return
|
|
14069
|
+
return L(this, void 0, void 0, function() {
|
|
14070
|
+
return O(this, function(e) {
|
|
14073
14071
|
switch (e.label) {
|
|
14074
14072
|
case 0:
|
|
14075
14073
|
return [4, this.cache.clear()];
|
|
@@ -14080,9 +14078,9 @@ var As = (
|
|
|
14080
14078
|
});
|
|
14081
14079
|
}, n.prototype.signJwt = function(e, t, r) {
|
|
14082
14080
|
var o;
|
|
14083
|
-
return
|
|
14081
|
+
return L(this, void 0, void 0, function() {
|
|
14084
14082
|
var i, a, s, l, p, u, m, f, k, E, R, q, K;
|
|
14085
|
-
return
|
|
14083
|
+
return O(this, function(z) {
|
|
14086
14084
|
switch (z.label) {
|
|
14087
14085
|
case 0:
|
|
14088
14086
|
return i = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(A.CryptoOptsSignJwt, r), [4, this.cache.asymmetricKeys.getItem(t)];
|
|
@@ -14102,9 +14100,9 @@ var As = (
|
|
|
14102
14100
|
});
|
|
14103
14101
|
});
|
|
14104
14102
|
}, n.prototype.hashString = function(e) {
|
|
14105
|
-
return
|
|
14103
|
+
return L(this, void 0, void 0, function() {
|
|
14106
14104
|
var t, r;
|
|
14107
|
-
return
|
|
14105
|
+
return O(this, function(o) {
|
|
14108
14106
|
switch (o.label) {
|
|
14109
14107
|
case 0:
|
|
14110
14108
|
return [4, this.browserCrypto.sha256Digest(e)];
|
|
@@ -14185,14 +14183,14 @@ var Rs = (
|
|
|
14185
14183
|
}, e.prototype.deleteIncompleteSubMeasurements = function(t) {
|
|
14186
14184
|
var r = this.eventsByCorrelationId.get(t.event.correlationId), o = r && r.eventId === t.event.eventId, i = [];
|
|
14187
14185
|
o && (r != null && r.incompleteSubMeasurements) && r.incompleteSubMeasurements.forEach(function(a) {
|
|
14188
|
-
i.push(
|
|
14186
|
+
i.push(W({}, a));
|
|
14189
14187
|
}), i.length > 0 && Go.flushMeasurements(t.event.correlationId, i);
|
|
14190
14188
|
}, e.prototype.supportsBrowserPerformanceNow = function() {
|
|
14191
14189
|
return typeof window < "u" && typeof window.performance < "u" && typeof window.performance.now == "function";
|
|
14192
14190
|
}, e.prototype.startMeasurement = function(t, r) {
|
|
14193
14191
|
var o = this, i = this.getPageVisibility(), a = n.prototype.startMeasurement.call(this, t, r);
|
|
14194
|
-
return
|
|
14195
|
-
var l = a.endMeasurement(
|
|
14192
|
+
return W(W({}, a), { endMeasurement: function(s) {
|
|
14193
|
+
var l = a.endMeasurement(W({ startPageVisibility: i, endPageVisibility: o.getPageVisibility() }, s));
|
|
14196
14194
|
return o.deleteIncompleteSubMeasurements(a), l;
|
|
14197
14195
|
}, discardMeasurement: function() {
|
|
14198
14196
|
a.discardMeasurement(), o.deleteIncompleteSubMeasurements(a), a.measurement.flushMeasurement();
|
|
@@ -14238,7 +14236,7 @@ var Ps = (
|
|
|
14238
14236
|
var o = new Qt(t.id_token, this.cryptoObj), i, a;
|
|
14239
14237
|
if (e.account) {
|
|
14240
14238
|
var s = this.loadAccount(o, e.account.environment, void 0, void 0, e.account.homeAccountId);
|
|
14241
|
-
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));
|
|
14242
14240
|
} else if (e.authority) {
|
|
14243
14241
|
var l = tr.generateAuthority(e.authority, e.azureCloudOptions), p = {
|
|
14244
14242
|
protocolMode: this.config.auth.protocolMode,
|
|
@@ -14250,11 +14248,11 @@ var Ps = (
|
|
|
14250
14248
|
if (a = new tr(l, this.config.system.networkClient, this.storage, p, this.logger), r.clientInfo) {
|
|
14251
14249
|
this.logger.trace("TokenCache - homeAccountId from options");
|
|
14252
14250
|
var s = this.loadAccount(o, a.hostnameAndPort, r.clientInfo, a.authorityType);
|
|
14253
|
-
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));
|
|
14254
14252
|
} else if (t.client_info) {
|
|
14255
14253
|
this.logger.trace("TokenCache - homeAccountId from response");
|
|
14256
14254
|
var s = this.loadAccount(o, a.hostnameAndPort, t.client_info, a.authorityType);
|
|
14257
|
-
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));
|
|
14258
14256
|
} else
|
|
14259
14257
|
throw F.createUnableToLoadTokenError("Please provide clientInfo in the response or options.");
|
|
14260
14258
|
} else
|
|
@@ -14280,7 +14278,7 @@ var Ps = (
|
|
|
14280
14278
|
throw F.createUnableToLoadTokenError("Please ensure server response includes expires_in value.");
|
|
14281
14279
|
if (!a.extendedExpiresOn)
|
|
14282
14280
|
throw F.createUnableToLoadTokenError("Please provide an extendedExpiresOn value in the options.");
|
|
14283
|
-
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);
|
|
14284
14282
|
if (this.isBrowserEnvironment)
|
|
14285
14283
|
return this.logger.verbose("TokenCache - loading access token"), this.storage.setAccessTokenCredential(u), u;
|
|
14286
14284
|
throw F.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.");
|
|
@@ -14293,7 +14291,7 @@ var Ps = (
|
|
|
14293
14291
|
throw F.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.");
|
|
14294
14292
|
}, n.prototype.generateAuthenticationResult = function(e, t, r, o) {
|
|
14295
14293
|
var i, a, s, l = w.EMPTY_STRING, p = [], u = null, m;
|
|
14296
|
-
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));
|
|
14297
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;
|
|
14298
14296
|
return {
|
|
14299
14297
|
authority: o ? o.canonicalAuthority : w.EMPTY_STRING,
|
|
@@ -14342,18 +14340,18 @@ var Ns = (
|
|
|
14342
14340
|
return f.apiId = l, f;
|
|
14343
14341
|
}
|
|
14344
14342
|
return e.prototype.acquireToken = function(t) {
|
|
14345
|
-
return
|
|
14343
|
+
return L(this, void 0, void 0, function() {
|
|
14346
14344
|
var r, o, i, a, s, l, p;
|
|
14347
|
-
return
|
|
14345
|
+
return O(this, function(u) {
|
|
14348
14346
|
switch (u.label) {
|
|
14349
14347
|
case 0:
|
|
14350
14348
|
if (this.logger.trace("SilentAuthCodeClient.acquireToken called"), !t.code)
|
|
14351
14349
|
throw F.createAuthCodeRequiredError();
|
|
14352
|
-
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)];
|
|
14353
14351
|
case 1:
|
|
14354
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;
|
|
14355
14353
|
case 2:
|
|
14356
|
-
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)];
|
|
14357
14355
|
case 3:
|
|
14358
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({
|
|
14359
14357
|
code: t.code,
|
|
@@ -14377,14 +14375,14 @@ var Ns = (
|
|
|
14377
14375
|
}(jn)
|
|
14378
14376
|
);
|
|
14379
14377
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14380
|
-
var
|
|
14378
|
+
var Ls = (
|
|
14381
14379
|
/** @class */
|
|
14382
14380
|
function() {
|
|
14383
14381
|
function n(e) {
|
|
14384
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);
|
|
14385
14383
|
var t = {
|
|
14386
|
-
cacheLocation:
|
|
14387
|
-
temporaryCacheLocation:
|
|
14384
|
+
cacheLocation: Oe.MemoryStorage,
|
|
14385
|
+
temporaryCacheLocation: Oe.MemoryStorage,
|
|
14388
14386
|
storeAuthStateInCookie: !1,
|
|
14389
14387
|
secureCookies: !1,
|
|
14390
14388
|
cacheMigrationEnabled: !1,
|
|
@@ -14393,9 +14391,9 @@ var Os = (
|
|
|
14393
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);
|
|
14394
14392
|
}
|
|
14395
14393
|
return n.prototype.initialize = function() {
|
|
14396
|
-
return
|
|
14394
|
+
return L(this, void 0, void 0, function() {
|
|
14397
14395
|
var e, t, r, o, i;
|
|
14398
|
-
return
|
|
14396
|
+
return O(this, function(a) {
|
|
14399
14397
|
switch (a.label) {
|
|
14400
14398
|
case 0:
|
|
14401
14399
|
if (this.logger.trace("initialize called"), this.initialized)
|
|
@@ -14424,25 +14422,25 @@ var Os = (
|
|
|
14424
14422
|
});
|
|
14425
14423
|
});
|
|
14426
14424
|
}, n.prototype.handleRedirectPromise = function(e) {
|
|
14427
|
-
return
|
|
14425
|
+
return L(this, void 0, void 0, function() {
|
|
14428
14426
|
var t, r, o, i, a, s, l, p, u = this;
|
|
14429
|
-
return
|
|
14430
|
-
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) {
|
|
14431
14429
|
if (f) {
|
|
14432
14430
|
var k = t.length < u.getAllAccounts().length;
|
|
14433
|
-
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"));
|
|
14434
14432
|
}
|
|
14435
|
-
return u.eventHandler.emitEvent(ne.HANDLE_REDIRECT_END,
|
|
14433
|
+
return u.eventHandler.emitEvent(ne.HANDLE_REDIRECT_END, Y.Redirect), f;
|
|
14436
14434
|
}).catch(function(f) {
|
|
14437
|
-
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;
|
|
14438
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]);
|
|
14439
14437
|
});
|
|
14440
14438
|
});
|
|
14441
14439
|
}, n.prototype.acquireTokenRedirect = function(e) {
|
|
14442
|
-
return
|
|
14440
|
+
return L(this, void 0, void 0, function() {
|
|
14443
14441
|
var t, r, o, i, a, s = this;
|
|
14444
|
-
return
|
|
14445
|
-
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) {
|
|
14446
14444
|
if (p instanceof Vt && p.isFatal()) {
|
|
14447
14445
|
s.nativeExtensionProvider = void 0;
|
|
14448
14446
|
var u = s.createRedirectClient(e.correlationId);
|
|
@@ -14454,19 +14452,19 @@ var Os = (
|
|
|
14454
14452
|
}
|
|
14455
14453
|
throw s.browserStorage.setInteractionInProgress(!1), p;
|
|
14456
14454
|
})) : (a = this.createRedirectClient(e.correlationId), o = a.acquireToken(e)), [2, o.catch(function(p) {
|
|
14457
|
-
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;
|
|
14458
14456
|
})];
|
|
14459
14457
|
});
|
|
14460
14458
|
});
|
|
14461
14459
|
}, n.prototype.acquireTokenPopup = function(e) {
|
|
14462
14460
|
var t = this, r = this.getRequestCorrelationId(e), o = this.performanceClient.startMeasurement(A.AcquireTokenPopup, r);
|
|
14463
14461
|
try {
|
|
14464
|
-
this.logger.verbose("acquireTokenPopup called", r), this.preflightBrowserEnvironmentCheck(
|
|
14462
|
+
this.logger.verbose("acquireTokenPopup called", r), this.preflightBrowserEnvironmentCheck(Y.Popup);
|
|
14465
14463
|
} catch (l) {
|
|
14466
14464
|
return Promise.reject(l);
|
|
14467
14465
|
}
|
|
14468
14466
|
var i = this.getAllAccounts();
|
|
14469
|
-
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);
|
|
14470
14468
|
var a;
|
|
14471
14469
|
if (this.canUseNative(e))
|
|
14472
14470
|
a = this.acquireTokenNative(e, Ce.acquireTokenPopup).then(function(l) {
|
|
@@ -14493,7 +14491,7 @@ var Os = (
|
|
|
14493
14491
|
}
|
|
14494
14492
|
return a.then(function(l) {
|
|
14495
14493
|
var p = i.length < t.getAllAccounts().length;
|
|
14496
|
-
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({
|
|
14497
14495
|
accessTokenSize: l.accessToken.length,
|
|
14498
14496
|
idTokenSize: l.idToken.length
|
|
14499
14497
|
}), o.endMeasurement({
|
|
@@ -14501,7 +14499,7 @@ var Os = (
|
|
|
14501
14499
|
requestId: l.requestId
|
|
14502
14500
|
}), l;
|
|
14503
14501
|
}).catch(function(l) {
|
|
14504
|
-
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({
|
|
14505
14503
|
errorCode: l.errorCode,
|
|
14506
14504
|
subErrorCode: l.subError,
|
|
14507
14505
|
success: !1
|
|
@@ -14514,16 +14512,16 @@ var Os = (
|
|
|
14514
14512
|
}));
|
|
14515
14513
|
}, n.prototype.ssoSilent = function(e) {
|
|
14516
14514
|
var t;
|
|
14517
|
-
return
|
|
14515
|
+
return L(this, void 0, void 0, function() {
|
|
14518
14516
|
var r, o, i, a, s = this;
|
|
14519
|
-
return
|
|
14520
|
-
return r = this.getRequestCorrelationId(e), o =
|
|
14517
|
+
return O(this, function(l) {
|
|
14518
|
+
return r = this.getRequestCorrelationId(e), o = W(W({}, e), {
|
|
14521
14519
|
// will be PromptValue.NONE or PromptValue.NO_SESSION
|
|
14522
14520
|
prompt: e.prompt,
|
|
14523
14521
|
correlationId: r
|
|
14524
|
-
}), this.preflightBrowserEnvironmentCheck(
|
|
14522
|
+
}), this.preflightBrowserEnvironmentCheck(Y.Silent), this.ssoSilentMeasurement = this.performanceClient.startMeasurement(A.SsoSilent, r), (t = this.ssoSilentMeasurement) === null || t === void 0 || t.increment({
|
|
14525
14523
|
visibilityChangeCount: 0
|
|
14526
|
-
}), 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) {
|
|
14527
14525
|
if (p instanceof Vt && p.isFatal()) {
|
|
14528
14526
|
s.nativeExtensionProvider = void 0;
|
|
14529
14527
|
var u = s.createSilentIframeClient(o.correlationId);
|
|
@@ -14532,7 +14530,7 @@ var Os = (
|
|
|
14532
14530
|
throw p;
|
|
14533
14531
|
}) : (a = this.createSilentIframeClient(o.correlationId), i = a.acquireToken(o)), [2, i.then(function(p) {
|
|
14534
14532
|
var u, m;
|
|
14535
|
-
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({
|
|
14536
14534
|
accessTokenSize: p.accessToken.length,
|
|
14537
14535
|
idTokenSize: p.idToken.length
|
|
14538
14536
|
}), (m = s.ssoSilentMeasurement) === null || m === void 0 || m.endMeasurement({
|
|
@@ -14542,7 +14540,7 @@ var Os = (
|
|
|
14542
14540
|
}), p;
|
|
14543
14541
|
}).catch(function(p) {
|
|
14544
14542
|
var u;
|
|
14545
|
-
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({
|
|
14546
14544
|
errorCode: p.errorCode,
|
|
14547
14545
|
subErrorCode: p.subError,
|
|
14548
14546
|
success: !1
|
|
@@ -14553,16 +14551,16 @@ var Os = (
|
|
|
14553
14551
|
});
|
|
14554
14552
|
});
|
|
14555
14553
|
}, n.prototype.acquireTokenByCode = function(e) {
|
|
14556
|
-
return
|
|
14554
|
+
return L(this, void 0, void 0, function() {
|
|
14557
14555
|
var t, r, o, i, a = this;
|
|
14558
|
-
return
|
|
14559
|
-
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);
|
|
14560
14558
|
try {
|
|
14561
14559
|
if (e.code && e.nativeAccountId)
|
|
14562
14560
|
throw F.createSpaCodeAndNativeAccountIdPresentError();
|
|
14563
14561
|
if (e.code)
|
|
14564
|
-
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(
|
|
14565
|
-
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({
|
|
14566
14564
|
accessTokenSize: l.accessToken.length,
|
|
14567
14565
|
idTokenSize: l.idToken.length
|
|
14568
14566
|
}), r.endMeasurement({
|
|
@@ -14571,7 +14569,7 @@ var Os = (
|
|
|
14571
14569
|
requestId: l.requestId
|
|
14572
14570
|
}), l;
|
|
14573
14571
|
}).catch(function(l) {
|
|
14574
|
-
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({
|
|
14575
14573
|
errorCode: l.errorCode,
|
|
14576
14574
|
subErrorCode: l.subError,
|
|
14577
14575
|
success: !1
|
|
@@ -14586,7 +14584,7 @@ var Os = (
|
|
|
14586
14584
|
} else
|
|
14587
14585
|
throw F.createAuthCodeOrNativeAccountIdRequiredError();
|
|
14588
14586
|
} catch (l) {
|
|
14589
|
-
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({
|
|
14590
14588
|
errorCode: l instanceof X && l.errorCode || void 0,
|
|
14591
14589
|
subErrorCode: l instanceof X && l.subError || void 0,
|
|
14592
14590
|
success: !1
|
|
@@ -14600,9 +14598,9 @@ var Os = (
|
|
|
14600
14598
|
});
|
|
14601
14599
|
}, n.prototype.acquireTokenByCodeAsync = function(e) {
|
|
14602
14600
|
var t;
|
|
14603
|
-
return
|
|
14601
|
+
return L(this, void 0, void 0, function() {
|
|
14604
14602
|
var r, o, i = this;
|
|
14605
|
-
return
|
|
14603
|
+
return O(this, function(a) {
|
|
14606
14604
|
switch (a.label) {
|
|
14607
14605
|
case 0:
|
|
14608
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({
|
|
@@ -14631,8 +14629,8 @@ var Os = (
|
|
|
14631
14629
|
});
|
|
14632
14630
|
});
|
|
14633
14631
|
}, n.prototype.acquireTokenFromCache = function(e, t, r) {
|
|
14634
|
-
return
|
|
14635
|
-
return
|
|
14632
|
+
return L(this, void 0, void 0, function() {
|
|
14633
|
+
return O(this, function(o) {
|
|
14636
14634
|
switch (this.performanceClient.addQueueMeasurement(A.AcquireTokenFromCache, t.correlationId), r.cacheLookupPolicy) {
|
|
14637
14635
|
case at.Default:
|
|
14638
14636
|
case at.AccessToken:
|
|
@@ -14648,9 +14646,9 @@ var Os = (
|
|
|
14648
14646
|
});
|
|
14649
14647
|
});
|
|
14650
14648
|
}, n.prototype.acquireTokenByRefreshToken = function(e, t) {
|
|
14651
|
-
return
|
|
14649
|
+
return L(this, void 0, void 0, function() {
|
|
14652
14650
|
var r;
|
|
14653
|
-
return
|
|
14651
|
+
return O(this, function(o) {
|
|
14654
14652
|
switch (this.performanceClient.addQueueMeasurement(A.AcquireTokenByRefreshToken, e.correlationId), t.cacheLookupPolicy) {
|
|
14655
14653
|
case at.Default:
|
|
14656
14654
|
case at.AccessTokenAndRefreshToken:
|
|
@@ -14667,30 +14665,30 @@ var Os = (
|
|
|
14667
14665
|
});
|
|
14668
14666
|
});
|
|
14669
14667
|
}, n.prototype.acquireTokenBySilentIframe = function(e) {
|
|
14670
|
-
return
|
|
14668
|
+
return L(this, void 0, void 0, function() {
|
|
14671
14669
|
var t;
|
|
14672
|
-
return
|
|
14670
|
+
return O(this, function(r) {
|
|
14673
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)];
|
|
14674
14672
|
});
|
|
14675
14673
|
});
|
|
14676
14674
|
}, n.prototype.logout = function(e) {
|
|
14677
|
-
return
|
|
14675
|
+
return L(this, void 0, void 0, function() {
|
|
14678
14676
|
var t;
|
|
14679
|
-
return
|
|
14680
|
-
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))];
|
|
14681
14679
|
});
|
|
14682
14680
|
});
|
|
14683
14681
|
}, n.prototype.logoutRedirect = function(e) {
|
|
14684
|
-
return
|
|
14682
|
+
return L(this, void 0, void 0, function() {
|
|
14685
14683
|
var t, r;
|
|
14686
|
-
return
|
|
14687
|
-
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)];
|
|
14688
14686
|
});
|
|
14689
14687
|
});
|
|
14690
14688
|
}, n.prototype.logoutPopup = function(e) {
|
|
14691
14689
|
try {
|
|
14692
14690
|
var t = this.getRequestCorrelationId(e);
|
|
14693
|
-
this.preflightBrowserEnvironmentCheck(
|
|
14691
|
+
this.preflightBrowserEnvironmentCheck(Y.Popup);
|
|
14694
14692
|
var r = this.createPopupClient(t);
|
|
14695
14693
|
return r.logout(e);
|
|
14696
14694
|
} catch (o) {
|
|
@@ -14718,15 +14716,15 @@ var Os = (
|
|
|
14718
14716
|
}, n.prototype.getActiveAccount = function() {
|
|
14719
14717
|
return this.browserStorage.getActiveAccount();
|
|
14720
14718
|
}, n.prototype.preflightBrowserEnvironmentCheck = function(e, t) {
|
|
14721
|
-
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)
|
|
14722
14720
|
throw Tr.createInMemoryRedirectUnavailableError();
|
|
14723
|
-
(e ===
|
|
14721
|
+
(e === Y.Redirect || e === Y.Popup) && this.preflightInteractiveRequest(t);
|
|
14724
14722
|
}, n.prototype.preflightInteractiveRequest = function(e) {
|
|
14725
14723
|
this.logger.verbose("preflightInteractiveRequest called, validating app environment"), Ae.blockReloadInHiddenIframes(), e && this.browserStorage.setInteractionInProgress(!0);
|
|
14726
14724
|
}, n.prototype.acquireTokenNative = function(e, t, r) {
|
|
14727
|
-
return
|
|
14725
|
+
return L(this, void 0, void 0, function() {
|
|
14728
14726
|
var o;
|
|
14729
|
-
return
|
|
14727
|
+
return O(this, function(i) {
|
|
14730
14728
|
if (this.logger.trace("acquireTokenNative called"), !this.nativeExtensionProvider)
|
|
14731
14729
|
throw F.createNativeConnectionNotEstablishedError();
|
|
14732
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)];
|
|
@@ -14791,7 +14789,7 @@ var Os = (
|
|
|
14791
14789
|
}()
|
|
14792
14790
|
);
|
|
14793
14791
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14794
|
-
var
|
|
14792
|
+
var Os = (
|
|
14795
14793
|
/** @class */
|
|
14796
14794
|
function(n) {
|
|
14797
14795
|
Qe(e, n);
|
|
@@ -14800,22 +14798,22 @@ var Ls = (
|
|
|
14800
14798
|
return r.astsAsyncMeasurement = void 0, r.activeSilentTokenRequests = /* @__PURE__ */ new Map(), r.trackPageVisibility = r.trackPageVisibility.bind(r), r;
|
|
14801
14799
|
}
|
|
14802
14800
|
return e.prototype.loginRedirect = function(t) {
|
|
14803
|
-
return
|
|
14801
|
+
return L(this, void 0, void 0, function() {
|
|
14804
14802
|
var r;
|
|
14805
|
-
return
|
|
14806
|
-
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))];
|
|
14807
14805
|
});
|
|
14808
14806
|
});
|
|
14809
14807
|
}, e.prototype.loginPopup = function(t) {
|
|
14810
14808
|
var r = this.getRequestCorrelationId(t);
|
|
14811
|
-
return this.logger.verbose("loginPopup called", r), this.acquireTokenPopup(
|
|
14809
|
+
return this.logger.verbose("loginPopup called", r), this.acquireTokenPopup(W({ correlationId: r }, t || Do));
|
|
14812
14810
|
}, e.prototype.acquireTokenSilent = function(t) {
|
|
14813
|
-
return
|
|
14811
|
+
return L(this, void 0, void 0, function() {
|
|
14814
14812
|
var r, o, i, a, s, l, p, u = this;
|
|
14815
|
-
return
|
|
14813
|
+
return O(this, function(m) {
|
|
14816
14814
|
if (r = this.getRequestCorrelationId(t), o = this.performanceClient.startMeasurement(A.AcquireTokenSilent, r), o.addStaticFields({
|
|
14817
14815
|
cacheLookupPolicy: t.cacheLookupPolicy
|
|
14818
|
-
}), this.preflightBrowserEnvironmentCheck(
|
|
14816
|
+
}), this.preflightBrowserEnvironmentCheck(Y.Silent), this.logger.verbose("acquireTokenSilent called", r), i = t.account || this.getActiveAccount(), !i)
|
|
14819
14817
|
throw F.createNoAccountError();
|
|
14820
14818
|
return a = {
|
|
14821
14819
|
clientId: this.config.auth.clientId,
|
|
@@ -14828,7 +14826,7 @@ var Ls = (
|
|
|
14828
14826
|
resourceRequestUri: t.resourceRequestUri,
|
|
14829
14827
|
shrClaims: t.shrClaims,
|
|
14830
14828
|
sshKid: t.sshKid
|
|
14831
|
-
}, 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) {
|
|
14832
14830
|
return u.activeSilentTokenRequests.delete(s), o.addStaticFields({
|
|
14833
14831
|
accessTokenSize: f.accessToken.length,
|
|
14834
14832
|
idTokenSize: f.idToken.length
|
|
@@ -14854,17 +14852,17 @@ var Ls = (
|
|
|
14854
14852
|
}));
|
|
14855
14853
|
}, e.prototype.acquireTokenSilentAsync = function(t, r) {
|
|
14856
14854
|
var o;
|
|
14857
|
-
return
|
|
14855
|
+
return L(this, void 0, void 0, function() {
|
|
14858
14856
|
var i, a, s, l, p, u = this;
|
|
14859
|
-
return
|
|
14857
|
+
return O(this, function(m) {
|
|
14860
14858
|
switch (m.label) {
|
|
14861
14859
|
case 0:
|
|
14862
|
-
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({
|
|
14863
14861
|
visibilityChangeCount: 0
|
|
14864
|
-
}), 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 =
|
|
14865
|
-
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() {
|
|
14866
14864
|
var k;
|
|
14867
|
-
return
|
|
14865
|
+
return O(this, function(E) {
|
|
14868
14866
|
if (f instanceof Vt && f.isFatal())
|
|
14869
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)];
|
|
14870
14868
|
throw f;
|
|
@@ -14874,14 +14872,14 @@ var Ls = (
|
|
|
14874
14872
|
case 1:
|
|
14875
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)];
|
|
14876
14874
|
case 2:
|
|
14877
|
-
l = m.sent(), p =
|
|
14875
|
+
l = m.sent(), p = W(W({}, t), {
|
|
14878
14876
|
// set the request's CacheLookupPolicy to Default if it was not optionally passed in
|
|
14879
14877
|
cacheLookupPolicy: t.cacheLookupPolicy || at.Default
|
|
14880
14878
|
}), this.performanceClient.setPreQueueTime(A.AcquireTokenFromCache, l.correlationId), i = this.acquireTokenFromCache(s, l, p).catch(function(f) {
|
|
14881
14879
|
if (p.cacheLookupPolicy === at.AccessToken)
|
|
14882
14880
|
throw f;
|
|
14883
|
-
return Ae.blockReloadInHiddenIframes(), u.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_NETWORK_START,
|
|
14884
|
-
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;
|
|
14885
14883
|
if ((!E || !K || R || p.cacheLookupPolicy === at.AccessTokenAndRefreshToken || p.cacheLookupPolicy === at.RefreshToken) && p.cacheLookupPolicy !== at.Skip && !q)
|
|
14886
14884
|
throw k;
|
|
14887
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);
|
|
@@ -14890,7 +14888,7 @@ var Ls = (
|
|
|
14890
14888
|
case 3:
|
|
14891
14889
|
return [2, i.then(function(f) {
|
|
14892
14890
|
var k;
|
|
14893
|
-
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({
|
|
14894
14892
|
success: !0,
|
|
14895
14893
|
fromCache: f.fromCache,
|
|
14896
14894
|
isNativeBroker: f.fromNativeBroker,
|
|
@@ -14898,7 +14896,7 @@ var Ls = (
|
|
|
14898
14896
|
}), f;
|
|
14899
14897
|
}).catch(function(f) {
|
|
14900
14898
|
var k;
|
|
14901
|
-
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({
|
|
14902
14900
|
errorCode: f.errorCode,
|
|
14903
14901
|
subErrorCode: f.subError,
|
|
14904
14902
|
success: !1
|
|
@@ -14910,7 +14908,7 @@ var Ls = (
|
|
|
14910
14908
|
});
|
|
14911
14909
|
});
|
|
14912
14910
|
}, e;
|
|
14913
|
-
}(
|
|
14911
|
+
}(Ls)
|
|
14914
14912
|
);
|
|
14915
14913
|
class zs extends Bi {
|
|
14916
14914
|
async login(e) {
|
|
@@ -14942,7 +14940,7 @@ class zs extends Bi {
|
|
|
14942
14940
|
cacheLocation: "localStorage"
|
|
14943
14941
|
}
|
|
14944
14942
|
};
|
|
14945
|
-
return new
|
|
14943
|
+
return new Os(i);
|
|
14946
14944
|
}
|
|
14947
14945
|
getCurrentUrl() {
|
|
14948
14946
|
return window.location.href.split(/[?#]/)[0];
|
|
@@ -14998,7 +14996,7 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
14998
14996
|
tt.microsoftSDK(r, this.$storex)
|
|
14999
14997
|
);
|
|
15000
14998
|
if (i)
|
|
15001
|
-
return this.microsoftLoad = !1, this.microsoftSSOLoad = !1,
|
|
14999
|
+
return this.microsoftLoad = !1, this.microsoftSSOLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(i);
|
|
15002
15000
|
if (a.data.success) {
|
|
15003
15001
|
if (this.display === "popup")
|
|
15004
15002
|
return (o = window.parent) == null ? void 0 : o.postMessage(
|
|
@@ -15010,7 +15008,7 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15010
15008
|
}, 1e3);
|
|
15011
15009
|
} else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
|
|
15012
15010
|
} else
|
|
15013
|
-
this.microsoftLoad = !1, this.microsoftSSOLoad = !1,
|
|
15011
|
+
this.microsoftLoad = !1, this.microsoftSSOLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
15014
15012
|
}
|
|
15015
15013
|
}
|
|
15016
15014
|
}, Bn = {
|
|
@@ -15164,12 +15162,12 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15164
15162
|
localStorage.removeItem("pkce_code_verifier");
|
|
15165
15163
|
let r = { accessToken: (o = t.data) == null ? void 0 : o.access_token, domain: n.domain };
|
|
15166
15164
|
if (this.display === "popup" && (r.response_type = "code"), [e, t] = await ve(tt.oktaSDK(r, this.$storex)), e)
|
|
15167
|
-
return this.oktaLoad = !1,
|
|
15165
|
+
return this.oktaLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(e);
|
|
15168
15166
|
if (t.data.success) {
|
|
15169
15167
|
if (this.display === "popup")
|
|
15170
15168
|
return (i = window.parent) == null ? void 0 : i.postMessage({ code: t.data.auth_code, state: this.$route.query.state }, "*");
|
|
15171
15169
|
await this.loginSetup(t), await this.getLoggedInAccounts(), this.$router.push("/" + t.data.data.username + "#edit"), setTimeout(() => {
|
|
15172
|
-
this.appleLoad = !1,
|
|
15170
|
+
this.appleLoad = !1, $.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
15173
15171
|
}, 1e3);
|
|
15174
15172
|
} else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
|
|
15175
15173
|
},
|
|
@@ -15192,7 +15190,7 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15192
15190
|
const a = new URLSearchParams(e);
|
|
15193
15191
|
t = a.get("client_id"), r = a.get("domain"), o = a.get("platform");
|
|
15194
15192
|
}
|
|
15195
|
-
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 }));
|
|
15196
15194
|
}
|
|
15197
15195
|
}
|
|
15198
15196
|
}, Nr = {
|
|
@@ -15252,11 +15250,11 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15252
15250
|
if (this.$route.query.code && (n = this.$route.query.code), window.opener)
|
|
15253
15251
|
window.opener.postMessage({ type: "saml", code: n }, "*"), this.closeWindow();
|
|
15254
15252
|
else {
|
|
15255
|
-
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")) {
|
|
15256
15254
|
let t = "https://auth.tapni.com/callback/auth";
|
|
15257
15255
|
return this.realm === "dashboard" && (t = "https://business.tapni.com/login"), location.href = t + "?code=" + n + "&code_verifier=" + localStorage.getItem("pkce_code_verifier");
|
|
15258
15256
|
}
|
|
15259
|
-
|
|
15257
|
+
$.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
15260
15258
|
}
|
|
15261
15259
|
}
|
|
15262
15260
|
}
|
|
@@ -15299,7 +15297,7 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15299
15297
|
},
|
|
15300
15298
|
refreshQrCode() {
|
|
15301
15299
|
var n, e;
|
|
15302
|
-
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({
|
|
15303
15301
|
width: 300,
|
|
15304
15302
|
height: 300,
|
|
15305
15303
|
type: "png",
|
|
@@ -15378,10 +15376,10 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15378
15376
|
if (this.$route.path === "/login/callback/okta") return await this.handleOktaRedirect();
|
|
15379
15377
|
if (this.$route.path === "/login/callback/saml") return await this.handleSamlRedirect();
|
|
15380
15378
|
this.$route.query.qrLogin && this.changeLoginToQr(), setTimeout(() => {
|
|
15381
|
-
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 });
|
|
15382
15380
|
}, 2500);
|
|
15383
15381
|
}
|
|
15384
|
-
|
|
15382
|
+
$.$on("toggleOTPField", () => {
|
|
15385
15383
|
this.showOTP = !this.showOTP;
|
|
15386
15384
|
});
|
|
15387
15385
|
},
|
|
@@ -15414,10 +15412,10 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15414
15412
|
t && console.error(t), this.submitted = !1, r === !0 && (this.emailOrUsername = "", this.password = "");
|
|
15415
15413
|
},
|
|
15416
15414
|
close() {
|
|
15417
|
-
|
|
15415
|
+
$.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
|
|
15418
15416
|
},
|
|
15419
15417
|
createAccountModal() {
|
|
15420
|
-
|
|
15418
|
+
$.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: {} });
|
|
15421
15419
|
}
|
|
15422
15420
|
},
|
|
15423
15421
|
watch: {
|
|
@@ -15438,13 +15436,13 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15438
15436
|
}, Vs = ["type", "placeholder"], Qs = {
|
|
15439
15437
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
15440
15438
|
class: "responsive-image password-reveal-icon"
|
|
15441
|
-
},
|
|
15439
|
+
}, $s = {
|
|
15442
15440
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
15443
15441
|
class: "responsive-image password-reveal-icon"
|
|
15444
|
-
},
|
|
15442
|
+
}, Ys = {
|
|
15445
15443
|
key: 1,
|
|
15446
15444
|
class: "page-login-field half-bottom"
|
|
15447
|
-
},
|
|
15445
|
+
}, Ws = ["placeholder"], Js = {
|
|
15448
15446
|
type: "submit",
|
|
15449
15447
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
15450
15448
|
}, Xs = { key: 0 }, Zs = {
|
|
@@ -15548,12 +15546,12 @@ function gc(n, e, t, r, o, i) {
|
|
|
15548
15546
|
me(_("img", Qs, null, 512), [
|
|
15549
15547
|
[Ct, !o.revealPassword]
|
|
15550
15548
|
]),
|
|
15551
|
-
me(_("img",
|
|
15549
|
+
me(_("img", $s, null, 512), [
|
|
15552
15550
|
[Ct, o.revealPassword]
|
|
15553
15551
|
])
|
|
15554
15552
|
])
|
|
15555
15553
|
])),
|
|
15556
|
-
o.showOTP ? (N(), x("div",
|
|
15554
|
+
o.showOTP ? (N(), x("div", Ys, [
|
|
15557
15555
|
e[20] || (e[20] = _("i", { style: { "padding-top": "15px" } }, [
|
|
15558
15556
|
_("img", {
|
|
15559
15557
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
@@ -15568,12 +15566,12 @@ function gc(n, e, t, r, o, i) {
|
|
|
15568
15566
|
name: "otpToken",
|
|
15569
15567
|
required: "",
|
|
15570
15568
|
minlength: "6"
|
|
15571
|
-
}, null, 8,
|
|
15569
|
+
}, null, 8, Ws), [
|
|
15572
15570
|
[kt, o.otpToken]
|
|
15573
15571
|
]),
|
|
15574
15572
|
e[21] || (e[21] = _("em", null, null, -1))
|
|
15575
15573
|
])) : ce("", !0),
|
|
15576
|
-
_("button",
|
|
15574
|
+
_("button", Js, [
|
|
15577
15575
|
o.submitted ? (N(), x("span", Zs)) : (N(), x("span", Xs, D(n.ssoLang[n.appLanguage].login), 1))
|
|
15578
15576
|
])
|
|
15579
15577
|
])) : ce("", !0),
|
|
@@ -15744,7 +15742,7 @@ const go = /* @__PURE__ */ _t(Bs, [["render", gc]]), mc = /* @__PURE__ */ Object
|
|
|
15744
15742
|
console.log("switch", n);
|
|
15745
15743
|
},
|
|
15746
15744
|
toggleLanguageModal() {
|
|
15747
|
-
|
|
15745
|
+
$.$emit("toggleSSOLanguageModal");
|
|
15748
15746
|
},
|
|
15749
15747
|
logoutAccount() {
|
|
15750
15748
|
this.logout({ refreshToken: this.refreshTokens[0], sendRequest: !0 });
|
|
@@ -15754,11 +15752,11 @@ const go = /* @__PURE__ */ _t(Bs, [["render", gc]]), mc = /* @__PURE__ */ Object
|
|
|
15754
15752
|
class: "page-login content-boxed content-boxed-padding center-text",
|
|
15755
15753
|
style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
|
|
15756
15754
|
}, yc = { class: "bold full-top no-bottom center-text" }, wc = { class: "full-bottom half-top center-text font-16" };
|
|
15757
|
-
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 = {
|
|
15758
15756
|
class: "app-version",
|
|
15759
15757
|
style: { "margin-top": "10px" }
|
|
15760
15758
|
};
|
|
15761
|
-
function
|
|
15759
|
+
function Oc(n, e, t, r, o, i) {
|
|
15762
15760
|
const a = fn("router-link");
|
|
15763
15761
|
return N(), x("div", vc, [
|
|
15764
15762
|
e[9] || (e[9] = _("br", null, null, -1)),
|
|
@@ -15822,13 +15820,13 @@ function Lc(n, e, t, r, o, i) {
|
|
|
15822
15820
|
])
|
|
15823
15821
|
]),
|
|
15824
15822
|
_("div", Nc, [
|
|
15825
|
-
_("p",
|
|
15823
|
+
_("p", Lc, D(n.ssoLang[n.appLanguage].version) + ": " + D(i.appVersion), 1),
|
|
15826
15824
|
ce("", !0)
|
|
15827
15825
|
])
|
|
15828
15826
|
])
|
|
15829
15827
|
]);
|
|
15830
15828
|
}
|
|
15831
|
-
const mo = /* @__PURE__ */ _t(_c, [["render",
|
|
15829
|
+
const mo = /* @__PURE__ */ _t(_c, [["render", Oc]]), zc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15832
15830
|
__proto__: null,
|
|
15833
15831
|
default: mo
|
|
15834
15832
|
}, Symbol.toStringTag, { value: "Module" })), xc = {
|
|
@@ -15857,7 +15855,7 @@ const mo = /* @__PURE__ */ _t(_c, [["render", Lc]]), zc = /* @__PURE__ */ Object
|
|
|
15857
15855
|
};
|
|
15858
15856
|
},
|
|
15859
15857
|
mounted() {
|
|
15860
|
-
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));
|
|
15861
15859
|
},
|
|
15862
15860
|
methods: {
|
|
15863
15861
|
async submit() {
|
|
@@ -15876,13 +15874,13 @@ const mo = /* @__PURE__ */ _t(_c, [["render", Lc]]), zc = /* @__PURE__ */ Object
|
|
|
15876
15874
|
captchaToken: await this.getCaptchaToken("account_verify"),
|
|
15877
15875
|
ref: this.referral
|
|
15878
15876
|
}, e = await this.register(n);
|
|
15879
|
-
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 })));
|
|
15880
15878
|
},
|
|
15881
15879
|
close() {
|
|
15882
|
-
|
|
15880
|
+
$.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
|
|
15883
15881
|
},
|
|
15884
15882
|
loginAccountModal() {
|
|
15885
|
-
|
|
15883
|
+
$.$emit("ssoEvent", { name: "toggleAddAccountModalLogin", data: !1 });
|
|
15886
15884
|
}
|
|
15887
15885
|
},
|
|
15888
15886
|
watch: {
|
|
@@ -15899,13 +15897,13 @@ const mo = /* @__PURE__ */ _t(_c, [["render", Lc]]), zc = /* @__PURE__ */ Object
|
|
|
15899
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 = {
|
|
15900
15898
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
15901
15899
|
class: "responsive-image password-reveal-icon"
|
|
15902
|
-
},
|
|
15900
|
+
}, $c = {
|
|
15903
15901
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
15904
15902
|
class: "responsive-image password-reveal-icon"
|
|
15905
|
-
},
|
|
15903
|
+
}, Yc = {
|
|
15906
15904
|
type: "submit",
|
|
15907
15905
|
class: "button black-button google-button bg-tapni-grey pointer button-90 button-center uppercase button-rounded bold full-top"
|
|
15908
|
-
},
|
|
15906
|
+
}, Wc = { key: 0 }, Jc = {
|
|
15909
15907
|
key: 1,
|
|
15910
15908
|
class: "button--loading button__loader"
|
|
15911
15909
|
}, Xc = { key: 0 }, Zc = {
|
|
@@ -16023,13 +16021,13 @@ function sl(n, e, t, r, o, i) {
|
|
|
16023
16021
|
me(_("img", Qc, null, 512), [
|
|
16024
16022
|
[Ct, !o.revealPassword]
|
|
16025
16023
|
]),
|
|
16026
|
-
me(_("img",
|
|
16024
|
+
me(_("img", $c, null, 512), [
|
|
16027
16025
|
[Ct, o.revealPassword]
|
|
16028
16026
|
])
|
|
16029
16027
|
])
|
|
16030
16028
|
]),
|
|
16031
|
-
_("button",
|
|
16032
|
-
o.submitted ? (N(), x("span",
|
|
16029
|
+
_("button", Yc, [
|
|
16030
|
+
o.submitted ? (N(), x("span", Jc)) : (N(), x("span", Wc, D(o.formButtonText), 1))
|
|
16033
16031
|
])
|
|
16034
16032
|
])) : ce("", !0),
|
|
16035
16033
|
e[26] || (e[26] = _("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1)),
|
|
@@ -16136,7 +16134,7 @@ const _o = /* @__PURE__ */ _t(xc, [["render", sl]]), cl = /* @__PURE__ */ Object
|
|
|
16136
16134
|
},
|
|
16137
16135
|
methods: {
|
|
16138
16136
|
init() {
|
|
16139
|
-
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 }));
|
|
16140
16138
|
},
|
|
16141
16139
|
async submit() {
|
|
16142
16140
|
if (this.code.length !== 6)
|
|
@@ -16150,13 +16148,13 @@ const _o = /* @__PURE__ */ _t(xc, [["render", sl]]), cl = /* @__PURE__ */ Object
|
|
|
16150
16148
|
if (this.submitted) return !1;
|
|
16151
16149
|
this.submitted = !0;
|
|
16152
16150
|
let e = await this.verify(n);
|
|
16153
|
-
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;
|
|
16154
16152
|
},
|
|
16155
16153
|
registerAccountModal() {
|
|
16156
|
-
|
|
16154
|
+
$.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: !1 });
|
|
16157
16155
|
},
|
|
16158
16156
|
close() {
|
|
16159
|
-
|
|
16157
|
+
$.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
|
|
16160
16158
|
}
|
|
16161
16159
|
},
|
|
16162
16160
|
watch: {
|
|
@@ -16365,12 +16363,12 @@ var Ei = { exports: {} };
|
|
|
16365
16363
|
}, toString: function(T) {
|
|
16366
16364
|
return (T || E).stringify(this);
|
|
16367
16365
|
}, concat: function(T) {
|
|
16368
|
-
var H = this.words, G = T.words,
|
|
16369
|
-
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++) {
|
|
16370
16368
|
var ye = G[Z >>> 2] >>> 24 - Z % 4 * 8 & 255;
|
|
16371
|
-
H[
|
|
16369
|
+
H[J + Z >>> 2] |= ye << 24 - (J + Z) % 4 * 8;
|
|
16372
16370
|
}
|
|
16373
|
-
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];
|
|
16374
16372
|
return this.sigBytes += te, this;
|
|
16375
16373
|
}, clamp: function() {
|
|
16376
16374
|
var T = this.words, H = this.sigBytes;
|
|
@@ -16379,35 +16377,35 @@ var Ei = { exports: {} };
|
|
|
16379
16377
|
var T = m.clone.call(this);
|
|
16380
16378
|
return T.words = this.words.slice(0), T;
|
|
16381
16379
|
}, random: function(T) {
|
|
16382
|
-
for (var H, G = [],
|
|
16380
|
+
for (var H, G = [], J = function(ye) {
|
|
16383
16381
|
ye = ye;
|
|
16384
16382
|
var Ie = 987654321, we = 4294967295;
|
|
16385
16383
|
return function() {
|
|
16386
|
-
var
|
|
16387
|
-
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);
|
|
16388
16386
|
};
|
|
16389
16387
|
}, te = 0; te < T; te += 4) {
|
|
16390
|
-
var Z =
|
|
16388
|
+
var Z = J(4294967296 * (H || a.random()));
|
|
16391
16389
|
H = 987654071 * Z(), G.push(4294967296 * Z() | 0);
|
|
16392
16390
|
}
|
|
16393
16391
|
return new f.init(G, T);
|
|
16394
16392
|
} }), k = p.enc = {}, E = k.Hex = { stringify: function(T) {
|
|
16395
|
-
for (var H = T.words, G = T.sigBytes,
|
|
16393
|
+
for (var H = T.words, G = T.sigBytes, J = [], te = 0; te < G; te++) {
|
|
16396
16394
|
var Z = H[te >>> 2] >>> 24 - te % 4 * 8 & 255;
|
|
16397
|
-
|
|
16395
|
+
J.push((Z >>> 4).toString(16)), J.push((15 & Z).toString(16));
|
|
16398
16396
|
}
|
|
16399
|
-
return
|
|
16397
|
+
return J.join("");
|
|
16400
16398
|
}, parse: function(T) {
|
|
16401
|
-
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;
|
|
16402
16400
|
return new f.init(G, H / 2);
|
|
16403
16401
|
} }, R = k.Latin1 = { stringify: function(T) {
|
|
16404
|
-
for (var H = T.words, G = T.sigBytes,
|
|
16402
|
+
for (var H = T.words, G = T.sigBytes, J = [], te = 0; te < G; te++) {
|
|
16405
16403
|
var Z = H[te >>> 2] >>> 24 - te % 4 * 8 & 255;
|
|
16406
|
-
|
|
16404
|
+
J.push(String.fromCharCode(Z));
|
|
16407
16405
|
}
|
|
16408
|
-
return
|
|
16406
|
+
return J.join("");
|
|
16409
16407
|
}, parse: function(T) {
|
|
16410
|
-
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;
|
|
16411
16409
|
return new f.init(G, H);
|
|
16412
16410
|
} }, q = k.Utf8 = { stringify: function(T) {
|
|
16413
16411
|
try {
|
|
@@ -16422,13 +16420,13 @@ var Ei = { exports: {} };
|
|
|
16422
16420
|
}, _append: function(T) {
|
|
16423
16421
|
typeof T == "string" && (T = q.parse(T)), this._data.concat(T), this._nDataBytes += T.sigBytes;
|
|
16424
16422
|
}, _process: function(T) {
|
|
16425
|
-
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);
|
|
16426
16424
|
if (ye) {
|
|
16427
16425
|
for (var we = 0; we < ye; we += te) this._doProcessBlock(G, we);
|
|
16428
|
-
var
|
|
16426
|
+
var Le = G.splice(0, ye);
|
|
16429
16427
|
H.sigBytes -= Ie;
|
|
16430
16428
|
}
|
|
16431
|
-
return new f.init(
|
|
16429
|
+
return new f.init(Le, Ie);
|
|
16432
16430
|
}, clone: function() {
|
|
16433
16431
|
var T = m.clone.call(this);
|
|
16434
16432
|
return T._data = this._data.clone(), T;
|
|
@@ -16550,8 +16548,8 @@ var Ei = { exports: {} };
|
|
|
16550
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++) {
|
|
16551
16549
|
if (G < 16) u[G] = 0 | k[E + G];
|
|
16552
16550
|
else {
|
|
16553
|
-
var
|
|
16554
|
-
u[G] =
|
|
16551
|
+
var J = u[G - 3] ^ u[G - 8] ^ u[G - 14] ^ u[G - 16];
|
|
16552
|
+
u[G] = J << 1 | J >>> 31;
|
|
16555
16553
|
}
|
|
16556
16554
|
var te = (q << 5 | q >>> 27) + H + u[G];
|
|
16557
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;
|
|
@@ -16570,7 +16568,7 @@ var Ei = { exports: {} };
|
|
|
16570
16568
|
var s = i, l = s.lib, p = l.WordArray, u = l.Hasher, m = s.algo, f = [], k = [];
|
|
16571
16569
|
(function() {
|
|
16572
16570
|
function q(H) {
|
|
16573
|
-
for (var G = a.sqrt(H),
|
|
16571
|
+
for (var G = a.sqrt(H), J = 2; J <= G; J++) if (!(H % J)) return !1;
|
|
16574
16572
|
return !0;
|
|
16575
16573
|
}
|
|
16576
16574
|
function K(H) {
|
|
@@ -16581,16 +16579,16 @@ var Ei = { exports: {} };
|
|
|
16581
16579
|
var E = [], R = m.SHA256 = u.extend({ _doReset: function() {
|
|
16582
16580
|
this._hash = new p.init(f.slice(0));
|
|
16583
16581
|
}, _doProcessBlock: function(q, K) {
|
|
16584
|
-
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++) {
|
|
16585
16583
|
if (we < 16) E[we] = 0 | q[K + we];
|
|
16586
16584
|
else {
|
|
16587
|
-
var
|
|
16588
|
-
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];
|
|
16589
16587
|
}
|
|
16590
|
-
var Nt = T & H ^ T & G ^ H & G,
|
|
16591
|
-
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;
|
|
16592
16590
|
}
|
|
16593
|
-
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;
|
|
16594
16592
|
}, _doFinalize: function() {
|
|
16595
16593
|
var q = this._data, K = q.words, z = 8 * this._nDataBytes, T = 8 * q.sigBytes;
|
|
16596
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;
|
|
@@ -16614,17 +16612,17 @@ var Ei = { exports: {} };
|
|
|
16614
16612
|
var R = m.SHA512 = s.extend({ _doReset: function() {
|
|
16615
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)]);
|
|
16616
16614
|
}, _doProcessBlock: function(q, K) {
|
|
16617
|
-
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++) {
|
|
16618
16616
|
var yt = E[Fe];
|
|
16619
16617
|
if (Fe < 16) var xe = yt.high = 0 | q[K + 2 * Fe], ht = yt.low = 0 | q[K + 2 * Fe + 1];
|
|
16620
16618
|
else {
|
|
16621
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;
|
|
16622
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;
|
|
16623
16621
|
}
|
|
16624
|
-
var It,
|
|
16625
|
-
_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;
|
|
16626
16624
|
}
|
|
16627
|
-
|
|
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);
|
|
16628
16626
|
}, _doFinalize: function() {
|
|
16629
16627
|
var q = this._data, K = q.words, z = 8 * this._nDataBytes, T = 8 * q.sigBytes;
|
|
16630
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();
|
|
@@ -16675,7 +16673,7 @@ var Ei = { exports: {} };
|
|
|
16675
16673
|
(function(v) {
|
|
16676
16674
|
v.SHA1 = "sha1", v.SHA256 = "sha256", v.SHA512 = "sha512";
|
|
16677
16675
|
})(i || (i = {}));
|
|
16678
|
-
var G,
|
|
16676
|
+
var G, J = H(i);
|
|
16679
16677
|
(function(v) {
|
|
16680
16678
|
v.ASCII = "ascii", v.BASE64 = "base64", v.HEX = "hex", v.LATIN1 = "latin1", v.UTF8 = "utf8";
|
|
16681
16679
|
})(G || (G = {}));
|
|
@@ -16689,12 +16687,12 @@ var Ei = { exports: {} };
|
|
|
16689
16687
|
function we(v) {
|
|
16690
16688
|
return /^(\d+)$/.test(v);
|
|
16691
16689
|
}
|
|
16692
|
-
function
|
|
16690
|
+
function Le(v, y, C) {
|
|
16693
16691
|
if (v.length >= y) return v;
|
|
16694
16692
|
var I = Array(y + 1).join(C);
|
|
16695
16693
|
return "".concat(I).concat(v).slice(-1 * y);
|
|
16696
16694
|
}
|
|
16697
|
-
function
|
|
16695
|
+
function $t(v) {
|
|
16698
16696
|
var y = "otpauth://".concat(v.type, "/{labelPrefix}:{accountName}?secret={secret}{query}"), C = [];
|
|
16699
16697
|
if (ye.indexOf(v.type) < 0) throw new Error("Expecting options.type to be one of ".concat(ye.join(", "), ". Received ").concat(v.type, "."));
|
|
16700
16698
|
if (v.type === "hotp") {
|
|
@@ -16703,8 +16701,8 @@ var Ei = { exports: {} };
|
|
|
16703
16701
|
}
|
|
16704
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(""));
|
|
16705
16703
|
}
|
|
16706
|
-
function
|
|
16707
|
-
return (
|
|
16704
|
+
function $e(v) {
|
|
16705
|
+
return ($e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
16708
16706
|
return typeof y;
|
|
16709
16707
|
} : function(y) {
|
|
16710
16708
|
return y && typeof Symbol == "function" && y.constructor === Symbol && y !== Symbol.prototype ? "symbol" : typeof y;
|
|
@@ -16717,13 +16715,13 @@ var Ei = { exports: {} };
|
|
|
16717
16715
|
}
|
|
16718
16716
|
}
|
|
16719
16717
|
function Nt(v, y) {
|
|
16720
|
-
return !y ||
|
|
16718
|
+
return !y || $e(y) !== "object" && typeof y != "function" ? function(C) {
|
|
16721
16719
|
if (C === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
16722
16720
|
return C;
|
|
16723
16721
|
}(v) : y;
|
|
16724
16722
|
}
|
|
16725
|
-
function
|
|
16726
|
-
return (
|
|
16723
|
+
function Lt(v) {
|
|
16724
|
+
return (Lt = Object.setPrototypeOf ? Object.getPrototypeOf : function(y) {
|
|
16727
16725
|
return y.__proto__ || Object.getPrototypeOf(y);
|
|
16728
16726
|
})(v);
|
|
16729
16727
|
}
|
|
@@ -16749,7 +16747,7 @@ var Ei = { exports: {} };
|
|
|
16749
16747
|
if (typeof v.createDigest != "function") throw new Error("Expecting options.createDigest to be a function.");
|
|
16750
16748
|
if (typeof v.createHmacKey != "function") throw new Error("Expecting options.createHmacKey to be a function.");
|
|
16751
16749
|
if (typeof v.digits != "number") throw new Error("Expecting options.digits to be a number.");
|
|
16752
|
-
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, "."));
|
|
16753
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, "."));
|
|
16754
16752
|
}
|
|
16755
16753
|
var sn = function(v, y, C) {
|
|
@@ -16771,24 +16769,24 @@ var Ei = { exports: {} };
|
|
|
16771
16769
|
}
|
|
16772
16770
|
function Te(v, y, C) {
|
|
16773
16771
|
var I = function(j) {
|
|
16774
|
-
return
|
|
16772
|
+
return Le(j.toString(16), 16, "0");
|
|
16775
16773
|
}(y), M = C.createHmacKey(C.algorithm, v, C.encoding);
|
|
16776
16774
|
return C.createDigest(C.algorithm, M, I);
|
|
16777
16775
|
}
|
|
16778
16776
|
function Re(v, y, C) {
|
|
16779
16777
|
return function(I, M) {
|
|
16780
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);
|
|
16781
|
-
return
|
|
16779
|
+
return Le(String(rt), M, "0");
|
|
16782
16780
|
}(C.digest || Te(v, y, C), C.digits);
|
|
16783
16781
|
}
|
|
16784
|
-
function
|
|
16785
|
-
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 });
|
|
16786
16784
|
}
|
|
16787
16785
|
var qe = function(v) {
|
|
16788
16786
|
function y() {
|
|
16789
16787
|
return function(M, j) {
|
|
16790
16788
|
if (!(M instanceof j)) throw new TypeError("Cannot call a class as a function");
|
|
16791
|
-
}(this, y), Nt(this,
|
|
16789
|
+
}(this, y), Nt(this, Lt(y).apply(this, arguments));
|
|
16792
16790
|
}
|
|
16793
16791
|
var C, I;
|
|
16794
16792
|
return function(M, j) {
|
|
@@ -16806,10 +16804,10 @@ var Ei = { exports: {} };
|
|
|
16806
16804
|
return !!we(rt) && rt === Re(Dt, cn, Br);
|
|
16807
16805
|
}(M, j, pe, this.allOptions());
|
|
16808
16806
|
} }, { key: "verify", value: function(M) {
|
|
16809
|
-
if (
|
|
16807
|
+
if ($e(M) !== "object") throw new Error("Expecting argument 0 of verify to be an object");
|
|
16810
16808
|
return this.check(M.token, M.secret, M.counter);
|
|
16811
16809
|
} }, { key: "keyuri", value: function(M, j, pe, rt) {
|
|
16812
|
-
return
|
|
16810
|
+
return Yt(M, j, pe, rt, this.allOptions());
|
|
16813
16811
|
} }]) && on(C.prototype, I), y;
|
|
16814
16812
|
}(function() {
|
|
16815
16813
|
function v() {
|
|
@@ -16842,7 +16840,7 @@ var Ei = { exports: {} };
|
|
|
16842
16840
|
return y && typeof Symbol == "function" && y.constructor === Symbol && y !== Symbol.prototype ? "symbol" : typeof y;
|
|
16843
16841
|
})(v);
|
|
16844
16842
|
}
|
|
16845
|
-
function
|
|
16843
|
+
function Ot(v, y) {
|
|
16846
16844
|
for (var C = 0; C < y.length; C++) {
|
|
16847
16845
|
var I = y[C];
|
|
16848
16846
|
I.enumerable = I.enumerable || !1, I.configurable = !0, "value" in I && (I.writable = !0), Object.defineProperty(v, I.key, I);
|
|
@@ -16864,7 +16862,7 @@ var Ei = { exports: {} };
|
|
|
16864
16862
|
return C.__proto__ = I, C;
|
|
16865
16863
|
})(v, y);
|
|
16866
16864
|
}
|
|
16867
|
-
function
|
|
16865
|
+
function Wt(v, y) {
|
|
16868
16866
|
var C = Object.keys(v);
|
|
16869
16867
|
if (Object.getOwnPropertySymbols) {
|
|
16870
16868
|
var I = Object.getOwnPropertySymbols(v);
|
|
@@ -16877,15 +16875,15 @@ var Ei = { exports: {} };
|
|
|
16877
16875
|
function zt(v) {
|
|
16878
16876
|
for (var y = 1; y < arguments.length; y++) {
|
|
16879
16877
|
var C = arguments[y] != null ? arguments[y] : {};
|
|
16880
|
-
y % 2 ?
|
|
16881
|
-
|
|
16882
|
-
}) : 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) {
|
|
16883
16881
|
Object.defineProperty(v, I, Object.getOwnPropertyDescriptor(C, I));
|
|
16884
16882
|
});
|
|
16885
16883
|
}
|
|
16886
16884
|
return v;
|
|
16887
16885
|
}
|
|
16888
|
-
function
|
|
16886
|
+
function Ye(v, y, C) {
|
|
16889
16887
|
return y in v ? Object.defineProperty(v, y, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : v[y] = C, v;
|
|
16890
16888
|
}
|
|
16891
16889
|
function Pe(v, y) {
|
|
@@ -16939,7 +16937,7 @@ var Ei = { exports: {} };
|
|
|
16939
16937
|
case i.SHA512:
|
|
16940
16938
|
return Ut(y, C, 64);
|
|
16941
16939
|
default:
|
|
16942
|
-
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, "."));
|
|
16943
16941
|
}
|
|
16944
16942
|
};
|
|
16945
16943
|
function _n(v) {
|
|
@@ -16977,7 +16975,7 @@ var Ei = { exports: {} };
|
|
|
16977
16975
|
return Math.floor(v / 1e3) % y;
|
|
16978
16976
|
}
|
|
16979
16977
|
function Ke(v, y, C, I) {
|
|
16980
|
-
return
|
|
16978
|
+
return $t({ algorithm: I.algorithm, digits: I.digits, step: I.step, type: te.TOTP, accountName: v, issuer: y, secret: C });
|
|
16981
16979
|
}
|
|
16982
16980
|
var Bt = function(v) {
|
|
16983
16981
|
function y() {
|
|
@@ -17011,7 +17009,7 @@ var Ei = { exports: {} };
|
|
|
17011
17009
|
return vn(M.epoch, M.step);
|
|
17012
17010
|
} }, { key: "keyuri", value: function(M, j, pe) {
|
|
17013
17011
|
return Ke(M, j, pe, this.allOptions());
|
|
17014
|
-
} }]) &&
|
|
17012
|
+
} }]) && Ot(C.prototype, I), y;
|
|
17015
17013
|
}(qe);
|
|
17016
17014
|
function h(v) {
|
|
17017
17015
|
return (h = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
@@ -17122,11 +17120,11 @@ var Ei = { exports: {} };
|
|
|
17122
17120
|
case i.SHA512:
|
|
17123
17121
|
return k.a;
|
|
17124
17122
|
default:
|
|
17125
|
-
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, "."));
|
|
17126
17124
|
}
|
|
17127
17125
|
}(v), M = R.a.parse(C), j = R.a.parse(y);
|
|
17128
17126
|
return String(I(M, j));
|
|
17129
|
-
},
|
|
17127
|
+
}, Lr = o(7), or = o.n(Lr), Or = o(8), zr = o.n(Or);
|
|
17130
17128
|
function ir(v) {
|
|
17131
17129
|
return (ir = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
17132
17130
|
return typeof y;
|
|
@@ -17183,7 +17181,7 @@ const El = {
|
|
|
17183
17181
|
},
|
|
17184
17182
|
methods: {
|
|
17185
17183
|
close() {
|
|
17186
|
-
|
|
17184
|
+
$.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
|
|
17187
17185
|
},
|
|
17188
17186
|
async deleteAccountSubmit() {
|
|
17189
17187
|
await this.deleteAccount() === !0 && (this.successSnack(this.ssoLang[this.appLanguage].profile_delete_account_success), setTimeout(this.$store.dispatch("logout"), 1e3));
|
|
@@ -17197,7 +17195,7 @@ const El = {
|
|
|
17197
17195
|
const e = "Tapni", t = Vo.authenticator.generateSecret();
|
|
17198
17196
|
this.otpSecret = t;
|
|
17199
17197
|
const r = Vo.authenticator.keyuri(n, e, t);
|
|
17200
|
-
new
|
|
17198
|
+
new $o({
|
|
17201
17199
|
width: 200,
|
|
17202
17200
|
height: 200,
|
|
17203
17201
|
data: r
|
|
@@ -17205,7 +17203,7 @@ const El = {
|
|
|
17205
17203
|
}
|
|
17206
17204
|
},
|
|
17207
17205
|
async cancelMFA() {
|
|
17208
|
-
|
|
17206
|
+
$.$emit("ssoEvent", { name: "mfaCancel", data: !0 });
|
|
17209
17207
|
},
|
|
17210
17208
|
async validateMFA() {
|
|
17211
17209
|
if (!this.otp || this.otp.length !== 6)
|
|
@@ -17219,7 +17217,7 @@ const El = {
|
|
|
17219
17217
|
this.mfaEnable || delete n.otpSecret;
|
|
17220
17218
|
const [e, t] = await ve(tt.setMfa(n, this.$storex));
|
|
17221
17219
|
if (e)
|
|
17222
|
-
return
|
|
17220
|
+
return $.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(e);
|
|
17223
17221
|
t.data.success && (this.getAccountSettings(), this.successSnack(t.data.message)), this.loading = !1;
|
|
17224
17222
|
},
|
|
17225
17223
|
async submitChangePassword() {
|
|
@@ -17235,10 +17233,10 @@ const El = {
|
|
|
17235
17233
|
}, Tl = { class: "page-login content-boxed content-boxed-padding" }, Sl = { class: "subheaderContainer full-top" }, Il = ["src"], Al = {
|
|
17236
17234
|
class: "center-text",
|
|
17237
17235
|
style: { "flex-grow": "1", "text-align": "center", margin: "0", "font-weight": "600" }
|
|
17238
|
-
}, 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 = {
|
|
17239
17237
|
class: "ios-switch",
|
|
17240
17238
|
style: { display: "inline-block" }
|
|
17241
|
-
},
|
|
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 = {
|
|
17242
17240
|
type: "submit",
|
|
17243
17241
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
17244
17242
|
}, ql = { key: 0 }, Fl = {
|
|
@@ -17248,7 +17246,7 @@ const El = {
|
|
|
17248
17246
|
key: 1,
|
|
17249
17247
|
class: "margin-center small-top",
|
|
17250
17248
|
style: { width: "100%" }
|
|
17251
|
-
}, 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 = {
|
|
17252
17250
|
type: "submit",
|
|
17253
17251
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
17254
17252
|
}, au = { key: 0 }, su = {
|
|
@@ -17306,7 +17304,7 @@ function ku(n, e, t, r, o, i) {
|
|
|
17306
17304
|
_("div", Ml, [
|
|
17307
17305
|
_("div", Nl, [
|
|
17308
17306
|
_("h4", null, D(n.ssoLang[n.appLanguage].mfa_auth), 1),
|
|
17309
|
-
_("div",
|
|
17307
|
+
_("div", Ll, [
|
|
17310
17308
|
me(_("input", {
|
|
17311
17309
|
type: "checkbox",
|
|
17312
17310
|
name: "ios-switch",
|
|
@@ -17323,7 +17321,7 @@ function ku(n, e, t, r, o, i) {
|
|
|
17323
17321
|
])
|
|
17324
17322
|
])
|
|
17325
17323
|
]),
|
|
17326
|
-
me(_("div",
|
|
17324
|
+
me(_("div", Ol, [
|
|
17327
17325
|
e[16] || (e[16] = _("div", {
|
|
17328
17326
|
id: "qrCodeContainer",
|
|
17329
17327
|
class: "qrCodeRounded",
|
|
@@ -17378,19 +17376,19 @@ function ku(n, e, t, r, o, i) {
|
|
|
17378
17376
|
])
|
|
17379
17377
|
], 32)) : (N(), x("div", Vl, [
|
|
17380
17378
|
_("div", Ql, [
|
|
17381
|
-
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))
|
|
17382
17380
|
])
|
|
17383
17381
|
])),
|
|
17384
17382
|
_("div", {
|
|
17385
17383
|
class: "settingRow full-top",
|
|
17386
17384
|
onClick: e[6] || (e[6] = (s) => o.changePassword = !o.changePassword)
|
|
17387
17385
|
}, [
|
|
17388
|
-
_("div",
|
|
17386
|
+
_("div", Wl, [
|
|
17389
17387
|
_("h4", null, D(n.ssoLang[n.appLanguage].change_password), 1),
|
|
17390
17388
|
_("img", {
|
|
17391
17389
|
class: He(["transition-icon", { "rotate-icon": !!o.changePassword }]),
|
|
17392
17390
|
src: n.getIcon("arrow-gray-down.svg")
|
|
17393
|
-
}, null, 10,
|
|
17391
|
+
}, null, 10, Jl)
|
|
17394
17392
|
])
|
|
17395
17393
|
]),
|
|
17396
17394
|
me(_("form", Xl, [
|
|
@@ -17525,7 +17523,7 @@ const yo = /* @__PURE__ */ _t(El, [["render", ku], ["__scopeId", "data-v-5caa323
|
|
|
17525
17523
|
};
|
|
17526
17524
|
},
|
|
17527
17525
|
mounted() {
|
|
17528
|
-
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 });
|
|
17529
17527
|
},
|
|
17530
17528
|
methods: {
|
|
17531
17529
|
async resetEmail() {
|
|
@@ -17569,7 +17567,7 @@ const yo = /* @__PURE__ */ _t(El, [["render", ku], ["__scopeId", "data-v-5caa323
|
|
|
17569
17567
|
}, Pu = {
|
|
17570
17568
|
key: 1,
|
|
17571
17569
|
class: "button--loading button__loader"
|
|
17572
|
-
}, 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 = {
|
|
17573
17571
|
class: "bold no-bottom center-text",
|
|
17574
17572
|
style: { "margin-top": "63px" }
|
|
17575
17573
|
}, xu = { class: "half-bottom small-top center-text color-black" }, Uu = { class: "page-login-field half-top" }, Bu = ["type", "placeholder"], Du = {
|
|
@@ -17593,8 +17591,8 @@ const yo = /* @__PURE__ */ _t(El, [["render", ku], ["__scopeId", "data-v-5caa323
|
|
|
17593
17591
|
}, Qu = {
|
|
17594
17592
|
key: 1,
|
|
17595
17593
|
class: "button--loading button__loader"
|
|
17596
|
-
},
|
|
17597
|
-
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) {
|
|
17598
17596
|
const a = fn("router-link");
|
|
17599
17597
|
return o.passwordChange ? (N(), x("form", {
|
|
17600
17598
|
key: 1,
|
|
@@ -17661,14 +17659,14 @@ function $u(n, e, t, r, o, i) {
|
|
|
17661
17659
|
o.submitted ? (N(), x("span", Qu)) : (N(), x("span", Vu, D(n.ssoLang[this.appLanguage].password_change), 1))
|
|
17662
17660
|
]),
|
|
17663
17661
|
e[17] || (e[17] = _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)),
|
|
17664
|
-
_("p",
|
|
17662
|
+
_("p", $u, [
|
|
17665
17663
|
_("span", {
|
|
17666
17664
|
innerHTML: n.ssoLang[this.appLanguage].reset_password_p2
|
|
17667
|
-
}, null, 8,
|
|
17665
|
+
}, null, 8, Yu),
|
|
17668
17666
|
e[16] || (e[16] = Se()),
|
|
17669
17667
|
_("a", {
|
|
17670
17668
|
href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
|
|
17671
|
-
}, " support@tapni.com", 8,
|
|
17669
|
+
}, " support@tapni.com", 8, Wu)
|
|
17672
17670
|
])
|
|
17673
17671
|
], 32)) : (N(), x("form", {
|
|
17674
17672
|
key: 0,
|
|
@@ -17709,10 +17707,10 @@ function $u(n, e, t, r, o, i) {
|
|
|
17709
17707
|
}, null, 8, Nu),
|
|
17710
17708
|
_("a", {
|
|
17711
17709
|
href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
|
|
17712
|
-
}, " support@tapni.com", 8,
|
|
17710
|
+
}, " support@tapni.com", 8, Lu)
|
|
17713
17711
|
]),
|
|
17714
17712
|
e[13] || (e[13] = _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)),
|
|
17715
|
-
_("div",
|
|
17713
|
+
_("div", Ou, [
|
|
17716
17714
|
Me(a, {
|
|
17717
17715
|
class: "create float-right",
|
|
17718
17716
|
to: "/verify"
|
|
@@ -17735,7 +17733,7 @@ function $u(n, e, t, r, o, i) {
|
|
|
17735
17733
|
])
|
|
17736
17734
|
], 32));
|
|
17737
17735
|
}
|
|
17738
|
-
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({
|
|
17739
17737
|
__proto__: null,
|
|
17740
17738
|
default: wo
|
|
17741
17739
|
}, Symbol.toStringTag, { value: "Module" })), Zu = {
|
|
@@ -17792,11 +17790,11 @@ const bo = /* @__PURE__ */ _t(Zu, [["render", rd]]), od = /* @__PURE__ */ Object
|
|
|
17792
17790
|
};
|
|
17793
17791
|
},
|
|
17794
17792
|
mounted() {
|
|
17795
|
-
|
|
17793
|
+
$.$on("closeModal", () => {
|
|
17796
17794
|
this.toggle = !1, window.document.body.style.overflow = "auto", window.document.body.style.height = "auto";
|
|
17797
|
-
}),
|
|
17795
|
+
}), $.$on("openModalOverlay", () => {
|
|
17798
17796
|
this.toggle = !0;
|
|
17799
|
-
}),
|
|
17797
|
+
}), $.$on("toggleSSOModal", this.toggleModal), $.$on("toggleSSOPickModal", this.toggleModal);
|
|
17800
17798
|
},
|
|
17801
17799
|
methods: {
|
|
17802
17800
|
toggleModal(n = !0) {
|
|
@@ -17804,7 +17802,7 @@ const bo = /* @__PURE__ */ _t(Zu, [["render", rd]]), od = /* @__PURE__ */ Object
|
|
|
17804
17802
|
},
|
|
17805
17803
|
toggleEmit() {
|
|
17806
17804
|
var n, e;
|
|
17807
|
-
!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");
|
|
17808
17806
|
}
|
|
17809
17807
|
}
|
|
17810
17808
|
};
|
|
@@ -17825,16 +17823,16 @@ const Ti = /* @__PURE__ */ _t(id, [["render", ad], ["__scopeId", "data-v-e5fbde1
|
|
|
17825
17823
|
};
|
|
17826
17824
|
},
|
|
17827
17825
|
mounted() {
|
|
17828
|
-
|
|
17826
|
+
$.$on("toggleSSOModal", this.toggleModal), $.$on("closeModal", () => {
|
|
17829
17827
|
this.toggle = !1;
|
|
17830
17828
|
});
|
|
17831
17829
|
},
|
|
17832
17830
|
beforeDestroy() {
|
|
17833
|
-
|
|
17831
|
+
$._events.toggleSSOModal.pop();
|
|
17834
17832
|
},
|
|
17835
17833
|
methods: {
|
|
17836
17834
|
forceClose() {
|
|
17837
|
-
|
|
17835
|
+
$.$emit("closeModal");
|
|
17838
17836
|
},
|
|
17839
17837
|
close() {
|
|
17840
17838
|
this.toggleModal();
|
|
@@ -17919,16 +17917,16 @@ const Si = /* @__PURE__ */ _t(sd, [["render", hd], ["__scopeId", "data-v-6ebe2dc
|
|
|
17919
17917
|
};
|
|
17920
17918
|
},
|
|
17921
17919
|
mounted() {
|
|
17922
|
-
|
|
17920
|
+
$.$on("toggleSSOPickModal", this.toggleModal), $.$on("closeModal", () => {
|
|
17923
17921
|
this.toggle = !1;
|
|
17924
17922
|
});
|
|
17925
17923
|
},
|
|
17926
17924
|
beforeDestroy() {
|
|
17927
|
-
|
|
17925
|
+
$._events.toggleSSOPickModal.pop();
|
|
17928
17926
|
},
|
|
17929
17927
|
methods: {
|
|
17930
17928
|
forceClose() {
|
|
17931
|
-
|
|
17929
|
+
$.$emit("closeModal");
|
|
17932
17930
|
},
|
|
17933
17931
|
close() {
|
|
17934
17932
|
this.toggleModal();
|
|
@@ -18141,24 +18139,24 @@ const Rd = /* @__PURE__ */ _t(Cd, [["render", Ad]]), Pd = {
|
|
|
18141
18139
|
};
|
|
18142
18140
|
},
|
|
18143
18141
|
async mounted() {
|
|
18144
|
-
|
|
18142
|
+
$.$on("toggleSSOLanguageModal", this.toggleModal), $.$on("closeModal", () => {
|
|
18145
18143
|
this.toggle = !1;
|
|
18146
18144
|
});
|
|
18147
18145
|
let n = this.isNative ? await hr.getLanguageCode() : Bn.getFirstBrowserLanguage();
|
|
18148
18146
|
n && Ci.SUPPORTED_LANGUAGES.includes(n) && this.updateLanguage(n);
|
|
18149
18147
|
},
|
|
18150
18148
|
beforeDestroy() {
|
|
18151
|
-
|
|
18149
|
+
$._events.toggleSSOLanguageModal.pop();
|
|
18152
18150
|
},
|
|
18153
18151
|
methods: {
|
|
18154
18152
|
forceClose() {
|
|
18155
|
-
|
|
18153
|
+
$.$emit("closeModal");
|
|
18156
18154
|
},
|
|
18157
18155
|
close() {
|
|
18158
18156
|
this.forceClose();
|
|
18159
18157
|
},
|
|
18160
18158
|
async updateLanguage(n) {
|
|
18161
|
-
this.updateLang(n),
|
|
18159
|
+
this.updateLang(n), $.$emit("closeModal");
|
|
18162
18160
|
},
|
|
18163
18161
|
toggleModal() {
|
|
18164
18162
|
this.toggle = !this.toggle;
|
|
@@ -18365,7 +18363,7 @@ const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce67778
|
|
|
18365
18363
|
let t = JSON.parse(n);
|
|
18366
18364
|
return t !== void 0 ? t : e;
|
|
18367
18365
|
}
|
|
18368
|
-
},
|
|
18366
|
+
}, Ld = {
|
|
18369
18367
|
name: "ReactiveStorage",
|
|
18370
18368
|
data() {
|
|
18371
18369
|
return {
|
|
@@ -18381,7 +18379,7 @@ const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce67778
|
|
|
18381
18379
|
await jr.setRaw(e);
|
|
18382
18380
|
}, { deep: !0 });
|
|
18383
18381
|
}
|
|
18384
|
-
},
|
|
18382
|
+
}, Od = { id: "ssoapp" }, zd = {
|
|
18385
18383
|
key: 0,
|
|
18386
18384
|
href: "/",
|
|
18387
18385
|
class: "header-logo"
|
|
@@ -18397,7 +18395,7 @@ const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce67778
|
|
|
18397
18395
|
}, Hd = { id: "successMessage" }, jd = {
|
|
18398
18396
|
store: so,
|
|
18399
18397
|
name: "TapniAuth",
|
|
18400
|
-
mixins: [
|
|
18398
|
+
mixins: [Ld, ct],
|
|
18401
18399
|
data() {
|
|
18402
18400
|
return {
|
|
18403
18401
|
storeInterval: null,
|
|
@@ -18450,7 +18448,7 @@ const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce67778
|
|
|
18450
18448
|
}
|
|
18451
18449
|
},
|
|
18452
18450
|
async mounted() {
|
|
18453
|
-
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));
|
|
18454
18452
|
},
|
|
18455
18453
|
methods: {
|
|
18456
18454
|
async init() {
|
|
@@ -18460,7 +18458,7 @@ const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce67778
|
|
|
18460
18458
|
this.$emit("ssoEvent", n);
|
|
18461
18459
|
},
|
|
18462
18460
|
ssoIncomingEvent(n) {
|
|
18463
|
-
|
|
18461
|
+
$.$emit(n.name, n.data);
|
|
18464
18462
|
},
|
|
18465
18463
|
applyBgStyle() {
|
|
18466
18464
|
this.display === "redirect" ? document.getElementsByTagName("html")[0].style = "background: #dfeefe;" : document.getElementsByTagName("html")[0].style = "";
|
|
@@ -18494,11 +18492,10 @@ const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce67778
|
|
|
18494
18492
|
return window.Buffer = Zi, document.addEventListener("DOMContentLoaded", function() {
|
|
18495
18493
|
const e = document.createElement("script");
|
|
18496
18494
|
e.src = "https://www.google.com/recaptcha/api.js?render=undefined", document.head.appendChild(e);
|
|
18497
|
-
}), (e, t) => (N(), x("div",
|
|
18495
|
+
}), (e, t) => (N(), x("div", Od, [
|
|
18498
18496
|
e.display === "redirect" || e.renderView.includes("Auth") ? (N(), x("a", zd, t[2] || (t[2] = [
|
|
18499
18497
|
_("img", {
|
|
18500
|
-
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",
|
|
18501
|
-
onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
|
|
18498
|
+
src: "https://cdn.tapni.co/images/logo-dark.png",
|
|
18502
18499
|
class: "header-logo-img"
|
|
18503
18500
|
}, null, -1)
|
|
18504
18501
|
]))) : ce("", !0),
|
|
@@ -18558,7 +18555,7 @@ const Ai = /* @__PURE__ */ _t(Pd, [["render", Nd], ["__scopeId", "data-v-ce67778
|
|
|
18558
18555
|
};
|
|
18559
18556
|
export {
|
|
18560
18557
|
ct as A,
|
|
18561
|
-
|
|
18558
|
+
$ as E,
|
|
18562
18559
|
Us as Q,
|
|
18563
18560
|
_t as _,
|
|
18564
18561
|
le as a,
|